class CharSequenceLexerInput extends LexerInput
A LexerInput backed by a CharSequence
- Alphabetic
- By Inheritance
- CharSequenceLexerInput
- LexerInput
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
column: Int
The index of the character relative to the beginning of the line, as a 16 bit java character.
The index of the character relative to the beginning of the line, as a 16 bit java character. (0 based)
- Definition Classes
- CharSequenceLexerInput → LexerInput
-
def
consume(n: Int): Unit
Consume n code points.
Consume n code points.
- Definition Classes
- CharSequenceLexerInput → LexerInput
-
def
consume(): Unit
Consume and advance to the next code point.
Consume and advance to the next code point.
- Definition Classes
- CharSequenceLexerInput → LexerInput
-
def
consumeWhile(p: (Int) ⇒ Boolean): Unit
Consume while the condition holds.
Consume while the condition holds.
- Definition Classes
- LexerInput
-
def
countSpaces(offset: Int = 0, max: Int = IntMax): Int
- Definition Classes
- CharSequenceLexerInput → LexerInput
-
def
countWhiteSpaces(offset: Int = 0): Int
Count the number of whiteSpaces from the specified offset
Count the number of whiteSpaces from the specified offset
- Definition Classes
- CharSequenceLexerInput → LexerInput
-
def
createMark(): Mark
Create a mark in the Input so you can reset the input to it later
Create a mark in the Input so you can reset the input to it later
- Definition Classes
- CharSequenceLexerInput → LexerInput
-
def
current: Int
The current code point character in the input (or LexerInput#Eof if the EoF was reached).
The current code point character in the input (or LexerInput#Eof if the EoF was reached).
- Definition Classes
- CharSequenceLexerInput → LexerInput
- val data: CharSequence
- val endOffset: Int
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
line: Int
The current Line number (1 based).
The current Line number (1 based).
- Definition Classes
- CharSequenceLexerInput → LexerInput
-
def
lookAhead(i: Int): Int
Return the character
icharacters ahead of the current position, (or LexerInput#Eof if the EoF was reached).Return the character
icharacters ahead of the current position, (or LexerInput#Eof if the EoF was reached).- Definition Classes
- CharSequenceLexerInput → LexerInput
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nonEof: Boolean
We're not at the Eof
We're not at the Eof
- Definition Classes
- CharSequenceLexerInput → LexerInput
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
offset: Int
The absolute offset (0..n) of the current character.
The absolute offset (0..n) of the current character.
- Definition Classes
- CharSequenceLexerInput → LexerInput
-
def
position: Position
the triple (line, column, offset)
the triple (line, column, offset)
- Definition Classes
- CharSequenceLexerInput → LexerInput
-
def
reset(mark: Mark): Unit
Reset the input to the specified offset
Reset the input to the specified offset
- Definition Classes
- CharSequenceLexerInput → LexerInput
-
val
sourceName: String
Return the name of the source, if existent (Usually a file name, or similar).
Return the name of the source, if existent (Usually a file name, or similar).
- Definition Classes
- CharSequenceLexerInput → LexerInput
- val startOffset: Int
-
def
subSequence(start: Int, end: Int): CharSequence
Return the sub sequence of characters between the specified positions
Return the sub sequence of characters between the specified positions
- Definition Classes
- CharSequenceLexerInput → LexerInput
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated