public static interface AstMethod.LexicalInformation
| Modifier and Type | Method and Description |
|---|---|
com.ibm.wala.util.intset.IntSet |
getAllExposedUses()
return all value numbers appearing as entries in either
getExposedUses(int) or
getExitExposedUses() |
int[] |
getExitExposedUses()
maps each exposed name (via its index in
getExposedNames()) to its value number at
method exit. |
com.ibm.wala.util.collections.Pair<java.lang.String,java.lang.String>[] |
getExposedNames()
names possibly accessed in a nested lexical scope, represented as pairs
(name,nameOfDefiningEntity)
|
int[] |
getExposedUses(int instructionOffset)
get a map from exposed name (via its index in
getExposedNames()) to its value number
at the instruction at offset instructionOffset. |
java.lang.String |
getScopingName()
get the name of this entity, as it appears in the definer portion of a lexical name
|
java.lang.String[] |
getScopingParents()
return the names of the enclosing methods declaring names that are lexically accessed by the
entity
|
boolean |
isReadOnly(java.lang.String name)
returns true if name may be read in nested lexical scopes but cannot be written
|
com.ibm.wala.util.collections.Pair<java.lang.String,java.lang.String>[] getExposedNames()
int[] getExitExposedUses()
getExposedNames()) to its value number at
method exit.int[] getExposedUses(int instructionOffset)
getExposedNames()) to its value number
at the instruction at offset instructionOffset.com.ibm.wala.util.intset.IntSet getAllExposedUses()
getExposedUses(int) or
getExitExposedUses()java.lang.String[] getScopingParents()
boolean isReadOnly(java.lang.String name)
java.lang.String getScopingName()