XLParser  1.7.2
XLParser.WordsTerminal Class Reference

Terminal that can determine, if there the input contains a one of expected words. More...

Inheritance diagram for XLParser.WordsTerminal:

Public Member Functions

 WordsTerminal (string name, IEnumerable< string > words)
 
override void Init (GrammarData grammarData)
 
override IList< string > GetFirsts ()
 
override Token TryMatch (ParsingContext context, ISourceStream source)
 

Detailed Description

Terminal that can determine, if there the input contains a one of expected words.

Children of each node are represented as an array to allow direct indexation. Do not use for words that have a large difference between low and high character of a token.


The documentation for this class was generated from the following file: