Record Class FlworStatementContext<ForClauseCtx extends org.antlr.v4.runtime.ParserRuleContext,LetClauseCtx extends org.antlr.v4.runtime.ParserRuleContext,StmtCtx extends org.antlr.v4.runtime.ParserRuleContext>
java.lang.Object
java.lang.Record
org.rumbledb.compiler.context.scripting.FlworStatementContext<ForClauseCtx,LetClauseCtx,StmtCtx>
public record FlworStatementContext<ForClauseCtx extends org.antlr.v4.runtime.ParserRuleContext,LetClauseCtx extends org.antlr.v4.runtime.ParserRuleContext,StmtCtx extends org.antlr.v4.runtime.ParserRuleContext> (ForClauseCtx extends org.antlr.v4.runtime.ParserRuleContext startFor, LetClauseCtx extends org.antlr.v4.runtime.ParserRuleContext startLet, List<org.antlr.v4.runtime.tree.ParseTree> intermediateClauses, StmtCtx extends org.antlr.v4.runtime.ParserRuleContext returnStmt, org.antlr.v4.runtime.ParserRuleContext context)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFlworStatementContext(ForClauseCtx startFor, LetClauseCtx startLet, List<org.antlr.v4.runtime.tree.ParseTree> intermediateClauses, StmtCtx returnStmt, org.antlr.v4.runtime.ParserRuleContext context) Creates an instance of aFlworStatementContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.antlr.v4.runtime.ParserRuleContextcontext()Returns the value of thecontextrecord component.final booleanIndicates whether some other object is "equal to" this one.static FlworStatementContext<JsoniqParser.ForClauseContext,JsoniqParser.LetClauseContext, JsoniqParser.StatementContext> static FlworStatementContext<XQueryParser.ForClauseContext,XQueryParser.LetClauseContext, XQueryParser.StatementContext> final inthashCode()Returns a hash code value for this object.List<org.antlr.v4.runtime.tree.ParseTree>Returns the value of theintermediateClausesrecord component.Returns the value of thereturnStmtrecord component.startFor()Returns the value of thestartForrecord component.startLet()Returns the value of thestartLetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FlworStatementContext
public FlworStatementContext(ForClauseCtx startFor, LetClauseCtx startLet, List<org.antlr.v4.runtime.tree.ParseTree> intermediateClauses, StmtCtx returnStmt, org.antlr.v4.runtime.ParserRuleContext context) Creates an instance of aFlworStatementContextrecord class.- Parameters:
startFor- the value for thestartForrecord componentstartLet- the value for thestartLetrecord componentintermediateClauses- the value for theintermediateClausesrecord componentreturnStmt- the value for thereturnStmtrecord 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). -
startFor
Returns the value of thestartForrecord component.- Returns:
- the value of the
startForrecord component
-
startLet
Returns the value of thestartLetrecord component.- Returns:
- the value of the
startLetrecord component
-
intermediateClauses
Returns the value of theintermediateClausesrecord component.- Returns:
- the value of the
intermediateClausesrecord component
-
returnStmt
Returns the value of thereturnStmtrecord component.- Returns:
- the value of the
returnStmtrecord component
-
context
public org.antlr.v4.runtime.ParserRuleContext context()Returns the value of thecontextrecord component.- Returns:
- the value of the
contextrecord component
-