Class Grammar.Production
java.lang.Object
org.libxmq.imp.ixml.earley.Grammar.Production
- Enclosing class:
Grammar
One alternative of a rule: rule → symbol symbol ...
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intThe production number in the grammar, used to print and order productions.final Grammar.RuleThe rule this is an alternative of.final List<Grammar.Symbol> The symbols, in order. -
Method Summary
-
Field Details
-
rule
The rule this is an alternative of. -
symbols
The symbols, in order. An empty list is the empty alternative. -
number
public final int numberThe production number in the grammar, used to print and order productions.
-
-
Method Details
-
toString
-