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 aExprProcessingDetailsrecord 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.final StringtoString()Returns a string representation of this record class.Returns the value of thevariableDetailsrecord component.
-
Constructor Details
-
ExprProcessingDetails
Creates an instance of aExprProcessingDetailsrecord class.- Parameters:
ctx- the value for thectxrecord componentvariableDetails- the value for thevariableDetailsrecord 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
-
variableDetails
Returns the value of thevariableDetailsrecord component.- Returns:
- the value of the
variableDetailsrecord component
-