Class IXMLGrammar.Rule
java.lang.Object
org.libxmq.imp.ixml.IXMLGrammar.Rule
- Enclosing class:
IXMLGrammar
A rule, name = alternatives. A generated rule (/1, /2, ...) is hidden.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe mark (^ @ - or empty) and the alias (rule>alias or empty).final List<List<IXMLGrammar.Term>> The alternatives, each a sequence of terms.intNumber of < after = or :, used to prefer cheaper alternatives.The mark (^ @ - or empty) and the alias (rule>alias or empty).final StringThe rule name.For a generated rule (/1, /2, ...) the named rule it was made for, used in error messages. -
Method Summary
-
Field Details
-
name
The rule name. -
mark
The mark (^ @ - or empty) and the alias (rule>alias or empty). -
alias
The mark (^ @ - or empty) and the alias (rule>alias or empty). -
cost
public int costNumber of < after = or :, used to prefer cheaper alternatives. -
alternatives
The alternatives, each a sequence of terms. -
origin
For a generated rule (/1, /2, ...) the named rule it was made for, used in error messages.
-