Mercury library  1.0
Translation of CFG grammars into an object model (Bachelor's thesis).
 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< SymbolInput [get, set]
 A tree that was interpreted. More...
 
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
TInterpreter return type.
Type Constraints
T :class 

Definition at line 17 of file InterpreterResult.cs.

Property Documentation

InterpreterContext<T> Mercury.Interpreting.InterpreterResult< T >.Context
getset

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
getset

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
getset

A tree that was interpreted.

Definition at line 28 of file InterpreterResult.cs.

T Mercury.Interpreting.InterpreterResult< T >.Result
getset

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: