Record Class ConstrainedConstructionResolver.Site
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase5.ConstrainedConstructionResolver.Site
- Enclosing class:
ConstrainedConstructionResolver
static record ConstrainedConstructionResolver.Site(AggregateSymbol constrainedType, ConstraintExpr constraint, ISymbol argSymbol)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSite(AggregateSymbol constrainedType, ConstraintExpr constraint, ISymbol argSymbol) Creates an instance of aSiterecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargSymbolrecord component.Returns the value of theconstrainedTyperecord component.Returns the value of theconstraintrecord 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
-
Site
Site(AggregateSymbol constrainedType, ConstraintExpr constraint, ISymbol argSymbol) Creates an instance of aSiterecord class.- Parameters:
constrainedType- the value for theconstrainedTyperecord componentconstraint- the value for theconstraintrecord componentargSymbol- the value for theargSymbolrecord 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). -
constrainedType
Returns the value of theconstrainedTyperecord component.- Returns:
- the value of the
constrainedTyperecord component
-
constraint
Returns the value of theconstraintrecord component.- Returns:
- the value of the
constraintrecord component
-
argSymbol
Returns the value of theargSymbolrecord component.- Returns:
- the value of the
argSymbolrecord component
-