|
Mercury library
1.0
Translation of CFG grammars into an object model (Bachelor's thesis).
|
Classes | |
| interface | ITokenizer |
| The tokenizer interface. More... | |
| class | Token |
| Token, a part of an input text recognized by tokenizer More... | |
| class | Tokenizer |
| A default implementation of ITokenizer interface using Microsoft Regular Expressions. Splits tokens in the following fashion: More... | |
Enumerations | |
| enum | TokenType { TokenType.String, TokenType.Symbol, TokenType.Keyword, TokenType.Number } |
| Defines token types. The actual conditions depend on the Mercury.Scanning.ITokenizer implementation. More... | |
| enum | TokenizerOptions { TokenizerOptions.None = 0, TokenizerOptions.CompiledMatch = 1, TokenizerOptions.IgnoreNumbers = 2, TokenizerOptions.IgnoreCase = 4, TokenizerOptions.IgnoreQuotes = 8, TokenizerOptions.IgnoreSigns = 16, TokenizerOptions.StrictNumbers = 32 } |
| Options for the tokenizer More... | |
Options for the tokenizer
Definition at line 26 of file Tokenizer.cs.
Defines token types. The actual conditions depend on the Mercury.Scanning.ITokenizer implementation.
| Enumerator | |
|---|---|
| String |
summary>String. summary>Symbol. |
| Symbol |
summary>Keyword (a reserved word). |
| Keyword |
summary>Number. |
| Number | |
1.8.7