From 94ddc02e03ab942d0c881e29053e8df3d2940c30 Mon Sep 17 00:00:00 2001 From: Melodi <62381002+Melodi17@users.noreply.github.com> Date: Tue, 12 Aug 2025 07:41:29 +1000 Subject: WIP: added type specification, indexes and hex numerics --- Compiler/gen/CGrammarBaseVisitor.cs | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'Compiler/gen/CGrammarBaseVisitor.cs') diff --git a/Compiler/gen/CGrammarBaseVisitor.cs b/Compiler/gen/CGrammarBaseVisitor.cs index 9775583..857e6ff 100644 --- a/Compiler/gen/CGrammarBaseVisitor.cs +++ b/Compiler/gen/CGrammarBaseVisitor.cs @@ -417,6 +417,17 @@ public partial class CGrammarBaseVisitor : AbstractParseTreeVisitorThe visitor result. public virtual Result VisitLogicalAndExpression([NotNull] CGrammarParser.LogicalAndExpressionContext context) { return VisitChildren(context); } /// + /// Visit a parse tree produced by the indexExpression + /// labeled alternative in . + /// + /// The default implementation returns the result of calling + /// on . + /// + /// + /// The parse tree. + /// The visitor result. + public virtual Result VisitIndexExpression([NotNull] CGrammarParser.IndexExpressionContext context) { return VisitChildren(context); } + /// /// Visit a parse tree produced by the invertExpression /// labeled alternative in . /// @@ -692,6 +703,27 @@ public partial class CGrammarBaseVisitor : AbstractParseTreeVisitorThe visitor result. public virtual Result VisitIntConstant([NotNull] CGrammarParser.IntConstantContext context) { return VisitChildren(context); } /// + /// Visit a parse tree produced by the hexConstant + /// labeled alternative in . + /// + /// The default implementation returns the result of calling + /// on . + /// + /// + /// The parse tree. + /// The visitor result. + public virtual Result VisitHexConstant([NotNull] CGrammarParser.HexConstantContext context) { return VisitChildren(context); } + /// + /// Visit a parse tree produced by . + /// + /// The default implementation returns the result of calling + /// on . + /// + /// + /// The parse tree. + /// The visitor result. + public virtual Result VisitType([NotNull] CGrammarParser.TypeContext context) { return VisitChildren(context); } + /// /// Visit a parse tree produced by the variableTarget /// labeled alternative in . /// -- cgit v1.3.1