Record Class RegexNode.StarNode
java.lang.Object
java.lang.Record
org.eu.autogex.regex.ast.RegexNode.StarNode
- Record Components:
child- The node to which the star operator is applied.
- All Implemented Interfaces:
RegexNode
- Enclosing interface:
RegexNode
-
Nested Class Summary
Nested classes/interfaces inherited from interface RegexNode
RegexNode.CharClassNode, RegexNode.ConcatNode, RegexNode.LiteralNode, RegexNode.OptionalNode, RegexNode.PlusNode, RegexNode.StarNode, RegexNode.UnionNode, RegexNode.Visitor<T>, RegexNode.WildcardNode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(RegexNode.Visitor<T> visitor) Accepts a visitor to apply an operation on this node.child()Returns the value of thechildrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.
-
Constructor Details
-
StarNode
-
-
Method Details
-
accept
Description copied from interface:RegexNodeAccepts a visitor to apply an operation on this node. -
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). -
child
-