Table of Contents

Interface ILogicalExpressionVisitor<T>

Namespace
NCalc.Visitors
Assembly
NCalc.Core.dll

Defines methods to visit different types of logical expressions in an abstract syntax tree (AST).

public interface ILogicalExpressionVisitor<out T>

Type Parameters

T

The type of result returned from each visit method.

Methods

Visit(BinaryExpression)

T Visit(BinaryExpression expression)

Parameters

expression BinaryExpression

Returns

T

Visit(Function)

T Visit(Function function)

Parameters

function Function

Returns

T

Visit(Identifier)

T Visit(Identifier identifier)

Parameters

identifier Identifier

Returns

T

Visit(LogicalExpressionList)

T Visit(LogicalExpressionList list)

Parameters

list LogicalExpressionList

Returns

T

Visit(TernaryExpression)

T Visit(TernaryExpression expression)

Parameters

expression TernaryExpression

Returns

T

Visit(UnaryExpression)

T Visit(UnaryExpression expression)

Parameters

expression UnaryExpression

Returns

T

Visit(ValueExpression)

T Visit(ValueExpression expression)

Parameters

expression ValueExpression

Returns

T