Table of Contents

Interface IExpression

Namespace
xFunc.Maths.Expressions
Assembly
xFunc.Maths.dll

Defines methods to work with expressions.

public interface IExpression
Extension Methods

Methods

Analyze<TResult>(IAnalyzer<TResult>)

Analyzes the current expression.

TResult Analyze<TResult>(IAnalyzer<TResult> analyzer)

Parameters

analyzer IAnalyzer<TResult>

The analyzer.

Returns

TResult

The analysis result.

Type Parameters

TResult

The type of the result.

Analyze<TResult, TContext>(IAnalyzer<TResult, TContext>, TContext)

Analyzes the current expression.

TResult Analyze<TResult, TContext>(IAnalyzer<TResult, TContext> analyzer, TContext context)

Parameters

analyzer IAnalyzer<TResult, TContext>

The analyzer.

context TContext

The context.

Returns

TResult

The analysis result.

Type Parameters

TResult

The type of the result.

TContext

The type of additional parameter for analyzer.

Execute()

Executes this expression. Don't use this method if your expression has variables or user-functions.

object Execute()

Returns

object

A result of the execution.

Execute(ExpressionParameters?)

Executes this expression.

object Execute(ExpressionParameters? parameters)

Parameters

parameters ExpressionParameters

An object that contains all parameters and functions for expressions.

Returns

object

A result of the execution.

See Also

ToString(IFormatter)

Returns a string that represents this instance.

string ToString(IFormatter formatter)

Parameters

formatter IFormatter

The formatter.

Returns

string

A string that represents this instance.