abstract class BaseYLexer extends BaseLexer[YamlToken]
A Base Lexer for YamlTokens
- Alphabetic
- By Inheritance
- BaseYLexer
- BaseLexer
- Lexer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
BaseYLexer(input: LexerInput)
- Attributes
- protected
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
advance(): Unit
Advance the lexer to the next token.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
beginOfLine: Boolean
- Definition Classes
- BaseLexer
- Annotations
- @inline()
-
final
def
check(str: String): Int
Compare with the specified String and return 0 or the length of the string if all characters are equal
Compare with the specified String and return 0 or the length of the string if all characters are equal
- Definition Classes
- BaseLexer
-
def
checkKeyword(str: String): Unit
- Attributes
- protected
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
consume(str: String): Boolean
Compare with the specified String and consume if all characters are equal
Compare with the specified String and consume if all characters are equal
- Definition Classes
- BaseLexer
-
def
consume(c: Char): Boolean
Compare with the specified char and consume if they are equal
Compare with the specified char and consume if they are equal
- Attributes
- protected
- Definition Classes
- BaseLexer
-
final
def
consume(n: Int): Unit
- Attributes
- protected
- Definition Classes
- BaseLexer
-
final
def
consume(): Unit
- Definition Classes
- BaseLexer
-
final
def
consumeAndEmit(n: Int, token: YamlToken): Boolean
- Definition Classes
- BaseLexer
-
final
def
consumeAndEmit(t1: YamlToken, t2: YamlToken): Boolean
- Definition Classes
- BaseLexer
-
final
def
consumeAndEmit(token: YamlToken): Boolean
- Definition Classes
- BaseLexer
-
def
consumeWhile(p: (Int) ⇒ Boolean): Unit
- Attributes
- protected
- Definition Classes
- BaseLexer
-
final
def
currentChar: Int
- Attributes
- protected
- Definition Classes
- BaseLexer
-
def
emit(t1: YamlToken, t2: YamlToken): Boolean
Emit 2 Tokens
-
def
emit(token: YamlToken): Boolean
Emit a Token
-
def
endPlainScalar(): Unit
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findToken(chr: Int): Unit
- Attributes
- protected
- Definition Classes
- BaseLexer
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
initialize(): Unit
Init must initialize the stack and the current _tokenData (may be invoking advance)
Init must initialize the stack and the current _tokenData (may be invoking advance)
- Attributes
- protected
- Definition Classes
- BaseYLexer → BaseLexer
-
var
input: LexerInput
- Definition Classes
- BaseLexer
-
def
isIdentifierPart(chr: Int): Boolean
- Attributes
- protected
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isWhitespace(c: Int): Boolean
- Attributes
- protected
-
final
def
lookAhead(n: Int): Int
- Definition Classes
- BaseLexer
-
final
def
matches(p: ⇒ Boolean): Boolean
- Definition Classes
- BaseLexer
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nodeEnd(block: YamlToken, indicator: Boolean = true): Unit
- Attributes
- protected
-
def
nodeStart(block: YamlToken, indicator: Boolean = true): Unit
- Attributes
- protected
-
def
nonEof: Boolean
We're not at the Eof
We're not at the Eof
- Definition Classes
- BaseLexer
-
def
nonTokenEmitted: Boolean
Check if there are emitted tokens
Check if there are emitted tokens
- Definition Classes
- BaseLexer
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
number(): Unit
- Attributes
- protected
-
final
def
oneOrMore(p: ⇒ Boolean): Boolean
- Definition Classes
- BaseLexer
-
final
def
optional(p: Boolean): Boolean
- Definition Classes
- BaseLexer
-
def
processPending(): Unit
Process all pending tokens.
Process all pending tokens. Trivial implementation just emit the EofToken More complex ones can continue returning pending tokens until they emit the EofToken
- Attributes
- protected
- Definition Classes
- BaseYLexer → BaseLexer
-
def
reset(): Unit
- Attributes
- protected
- Definition Classes
- BaseLexer
-
def
restoreState(s: (Int, (Int, Int, Int), Mark)): Unit
- Definition Classes
- BaseLexer
-
def
saveState: (Int, (Int, Int, Int), Mark)
- Definition Classes
- BaseLexer
-
var
stack: List[YamlToken]
- Attributes
- protected
-
def
startPlainScalar(): Unit
- Attributes
- protected
-
def
string(): Unit
- Attributes
- protected
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
token: YamlToken
get the current token in the input stream.
-
def
tokenData: TD
All the token data.
-
def
tokenString: String
Get the current Token String.
Get the current Token String.
- Definition Classes
- Lexer
-
def
tokenText: CharSequence
Get the current Token Char Sequence.
-
def
tokenText(td: TD): CharSequence
Get the specified Token Char Sequence.
Get the specified Token Char Sequence.
- Definition Classes
- BaseLexer
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
zeroOrMore(p: ⇒ Boolean): Boolean
- Definition Classes
- BaseLexer