Class AstTranslator.AbstractScope
java.lang.Object
com.ibm.wala.cast.ir.translator.AstTranslator.AbstractScope
- All Implemented Interfaces:
AstTranslator.Scope
- Enclosing class:
AstTranslator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanvoidvoiddeclare(CAstSymbol s, int vn) getConstantObject(int valueNumber) intabstract CAstEntityprotected abstract AstTranslator.AbstractScopeprotected abstract SymbolTablebooleanbooleanisConstant(int valueNumber) booleanabstract booleanprotected AstTranslator.Symbolprotected AstTranslator.SymbolmakeSymbol(CAstSymbol s, int vn) protected abstract AstTranslator.SymbolmakeSymbol(String nm, CAstType type, boolean isFinal, boolean isInternalName, Object defaultInitValue, int vn, AstTranslator.Scope parent) intsize()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AstTranslator.Scope
type
-
Constructor Details
-
AbstractScope
-
-
Method Details
-
getUnderlyingSymtab
-
getParent
- Specified by:
getParentin interfaceAstTranslator.Scope
-
size
public int size()- Specified by:
sizein interfaceAstTranslator.Scope
-
getAllNames
- Specified by:
getAllNamesin interfaceAstTranslator.Scope
-
allocateTempValue
public int allocateTempValue()- Specified by:
allocateTempValuein interfaceAstTranslator.Scope
-
getConstantValue
- Specified by:
getConstantValuein interfaceAstTranslator.Scope
-
isConstant
public boolean isConstant(int valueNumber) - Specified by:
isConstantin interfaceAstTranslator.Scope
-
getConstantObject
- Specified by:
getConstantObjectin interfaceAstTranslator.Scope
-
declare
- Specified by:
declarein interfaceAstTranslator.Scope
-
declare
- Specified by:
declarein 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:
isCaseInsensitivein interfaceAstTranslator.Scope
-
lookup
- Specified by:
lookupin interfaceAstTranslator.Scope
-
contains
- Specified by:
containsin interfaceAstTranslator.Scope
-
isGlobal
- Specified by:
isGlobalin interfaceAstTranslator.Scope
-
isLexicallyScoped
- Specified by:
isLexicallyScopedin interfaceAstTranslator.Scope
-
getEntityScope
-
getEntity
- Specified by:
getEntityin interfaceAstTranslator.Scope
-