Class Summary |
AdditiveExpression |
Grammar production:
f0 -> MultiplicativeExpression()
f1 -> ( ( "+" | "-" ) MultiplicativeExpression() )* |
AllocationExpression |
Grammar production:
f0 -> "new" PrimitiveType() ArrayDimensions() [ ArrayInitializer() ]
| "new" Name() ( ArrayDimensions() [ ArrayInitializer() ] | Arguments() [ ClassBody() ] ) |
AndExpression |
Grammar production:
f0 -> EqualityExpression()
f1 -> ( "&" EqualityExpression() )* |
ArgumentList |
Grammar production:
f0 -> Expression()
f1 -> ( "," Expression() )* |
Arguments |
Grammar production:
f0 -> "("
f1 -> [ ArgumentList() ]
f2 -> ")" |
ArrayDimensions |
Grammar production:
f0 -> ( "[" Expression() "]" )+
f1 -> ( "[" "]" )* |
ArrayInitializer |
Grammar production:
f0 -> "{"
f1 -> [ VariableInitializer() ( "," VariableInitializer() )* ]
f2 -> [ "," ]
f3 -> "}" |
Assignment |
Grammar production:
f0 -> PrimaryExpression()
f1 -> AssignmentOperator()
f2 -> Expression() |
AssignmentOperator |
Grammar production:
f0 -> "="
| "*="
| "/="
| "%="
| "+="
| "-="
| "<<="
| ">>="
| ">>>="
| "&="
| "^="
| "|=" |
Block |
Grammar production:
f0 -> "{"
f1 -> ( BlockStatement() )*
f2 -> "}" |
BlockStatement |
Grammar production:
f0 -> LocalVariableDeclaration() ";"
| Statement()
| UnmodifiedClassDeclaration() |
BNFProduction |
Grammar production:
f0 -> ResultType()
f1 ->
f2 -> FormalParameters()
f3 ->
f4 -> "{"
f5 -> ( BlockStatement() )*
f6 -> "}"
f7 ->
f8 -> ExpansionChoices()
f9 -> |
BooleanLiteral |
Grammar production:
f0 -> "true"
| "false" |
BreakStatement |
Grammar production:
f0 -> "break"
f1 -> [ ]
f2 -> ";" |
CastExpression |
Grammar production:
f0 -> "(" Type() ")" UnaryExpression()
| "(" Type() ")" UnaryExpressionNotPlusMinus() |
CastLookahead |
Grammar production:
f0 -> "(" PrimitiveType()
| "(" Name() "[" "]"
| "(" Name() ")" ( "~" | "!" | "(" | | "this" | "super" | "new" | Literal() ) |
CharacterDescriptor |
Grammar production:
f0 ->
f1 -> [ ] |
CharacterList |
Grammar production:
f0 -> [ ]
f1 ->
f2 -> [ CharacterDescriptor() ( CharacterDescriptor() )* ]
f3 -> |
ClassBody |
Grammar production:
f0 -> "{"
f1 -> ( ClassBodyDeclaration() )*
f2 -> "}" |
ClassBodyDeclaration |
Grammar production:
f0 -> Initializer()
| NestedClassDeclaration()
| NestedInterfaceDeclaration()
| ConstructorDeclaration()
| MethodDeclaration()
| FieldDeclaration() |
ClassDeclaration |
Grammar production:
f0 -> ( "abstract" | "final" | "public" )*
f1 -> UnmodifiedClassDeclaration() |
CompilationUnit |
Grammar production:
f0 -> [ PackageDeclaration() ]
f1 -> ( ImportDeclaration() )*
f2 -> ( TypeDeclaration() )* |
ComplexRegularExpression |
Grammar production:
f0 -> ( ComplexRegularExpressionUnit() )* |
ComplexRegularExpressionChoices |
Grammar production:
f0 -> ComplexRegularExpression()
f1 -> ( ComplexRegularExpression() )* |
ComplexRegularExpressionUnit |
Grammar production:
f0 ->
|
| CharacterList()
| ComplexRegularExpressionChoices() [ | | ] |
ConditionalAndExpression |
Grammar production:
f0 -> InclusiveOrExpression()
f1 -> ( "&&" InclusiveOrExpression() )* |
ConditionalExpression |
Grammar production:
f0 -> ConditionalOrExpression()
f1 -> [ "?" Expression() ":" ConditionalExpression() ] |
ConditionalOrExpression |
Grammar production:
f0 -> ConditionalAndExpression()
f1 -> ( "||" ConditionalAndExpression() )* |
ConstructorDeclaration |
Grammar production:
f0 -> [ "public" | "protected" | "private" ]
f1 ->
f2 -> FormalParameters()
f3 -> [ "throws" NameList() ]
f4 -> "{"
f5 -> [ ExplicitConstructorInvocation() ]
f6 -> ( BlockStatement() )*
f7 -> "}" |
ContinueStatement |
Grammar production:
f0 -> "continue"
f1 -> [ ]
f2 -> ";" |
DoStatement |
Grammar production:
f0 -> "do"
f1 -> Statement()
f2 -> "while"
f3 -> "("
f4 -> Expression()
f5 -> ")"
f6 -> ";" |
EmptyStatement |
Grammar production:
f0 -> ";" |
EqualityExpression |
Grammar production:
f0 -> InstanceOfExpression()
f1 -> ( ( "==" | "!=" ) InstanceOfExpression() )* |
ExclusiveOrExpression |
Grammar production:
f0 -> AndExpression()
f1 -> ( "^" AndExpression() )* |
Expansion |
Grammar production:
f0 -> ( ExpansionUnit() )* |
ExpansionChoices |
Grammar production:
f0 -> Expansion()
f1 -> ( Expansion() )* |
ExpansionUnit |
Grammar production:
f0 -> LocalLookahead()
| Block()
| ExpansionChoices() [ | | ]
| ExpansionChoices()
| [ PrimaryExpression() ] ExpansionUnitTerm() |
ExpansionUnitTerm |
Grammar production:
f0 -> RegularExpression()
| Arguments() |
ExplicitConstructorInvocation |
Grammar production:
f0 -> "this" Arguments() ";"
| [ PrimaryExpression() "." ] "super" Arguments() ";" |
Expression |
Grammar production:
f0 -> Assignment()
| ConditionalExpression() |
FieldDeclaration |
Grammar production:
f0 -> ( "public" | "protected" | "private" | "static" | "final" | "transient" | "volatile" )*
f1 -> Type()
f2 -> VariableDeclarator()
f3 -> ( "," VariableDeclarator() )*
f4 -> ";" |
ForInit |
Grammar production:
f0 -> LocalVariableDeclaration()
| StatementExpressionList() |
FormalParameter |
Grammar production:
f0 -> [ "final" ]
f1 -> Type()
f2 -> VariableDeclaratorId() |
FormalParameters |
Grammar production:
f0 -> "("
f1 -> [ FormalParameter() ( "," FormalParameter() )* ]
f2 -> ")" |
ForStatement |
Grammar production:
f0 -> "for"
f1 -> "("
f2 -> [ ForInit() ]
f3 -> ";"
f4 -> [ Expression() ]
f5 -> ";"
f6 -> [ ForUpdate() ]
f7 -> ")"
f8 -> Statement() |
ForUpdate |
Grammar production:
f0 -> StatementExpressionList() |
IfStatement |
Grammar production:
f0 -> "if"
f1 -> "("
f2 -> Expression()
f3 -> ")"
f4 -> Statement()
f5 -> [ "else" Statement() ] |
ImportDeclaration |
Grammar production:
f0 -> "import"
f1 -> Name()
f2 -> [ "." "*" ]
f3 -> ";" |
InclusiveOrExpression |
Grammar production:
f0 -> ExclusiveOrExpression()
f1 -> ( "|" ExclusiveOrExpression() )* |
Initializer |
Grammar production:
f0 -> [ "static" ]
f1 -> Block() |
InstanceOfExpression |
Grammar production:
f0 -> RelationalExpression()
f1 -> [ "instanceof" Type() ] |
InterfaceDeclaration |
Grammar production:
f0 -> ( "abstract" | "public" )*
f1 -> UnmodifiedInterfaceDeclaration() |
InterfaceMemberDeclaration |
Grammar production:
f0 -> NestedClassDeclaration()
| NestedInterfaceDeclaration()
| MethodDeclaration()
| FieldDeclaration() |
JavaCCInput |
Grammar production:
f0 -> JavaCCOptions()
f1 ->
f2 ->
f3 ->
f4 ->
f5 -> CompilationUnit()
f6 ->
f7 ->
f8 ->
f9 ->
f10 -> ( Production() )*
f11 -> |
JavaCCOptions |
Grammar production:
f0 -> [ ( OptionBinding() )* ] |
JavaCodeProduction |
Grammar production:
f0 ->
f1 -> ResultType()
f2 ->
f3 -> FormalParameters()
f4 -> Block() |
LabeledStatement |
Grammar production:
f0 ->
f1 -> ":"
f2 -> Statement() |
LexicalStateList |
Grammar production:
f0 ->
| ( )* |
Literal |
Grammar production:
f0 ->
|
|
|
| BooleanLiteral()
| NullLiteral() |
LocalLookahead |
Grammar production:
f0 ->
f1 ->
f2 -> [ ]
f3 -> [ ]
f4 -> ExpansionChoices()
f5 -> [ ]
f6 -> [ Expression() ]
f7 -> |
LocalVariableDeclaration |
Grammar production:
f0 -> [ "final" ]
f1 -> Type()
f2 -> VariableDeclarator()
f3 -> ( "," VariableDeclarator() )* |
MethodDeclaration |
Grammar production:
f0 -> ( "public" | "protected" | "private" | "static" | "abstract" | "final" | "native" | "synchronized" )*
f1 -> ResultType()
f2 -> MethodDeclarator()
f3 -> [ "throws" NameList() ]
f4 -> ( Block() | ";" ) |
MethodDeclarationLookahead |
Grammar production:
f0 -> ( "public" | "protected" | "private" | "static" | "abstract" | "final" | "native" | "synchronized" )*
f1 -> ResultType()
f2 ->
f3 -> "(" |
MethodDeclarator |
Grammar production:
f0 ->
f1 -> FormalParameters()
f2 -> ( "[" "]" )* |
MultiplicativeExpression |
Grammar production:
f0 -> UnaryExpression()
f1 -> ( ( "*" | "/" | "%" ) UnaryExpression() )* |
Name |
Grammar production:
f0 ->
f1 -> ( "." )* |
NameList |
Grammar production:
f0 -> Name()
f1 -> ( "," Name() )* |
NestedClassDeclaration |
Grammar production:
f0 -> ( "static" | "abstract" | "final" | "public" | "protected" | "private" )*
f1 -> UnmodifiedClassDeclaration() |
NestedInterfaceDeclaration |
Grammar production:
f0 -> ( "static" | "abstract" | "final" | "public" | "protected" | "private" )*
f1 -> UnmodifiedInterfaceDeclaration() |
NodeChoice |
Represents a grammar choice, e.g. |
NodeList |
Represents a grammar list, e.g. |
NodeListOptional |
Represents an optional grammar list, e.g. |
NodeOptional |
Represents an grammar optional node, e.g. |
NodeSequence |
Represents a sequence of nodes nested within a choice, list,
optional list, or optional, e.g. |
NodeToken |
Represents a single token in the grammar. |
NullLiteral |
Grammar production:
f0 -> "null" |
OptionBinding |
Grammar production:
f0 -> ( | | | )
f1 ->
f2 -> ( | BooleanLiteral() | )
f3 -> |
PackageDeclaration |
Grammar production:
f0 -> "package"
f1 -> Name()
f2 -> ";" |
PostfixExpression |
Grammar production:
f0 -> PrimaryExpression()
f1 -> [ "++" | "--" ] |
PreDecrementExpression |
Grammar production:
f0 -> "--"
f1 -> PrimaryExpression() |
PreIncrementExpression |
Grammar production:
f0 -> "++"
f1 -> PrimaryExpression() |
PrimaryExpression |
Grammar production:
f0 -> PrimaryPrefix()
f1 -> ( PrimarySuffix() )* |
PrimaryPrefix |
Grammar production:
f0 -> Literal()
| Name()
| "this"
| "super" "."
| "(" Expression() ")"
| AllocationExpression() |
PrimarySuffix |
Grammar production:
f0 -> "." "this"
| "." "class"
| "." AllocationExpression()
| "[" Expression() "]"
| "."
| Arguments() |
PrimitiveType |
Grammar production:
f0 -> "boolean"
| "char"
| "byte"
| "short"
| "int"
| "long"
| "float"
| "double" |
Production |
Grammar production:
f0 -> JavaCodeProduction()
| RegularExprProduction()
| BNFProduction()
| TokenManagerDecls() |
RegExprKind |
Grammar production:
f0 ->
|
|
| |
RegExprSpec |
Grammar production:
f0 -> RegularExpression()
f1 -> [ Block() ]
f2 -> [ ] |
RegularExpression |
Grammar production:
f0 ->
| [ [ ] ] ComplexRegularExpressionChoices()
|
| |
RegularExprProduction |
Grammar production:
f0 -> [ LexicalStateList() ]
f1 -> RegExprKind()
f2 -> [ ]
f3 ->
f4 ->
f5 -> RegExprSpec()
f6 -> ( RegExprSpec() )*
f7 -> |
RelationalExpression |
Grammar production:
f0 -> ShiftExpression()
f1 -> ( ( "<" | ">" | "<=" | ">=" ) ShiftExpression() )* |
ResultType |
Grammar production:
f0 -> "void"
| Type() |
ReturnStatement |
Grammar production:
f0 -> "return"
f1 -> [ Expression() ]
f2 -> ";" |
ShiftExpression |
Grammar production:
f0 -> AdditiveExpression()
f1 -> ( ( "<<" | ">>" | ">>>" ) AdditiveExpression() )* |
Statement |
Grammar production:
f0 -> LabeledStatement()
| Block()
| EmptyStatement()
| StatementExpression() ";"
| SwitchStatement()
| IfStatement()
| WhileStatement()
| DoStatement()
| ForStatement()
| BreakStatement()
| ContinueStatement()
| ReturnStatement()
| ThrowStatement()
| SynchronizedStatement()
| TryStatement() |
StatementExpression |
Grammar production:
f0 -> PreIncrementExpression()
| PreDecrementExpression()
| Assignment()
| PostfixExpression() |
StatementExpressionList |
Grammar production:
f0 -> StatementExpression()
f1 -> ( "," StatementExpression() )* |
SwitchLabel |
Grammar production:
f0 -> "case" Expression() ":"
| "default" ":" |
SwitchStatement |
Grammar production:
f0 -> "switch"
f1 -> "("
f2 -> Expression()
f3 -> ")"
f4 -> "{"
f5 -> ( SwitchLabel() ( BlockStatement() )* )*
f6 -> "}" |
SynchronizedStatement |
Grammar production:
f0 -> "synchronized"
f1 -> "("
f2 -> Expression()
f3 -> ")"
f4 -> Block() |
ThrowStatement |
Grammar production:
f0 -> "throw"
f1 -> Expression()
f2 -> ";" |
TokenManagerDecls |
Grammar production:
f0 ->
f1 ->
f2 -> ClassBody() |
TryStatement |
Grammar production:
f0 -> "try"
f1 -> Block()
f2 -> ( "catch" "(" FormalParameter() ")" Block() )*
f3 -> [ "finally" Block() ] |
Type |
Grammar production:
f0 -> ( PrimitiveType() | Name() )
f1 -> ( "[" "]" )* |
TypeDeclaration |
Grammar production:
f0 -> ClassDeclaration()
| InterfaceDeclaration()
| ";" |
UnaryExpression |
Grammar production:
f0 -> ( "+" | "-" ) UnaryExpression()
| PreIncrementExpression()
| PreDecrementExpression()
| UnaryExpressionNotPlusMinus() |
UnaryExpressionNotPlusMinus |
Grammar production:
f0 -> ( "~" | "!" ) UnaryExpression()
| CastExpression()
| PostfixExpression() |
UnmodifiedClassDeclaration |
Grammar production:
f0 -> "class"
f1 ->
f2 -> [ "extends" Name() ]
f3 -> [ "implements" NameList() ]
f4 -> ClassBody() |
UnmodifiedInterfaceDeclaration |
Grammar production:
f0 -> "interface"
f1 ->
f2 -> [ "extends" NameList() ]
f3 -> "{"
f4 -> ( InterfaceMemberDeclaration() )*
f5 -> "}" |
VariableDeclarator |
Grammar production:
f0 -> VariableDeclaratorId()
f1 -> [ "=" VariableInitializer() ] |
VariableDeclaratorId |
Grammar production:
f0 ->
f1 -> ( "[" "]" )* |
VariableInitializer |
Grammar production:
f0 -> ArrayInitializer()
| Expression() |
WhileStatement |
Grammar production:
f0 -> "while"
f1 -> "("
f2 -> Expression()
f3 -> ")"
f4 -> Statement() |