Class DepthFirstVoidVisitor
- java.lang.Object
-
- EDU.purdue.jtb.parser.visitor.DepthFirstVoidVisitor
-
- All Implemented Interfaces:
IVoidVisitor
- Direct Known Subclasses:
AcceptInliner,ClassesFinder,GlobalDataBuilder,JavaPrinter,JJFileAnnotator,SemanticChecker
public class DepthFirstVoidVisitor extends java.lang.Object implements IVoidVisitor
Provides default methods which visit each node in the tree in depth-first order.
In your "Void" visitors extend this class and override part or all of these methods.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDepthFirstVoidVisitor.ShouldNotOccurExceptionClass handling a programmatic exception.
-
Constructor Summary
Constructors Constructor Description DepthFirstVoidVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvisit(AccessModifier n)Visits aAccessModifiernode, whose child is the following :voidvisit(AdditiveExpression n)Visits aAdditiveExpressionnode, whose children are the following :voidvisit(AllocationExpression n)Visits aAllocationExpressionnode, whose child is the following :voidvisit(AndExpression n)Visits aAndExpressionnode, whose children are the following :voidvisit(Annotation n)Visits aAnnotationnode, whose child is the following :voidvisit(AnnotationTypeBody n)Visits aAnnotationTypeBodynode, whose children are the following :voidvisit(AnnotationTypeDeclaration n)Visits aAnnotationTypeDeclarationnode, whose children are the following :voidvisit(AnnotationTypeMemberDeclaration n)Visits aAnnotationTypeMemberDeclarationnode, whose child is the following :voidvisit(ArgumentList n)Visits aArgumentListnode, whose children are the following :voidvisit(Arguments n)Visits aArgumentsnode, whose children are the following :voidvisit(ArrayDimsAndInits n)Visits aArrayDimsAndInitsnode, whose child is the following :voidvisit(ArrayInitializer n)Visits aArrayInitializernode, whose children are the following :voidvisit(AssertStatement n)Visits aAssertStatementnode, whose children are the following :voidvisit(AssignmentOperator n)Visits aAssignmentOperatornode, whose child is the following :voidvisit(Block n)Visits aBlocknode, whose children are the following :voidvisit(BlockStatement n)Visits aBlockStatementnode, whose child is the following :voidvisit(BNFProduction n)Visits aBNFProductionnode, whose children are the following :voidvisit(BooleanLiteral n)Visits aBooleanLiteralnode, whose child is the following :voidvisit(BreakStatement n)Visits aBreakStatementnode, whose children are the following :voidvisit(CastExpression n)Visits aCastExpressionnode, whose child is the following :voidvisit(CastLookahead n)Visits aCastLookaheadnode, whose child is the following :voidvisit(CharacterDescriptor n)Visits aCharacterDescriptornode, whose children are the following :voidvisit(CharacterList n)Visits aCharacterListnode, whose children are the following :voidvisit(ClassOrInterfaceBody n)Visits aClassOrInterfaceBodynode, whose children are the following :voidvisit(ClassOrInterfaceBodyDeclaration n)Visits aClassOrInterfaceBodyDeclarationnode, whose child is the following :voidvisit(ClassOrInterfaceDeclaration n)Visits aClassOrInterfaceDeclarationnode, whose children are the following :voidvisit(ClassOrInterfaceType n)Visits aClassOrInterfaceTypenode, whose children are the following :voidvisit(CompilationUnit n)Visits aCompilationUnitnode, whose children are the following :voidvisit(ComplexRegularExpression n)Visits aComplexRegularExpressionnode, whose child is the following :voidvisit(ComplexRegularExpressionChoices n)Visits aComplexRegularExpressionChoicesnode, whose children are the following :voidvisit(ComplexRegularExpressionUnit n)Visits aComplexRegularExpressionUnitnode, whose child is the following :voidvisit(ConditionalAndExpression n)Visits aConditionalAndExpressionnode, whose children are the following :voidvisit(ConditionalExpression n)Visits aConditionalExpressionnode, whose children are the following :voidvisit(ConditionalOrExpression n)Visits aConditionalOrExpressionnode, whose children are the following :voidvisit(ConstructorDeclaration n)Visits aConstructorDeclarationnode, whose children are the following :voidvisit(ContinueStatement n)Visits aContinueStatementnode, whose children are the following :voidvisit(DefaultValue n)Visits aDefaultValuenode, whose children are the following :voidvisit(DoStatement n)Visits aDoStatementnode, whose children are the following :voidvisit(EmptyStatement n)Visits aEmptyStatementnode, whose child is the following :voidvisit(EmptyTypeArguments n)Visits aEmptyTypeArgumentsnode, whose children are the following :voidvisit(EnumBody n)Visits aEnumBodynode, whose children are the following :voidvisit(EnumConstant n)Visits aEnumConstantnode, whose children are the following :voidvisit(EnumDeclaration n)Visits aEnumDeclarationnode, whose children are the following :voidvisit(EqualityExpression n)Visits aEqualityExpressionnode, whose children are the following :voidvisit(ExclusiveOrExpression n)Visits aExclusiveOrExpressionnode, whose children are the following :voidvisit(Expansion n)Visits aExpansionnode, whose children are the following :voidvisit(ExpansionChoices n)Visits aExpansionChoicesnode, whose children are the following :voidvisit(ExpansionUnit n)Visits aExpansionUnitnode, whose child is the following :voidvisit(ExpansionUnitTCF n)Visits aExpansionUnitTCFnode, whose children are the following :voidvisit(ExplicitConstructorInvocation n)Visits aExplicitConstructorInvocationnode, whose child is the following :voidvisit(Expression n)Visits aExpressionnode, whose children are the following :voidvisit(ExtendsList n)Visits aExtendsListnode, whose children are the following :voidvisit(FieldDeclaration n)Visits aFieldDeclarationnode, whose children are the following :voidvisit(ForInit n)Visits aForInitnode, whose child is the following :voidvisit(FormalParameter n)Visits aFormalParameternode, whose children are the following :voidvisit(FormalParameters n)Visits aFormalParametersnode, whose children are the following :voidvisit(ForStatement n)Visits aForStatementnode, whose children are the following :voidvisit(ForUpdate n)Visits aForUpdatenode, whose child is the following :voidvisit(IdentifierAsString n)Visits aIdentifierAsStringnode, whose child is the following :voidvisit(IfStatement n)Visits aIfStatementnode, whose children are the following :voidvisit(ImplementsList n)Visits aImplementsListnode, whose children are the following :voidvisit(ImportDeclaration n)Visits aImportDeclarationnode, whose children are the following :voidvisit(InclusiveOrExpression n)Visits aInclusiveOrExpressionnode, whose children are the following :voidvisit(Initializer n)Visits aInitializernode, whose children are the following :voidvisit(InstanceOfExpression n)Visits aInstanceOfExpressionnode, whose children are the following :voidvisit(IntegerLiteral n)Visits aIntegerLiteralnode, whose child is the following :voidvisit(JavaCCInput n)Visits aJavaCCInputnode, whose children are the following :voidvisit(JavaCCOptions n)Visits aJavaCCOptionsnode, whose child is the following :voidvisit(JavaCodeProduction n)Visits aJavaCodeProductionnode, whose children are the following :voidvisit(JavaIdentifier n)Visits aJavaIdentifiernode, whose child is the following :voidvisit(LabeledStatement n)Visits aLabeledStatementnode, whose children are the following :voidvisit(Literal n)Visits aLiteralnode, whose child is the following :voidvisit(LocalLookahead n)Visits aLocalLookaheadnode, whose children are the following :voidvisit(LocalVariableDeclaration n)Visits aLocalVariableDeclarationnode, whose children are the following :voidvisit(MarkerAnnotation n)Visits aMarkerAnnotationnode, whose children are the following :voidvisit(MemberSelector n)Visits aMemberSelectornode, whose children are the following :voidvisit(MemberValue n)Visits aMemberValuenode, whose child is the following :voidvisit(MemberValueArrayInitializer n)Visits aMemberValueArrayInitializernode, whose children are the following :voidvisit(MemberValuePair n)Visits aMemberValuePairnode, whose children are the following :voidvisit(MemberValuePairs n)Visits aMemberValuePairsnode, whose children are the following :voidvisit(MethodDeclaration n)Visits aMethodDeclarationnode, whose children are the following :voidvisit(MethodDeclarator n)Visits aMethodDeclaratornode, whose children are the following :voidvisit(Modifiers n)Visits aModifiersnode, whose child is the following :voidvisit(MultiplicativeExpression n)Visits aMultiplicativeExpressionnode, whose children are the following :voidvisit(Name n)Visits aNamenode, whose children are the following :voidvisit(NameList n)Visits aNameListnode, whose children are the following :voidvisit(NodeChoice n)Visits aNodeChoicenode.voidvisit(NodeList n)Visits aNodeListnode.voidvisit(NodeListOptional n)Visits aNodeListOptionalnode.voidvisit(NodeOptional n)Visits aNodeOptionalnode.voidvisit(NodeSequence n)Visits aNodeSequencenode.voidvisit(NormalAnnotation n)Visits aNormalAnnotationnode, whose children are the following :voidvisit(NullLiteral n)Visits aNullLiteralnode, whose child is the following :voidvisit(OptionBinding n)Visits aOptionBindingnode, whose children are the following :voidvisit(PackageDeclaration n)Visits aPackageDeclarationnode, whose children are the following :voidvisit(PostfixExpression n)Visits aPostfixExpressionnode, whose children are the following :voidvisit(PreDecrementExpression n)Visits aPreDecrementExpressionnode, whose children are the following :voidvisit(PreIncrementExpression n)Visits aPreIncrementExpressionnode, whose children are the following :voidvisit(PrimaryExpression n)Visits aPrimaryExpressionnode, whose children are the following :voidvisit(PrimaryPrefix n)Visits aPrimaryPrefixnode, whose child is the following :voidvisit(PrimarySuffix n)Visits aPrimarySuffixnode, whose child is the following :voidvisit(PrimitiveType n)Visits aPrimitiveTypenode, whose child is the following :voidvisit(Production n)Visits aProductionnode, whose child is the following :voidvisit(ReferenceType n)Visits aReferenceTypenode, whose child is the following :voidvisit(RegExprKind n)Visits aRegExprKindnode, whose child is the following :voidvisit(RegExprSpec n)Visits aRegExprSpecnode, whose children are the following :voidvisit(RegularExpression n)Visits aRegularExpressionnode, whose child is the following :voidvisit(RegularExprProduction n)Visits aRegularExprProductionnode, whose children are the following :voidvisit(RelationalExpression n)Visits aRelationalExpressionnode, whose children are the following :voidvisit(ResultType n)Visits aResultTypenode, whose child is the following :voidvisit(ReturnStatement n)Visits aReturnStatementnode, whose children are the following :voidvisit(RSignedShift n)Visits aRSignedShiftnode, whose children are the following :voidvisit(RUnsignedShift n)Visits aRUnsignedShiftnode, whose children are the following :voidvisit(ShiftExpression n)Visits aShiftExpressionnode, whose children are the following :voidvisit(SingleMemberAnnotation n)Visits aSingleMemberAnnotationnode, whose children are the following :voidvisit(Statement n)Visits aStatementnode, whose child is the following :voidvisit(StatementExpression n)Visits aStatementExpressionnode, whose child is the following :voidvisit(StatementExpressionList n)Visits aStatementExpressionListnode, whose children are the following :voidvisit(StringLiteral n)Visits aStringLiteralnode, whose child is the following :voidvisit(SwitchLabel n)Visits aSwitchLabelnode, whose child is the following :voidvisit(SwitchStatement n)Visits aSwitchStatementnode, whose children are the following :voidvisit(SynchronizedStatement n)Visits aSynchronizedStatementnode, whose children are the following :voidvisit(ThrowStatement n)Visits aThrowStatementnode, whose children are the following :voidvisit(TokenManagerDecls n)Visits aTokenManagerDeclsnode, whose children are the following :voidvisit(TryStatement n)Visits aTryStatementnode, whose children are the following :voidvisit(Type n)Visits aTypenode, whose child is the following :voidvisit(TypeArgument n)Visits aTypeArgumentnode, whose child is the following :voidvisit(TypeArguments n)Visits aTypeArgumentsnode, whose children are the following :voidvisit(TypeBound n)Visits aTypeBoundnode, whose children are the following :voidvisit(TypeDeclaration n)Visits aTypeDeclarationnode, whose child is the following :voidvisit(TypeParameter n)Visits aTypeParameternode, whose children are the following :voidvisit(TypeParameters n)Visits aTypeParametersnode, whose children are the following :voidvisit(UnaryExpression n)Visits aUnaryExpressionnode, whose child is the following :voidvisit(UnaryExpressionNotPlusMinus n)Visits aUnaryExpressionNotPlusMinusnode, whose child is the following :voidvisit(VariableDeclarator n)Visits aVariableDeclaratornode, whose children are the following :voidvisit(VariableDeclaratorId n)Visits aVariableDeclaratorIdnode, whose children are the following :voidvisit(VariableInitializer n)Visits aVariableInitializernode, whose child is the following :voidvisit(VariableModifiers n)Visits aVariableModifiersnode, whose child is the following :voidvisit(WhileStatement n)Visits aWhileStatementnode, whose children are the following :voidvisit(WildcardBounds n)Visits aWildcardBoundsnode, whose child is the following :voidvisit(Token n)Visits aTokennode.
-
-
-
Method Detail
-
visit
public void visit(NodeChoice n)
Visits aNodeChoicenode.- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(NodeList n)
Visits aNodeListnode.- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(NodeListOptional n)
Visits aNodeListOptionalnode.- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(NodeOptional n)
Visits aNodeOptionalnode.- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(NodeSequence n)
Visits aNodeSequencenode.- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(Token n)
Visits aTokennode.- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(JavaCCInput n)
Visits aJavaCCInputnode, whose children are the following :f0 -> JavaCCOptions()
f1 -> "PARSER_BEGIN"
f2 -> "("
f3 -> IdentifierAsString()
f4 -> ")"
f5 -> CompilationUnit()
f6 -> "PARSER_END"
f7 -> "("
f8 -> IdentifierAsString()
f9 -> ")"
f10 -> ( Production() )+
f11 -> < EOF >
s: 1465207473- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(JavaCCOptions n)
Visits aJavaCCOptionsnode, whose child is the following :f0 -> [ #0 "options" #1 "{"
.. .. . #2 ( OptionBinding() )*
.. .. . #3 "}" ]
s: -1270729337- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(OptionBinding n)
Visits aOptionBindingnode, whose children are the following :f0 -> ( %0 < IDENTIFIER >
.. .. | %1 "LOOKAHEAD"
.. .. | %2 "IGNORE_CASE"
.. .. | %3 "static" )
f1 -> "="
f2 -> ( %0 IntegerLiteral()
.. .. | %1 BooleanLiteral()
.. .. | %2 StringLiteral() )
f3 -> ";"
s: -1998174573- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(Production n)
Visits aProductionnode, whose child is the following :f0 -> . %0 JavaCodeProduction()
.. .. | %1 RegularExprProduction()
.. .. | %2 TokenManagerDecls()
.. .. | %3 BNFProduction()
s: -120615333- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(JavaCodeProduction n)
Visits aJavaCodeProductionnode, whose children are the following :f0 -> "JAVACODE"
f1 -> AccessModifier()
f2 -> ResultType()
f3 -> IdentifierAsString()
f4 -> FormalParameters()
f5 -> [ #0 "throws" #1 Name()
.. .. . #2 ( $0 "," $1 Name() )* ]
f6 -> [ "%" ]
f7 -> Block()
s: -763138104- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(BNFProduction n)
Visits aBNFProductionnode, whose children are the following :f0 -> AccessModifier()
f1 -> ResultType()
f2 -> IdentifierAsString()
f3 -> FormalParameters()
f4 -> [ #0 "throws" #1 Name()
.. .. . #2 ( $0 "," $1 Name() )* ]
f5 -> [ "!" ]
f6 -> ":"
f7 -> Block()
f8 -> "{"
f9 -> ExpansionChoices()
f10 -> "}"
s: 1323482450- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(AccessModifier n)
Visits aAccessModifiernode, whose child is the following :f0 -> ( %0 "public"
.. .. | %1 "protected"
.. .. | %2 "private"
.. .. | %3 "final" )*
s: -1053437682- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(RegularExprProduction n)
Visits aRegularExprProductionnode, whose children are the following :f0 -> [ %0 #0 "<" #1 "*" #2 ">"
.. .. | %1 #0 "<" #1 < IDENTIFIER >
.. .. . .. #2 ( $0 "," $1 < IDENTIFIER > )*
.. .. . .. #3 ">" ]
f1 -> RegExprKind()
f2 -> [ #0 "[" #1 "IGNORE_CASE" #2 "]" ]
f3 -> ":"
f4 -> "{"
f5 -> RegExprSpec()
f6 -> ( #0 "|" #1 RegExprSpec() )*
f7 -> "}"
s: 484788342- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(TokenManagerDecls n)
Visits aTokenManagerDeclsnode, whose children are the following :f0 -> "TOKEN_MGR_DECLS"
f1 -> ":"
f2 -> ClassOrInterfaceBody()
s: -1566997219- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(RegExprKind n)
Visits aRegExprKindnode, whose child is the following :f0 -> . %0 "TOKEN"
.. .. | %1 "SPECIAL_TOKEN"
.. .. | %2 "SKIP"
.. .. | %3 "MORE"
s: -1874441621- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(RegExprSpec n)
Visits aRegExprSpecnode, whose children are the following :f0 -> RegularExpression()
f1 -> [ "!" ]
f2 -> [ Block() ]
f3 -> [ #0 ":" #1 < IDENTIFIER > ]
s: -1949948808- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ExpansionChoices n)
Visits aExpansionChoicesnode, whose children are the following :f0 -> Expansion()
f1 -> ( #0 "|" #1 Expansion() )*
s: -1726831935- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(Expansion n)
Visits aExpansionnode, whose children are the following :f0 -> ( #0 "LOOKAHEAD" #1 "(" #2 LocalLookahead() #3 ")" )?
f1 -> ( ExpansionUnit() )+
s: -2134365682- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(LocalLookahead n)
Visits aLocalLookaheadnode, whose children are the following :f0 -> [ IntegerLiteral() ]
f1 -> [ "," ]
f2 -> [ ExpansionChoices() ]
f3 -> [ "," ]
f4 -> [ #0 "{"
.. .. . #1 [ Expression() ]
.. .. . #2 "}" ]
s: -1879920786- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ExpansionUnit n)
Visits aExpansionUnitnode, whose child is the following :f0 -> . %0 #0 "LOOKAHEAD" #1 "(" #2 LocalLookahead() #3 ")"
.. .. | %1 Block()
.. .. | %2 #0 "[" #1 ExpansionChoices() #2 "]"
.. .. | %3 ExpansionUnitTCF()
.. .. | %4 #0 [ $0 PrimaryExpression() $1 "=" ]
.. .. . .. #1 ( &0 $0 IdentifierAsString() $1 Arguments()
.. .. . .. .. . .. $2 [ "!" ]
.. .. . .. .. | &1 $0 RegularExpression()
.. .. . .. .. . .. $1 [ ?0 "." ?1 < IDENTIFIER > ]
.. .. . .. .. . .. $2 [ "!" ] )
.. .. | %5 #0 "(" #1 ExpansionChoices() #2 ")"
.. .. . .. #3 ( &0 "+"
.. .. . .. .. | &1 "*"
.. .. . .. .. | &2 "?" )?
s: 1116287061- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ExpansionUnitTCF n)
Visits aExpansionUnitTCFnode, whose children are the following :f0 -> "try"
f1 -> "{"
f2 -> ExpansionChoices()
f3 -> "}"
f4 -> ( #0 "catch" #1 "("
.. .. . #2 ( Annotation() )*
.. .. . #3 [ "final" ]
.. .. . #4 Name() #5 < IDENTIFIER > #6 ")" #7 Block() )*
f5 -> [ #0 "finally" #1 Block() ]
s: 1601707097- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(RegularExpression n)
Visits aRegularExpressionnode, whose child is the following :f0 -> . %0 StringLiteral()
.. .. | %1 #0 "<"
.. .. . .. #1 [ $0 [ "#" ]
.. .. . .. .. . $1 IdentifierAsString() $2 ":" ]
.. .. . .. #2 ComplexRegularExpressionChoices() #3 ">"
.. .. | %2 #0 "<" #1 IdentifierAsString() #2 ">"
.. .. | %3 #0 "<" #1 "EOF" #2 ">"
s: 1719627151- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ComplexRegularExpressionChoices n)
Visits aComplexRegularExpressionChoicesnode, whose children are the following :f0 -> ComplexRegularExpression()
f1 -> ( #0 "|" #1 ComplexRegularExpression() )*
s: -1240933595- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ComplexRegularExpression n)
Visits aComplexRegularExpressionnode, whose child is the following :f0 -> ( ComplexRegularExpressionUnit() )+
s: 896313544- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ComplexRegularExpressionUnit n)
Visits aComplexRegularExpressionUnitnode, whose child is the following :f0 -> . %0 StringLiteral()
.. .. | %1 #0 "<" #1 IdentifierAsString() #2 ">"
.. .. | %2 CharacterList()
.. .. | %3 #0 "(" #1 ComplexRegularExpressionChoices() #2 ")"
.. .. . .. #3 ( &0 "+"
.. .. . .. .. | &1 "*"
.. .. . .. .. | &2 "?"
.. .. . .. .. | &3 $0 "{" $1 IntegerLiteral()
.. .. . .. .. . .. $2 [ ?0 ","
.. .. . .. .. . .. .. . ?1 [ IntegerLiteral() ] ]
.. .. . .. .. . .. $3 "}" )?
s: -1507427530- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(CharacterList n)
Visits aCharacterListnode, whose children are the following :f0 -> [ "~" ]
f1 -> "["
f2 -> [ #0 CharacterDescriptor()
.. .. . #1 ( $0 "," $1 CharacterDescriptor() )* ]
f3 -> "]"
s: -966448889- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(CharacterDescriptor n)
Visits aCharacterDescriptornode, whose children are the following :f0 -> StringLiteral()
f1 -> [ #0 "-" #1 StringLiteral() ]
s: 895087809- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(IdentifierAsString n)
Visits aIdentifierAsStringnode, whose child is the following :f0 -> < IDENTIFIER >
s: -1580059612- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(JavaIdentifier n)
Visits aJavaIdentifiernode, whose child is the following :f0 -> ( %00 < IDENTIFIER >
.. .. | %01 "LOOKAHEAD"
.. .. | %02 "IGNORE_CASE"
.. .. | %03 "PARSER_BEGIN"
.. .. | %04 "PARSER_END"
.. .. | %05 "JAVACODE"
.. .. | %06 "TOKEN"
.. .. | %07 "SPECIAL_TOKEN"
.. .. | %08 "MORE"
.. .. | %09 "SKIP"
.. .. | %10 "TOKEN_MGR_DECLS"
.. .. | %11 "EOF" )
s: 1665786565- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(CompilationUnit n)
Visits aCompilationUnitnode, whose children are the following :f0 -> [ PackageDeclaration() ]
f1 -> ( ImportDeclaration() )*
f2 -> ( TypeDeclaration() )*
s: 1761039264- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(PackageDeclaration n)
Visits aPackageDeclarationnode, whose children are the following :f0 -> "package"
f1 -> Name()
f2 -> ";"
s: -2133750237- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ImportDeclaration n)
Visits aImportDeclarationnode, whose children are the following :f0 -> "import"
f1 -> [ "static" ]
f2 -> Name()
f3 -> [ #0 "." #1 "*" ]
f4 -> ";"
s: -1592912780- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(Modifiers n)
Visits aModifiersnode, whose child is the following :f0 -> ( ( %00 "public"
.. .. . | %01 "static"
.. .. . | %02 "protected"
.. .. . | %03 "private"
.. .. . | %04 "final"
.. .. . | %05 "abstract"
.. .. . | %06 "synchronized"
.. .. . | %07 "native"
.. .. . | %08 "transient"
.. .. . | %09 "volatile"
.. .. . | %10 "strictfp"
.. .. . | %11 Annotation() ) )*
s: -2047145049- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(TypeDeclaration n)
Visits aTypeDeclarationnode, whose child is the following :f0 -> . %0 ";"
.. .. | %1 #0 Modifiers()
.. .. . .. #1 ( &0 ClassOrInterfaceDeclaration()
.. .. . .. .. | &1 EnumDeclaration()
.. .. . .. .. | &2 AnnotationTypeDeclaration() )
s: -297159274- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ClassOrInterfaceDeclaration n)
Visits aClassOrInterfaceDeclarationnode, whose children are the following :f0 -> ( %0 "class"
.. .. | %1 "interface" )
f1 -> < IDENTIFIER >
f2 -> [ TypeParameters() ]
f3 -> [ ExtendsList() ]
f4 -> [ ImplementsList() ]
f5 -> ClassOrInterfaceBody()
s: 37426766- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ExtendsList n)
Visits aExtendsListnode, whose children are the following :f0 -> "extends"
f1 -> ClassOrInterfaceType()
f2 -> ( #0 "," #1 ClassOrInterfaceType() )*
s: 24279225- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ImplementsList n)
Visits aImplementsListnode, whose children are the following :f0 -> "implements"
f1 -> ClassOrInterfaceType()
f2 -> ( #0 "," #1 ClassOrInterfaceType() )*
s: 1830366786- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(EnumDeclaration n)
Visits aEnumDeclarationnode, whose children are the following :f0 -> "enum"
f1 -> < IDENTIFIER >
f2 -> [ ImplementsList() ]
f3 -> EnumBody()
s: 359041865- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(EnumBody n)
Visits aEnumBodynode, whose children are the following :f0 -> "{"
f1 -> [ #0 EnumConstant()
.. .. . #1 ( $0 "," $1 EnumConstant() )* ]
f2 -> [ "," ]
f3 -> [ #0 ";"
.. .. . #1 ( ClassOrInterfaceBodyDeclaration() )* ]
f4 -> "}"
s: -1338633176- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(EnumConstant n)
Visits aEnumConstantnode, whose children are the following :f0 -> Modifiers()
f1 -> < IDENTIFIER >
f2 -> [ Arguments() ]
f3 -> [ ClassOrInterfaceBody() ]
s: -8699830- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(TypeParameters n)
Visits aTypeParametersnode, whose children are the following :f0 -> "<"
f1 -> TypeParameter()
f2 -> ( #0 "," #1 TypeParameter() )*
f3 -> ">"
s: 1962566888- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(TypeParameter n)
Visits aTypeParameternode, whose children are the following :f0 -> < IDENTIFIER >
f1 -> [ TypeBound() ]
s: 1306471903- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(TypeBound n)
Visits aTypeBoundnode, whose children are the following :f0 -> "extends"
f1 -> ClassOrInterfaceType()
f2 -> ( #0 "&" #1 ClassOrInterfaceType() )*
s: -2080520397- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ClassOrInterfaceBody n)
Visits aClassOrInterfaceBodynode, whose children are the following :f0 -> "{"
f1 -> ( ClassOrInterfaceBodyDeclaration() )*
f2 -> "}"
s: 1154515364- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ClassOrInterfaceBodyDeclaration n)
Visits aClassOrInterfaceBodyDeclarationnode, whose child is the following :f0 -> . %0 Initializer()
.. .. | %1 #0 Modifiers()
.. .. . .. #1 ( &0 ClassOrInterfaceDeclaration()
.. .. . .. .. | &1 EnumDeclaration()
.. .. . .. .. | &2 AnnotationTypeDeclaration()
.. .. . .. .. | &3 ConstructorDeclaration()
.. .. . .. .. | &4 FieldDeclaration()
.. .. . .. .. | &5 MethodDeclaration() )
.. .. | %2 ";"
s: -1583474828- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(FieldDeclaration n)
Visits aFieldDeclarationnode, whose children are the following :f0 -> Type()
f1 -> VariableDeclarator()
f2 -> ( #0 "," #1 VariableDeclarator() )*
f3 -> ";"
s: 1567612384- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(VariableDeclarator n)
Visits aVariableDeclaratornode, whose children are the following :f0 -> VariableDeclaratorId()
f1 -> [ #0 "=" #1 VariableInitializer() ]
s: -484955779- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(VariableDeclaratorId n)
Visits aVariableDeclaratorIdnode, whose children are the following :f0 -> < IDENTIFIER >
f1 -> ( #0 "[" #1 "]" )*
s: 416704472- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(VariableInitializer n)
Visits aVariableInitializernode, whose child is the following :f0 -> . %0 ArrayInitializer()
.. .. | %1 Expression()
s: 617286101- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ArrayInitializer n)
Visits aArrayInitializernode, whose children are the following :f0 -> "{"
f1 -> [ #0 VariableInitializer()
.. .. . #1 ( $0 "," $1 VariableInitializer() )* ]
f2 -> [ "," ]
f3 -> "}"
s: -251326055- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(MethodDeclaration n)
Visits aMethodDeclarationnode, whose children are the following :f0 -> [ TypeParameters() ]
f1 -> ResultType()
f2 -> MethodDeclarator()
f3 -> [ #0 "throws" #1 NameList() ]
f4 -> ( %0 Block()
.. .. | %1 ";" )
s: -418256626- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(MethodDeclarator n)
Visits aMethodDeclaratornode, whose children are the following :f0 -> < IDENTIFIER >
f1 -> FormalParameters()
f2 -> ( #0 "[" #1 "]" )*
s: -837793747- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(FormalParameters n)
Visits aFormalParametersnode, whose children are the following :f0 -> "("
f1 -> [ #0 FormalParameter()
.. .. . #1 ( $0 "," $1 FormalParameter() )* ]
f2 -> ")"
s: -97312104- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(FormalParameter n)
Visits aFormalParameternode, whose children are the following :f0 -> Modifiers()
f1 -> Type()
f2 -> [ "..." ]
f3 -> VariableDeclaratorId()
s: -1358852705- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ConstructorDeclaration n)
Visits aConstructorDeclarationnode, whose children are the following :f0 -> [ TypeParameters() ]
f1 -> < IDENTIFIER >
f2 -> FormalParameters()
f3 -> [ #0 "throws" #1 NameList() ]
f4 -> "{"
f5 -> [ ExplicitConstructorInvocation() ]
f6 -> ( BlockStatement() )*
f7 -> "}"
s: 1258397065- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ExplicitConstructorInvocation n)
Visits aExplicitConstructorInvocationnode, whose child is the following :f0 -> ( %0 #0 [ $0 "<" $1 ReferenceType()
.. .. . .. .. . $2 ( ?0 "," ?1 ReferenceType() )*
.. .. . .. .. . $3 ">" ]
.. .. . .. #1 ( &0 $0 "this" $1 Arguments() $2 ";"
.. .. . .. .. | &1 $0 "super" $1 Arguments() $2 ";" )
.. .. | %1 ( #0 PrimaryExpression() #1 "." #2 "super" #3 Arguments() #4 ";" ) )
s: -492225557- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(Initializer n)
Visits aInitializernode, whose children are the following :f0 -> [ "static" ]
f1 -> Block()
s: -423135641- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(Type n)
Visits aTypenode, whose child is the following :f0 -> . %0 ReferenceType()
.. .. | %1 PrimitiveType()
s: -1143267570- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ReferenceType n)
Visits aReferenceTypenode, whose child is the following :f0 -> . %0 #0 PrimitiveType()
.. .. . .. #1 ( $0 "[" $1 "]" )+
.. .. | %1 #0 ClassOrInterfaceType()
.. .. . .. #1 ( $0 "[" $1 "]" )*
s: -275468366- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ClassOrInterfaceType n)
Visits aClassOrInterfaceTypenode, whose children are the following :f0 -> < IDENTIFIER >
f1 -> [ TypeArguments() ]
f2 -> ( #0 "." #1 < IDENTIFIER >
.. .. . #2 [ TypeArguments() ] )*
s: -1178309727- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(TypeArguments n)
Visits aTypeArgumentsnode, whose children are the following :f0 -> "<"
f1 -> TypeArgument()
f2 -> ( #0 "," #1 TypeArgument() )*
f3 -> ">"
s: 131755052- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(EmptyTypeArguments n)
Visits aEmptyTypeArgumentsnode, whose children are the following :f0 -> "<"
f1 -> ">"
s: 859421181- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(TypeArgument n)
Visits aTypeArgumentnode, whose child is the following :f0 -> . %0 ReferenceType()
.. .. | %1 #0 "?"
.. .. . .. #1 [ WildcardBounds() ]
s: 36461692- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(WildcardBounds n)
Visits aWildcardBoundsnode, whose child is the following :f0 -> . %0 #0 "extends" #1 ReferenceType()
.. .. | %1 #0 "super" #1 ReferenceType()
s: 122808000- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(PrimitiveType n)
Visits aPrimitiveTypenode, whose child is the following :f0 -> . %0 "boolean"
.. .. | %1 "char"
.. .. | %2 "byte"
.. .. | %3 "short"
.. .. | %4 "int"
.. .. | %5 "long"
.. .. | %6 "float"
.. .. | %7 "double"
s: 427914477- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ResultType n)
Visits aResultTypenode, whose child is the following :f0 -> ( %0 "void"
.. .. | %1 Type() )
s: 805291204- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(Name n)
Visits aNamenode, whose children are the following :f0 -> JavaIdentifier()
f1 -> ( #0 "." #1 JavaIdentifier() )*
s: 565597065- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(NameList n)
Visits aNameListnode, whose children are the following :f0 -> Name()
f1 -> ( #0 "," #1 Name() )*
s: -1147957113- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(Expression n)
Visits aExpressionnode, whose children are the following :f0 -> ConditionalExpression()
f1 -> [ #0 AssignmentOperator() #1 Expression() ]
s: -1186270200- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(AssignmentOperator n)
Visits aAssignmentOperatornode, whose child is the following :f0 -> . %00 "="
.. .. | %01 "*="
.. .. | %02 "/="
.. .. | %03 "%="
.. .. | %04 "+="
.. .. | %05 "-="
.. .. | %06 "<<="
.. .. | %07 ">>="
.. .. | %08 ">>>="
.. .. | %09 "&="
.. .. | %10 "^="
.. .. | %11 "|="
s: 21393769- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ConditionalExpression n)
Visits aConditionalExpressionnode, whose children are the following :f0 -> ConditionalOrExpression()
f1 -> [ #0 "?" #1 Expression() #2 ":" #3 Expression() ]
s: -1150694214- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ConditionalOrExpression n)
Visits aConditionalOrExpressionnode, whose children are the following :f0 -> ConditionalAndExpression()
f1 -> ( #0 "||" #1 ConditionalAndExpression() )*
s: -1592298777- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ConditionalAndExpression n)
Visits aConditionalAndExpressionnode, whose children are the following :f0 -> InclusiveOrExpression()
f1 -> ( #0 "&&" #1 InclusiveOrExpression() )*
s: -1425815203- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(InclusiveOrExpression n)
Visits aInclusiveOrExpressionnode, whose children are the following :f0 -> ExclusiveOrExpression()
f1 -> ( #0 "|" #1 ExclusiveOrExpression() )*
s: 963402497- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ExclusiveOrExpression n)
Visits aExclusiveOrExpressionnode, whose children are the following :f0 -> AndExpression()
f1 -> ( #0 "^" #1 AndExpression() )*
s: -1241708769- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(AndExpression n)
Visits aAndExpressionnode, whose children are the following :f0 -> EqualityExpression()
f1 -> ( #0 "&" #1 EqualityExpression() )*
s: -629554573- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(EqualityExpression n)
Visits aEqualityExpressionnode, whose children are the following :f0 -> InstanceOfExpression()
f1 -> ( #0 ( %0 "=="
.. .. . .. | %1 "!=" )
.. .. . #1 InstanceOfExpression() )*
s: 1053085061- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(InstanceOfExpression n)
Visits aInstanceOfExpressionnode, whose children are the following :f0 -> RelationalExpression()
f1 -> [ #0 "instanceof" #1 Type() ]
s: 933354553- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(RelationalExpression n)
Visits aRelationalExpressionnode, whose children are the following :f0 -> ShiftExpression()
f1 -> ( #0 ( %0 "<"
.. .. . .. | %1 ">"
.. .. . .. | %2 "<="
.. .. . .. | %3 ">=" )
.. .. . #1 ShiftExpression() )*
s: 1473482530- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ShiftExpression n)
Visits aShiftExpressionnode, whose children are the following :f0 -> AdditiveExpression()
f1 -> ( #0 ( %0 "<<"
.. .. . .. | %1 RUnsignedShift()
.. .. . .. | %2 RSignedShift() )
.. .. . #1 AdditiveExpression() )*
s: 1210478291- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(RSignedShift n)
Visits aRSignedShiftnode, whose children are the following :f0 -> ">"
f1 -> ">"
s: 1560485759- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(RUnsignedShift n)
Visits aRUnsignedShiftnode, whose children are the following :f0 -> ">"
f1 -> ">"
f2 -> ">"
s: -171434548- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(AdditiveExpression n)
Visits aAdditiveExpressionnode, whose children are the following :f0 -> MultiplicativeExpression()
f1 -> ( #0 ( %0 "+"
.. .. . .. | %1 "-" )
.. .. . #1 MultiplicativeExpression() )*
s: -1807059397- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(MultiplicativeExpression n)
Visits aMultiplicativeExpressionnode, whose children are the following :f0 -> UnaryExpression()
f1 -> ( #0 ( %0 "*"
.. .. . .. | %1 "/"
.. .. . .. | %2 "%" )
.. .. . #1 UnaryExpression() )*
s: 853643830- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(UnaryExpression n)
Visits aUnaryExpressionnode, whose child is the following :f0 -> . %0 #0 ( &0 "+"
.. .. . .. .. | &1 "-" )
.. .. . .. #1 UnaryExpression()
.. .. | %1 PreIncrementExpression()
.. .. | %2 PreDecrementExpression()
.. .. | %3 UnaryExpressionNotPlusMinus()
s: 256050335- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(PreIncrementExpression n)
Visits aPreIncrementExpressionnode, whose children are the following :f0 -> "++"
f1 -> PrimaryExpression()
s: 2138182184- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(PreDecrementExpression n)
Visits aPreDecrementExpressionnode, whose children are the following :f0 -> "--"
f1 -> PrimaryExpression()
s: -743030168- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(UnaryExpressionNotPlusMinus n)
Visits aUnaryExpressionNotPlusMinusnode, whose child is the following :f0 -> . %0 #0 ( &0 "~"
.. .. . .. .. | &1 "!" )
.. .. . .. #1 UnaryExpression()
.. .. | %1 CastExpression()
.. .. | %2 PostfixExpression()
s: -323186655- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(CastLookahead n)
Visits aCastLookaheadnode, whose child is the following :f0 -> . %0 #0 "(" #1 PrimitiveType()
.. .. | %1 #0 "(" #1 Type() #2 "[" #3 "]"
.. .. | %2 #0 "(" #1 Type() #2 ")"
.. .. . .. #3 ( &0 "~"
.. .. . .. .. | &1 "!"
.. .. . .. .. | &2 "("
.. .. . .. .. | &3 < IDENTIFIER >
.. .. . .. .. | &4 "this"
.. .. . .. .. | &5 "super"
.. .. . .. .. | &6 "new"
.. .. . .. .. | &7 Literal() )
s: 611584359- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(PostfixExpression n)
Visits aPostfixExpressionnode, whose children are the following :f0 -> PrimaryExpression()
f1 -> [ %0 "++"
.. .. | %1 "--" ]
s: -141317959- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(CastExpression n)
Visits aCastExpressionnode, whose child is the following :f0 -> . %0 #0 "(" #1 Type() #2 ")" #3 UnaryExpression()
.. .. | %1 #0 "(" #1 Type() #2 ")" #3 UnaryExpressionNotPlusMinus()
s: -326666679- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(PrimaryExpression n)
Visits aPrimaryExpressionnode, whose children are the following :f0 -> PrimaryPrefix()
f1 -> ( PrimarySuffix() )*
s: -840041189- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(MemberSelector n)
Visits aMemberSelectornode, whose children are the following :f0 -> "."
f1 -> TypeArguments()
f2 -> < IDENTIFIER >
s: 257570924- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(PrimaryPrefix n)
Visits aPrimaryPrefixnode, whose child is the following :f0 -> . %0 Literal()
.. .. | %1 "this"
.. .. | %2 #0 "super" #1 "." #2 < IDENTIFIER >
.. .. | %3 #0 "(" #1 Expression() #2 ")"
.. .. | %4 AllocationExpression()
.. .. | %5 #0 ResultType() #1 "." #2 "class"
.. .. | %6 Name()
s: -1251837238- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(PrimarySuffix n)
Visits aPrimarySuffixnode, whose child is the following :f0 -> . %0 #0 "." #1 "this"
.. .. | %1 #0 "." #1 AllocationExpression()
.. .. | %2 MemberSelector()
.. .. | %3 #0 "[" #1 Expression() #2 "]"
.. .. | %4 #0 "." #1 < IDENTIFIER >
.. .. | %5 Arguments()
s: -1259210971- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(Literal n)
Visits aLiteralnode, whose child is the following :f0 -> . %0 < INTEGER_LITERAL >
.. .. | %1 < FLOATING_POINT_LITERAL >
.. .. | %2 < CHARACTER_LITERAL >
.. .. | %3 < STRING_LITERAL >
.. .. | %4 BooleanLiteral()
.. .. | %5 NullLiteral()
s: 454259936- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(IntegerLiteral n)
Visits aIntegerLiteralnode, whose child is the following :f0 -> < INTEGER_LITERAL >
s: -1048223857- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(BooleanLiteral n)
Visits aBooleanLiteralnode, whose child is the following :f0 -> . %0 "true"
.. .. | %1 "false"
s: -1365265107- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(StringLiteral n)
Visits aStringLiteralnode, whose child is the following :f0 -> < STRING_LITERAL >
s: 241433948- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(NullLiteral n)
Visits aNullLiteralnode, whose child is the following :f0 -> "null"
s: -1703344686- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(Arguments n)
Visits aArgumentsnode, whose children are the following :f0 -> "("
f1 -> [ ArgumentList() ]
f2 -> ")"
s: 2046130821- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ArgumentList n)
Visits aArgumentListnode, whose children are the following :f0 -> Expression()
f1 -> ( #0 "," #1 Expression() )*
s: -662366547- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(AllocationExpression n)
Visits aAllocationExpressionnode, whose child is the following :f0 -> . %0 #0 "new" #1 PrimitiveType() #2 ArrayDimsAndInits()
.. .. | %1 #0 "new" #1 ClassOrInterfaceType()
.. .. . .. #2 [ &0 EmptyTypeArguments()
.. .. . .. .. | &1 TypeArguments() ]
.. .. . .. #3 ( &0 ArrayDimsAndInits()
.. .. . .. .. | &1 $0 Arguments()
.. .. . .. .. . .. $1 [ ClassOrInterfaceBody() ] )
s: 1688598744- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ArrayDimsAndInits n)
Visits aArrayDimsAndInitsnode, whose child is the following :f0 -> . %0 #0 ( $0 "[" $1 Expression() $2 "]" )+
.. .. . .. #1 ( $0 "[" $1 "]" )*
.. .. | %1 #0 ( $0 "[" $1 "]" )+
.. .. . .. #1 ArrayInitializer()
s: 184028601- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(Statement n)
Visits aStatementnode, whose child is the following :f0 -> . %00 LabeledStatement()
.. .. | %01 AssertStatement()
.. .. | %02 Block()
.. .. | %03 EmptyStatement()
.. .. | %04 #0 StatementExpression() #1 ";"
.. .. | %05 SwitchStatement()
.. .. | %06 IfStatement()
.. .. | %07 WhileStatement()
.. .. | %08 DoStatement()
.. .. | %09 ForStatement()
.. .. | %10 BreakStatement()
.. .. | %11 ContinueStatement()
.. .. | %12 ReturnStatement()
.. .. | %13 ThrowStatement()
.. .. | %14 SynchronizedStatement()
.. .. | %15 TryStatement()
s: 1394695492- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(AssertStatement n)
Visits aAssertStatementnode, whose children are the following :f0 -> "assert"
f1 -> Expression()
f2 -> [ #0 ":" #1 Expression() ]
f3 -> ";"
s: -579866328- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(LabeledStatement n)
Visits aLabeledStatementnode, whose children are the following :f0 -> < IDENTIFIER >
f1 -> ":"
f2 -> Statement()
s: -1956923191- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(Block n)
Visits aBlocknode, whose children are the following :f0 -> "{"
f1 -> ( BlockStatement() )*
f2 -> "}"
s: -47169424- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(BlockStatement n)
Visits aBlockStatementnode, whose child is the following :f0 -> . %0 #0 LocalVariableDeclaration() #1 ";"
.. .. | %1 Statement()
.. .. | %2 ClassOrInterfaceDeclaration()
s: -1009630136- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(LocalVariableDeclaration n)
Visits aLocalVariableDeclarationnode, whose children are the following :f0 -> VariableModifiers()
f1 -> Type()
f2 -> VariableDeclarator()
f3 -> ( #0 "," #1 VariableDeclarator() )*
s: 225808290- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(VariableModifiers n)
Visits aVariableModifiersnode, whose child is the following :f0 -> ( ( %0 "final"
.. .. . | %1 Annotation() ) )*
s: 2076055340- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(EmptyStatement n)
Visits aEmptyStatementnode, whose child is the following :f0 -> ";"
s: 2055660624- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(StatementExpression n)
Visits aStatementExpressionnode, whose child is the following :f0 -> . %0 PreIncrementExpression()
.. .. | %1 PreDecrementExpression()
.. .. | %2 #0 PrimaryExpression()
.. .. . .. #1 [ &0 "++"
.. .. . .. .. | &1 "--"
.. .. . .. .. | &2 $0 AssignmentOperator() $1 Expression() ]
s: 757890000- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(SwitchStatement n)
Visits aSwitchStatementnode, whose children are the following :f0 -> "switch"
f1 -> "("
f2 -> Expression()
f3 -> ")"
f4 -> "{"
f5 -> ( #0 SwitchLabel()
.. .. . #1 ( BlockStatement() )* )*
f6 -> "}"
s: 645895087- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(SwitchLabel n)
Visits aSwitchLabelnode, whose child is the following :f0 -> . %0 #0 "case" #1 Expression() #2 ":"
.. .. | %1 #0 "default" #1 ":"
s: 63513165- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(IfStatement n)
Visits aIfStatementnode, whose children are the following :f0 -> "if"
f1 -> "("
f2 -> Expression()
f3 -> ")"
f4 -> Statement()
f5 -> [ #0 "else" #1 Statement() ]
s: -1906079982- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(WhileStatement n)
Visits aWhileStatementnode, whose children are the following :f0 -> "while"
f1 -> "("
f2 -> Expression()
f3 -> ")"
f4 -> Statement()
s: 503551312- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(DoStatement n)
Visits aDoStatementnode, whose children are the following :f0 -> "do"
f1 -> Statement()
f2 -> "while"
f3 -> "("
f4 -> Expression()
f5 -> ")"
f6 -> ";"
s: 1162769715- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ForStatement n)
Visits aForStatementnode, whose children are the following :f0 -> "for"
f1 -> "("
f2 -> ( %0 #0 VariableModifiers() #1 Type() #2 < IDENTIFIER > #3 ":" #4 Expression()
.. .. | %1 #0 [ ForInit() ]
.. .. . .. #1 ";"
.. .. . .. #2 [ Expression() ]
.. .. . .. #3 ";"
.. .. . .. #4 [ ForUpdate() ] )
f3 -> ")"
f4 -> Statement()
s: 755358653- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ForInit n)
Visits aForInitnode, whose child is the following :f0 -> . %0 LocalVariableDeclaration()
.. .. | %1 StatementExpressionList()
s: 1128701780- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(StatementExpressionList n)
Visits aStatementExpressionListnode, whose children are the following :f0 -> StatementExpression()
f1 -> ( #0 "," #1 StatementExpression() )*
s: 186773841- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ForUpdate n)
Visits aForUpdatenode, whose child is the following :f0 -> StatementExpressionList()
s: -1489663891- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(BreakStatement n)
Visits aBreakStatementnode, whose children are the following :f0 -> "break"
f1 -> [ < IDENTIFIER > ]
f2 -> ";"
s: 2096828507- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ContinueStatement n)
Visits aContinueStatementnode, whose children are the following :f0 -> "continue"
f1 -> [ < IDENTIFIER > ]
f2 -> ";"
s: -1991535243- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ReturnStatement n)
Visits aReturnStatementnode, whose children are the following :f0 -> "return"
f1 -> [ Expression() ]
f2 -> ";"
s: -1971167888- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(ThrowStatement n)
Visits aThrowStatementnode, whose children are the following :f0 -> "throw"
f1 -> Expression()
f2 -> ";"
s: 568421270- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(SynchronizedStatement n)
Visits aSynchronizedStatementnode, whose children are the following :f0 -> "synchronized"
f1 -> "("
f2 -> Expression()
f3 -> ")"
f4 -> Block()
s: 2040551171- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(TryStatement n)
Visits aTryStatementnode, whose children are the following :f0 -> "try"
f1 -> Block()
f2 -> ( #0 "catch" #1 "(" #2 FormalParameter() #3 ")" #4 Block() )*
f3 -> [ #0 "finally" #1 Block() ]
s: 1108527850- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(Annotation n)
Visits aAnnotationnode, whose child is the following :f0 -> . %0 NormalAnnotation()
.. .. | %1 SingleMemberAnnotation()
.. .. | %2 MarkerAnnotation()
s: 1542293240- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(NormalAnnotation n)
Visits aNormalAnnotationnode, whose children are the following :f0 -> "@"
f1 -> Name()
f2 -> "("
f3 -> [ MemberValuePairs() ]
f4 -> ")"
s: -50913587- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(MarkerAnnotation n)
Visits aMarkerAnnotationnode, whose children are the following :f0 -> "@"
f1 -> Name()
s: -11544239- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(SingleMemberAnnotation n)
Visits aSingleMemberAnnotationnode, whose children are the following :f0 -> "@"
f1 -> Name()
f2 -> "("
f3 -> MemberValue()
f4 -> ")"
s: -1771126382- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(MemberValuePairs n)
Visits aMemberValuePairsnode, whose children are the following :f0 -> MemberValuePair()
f1 -> ( #0 "," #1 MemberValuePair() )*
s: -113472239- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(MemberValuePair n)
Visits aMemberValuePairnode, whose children are the following :f0 -> < IDENTIFIER >
f1 -> "="
f2 -> MemberValue()
s: -476335468- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(MemberValue n)
Visits aMemberValuenode, whose child is the following :f0 -> . %0 Annotation()
.. .. | %1 MemberValueArrayInitializer()
.. .. | %2 ConditionalExpression()
s: -1120846693- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(MemberValueArrayInitializer n)
Visits aMemberValueArrayInitializernode, whose children are the following :f0 -> "{"
f1 -> MemberValue()
f2 -> ( #0 "," #1 MemberValue() )*
f3 -> [ "," ]
f4 -> "}"
s: 111140055- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(AnnotationTypeDeclaration n)
Visits aAnnotationTypeDeclarationnode, whose children are the following :f0 -> "@"
f1 -> "interface"
f2 -> < IDENTIFIER >
f3 -> AnnotationTypeBody()
s: 383718196- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(AnnotationTypeBody n)
Visits aAnnotationTypeBodynode, whose children are the following :f0 -> "{"
f1 -> ( AnnotationTypeMemberDeclaration() )*
f2 -> "}"
s: -667465535- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(AnnotationTypeMemberDeclaration n)
Visits aAnnotationTypeMemberDeclarationnode, whose child is the following :f0 -> . %0 #0 Modifiers()
.. .. . .. #1 ( &0 $0 Type() $1 < IDENTIFIER > $2 "(" $3 ")"
.. .. . .. .. . .. $4 [ DefaultValue() ]
.. .. . .. .. . .. $5 ";"
.. .. . .. .. | &1 ClassOrInterfaceDeclaration()
.. .. . .. .. | &2 EnumDeclaration()
.. .. . .. .. | &3 AnnotationTypeDeclaration()
.. .. . .. .. | &4 FieldDeclaration() )
.. .. | %1 ";"
s: -1120210008- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
visit
public void visit(DefaultValue n)
Visits aDefaultValuenode, whose children are the following :f0 -> "default"
f1 -> MemberValue()
s: -1936312236- Specified by:
visitin interfaceIVoidVisitor- Parameters:
n- - the node to visit
-
-