Interface IExpressionCompiler
- Namespace
- Utils.Expressions
- Assembly
- Utils.dll
Defines a lightweight contract for expression compilers that turn source text into LINQ expression trees.
public interface IExpressionCompiler
- Extension Methods
Methods
Compile(string, IReadOnlyDictionary<string, Expression>?)
Compiles source text to an expression tree.
Expression Compile(string content, IReadOnlyDictionary<string, Expression>? symbols = null)
Parameters
contentstringSource text to compile.
symbolsIReadOnlyDictionary<string, Expression>Optional symbol table used for identifier resolution.
Returns
- Expression
The compiled expression.