Record Class OperationDetailsLocator.Located
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase7.support.OperationDetailsLocator.Located
- Record Components:
details- the declaration's operation details, or null when it has none
- Enclosing class:
OperationDetailsLocator
static record OperationDetailsLocator.Located(EK9Parser.OperationDetailsContext details)
extends Record
A declaration that matched. The details are null for a declaration with no body (a
default operator),
which is why the answer is a record: "found, no body" must stay distinguishable from "not found".-
Constructor Summary
ConstructorsConstructorDescriptionLocated(EK9Parser.OperationDetailsContext details) Creates an instance of aLocatedrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondetails()Returns the value of thedetailsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Located
Located(EK9Parser.OperationDetailsContext details) Creates an instance of aLocatedrecord class.- Parameters:
details- the value for thedetailsrecord component
-
-
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). -
details
-