Interface NodeVisitor<R,P>
-
- Type Parameters:
R- return type of the visitor. UseVoidif the visitor does not have a return value.P- parameter type of the visitor. UseVoidif the visitor does not have a parameter.
- All Known Subinterfaces:
BackwardTransferFunction<V,S>,ForwardTransferFunction<V,S>,TransferFunction<V,S>
- All Known Implementing Classes:
AbstractNodeVisitor,AccumulationTransfer,AliasingTransfer,BusyExprTransfer,CalledMethodsTransfer,CFAbstractTransfer,CFTransfer,ConstantPropagationTransfer,FormatterTransfer,I18nFormatterTransfer,IndexAbstractTransfer,InitializationTransfer,InitializedFieldsTransfer,KeyForTransfer,LessThanTransfer,LiveVarTransfer,LockTransfer,LowerBoundTransfer,MustCallTransfer,NullnessNoInitTransfer,ReachingDefinitionTransfer,RegexTransfer,ResourceLeakTransfer,SameLenTransfer,SearchIndexTransfer,SignatureTransfer,UpperBoundTransfer,ValueTransfer
public interface NodeVisitor<R,P>A visitor for aNodetree.
-
-
Method Summary
-
-
-
Method Detail
-
visitShortLiteral
R visitShortLiteral(ShortLiteralNode n, P p)
-
visitIntegerLiteral
R visitIntegerLiteral(IntegerLiteralNode n, P p)
-
visitLongLiteral
R visitLongLiteral(LongLiteralNode n, P p)
-
visitFloatLiteral
R visitFloatLiteral(FloatLiteralNode n, P p)
-
visitDoubleLiteral
R visitDoubleLiteral(DoubleLiteralNode n, P p)
-
visitBooleanLiteral
R visitBooleanLiteral(BooleanLiteralNode n, P p)
-
visitCharacterLiteral
R visitCharacterLiteral(CharacterLiteralNode n, P p)
-
visitStringLiteral
R visitStringLiteral(StringLiteralNode n, P p)
-
visitNullLiteral
R visitNullLiteral(NullLiteralNode n, P p)
-
visitNumericalMinus
R visitNumericalMinus(NumericalMinusNode n, P p)
-
visitNumericalPlus
R visitNumericalPlus(NumericalPlusNode n, P p)
-
visitBitwiseComplement
R visitBitwiseComplement(BitwiseComplementNode n, P p)
-
visitNullChk
R visitNullChk(NullChkNode n, P p)
-
visitStringConcatenate
R visitStringConcatenate(StringConcatenateNode n, P p)
-
visitNumericalAddition
R visitNumericalAddition(NumericalAdditionNode n, P p)
-
visitNumericalSubtraction
R visitNumericalSubtraction(NumericalSubtractionNode n, P p)
-
visitNumericalMultiplication
R visitNumericalMultiplication(NumericalMultiplicationNode n, P p)
-
visitIntegerDivision
R visitIntegerDivision(IntegerDivisionNode n, P p)
-
visitFloatingDivision
R visitFloatingDivision(FloatingDivisionNode n, P p)
-
visitIntegerRemainder
R visitIntegerRemainder(IntegerRemainderNode n, P p)
-
visitFloatingRemainder
R visitFloatingRemainder(FloatingRemainderNode n, P p)
-
visitLeftShift
R visitLeftShift(LeftShiftNode n, P p)
-
visitSignedRightShift
R visitSignedRightShift(SignedRightShiftNode n, P p)
-
visitUnsignedRightShift
R visitUnsignedRightShift(UnsignedRightShiftNode n, P p)
-
visitBitwiseAnd
R visitBitwiseAnd(BitwiseAndNode n, P p)
-
visitBitwiseOr
R visitBitwiseOr(BitwiseOrNode n, P p)
-
visitBitwiseXor
R visitBitwiseXor(BitwiseXorNode n, P p)
-
visitLessThan
R visitLessThan(LessThanNode n, P p)
-
visitLessThanOrEqual
R visitLessThanOrEqual(LessThanOrEqualNode n, P p)
-
visitGreaterThan
R visitGreaterThan(GreaterThanNode n, P p)
-
visitGreaterThanOrEqual
R visitGreaterThanOrEqual(GreaterThanOrEqualNode n, P p)
-
visitEqualTo
R visitEqualTo(EqualToNode n, P p)
-
visitNotEqual
R visitNotEqual(NotEqualNode n, P p)
-
visitConditionalAnd
R visitConditionalAnd(ConditionalAndNode n, P p)
-
visitConditionalOr
R visitConditionalOr(ConditionalOrNode n, P p)
-
visitConditionalNot
R visitConditionalNot(ConditionalNotNode n, P p)
-
visitTernaryExpression
R visitTernaryExpression(TernaryExpressionNode n, P p)
-
visitSwitchExpressionNode
R visitSwitchExpressionNode(SwitchExpressionNode n, P p)
-
visitAssignment
R visitAssignment(AssignmentNode n, P p)
-
visitLocalVariable
R visitLocalVariable(LocalVariableNode n, P p)
-
visitVariableDeclaration
R visitVariableDeclaration(VariableDeclarationNode n, P p)
-
visitFieldAccess
R visitFieldAccess(FieldAccessNode n, P p)
-
visitMethodAccess
R visitMethodAccess(MethodAccessNode n, P p)
-
visitArrayAccess
R visitArrayAccess(ArrayAccessNode n, P p)
-
visitImplicitThis
R visitImplicitThis(ImplicitThisNode n, P p)
-
visitExplicitThis
R visitExplicitThis(ExplicitThisNode n, P p)
-
visitReturn
R visitReturn(ReturnNode n, P p)
-
visitLambdaResultExpression
R visitLambdaResultExpression(LambdaResultExpressionNode n, P p)
-
visitStringConversion
R visitStringConversion(StringConversionNode n, P p)
-
visitWideningConversion
R visitWideningConversion(WideningConversionNode n, P p)
-
visitNarrowingConversion
R visitNarrowingConversion(NarrowingConversionNode n, P p)
-
visitInstanceOf
R visitInstanceOf(InstanceOfNode n, P p)
-
visitTypeCast
R visitTypeCast(TypeCastNode n, P p)
-
visitSynchronized
R visitSynchronized(SynchronizedNode n, P p)
-
visitAssertionError
R visitAssertionError(AssertionErrorNode n, P p)
-
visitMethodInvocation
R visitMethodInvocation(MethodInvocationNode n, P p)
-
visitObjectCreation
R visitObjectCreation(ObjectCreationNode n, P p)
-
visitMemberReference
R visitMemberReference(FunctionalInterfaceNode n, P p)
-
visitArrayCreation
R visitArrayCreation(ArrayCreationNode n, P p)
-
visitArrayType
R visitArrayType(ArrayTypeNode n, P p)
-
visitPrimitiveType
R visitPrimitiveType(PrimitiveTypeNode n, P p)
-
visitClassName
R visitClassName(ClassNameNode n, P p)
-
visitPackageName
R visitPackageName(PackageNameNode n, P p)
-
visitParameterizedType
R visitParameterizedType(ParameterizedTypeNode n, P p)
-
visitMarker
R visitMarker(MarkerNode n, P p)
-
visitClassDeclaration
R visitClassDeclaration(ClassDeclarationNode classDeclarationNode, P p)
Visits an anonymous/inner/nested class declaration within a method.- Parameters:
classDeclarationNode- theClassDeclarationNodeto be visitedp- the argument for the operation implemented by this visitor- Returns:
- the return value of the operation implemented by this visitor
-
visitExpressionStatement
R visitExpressionStatement(ExpressionStatementNode n, P p)
Visits an expression that is used as a statement. This node is a marker after the expression node(s).- Parameters:
n- theExpressionStatementNodeto be visitedp- the argument for the operation implemented by this visitor- Returns:
- the return value of the operation implemented by this visitor
-
visitDeconstructorPattern
R visitDeconstructorPattern(DeconstructorPatternNode n, P p)
Visits a deconstructor pattern node.- Parameters:
n- theDeconstructorPatternNodeto be visitedp- the argument for the operation implemented by this visitor- Returns:
- the return value of the operation implemented by this visitor
-
-