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.RuleEntry< T > Class Template Reference

Describes a rule that has been used to interpret a tree. More...

Inheritance diagram for Mercury.Interpreting.RuleEntry< T >:

## Properties
RewriteRule< T > | RewriteRule`[get, set]`
| Rewrite rule used. More...
bool | Match`[get, set]`
| Indicates whether the LHS of rule matched the tree. More...
T | Value`[get, set]`
| Returned value or null. More...
bool | Error`[get, set]`
| Indicates whether an exception has been thrown when evaluating the rule action. More...
InstanceList | Instances`[get, set]`
| List of instances or null if rule did not match. More...
IReadOnlyList< DataEntry > | SubEntries`[get]`
| List of TextEntries or TreeEntries that occured while evaluating action of this rule. More...

## Detailed Description

Describes a rule that has been used to interpret a tree.

Template Parameters

  T | Interpreter return type

Type Constraints

  T | : | class |

Definition at line 92 of file Entries.cs.

## Property Documentation

bool Mercury.Interpreting.RuleEntry< T >.Error
| get set

Indicates whether an exception has been thrown when evaluating the rule action.

Definition at line 124 of file Entries.cs.

InstanceList Mercury.Interpreting.RuleEntry< T >.Instances
| get set

List of instances or null if rule did not match.

Definition at line 127 of file Entries.cs.

bool Mercury.Interpreting.RuleEntry< T >.Match
| get set

Indicates whether the LHS of rule matched the tree.

Definition at line 115 of file Entries.cs.

RewriteRule<T> Mercury.Interpreting.RuleEntry< T >.RewriteRule
| get set

Rewrite rule used.

Definition at line 112 of file Entries.cs.

IReadOnlyList<DataEntry> Mercury.Interpreting.RuleEntry< T >.SubEntries
| get

List of TextEntries or TreeEntries that occured while evaluating action of this rule.

Definition at line 133 of file Entries.cs.

T Mercury.Interpreting.RuleEntry< T >.Value
| get set

Returned value or null.

Definition at line 118 of file Entries.cs.

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

- Mercury/Mercury/Interpreting/Entries.cs