|
Mercury library
1.0
Translation of CFG grammars into an object model (Bachelor's thesis).
|
Generates four Nonterminals @Symbol, @Keyword, @Number and @String based on the given map and types of input tokens.
More...
Public Member Functions | |
| BasicScanner (BasicScannerMap map) | |
| Initializes a new instance of the BasicScanner class. More... | |
| IEnumerable< Rule > | Scan (IEnumerable< Token > tokens) |
| Scans input tokens and creates additional rules for parsing. More... | |
Generates four Nonterminals @Symbol, @Keyword, @Number and @String based on the given map and types of input tokens.
Definition at line 229 of file Scanner.cs.
| Mercury.Syntax.BasicScanner.BasicScanner | ( | BasicScannerMap | map | ) |
Initializes a new instance of the BasicScanner class.
| map | The map of types |
| System.ArgumentNullException | When map is null |
Definition at line 245 of file Scanner.cs.
Scans input tokens and creates additional rules for parsing.
| tokens | Input tokens. |
Implements Mercury.Syntax.IScanner.
Definition at line 256 of file Scanner.cs.
1.8.7