//------------------------------------------------------------------------------ // // 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. // //------------------------------------------------------------------------------ // 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 Whitespace=1, CONTENT_TEXT_NO_ESCAPE_SIMPLE=2; public static string[] channelNames = { "DEFAULT_TOKEN_CHANNEL", "HIDDEN" }; public static string[] modeNames = { "DEFAULT_MODE" }; public static readonly string[] ruleNames = { "Whitespace", "CONTENT_TEXT_NO_ESCAPE_SIMPLE" }; 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 = { }; private static readonly string[] _SymbolicNames = { null, "Whitespace", "CONTENT_TEXT_NO_ESCAPE_SIMPLE" }; 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); } } public override bool Sempred(RuleContext _localctx, int ruleIndex, int predIndex) { switch (ruleIndex) { case 1 : return CONTENT_TEXT_NO_ESCAPE_SIMPLE_sempred(_localctx, predIndex); } return true; } private bool CONTENT_TEXT_NO_ESCAPE_SIMPLE_sempred(RuleContext _localctx, int predIndex) { switch (predIndex) { case 0: return InputStream.LA(1) != '>' ; case 1: return InputStream.LA(1) != '-' && InputStream.LA(1) != '>' ; } return true; } private static int[] _serializedATN = { 4,0,2,21,6,-1,2,0,7,0,2,1,7,1,1,0,4,0,7,8,0,11,0,12,0,8,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,4,1,18,8,1,11,1,12,1,19,0,0,2,1,1,3,2,1,0,3,2,0,9,9,32,32, 5,0,10,10,13,13,35,60,92,92,123,125,1,0,0,65535,25,0,1,1,0,0,0,0,3,1,0, 0,0,1,6,1,0,0,0,3,17,1,0,0,0,5,7,7,0,0,0,6,5,1,0,0,0,7,8,1,0,0,0,8,6,1, 0,0,0,8,9,1,0,0,0,9,2,1,0,0,0,10,18,8,1,0,0,11,12,5,92,0,0,12,18,7,2,0, 0,13,14,5,45,0,0,14,18,4,1,0,0,15,16,5,60,0,0,16,18,4,1,1,0,17,10,1,0, 0,0,17,11,1,0,0,0,17,13,1,0,0,0,17,15,1,0,0,0,18,19,1,0,0,0,19,17,1,0, 0,0,19,20,1,0,0,0,20,4,1,0,0,0,4,0,8,17,19,0 }; public static readonly ATN _ATN = new ATNDeserializer().Deserialize(_serializedATN); }