Mercury library
1.0
Translation of CFG grammars into an object model (Bachelor's thesis).
Main Page
Packages
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Mercury
Mercury
Interpreting
InterpreterResult.cs
Go to the documentation of this file.
1
using
Mercury.Nucleus.Trees;
2
using
Mercury.Syntax;
3
using
System;
4
using
System.Collections.Generic;
5
using
System.Linq;
6
using
System.Text;
7
using
System.Threading.Tasks;
8
9
namespace
Mercury.Interpreting
10
{
11
//=============================================================================
12
// InterpreterResult
13
//=============================================================================
14
17
public
class
InterpreterResult<T>
18
where T : class
19
{
25
public
bool
Success
{
get
{
return
Result != null; } }
26
28
public
Tree<Symbol> Input {
get
;
internal
set; }
29
31
public
T Result {
get
;
internal
set; }
32
37
public
Exception
Exception
{
get
;
internal
set; }
38
44
public
InterpreterContext<T>
Context {
get
;
internal
set; }
45
}
46
}
Mercury.Exception
An exception has been thrown
Mercury.Interpreting.InterpreterContext< T >
Interpreter Context class. Some languages may use it to override it and remember data when parse tree...
Definition:
InterpreterContext.cs:18
Mercury.Success
The analysis was successful and there is at least one result
Generated on Sun May 18 2014 20:57:49 for Mercury library by
1.8.7