java.lang.Object
coneforest.psylla.Parser
- All Implemented Interfaces:
ParserConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from interface coneforest.psylla.ParserConstants
CLOSE_BRACE, COMMAND, COMMAND_UNQUALIFIED, COMMENT, COMMENT_MULTILINE, COMMENT_ONELINE, DEFAULT, DIGIT, EOF, EXPONENT, HEXDIGIT, IMMEDIATE, INTEGRAL, INTEGRAL_BIN, INTEGRAL_CHR, INTEGRAL_DEC, INTEGRAL_DEC_UNSIGNED, INTEGRAL_HEX, INTEGRAL_OCT, LETTER, LITERAL, NAME, NAME_QUOTED, NAME_SLASHED, NAME_SPECIAL_CHAR, OPEN_BRACE, REAL, REAL_UNSIGNED, REGEXP, REGEXP_SPECIAL, SIGN, STRING, STRING_SPECIAL, tokenImage
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor with generated Token Manager.Parser
(InputStream stream) Constructor with InputStream.Parser
(InputStream stream, String encoding) Constructor with InputStream and supplied encodingConstructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
Disable tracing.final void
Enable tracing.Generate ParseException.final Token
Get the next Token.final Token
getToken
(int index) Get the specific Token.void
Reinitialise.void
ReInit
(InputStream stream) Reinitialise.void
ReInit
(InputStream stream, String encoding) Reinitialise.void
Reinitialise.final boolean
Trace enabled.
-
Field Details
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
Parser
-
Parser
Constructor with InputStream. -
Parser
Constructor with InputStream and supplied encoding -
Parser
Constructor. -
Parser
Constructor with generated Token Manager.
-
-
Method Details
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
trace_enabled
public final boolean trace_enabled()Trace enabled. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-