Record Class PrimaryReferenceProcessingDetails
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase7.support.PrimaryReferenceProcessingDetails
public record PrimaryReferenceProcessingDetails(EK9Parser.PrimaryReferenceContext ctx, String resultVariable)
extends Record
Processing details for primary reference generation (THIS and SUPER keywords).
MIGRATING TO STACK: DebugInfo removed since PrimaryReferenceGenerator now creates debug info from stack context instead of parameter threading.
-
Constructor Summary
ConstructorsConstructorDescriptionPrimaryReferenceProcessingDetails(EK9Parser.PrimaryReferenceContext ctx, String resultVariable) Creates an instance of aPrimaryReferenceProcessingDetailsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionctx()Returns the value of thectxrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theresultVariablerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PrimaryReferenceProcessingDetails
public PrimaryReferenceProcessingDetails(EK9Parser.PrimaryReferenceContext ctx, String resultVariable) Creates an instance of aPrimaryReferenceProcessingDetailsrecord class.- Parameters:
ctx- the value for thectxrecord componentresultVariable- the value for theresultVariablerecord 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). -
ctx
Returns the value of thectxrecord component.- Returns:
- the value of the
ctxrecord component
-
resultVariable
Returns the value of theresultVariablerecord component.- Returns:
- the value of the
resultVariablerecord component
-