| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| private final TomlStreamReadException. | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private final IOContext | |
| public static final int | |
| public static final int | |
| public static final int | |
| private int | |
| pack-priv boolean | |
| private boolean | |
| private final StreamReadConstraints | |
| pack-priv final TextBuffer | |
| private boolean | |
| private long | yychar
Number of characters up to the start of the matched text. |
| private int | yycolumn
Number of characters from the last newline up to the start of the matched text. |
| public static final int | YYEOF
This character denotes the end of file. |
| public static final int | |
| private int | yyline
Number of newlines encountered up to the start of the matched text. |
| private static final int[] | ZZ_ACTION
Translates DFA states to action switch labels. |
| private static final String | |
| private static final int[] | ZZ_ATTRIBUTE
ZZ_ATTRIBUTE[aState] contains the attributes of state |
| private static final String | |
| private static final int | ZZ_BUFFERSIZE
Initial size of the lookahead buffer. |
| private static final int[] | ZZ_CMAP_BLOCKS
Second-level tables for translating characters to character classes |
| private static final String | |
| private static final int[] | ZZ_CMAP_TOP
Top-level table for translating characters to character classes |
| private static final String | |
| private static final String[] | ZZ_ERROR_MSG
Error messages for |
| private static final int[] | ZZ_LEXSTATE
ZZ_LEXSTATE[l] is the state in the DFA for the lexical state l ZZ_LEXSTATE[l+1] is the state in the DFA for the lexical state l at the beginning of a line l is of the form l = 2*k, k a non negative integer |
| private static final int | ZZ_NO_MATCH
Error code for "could not match input". |
| private static final int | ZZ_PUSHBACK_2BIG
Error code for "pushback value was too large". |
| private static final int[] | ZZ_ROWMAP
Translates a state to a row index in the transition table |
| private static final String | |
| private static final int[] | ZZ_TRANS
The transition table of the DFA |
| private static final String | |
| private static final int | ZZ_UNKNOWN_ERROR
Error code for "Unknown internal scanner error". |
| private boolean | zzAtBOL
Whether the scanner is currently at the beginning of a line. |
| private boolean | zzAtEOF
Whether the scanner is at the end of file. |
| private char[] | |
| private int | zzCurrentPos
Current text position in the buffer. |
| private int | zzEndRead
Marks the last character in the buffer, that has been read from input. |
| private boolean | zzEOFDone
Whether the user-EOF-code has already been executed. |
| private int | zzFinalHighSurrogate
The number of occupied positions in |
| private int | zzLexicalState
Current lexical state. |
| private int | zzMarkedPos
Text position at the last accepting state. |
| private Reader | zzReader
Input device. |
| private int | zzStartRead
Marks the beginning of the |
| private int | zzState
Current state of the DFA. |
| Access | Constructor and Description |
|---|---|
| pack-priv | Lexer(Reader
the java.io.Reader to read input from. in, IOContext ioContext, TomlStreamReadException.Creates a new scanner |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| private void | |
| pack-priv long | |
| pack-priv int | |
| pack-priv int | |
| public int | |
| pack-priv char[] | |
| pack-priv int | |
| pack-priv int | |
| public void | |
| private void | |
| private void | |
| public final boolean | Returns: whether the scanner has reached EOF.Returns whether the scanner has reached the end of the reader it reads from. |
| public final void | |
| public final char | Returns: the character atposition.the position of the character to fetch. A value from 0 to position)yylength()-1.Returns the character at the given position from the matched text. |
| public final void | |
| public final int | |
| public TomlToken | Returns: the next token.Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs. |
| public void | yypushback(int
the number of characters to be read again. This number must not be greater than
number)yylength().Pushes the specified amount of characters back into the input stream. |
| private final void | |
| public final int | |
| public final String | |
| private boolean | |
| private static int | |
| private int | |
| private boolean | |
| private static void | zzScanError(int
the code of the error message to display. errorCode)Reports an error that occurred while scanning. |
| private static int[] | |
| private static int | |
| private static int[] | |
| private static int | |
| private static int[] | |
| private static int | |
| private static int[] | |
| private static int | |
| private static int[] | |
| private static int | |
| private static int[] | |
| private static int |
| BASIC_STRING | back to summary |
|---|---|
| public static final int BASIC_STRING | |
| errorContext | back to summary |
|---|---|
| private final TomlStreamReadException. | |
| EXPECT_ARRAY_SEP | back to summary |
|---|---|
| public static final int EXPECT_ARRAY_SEP | |
| EXPECT_EOL | back to summary |
|---|---|
| public static final int EXPECT_EOL | |
| EXPECT_EXPRESSION | back to summary |
|---|---|
| public static final int EXPECT_EXPRESSION | |
| EXPECT_INLINE_KEY | back to summary |
|---|---|
| public static final int EXPECT_INLINE_KEY | |
| EXPECT_TABLE_SEP | back to summary |
|---|---|
| public static final int EXPECT_TABLE_SEP | |
| EXPECT_VALUE | back to summary |
|---|---|
| public static final int EXPECT_VALUE | |
| ioContext | back to summary |
|---|---|
| private final IOContext ioContext | |
| LITERAL_STRING | back to summary |
|---|---|
| public static final int LITERAL_STRING | |
| ML_BASIC_STRING | back to summary |
|---|---|
| public static final int ML_BASIC_STRING | |
| ML_LITERAL_STRING | back to summary |
|---|---|
| public static final int ML_LITERAL_STRING | |
| nestingDepth | back to summary |
|---|---|
| private int nestingDepth | |
| prohibitInternalBufferAllocate | back to summary |
|---|---|
| pack-priv boolean prohibitInternalBufferAllocate | |
| releaseTokenBuffer | back to summary |
|---|---|
| private boolean releaseTokenBuffer | |
| streamReadConstraints | back to summary |
|---|---|
| private final StreamReadConstraints streamReadConstraints | |
| textBuffer | back to summary |
|---|---|
| pack-priv final TextBuffer textBuffer | |
| trimmedNewline | back to summary |
|---|---|
| private boolean trimmedNewline | |
| yychar | back to summary |
|---|---|
| private long yychar Number of characters up to the start of the matched text. | |
| yycolumn | back to summary |
|---|---|
| private int yycolumn Number of characters from the last newline up to the start of the matched text. | |
| YYEOF | back to summary |
|---|---|
| public static final int YYEOF This character denotes the end of file. | |
| YYINITIAL | back to summary |
|---|---|
| public static final int YYINITIAL | |
| yyline | back to summary |
|---|---|
| private int yyline Number of newlines encountered up to the start of the matched text. | |
| ZZ_ACTION | back to summary |
|---|---|
| private static final int[] ZZ_ACTION Translates DFA states to action switch labels. | |
| ZZ_ACTION_PACKED_0 | back to summary |
|---|---|
| private static final String ZZ_ACTION_PACKED_0 | |
| ZZ_ATTRIBUTE | back to summary |
|---|---|
| private static final int[] ZZ_ATTRIBUTE ZZ_ATTRIBUTE[aState] contains the attributes of state | |
| ZZ_ATTRIBUTE_PACKED_0 | back to summary |
|---|---|
| private static final String ZZ_ATTRIBUTE_PACKED_0 | |
| ZZ_BUFFERSIZE | back to summary |
|---|---|
| private static final int ZZ_BUFFERSIZE Initial size of the lookahead buffer. | |
| ZZ_CMAP_BLOCKS | back to summary |
|---|---|
| private static final int[] ZZ_CMAP_BLOCKS Second-level tables for translating characters to character classes | |
| ZZ_CMAP_BLOCKS_PACKED_0 | back to summary |
|---|---|
| private static final String ZZ_CMAP_BLOCKS_PACKED_0 | |
| ZZ_CMAP_TOP | back to summary |
|---|---|
| private static final int[] ZZ_CMAP_TOP Top-level table for translating characters to character classes | |
| ZZ_CMAP_TOP_PACKED_0 | back to summary |
|---|---|
| private static final String ZZ_CMAP_TOP_PACKED_0 | |
| ZZ_ERROR_MSG | back to summary |
|---|---|
| private static final String[] ZZ_ERROR_MSG Error messages for | |
| ZZ_LEXSTATE | back to summary |
|---|---|
| private static final int[] ZZ_LEXSTATE ZZ_LEXSTATE[l] is the state in the DFA for the lexical state l ZZ_LEXSTATE[l+1] is the state in the DFA for the lexical state l at the beginning of a line l is of the form l = 2*k, k a non negative integer | |
| ZZ_NO_MATCH | back to summary |
|---|---|
| private static final int ZZ_NO_MATCH Error code for "could not match input". | |
| ZZ_PUSHBACK_2BIG | back to summary |
|---|---|
| private static final int ZZ_PUSHBACK_2BIG Error code for "pushback value was too large". | |
| ZZ_ROWMAP | back to summary |
|---|---|
| private static final int[] ZZ_ROWMAP Translates a state to a row index in the transition table | |
| ZZ_ROWMAP_PACKED_0 | back to summary |
|---|---|
| private static final String ZZ_ROWMAP_PACKED_0 | |
| ZZ_TRANS | back to summary |
|---|---|
| private static final int[] ZZ_TRANS The transition table of the DFA | |
| ZZ_TRANS_PACKED_0 | back to summary |
|---|---|
| private static final String ZZ_TRANS_PACKED_0 | |
| ZZ_UNKNOWN_ERROR | back to summary |
|---|---|
| private static final int ZZ_UNKNOWN_ERROR Error code for "Unknown internal scanner error". | |
| zzAtBOL | back to summary |
|---|---|
| private boolean zzAtBOL Whether the scanner is currently at the beginning of a line.
| |
| zzAtEOF | back to summary |
|---|---|
| private boolean zzAtEOF Whether the scanner is at the end of file.
| |
| zzBuffer | back to summary |
|---|---|
| private char[] zzBuffer This buffer contains the current text to be matched and is the source of the | |
| zzCurrentPos | back to summary |
|---|---|
| private int zzCurrentPos Current text position in the buffer. | |
| zzEndRead | back to summary |
|---|---|
| private int zzEndRead Marks the last character in the buffer, that has been read from input. | |
| zzEOFDone | back to summary |
|---|---|
| private boolean zzEOFDone Whether the user-EOF-code has already been executed.
| |
| zzFinalHighSurrogate | back to summary |
|---|---|
| private int zzFinalHighSurrogate The number of occupied positions in When a lead/high surrogate has been read from the input stream into the final
| |
| zzLexicalState | back to summary |
|---|---|
| private int zzLexicalState Current lexical state. | |
| zzMarkedPos | back to summary |
|---|---|
| private int zzMarkedPos Text position at the last accepting state. | |
| zzReader | back to summary |
|---|---|
| private Reader zzReader Input device. | |
| zzStartRead | back to summary |
|---|---|
| private int zzStartRead Marks the beginning of the | |
| zzState | back to summary |
|---|---|
| private int zzState Current state of the DFA. | |
| Lexer | back to summary |
|---|---|
| pack-priv Lexer(Reader in, IOContext ioContext, TomlStreamReadException. Creates a new scanner
| |
| appendNewlineWithPossibleTrim | back to summary |
|---|---|
| private void appendNewlineWithPossibleTrim() throws IOException | |
| appendNormalTextToken | back to summary |
|---|---|
| private void appendNormalTextToken() throws IOException | |
| appendUnicodeEscapeLong | back to summary |
|---|---|
| private void appendUnicodeEscapeLong() throws IOException | |
| appendUnicodeEscapeShort | back to summary |
|---|---|
| private void appendUnicodeEscapeShort() throws IOException | |
| getCharPos | back to summary |
|---|---|
| pack-priv long getCharPos() | |
| getColumn | back to summary |
|---|---|
| pack-priv int getColumn() | |
| getLine | back to summary |
|---|---|
| pack-priv int getLine() | |
| getNestingDepth | back to summary |
|---|---|
| public int getNestingDepth() | |
| getTextBuffer | back to summary |
|---|---|
| pack-priv char[] getTextBuffer() | |
| getTextBufferEnd | back to summary |
|---|---|
| pack-priv int getTextBufferEnd() | |
| getTextBufferStart | back to summary |
|---|---|
| pack-priv int getTextBufferStart() | |
| releaseBuffers | back to summary |
|---|---|
| public void releaseBuffers() | |
| requestLargerBuffer | back to summary |
|---|---|
| private void requestLargerBuffer() throws TomlStreamReadException | |
| startString | back to summary |
|---|---|
| private void startString() | |
| yyatEOF | back to summary |
|---|---|
| public final boolean yyatEOF() Returns whether the scanner has reached the end of the reader it reads from.
| |
| yybegin | back to summary |
|---|---|
| public final void yybegin(int newState) Enters a new lexical state.
| |
| yycharat | back to summary |
|---|---|
| public final char yycharat(int position) Returns the character at the given position from the matched text. It is equivalent to
| |
| yyclose | back to summary |
|---|---|
| public final void yyclose() throws IOException Closes the input reader.
| |
| yylength | back to summary |
|---|---|
| public final int yylength() How many characters were matched.
| |
| yylex | back to summary |
|---|---|
| public TomlToken yylex() throws IOException Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs.
| |
| yypushback | back to summary |
|---|---|
| public void yypushback(int number) Pushes the specified amount of characters back into the input stream. They will be read again by then next call of the scanning method.
| |
| yyResetPosition | back to summary |
|---|---|
| private final void yyResetPosition() Resets the input position. | |
| yystate | back to summary |
|---|---|
| public final int yystate() Returns the current lexical state.
| |
| yytext | back to summary |
|---|---|
| public final String yytext() Returns the text matched by the current regular expression.
| |
| zzCanGrow | back to summary |
|---|---|
| private boolean zzCanGrow() Whether the scanner buffer can grow to accommodate a larger token. | |
| zzCMap | back to summary |
|---|---|
| private static int zzCMap(int input) Translates raw input code points to DFA table row | |
| zzMaxBufferLen | back to summary |
|---|---|
| private int zzMaxBufferLen() Returns the maximum size of the scanner buffer, which limits the size of tokens. | |
| zzRefill | back to summary |
|---|---|
| private boolean zzRefill() throws IOException Refills the input buffer.
| |
| zzScanError | back to summary |
|---|---|
| private static void zzScanError(int errorCode) Reports an error that occurred while scanning. In a well-formed scanner (no or only correct usage of If this method is called, something is seriously wrong (e.g. a JFlex bug producing a faulty scanner etc.). Usual syntax/scanner level error handling should be done in error fallback rules.
| |
| zzUnpackAction | back to summary |
|---|---|
| private static int[] zzUnpackAction() | |
| zzUnpackAction | back to summary |
|---|---|
| private static int zzUnpackAction(String packed, int offset, int[] result) | |
| zzUnpackAttribute | back to summary |
|---|---|
| private static int[] zzUnpackAttribute() | |
| zzUnpackAttribute | back to summary |
|---|---|
| private static int zzUnpackAttribute(String packed, int offset, int[] result) | |
| zzUnpackcmap_blocks | back to summary |
|---|---|
| private static int[] zzUnpackcmap_blocks() | |
| zzUnpackcmap_blocks | back to summary |
|---|---|
| private static int zzUnpackcmap_blocks(String packed, int offset, int[] result) | |
| zzUnpackcmap_top | back to summary |
|---|---|
| private static int[] zzUnpackcmap_top() | |
| zzUnpackcmap_top | back to summary |
|---|---|
| private static int zzUnpackcmap_top(String packed, int offset, int[] result) | |
| zzUnpackRowMap | back to summary |
|---|---|
| private static int[] zzUnpackRowMap() | |
| zzUnpackRowMap | back to summary |
|---|---|
| private static int zzUnpackRowMap(String packed, int offset, int[] result) | |
| zzUnpacktrans | back to summary |
|---|---|
| private static int[] zzUnpacktrans() | |
| zzUnpacktrans | back to summary |
|---|---|
| private static int zzUnpacktrans(String packed, int offset, int[] result) | |