Interface IIntVisitor
-
- All Known Implementing Classes:
DepthFirstIntVisitor
public interface IIntVisitor
All "IIntVisitor" visitors must implement this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
visit(AccessModifier n)
Visits aAccessModifier
node, whose child is the following :int
visit(AdditiveExpression n)
Visits aAdditiveExpression
node, whose children are the following :int
visit(AllocationExpression n)
Visits aAllocationExpression
node, whose child is the following :int
visit(AndExpression n)
Visits aAndExpression
node, whose children are the following :int
visit(Annotation n)
Visits aAnnotation
node, whose child is the following :int
visit(AnnotationTypeBody n)
Visits aAnnotationTypeBody
node, whose children are the following :int
visit(AnnotationTypeDeclaration n)
Visits aAnnotationTypeDeclaration
node, whose children are the following :int
visit(AnnotationTypeMemberDeclaration n)
Visits aAnnotationTypeMemberDeclaration
node, whose child is the following :int
visit(ArgumentList n)
Visits aArgumentList
node, whose children are the following :int
visit(Arguments n)
Visits aArguments
node, whose children are the following :int
visit(ArrayDimsAndInits n)
Visits aArrayDimsAndInits
node, whose child is the following :int
visit(ArrayInitializer n)
Visits aArrayInitializer
node, whose children are the following :int
visit(AssertStatement n)
Visits aAssertStatement
node, whose children are the following :int
visit(AssignmentOperator n)
Visits aAssignmentOperator
node, whose child is the following :int
visit(Block n)
Visits aBlock
node, whose children are the following :int
visit(BlockStatement n)
Visits aBlockStatement
node, whose child is the following :int
visit(BNFProduction n)
Visits aBNFProduction
node, whose children are the following :int
visit(BooleanLiteral n)
Visits aBooleanLiteral
node, whose child is the following :int
visit(BreakStatement n)
Visits aBreakStatement
node, whose children are the following :int
visit(CastExpression n)
Visits aCastExpression
node, whose child is the following :int
visit(CastLookahead n)
Visits aCastLookahead
node, whose child is the following :int
visit(CharacterDescriptor n)
Visits aCharacterDescriptor
node, whose children are the following :int
visit(CharacterList n)
Visits aCharacterList
node, whose children are the following :int
visit(ClassOrInterfaceBody n)
Visits aClassOrInterfaceBody
node, whose children are the following :int
visit(ClassOrInterfaceBodyDeclaration n)
Visits aClassOrInterfaceBodyDeclaration
node, whose child is the following :int
visit(ClassOrInterfaceDeclaration n)
Visits aClassOrInterfaceDeclaration
node, whose children are the following :int
visit(ClassOrInterfaceType n)
Visits aClassOrInterfaceType
node, whose children are the following :int
visit(CompilationUnit n)
Visits aCompilationUnit
node, whose children are the following :int
visit(ComplexRegularExpression n)
Visits aComplexRegularExpression
node, whose child is the following :int
visit(ComplexRegularExpressionChoices n)
Visits aComplexRegularExpressionChoices
node, whose children are the following :int
visit(ComplexRegularExpressionUnit n)
Visits aComplexRegularExpressionUnit
node, whose child is the following :int
visit(ConditionalAndExpression n)
Visits aConditionalAndExpression
node, whose children are the following :int
visit(ConditionalExpression n)
Visits aConditionalExpression
node, whose children are the following :int
visit(ConditionalOrExpression n)
Visits aConditionalOrExpression
node, whose children are the following :int
visit(ConstructorDeclaration n)
Visits aConstructorDeclaration
node, whose children are the following :int
visit(ContinueStatement n)
Visits aContinueStatement
node, whose children are the following :int
visit(DefaultValue n)
Visits aDefaultValue
node, whose children are the following :int
visit(DoStatement n)
Visits aDoStatement
node, whose children are the following :int
visit(EmptyStatement n)
Visits aEmptyStatement
node, whose child is the following :int
visit(EmptyTypeArguments n)
Visits aEmptyTypeArguments
node, whose children are the following :int
visit(EnumBody n)
Visits aEnumBody
node, whose children are the following :int
visit(EnumConstant n)
Visits aEnumConstant
node, whose children are the following :int
visit(EnumDeclaration n)
Visits aEnumDeclaration
node, whose children are the following :int
visit(EqualityExpression n)
Visits aEqualityExpression
node, whose children are the following :int
visit(ExclusiveOrExpression n)
Visits aExclusiveOrExpression
node, whose children are the following :int
visit(Expansion n)
Visits aExpansion
node, whose children are the following :int
visit(ExpansionChoices n)
Visits aExpansionChoices
node, whose children are the following :int
visit(ExpansionUnit n)
Visits aExpansionUnit
node, whose child is the following :int
visit(ExpansionUnitTCF n)
Visits aExpansionUnitTCF
node, whose children are the following :int
visit(ExplicitConstructorInvocation n)
Visits aExplicitConstructorInvocation
node, whose child is the following :int
visit(Expression n)
Visits aExpression
node, whose children are the following :int
visit(ExtendsList n)
Visits aExtendsList
node, whose children are the following :int
visit(FieldDeclaration n)
Visits aFieldDeclaration
node, whose children are the following :int
visit(ForInit n)
Visits aForInit
node, whose child is the following :int
visit(FormalParameter n)
Visits aFormalParameter
node, whose children are the following :int
visit(FormalParameters n)
Visits aFormalParameters
node, whose children are the following :int
visit(ForStatement n)
Visits aForStatement
node, whose children are the following :int
visit(ForUpdate n)
Visits aForUpdate
node, whose child is the following :int
visit(IdentifierAsString n)
Visits aIdentifierAsString
node, whose child is the following :int
visit(IfStatement n)
Visits aIfStatement
node, whose children are the following :int
visit(ImplementsList n)
Visits aImplementsList
node, whose children are the following :int
visit(ImportDeclaration n)
Visits aImportDeclaration
node, whose children are the following :int
visit(InclusiveOrExpression n)
Visits aInclusiveOrExpression
node, whose children are the following :int
visit(Initializer n)
Visits aInitializer
node, whose children are the following :int
visit(InstanceOfExpression n)
Visits aInstanceOfExpression
node, whose children are the following :int
visit(IntegerLiteral n)
Visits aIntegerLiteral
node, whose child is the following :int
visit(JavaCCInput n)
Visits aJavaCCInput
node, whose children are the following :int
visit(JavaCCOptions n)
Visits aJavaCCOptions
node, whose child is the following :int
visit(JavaCodeProduction n)
Visits aJavaCodeProduction
node, whose children are the following :int
visit(JavaIdentifier n)
Visits aJavaIdentifier
node, whose child is the following :int
visit(LabeledStatement n)
Visits aLabeledStatement
node, whose children are the following :int
visit(Literal n)
Visits aLiteral
node, whose child is the following :int
visit(LocalLookahead n)
Visits aLocalLookahead
node, whose children are the following :int
visit(LocalVariableDeclaration n)
Visits aLocalVariableDeclaration
node, whose children are the following :int
visit(MarkerAnnotation n)
Visits aMarkerAnnotation
node, whose children are the following :int
visit(MemberSelector n)
Visits aMemberSelector
node, whose children are the following :int
visit(MemberValue n)
Visits aMemberValue
node, whose child is the following :int
visit(MemberValueArrayInitializer n)
Visits aMemberValueArrayInitializer
node, whose children are the following :int
visit(MemberValuePair n)
Visits aMemberValuePair
node, whose children are the following :int
visit(MemberValuePairs n)
Visits aMemberValuePairs
node, whose children are the following :int
visit(MethodDeclaration n)
Visits aMethodDeclaration
node, whose children are the following :int
visit(MethodDeclarator n)
Visits aMethodDeclarator
node, whose children are the following :int
visit(Modifiers n)
Visits aModifiers
node, whose child is the following :int
visit(MultiplicativeExpression n)
Visits aMultiplicativeExpression
node, whose children are the following :int
visit(Name n)
Visits aName
node, whose children are the following :int
visit(NameList n)
Visits aNameList
node, whose children are the following :int
visit(NodeChoice n)
Visits aNodeChoice
node.int
visit(NodeList n)
Visits aNodeList
node.int
visit(NodeListOptional n)
Visits aNodeListOptional
node.int
visit(NodeOptional n)
Visits aNodeOptional
node.int
visit(NodeSequence n)
Visits aNodeSequence
node.int
visit(NormalAnnotation n)
Visits aNormalAnnotation
node, whose children are the following :int
visit(NullLiteral n)
Visits aNullLiteral
node, whose child is the following :int
visit(OptionBinding n)
Visits aOptionBinding
node, whose children are the following :int
visit(PackageDeclaration n)
Visits aPackageDeclaration
node, whose children are the following :int
visit(PostfixExpression n)
Visits aPostfixExpression
node, whose children are the following :int
visit(PreDecrementExpression n)
Visits aPreDecrementExpression
node, whose children are the following :int
visit(PreIncrementExpression n)
Visits aPreIncrementExpression
node, whose children are the following :int
visit(PrimaryExpression n)
Visits aPrimaryExpression
node, whose children are the following :int
visit(PrimaryPrefix n)
Visits aPrimaryPrefix
node, whose child is the following :int
visit(PrimarySuffix n)
Visits aPrimarySuffix
node, whose child is the following :int
visit(PrimitiveType n)
Visits aPrimitiveType
node, whose child is the following :int
visit(Production n)
Visits aProduction
node, whose child is the following :int
visit(ReferenceType n)
Visits aReferenceType
node, whose child is the following :int
visit(RegExprKind n)
Visits aRegExprKind
node, whose child is the following :int
visit(RegExprSpec n)
Visits aRegExprSpec
node, whose children are the following :int
visit(RegularExpression n)
Visits aRegularExpression
node, whose child is the following :int
visit(RegularExprProduction n)
Visits aRegularExprProduction
node, whose children are the following :int
visit(RelationalExpression n)
Visits aRelationalExpression
node, whose children are the following :int
visit(ResultType n)
Visits aResultType
node, whose child is the following :int
visit(ReturnStatement n)
Visits aReturnStatement
node, whose children are the following :int
visit(RSignedShift n)
Visits aRSignedShift
node, whose children are the following :int
visit(RUnsignedShift n)
Visits aRUnsignedShift
node, whose children are the following :int
visit(ShiftExpression n)
Visits aShiftExpression
node, whose children are the following :int
visit(SingleMemberAnnotation n)
Visits aSingleMemberAnnotation
node, whose children are the following :int
visit(Statement n)
Visits aStatement
node, whose child is the following :int
visit(StatementExpression n)
Visits aStatementExpression
node, whose child is the following :int
visit(StatementExpressionList n)
Visits aStatementExpressionList
node, whose children are the following :int
visit(StringLiteral n)
Visits aStringLiteral
node, whose child is the following :int
visit(SwitchLabel n)
Visits aSwitchLabel
node, whose child is the following :int
visit(SwitchStatement n)
Visits aSwitchStatement
node, whose children are the following :int
visit(SynchronizedStatement n)
Visits aSynchronizedStatement
node, whose children are the following :int
visit(ThrowStatement n)
Visits aThrowStatement
node, whose children are the following :int
visit(TokenManagerDecls n)
Visits aTokenManagerDecls
node, whose children are the following :int
visit(TryStatement n)
Visits aTryStatement
node, whose children are the following :int
visit(Type n)
Visits aType
node, whose child is the following :int
visit(TypeArgument n)
Visits aTypeArgument
node, whose child is the following :int
visit(TypeArguments n)
Visits aTypeArguments
node, whose children are the following :int
visit(TypeBound n)
Visits aTypeBound
node, whose children are the following :int
visit(TypeDeclaration n)
Visits aTypeDeclaration
node, whose child is the following :int
visit(TypeParameter n)
Visits aTypeParameter
node, whose children are the following :int
visit(TypeParameters n)
Visits aTypeParameters
node, whose children are the following :int
visit(UnaryExpression n)
Visits aUnaryExpression
node, whose child is the following :int
visit(UnaryExpressionNotPlusMinus n)
Visits aUnaryExpressionNotPlusMinus
node, whose child is the following :int
visit(VariableDeclarator n)
Visits aVariableDeclarator
node, whose children are the following :int
visit(VariableDeclaratorId n)
Visits aVariableDeclaratorId
node, whose children are the following :int
visit(VariableInitializer n)
Visits aVariableInitializer
node, whose child is the following :int
visit(VariableModifiers n)
Visits aVariableModifiers
node, whose child is the following :int
visit(WhileStatement n)
Visits aWhileStatement
node, whose children are the following :int
visit(WildcardBounds n)
Visits aWildcardBounds
node, whose child is the following :int
visit(Token n)
Visits aToken
node.
-
-
-
Method Detail
-
visit
int visit(NodeChoice n)
Visits aNodeChoice
node.- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(NodeList n)
Visits aNodeList
node.- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(NodeListOptional n)
Visits aNodeListOptional
node.- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(NodeOptional n)
Visits aNodeOptional
node.- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(NodeSequence n)
Visits aNodeSequence
node.- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(Token n)
Visits aToken
node.- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(JavaCCInput n)
Visits aJavaCCInput
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(JavaCCOptions n)
Visits aJavaCCOptions
node, whose child is the following :f0 -> [ #0 "options" #1 "{"
.. .. . #2 ( OptionBinding() )*
.. .. . #3 "}" ]
s: -1270729337- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(OptionBinding n)
Visits aOptionBinding
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(Production n)
Visits aProduction
node, whose child is the following :f0 -> . %0 JavaCodeProduction()
.. .. | %1 RegularExprProduction()
.. .. | %2 TokenManagerDecls()
.. .. | %3 BNFProduction()
s: -120615333- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(JavaCodeProduction n)
Visits aJavaCodeProduction
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(BNFProduction n)
Visits aBNFProduction
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(AccessModifier n)
Visits aAccessModifier
node, whose child is the following :f0 -> ( %0 "public"
.. .. | %1 "protected"
.. .. | %2 "private"
.. .. | %3 "final" )*
s: -1053437682- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(RegularExprProduction n)
Visits aRegularExprProduction
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(TokenManagerDecls n)
Visits aTokenManagerDecls
node, whose children are the following :f0 -> "TOKEN_MGR_DECLS"
f1 -> ":"
f2 -> ClassOrInterfaceBody()
s: -1566997219- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(RegExprKind n)
Visits aRegExprKind
node, whose child is the following :f0 -> . %0 "TOKEN"
.. .. | %1 "SPECIAL_TOKEN"
.. .. | %2 "SKIP"
.. .. | %3 "MORE"
s: -1874441621- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(RegExprSpec n)
Visits aRegExprSpec
node, whose children are the following :f0 -> RegularExpression()
f1 -> [ "!" ]
f2 -> [ Block() ]
f3 -> [ #0 ":" #1 < IDENTIFIER > ]
s: -1949948808- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ExpansionChoices n)
Visits aExpansionChoices
node, whose children are the following :f0 -> Expansion()
f1 -> ( #0 "|" #1 Expansion() )*
s: -1726831935- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(Expansion n)
Visits aExpansion
node, whose children are the following :f0 -> ( #0 "LOOKAHEAD" #1 "(" #2 LocalLookahead() #3 ")" )?
f1 -> ( ExpansionUnit() )+
s: -2134365682- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(LocalLookahead n)
Visits aLocalLookahead
node, whose children are the following :f0 -> [ IntegerLiteral() ]
f1 -> [ "," ]
f2 -> [ ExpansionChoices() ]
f3 -> [ "," ]
f4 -> [ #0 "{"
.. .. . #1 [ Expression() ]
.. .. . #2 "}" ]
s: -1879920786- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ExpansionUnit n)
Visits aExpansionUnit
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ExpansionUnitTCF n)
Visits aExpansionUnitTCF
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(RegularExpression n)
Visits aRegularExpression
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ComplexRegularExpressionChoices n)
Visits aComplexRegularExpressionChoices
node, whose children are the following :f0 -> ComplexRegularExpression()
f1 -> ( #0 "|" #1 ComplexRegularExpression() )*
s: -1240933595- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ComplexRegularExpression n)
Visits aComplexRegularExpression
node, whose child is the following :f0 -> ( ComplexRegularExpressionUnit() )+
s: 896313544- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ComplexRegularExpressionUnit n)
Visits aComplexRegularExpressionUnit
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(CharacterList n)
Visits aCharacterList
node, whose children are the following :f0 -> [ "~" ]
f1 -> "["
f2 -> [ #0 CharacterDescriptor()
.. .. . #1 ( $0 "," $1 CharacterDescriptor() )* ]
f3 -> "]"
s: -966448889- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(CharacterDescriptor n)
Visits aCharacterDescriptor
node, whose children are the following :f0 -> StringLiteral()
f1 -> [ #0 "-" #1 StringLiteral() ]
s: 895087809- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(IdentifierAsString n)
Visits aIdentifierAsString
node, whose child is the following :f0 -> < IDENTIFIER >
s: -1580059612- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(JavaIdentifier n)
Visits aJavaIdentifier
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(CompilationUnit n)
Visits aCompilationUnit
node, whose children are the following :f0 -> [ PackageDeclaration() ]
f1 -> ( ImportDeclaration() )*
f2 -> ( TypeDeclaration() )*
s: 1761039264- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(PackageDeclaration n)
Visits aPackageDeclaration
node, whose children are the following :f0 -> "package"
f1 -> Name()
f2 -> ";"
s: -2133750237- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ImportDeclaration n)
Visits aImportDeclaration
node, whose children are the following :f0 -> "import"
f1 -> [ "static" ]
f2 -> Name()
f3 -> [ #0 "." #1 "*" ]
f4 -> ";"
s: -1592912780- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(Modifiers n)
Visits aModifiers
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(TypeDeclaration n)
Visits aTypeDeclaration
node, whose child is the following :f0 -> . %0 ";"
.. .. | %1 #0 Modifiers()
.. .. . .. #1 ( &0 ClassOrInterfaceDeclaration()
.. .. . .. .. | &1 EnumDeclaration()
.. .. . .. .. | &2 AnnotationTypeDeclaration() )
s: -297159274- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ClassOrInterfaceDeclaration n)
Visits aClassOrInterfaceDeclaration
node, whose children are the following :f0 -> ( %0 "class"
.. .. | %1 "interface" )
f1 -> < IDENTIFIER >
f2 -> [ TypeParameters() ]
f3 -> [ ExtendsList() ]
f4 -> [ ImplementsList() ]
f5 -> ClassOrInterfaceBody()
s: 37426766- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ExtendsList n)
Visits aExtendsList
node, whose children are the following :f0 -> "extends"
f1 -> ClassOrInterfaceType()
f2 -> ( #0 "," #1 ClassOrInterfaceType() )*
s: 24279225- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ImplementsList n)
Visits aImplementsList
node, whose children are the following :f0 -> "implements"
f1 -> ClassOrInterfaceType()
f2 -> ( #0 "," #1 ClassOrInterfaceType() )*
s: 1830366786- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(EnumDeclaration n)
Visits aEnumDeclaration
node, whose children are the following :f0 -> "enum"
f1 -> < IDENTIFIER >
f2 -> [ ImplementsList() ]
f3 -> EnumBody()
s: 359041865- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(EnumBody n)
Visits aEnumBody
node, whose children are the following :f0 -> "{"
f1 -> [ #0 EnumConstant()
.. .. . #1 ( $0 "," $1 EnumConstant() )* ]
f2 -> [ "," ]
f3 -> [ #0 ";"
.. .. . #1 ( ClassOrInterfaceBodyDeclaration() )* ]
f4 -> "}"
s: -1338633176- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(EnumConstant n)
Visits aEnumConstant
node, whose children are the following :f0 -> Modifiers()
f1 -> < IDENTIFIER >
f2 -> [ Arguments() ]
f3 -> [ ClassOrInterfaceBody() ]
s: -8699830- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(TypeParameters n)
Visits aTypeParameters
node, whose children are the following :f0 -> "<"
f1 -> TypeParameter()
f2 -> ( #0 "," #1 TypeParameter() )*
f3 -> ">"
s: 1962566888- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(TypeParameter n)
Visits aTypeParameter
node, whose children are the following :f0 -> < IDENTIFIER >
f1 -> [ TypeBound() ]
s: 1306471903- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(TypeBound n)
Visits aTypeBound
node, whose children are the following :f0 -> "extends"
f1 -> ClassOrInterfaceType()
f2 -> ( #0 "&" #1 ClassOrInterfaceType() )*
s: -2080520397- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ClassOrInterfaceBody n)
Visits aClassOrInterfaceBody
node, whose children are the following :f0 -> "{"
f1 -> ( ClassOrInterfaceBodyDeclaration() )*
f2 -> "}"
s: 1154515364- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ClassOrInterfaceBodyDeclaration n)
Visits aClassOrInterfaceBodyDeclaration
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(FieldDeclaration n)
Visits aFieldDeclaration
node, whose children are the following :f0 -> Type()
f1 -> VariableDeclarator()
f2 -> ( #0 "," #1 VariableDeclarator() )*
f3 -> ";"
s: 1567612384- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(VariableDeclarator n)
Visits aVariableDeclarator
node, whose children are the following :f0 -> VariableDeclaratorId()
f1 -> [ #0 "=" #1 VariableInitializer() ]
s: -484955779- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(VariableDeclaratorId n)
Visits aVariableDeclaratorId
node, whose children are the following :f0 -> < IDENTIFIER >
f1 -> ( #0 "[" #1 "]" )*
s: 416704472- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(VariableInitializer n)
Visits aVariableInitializer
node, whose child is the following :f0 -> . %0 ArrayInitializer()
.. .. | %1 Expression()
s: 617286101- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ArrayInitializer n)
Visits aArrayInitializer
node, whose children are the following :f0 -> "{"
f1 -> [ #0 VariableInitializer()
.. .. . #1 ( $0 "," $1 VariableInitializer() )* ]
f2 -> [ "," ]
f3 -> "}"
s: -251326055- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(MethodDeclaration n)
Visits aMethodDeclaration
node, whose children are the following :f0 -> [ TypeParameters() ]
f1 -> ResultType()
f2 -> MethodDeclarator()
f3 -> [ #0 "throws" #1 NameList() ]
f4 -> ( %0 Block()
.. .. | %1 ";" )
s: -418256626- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(MethodDeclarator n)
Visits aMethodDeclarator
node, whose children are the following :f0 -> < IDENTIFIER >
f1 -> FormalParameters()
f2 -> ( #0 "[" #1 "]" )*
s: -837793747- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(FormalParameters n)
Visits aFormalParameters
node, whose children are the following :f0 -> "("
f1 -> [ #0 FormalParameter()
.. .. . #1 ( $0 "," $1 FormalParameter() )* ]
f2 -> ")"
s: -97312104- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(FormalParameter n)
Visits aFormalParameter
node, whose children are the following :f0 -> Modifiers()
f1 -> Type()
f2 -> [ "..." ]
f3 -> VariableDeclaratorId()
s: -1358852705- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ConstructorDeclaration n)
Visits aConstructorDeclaration
node, whose children are the following :f0 -> [ TypeParameters() ]
f1 -> < IDENTIFIER >
f2 -> FormalParameters()
f3 -> [ #0 "throws" #1 NameList() ]
f4 -> "{"
f5 -> [ ExplicitConstructorInvocation() ]
f6 -> ( BlockStatement() )*
f7 -> "}"
s: 1258397065- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ExplicitConstructorInvocation n)
Visits aExplicitConstructorInvocation
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(Initializer n)
Visits aInitializer
node, whose children are the following :f0 -> [ "static" ]
f1 -> Block()
s: -423135641- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(Type n)
Visits aType
node, whose child is the following :f0 -> . %0 ReferenceType()
.. .. | %1 PrimitiveType()
s: -1143267570- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ReferenceType n)
Visits aReferenceType
node, whose child is the following :f0 -> . %0 #0 PrimitiveType()
.. .. . .. #1 ( $0 "[" $1 "]" )+
.. .. | %1 #0 ClassOrInterfaceType()
.. .. . .. #1 ( $0 "[" $1 "]" )*
s: -275468366- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ClassOrInterfaceType n)
Visits aClassOrInterfaceType
node, whose children are the following :f0 -> < IDENTIFIER >
f1 -> [ TypeArguments() ]
f2 -> ( #0 "." #1 < IDENTIFIER >
.. .. . #2 [ TypeArguments() ] )*
s: -1178309727- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(TypeArguments n)
Visits aTypeArguments
node, whose children are the following :f0 -> "<"
f1 -> TypeArgument()
f2 -> ( #0 "," #1 TypeArgument() )*
f3 -> ">"
s: 131755052- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(EmptyTypeArguments n)
Visits aEmptyTypeArguments
node, whose children are the following :f0 -> "<"
f1 -> ">"
s: 859421181- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(TypeArgument n)
Visits aTypeArgument
node, whose child is the following :f0 -> . %0 ReferenceType()
.. .. | %1 #0 "?"
.. .. . .. #1 [ WildcardBounds() ]
s: 36461692- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(WildcardBounds n)
Visits aWildcardBounds
node, whose child is the following :f0 -> . %0 #0 "extends" #1 ReferenceType()
.. .. | %1 #0 "super" #1 ReferenceType()
s: 122808000- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(PrimitiveType n)
Visits aPrimitiveType
node, whose child is the following :f0 -> . %0 "boolean"
.. .. | %1 "char"
.. .. | %2 "byte"
.. .. | %3 "short"
.. .. | %4 "int"
.. .. | %5 "long"
.. .. | %6 "float"
.. .. | %7 "double"
s: 427914477- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ResultType n)
Visits aResultType
node, whose child is the following :f0 -> ( %0 "void"
.. .. | %1 Type() )
s: 805291204- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(Name n)
Visits aName
node, whose children are the following :f0 -> JavaIdentifier()
f1 -> ( #0 "." #1 JavaIdentifier() )*
s: 565597065- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(NameList n)
Visits aNameList
node, whose children are the following :f0 -> Name()
f1 -> ( #0 "," #1 Name() )*
s: -1147957113- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(Expression n)
Visits aExpression
node, whose children are the following :f0 -> ConditionalExpression()
f1 -> [ #0 AssignmentOperator() #1 Expression() ]
s: -1186270200- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(AssignmentOperator n)
Visits aAssignmentOperator
node, whose child is the following :f0 -> . %00 "="
.. .. | %01 "*="
.. .. | %02 "/="
.. .. | %03 "%="
.. .. | %04 "+="
.. .. | %05 "-="
.. .. | %06 "<<="
.. .. | %07 ">>="
.. .. | %08 ">>>="
.. .. | %09 "&="
.. .. | %10 "^="
.. .. | %11 "|="
s: 21393769- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ConditionalExpression n)
Visits aConditionalExpression
node, whose children are the following :f0 -> ConditionalOrExpression()
f1 -> [ #0 "?" #1 Expression() #2 ":" #3 Expression() ]
s: -1150694214- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ConditionalOrExpression n)
Visits aConditionalOrExpression
node, whose children are the following :f0 -> ConditionalAndExpression()
f1 -> ( #0 "||" #1 ConditionalAndExpression() )*
s: -1592298777- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ConditionalAndExpression n)
Visits aConditionalAndExpression
node, whose children are the following :f0 -> InclusiveOrExpression()
f1 -> ( #0 "&&" #1 InclusiveOrExpression() )*
s: -1425815203- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(InclusiveOrExpression n)
Visits aInclusiveOrExpression
node, whose children are the following :f0 -> ExclusiveOrExpression()
f1 -> ( #0 "|" #1 ExclusiveOrExpression() )*
s: 963402497- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ExclusiveOrExpression n)
Visits aExclusiveOrExpression
node, whose children are the following :f0 -> AndExpression()
f1 -> ( #0 "^" #1 AndExpression() )*
s: -1241708769- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(AndExpression n)
Visits aAndExpression
node, whose children are the following :f0 -> EqualityExpression()
f1 -> ( #0 "&" #1 EqualityExpression() )*
s: -629554573- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(EqualityExpression n)
Visits aEqualityExpression
node, whose children are the following :f0 -> InstanceOfExpression()
f1 -> ( #0 ( %0 "=="
.. .. . .. | %1 "!=" )
.. .. . #1 InstanceOfExpression() )*
s: 1053085061- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(InstanceOfExpression n)
Visits aInstanceOfExpression
node, whose children are the following :f0 -> RelationalExpression()
f1 -> [ #0 "instanceof" #1 Type() ]
s: 933354553- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(RelationalExpression n)
Visits aRelationalExpression
node, whose children are the following :f0 -> ShiftExpression()
f1 -> ( #0 ( %0 "<"
.. .. . .. | %1 ">"
.. .. . .. | %2 "<="
.. .. . .. | %3 ">=" )
.. .. . #1 ShiftExpression() )*
s: 1473482530- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ShiftExpression n)
Visits aShiftExpression
node, whose children are the following :f0 -> AdditiveExpression()
f1 -> ( #0 ( %0 "<<"
.. .. . .. | %1 RUnsignedShift()
.. .. . .. | %2 RSignedShift() )
.. .. . #1 AdditiveExpression() )*
s: 1210478291- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(RSignedShift n)
Visits aRSignedShift
node, whose children are the following :f0 -> ">"
f1 -> ">"
s: 1560485759- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(RUnsignedShift n)
Visits aRUnsignedShift
node, whose children are the following :f0 -> ">"
f1 -> ">"
f2 -> ">"
s: -171434548- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(AdditiveExpression n)
Visits aAdditiveExpression
node, whose children are the following :f0 -> MultiplicativeExpression()
f1 -> ( #0 ( %0 "+"
.. .. . .. | %1 "-" )
.. .. . #1 MultiplicativeExpression() )*
s: -1807059397- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(MultiplicativeExpression n)
Visits aMultiplicativeExpression
node, whose children are the following :f0 -> UnaryExpression()
f1 -> ( #0 ( %0 "*"
.. .. . .. | %1 "/"
.. .. . .. | %2 "%" )
.. .. . #1 UnaryExpression() )*
s: 853643830- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(UnaryExpression n)
Visits aUnaryExpression
node, whose child is the following :f0 -> . %0 #0 ( &0 "+"
.. .. . .. .. | &1 "-" )
.. .. . .. #1 UnaryExpression()
.. .. | %1 PreIncrementExpression()
.. .. | %2 PreDecrementExpression()
.. .. | %3 UnaryExpressionNotPlusMinus()
s: 256050335- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(PreIncrementExpression n)
Visits aPreIncrementExpression
node, whose children are the following :f0 -> "++"
f1 -> PrimaryExpression()
s: 2138182184- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(PreDecrementExpression n)
Visits aPreDecrementExpression
node, whose children are the following :f0 -> "--"
f1 -> PrimaryExpression()
s: -743030168- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(UnaryExpressionNotPlusMinus n)
Visits aUnaryExpressionNotPlusMinus
node, whose child is the following :f0 -> . %0 #0 ( &0 "~"
.. .. . .. .. | &1 "!" )
.. .. . .. #1 UnaryExpression()
.. .. | %1 CastExpression()
.. .. | %2 PostfixExpression()
s: -323186655- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(CastLookahead n)
Visits aCastLookahead
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(PostfixExpression n)
Visits aPostfixExpression
node, whose children are the following :f0 -> PrimaryExpression()
f1 -> [ %0 "++"
.. .. | %1 "--" ]
s: -141317959- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(CastExpression n)
Visits aCastExpression
node, whose child is the following :f0 -> . %0 #0 "(" #1 Type() #2 ")" #3 UnaryExpression()
.. .. | %1 #0 "(" #1 Type() #2 ")" #3 UnaryExpressionNotPlusMinus()
s: -326666679- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(PrimaryExpression n)
Visits aPrimaryExpression
node, whose children are the following :f0 -> PrimaryPrefix()
f1 -> ( PrimarySuffix() )*
s: -840041189- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(MemberSelector n)
Visits aMemberSelector
node, whose children are the following :f0 -> "."
f1 -> TypeArguments()
f2 -> < IDENTIFIER >
s: 257570924- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(PrimaryPrefix n)
Visits aPrimaryPrefix
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(PrimarySuffix n)
Visits aPrimarySuffix
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(Literal n)
Visits aLiteral
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(IntegerLiteral n)
Visits aIntegerLiteral
node, whose child is the following :f0 -> < INTEGER_LITERAL >
s: -1048223857- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(BooleanLiteral n)
Visits aBooleanLiteral
node, whose child is the following :f0 -> . %0 "true"
.. .. | %1 "false"
s: -1365265107- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(StringLiteral n)
Visits aStringLiteral
node, whose child is the following :f0 -> < STRING_LITERAL >
s: 241433948- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(NullLiteral n)
Visits aNullLiteral
node, whose child is the following :f0 -> "null"
s: -1703344686- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(Arguments n)
Visits aArguments
node, whose children are the following :f0 -> "("
f1 -> [ ArgumentList() ]
f2 -> ")"
s: 2046130821- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ArgumentList n)
Visits aArgumentList
node, whose children are the following :f0 -> Expression()
f1 -> ( #0 "," #1 Expression() )*
s: -662366547- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(AllocationExpression n)
Visits aAllocationExpression
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ArrayDimsAndInits n)
Visits aArrayDimsAndInits
node, whose child is the following :f0 -> . %0 #0 ( $0 "[" $1 Expression() $2 "]" )+
.. .. . .. #1 ( $0 "[" $1 "]" )*
.. .. | %1 #0 ( $0 "[" $1 "]" )+
.. .. . .. #1 ArrayInitializer()
s: 184028601- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(Statement n)
Visits aStatement
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(AssertStatement n)
Visits aAssertStatement
node, whose children are the following :f0 -> "assert"
f1 -> Expression()
f2 -> [ #0 ":" #1 Expression() ]
f3 -> ";"
s: -579866328- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(LabeledStatement n)
Visits aLabeledStatement
node, whose children are the following :f0 -> < IDENTIFIER >
f1 -> ":"
f2 -> Statement()
s: -1956923191- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(Block n)
Visits aBlock
node, whose children are the following :f0 -> "{"
f1 -> ( BlockStatement() )*
f2 -> "}"
s: -47169424- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(BlockStatement n)
Visits aBlockStatement
node, whose child is the following :f0 -> . %0 #0 LocalVariableDeclaration() #1 ";"
.. .. | %1 Statement()
.. .. | %2 ClassOrInterfaceDeclaration()
s: -1009630136- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(LocalVariableDeclaration n)
Visits aLocalVariableDeclaration
node, whose children are the following :f0 -> VariableModifiers()
f1 -> Type()
f2 -> VariableDeclarator()
f3 -> ( #0 "," #1 VariableDeclarator() )*
s: 225808290- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(VariableModifiers n)
Visits aVariableModifiers
node, whose child is the following :f0 -> ( ( %0 "final"
.. .. . | %1 Annotation() ) )*
s: 2076055340- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(EmptyStatement n)
Visits aEmptyStatement
node, whose child is the following :f0 -> ";"
s: 2055660624- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(StatementExpression n)
Visits aStatementExpression
node, whose child is the following :f0 -> . %0 PreIncrementExpression()
.. .. | %1 PreDecrementExpression()
.. .. | %2 #0 PrimaryExpression()
.. .. . .. #1 [ &0 "++"
.. .. . .. .. | &1 "--"
.. .. . .. .. | &2 $0 AssignmentOperator() $1 Expression() ]
s: 757890000- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(SwitchStatement n)
Visits aSwitchStatement
node, whose children are the following :f0 -> "switch"
f1 -> "("
f2 -> Expression()
f3 -> ")"
f4 -> "{"
f5 -> ( #0 SwitchLabel()
.. .. . #1 ( BlockStatement() )* )*
f6 -> "}"
s: 645895087- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(SwitchLabel n)
Visits aSwitchLabel
node, whose child is the following :f0 -> . %0 #0 "case" #1 Expression() #2 ":"
.. .. | %1 #0 "default" #1 ":"
s: 63513165- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(IfStatement n)
Visits aIfStatement
node, whose children are the following :f0 -> "if"
f1 -> "("
f2 -> Expression()
f3 -> ")"
f4 -> Statement()
f5 -> [ #0 "else" #1 Statement() ]
s: -1906079982- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(WhileStatement n)
Visits aWhileStatement
node, whose children are the following :f0 -> "while"
f1 -> "("
f2 -> Expression()
f3 -> ")"
f4 -> Statement()
s: 503551312- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(DoStatement n)
Visits aDoStatement
node, whose children are the following :f0 -> "do"
f1 -> Statement()
f2 -> "while"
f3 -> "("
f4 -> Expression()
f5 -> ")"
f6 -> ";"
s: 1162769715- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ForStatement n)
Visits aForStatement
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ForInit n)
Visits aForInit
node, whose child is the following :f0 -> . %0 LocalVariableDeclaration()
.. .. | %1 StatementExpressionList()
s: 1128701780- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(StatementExpressionList n)
Visits aStatementExpressionList
node, whose children are the following :f0 -> StatementExpression()
f1 -> ( #0 "," #1 StatementExpression() )*
s: 186773841- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ForUpdate n)
Visits aForUpdate
node, whose child is the following :f0 -> StatementExpressionList()
s: -1489663891- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(BreakStatement n)
Visits aBreakStatement
node, whose children are the following :f0 -> "break"
f1 -> [ < IDENTIFIER > ]
f2 -> ";"
s: 2096828507- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ContinueStatement n)
Visits aContinueStatement
node, whose children are the following :f0 -> "continue"
f1 -> [ < IDENTIFIER > ]
f2 -> ";"
s: -1991535243- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ReturnStatement n)
Visits aReturnStatement
node, whose children are the following :f0 -> "return"
f1 -> [ Expression() ]
f2 -> ";"
s: -1971167888- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(ThrowStatement n)
Visits aThrowStatement
node, whose children are the following :f0 -> "throw"
f1 -> Expression()
f2 -> ";"
s: 568421270- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(SynchronizedStatement n)
Visits aSynchronizedStatement
node, whose children are the following :f0 -> "synchronized"
f1 -> "("
f2 -> Expression()
f3 -> ")"
f4 -> Block()
s: 2040551171- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(TryStatement n)
Visits aTryStatement
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(Annotation n)
Visits aAnnotation
node, whose child is the following :f0 -> . %0 NormalAnnotation()
.. .. | %1 SingleMemberAnnotation()
.. .. | %2 MarkerAnnotation()
s: 1542293240- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(NormalAnnotation n)
Visits aNormalAnnotation
node, whose children are the following :f0 -> "@"
f1 -> Name()
f2 -> "("
f3 -> [ MemberValuePairs() ]
f4 -> ")"
s: -50913587- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(MarkerAnnotation n)
Visits aMarkerAnnotation
node, whose children are the following :f0 -> "@"
f1 -> Name()
s: -11544239- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(SingleMemberAnnotation n)
Visits aSingleMemberAnnotation
node, whose children are the following :f0 -> "@"
f1 -> Name()
f2 -> "("
f3 -> MemberValue()
f4 -> ")"
s: -1771126382- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(MemberValuePairs n)
Visits aMemberValuePairs
node, whose children are the following :f0 -> MemberValuePair()
f1 -> ( #0 "," #1 MemberValuePair() )*
s: -113472239- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(MemberValuePair n)
Visits aMemberValuePair
node, whose children are the following :f0 -> < IDENTIFIER >
f1 -> "="
f2 -> MemberValue()
s: -476335468- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(MemberValue n)
Visits aMemberValue
node, whose child is the following :f0 -> . %0 Annotation()
.. .. | %1 MemberValueArrayInitializer()
.. .. | %2 ConditionalExpression()
s: -1120846693- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(MemberValueArrayInitializer n)
Visits aMemberValueArrayInitializer
node, whose children are the following :f0 -> "{"
f1 -> MemberValue()
f2 -> ( #0 "," #1 MemberValue() )*
f3 -> [ "," ]
f4 -> "}"
s: 111140055- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(AnnotationTypeDeclaration n)
Visits aAnnotationTypeDeclaration
node, whose children are the following :f0 -> "@"
f1 -> "interface"
f2 -> < IDENTIFIER >
f3 -> AnnotationTypeBody()
s: 383718196- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(AnnotationTypeBody n)
Visits aAnnotationTypeBody
node, whose children are the following :f0 -> "{"
f1 -> ( AnnotationTypeMemberDeclaration() )*
f2 -> "}"
s: -667465535- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(AnnotationTypeMemberDeclaration n)
Visits aAnnotationTypeMemberDeclaration
node, 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- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
visit
int visit(DefaultValue n)
Visits aDefaultValue
node, whose children are the following :f0 -> "default"
f1 -> MemberValue()
s: -1936312236- Parameters:
n
- - the node to visit- Returns:
- the user return information
-
-