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

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

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

Properties

RewriteRule< T > RewriteRule [get, set]
 Rewrite rule used. More...
 
bool Match [get, set]
 Indicates whether the LHS of rule matched the tree. More...
 
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< DataEntrySubEntries [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
TInterpreter return type
Type Constraints
T :class 

Definition at line 92 of file Entries.cs.

Property Documentation

bool Mercury.Interpreting.RuleEntry< T >.Error
getset

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
getset

List of instances or null if rule did not match.

Definition at line 127 of file Entries.cs.

bool Mercury.Interpreting.RuleEntry< T >.Match
getset

Indicates whether the LHS of rule matched the tree.

Definition at line 115 of file Entries.cs.

RewriteRule<T> Mercury.Interpreting.RuleEntry< T >.RewriteRule
getset

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
getset

Returned value or null.

Definition at line 118 of file Entries.cs.


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