Record Class TryCatchStatementContext<BlockStmtCtx extends org.antlr.v4.runtime.ParserRuleContext,EqNameCtx extends org.antlr.v4.runtime.ParserRuleContext>

java.lang.Object
java.lang.Record
org.rumbledb.compiler.context.scripting.TryCatchStatementContext<BlockStmtCtx,EqNameCtx>

public record TryCatchStatementContext<BlockStmtCtx extends org.antlr.v4.runtime.ParserRuleContext,EqNameCtx extends org.antlr.v4.runtime.ParserRuleContext>(BlockStmtCtx extends org.antlr.v4.runtime.ParserRuleContext tryBlock, List<TryCatchStatementContext.Catch<BlockStmtCtx extends org.antlr.v4.runtime.ParserRuleContext,EqNameCtx extends org.antlr.v4.runtime.ParserRuleContext>> catches, org.antlr.v4.runtime.ParserRuleContext context) extends Record
  • Constructor Details

    • TryCatchStatementContext

      public TryCatchStatementContext(BlockStmtCtx tryBlock, List<TryCatchStatementContext.Catch<BlockStmtCtx,EqNameCtx>> catches, org.antlr.v4.runtime.ParserRuleContext context)
      Creates an instance of a TryCatchStatementContext record class.
      Parameters:
      tryBlock - the value for the tryBlock record component
      catches - the value for the catches record component
      context - the value for the context record component
  • Method Details