Files
inkblot/InkBlot/Generated/InkBlotAntlrGrammarLexer.cs

121 lines
4.4 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.13.2
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
// Generated from E:/ProgettiUnity/InkAntlr/InkBlot/InkBlot/InkBlotAntlrGrammar.g4 by ANTLR 4.13.2
// Unreachable code detected
#pragma warning disable 0162
// The variable '...' is assigned but its value is never used
#pragma warning disable 0219
// Missing XML comment for publicly visible type or member '...'
#pragma warning disable 1591
// Ambiguous reference in cref attribute
#pragma warning disable 419
using System;
using System.IO;
using System.Text;
using Antlr4.Runtime;
using Antlr4.Runtime.Atn;
using Antlr4.Runtime.Misc;
using DFA = Antlr4.Runtime.Dfa.DFA;
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.13.2")]
[System.CLSCompliant(false)]
public partial class InkBlotAntlrGrammarLexer : Lexer {
protected static DFA[] decisionToDFA;
protected static PredictionContextCache sharedContextCache = new PredictionContextCache();
public const int
T__0=1, T__1=2, T__2=3, T__3=4, THREAD_ARROW=5, DIVERT_ARROW=6, TUNNEL_ARROW=7,
IDENTIFIER=8, WS=9, NL=10;
public static string[] channelNames = {
"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
};
public static string[] modeNames = {
"DEFAULT_MODE"
};
public static readonly string[] ruleNames = {
"T__0", "T__1", "T__2", "T__3", "THREAD_ARROW", "DIVERT_ARROW", "TUNNEL_ARROW",
"IDENTIFIER", "WS", "NL"
};
public InkBlotAntlrGrammarLexer(ICharStream input)
: this(input, Console.Out, Console.Error) { }
public InkBlotAntlrGrammarLexer(ICharStream input, TextWriter output, TextWriter errorOutput)
: base(input, output, errorOutput)
{
Interpreter = new LexerATNSimulator(this, _ATN, decisionToDFA, sharedContextCache);
}
private static readonly string[] _LiteralNames = {
null, "'.'", "'('", "','", "')'", "'<-'", "'->'", "'->->'"
};
private static readonly string[] _SymbolicNames = {
null, null, null, null, null, "THREAD_ARROW", "DIVERT_ARROW", "TUNNEL_ARROW",
"IDENTIFIER", "WS", "NL"
};
public static readonly IVocabulary DefaultVocabulary = new Vocabulary(_LiteralNames, _SymbolicNames);
[NotNull]
public override IVocabulary Vocabulary
{
get
{
return DefaultVocabulary;
}
}
public override string GrammarFileName { get { return "InkBlotAntlrGrammar.g4"; } }
public override string[] RuleNames { get { return ruleNames; } }
public override string[] ChannelNames { get { return channelNames; } }
public override string[] ModeNames { get { return modeNames; } }
public override int[] SerializedAtn { get { return _serializedATN; } }
static InkBlotAntlrGrammarLexer() {
decisionToDFA = new DFA[_ATN.NumberOfDecisions];
for (int i = 0; i < _ATN.NumberOfDecisions; i++) {
decisionToDFA[i] = new DFA(_ATN.GetDecisionState(i), i);
}
}
private static int[] _serializedATN = {
4,0,10,58,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,
2,7,7,7,2,8,7,8,2,9,7,9,1,0,1,0,1,1,1,1,1,2,1,2,1,3,1,3,1,4,1,4,1,4,1,
5,1,5,1,5,1,6,1,6,1,6,1,6,1,6,1,7,4,7,42,8,7,11,7,12,7,43,1,8,4,8,47,8,
8,11,8,12,8,48,1,9,3,9,52,8,9,1,9,3,9,55,8,9,1,9,1,9,0,0,10,1,1,3,2,5,
3,7,4,9,5,11,6,13,7,15,8,17,9,19,10,1,0,2,4,0,48,57,65,90,95,95,97,122,
2,0,9,9,32,32,61,0,1,1,0,0,0,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,
0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,
1,21,1,0,0,0,3,23,1,0,0,0,5,25,1,0,0,0,7,27,1,0,0,0,9,29,1,0,0,0,11,32,
1,0,0,0,13,35,1,0,0,0,15,41,1,0,0,0,17,46,1,0,0,0,19,51,1,0,0,0,21,22,
5,46,0,0,22,2,1,0,0,0,23,24,5,40,0,0,24,4,1,0,0,0,25,26,5,44,0,0,26,6,
1,0,0,0,27,28,5,41,0,0,28,8,1,0,0,0,29,30,5,60,0,0,30,31,5,45,0,0,31,10,
1,0,0,0,32,33,5,45,0,0,33,34,5,62,0,0,34,12,1,0,0,0,35,36,5,45,0,0,36,
37,5,62,0,0,37,38,5,45,0,0,38,39,5,62,0,0,39,14,1,0,0,0,40,42,7,0,0,0,
41,40,1,0,0,0,42,43,1,0,0,0,43,41,1,0,0,0,43,44,1,0,0,0,44,16,1,0,0,0,
45,47,7,1,0,0,46,45,1,0,0,0,47,48,1,0,0,0,48,46,1,0,0,0,48,49,1,0,0,0,
49,18,1,0,0,0,50,52,3,17,8,0,51,50,1,0,0,0,51,52,1,0,0,0,52,54,1,0,0,0,
53,55,5,13,0,0,54,53,1,0,0,0,54,55,1,0,0,0,55,56,1,0,0,0,56,57,5,10,0,
0,57,20,1,0,0,0,5,0,43,48,51,54,0
};
public static readonly ATN _ATN =
new ATNDeserializer().Deserialize(_serializedATN);
}