Class AstLexicalAccess
java.lang.Object
com.ibm.wala.ssa.SSAInstruction
com.ibm.wala.cast.ir.ssa.AstLexicalAccess
- Direct Known Subclasses:
AstLexicalRead
,AstLexicalWrite
This abstract class provides helper functionality for recording lexical uses and/or definitions.
It is used in lexical read and write instructions
- Author:
- Julian Dolby (dolby@us.ibm.com)
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.wala.ssa.SSAInstruction
SSAInstruction.IVisitor, SSAInstruction.Visitor
-
Field Summary
Fields inherited from class com.ibm.wala.ssa.SSAInstruction
NO_INDEX
-
Method Summary
Modifier and TypeMethodDescriptiongetAccess
(int i) int
This method should never return null.int
hashCode()
boolean
void
setAccesses
(AstLexicalAccess.Access[] accesses) Methods inherited from class com.ibm.wala.ssa.SSAInstruction
copyForSSA, equals, getDef, getDef, getNumberOfDefs, getNumberOfUses, getUse, getValueString, hasDef, iIndex, isPEI, setInstructionIndex, toString, toString, visit
-
Method Details
-
setAccesses
-
getAccesses
-
getAccess
-
getAccessCount
public int getAccessCount() -
isFallThrough
public boolean isFallThrough()- Specified by:
isFallThrough
in classSSAInstruction
- Returns:
- true iff this instruction may fall through to the next
-
getExceptionTypes
Description copied from class:SSAInstruction
This method should never return null.- Overrides:
getExceptionTypes
in classSSAInstruction
- Returns:
- the set of exception types that an instruction might throw ... disregarding athrows and invokes.
-
hashCode
public int hashCode()- Specified by:
hashCode
in classSSAInstruction
-