com.jstatcom.model
Class Scope
- java.lang.Object
-
- com.jstatcom.model.Scope
-
public abstract class Scope extends java.lang.ObjectThis typesave enumeration contains all existingScopetypes. It can be used to set the scope that certain components should use to retrieve symbols from.
-
-
Field Summary
Fields Modifier and Type Field and Description static ScopeGLOBALThe local symbol scope.static ScopeLOCALThe local symbol scope.static ScopeUPPERThe local symbol scope.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description abstract SymbolTablegetSymbolTable(java.awt.Component comp)Gets the symbol table according to this scope from the component hierarchy.java.lang.StringtoString()Gets string representation of this object.
-
-
-
Field Detail
-
GLOBAL
public static final Scope GLOBAL
The local symbol scope.
-
UPPER
public static final Scope UPPER
The local symbol scope.
-
LOCAL
public static final Scope LOCAL
The local symbol scope.
-
-
Method Detail
-
getSymbolTable
public abstract SymbolTable getSymbolTable(java.awt.Component comp)
Gets the symbol table according to this scope from the component hierarchy. The method returnsnullof there is no parentSymbolScope.- Parameters:
comp- the component to start searching from- Returns:
- the symbol table or
null
-
toString
public final java.lang.String toString()
Gets string representation of this object.- Overrides:
toStringin classjava.lang.Object- Returns:
- a string
-
-
DMelt 3.0 © DataMelt by jWork.ORG