Class JSMethodInstructionVisitor
java.lang.Object
com.ibm.wala.ssa.SSAInstruction.Visitor
com.ibm.wala.cast.ir.ssa.AstAbstractInstructionVisitor
com.ibm.wala.cast.js.ssa.JSAbstractInstructionVisitor
com.ibm.wala.cast.js.callgraph.fieldbased.JSMethodInstructionVisitor
- All Implemented Interfaces:
AstInstructionVisitor
,JSInstructionVisitor
,SSAInstruction.IVisitor
A
JSAbstractInstructionVisitor
that is used to only visit instructions of a single
method.- Author:
- mschaefer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Determine whetherinvk
corresponds to a function declaration or function expression.Methods inherited from class com.ibm.wala.cast.js.ssa.JSAbstractInstructionVisitor
visitCheckRef, visitJavaScriptInstanceOf, visitJavaScriptInvoke, visitPropertyRead, visitPropertyWrite, visitPrototypeLookup, visitSetPrototype, visitTypeOf, visitWithRegion
Methods inherited from class com.ibm.wala.cast.ir.ssa.AstAbstractInstructionVisitor
visitAssert, visitAstGlobalRead, visitAstGlobalWrite, visitAstLexicalRead, visitAstLexicalWrite, visitEachElementGet, visitEachElementHasNext, visitEcho, visitIsDefined
Methods inherited from class com.ibm.wala.ssa.SSAInstruction.Visitor
visitArrayLength, visitArrayLoad, visitArrayStore, visitBinaryOp, visitCheckCast, visitComparison, visitConditionalBranch, visitConversion, visitGet, visitGetCaughtException, visitGoto, visitInstanceof, visitInvoke, visitLoadMetadata, visitMonitor, visitNew, visitPhi, visitPi, visitPut, visitReturn, visitSwitch, visitThrow, visitUnaryOp
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.ibm.wala.cast.ir.ssa.AstInstructionVisitor
visitAssert, visitAstGlobalRead, visitAstGlobalWrite, visitAstLexicalRead, visitAstLexicalWrite, visitEachElementGet, visitEachElementHasNext, visitEcho, visitIsDefined, visitYield
Methods inherited from interface com.ibm.wala.ssa.SSAInstruction.IVisitor
visitArrayLength, visitArrayLoad, visitArrayStore, visitBinaryOp, visitCheckCast, visitComparison, visitConditionalBranch, visitConversion, visitGet, visitGetCaughtException, visitGoto, visitInstanceof, visitInvoke, visitLoadMetadata, visitMonitor, visitNew, visitPhi, visitPi, visitPut, visitReturn, visitSwitch, visitThrow, visitUnaryOp
-
Field Details
-
method
-
symtab
-
du
-
-
Constructor Details
-
JSMethodInstructionVisitor
-
-
Method Details
-
isFunctionConstructorInvoke
Determine whetherinvk
corresponds to a function declaration or function expression.TODO: A bit hackish. Is there a more principled way to do this?
-