Class AstTranslator.AbstractScope
java.lang.Object
com.ibm.wala.cast.ir.translator.AstTranslator.AbstractScope
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
void
void
declare
(CAstSymbol s, int vn) getConstantObject
(int valueNumber) int
abstract CAstEntity
protected abstract AstTranslator.AbstractScope
protected abstract SymbolTable
boolean
boolean
isConstant
(int valueNumber) boolean
abstract boolean
protected AstTranslator.Symbol
protected AstTranslator.Symbol
makeSymbol
(CAstSymbol s, int vn) protected abstract AstTranslator.Symbol
makeSymbol
(String nm, CAstType type, boolean isFinal, boolean isInternalName, Object defaultInitValue, int vn, AstTranslator.Scope parent) int
size()
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.translator.AstTranslator.Scope
type
-
Constructor Details
-
AbstractScope
-
-
Method Details
-
getUnderlyingSymtab
-
getParent
- Specified by:
getParent
in interfaceAstTranslator.Scope
-
size
public int size()- Specified by:
size
in interfaceAstTranslator.Scope
-
getAllNames
- Specified by:
getAllNames
in interfaceAstTranslator.Scope
-
allocateTempValue
public int allocateTempValue()- Specified by:
allocateTempValue
in interfaceAstTranslator.Scope
-
getConstantValue
- Specified by:
getConstantValue
in interfaceAstTranslator.Scope
-
isConstant
public boolean isConstant(int valueNumber) - Specified by:
isConstant
in interfaceAstTranslator.Scope
-
getConstantObject
- Specified by:
getConstantObject
in interfaceAstTranslator.Scope
-
declare
- Specified by:
declare
in interfaceAstTranslator.Scope
-
declare
- Specified by:
declare
in interfaceAstTranslator.Scope
-
makeSymbol
-
makeSymbol
-
makeSymbol
protected abstract AstTranslator.Symbol makeSymbol(String nm, CAstType type, boolean isFinal, boolean isInternalName, Object defaultInitValue, int vn, AstTranslator.Scope parent) -
isCaseInsensitive
- Specified by:
isCaseInsensitive
in interfaceAstTranslator.Scope
-
lookup
- Specified by:
lookup
in interfaceAstTranslator.Scope
-
contains
- Specified by:
contains
in interfaceAstTranslator.Scope
-
isGlobal
- Specified by:
isGlobal
in interfaceAstTranslator.Scope
-
isLexicallyScoped
- Specified by:
isLexicallyScoped
in interfaceAstTranslator.Scope
-
getEntityScope
-
getEntity
- Specified by:
getEntity
in interfaceAstTranslator.Scope
-