diff options
| author | Melodi <62381002+Melodi17@users.noreply.github.com> | 2025-08-12 07:41:29 +1000 |
|---|---|---|
| committer | Melodi <62381002+Melodi17@users.noreply.github.com> | 2025-08-12 07:41:29 +1000 |
| commit | 94ddc02e03ab942d0c881e29053e8df3d2940c30 (patch) | |
| tree | 4cd91b46b70a29ffd8a8247d68afd97d0852a0ce /Compiler/gen/CGrammarVisitor.cs | |
| parent | 252ad79d05e3805f7a8c990e19dccb373a2c5231 (diff) | |
WIP: added type specification, indexes and hex numerics
Diffstat (limited to 'Compiler/gen/CGrammarVisitor.cs')
| -rw-r--r-- | Compiler/gen/CGrammarVisitor.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Compiler/gen/CGrammarVisitor.cs b/Compiler/gen/CGrammarVisitor.cs index 0c4e8ae..9722229 100644 --- a/Compiler/gen/CGrammarVisitor.cs +++ b/Compiler/gen/CGrammarVisitor.cs @@ -274,6 +274,13 @@ public interface ICGrammarVisitor<Result> : IParseTreeVisitor<Result> { /// <return>The visitor result.</return> Result VisitLogicalAndExpression([NotNull] CGrammarParser.LogicalAndExpressionContext context); /// <summary> + /// Visit a parse tree produced by the <c>indexExpression</c> + /// labeled alternative in <see cref="CGrammarParser.expression"/>. + /// </summary> + /// <param name="context">The parse tree.</param> + /// <return>The visitor result.</return> + Result VisitIndexExpression([NotNull] CGrammarParser.IndexExpressionContext context); + /// <summary> /// Visit a parse tree produced by the <c>invertExpression</c> /// labeled alternative in <see cref="CGrammarParser.expression"/>. /// </summary> @@ -449,6 +456,19 @@ public interface ICGrammarVisitor<Result> : IParseTreeVisitor<Result> { /// <return>The visitor result.</return> Result VisitIntConstant([NotNull] CGrammarParser.IntConstantContext context); /// <summary> + /// Visit a parse tree produced by the <c>hexConstant</c> + /// labeled alternative in <see cref="CGrammarParser.constant"/>. + /// </summary> + /// <param name="context">The parse tree.</param> + /// <return>The visitor result.</return> + Result VisitHexConstant([NotNull] CGrammarParser.HexConstantContext context); + /// <summary> + /// Visit a parse tree produced by <see cref="CGrammarParser.type"/>. + /// </summary> + /// <param name="context">The parse tree.</param> + /// <return>The visitor result.</return> + Result VisitType([NotNull] CGrammarParser.TypeContext context); + /// <summary> /// Visit a parse tree produced by the <c>variableTarget</c> /// labeled alternative in <see cref="CGrammarParser.target"/>. /// </summary> |
