Record Class ConceptualAccess.OrderingUse
java.lang.Object
java.lang.Record
org.ek9lang.compiler.support.ConceptualAccess.OrderingUse
- Record Components:
type- the type as the body names it, still on the conceptual parameterskind- how it is askedoperator- the operator the use resolved to ontype, forConceptualAccess.OrderingKind.OPERATOR_CALL; else null. The operator itself, never only its name: a type may declare a hand-written<taking anIntegerbeside the baredefault operator's<taking itself, and only the overload the body called may be judged where the parameters are replaced.
- Enclosing class:
ConceptualAccess
public static record ConceptualAccess.OrderingUse(ISymbol type, ConceptualAccess.OrderingKind kind, MethodSymbol operator)
extends Record
One ordering the generic's body asks of a type built on its type parameters.
-
Constructor Summary
ConstructorsConstructorDescriptionOrderingUse(ISymbol type, ConceptualAccess.OrderingKind kind, MethodSymbol operator) Creates an instance of aOrderingUserecord 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.kind()Returns the value of thekindrecord component.operator()Returns the value of theoperatorrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
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). -
type
-
kind
-
operator
-