Skip to content

Commit

Permalink
Upgrade ANTLR to 4.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vignesh-jeevanandam committed May 20, 2024
1 parent 1ae631f commit 9fb5d99
Show file tree
Hide file tree
Showing 10 changed files with 1,508 additions and 2,076 deletions.
4 changes: 4 additions & 0 deletions Sources/AngouriMath/AngouriMath/AngouriMath.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@
<ItemGroup>
<Compile Remove="Core/Entity/GenericMath/**" Condition="'$(TargetFramework)' != 'net7.0'" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Antlr4.Runtime.Standard" Version="4.13.1" />
</ItemGroup>
</Project>

Large diffs are not rendered by default.

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.8
// 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 ./AngouriMath.g by ANTLR 4.8
// Generated from ./AngouriMath.g by ANTLR 4.13.1

// Unreachable code detected
#pragma warning disable 0162
Expand All @@ -21,15 +21,6 @@

namespace AngouriMath.Core.Antlr {

using System.Linq;
using AngouriMath;
using static AngouriMath.Core.Exceptions.FunctionArgumentCountException;
using static AngouriMath.Entity.Number;
using AngouriMath.Core.Exceptions;
using static AngouriMath.Entity.Set;
using static AngouriMath.Entity;


using Antlr4.Runtime.Misc;
using IErrorNode = Antlr4.Runtime.Tree.IErrorNode;
using ITerminalNode = Antlr4.Runtime.Tree.ITerminalNode;
Expand All @@ -41,7 +32,8 @@ namespace AngouriMath.Core.Antlr {
/// 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.8")]
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.13.1")]
[System.Diagnostics.DebuggerNonUserCode]
[System.CLSCompliant(false)]
internal partial class AngouriMathBaseListener : IAngouriMathListener {
/// <summary>
Expand Down
1,267 changes: 366 additions & 901 deletions Sources/AngouriMath/AngouriMath/Core/Antlr/AngouriMathLexer.cs

Large diffs are not rendered by default.

Large diffs are not rendered by default.

15 changes: 3 additions & 12 deletions Sources/AngouriMath/AngouriMath/Core/Antlr/AngouriMathListener.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.8
// 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 ./AngouriMath.g by ANTLR 4.8
// Generated from ./AngouriMath.g by ANTLR 4.13.1

// Unreachable code detected
#pragma warning disable 0162
Expand All @@ -20,15 +20,6 @@
#pragma warning disable 419

namespace AngouriMath.Core.Antlr {

using System.Linq;
using AngouriMath;
using static AngouriMath.Core.Exceptions.FunctionArgumentCountException;
using static AngouriMath.Entity.Number;
using AngouriMath.Core.Exceptions;
using static AngouriMath.Entity.Set;
using static AngouriMath.Entity;

using Antlr4.Runtime.Misc;
using IParseTreeListener = Antlr4.Runtime.Tree.IParseTreeListener;
using IToken = Antlr4.Runtime.IToken;
Expand All @@ -37,7 +28,7 @@ namespace AngouriMath.Core.Antlr {
/// This interface defines a complete listener for a parse tree produced by
/// <see cref="AngouriMathParser"/>.
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.8")]
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.13.1")]
[System.CLSCompliant(false)]
internal interface IAngouriMathListener : IParseTreeListener {
/// <summary>
Expand Down
Loading

0 comments on commit 9fb5d99

Please sign in to comment.