Table of Contents

Class FunctionExtractionVisitor

Namespace
NCalc.Visitors
Assembly
NCalc.Core.dll

Visitor dedicated to extract Function names from a LogicalExpression.

public sealed class FunctionExtractionVisitor : ILogicalExpressionVisitor<List<string>>
Inheritance
FunctionExtractionVisitor
Implements
Inherited Members

Methods

Visit(BinaryExpression)

public List<string> Visit(BinaryExpression expression)

Parameters

expression BinaryExpression

Returns

List<string>

Visit(Function)

public List<string> Visit(Function function)

Parameters

function Function

Returns

List<string>

Visit(Identifier)

public List<string> Visit(Identifier identifier)

Parameters

identifier Identifier

Returns

List<string>

Visit(LogicalExpressionList)

public List<string> Visit(LogicalExpressionList list)

Parameters

list LogicalExpressionList

Returns

List<string>

Visit(TernaryExpression)

public List<string> Visit(TernaryExpression expression)

Parameters

expression TernaryExpression

Returns

List<string>

Visit(UnaryExpression)

public List<string> Visit(UnaryExpression expression)

Parameters

expression UnaryExpression

Returns

List<string>

Visit(ValueExpression)

public List<string> Visit(ValueExpression expression)

Parameters

expression ValueExpression

Returns

List<string>