Record Class StrictAbsent.Observer
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase7.support.StrictAbsent.Observer
- Record Components:
operator- the operator whose absence test met the null, e.g.??location- where it is in the source (may be null or invalid: the message then says so)
- Enclosing class:
StrictAbsent
What observed an absent value, and where: the operator, and the source location named in the Panic message.
The location is made with
createDebugInfoAlways where the caller has the operator's token, so the
message names the site even when debug information is off.-
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.location()Returns the value of thelocationrecord component.operator()Returns the value of theoperatorrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Observer
-
-
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). -
operator
-
location
-