Record Class AggregateMemberOrder.OutOfOrder
java.lang.Object
java.lang.Record
org.ek9lang.compiler.support.AggregateMemberOrder.OutOfOrder
- Record Components:
member- the member out of order (its own start token is where the error goes)reason- what is wrong and how to fix it, for the error message
- Enclosing class:
AggregateMemberOrder
-
Constructor Summary
ConstructorsConstructorDescriptionOutOfOrder(org.antlr.v4.runtime.ParserRuleContext member, String reason) Creates an instance of aOutOfOrderrecord class. -
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.org.antlr.v4.runtime.ParserRuleContextmember()Returns the value of thememberrecord component.reason()Returns the value of thereasonrecord component.org.antlr.v4.runtime.Tokentoken()Where the error is reported: the member's first token, never a directive in front of it.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OutOfOrder
-
-
Method Details
-
token
public org.antlr.v4.runtime.Token token()Where the error is reported: the member's first token, never a directive in front of it. -
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). -
member
-
reason
-