LookaheadScanner
Attributes
- Graph
- Supertypes
- class JavaScannerclass ScannerCommontrait TokenDataclass CharArrayReaderclass Objecttrait Matchableclass Any
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- CharArrayReader
- Graph
- Supertypes
Attributes
- Inherited from:
- JavaScanner
- Graph
- Supertypes
- class JavaScannerclass ScannerCommontrait TokenDataclass CharArrayReaderclass Objecttrait Matchableclass Any
Value members
Inherited methods
Attributes
- Inherited from:
- ScannerCommon
Switch whether unicode should be decoded
Generate an error at the given offset
Attributes
- Inherited from:
- ScannerCommon
Finish an IDENTIFIER with this.name
.
Clear buffer and set name and token.
If target
is different from this
, don't treat identifiers as end tokens.
Clear buffer and set name and token.
If target
is different from this
, don't treat identifiers as end tokens.
Attributes
- Inherited from:
- ScannerCommon
convert name, base to double value
Attributes
- Inherited from:
- CharArrayReader
Read next character in character or string literal.
Read next character in character or string literal.
Attributes
- inTextBlock
is this for a text block?
- scanOnly
skip emitting errors or adding to the literal buffer
- Inherited from:
- JavaScanner
signal an error where the input ended in the middle of a token
signal an error where the input ended in the middle of a token
Attributes
- Inherited from:
- ScannerCommon
convert name to long value
Is current token first one after a newline?
Attributes
- Inherited from:
- CharArrayReader
Attributes
- Inherited from:
- TokenData
Attributes
- Inherited from:
- TokenData
Attributes
- Inherited from:
- ScannerCommon
Attributes
- Inherited from:
- TokenData
Is last character a unicode escape \uxxxx?
Attributes
- Inherited from:
- JavaScanner
Attributes
- Inherited from:
- CharArrayReader
A new reader that takes off at the current character position
A new reader that takes off at the current character position
Attributes
- Inherited from:
- CharArrayReader
Attributes
- Inherited from:
- JavaScanner
Advance one character; reducing CR;LF pairs to just LF
Advance one character, leaving CR;LF pairs intact. This is for use in multi-line strings, so there are no "potential line ends" here.
Advance one character, leaving CR;LF pairs intact. This is for use in multi-line strings, so there are no "potential line ends" here.
Attributes
- Inherited from:
- CharArrayReader
Attributes
- Inherited from:
- JavaScanner
append Unicode character to "litBuf" buffer
Attributes
- Inherited from:
- ScannerCommon
Attributes
- Inherited from:
- JavaScanner
Clear buffer and set string
Attributes
- Inherited from:
- ScannerCommon
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns:
a string representation of the object.
- Definition Classes
- JavaScanner -> Any
- Inherited from:
- JavaScanner
The token for given name
. Either IDENTIFIER or a keyword.
Inherited fields
Attributes
- Inherited from:
- ScannerCommon
the last read character
The offset one past the last read character
the last error offset
The offset before the last read character
the offset of the character following the token preceding this one
the offset of the character following the token preceding this one
Attributes
- Inherited from:
- TokenData
the offset of the newline immediately preceding the token, or -1 if token is not preceded by a newline.
the offset of the newline immediately preceding the token, or -1 if token is not preceded by a newline.
Attributes
- Inherited from:
- TokenData
The start offset of the current line
A character buffer for literals
the name of an identifier
we need one token lookahead
the offset of the first character of the current token
Attributes
- Inherited from:
- JavaScanner
Attributes
- Inherited from:
- JavaScanner
the string value of a literal