Mercury library 1.0 Translation of CFG grammars into an object model (Bachelor's thesis).

- Main Page
- Packages
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Properties | List of all members
Mercury.Interpreting.InterpreterResult< T > Class Template Reference

Result of the interpretation. More...

## Properties
bool | Success`[get]`
| Gets a value indicating whether the interpretation was successful. If the value is `false`, `Exception` and `Result` fields may be `null`. More...
Tree< Symbol > | Input`[get, set]`
| A tree that was interpreted. More...
T | Result`[get, set]`
| Result interpretation or `null` More...
Exception | Exception`[get, set]`
| If an exception was caught during interpretation, it is stored in this field. More...
InterpreterContext< T > | Context`[get, set]`
| Copy of context used for interpretation. Provides `RootEntry` that serves as the interpreter log (see Mercury.Interpreting.InterpreterContext{T}. More...

## Detailed Description

Result of the interpretation.

Template Parameters

  T | Interpreter return type.

Type Constraints

  T | : | class |

Definition at line 17 of file InterpreterResult.cs.

## Property Documentation

InterpreterContext<T> Mercury.Interpreting.InterpreterResult< T >.Context
| get set

Copy of context used for interpretation. Provides `RootEntry` that serves as the interpreter log (see Mercury.Interpreting.InterpreterContext{T}.

Definition at line 44 of file InterpreterResult.cs.

Exception Mercury.Interpreting.InterpreterResult< T >.Exception
| get set

If an exception was caught during interpretation, it is stored in this field.

Definition at line 37 of file InterpreterResult.cs.

Tree<Symbol> Mercury.Interpreting.InterpreterResult< T >.Input
| get set

A tree that was interpreted.

Definition at line 28 of file InterpreterResult.cs.

T Mercury.Interpreting.InterpreterResult< T >.Result
| get set

Result interpretation or `null`

Definition at line 31 of file InterpreterResult.cs.

bool Mercury.Interpreting.InterpreterResult< T >.Success
| get

Gets a value indicating whether the interpretation was successful. If the value is `false`, `Exception` and `Result` fields may be `null`.

Definition at line 25 of file InterpreterResult.cs.

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

- Mercury/Mercury/Interpreting/InterpreterResult.cs