Test whether the input matches this pattern.
Namespace:
SingularSys.Jep.ConfigurableParser.MatchersAssembly: Jep (in Jep.dll) Version: 1.1.0.0 (1.0.0)
Syntax
C# |
---|
INode Match( Lookahead2Enumerator<Token> it, IGrammarParser parser ) |
Visual Basic (Declaration) |
---|
Function Match ( _ it As Lookahead2Enumerator(Of Token), _ parser As IGrammarParser _ ) As INode |
Visual C++ |
---|
INode^ Match( Lookahead2Enumerator<Token^>^ it, IGrammarParser^ parser ) |
Parameters
- it
- Type: SingularSys.Jep.ConfigurableParser..::.Lookahead2Enumerator<(Of <(Token>)>)
An iterator inspecting the input
- parser
- Type: SingularSys.Jep.ConfigurableParser..::.IGrammarParser
the parser to use when evaluating sub expressions
Return Value
if matched returns a node representing the content, return null is does not matchExceptions
Exception | Condition |
---|---|
SingularSys.Jep..::.ParseException | if there is a syntactical error in the input. |