Classes

  Class Description
ArrayAccessGrammarMatcher
Matches syntax for array element access a[3]. For multiple dimension arrays the syntax a[2][3] can be used.
CommentTokenMatcher
Matches various styles of comments.
FunctionGrammarMatcher
A GrammarMatcher which matches functions in the form 'atan2(y,x)'. The function must be in the FunctionTable and brackets are required.
IdentifierTokenMatcher
Matches identifiers: variables or function names.
ListGrammarMatcher
A GrammarMatcher which matches lists of items.
ListOrBracketGrammarMatcher
A GrammarMatcher which matches overloaded lists of items or brackets.

If there is more than one element in the list it will be interpreted as a list, otherwise it will be interpreted as a normal bracketed expression.

MultiLineMatcher
Matches tokens which span multiple lines of the input.

The tokenizer matches the input a line at a time and subclasses of this can be used match tokens which span multiple lines.

NumberTokenMatcher
Matches numbers. The jep NumberFactory is used to create the number.
OperatorTokenMatcher
TokenMatcher for matching operators from the operator set.
RegExpTokenMatcher
An abstract TokenMatcher which uses RegExp patterns to match patterns. Subclasses should overload the buildToken method which builds a token after a successful match.
RoundBracketGrammarMatcher
A GrammarMatcher which matches bracketed expressions.
StringTokenMatcher2
Base class for matching quoted strings.

This class allows escape characters like \n inside the string, As well as unicode \u1A1A and latin \007 escape sequences.

Unlike StringTokenMatcher a hand built pattern matcher is used rather than regular expressions.
SymbolTokenMatcher
Matches a fixed set of symbols, each represented by a SymbolToken. Each SymbolToken behaves like an singleton, only one instance is created and this is returned by the match method.
TerminatorTokenMatcher
A token matcher which matches the end of an expression
WhiteSpaceTokenMatcher
Matches whitespace.

Interfaces

  Interface Description
IGrammarMatcher
Interface defining matchers for custom grammatical elements. GrammarMatchers match syntax elements at the same precedence level as brackets they can examine the next two tokens in the input using the Lookahead2Enumerator<(Of <(T>)>) and call the IGrammarParser to parse expression fragments.
ITokenBuilder
Sub-interface of TokenMatcher which allows tokens to be created without matching input text.
ITokenMatcher
Interface defining classes which match tokens