public class ActorModelScope extends ModelScope
| Red (cshelton) |
| Red (cshelton) |
| Modifier and Type | Field and Description |
|---|---|
(package private) NamedObj |
_modelObject
The Ptolemy NamedObj that defined the expression parser model element
scope.
|
| Constructor and Description |
|---|
ActorModelScope(NamedObj modelObject)
Create a new ActorModelScope for the given Ptolemy NamedObj element.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
get(java.lang.String name)
Look up and return the value with the specified name in the
scope.
|
Type |
getType(java.lang.String name)
Look up and return the type of the value with the specified
name in the scope.
|
InequalityTerm |
getTypeTerm(java.lang.String name)
Look up and return the type term for the specified name
in the scope.
|
java.util.Set<java.lang.String> |
identifierSet()
Return a list of names corresponding to the identifiers
defined by this scope.
|
getAllScopedObjectNames, getAllScopedVariableNames, getScopedAttribute, getScopedObject, getScopedVariable, preferenceValueNamedObj _modelObject
public ActorModelScope(NamedObj modelObject)
modelObject - The Ptolemy NamedObj which defines the expression
parser model scope.public Token get(java.lang.String name) throws IllegalActionException
name - The name of the variable to be looked up.IllegalActionException - If a value in the scope
exists with the given name, but cannot be evaluated.public Type getType(java.lang.String name) throws IllegalActionException
name - The name of the variable to be looked up.IllegalActionException - If a value in the scope
exists with the given name, but cannot be evaluated.public InequalityTerm getTypeTerm(java.lang.String name) throws IllegalActionException
name - The name of the variable to be looked up.IllegalActionException - If a value in the scope
exists with the given name, but cannot be evaluated.public java.util.Set<java.lang.String> identifierSet()
throws IllegalActionException
IllegalActionException - If constructing the list causes
it.