Record Class StatementsAndOptionalExprContext<StmtCtx extends org.antlr.v4.runtime.ParserRuleContext,ExprCtx extends org.antlr.v4.runtime.ParserRuleContext>

java.lang.Object
java.lang.Record
org.rumbledb.compiler.context.scripting.StatementsAndOptionalExprContext<StmtCtx,ExprCtx>

public record StatementsAndOptionalExprContext<StmtCtx extends org.antlr.v4.runtime.ParserRuleContext,ExprCtx extends org.antlr.v4.runtime.ParserRuleContext>(List<StmtCtx extends org.antlr.v4.runtime.ParserRuleContext> statements, ExprCtx extends org.antlr.v4.runtime.ParserRuleContext expr, org.antlr.v4.runtime.ParserRuleContext context) extends Record
  • Constructor Details

    • StatementsAndOptionalExprContext

      public StatementsAndOptionalExprContext(List<StmtCtx> statements, ExprCtx expr, org.antlr.v4.runtime.ParserRuleContext context)
      Creates an instance of a StatementsAndOptionalExprContext record class.
      Parameters:
      statements - the value for the statements record component
      expr - the value for the expr record component
      context - the value for the context record component
  • Method Details