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
FieldsModifier and TypeFieldDescriptionNext token.protected JJTChunkerStateCurrent 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, WHITESPACEFields 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_DASHFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ChunkerAnnotationfinal List<ChunkerAnnotation>final ChunkerArrayArray()final ChunkerAssignAssign()voidback(int backup, int tokenBegin) final ChunkerBinaryExpressionBinaryExpression(Node left) voidfinal ChunkerClosureClosure()final NodecurToken()final voidDisable tracing.final ChunkerDocumentDocument()final voidfinal NodeEatStatements(boolean persistent) final voidEnable tracing.final ChunkerEofEof()final NodeGenerate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final ChunkerIdentIdent()final ChunkerInvokeInvoke()booleanfinal ChunkerJavaClassDeclstatic voidfinal Nodefinal Nodefinal voidMethodArguments(ChunkerInvokable invokable) final ChunkerMethodNamefinal ChunkerNewNew()final ChunkerNewlineNewline()charnext()final ChunkerNumNum()final ChunkerParamParam()voidReinitialise.voidReinitialise.voidScope()final ChunkerStatementfinal ChunkerStringString()token()final booleanTrace enabled.final ChunkerTypedAssignfinal ChunkerTypeDeclTypeDecl()final ChunkerTypeParamTypeParam(boolean canWildcard) final ChunkerTypeParamsfinal NodeValues()final ChunkerWhitespaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
ParseExceptionTokenMgrException
-
Chunker
Constructor with generated Token Manager.
-
-
Method Details
-
main
- Throws:
Exception
-
isLookingAhead
public boolean isLookingAhead()- Specified by:
isLookingAheadin interfaceChunkerMixin
-
curToken
- Specified by:
curTokenin interfaceChunkerMixin
-
next
- Specified by:
nextin interfaceChunkerMixin- Throws:
IOException
-
back
public void back(int backup, int tokenBegin) - Specified by:
backin interfaceChunkerMixin
-
token
- Specified by:
tokenin 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.
-