EmbASP-CSharp
SPDGrammarLexer.cs
1 //------------------------------------------------------------------------------
2 // <auto-generated>
3 // This code was generated by a tool.
4 // ANTLR Version: 4.7
5 //
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
8 // </auto-generated>
9 //------------------------------------------------------------------------------
10 
11 // Generated from SPDGrammar.g4 by ANTLR 4.7
12 
13 // Unreachable code detected
14 #pragma warning disable 0162
15 // The variable '...' is assigned but its value is never used
16 #pragma warning disable 0219
17 // Missing XML comment for publicly visible type or member '...'
18 #pragma warning disable 1591
19 // Ambiguous reference in cref attribute
20 #pragma warning disable 419
21 
22 using System;
23 using System.IO;
24 using System.Text;
25 using Antlr4.Runtime;
26 using Antlr4.Runtime.Atn;
27 using Antlr4.Runtime.Misc;
28 using DFA = Antlr4.Runtime.Dfa.DFA;
29 
30 [System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.7")]
31 [System.CLSCompliant(false)]
32 public partial class SPDGrammarLexer : Lexer {
33  protected static DFA[] decisionToDFA;
34  protected static PredictionContextCache sharedContextCache = new PredictionContextCache();
35  public const int
36  T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, BOOLEAN=8, INTEGER=9,
37  STRING=10, WHITE_SPACE=11;
38  public static string[] channelNames = {
39  "DEFAULT_TOKEN_CHANNEL", "HIDDEN"
40  };
41 
42  public static string[] modeNames = {
43  "DEFAULT_MODE"
44  };
45 
46  public static readonly string[] ruleNames = {
47  "T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "BOOLEAN", "INTEGER",
48  "STRING", "WHITE_SPACE"
49  };
50 
51 
52  public SPDGrammarLexer(ICharStream input)
53  : this(input, Console.Out, Console.Error) { }
54 
55  public SPDGrammarLexer(ICharStream input, TextWriter output, TextWriter errorOutput)
56  : base(input, output, errorOutput)
57  {
58  Interpreter = new LexerATNSimulator(this, _ATN, decisionToDFA, sharedContextCache);
59  }
60 
61  private static readonly string[] _LiteralNames = {
62  null, "'['", "','", "']'", "'{'", "'}'", "':'", "'null'"
63  };
64  private static readonly string[] _SymbolicNames = {
65  null, null, null, null, null, null, null, null, "BOOLEAN", "INTEGER",
66  "STRING", "WHITE_SPACE"
67  };
68  public static readonly IVocabulary DefaultVocabulary = new Vocabulary(_LiteralNames, _SymbolicNames);
69 
70  [NotNull]
71  public override IVocabulary Vocabulary
72  {
73  get
74  {
75  return DefaultVocabulary;
76  }
77  }
78 
79  public override string GrammarFileName { get { return "SPDGrammar.g4"; } }
80 
81  public override string[] RuleNames { get { return ruleNames; } }
82 
83  public override string[] ChannelNames { get { return channelNames; } }
84 
85  public override string[] ModeNames { get { return modeNames; } }
86 
87  public override string SerializedAtn { get { return new string(_serializedATN); } }
88 
89  static SPDGrammarLexer() {
90  decisionToDFA = new DFA[_ATN.NumberOfDecisions];
91  for (int i = 0; i < _ATN.NumberOfDecisions; i++) {
92  decisionToDFA[i] = new DFA(_ATN.GetDecisionState(i), i);
93  }
94  }
95  private static char[] _serializedATN = {
96  '\x3', '\x608B', '\xA72A', '\x8133', '\xB9ED', '\x417C', '\x3BE7', '\x7786',
97  '\x5964', '\x2', '\r', 'N', '\b', '\x1', '\x4', '\x2', '\t', '\x2', '\x4',
98  '\x3', '\t', '\x3', '\x4', '\x4', '\t', '\x4', '\x4', '\x5', '\t', '\x5',
99  '\x4', '\x6', '\t', '\x6', '\x4', '\a', '\t', '\a', '\x4', '\b', '\t',
100  '\b', '\x4', '\t', '\t', '\t', '\x4', '\n', '\t', '\n', '\x4', '\v', '\t',
101  '\v', '\x4', '\f', '\t', '\f', '\x3', '\x2', '\x3', '\x2', '\x3', '\x3',
102  '\x3', '\x3', '\x3', '\x4', '\x3', '\x4', '\x3', '\x5', '\x3', '\x5',
103  '\x3', '\x6', '\x3', '\x6', '\x3', '\a', '\x3', '\a', '\x3', '\b', '\x3',
104  '\b', '\x3', '\b', '\x3', '\b', '\x3', '\b', '\x3', '\t', '\x3', '\t',
105  '\x3', '\t', '\x3', '\t', '\x3', '\t', '\x3', '\t', '\x3', '\t', '\x3',
106  '\t', '\x3', '\t', '\x5', '\t', '\x34', '\n', '\t', '\x3', '\n', '\x3',
107  '\n', '\x3', '\n', '\a', '\n', '\x39', '\n', '\n', '\f', '\n', '\xE',
108  '\n', '<', '\v', '\n', '\x5', '\n', '>', '\n', '\n', '\x3', '\v', '\x3',
109  '\v', '\x3', '\v', '\x3', '\v', '\a', '\v', '\x44', '\n', '\v', '\f',
110  '\v', '\xE', '\v', 'G', '\v', '\v', '\x3', '\v', '\x3', '\v', '\x3', '\f',
111  '\x3', '\f', '\x3', '\f', '\x3', '\f', '\x2', '\x2', '\r', '\x3', '\x3',
112  '\x5', '\x4', '\a', '\x5', '\t', '\x6', '\v', '\a', '\r', '\b', '\xF',
113  '\t', '\x11', '\n', '\x13', '\v', '\x15', '\f', '\x17', '\r', '\x3', '\x2',
114  '\x6', '\x3', '\x2', '\x33', ';', '\x3', '\x2', '\x32', ';', '\x3', '\x2',
115  '$', '$', '\x5', '\x2', '\v', '\f', '\xF', '\xF', '\"', '\"', '\x2', 'R',
116  '\x2', '\x3', '\x3', '\x2', '\x2', '\x2', '\x2', '\x5', '\x3', '\x2',
117  '\x2', '\x2', '\x2', '\a', '\x3', '\x2', '\x2', '\x2', '\x2', '\t', '\x3',
118  '\x2', '\x2', '\x2', '\x2', '\v', '\x3', '\x2', '\x2', '\x2', '\x2', '\r',
119  '\x3', '\x2', '\x2', '\x2', '\x2', '\xF', '\x3', '\x2', '\x2', '\x2',
120  '\x2', '\x11', '\x3', '\x2', '\x2', '\x2', '\x2', '\x13', '\x3', '\x2',
121  '\x2', '\x2', '\x2', '\x15', '\x3', '\x2', '\x2', '\x2', '\x2', '\x17',
122  '\x3', '\x2', '\x2', '\x2', '\x3', '\x19', '\x3', '\x2', '\x2', '\x2',
123  '\x5', '\x1B', '\x3', '\x2', '\x2', '\x2', '\a', '\x1D', '\x3', '\x2',
124  '\x2', '\x2', '\t', '\x1F', '\x3', '\x2', '\x2', '\x2', '\v', '!', '\x3',
125  '\x2', '\x2', '\x2', '\r', '#', '\x3', '\x2', '\x2', '\x2', '\xF', '%',
126  '\x3', '\x2', '\x2', '\x2', '\x11', '\x33', '\x3', '\x2', '\x2', '\x2',
127  '\x13', '=', '\x3', '\x2', '\x2', '\x2', '\x15', '?', '\x3', '\x2', '\x2',
128  '\x2', '\x17', 'J', '\x3', '\x2', '\x2', '\x2', '\x19', '\x1A', '\a',
129  ']', '\x2', '\x2', '\x1A', '\x4', '\x3', '\x2', '\x2', '\x2', '\x1B',
130  '\x1C', '\a', '.', '\x2', '\x2', '\x1C', '\x6', '\x3', '\x2', '\x2', '\x2',
131  '\x1D', '\x1E', '\a', '_', '\x2', '\x2', '\x1E', '\b', '\x3', '\x2', '\x2',
132  '\x2', '\x1F', ' ', '\a', '}', '\x2', '\x2', ' ', '\n', '\x3', '\x2',
133  '\x2', '\x2', '!', '\"', '\a', '\x7F', '\x2', '\x2', '\"', '\f', '\x3',
134  '\x2', '\x2', '\x2', '#', '$', '\a', '<', '\x2', '\x2', '$', '\xE', '\x3',
135  '\x2', '\x2', '\x2', '%', '&', '\a', 'p', '\x2', '\x2', '&', '\'', '\a',
136  'w', '\x2', '\x2', '\'', '(', '\a', 'n', '\x2', '\x2', '(', ')', '\a',
137  'n', '\x2', '\x2', ')', '\x10', '\x3', '\x2', '\x2', '\x2', '*', '+',
138  '\a', 'v', '\x2', '\x2', '+', ',', '\a', 't', '\x2', '\x2', ',', '-',
139  '\a', 'w', '\x2', '\x2', '-', '\x34', '\a', 'g', '\x2', '\x2', '.', '/',
140  '\a', 'h', '\x2', '\x2', '/', '\x30', '\a', '\x63', '\x2', '\x2', '\x30',
141  '\x31', '\a', 'n', '\x2', '\x2', '\x31', '\x32', '\a', 'u', '\x2', '\x2',
142  '\x32', '\x34', '\a', 'g', '\x2', '\x2', '\x33', '*', '\x3', '\x2', '\x2',
143  '\x2', '\x33', '.', '\x3', '\x2', '\x2', '\x2', '\x34', '\x12', '\x3',
144  '\x2', '\x2', '\x2', '\x35', '>', '\a', '\x32', '\x2', '\x2', '\x36',
145  ':', '\t', '\x2', '\x2', '\x2', '\x37', '\x39', '\t', '\x3', '\x2', '\x2',
146  '\x38', '\x37', '\x3', '\x2', '\x2', '\x2', '\x39', '<', '\x3', '\x2',
147  '\x2', '\x2', ':', '\x38', '\x3', '\x2', '\x2', '\x2', ':', ';', '\x3',
148  '\x2', '\x2', '\x2', ';', '>', '\x3', '\x2', '\x2', '\x2', '<', ':', '\x3',
149  '\x2', '\x2', '\x2', '=', '\x35', '\x3', '\x2', '\x2', '\x2', '=', '\x36',
150  '\x3', '\x2', '\x2', '\x2', '>', '\x14', '\x3', '\x2', '\x2', '\x2', '?',
151  '\x45', '\a', '$', '\x2', '\x2', '@', '\x44', '\n', '\x4', '\x2', '\x2',
152  '\x41', '\x42', '\a', '^', '\x2', '\x2', '\x42', '\x44', '\a', '$', '\x2',
153  '\x2', '\x43', '@', '\x3', '\x2', '\x2', '\x2', '\x43', '\x41', '\x3',
154  '\x2', '\x2', '\x2', '\x44', 'G', '\x3', '\x2', '\x2', '\x2', '\x45',
155  '\x43', '\x3', '\x2', '\x2', '\x2', '\x45', '\x46', '\x3', '\x2', '\x2',
156  '\x2', '\x46', 'H', '\x3', '\x2', '\x2', '\x2', 'G', '\x45', '\x3', '\x2',
157  '\x2', '\x2', 'H', 'I', '\a', '$', '\x2', '\x2', 'I', '\x16', '\x3', '\x2',
158  '\x2', '\x2', 'J', 'K', '\t', '\x5', '\x2', '\x2', 'K', 'L', '\x3', '\x2',
159  '\x2', '\x2', 'L', 'M', '\b', '\f', '\x2', '\x2', 'M', '\x18', '\x3',
160  '\x2', '\x2', '\x2', '\b', '\x2', '\x33', ':', '=', '\x43', '\x45', '\x3',
161  '\b', '\x2', '\x2',
162  };
163 
164  public static readonly ATN _ATN =
165  new ATNDeserializer().Deserialize(_serializedATN);
166 
167 
168 }
base
Definition: Callback.cs:1