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 aPrimaryReferenceProcessingDetails
record class. -
Method Summary
Modifier and TypeMethodDescriptionctx()
Returns the value of thectx
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theresultVariable
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
PrimaryReferenceProcessingDetails
public PrimaryReferenceProcessingDetails(EK9Parser.PrimaryReferenceContext ctx, String resultVariable) Creates an instance of aPrimaryReferenceProcessingDetails
record class.- Parameters:
ctx
- the value for thectx
record componentresultVariable
- the value for theresultVariable
record 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 thectx
record component.- Returns:
- the value of the
ctx
record component
-
resultVariable
Returns the value of theresultVariable
record component.- Returns:
- the value of the
resultVariable
record component
-