EmbASP-CSharp
PDDLGrammarLexer.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 PDDLGrammar.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 PDDLGrammarLexer : Lexer {
33  protected static DFA[] decisionToDFA;
34  protected static PredictionContextCache sharedContextCache = new PredictionContextCache();
35  public const int
36  T__0=1, T__1=2, IDENTIFIER=3, SEPARATOR=4;
37  public static string[] channelNames = {
38  "DEFAULT_TOKEN_CHANNEL", "HIDDEN"
39  };
40 
41  public static string[] modeNames = {
42  "DEFAULT_MODE"
43  };
44 
45  public static readonly string[] ruleNames = {
46  "T__0", "T__1", "IDENTIFIER", "SEPARATOR"
47  };
48 
49 
50  public PDDLGrammarLexer(ICharStream input)
51  : this(input, Console.Out, Console.Error) { }
52 
53  public PDDLGrammarLexer(ICharStream input, TextWriter output, TextWriter errorOutput)
54  : base(input, output, errorOutput)
55  {
56  Interpreter = new LexerATNSimulator(this, _ATN, decisionToDFA, sharedContextCache);
57  }
58 
59  private static readonly string[] _LiteralNames = {
60  null, "'('", "')'"
61  };
62  private static readonly string[] _SymbolicNames = {
63  null, null, null, "IDENTIFIER", "SEPARATOR"
64  };
65  public static readonly IVocabulary DefaultVocabulary = new Vocabulary(_LiteralNames, _SymbolicNames);
66 
67  [NotNull]
68  public override IVocabulary Vocabulary
69  {
70  get
71  {
72  return DefaultVocabulary;
73  }
74  }
75 
76  public override string GrammarFileName { get { return "PDDLGrammar.g4"; } }
77 
78  public override string[] RuleNames { get { return ruleNames; } }
79 
80  public override string[] ChannelNames { get { return channelNames; } }
81 
82  public override string[] ModeNames { get { return modeNames; } }
83 
84  public override string SerializedAtn { get { return new string(_serializedATN); } }
85 
86  static PDDLGrammarLexer() {
87  decisionToDFA = new DFA[_ATN.NumberOfDecisions];
88  for (int i = 0; i < _ATN.NumberOfDecisions; i++) {
89  decisionToDFA[i] = new DFA(_ATN.GetDecisionState(i), i);
90  }
91  }
92  private static char[] _serializedATN = {
93  '\x3', '\x608B', '\xA72A', '\x8133', '\xB9ED', '\x417C', '\x3BE7', '\x7786',
94  '\x5964', '\x2', '\x6', '\x18', '\b', '\x1', '\x4', '\x2', '\t', '\x2',
95  '\x4', '\x3', '\t', '\x3', '\x4', '\x4', '\t', '\x4', '\x4', '\x5', '\t',
96  '\x5', '\x3', '\x2', '\x3', '\x2', '\x3', '\x3', '\x3', '\x3', '\x3',
97  '\x4', '\x6', '\x4', '\x11', '\n', '\x4', '\r', '\x4', '\xE', '\x4', '\x12',
98  '\x3', '\x5', '\x3', '\x5', '\x3', '\x5', '\x3', '\x5', '\x2', '\x2',
99  '\x6', '\x3', '\x3', '\x5', '\x4', '\a', '\x5', '\t', '\x6', '\x3', '\x2',
100  '\x4', '\a', '\x2', '/', '/', '\x32', ';', '\x43', '\\', '\x61', '\x61',
101  '\x63', '|', '\x5', '\x2', '\v', '\f', '\xF', '\xF', '\"', '\"', '\x2',
102  '\x18', '\x2', '\x3', '\x3', '\x2', '\x2', '\x2', '\x2', '\x5', '\x3',
103  '\x2', '\x2', '\x2', '\x2', '\a', '\x3', '\x2', '\x2', '\x2', '\x2', '\t',
104  '\x3', '\x2', '\x2', '\x2', '\x3', '\v', '\x3', '\x2', '\x2', '\x2', '\x5',
105  '\r', '\x3', '\x2', '\x2', '\x2', '\a', '\x10', '\x3', '\x2', '\x2', '\x2',
106  '\t', '\x14', '\x3', '\x2', '\x2', '\x2', '\v', '\f', '\a', '*', '\x2',
107  '\x2', '\f', '\x4', '\x3', '\x2', '\x2', '\x2', '\r', '\xE', '\a', '+',
108  '\x2', '\x2', '\xE', '\x6', '\x3', '\x2', '\x2', '\x2', '\xF', '\x11',
109  '\t', '\x2', '\x2', '\x2', '\x10', '\xF', '\x3', '\x2', '\x2', '\x2',
110  '\x11', '\x12', '\x3', '\x2', '\x2', '\x2', '\x12', '\x10', '\x3', '\x2',
111  '\x2', '\x2', '\x12', '\x13', '\x3', '\x2', '\x2', '\x2', '\x13', '\b',
112  '\x3', '\x2', '\x2', '\x2', '\x14', '\x15', '\t', '\x3', '\x2', '\x2',
113  '\x15', '\x16', '\x3', '\x2', '\x2', '\x2', '\x16', '\x17', '\b', '\x5',
114  '\x2', '\x2', '\x17', '\n', '\x3', '\x2', '\x2', '\x2', '\x4', '\x2',
115  '\x12', '\x3', '\b', '\x2', '\x2',
116  };
117 
118  public static readonly ATN _ATN =
119  new ATNDeserializer().Deserialize(_serializedATN);
120 
121 
122 }
base
Definition: Callback.cs:1