Record Class Grammar.Insertion
java.lang.Object
java.lang.Record
org.libxmq.imp.ixml.earley.Grammar.Insertion
- Record Components:
text- the inserted text
- All Implemented Interfaces:
Grammar.Symbol
- Enclosing class:
Grammar
An insertion, +'text': outputs the text, matches no input.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface Grammar.Symbol
isZeroWidthModifier and TypeMethodDescriptiondefault booleanReturns true if the symbol matches nothing: the parser steps over it.
-
Constructor Details
-
Insertion
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
text
-