Appearance
ParsedExpression Class
Definition
A parsed expression that can be evaluated repeatedly without re-tokenizing or re-parsing.
- Namespace:
JASE.Expressions.Models - Assembly:
JASE.Expressions.dll
Properties
| Name | Description |
|---|---|
ContainsDivision | Gets a value indicating whether the expression contains integer division semantics. |
ExpressionHash | Gets the hash used to cache this expression. |
ExpressionText | Gets the original expression text. |
IsCompiled | Gets a value indicating whether this expression has been compiled to IL. |
Root | Gets the parsed syntax tree root. |
Methods
| Name | Description |
|---|---|
CompiledExpression Compile(ExpressionEvaluator evaluator) | Compiles the expression to IL for faster repeated evaluation. |
T Evaluate(ExpressionEvaluator evaluator) | Evaluates the parsed expression and converts the result to T. |
object Evaluate(ExpressionEvaluator evaluator) | Evaluates the parsed expression using the supplied evaluator instance. |