Package org.jparsec.examples.bnf.ast
Class RuleReference
- java.lang.Object
-
- org.jparsec.examples.common.ValueObject
-
- org.jparsec.examples.bnf.ast.RuleReference
-
- All Implemented Interfaces:
Rule
public final class RuleReference extends ValueObject implements Rule
Represents a reference to a named production rule.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
name
-
Constructor Summary
Constructors Constructor Description RuleReference(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class org.jparsec.examples.common.ValueObject
equals, hashCode
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classValueObject
-
-