Table of Contents

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

content string

Source text to compile.

symbols IReadOnlyDictionary<string, Expression>

Optional symbol table used for identifier resolution.

Returns

Expression

The compiled expression.