Package org.rumbledb.compiler.context
Record 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>
java.lang.Object
java.lang.Record
org.rumbledb.compiler.context.ArrowExprContext<MainExprCtx,EqNameCtx,VarRefCtx,ParenthesizedExprCtx,ArgumentListCtx>
public record 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> (MainExprCtx extends org.antlr.v4.runtime.ParserRuleContext mainExpr, List<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>> calls, org.antlr.v4.runtime.ParserRuleContext context)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordArrowExprContext.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> -
Constructor Summary
ConstructorsConstructorDescriptionArrowExprContext(MainExprCtx mainExpr, List<ArrowExprContext.ArrowCall<EqNameCtx, VarRefCtx, ParenthesizedExprCtx, ArgumentListCtx>> calls, org.antlr.v4.runtime.ParserRuleContext context) Creates an instance of aArrowExprContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncalls()Returns the value of thecallsrecord component.org.antlr.v4.runtime.ParserRuleContextcontext()Returns the value of thecontextrecord component.final booleanIndicates whether some other object is "equal to" this one.static ArrowExprContext<JsoniqParser.UnaryExprContext,JsoniqParser.EqNameContext, JsoniqParser.VarRefContext, JsoniqParser.ParenthesizedExprContext, JsoniqParser.ArgumentListContext> static ArrowExprContext<XQueryParser.UnaryExprContext,XQueryParser.EqNameContext, XQueryParser.VarRefContext, XQueryParser.ParenthesizedExprContext, XQueryParser.ArgumentListContext> final inthashCode()Returns a hash code value for this object.mainExpr()Returns the value of themainExprrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ArrowExprContext
public ArrowExprContext(MainExprCtx mainExpr, List<ArrowExprContext.ArrowCall<EqNameCtx, VarRefCtx, ParenthesizedExprCtx, ArgumentListCtx>> calls, org.antlr.v4.runtime.ParserRuleContext context) Creates an instance of aArrowExprContextrecord class.- Parameters:
mainExpr- the value for themainExprrecord componentcalls- the value for thecallsrecord componentcontext- the value for thecontextrecord component
-
-
Method Details
-
from
-
from
-
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). -
mainExpr
Returns the value of themainExprrecord component.- Returns:
- the value of the
mainExprrecord component
-
calls
public List<ArrowExprContext.ArrowCall<EqNameCtx,VarRefCtx, calls()ParenthesizedExprCtx, ArgumentListCtx>> Returns the value of thecallsrecord component.- Returns:
- the value of the
callsrecord component
-
context
public org.antlr.v4.runtime.ParserRuleContext context()Returns the value of thecontextrecord component.- Returns:
- the value of the
contextrecord component
-