|
Mercury library
1.0
Translation of CFG grammars into an object model (Bachelor's thesis).
|
Represents a Context-Free Grammar. This is an immutable class, to create a grammar use Mercury.Syntax.GrammarBuilder. More...
Inherited by Mercury.Syntax.ExtendedGrammar.
Properties | |
| IReadOnlyList< Symbol > | Nonterminals [get, set] |
| List of nonterminal symbols. More... | |
| IReadOnlyList< Symbol > | Terminals [get, set] |
| List of terminal symbols. More... | |
| IReadOnlyList< Rule > | Rules [get, set] |
| List of rules. More... | |
| Symbol | Root [get, set] |
| The root symbol. More... | |
| Symbol | Epsilon [get, set] |
| The epsilon symbol. More... | |
Represents a Context-Free Grammar. This is an immutable class, to create a grammar use Mercury.Syntax.GrammarBuilder.
Definition at line 18 of file Grammar.cs.
|
getset |
|
getset |
List of nonterminal symbols.
Definition at line 23 of file Grammar.cs.
|
getset |
|
getset |
List of rules.
Definition at line 29 of file Grammar.cs.
|
getset |
List of terminal symbols.
Definition at line 26 of file Grammar.cs.
1.8.7