expression

< Back


InfixExpressionFactory<T>

Namespace: Albatross.Expression.Parsing

Generic factory for creating infix expression instances by matching their operator tokens.

public class InfixExpressionFactory<T> : IExpressionFactory`1

Type Parameters

T
The type of infix expression to create.

Inheritance ObjectInfixExpressionFactory<T>
Implements IExpressionFactory<T>
Attributes NullableContextAttribute, NullableAttribute

Constructors

InfixExpressionFactory(Boolean)

Initializes a new instance of the InfixExpressionFactory<T> class.

public InfixExpressionFactory(bool caseSensitive)

Parameters

caseSensitive Boolean
Whether operator matching should be case-sensitive.

Methods

Parse(String, Int32, Int32&)

public T Parse(string text, int start, Int32& next)

Parameters

text String

start Int32

next Int32&

Returns

T


< Back