| |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
| Class Diagram Summary | |
| syntaxtree | |
| Interface Summary | |
| Node | The interface which all syntax tree classes must implement. |
| NodeListInterface | The interface which NodeList, NodeListOptional, and NodeSequence implement. |
| Class Summary | |
| AdditiveExpression | Grammar production:
f0 -> MultiplicativeExpression() f1 -> ( ( "+" | "-" ) MultiplicativeExpression() )* |
| AllocationExpression | Grammar production:
f0 -> "new" PrimitiveType() ArrayDimsAndInits() | "new" Name() ( ArrayDimsAndInits() | Arguments() [ ClassBody() ] ) |
| AndExpression | Grammar production:
f0 -> EqualityExpression() f1 -> ( "&" EqualityExpression() )* |
| ArgumentList | Grammar production:
f0 -> Expression() f1 -> ( "," Expression() )* |
| Arguments | Grammar production:
f0 -> "(" f1 -> [ ArgumentList() ] f2 -> ")" |
| ArrayDimsAndInits | Grammar production:
f0 -> ( "[" Expression() "]" )+ ( "[" "]" )* | ( "[" "]" )+ ArrayInitializer() |
| ArrayInitializer | Grammar production:
f0 -> "{" f1 -> [ VariableInitializer() ( "," VariableInitializer() )* ] f2 -> [ "," ] f3 -> "}" |
| AssertStatement | Grammar production:
f0 -> "assert" f1 -> Expression() f2 -> [ ":" Expression() ] f3 -> ";" |
| AssignmentOperator | Grammar production:
f0 -> "=" | "*=" | "/=" | "%=" | "+=" | "-=" | "<<=" | ">>=" | ">>>=" | "&=" | "^=" | "|=" |
| Block | Grammar production:
f0 -> "{" f1 -> ( BlockStatement() )* f2 -> "}" |
| BlockStatement | Grammar production:
f0 -> LocalVariableDeclaration() ";" | Statement() | UnmodifiedClassDeclaration() | UnmodifiedInterfaceDeclaration() |
| 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() ")" ( "~" | "!" | "(" | |
| ClassBody | Grammar production:
f0 -> "{" f1 -> ( ClassBodyDeclaration() )* f2 -> "}" |
| ClassBodyDeclaration | Grammar production:
f0 -> Initializer() | NestedClassDeclaration() | NestedInterfaceDeclaration() | ConstructorDeclaration() | MethodDeclaration() | FieldDeclaration() |
| ClassDeclaration | Grammar production:
f0 -> ( "abstract" | "final" | "public" | "strictfp" )* f1 -> UnmodifiedClassDeclaration() |
| CompilationUnit | Grammar production:
f0 -> [ PackageDeclaration() ] f1 -> ( ImportDeclaration() )* f2 -> ( TypeDeclaration() )* f3 -> |
| 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() )* |
| ExplicitConstructorInvocation | Grammar production:
f0 -> "this" Arguments() ";" | [ PrimaryExpression() "." ] "super" Arguments() ";" |
| Expression | Grammar production:
f0 -> ConditionalExpression() f1 -> [ AssignmentOperator() Expression() ] |
| 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" | "strictfp" )* f1 -> UnmodifiedInterfaceDeclaration() |
| InterfaceMemberDeclaration | Grammar production:
f0 -> NestedClassDeclaration() | NestedInterfaceDeclaration() | MethodDeclaration() | FieldDeclaration() |
| LabeledStatement | Grammar production:
f0 -> f1 -> ":" f2 -> Statement() |
| Literal | Grammar production:
f0 -> | | | | BooleanLiteral() | NullLiteral() |
| LocalVariableDeclaration | Grammar production:
f0 -> [ "final" ] f1 -> Type() f2 -> VariableDeclarator() f3 -> ( "," VariableDeclarator() )* |
| MethodDeclaration | Grammar production:
f0 -> ( "public" | "protected" | "private" | "static" | "abstract" | "final" | "native" | "synchronized" | "strictfp" )* f1 -> ResultType() f2 -> MethodDeclarator() f3 -> [ "throws" NameList() ] f4 -> ( Block() | ";" ) |
| MethodDeclarationLookahead | Grammar production:
f0 -> ( "public" | "protected" | "private" | "static" | "abstract" | "final" | "native" | "synchronized" | "strictfp" )* 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" | "strictfp" )* f1 -> UnmodifiedClassDeclaration() |
| NestedInterfaceDeclaration | Grammar production:
f0 -> ( "static" | "abstract" | "final" | "public" | "protected" | "private" | "strictfp" )* 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" |
| 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() | "this" | "super" "." | "(" Expression() ")" | AllocationExpression() | ResultType() "." "class" | Name() |
| PrimarySuffix | Grammar production:
f0 -> "." "this" | "." AllocationExpression() | "[" Expression() "]" | "." | Arguments() |
| PrimitiveType | Grammar production:
f0 -> "boolean" | "char" | "byte" | "short" | "int" | "long" | "float" | "double" |
| 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() | AssertStatement() |
| StatementExpression | Grammar production:
f0 -> PreIncrementExpression() | PreDecrementExpression() | PrimaryExpression() [ "++" | "--" | AssignmentOperator() Expression() ] |
| 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 -> ";" |
| 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() |
| |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||