Package org.rumbledb.compiler.context
Record Class ArrowExprContext.ArrowCall<EqNameCtx extends org.antlr.v4.runtime.ParserRuleContext,VarRefCtx extends org.antlr.v4.runtime.ParserRuleContext,ParenthesizedExprCtx extends org.antlr.v4.runtime.ParserRuleContext,ArgumentListCtx extends org.antlr.v4.runtime.ParserRuleContext>
java.lang.Object
java.lang.Record
org.rumbledb.compiler.context.ArrowExprContext.ArrowCall<EqNameCtx,VarRefCtx,ParenthesizedExprCtx,ArgumentListCtx>
- Enclosing class:
- ArrowExprContext<MainExprCtx extends org.antlr.v4.runtime.ParserRuleContext,
EqNameCtx extends org.antlr.v4.runtime.ParserRuleContext, VarRefCtx extends org.antlr.v4.runtime.ParserRuleContext, ParenthesizedExprCtx extends org.antlr.v4.runtime.ParserRuleContext, ArgumentListCtx extends org.antlr.v4.runtime.ParserRuleContext>
public static record ArrowExprContext.ArrowCall<EqNameCtx extends org.antlr.v4.runtime.ParserRuleContext,VarRefCtx extends org.antlr.v4.runtime.ParserRuleContext,ParenthesizedExprCtx extends org.antlr.v4.runtime.ParserRuleContext,ArgumentListCtx extends org.antlr.v4.runtime.ParserRuleContext> (EqNameCtx extends org.antlr.v4.runtime.ParserRuleContext eqName, VarRefCtx extends org.antlr.v4.runtime.ParserRuleContext varRef, ParenthesizedExprCtx extends org.antlr.v4.runtime.ParserRuleContext parenthesizedExpr, ArgumentListCtx extends org.antlr.v4.runtime.ParserRuleContext argumentList)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionArrowCall(EqNameCtx eqName, VarRefCtx varRef, ParenthesizedExprCtx parenthesizedExpr, ArgumentListCtx argumentList) Creates an instance of aArrowCallrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentListrecord component.eqName()Returns the value of theeqNamerecord 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 theparenthesizedExprrecord component.final StringtoString()Returns a string representation of this record class.varRef()Returns the value of thevarRefrecord component.
-
Constructor Details
-
ArrowCall
public ArrowCall(EqNameCtx eqName, VarRefCtx varRef, ParenthesizedExprCtx parenthesizedExpr, ArgumentListCtx argumentList) Creates an instance of aArrowCallrecord class.- Parameters:
eqName- the value for theeqNamerecord componentvarRef- the value for thevarRefrecord componentparenthesizedExpr- the value for theparenthesizedExprrecord componentargumentList- the value for theargumentListrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
eqName
Returns the value of theeqNamerecord component.- Returns:
- the value of the
eqNamerecord component
-
varRef
Returns the value of thevarRefrecord component.- Returns:
- the value of the
varRefrecord component
-
parenthesizedExpr
Returns the value of theparenthesizedExprrecord component.- Returns:
- the value of the
parenthesizedExprrecord component
-
argumentList
Returns the value of theargumentListrecord component.- Returns:
- the value of the
argumentListrecord component
-