LookaheadScanner
Type members
Inherited classlikes
Value members
Inherited methods
Switch whether unicode should be decoded
Switch whether unicode should be decoded
- Definition Classes
- Inherited from:
- JavaScanner
Generate an error at the given offset
Generate an error at the given offset
- Inherited from:
- ScannerCommon
Finish an IDENTIFIER with this.name.
Finish an IDENTIFIER with this.name.
- Inherited from:
- ScannerCommon
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.
- Inherited from:
- ScannerCommon
Read next character in character or string literal.
Read next character in character or string literal.
- Value parameters:
- 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
- Inherited from:
- ScannerCommon
Is current token first one after a newline?
Is current token first one after a newline?
- Inherited from:
- TokenData
Is last character a unicode escape \uxxxx?
Is last character a unicode escape \uxxxx?
- 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
- Inherited from:
- CharArrayReader
Advance one character; reducing CR;LF pairs to just LF
Advance one character; reducing CR;LF pairs to just LF
- Inherited from:
- CharArrayReader
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.
- Inherited from:
- CharArrayReader
append Unicode character to "litBuf" buffer
append Unicode character to "litBuf" buffer
- Inherited from:
- ScannerCommon
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
- Returns:
a string representation of the object.
- Definition Classes
- JavaScanner -> Any
- Inherited from:
- JavaScanner
The token for given name. Either IDENTIFIER or a keyword.
The token for given name. Either IDENTIFIER or a keyword.
- Inherited from:
- JavaScanner
Inherited fields
The offset one past the last read character
The offset one past the last read character
- Inherited from:
- CharArrayReader
The offset before the last read character
The offset before the last read character
- Inherited from:
- CharArrayReader
the offset of the character following the token preceding this one
the offset of the character following the token preceding this one
- 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.
- Inherited from:
- TokenData
The start offset of the current line
The start offset of the current line
- Inherited from:
- CharArrayReader
the offset of the first character of the current token
the offset of the first character of the current token
- Inherited from:
- TokenData