Table of Contents

Class SerializationVisitor

Namespace
NCalc.Visitors
Assembly
NCalc.Core.dll

Class responsible to converting a LogicalExpression into a string representation.

public class SerializationVisitor : ILogicalExpressionVisitor<string>
Inheritance
SerializationVisitor
Implements
Inherited Members

Methods

EncapsulateNoValue(LogicalExpression)

protected virtual string EncapsulateNoValue(LogicalExpression expression)

Parameters

expression LogicalExpression

Returns

string

Visit(BinaryExpression)

public string Visit(BinaryExpression expression)

Parameters

expression BinaryExpression

Returns

string

Visit(Function)

public string Visit(Function function)

Parameters

function Function

Returns

string

Visit(Identifier)

public string Visit(Identifier identifier)

Parameters

identifier Identifier

Returns

string

Visit(LogicalExpressionList)

public string Visit(LogicalExpressionList list)

Parameters

list LogicalExpressionList

Returns

string

Visit(TernaryExpression)

public string Visit(TernaryExpression expression)

Parameters

expression TernaryExpression

Returns

string

Visit(UnaryExpression)

public string Visit(UnaryExpression expression)

Parameters

expression UnaryExpression

Returns

string

Visit(ValueExpression)

public string Visit(ValueExpression expression)

Parameters

expression ValueExpression

Returns

string