Package | Description |
---|---|
ptolemy.data.expr |
The Ptolemy II Expression Language.
|
ptolemy.domains.modal.kernel |
The ptolemy.domains.modal.kernel package.
|
Modifier and Type | Class and Description |
---|---|
class |
ExplicitScope
An implementation of ParserScope that includes an explicit list of
Variables in the scope.
|
class |
ModelScope
An abstract class that is useful for implementing expression language
scopes for Ptolemy models.
|
class |
NamedConstantsScope
An implementation of ParserScope that contains a map from names to value
tokens.
|
class |
NestedScope
An implementation of ParserScope that consists of a list of nested scopes.
|
protected class |
Variable.VariableScope
Scope implementation with local caching.
|
Modifier and Type | Field and Description |
---|---|
protected ParserScope |
Variable._parserScope
The instance of VariableScope.
|
protected ParserScope |
ParseTreeTypeInference._scope |
protected ParserScope |
ParseTreeFreeVariableRenamer._scope
The scope.
|
protected ParserScope |
ParseTreeFreeVariableCollector._scope |
protected ParserScope |
ParseTreeSpecializer._scope |
Modifier and Type | Method and Description |
---|---|
ParserScope |
Variable.getParserScope()
Return the parser scope for this variable.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set |
ParseTreeFreeVariableCollector.collectFreeVariables(ASTPtRootNode node,
ParserScope scope) |
static Token |
MatlabUtilities.evaluate(java.lang.String expression,
java.util.Set variableNames,
ParserScope scope)
Evaluate a Matlab expression within a scope.
|
Token |
ParseTreeEvaluator.evaluateParseTree(ASTPtRootNode node,
ParserScope scope)
Evaluate the parse tree with the specified root node using
the specified scope to resolve the values of variables.
|
Type |
ParseTreeTypeInference.inferTypes(ASTPtRootNode node,
ParserScope scope)
Infer the type of the parse tree with the specified root node using
the specified scope to resolve the values of variables.
|
ASTPtRootNode |
ParseTreeSpecializer.specialize(ASTPtRootNode node,
java.util.List excludedNames,
ParserScope scope)
Return a new parse tree resulting from the specialization of
the given parse tree.
|
java.lang.String |
ParseTreeEvaluator.traceParseTreeEvaluation(ASTPtRootNode node,
ParserScope scope)
Trace the evaluation of the parse tree with the specified root
node using the specified scope to resolve the values of
variables.
|
Modifier and Type | Class and Description |
---|---|
class |
FSMActor.PortScope
This class implements a scope, which is used to evaluate the
parsed expressions.
|
Modifier and Type | Method and Description |
---|---|
protected ParserScope |
AbstractActionsAttribute._getParserScope()
Return a parser scope used to evaluate or type-check this action.
|
ParserScope |
FSMActor.getPortScope()
Return a scope object that has current values from input ports
of this FSMActor in scope.
|
Modifier and Type | Method and Description |
---|---|
Token |
ParseTreeEvaluatorForGuardExpression.evaluateParseTree(ASTPtRootNode node,
ParserScope scope)
Evaluate the parse tree with the specified root node using
the specified scope to resolve the values of variables.
|
boolean |
Transition.isEnabled(ParserScope scope)
Return true if the transition is enabled, that is the guard is true,
and false if the guard evaluates to false.
|