Package | Description |
---|---|
parsii.eval |
Modifier and Type | Method and Description |
---|---|
Variable |
Scope.create(String name)
Searches or creates a variable in this scope.
|
Variable |
Scope.find(String name)
Searches for a
Variable with the given name. |
Variable |
Scope.getVariable(String name)
Searches for or creates a variable with the given name.
|
Variable |
Scope.remove(String name)
Removes the variable with the given name from this scope.
|
Variable |
Variable.withValue(double value)
Sets the value and returns this.
|
Modifier and Type | Method and Description |
---|---|
Collection<Variable> |
Scope.getLocalVariables()
Returns all variables known to this scope (ignoring those of the parent scope).
|
Collection<Variable> |
Scope.getVariables()
Returns all variables known to this scope or one of its parent scopes.
|
Constructor and Description |
---|
VariableReference(Variable var)
Creates a new reference to the given variable.
|
Copyright © 2020. All rights reserved.