Record Class ExprProcessingDetails
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase7.support.ExprProcessingDetails
public record ExprProcessingDetails(EK9Parser.ExpressionContext ctx, VariableDetails variableDetails)
extends Record
A simple record that can be used when processing expressions.
Just gathers together the essential parts for processing.
-
Constructor Summary
ConstructorsConstructorDescriptionExprProcessingDetails
(EK9Parser.ExpressionContext ctx, VariableDetails variableDetails) Creates an instance of aExprProcessingDetails
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.final String
toString()
Returns a string representation of this record class.Returns the value of thevariableDetails
record component.
-
Constructor Details
-
ExprProcessingDetails
Creates an instance of aExprProcessingDetails
record class.- Parameters:
ctx
- the value for thectx
record componentvariableDetails
- the value for thevariableDetails
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
-
variableDetails
Returns the value of thevariableDetails
record component.- Returns:
- the value of the
variableDetails
record component
-