|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.data.expr.ModelScope
An abstract class that is useful for implementing expression language scopes for Ptolemy models.
PtParser
| Red (liuxj) |
| Red (liuxj) |
| Constructor Summary | |
ModelScope()
|
|
| Method Summary | |
static java.util.Set |
getAllScopedVariableNames(Variable exclude,
NamedObj container)
Return a list of variable names in scope for variables in the given container. |
static Variable |
getScopedVariable(Variable exclude,
NamedObj container,
java.lang.String name)
Get the variable with the given name in the scope of the given container. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ptolemy.data.expr.ParserScope |
get, getType, getTypeTerm, identifierSet |
| Constructor Detail |
public ModelScope()
| Method Detail |
public static java.util.Set getAllScopedVariableNames(Variable exclude,
NamedObj container)
public static Variable getScopedVariable(Variable exclude,
NamedObj container,
java.lang.String name)
exclude - A variable to exclude from the search.container - The container to search upwards from.name - The variable name to search for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||