public class LiveVarTransfer extends AbstractNodeVisitor<TransferResult<LiveVarValue,LiveVarStore>,TransferInput<LiveVarValue,LiveVarStore>> implements BackwardTransferFunction<LiveVarValue,LiveVarStore>
Constructor and Description |
---|
LiveVarTransfer() |
visitArrayAccess, visitArrayCreation, visitArrayType, visitAssertionError, visitBitwiseAnd, visitBitwiseComplement, visitBitwiseOr, visitBitwiseXor, visitBooleanLiteral, visitCase, visitCharacterLiteral, visitClassDeclaration, visitClassName, visitConditionalAnd, visitConditionalNot, visitConditionalOr, visitDoubleLiteral, visitEqualTo, visitExplicitThis, visitFieldAccess, visitFloatingDivision, visitFloatingRemainder, visitFloatLiteral, visitGreaterThan, visitGreaterThanOrEqual, visitImplicitThis, visitInstanceOf, visitIntegerDivision, visitIntegerLiteral, visitIntegerRemainder, visitLambdaResultExpression, visitLeftShift, visitLessThan, visitLessThanOrEqual, visitLocalVariable, visitLongLiteral, visitMarker, visitMemberReference, visitMethodAccess, visitNarrowingConversion, visitNotEqual, visitNullChk, visitNullLiteral, visitNumericalAddition, visitNumericalMinus, visitNumericalMultiplication, visitNumericalPlus, visitNumericalSubtraction, visitPackageName, visitParameterizedType, visitPrimitiveType, visitShortLiteral, visitSignedRightShift, visitStringConcatenate, visitStringConversion, visitStringLiteral, visitSuper, visitSwitchExpressionNode, visitSynchronized, visitTernaryExpression, visitThis, visitThrow, visitTypeCast, visitUnsignedRightShift, visitValueLiteral, visitVariableDeclaration, visitWideningConversion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitArrayAccess, visitArrayCreation, visitArrayType, visitAssertionError, visitBitwiseAnd, visitBitwiseComplement, visitBitwiseOr, visitBitwiseXor, visitBooleanLiteral, visitCase, visitCharacterLiteral, visitClassDeclaration, visitClassName, visitConditionalAnd, visitConditionalNot, visitConditionalOr, visitDoubleLiteral, visitEqualTo, visitExplicitThis, visitFieldAccess, visitFloatingDivision, visitFloatingRemainder, visitFloatLiteral, visitGreaterThan, visitGreaterThanOrEqual, visitImplicitThis, visitInstanceOf, visitIntegerDivision, visitIntegerLiteral, visitIntegerRemainder, visitLambdaResultExpression, visitLeftShift, visitLessThan, visitLessThanOrEqual, visitLocalVariable, visitLongLiteral, visitMarker, visitMemberReference, visitMethodAccess, visitNarrowingConversion, visitNotEqual, visitNullChk, visitNullLiteral, visitNumericalAddition, visitNumericalMinus, visitNumericalMultiplication, visitNumericalPlus, visitNumericalSubtraction, visitPackageName, visitParameterizedType, visitPrimitiveType, visitShortLiteral, visitSignedRightShift, visitStringConcatenate, visitStringConversion, visitStringLiteral, visitSuper, visitSwitchExpressionNode, visitSynchronized, visitTernaryExpression, visitThrow, visitTypeCast, visitUnsignedRightShift, visitVariableDeclaration, visitWideningConversion
public LiveVarStore initialNormalExitStore(UnderlyingAST underlyingAST, List<ReturnNode> returnNodes)
BackwardTransferFunction
initialNormalExitStore
in interface BackwardTransferFunction<LiveVarValue,LiveVarStore>
underlyingAST
- the underlying AST of the given control flow graphreturnNodes
- the return nodes of the given control flow graph (an empty list if the
underlying AST is not a method)public LiveVarStore initialExceptionalExitStore(UnderlyingAST underlyingAST)
BackwardTransferFunction
initialExceptionalExitStore
in interface BackwardTransferFunction<LiveVarValue,LiveVarStore>
underlyingAST
- the underlying AST of the given control flow graphpublic RegularTransferResult<LiveVarValue,LiveVarStore> visitNode(Node n, TransferInput<LiveVarValue,LiveVarStore> p)
visitNode
in class AbstractNodeVisitor<TransferResult<LiveVarValue,LiveVarStore>,TransferInput<LiveVarValue,LiveVarStore>>
public RegularTransferResult<LiveVarValue,LiveVarStore> visitAssignment(AssignmentNode n, TransferInput<LiveVarValue,LiveVarStore> p)
visitAssignment
in interface NodeVisitor<TransferResult<LiveVarValue,LiveVarStore>,TransferInput<LiveVarValue,LiveVarStore>>
visitAssignment
in class AbstractNodeVisitor<TransferResult<LiveVarValue,LiveVarStore>,TransferInput<LiveVarValue,LiveVarStore>>
public RegularTransferResult<LiveVarValue,LiveVarStore> visitStringConcatenateAssignment(StringConcatenateAssignmentNode n, TransferInput<LiveVarValue,LiveVarStore> p)
visitStringConcatenateAssignment
in interface NodeVisitor<TransferResult<LiveVarValue,LiveVarStore>,TransferInput<LiveVarValue,LiveVarStore>>
visitStringConcatenateAssignment
in class AbstractNodeVisitor<TransferResult<LiveVarValue,LiveVarStore>,TransferInput<LiveVarValue,LiveVarStore>>
public RegularTransferResult<LiveVarValue,LiveVarStore> visitMethodInvocation(MethodInvocationNode n, TransferInput<LiveVarValue,LiveVarStore> p)
visitMethodInvocation
in interface NodeVisitor<TransferResult<LiveVarValue,LiveVarStore>,TransferInput<LiveVarValue,LiveVarStore>>
visitMethodInvocation
in class AbstractNodeVisitor<TransferResult<LiveVarValue,LiveVarStore>,TransferInput<LiveVarValue,LiveVarStore>>
public RegularTransferResult<LiveVarValue,LiveVarStore> visitObjectCreation(ObjectCreationNode n, TransferInput<LiveVarValue,LiveVarStore> p)
visitObjectCreation
in interface NodeVisitor<TransferResult<LiveVarValue,LiveVarStore>,TransferInput<LiveVarValue,LiveVarStore>>
visitObjectCreation
in class AbstractNodeVisitor<TransferResult<LiveVarValue,LiveVarStore>,TransferInput<LiveVarValue,LiveVarStore>>
public RegularTransferResult<LiveVarValue,LiveVarStore> visitReturn(ReturnNode n, TransferInput<LiveVarValue,LiveVarStore> p)
visitReturn
in interface NodeVisitor<TransferResult<LiveVarValue,LiveVarStore>,TransferInput<LiveVarValue,LiveVarStore>>
visitReturn
in class AbstractNodeVisitor<TransferResult<LiveVarValue,LiveVarStore>,TransferInput<LiveVarValue,LiveVarStore>>