Package io.deephaven.lang.generated
Class Chunker
java.lang.Object
io.deephaven.lang.generated.Chunker
- All Implemented Interfaces:
ChunkerConstants
,ChunkerMixin
,ChunkerTreeConstants
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.lang.generated.ChunkerMixin
ChunkerMixin.CharPredicate, ChunkerMixin.PeekStream
-
Field Summary
Modifier and TypeFieldDescriptionNext token.protected JJTChunkerState
Current token.Generated Token Manager.Fields inherited from interface io.deephaven.lang.generated.ChunkerConstants
ACCESS, AMP, APOS, APOS_BODY, APOS_CLOSE, ARRAY_END, ARRAY_START, ARROW, ASSIGN, AT, CLASS, CLOSE_PAREN, CLOSURE_END, CLOSURE_START, COLON, COMMA, DEFAULT, DIGIT, DOUBLE_EQ, EOF, ESCAPED_APOS, ESCAPED_NL, ESCAPED_QUOTE, EXTENDS, FROM_LOCAL, GT, ID, IMPLEMENTS, IN_JAVA_DOC_COMMENT, IN_MULTI_LINE_COMMENT, INVOKE, JAVA_DOC_COMMENT, LOGIC, LT, MULTI_LINE_COMMENT, NEW, NEWLINE, NL, NUM, NUM_OP, QUEST, QUOTE, QUOTE_BODY, QUOTE_CLOSE, SCIENTIFIC, SEMI, SINGLE_LINE_COMMENT, STARS, STR_APOS, STR_QUOTE, SUPER, tokenImage, TRIPLE_APOS, TRIPLE_QUOTES, WHITESPACE
Fields inherited from interface io.deephaven.lang.generated.ChunkerMixin
ALLOW_ANY, ALLOW_ASSIGN, ALLOW_COLON, ALLOW_COMMA_OR_DASH_OR_DOT, ALLOW_EQUAL_COMMA_OR_DASH, ALLOW_EQUALS, ALLOW_PAREN, ALLOW_TYPE_OR_DOT, ALLOW_TYPE_PARAMS, ANY_EXPR, COMMA_OR_DASH_OR_DOT, EQUAL_COMMA_OR_DASH
Fields inherited from interface io.deephaven.lang.generated.ChunkerTreeConstants
JJTANNOTATION, JJTARRAY, JJTASSIGN, JJTBINARYEXPRESSION, JJTCLOSURE, JJTDOCUMENT, JJTEOF, JJTIDENT, JJTINVOKE, JJTJAVACLASSDECL, JJTMETHODNAME, JJTNEW, JJTNEWLINE, jjtNodeName, JJTNUM, JJTPARAM, JJTSTATEMENT, JJTSTRING, JJTTYPEDASSIGN, JJTTYPEDECL, JJTTYPEPARAM, JJTTYPEPARAMS, JJTVOID, JJTWHITESPACE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal ChunkerAnnotation
final List<ChunkerAnnotation>
final ChunkerArray
Array()
final ChunkerAssign
Assign()
void
back
(int backup, int tokenBegin) final ChunkerBinaryExpression
BinaryExpression
(Node left) void
final ChunkerClosure
Closure()
final Node
curToken()
final void
Disable tracing.final ChunkerDocument
Document()
final void
final Node
EatStatements
(boolean persistent) final void
Enable tracing.final ChunkerEof
Eof()
final Node
Generate ParseException.final Token
Get the next Token.final Token
getToken
(int index) Get the specific Token.final ChunkerIdent
Ident()
final ChunkerInvoke
Invoke()
boolean
final ChunkerJavaClassDecl
static void
final Node
final Node
final void
MethodArguments
(ChunkerInvokable invokable) final ChunkerMethodName
final ChunkerNew
New()
final ChunkerNewline
Newline()
char
next()
final ChunkerNum
Num()
final ChunkerParam
Param()
void
Reinitialise.void
Reinitialise.void
Scope()
final ChunkerStatement
final ChunkerString
String()
token()
final boolean
Trace enabled.final ChunkerTypedAssign
final ChunkerTypeDecl
TypeDecl()
final ChunkerTypeParam
TypeParam
(boolean canWildcard) final ChunkerTypeParams
final Node
Values()
final ChunkerWhitespace
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.lang.generated.ChunkerMixin
eatJunk, isAssign, isBinExprAcrossNewline, isClassDecl, isParamList, isPythonAnnotated, isScope, isTypedAssign, isTypedInvoke, peek, report
-
Field Details
-
jjtree
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
Chunker
Constructor. -
Chunker
Constructor.- Throws:
ParseException
TokenMgrException
-
Chunker
Constructor with generated Token Manager.
-
-
Method Details
-
main
- Throws:
Exception
-
isLookingAhead
public boolean isLookingAhead()- Specified by:
isLookingAhead
in interfaceChunkerMixin
-
curToken
- Specified by:
curToken
in interfaceChunkerMixin
-
next
- Specified by:
next
in interfaceChunkerMixin
- Throws:
IOException
-
back
public void back(int backup, int tokenBegin) - Specified by:
back
in interfaceChunkerMixin
-
token
- Specified by:
token
in interfaceChunkerMixin
-
checkInterrupts
public void checkInterrupts() -
Document
- Throws:
ParseException
-
EatStatements
- Throws:
ParseException
-
Statement
- Throws:
ParseException
-
JavaClassDecl
- Throws:
ParseException
-
Assign
- Throws:
ParseException
-
TypedAssign
- Throws:
ParseException
-
TypeDecl
- Throws:
ParseException
-
TypeParams
- Throws:
ParseException
-
TypeParam
- Throws:
ParseException
-
Ident
- Throws:
ParseException
-
Num
- Throws:
ParseException
-
Whitespace
- Throws:
ParseException
-
MethodName
- Throws:
ParseException
-
Newline
- Throws:
ParseException
-
New
- Throws:
ParseException
-
maybeBin
- Throws:
ParseException
-
Values
- Throws:
ParseException
-
MethodArg
- Throws:
ParseException
-
MethodArguments
- Throws:
ParseException
-
Scope
- Throws:
ParseException
-
Annotations
- Throws:
ParseException
-
Annotation
- Throws:
ParseException
-
Invoke
- Throws:
ParseException
-
Param
- Throws:
ParseException
-
Closure
- Throws:
ParseException
-
ClosureParams
- Throws:
ParseException
-
Array
- Throws:
ParseException
-
Expression
- Throws:
ParseException
-
EatBinaryWhitespace
- Throws:
ParseException
-
BinaryExpression
- Throws:
ParseException
-
String
- Throws:
ParseException
-
Eof
- Throws:
ParseException
-
ReInit
-
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.
-