|
Mercury library
1.0
Translation of CFG grammars into an object model (Bachelor's thesis).
|
Wrapper class for each step of analysis More...
Public Member Functions | |
| Analyser (LanguageInfo< T > langinfo, IInterpreterContextFactory contextFactory=null) | |
| Initializes a new instance of the Analyser{T} class. More... | |
| Analyser (ITokenizer tokenizer, IScanner scanner, IParser parser, IInterpreter< T > interpreter) | |
| Initializes a new instance of the Analyser{T} class. See Mercury.Analyser{T,TResult} for more information. More... | |
Public Member Functions inherited from Mercury.Analyser< T, TResult > | |
| Analyser (LanguageInfo< T > langinfo, Func< T, TResult > resultSelector, IInterpreterContextFactory contextFactory=null) | |
| Initializes a new instance of the Analyser{T,TResult} class from the provided language information. More... | |
| Analyser (ITokenizer tokenizer, IScanner scanner, IParser parser, IInterpreter< T > interpreter, Func< T, TResult > resultSelector) | |
Initializes a new instance of analyzer from the class. Scanner and Interpreter can be null (if so, they won't be used). resultSelector can be null only if the interpreter is null. More... | |
| AnalyserResult< T, TResult > | Analyze (string input) |
| Analyzes the specified input and returns the Mercury.AnalyserResult{T,TResult}. More... | |
Additional Inherited Members | |
Properties inherited from Mercury.Analyser< T, TResult > | |
| ITokenizer | Tokenizer [get, set] |
| Gets the tokenizer. More... | |
| IScanner | Scanner [get, set] |
| Gets the scanner. More... | |
| IParser | Parser [get, set] |
| Gets the parser. More... | |
| IInterpreter< T > | Interpreter [get, set] |
| Gets the interpreter. More... | |
Wrapper class for each step of analysis
| T | Interpreter result type |
| T | : | class |
Definition at line 195 of file Analyser.cs.
| Mercury.Analyser< T >.Analyser | ( | LanguageInfo< T > | langinfo, |
| IInterpreterContextFactory | contextFactory = null |
||
| ) |
Initializes a new instance of the Analyser{T} class.
| langinfo | The language information. |
| contextFactory | The context factory. Can be null. |
Definition at line 202 of file Analyser.cs.
| Mercury.Analyser< T >.Analyser | ( | ITokenizer | tokenizer, |
| IScanner | scanner, | ||
| IParser | parser, | ||
| IInterpreter< T > | interpreter | ||
| ) |
Initializes a new instance of the Analyser{T} class. See Mercury.Analyser{T,TResult} for more information.
| tokenizer | The tokenizer. |
| scanner | The scanner. |
| parser | The parser. |
| interpreter | The interpreter. |
Definition at line 214 of file Analyser.cs.
1.8.7