Class LambdaExpressionVisitor
- Namespace
- NCalc.Visitors
- Assembly
- NCalc.Sync.dll
public sealed class LambdaExpressionVisitor : ILogicalExpressionVisitor<Expression>
- Inheritance
-
LambdaExpressionVisitor
- Implements
-
- Inherited Members
-
Constructors
LambdaExpressionVisitor(IDictionary<string, object?>, ExpressionOptions)
public LambdaExpressionVisitor(IDictionary<string, object?> parameters, ExpressionOptions options)
Parameters
parameters
IDictionary<string, object>
options
ExpressionOptions
LambdaExpressionVisitor(ParameterExpression, ExpressionOptions)
public LambdaExpressionVisitor(ParameterExpression context, ExpressionOptions options)
Parameters
context
ParameterExpression
options
ExpressionOptions
Methods
Visit(BinaryExpression)
public Expression Visit(BinaryExpression expression)
Parameters
expression
BinaryExpression
Returns
- Expression
Visit(Function)
public Expression Visit(Function function)
Parameters
function
Function
Returns
- Expression
Visit(Identifier)
public Expression Visit(Identifier identifier)
Parameters
identifier
Identifier
Returns
- Expression
Visit(LogicalExpressionList)
public Expression Visit(LogicalExpressionList list)
Parameters
list
LogicalExpressionList
Returns
- Expression
Visit(TernaryExpression)
public Expression Visit(TernaryExpression expression)
Parameters
expression
TernaryExpression
Returns
- Expression
Visit(UnaryExpression)
public Expression Visit(UnaryExpression expression)
Parameters
expression
UnaryExpression
Returns
- Expression
Visit(ValueExpression)
public Expression Visit(ValueExpression expression)
Parameters
expression
ValueExpression
Returns
- Expression