|
class | Nominator |
| Performs bottom-up analysis to determine which nodes can possibly be part of an evaluated sub-tree. More...
|
|
class | SubtreeEvaluator |
| Evaluates & replaces sub-trees when first candidate is reached (top-down) More...
|
|
|
static Expression | PartialEval (Expression expression, Func< Expression, bool > fnCanBeEvaluated) |
| Performs evaluation & replacement of independent sub-trees More...
|
|
static Expression | PartialEval (Expression expression) |
| Performs evaluation & replacement of independent sub-trees More...
|
|
Definition at line 22 of file Evaluator.cs.
static bool Deveel.Data.Linq.Evaluator.CanBeEvaluatedLocally |
( |
Expression |
expression | ) |
|
|
inlinestaticprivate |
Definition at line 42 of file Evaluator.cs.
43 return expression.NodeType != ExpressionType.Parameter;
static Expression Deveel.Data.Linq.Evaluator.PartialEval |
( |
Expression |
expression, |
|
|
Func< Expression, bool > |
fnCanBeEvaluated |
|
) |
| |
|
inlinestatic |
Performs evaluation & replacement of independent sub-trees
- Parameters
-
expression | The root of the expression tree. |
fnCanBeEvaluated | A function that decides whether a given expression node can be part of the local function. |
- Returns
- A new tree with sub-trees evaluated and replaced.
Definition at line 29 of file Evaluator.cs.
30 return new SubtreeEvaluator(
new Nominator(fnCanBeEvaluated).Nominate(expression)).Eval(expression);
static Expression Deveel.Data.Linq.Evaluator.PartialEval |
( |
Expression |
expression | ) |
|
|
inlinestatic |
Performs evaluation & replacement of independent sub-trees
- Parameters
-
expression | The root of the expression tree. |
- Returns
- A new tree with sub-trees evaluated and replaced.
Definition at line 38 of file Evaluator.cs.
static bool CanBeEvaluatedLocally(Expression expression)
static Expression PartialEval(Expression expression, Func< Expression, bool > fnCanBeEvaluated)
Performs evaluation & replacement of independent sub-trees
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb-linq/Deveel.Data.Linq.old/Evaluator.cs