|
Mercury library
1.0
Translation of CFG grammars into an object model (Bachelor's thesis).
|
Holds the result of analysis.
The fields hold information according to the following table:
More...
Properties | |
| AnalyserStatus | Status [get, set] |
| Status of the analysis More... | |
| FailReason | FailReason [get, set] |
Reason of the failure. If the value is Exception, Exception field must contain the exception that has been thrown. More... | |
| ParserResult | ParserResult [get, set] |
| Parser result More... | |
| IReadOnlyList < InterpreterResult< T > > | InterpreterResults [get, set] |
| The list of interpreter results for each tree in ParserResult.Trees. More... | |
| IReadOnlyList< TResult > | Interpretations [get, set] |
| Final interpretations More... | |
| Exception | Exception [get, set] |
| If the FailReason is Exception, this field contains the exception that has been thrown More... | |
| TimeSpan | ParserTime [get, set] |
| The time it took to parse input More... | |
| TimeSpan | InterpreterTime [get, set] |
| The time it took to parse all trees More... | |
| TimeSpan | TotalTime [get, set] |
| Total time of analysis. Includes ParserTime, InterpreterTime and additional duration of analyser overhead More... | |
Holds the result of analysis.
The fields hold information according to the following table:
============================================================
-- Conditions -- || -- Field values --
Status | FailReason || ParserR. | Interp's | Exception
------------------------------------------------------------
Success | None || [yes] | [yes*] | undef.
*Fail | NoValidResult || undef. | undef. | undef.
*Fail | Exception || undef. | undef. | [yes]
============================================================
[yes*] - provided that Interpreter is not null
| T | Result type |
| T | : | class | |
| TResult | : | class |
Definition at line 67 of file AnalyserResult.cs.
|
getset |
If the FailReason is Exception, this field contains the exception that has been thrown
Definition at line 118 of file AnalyserResult.cs.
|
getset |
Reason of the failure. If the value is Exception, Exception field must contain the exception that has been thrown.
Definition at line 106 of file AnalyserResult.cs.
|
getset |
Final interpretations
Definition at line 115 of file AnalyserResult.cs.
|
getset |
The list of interpreter results for each tree in ParserResult.Trees.
Definition at line 112 of file AnalyserResult.cs.
|
getset |
The time it took to parse all trees
Definition at line 124 of file AnalyserResult.cs.
|
getset |
Parser result
Definition at line 109 of file AnalyserResult.cs.
|
getset |
The time it took to parse input
Definition at line 121 of file AnalyserResult.cs.
|
getset |
Status of the analysis
Definition at line 100 of file AnalyserResult.cs.
|
getset |
Total time of analysis. Includes ParserTime, InterpreterTime and additional duration of analyser overhead
Definition at line 130 of file AnalyserResult.cs.
1.8.7