public interface Expression
| Modifier and Type | Method and Description |
|---|---|
Expression |
eval(Scope scope,
Generator gen)
If possible the expression is evaluated and a simplified expression is returned.
|
boolean |
isConstant()
Determines if this expression is constant or if it depends on variables.
|
boolean isConstant()
Expression eval(Scope scope, Generator gen)
scope - the scope used to resolve variables.gen - the generator used to evaluate functionsCopyright © 2016. All rights reserved.