Skip to content

Commit

Permalink
Updated example
Browse files Browse the repository at this point in the history
  • Loading branch information
ptr1120 committed Sep 25, 2023
1 parent ba83f39 commit 8936607
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"antlr4codegenerator.tool": {
"version": "2.1.0",
"version": "2.2.0",
"commands": [
"antlr4-tool"
]
Expand Down
6 changes: 3 additions & 3 deletions samples/Calculator/generated/calculatorBaseListener.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.12.0
// ANTLR Version: 4.13.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// Generated from calculator.g4 by ANTLR 4.12.0
// Generated from calculator.g4 by ANTLR 4.13.1

// Unreachable code detected
#pragma warning disable 0162
Expand All @@ -32,7 +32,7 @@ namespace MyCalculator {
/// which can be extended to create a listener which only needs to handle a subset
/// of the available methods.
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.12.0")]
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.13.1")]
[System.Diagnostics.DebuggerNonUserCode]
[System.CLSCompliant(false)]
public partial class calculatorBaseListener : IcalculatorListener {
Expand Down
6 changes: 3 additions & 3 deletions samples/Calculator/generated/calculatorBaseVisitor.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.12.0
// ANTLR Version: 4.13.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// Generated from calculator.g4 by ANTLR 4.12.0
// Generated from calculator.g4 by ANTLR 4.13.1

// Unreachable code detected
#pragma warning disable 0162
Expand All @@ -31,7 +31,7 @@ namespace MyCalculator {
/// of the available methods.
/// </summary>
/// <typeparam name="Result">The return type of the visit operation.</typeparam>
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.12.0")]
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.13.1")]
[System.Diagnostics.DebuggerNonUserCode]
[System.CLSCompliant(false)]
public partial class calculatorBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IcalculatorVisitor<Result> {
Expand Down
6 changes: 3 additions & 3 deletions samples/Calculator/generated/calculatorLexer.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.12.0
// ANTLR Version: 4.13.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// Generated from calculator.g4 by ANTLR 4.12.0
// Generated from calculator.g4 by ANTLR 4.13.1

// Unreachable code detected
#pragma warning disable 0162
Expand All @@ -28,7 +28,7 @@ namespace MyCalculator {
using Antlr4.Runtime.Misc;
using DFA = Antlr4.Runtime.Dfa.DFA;

[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.12.0")]
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.13.1")]
[System.CLSCompliant(false)]
public partial class calculatorLexer : Lexer {
protected static DFA[] decisionToDFA;
Expand Down
6 changes: 3 additions & 3 deletions samples/Calculator/generated/calculatorListener.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.12.0
// ANTLR Version: 4.13.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// Generated from calculator.g4 by ANTLR 4.12.0
// Generated from calculator.g4 by ANTLR 4.13.1

// Unreachable code detected
#pragma warning disable 0162
Expand All @@ -28,7 +28,7 @@ namespace MyCalculator {
/// This interface defines a complete listener for a parse tree produced by
/// <see cref="calculatorParser"/>.
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.12.0")]
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.13.1")]
[System.CLSCompliant(false)]
public interface IcalculatorListener : IParseTreeListener {
/// <summary>
Expand Down
6 changes: 3 additions & 3 deletions samples/Calculator/generated/calculatorParser.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.12.0
// ANTLR Version: 4.13.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// Generated from calculator.g4 by ANTLR 4.12.0
// Generated from calculator.g4 by ANTLR 4.13.1

// Unreachable code detected
#pragma warning disable 0162
Expand All @@ -31,7 +31,7 @@ namespace MyCalculator {
using Antlr4.Runtime.Tree;
using DFA = Antlr4.Runtime.Dfa.DFA;

[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.12.0")]
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.13.1")]
[System.CLSCompliant(false)]
public partial class calculatorParser : Parser {
protected static DFA[] decisionToDFA;
Expand Down
6 changes: 3 additions & 3 deletions samples/Calculator/generated/calculatorVisitor.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.12.0
// ANTLR Version: 4.13.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// Generated from calculator.g4 by ANTLR 4.12.0
// Generated from calculator.g4 by ANTLR 4.13.1

// Unreachable code detected
#pragma warning disable 0162
Expand All @@ -29,7 +29,7 @@ namespace MyCalculator {
/// by <see cref="calculatorParser"/>.
/// </summary>
/// <typeparam name="Result">The return type of the visit operation.</typeparam>
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.12.0")]
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.13.1")]
[System.CLSCompliant(false)]
public interface IcalculatorVisitor<Result> : IParseTreeVisitor<Result> {
/// <summary>
Expand Down

0 comments on commit 8936607

Please sign in to comment.