Namespace: Albatross.Expression.Parsing
Factory interface for parsing tokens from expression text.
public interface IExpressionFactory<T>
T
The type of token this factory produces.
Attributes NullableContextAttribute
Attempts to parse a token from the given text starting at the specified position.
T Parse(string text, int start, Int32& next)
text
String
The expression text to parse.
start
Int32
The starting position in the text to begin parsing.
next
Int32&
When this method returns, contains the position after the parsed token, or the original start position if parsing failed.
T
The parsed token if successful; otherwise, null.