Class BlockStatementTranslation
java.lang.Object
org.rumbledb.compiler.translation.scripting.BlockStatementTranslation
-
Method Summary
Modifier and TypeMethodDescriptionstatic <StatementsAndExprCtx extends org.antlr.v4.runtime.ParserRuleContext>
BlockExpressionblockExpr(BlockExprContext<StatementsAndExprCtx> ctx, TranslationContext translationContext, Function<StatementsAndExprCtx, StatementsAndExpr> visitStatementsAndExpr) static <StmtCtx extends org.antlr.v4.runtime.ParserRuleContext>
BlockStatementblockStatement(BlockStatementContext<StmtCtx> ctx, TranslationContext translationContext, Function<StmtCtx, Statement> visitStatement) static <StmtCtx extends org.antlr.v4.runtime.ParserRuleContext>
StatementsAndOptionalExprstatements(StatementsContext<StmtCtx> ctx, TranslationContext translationContext, Function<StmtCtx, Statement> visitStatement) static <StmtCtx extends org.antlr.v4.runtime.ParserRuleContext,ExprCtx extends org.antlr.v4.runtime.ParserRuleContext>
StatementsAndExprstatementsAndExpr(StatementsAndExprContext<StmtCtx, ExprCtx> ctx, TranslationContext translationContext, Function<StmtCtx, Statement> visitStatement, Function<ExprCtx, Expression> visitExpr) static <StmtCtx extends org.antlr.v4.runtime.ParserRuleContext,ExprCtx extends org.antlr.v4.runtime.ParserRuleContext>
StatementsAndOptionalExprstatementsAndOptionalExpr(StatementsAndOptionalExprContext<StmtCtx, ExprCtx> ctx, TranslationContext translationContext, Function<StmtCtx, Statement> visitStatement, Function<ExprCtx, Expression> visitExpr)
-
Method Details
-
statements
public static <StmtCtx extends org.antlr.v4.runtime.ParserRuleContext> StatementsAndOptionalExpr statements(StatementsContext<StmtCtx> ctx, TranslationContext translationContext, Function<StmtCtx, Statement> visitStatement) -
statementsAndExpr
public static <StmtCtx extends org.antlr.v4.runtime.ParserRuleContext,ExprCtx extends org.antlr.v4.runtime.ParserRuleContext> StatementsAndExpr statementsAndExpr(StatementsAndExprContext<StmtCtx, ExprCtx> ctx, TranslationContext translationContext, Function<StmtCtx, Statement> visitStatement, Function<ExprCtx, Expression> visitExpr) -
statementsAndOptionalExpr
public static <StmtCtx extends org.antlr.v4.runtime.ParserRuleContext,ExprCtx extends org.antlr.v4.runtime.ParserRuleContext> StatementsAndOptionalExpr statementsAndOptionalExpr(StatementsAndOptionalExprContext<StmtCtx, ExprCtx> ctx, TranslationContext translationContext, Function<StmtCtx, Statement> visitStatement, Function<ExprCtx, Expression> visitExpr) -
blockStatement
public static <StmtCtx extends org.antlr.v4.runtime.ParserRuleContext> BlockStatement blockStatement(BlockStatementContext<StmtCtx> ctx, TranslationContext translationContext, Function<StmtCtx, Statement> visitStatement) -
blockExpr
public static <StatementsAndExprCtx extends org.antlr.v4.runtime.ParserRuleContext> BlockExpression blockExpr(BlockExprContext<StatementsAndExprCtx> ctx, TranslationContext translationContext, Function<StatementsAndExprCtx, StatementsAndExpr> visitStatementsAndExpr)
-