|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Visitor
All void visitors must implement this interface.
Method Summary | |
---|---|
void |
visit(AdditiveExpression n)
f0 -> MultiplicativeExpression() f1 -> ( ( "+" | "-" ) MultiplicativeExpression() )* |
void |
visit(AllocationExpression n)
f0 -> "new" PrimitiveType() ArrayDimensions() [ ArrayInitializer() ] | "new" Name() ( ArrayDimensions() [ ArrayInitializer() ] | Arguments() [ ClassBody() ] ) |
void |
visit(AndExpression n)
f0 -> EqualityExpression() f1 -> ( "&" EqualityExpression() )* |
void |
visit(ArgumentList n)
f0 -> Expression() f1 -> ( "," Expression() )* |
void |
visit(Arguments n)
f0 -> "(" f1 -> [ ArgumentList() ] f2 -> ")" |
void |
visit(ArrayDimensions n)
f0 -> ( "[" Expression() "]" )+ f1 -> ( "[" "]" )* |
void |
visit(ArrayInitializer n)
f0 -> "{" f1 -> [ VariableInitializer() ( "," VariableInitializer() )* ] f2 -> [ "," ] f3 -> "}" |
void |
visit(Assignment n)
f0 -> PrimaryExpression() f1 -> AssignmentOperator() f2 -> Expression() |
void |
visit(AssignmentOperator n)
f0 -> "=" | "*=" | "/=" | "%=" | "+=" | "-=" | "<<=" | ">>=" | ">>>=" | "&=" | "^=" | "|=" |
void |
visit(Block n)
f0 -> "{" f1 -> ( BlockStatement() )* f2 -> "}" |
void |
visit(BlockStatement n)
f0 -> LocalVariableDeclaration() ";" | Statement() | UnmodifiedClassDeclaration() |
void |
visit(BNFProduction n)
f0 -> ResultType() f1 -> |
void |
visit(BooleanLiteral n)
f0 -> "true" | "false" |
void |
visit(BreakStatement n)
f0 -> "break" f1 -> [ |
void |
visit(CastExpression n)
f0 -> "(" Type() ")" UnaryExpression() | "(" Type() ")" UnaryExpressionNotPlusMinus() |
void |
visit(CastLookahead n)
f0 -> "(" PrimitiveType() | "(" Name() "[" "]" | "(" Name() ")" ( "~" | "!" | "(" | |
void |
visit(CharacterDescriptor n)
f0 -> |
void |
visit(CharacterList n)
f0 -> [ |
void |
visit(ClassBody n)
f0 -> "{" f1 -> ( ClassBodyDeclaration() )* f2 -> "}" |
void |
visit(ClassBodyDeclaration n)
f0 -> Initializer() | NestedClassDeclaration() | NestedInterfaceDeclaration() | ConstructorDeclaration() | MethodDeclaration() | FieldDeclaration() |
void |
visit(ClassDeclaration n)
f0 -> ( "abstract" | "final" | "public" )* f1 -> UnmodifiedClassDeclaration() |
void |
visit(CompilationUnit n)
f0 -> [ PackageDeclaration() ] f1 -> ( ImportDeclaration() )* f2 -> ( TypeDeclaration() )* |
void |
visit(ComplexRegularExpression n)
f0 -> ( ComplexRegularExpressionUnit() )* |
void |
visit(ComplexRegularExpressionChoices n)
f0 -> ComplexRegularExpression() f1 -> ( |
void |
visit(ComplexRegularExpressionUnit n)
f0 -> |
void |
visit(ConditionalAndExpression n)
f0 -> InclusiveOrExpression() f1 -> ( "&&" InclusiveOrExpression() )* |
void |
visit(ConditionalExpression n)
f0 -> ConditionalOrExpression() f1 -> [ "?" Expression() ":" ConditionalExpression() ] |
void |
visit(ConditionalOrExpression n)
f0 -> ConditionalAndExpression() f1 -> ( "||" ConditionalAndExpression() )* |
void |
visit(ConstructorDeclaration n)
f0 -> [ "public" | "protected" | "private" ] f1 -> |
void |
visit(ContinueStatement n)
f0 -> "continue" f1 -> [ |
void |
visit(DoStatement n)
f0 -> "do" f1 -> Statement() f2 -> "while" f3 -> "(" f4 -> Expression() f5 -> ")" f6 -> ";" |
void |
visit(EmptyStatement n)
f0 -> ";" |
void |
visit(EqualityExpression n)
f0 -> InstanceOfExpression() f1 -> ( ( "==" | "!=" ) InstanceOfExpression() )* |
void |
visit(ExclusiveOrExpression n)
f0 -> AndExpression() f1 -> ( "^" AndExpression() )* |
void |
visit(Expansion n)
f0 -> ( ExpansionUnit() )* |
void |
visit(ExpansionChoices n)
f0 -> Expansion() f1 -> ( |
void |
visit(ExpansionUnit n)
f0 -> LocalLookahead() | Block() | |
void |
visit(ExpansionUnitTerm n)
f0 -> RegularExpression() | |
void |
visit(ExplicitConstructorInvocation n)
f0 -> "this" Arguments() ";" | [ PrimaryExpression() "." ] "super" Arguments() ";" |
void |
visit(Expression n)
f0 -> Assignment() | ConditionalExpression() |
void |
visit(FieldDeclaration n)
f0 -> ( "public" | "protected" | "private" | "static" | "final" | "transient" | "volatile" )* f1 -> Type() f2 -> VariableDeclarator() f3 -> ( "," VariableDeclarator() )* f4 -> ";" |
void |
visit(ForInit n)
f0 -> LocalVariableDeclaration() | StatementExpressionList() |
void |
visit(FormalParameter n)
f0 -> [ "final" ] f1 -> Type() f2 -> VariableDeclaratorId() |
void |
visit(FormalParameters n)
f0 -> "(" f1 -> [ FormalParameter() ( "," FormalParameter() )* ] f2 -> ")" |
void |
visit(ForStatement n)
f0 -> "for" f1 -> "(" f2 -> [ ForInit() ] f3 -> ";" f4 -> [ Expression() ] f5 -> ";" f6 -> [ ForUpdate() ] f7 -> ")" f8 -> Statement() |
void |
visit(ForUpdate n)
f0 -> StatementExpressionList() |
void |
visit(IfStatement n)
f0 -> "if" f1 -> "(" f2 -> Expression() f3 -> ")" f4 -> Statement() f5 -> [ "else" Statement() ] |
void |
visit(ImportDeclaration n)
f0 -> "import" f1 -> Name() f2 -> [ "." "*" ] f3 -> ";" |
void |
visit(InclusiveOrExpression n)
f0 -> ExclusiveOrExpression() f1 -> ( "|" ExclusiveOrExpression() )* |
void |
visit(Initializer n)
f0 -> [ "static" ] f1 -> Block() |
void |
visit(InstanceOfExpression n)
f0 -> RelationalExpression() f1 -> [ "instanceof" Type() ] |
void |
visit(InterfaceDeclaration n)
f0 -> ( "abstract" | "public" )* f1 -> UnmodifiedInterfaceDeclaration() |
void |
visit(InterfaceMemberDeclaration n)
f0 -> NestedClassDeclaration() | NestedInterfaceDeclaration() | MethodDeclaration() | FieldDeclaration() |
void |
visit(JavaCCInput n)
f0 -> JavaCCOptions() f1 -> |
void |
visit(JavaCCOptions n)
f0 -> [ |
void |
visit(JavaCodeProduction n)
f0 -> |
void |
visit(LabeledStatement n)
f0 -> |
void |
visit(LexicalStateList n)
f0 -> |
void |
visit(Literal n)
f0 -> |
void |
visit(LocalLookahead n)
f0 -> |
void |
visit(LocalVariableDeclaration n)
f0 -> [ "final" ] f1 -> Type() f2 -> VariableDeclarator() f3 -> ( "," VariableDeclarator() )* |
void |
visit(MethodDeclaration n)
f0 -> ( "public" | "protected" | "private" | "static" | "abstract" | "final" | "native" | "synchronized" )* f1 -> ResultType() f2 -> MethodDeclarator() f3 -> [ "throws" NameList() ] f4 -> ( Block() | ";" ) |
void |
visit(MethodDeclarationLookahead n)
f0 -> ( "public" | "protected" | "private" | "static" | "abstract" | "final" | "native" | "synchronized" )* f1 -> ResultType() f2 -> |
void |
visit(MethodDeclarator n)
f0 -> |
void |
visit(MultiplicativeExpression n)
f0 -> UnaryExpression() f1 -> ( ( "*" | "/" | "%" ) UnaryExpression() )* |
void |
visit(Name n)
f0 -> |
void |
visit(NameList n)
f0 -> Name() f1 -> ( "," Name() )* |
void |
visit(NestedClassDeclaration n)
f0 -> ( "static" | "abstract" | "final" | "public" | "protected" | "private" )* f1 -> UnmodifiedClassDeclaration() |
void |
visit(NestedInterfaceDeclaration n)
f0 -> ( "static" | "abstract" | "final" | "public" | "protected" | "private" )* f1 -> UnmodifiedInterfaceDeclaration() |
void |
visit(NodeList n)
|
void |
visit(NodeListOptional n)
|
void |
visit(NodeOptional n)
|
void |
visit(NodeSequence n)
|
void |
visit(NodeToken n)
|
void |
visit(NullLiteral n)
f0 -> "null" |
void |
visit(OptionBinding n)
f0 -> ( |
void |
visit(PackageDeclaration n)
f0 -> "package" f1 -> Name() f2 -> ";" |
void |
visit(PostfixExpression n)
f0 -> PrimaryExpression() f1 -> [ "++" | "--" ] |
void |
visit(PreDecrementExpression n)
f0 -> "--" f1 -> PrimaryExpression() |
void |
visit(PreIncrementExpression n)
f0 -> "++" f1 -> PrimaryExpression() |
void |
visit(PrimaryExpression n)
f0 -> PrimaryPrefix() f1 -> ( PrimarySuffix() )* |
void |
visit(PrimaryPrefix n)
f0 -> Literal() | Name() | "this" | "super" "." |
void |
visit(PrimarySuffix n)
f0 -> "." "this" | "." "class" | "." AllocationExpression() | "[" Expression() "]" | "." |
void |
visit(PrimitiveType n)
f0 -> "boolean" | "char" | "byte" | "short" | "int" | "long" | "float" | "double" |
void |
visit(Production n)
f0 -> JavaCodeProduction() | RegularExprProduction() | BNFProduction() | TokenManagerDecls() |
void |
visit(RegExprKind n)
f0 -> |
void |
visit(RegExprSpec n)
f0 -> RegularExpression() f1 -> [ Block() ] f2 -> [ |
void |
visit(RegularExpression n)
f0 -> |
void |
visit(RegularExprProduction n)
f0 -> [ LexicalStateList() ] f1 -> RegExprKind() f2 -> [ |
void |
visit(RelationalExpression n)
f0 -> ShiftExpression() f1 -> ( ( "<" | ">" | "<=" | ">=" ) ShiftExpression() )* |
void |
visit(ResultType n)
f0 -> "void" | Type() |
void |
visit(ReturnStatement n)
f0 -> "return" f1 -> [ Expression() ] f2 -> ";" |
void |
visit(ShiftExpression n)
f0 -> AdditiveExpression() f1 -> ( ( "<<" | ">>" | ">>>" ) AdditiveExpression() )* |
void |
visit(Statement n)
f0 -> LabeledStatement() | Block() | EmptyStatement() | StatementExpression() ";" | SwitchStatement() | IfStatement() | WhileStatement() | DoStatement() | ForStatement() | BreakStatement() | ContinueStatement() | ReturnStatement() | ThrowStatement() | SynchronizedStatement() | TryStatement() |
void |
visit(StatementExpression n)
f0 -> PreIncrementExpression() | PreDecrementExpression() | Assignment() | PostfixExpression() |
void |
visit(StatementExpressionList n)
f0 -> StatementExpression() f1 -> ( "," StatementExpression() )* |
void |
visit(SwitchLabel n)
f0 -> "case" Expression() ":" | "default" ":" |
void |
visit(SwitchStatement n)
f0 -> "switch" f1 -> "(" f2 -> Expression() f3 -> ")" f4 -> "{" f5 -> ( SwitchLabel() ( BlockStatement() )* )* f6 -> "}" |
void |
visit(SynchronizedStatement n)
f0 -> "synchronized" f1 -> "(" f2 -> Expression() f3 -> ")" f4 -> Block() |
void |
visit(ThrowStatement n)
f0 -> "throw" f1 -> Expression() f2 -> ";" |
void |
visit(TokenManagerDecls n)
f0 -> |
void |
visit(TryStatement n)
f0 -> "try" f1 -> Block() f2 -> ( "catch" "(" FormalParameter() ")" Block() )* f3 -> [ "finally" Block() ] |
void |
visit(Type n)
f0 -> ( PrimitiveType() | Name() ) f1 -> ( "[" "]" )* |
void |
visit(TypeDeclaration n)
f0 -> ClassDeclaration() | InterfaceDeclaration() | ";" |
void |
visit(UnaryExpression n)
f0 -> ( "+" | "-" ) UnaryExpression() | PreIncrementExpression() | PreDecrementExpression() | UnaryExpressionNotPlusMinus() |
void |
visit(UnaryExpressionNotPlusMinus n)
f0 -> ( "~" | "!" ) UnaryExpression() | CastExpression() | PostfixExpression() |
void |
visit(UnmodifiedClassDeclaration n)
f0 -> "class" f1 -> |
void |
visit(UnmodifiedInterfaceDeclaration n)
f0 -> "interface" f1 -> |
void |
visit(VariableDeclarator n)
f0 -> VariableDeclaratorId() f1 -> [ "=" VariableInitializer() ] |
void |
visit(VariableDeclaratorId n)
f0 -> |
void |
visit(VariableInitializer n)
f0 -> ArrayInitializer() | Expression() |
void |
visit(WhileStatement n)
f0 -> "while" f1 -> "(" f2 -> Expression() f3 -> ")" f4 -> Statement() |
Method Detail |
---|
void visit(NodeList n)
void visit(NodeListOptional n)
void visit(NodeOptional n)
void visit(NodeSequence n)
void visit(NodeToken n)
void visit(CompilationUnit n)
void visit(PackageDeclaration n)
void visit(ImportDeclaration n)
void visit(TypeDeclaration n)
void visit(ClassDeclaration n)
void visit(UnmodifiedClassDeclaration n)
void visit(ClassBody n)
void visit(NestedClassDeclaration n)
void visit(ClassBodyDeclaration n)
void visit(MethodDeclarationLookahead n)
void visit(InterfaceDeclaration n)
void visit(NestedInterfaceDeclaration n)
void visit(UnmodifiedInterfaceDeclaration n)
void visit(InterfaceMemberDeclaration n)
void visit(FieldDeclaration n)
void visit(VariableDeclarator n)
void visit(VariableDeclaratorId n)
void visit(VariableInitializer n)
void visit(ArrayInitializer n)
void visit(MethodDeclaration n)
void visit(MethodDeclarator n)
void visit(FormalParameters n)
void visit(FormalParameter n)
void visit(ConstructorDeclaration n)
void visit(ExplicitConstructorInvocation n)
void visit(Initializer n)
void visit(Type n)
void visit(PrimitiveType n)
void visit(ResultType n)
void visit(Name n)
void visit(NameList n)
void visit(Expression n)
void visit(Assignment n)
void visit(AssignmentOperator n)
void visit(ConditionalExpression n)
void visit(ConditionalOrExpression n)
void visit(ConditionalAndExpression n)
void visit(InclusiveOrExpression n)
void visit(ExclusiveOrExpression n)
void visit(AndExpression n)
void visit(EqualityExpression n)
void visit(InstanceOfExpression n)
void visit(RelationalExpression n)
void visit(ShiftExpression n)
void visit(AdditiveExpression n)
void visit(MultiplicativeExpression n)
void visit(UnaryExpression n)
void visit(PreIncrementExpression n)
void visit(PreDecrementExpression n)
void visit(UnaryExpressionNotPlusMinus n)
void visit(CastLookahead n)
void visit(PostfixExpression n)
void visit(CastExpression n)
void visit(PrimaryExpression n)
void visit(PrimaryPrefix n)
void visit(PrimarySuffix n)
void visit(Literal n)
void visit(BooleanLiteral n)
void visit(NullLiteral n)
void visit(Arguments n)
void visit(ArgumentList n)
void visit(AllocationExpression n)
void visit(ArrayDimensions n)
void visit(Statement n)
void visit(LabeledStatement n)
void visit(Block n)
void visit(BlockStatement n)
void visit(LocalVariableDeclaration n)
void visit(EmptyStatement n)
void visit(StatementExpression n)
void visit(SwitchStatement n)
void visit(SwitchLabel n)
void visit(IfStatement n)
void visit(WhileStatement n)
void visit(DoStatement n)
void visit(ForStatement n)
void visit(ForInit n)
void visit(StatementExpressionList n)
void visit(ForUpdate n)
void visit(BreakStatement n)
void visit(ContinueStatement n)
void visit(ReturnStatement n)
void visit(ThrowStatement n)
void visit(SynchronizedStatement n)
void visit(TryStatement n)
void visit(JavaCCInput n)
void visit(JavaCCOptions n)
void visit(OptionBinding n)
void visit(Production n)
void visit(JavaCodeProduction n)
void visit(BNFProduction n)
void visit(RegularExprProduction n)
void visit(TokenManagerDecls n)
void visit(LexicalStateList n)
void visit(RegExprKind n)
void visit(RegExprSpec n)
void visit(ExpansionChoices n)
void visit(Expansion n)
void visit(ExpansionUnit n)
void visit(ExpansionUnitTerm n)
void visit(LocalLookahead n)
void visit(RegularExpression n)
void visit(ComplexRegularExpressionChoices n)
void visit(ComplexRegularExpression n)
void visit(ComplexRegularExpressionUnit n)
void visit(CharacterList n)
void visit(CharacterDescriptor n)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |