final class JsonLexer extends BaseLexer[YamlToken]
Json Lexer
- Alphabetic
- By Inheritance
- JsonLexer
- BaseLexer
- Lexer
- 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
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
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
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
currentIsBOM: Boolean
- Definition Classes
- BaseLexer
-
def
emit(t1: YamlToken, t2: YamlToken): Boolean
Emit 2 Tokens
-
def
emit(token: YamlToken): Boolean
Emit a Token
-
def
emitForMark(t1: YamlToken, t2: YamlToken): Boolean
Emit 2 Tokens with same mark
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def findToken(chr: Int): Unit
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
getDepthCounter: Int
- Attributes
- protected
- Definition Classes
- BaseLexer
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
initialize(): JsonLexer
Init must initialize the stack and the current _tokenData (may be invoking advance)
-
var
input: LexerInput
- Definition Classes
- BaseLexer
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
lookAhead(n: Int): Int
- Definition Classes
- BaseLexer
-
var
mark: Position
- Attributes
- protected
- Definition Classes
- BaseLexer
-
val
maxDepth: Int
- Definition Classes
- BaseLexer
-
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
- 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
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
optional(p: Boolean): Boolean
- Definition Classes
- BaseLexer
-
val
positionOffset: Position
- Definition Classes
- BaseLexer
-
def
processPending(): Unit
Process all pending tokens.
-
def
reset(): Unit
- Attributes
- protected
- Definition Classes
- BaseLexer
-
def
setDepthCounter(value: Int): Unit
- Attributes
- protected
- Definition Classes
- BaseLexer
-
val
sourceName: String
- Definition Classes
- BaseLexer
-
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.
-
val
tokenQueue: Queue[TD]
- Attributes
- protected
- Definition Classes
- BaseLexer
-
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(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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