Record Class TransformExprContext<VarBindingCtx extends org.antlr.v4.runtime.ParserRuleContext,ExprSingleCtx extends org.antlr.v4.runtime.ParserRuleContext>
java.lang.Object
java.lang.Record
org.rumbledb.compiler.context.update.TransformExprContext<VarBindingCtx,ExprSingleCtx>
public record TransformExprContext<VarBindingCtx extends org.antlr.v4.runtime.ParserRuleContext,ExprSingleCtx extends org.antlr.v4.runtime.ParserRuleContext> (List<CopyDeclContext<VarBindingCtx extends org.antlr.v4.runtime.ParserRuleContext,ExprSingleCtx extends org.antlr.v4.runtime.ParserRuleContext>> copyDecl, ExprSingleCtx extends org.antlr.v4.runtime.ParserRuleContext modExpr, ExprSingleCtx extends org.antlr.v4.runtime.ParserRuleContext retExpr, org.antlr.v4.runtime.ParserRuleContext context)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTransformExprContext(List<CopyDeclContext<VarBindingCtx, ExprSingleCtx>> copyDecl, ExprSingleCtx modExpr, ExprSingleCtx retExpr, org.antlr.v4.runtime.ParserRuleContext context) Creates an instance of aTransformExprContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.antlr.v4.runtime.ParserRuleContextcontext()Returns the value of thecontextrecord component.copyDecl()Returns the value of thecopyDeclrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.modExpr()Returns the value of themodExprrecord component.retExpr()Returns the value of theretExprrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TransformExprContext
public TransformExprContext(List<CopyDeclContext<VarBindingCtx, ExprSingleCtx>> copyDecl, ExprSingleCtx modExpr, ExprSingleCtx retExpr, org.antlr.v4.runtime.ParserRuleContext context) Creates an instance of aTransformExprContextrecord class.- Parameters:
copyDecl- the value for thecopyDeclrecord componentmodExpr- the value for themodExprrecord componentretExpr- the value for theretExprrecord 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). -
copyDecl
Returns the value of thecopyDeclrecord component.- Returns:
- the value of the
copyDeclrecord component
-
modExpr
Returns the value of themodExprrecord component.- Returns:
- the value of the
modExprrecord component
-
retExpr
Returns the value of theretExprrecord component.- Returns:
- the value of the
retExprrecord component
-
context
public org.antlr.v4.runtime.ParserRuleContext context()Returns the value of thecontextrecord component.- Returns:
- the value of the
contextrecord component
-