1+ // Generated from /Users/afoucret/git/elasticsearch/x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.g4 by ANTLR 4.13.2
2+
3+ /*
4+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
5+ * or more contributor license agreements. Licensed under the Elastic License
6+ * 2.0; you may not use this file except in compliance with the Elastic License
7+ * 2.0.
8+ */
9+
10+ import org .antlr .v4 .runtime .Lexer ;
11+ import org .antlr .v4 .runtime .CharStream ;
12+ import org .antlr .v4 .runtime .Token ;
13+ import org .antlr .v4 .runtime .TokenStream ;
14+ import org .antlr .v4 .runtime .*;
15+ import org .antlr .v4 .runtime .atn .*;
16+ import org .antlr .v4 .runtime .dfa .DFA ;
17+ import org .antlr .v4 .runtime .misc .*;
18+
19+ @ SuppressWarnings ({"all" , "warnings" , "unchecked" , "unused" , "cast" , "CheckReturnValue" , "this-escape" })
20+ public class EsqlBaseLexer extends LexerConfig {
21+ static { RuntimeMetaData .checkVersion ("4.13.2" , RuntimeMetaData .VERSION ); }
22+
23+ protected static final DFA [] _decisionToDFA ;
24+ protected static final PredictionContextCache _sharedContextCache =
25+ new PredictionContextCache ();
26+ public static final int
27+ LINE_COMMENT =1 , MULTILINE_COMMENT =2 , WS =3 ;
28+ public static String [] channelNames = {
29+ "DEFAULT_TOKEN_CHANNEL" , "HIDDEN"
30+ };
31+
32+ public static String [] modeNames = {
33+ "DEFAULT_MODE"
34+ };
35+
36+ private static String [] makeRuleNames () {
37+ return new String [] {
38+ "LINE_COMMENT" , "MULTILINE_COMMENT" , "WS"
39+ };
40+ }
41+ public static final String [] ruleNames = makeRuleNames ();
42+
43+ private static String [] makeLiteralNames () {
44+ return new String [] {
45+ };
46+ }
47+ private static final String [] _LITERAL_NAMES = makeLiteralNames ();
48+ private static String [] makeSymbolicNames () {
49+ return new String [] {
50+ null , "LINE_COMMENT" , "MULTILINE_COMMENT" , "WS"
51+ };
52+ }
53+ private static final String [] _SYMBOLIC_NAMES = makeSymbolicNames ();
54+ public static final Vocabulary VOCABULARY = new VocabularyImpl (_LITERAL_NAMES , _SYMBOLIC_NAMES );
55+
56+ /**
57+ * @deprecated Use {@link #VOCABULARY} instead.
58+ */
59+ @ Deprecated
60+ public static final String [] tokenNames ;
61+ static {
62+ tokenNames = new String [_SYMBOLIC_NAMES .length ];
63+ for (int i = 0 ; i < tokenNames .length ; i ++) {
64+ tokenNames [i ] = VOCABULARY .getLiteralName (i );
65+ if (tokenNames [i ] == null ) {
66+ tokenNames [i ] = VOCABULARY .getSymbolicName (i );
67+ }
68+
69+ if (tokenNames [i ] == null ) {
70+ tokenNames [i ] = "<INVALID>" ;
71+ }
72+ }
73+ }
74+
75+ @ Override
76+ @ Deprecated
77+ public String [] getTokenNames () {
78+ return tokenNames ;
79+ }
80+
81+ @ Override
82+
83+ public Vocabulary getVocabulary () {
84+ return VOCABULARY ;
85+ }
86+
87+
88+ public EsqlBaseLexer (CharStream input ) {
89+ super (input );
90+ _interp = new LexerATNSimulator (this ,_ATN ,_decisionToDFA ,_sharedContextCache );
91+ }
92+
93+ @ Override
94+ public String getGrammarFileName () { return "EsqlBaseLexer.g4" ; }
95+
96+ @ Override
97+ public String [] getRuleNames () { return ruleNames ; }
98+
99+ @ Override
100+ public String getSerializedATN () { return _serializedATN ; }
101+
102+ @ Override
103+ public String [] getChannelNames () { return channelNames ; }
104+
105+ @ Override
106+ public String [] getModeNames () { return modeNames ; }
107+
108+ @ Override
109+ public ATN getATN () { return _ATN ; }
110+
111+ public static final String _serializedATN =
112+ "\u0004 \u0000 \u0003 .\u0006 \uffff \uffff \u0002 \u0000 \u0007 \u0000 \u0002 \u0001 " +
113+ "\u0007 \u0001 \u0002 \u0002 \u0007 \u0002 \u0001 \u0000 \u0001 \u0000 \u0001 \u0000 " +
114+ "\u0001 \u0000 \u0005 \u0000 \f \b \u0000 \n \u0000 \f \u0000 \u000f \t \u0000 \u0001 " +
115+ "\u0000 \u0003 \u0000 \u0012 \b \u0000 \u0001 \u0000 \u0003 \u0000 \u0015 \b \u0000 " +
116+ "\u0001 \u0000 \u0001 \u0000 \u0001 \u0001 \u0001 \u0001 \u0001 \u0001 \u0001 \u0001 " +
117+ "\u0001 \u0001 \u0005 \u0001 \u001e \b \u0001 \n \u0001 \f \u0001 !\t \u0001 \u0001 " +
118+ "\u0001 \u0001 \u0001 \u0001 \u0001 \u0001 \u0001 \u0001 \u0001 \u0001 \u0002 \u0004 " +
119+ "\u0002 )\b \u0002 \u000b \u0002 \f \u0002 *\u0001 \u0002 \u0001 \u0002 \u0001 \u001f " +
120+ "\u0000 \u0003 \u0001 \u0001 \u0003 \u0002 \u0005 \u0003 \u0001 \u0000 \u0002 \u0002 " +
121+ "\u0000 \n \n \r \r \u0003 \u0000 \t \n \r \r 3\u0000 \u0001 \u0001 \u0000 \u0000 \u0000 " +
122+ "\u0000 \u0003 \u0001 \u0000 \u0000 \u0000 \u0000 \u0005 \u0001 \u0000 \u0000 \u0000 " +
123+ "\u0001 \u0007 \u0001 \u0000 \u0000 \u0000 \u0003 \u0018 \u0001 \u0000 \u0000 \u0000 " +
124+ "\u0005 (\u0001 \u0000 \u0000 \u0000 \u0007 \b \u0005 /\u0000 \u0000 \b \t \u0005 /" +
125+ "\u0000 \u0000 \t \r \u0001 \u0000 \u0000 \u0000 \n \f \b \u0000 \u0000 \u0000 \u000b " +
126+ "\n \u0001 \u0000 \u0000 \u0000 \f \u000f \u0001 \u0000 \u0000 \u0000 \r \u000b \u0001 " +
127+ "\u0000 \u0000 \u0000 \r \u000e \u0001 \u0000 \u0000 \u0000 \u000e \u0011 \u0001 \u0000 " +
128+ "\u0000 \u0000 \u000f \r \u0001 \u0000 \u0000 \u0000 \u0010 \u0012 \u0005 \r \u0000 " +
129+ "\u0000 \u0011 \u0010 \u0001 \u0000 \u0000 \u0000 \u0011 \u0012 \u0001 \u0000 \u0000 " +
130+ "\u0000 \u0012 \u0014 \u0001 \u0000 \u0000 \u0000 \u0013 \u0015 \u0005 \n \u0000 \u0000 " +
131+ "\u0014 \u0013 \u0001 \u0000 \u0000 \u0000 \u0014 \u0015 \u0001 \u0000 \u0000 \u0000 " +
132+ "\u0015 \u0016 \u0001 \u0000 \u0000 \u0000 \u0016 \u0017 \u0006 \u0000 \u0000 \u0000 " +
133+ "\u0017 \u0002 \u0001 \u0000 \u0000 \u0000 \u0018 \u0019 \u0005 /\u0000 \u0000 \u0019 " +
134+ "\u001a \u0005 *\u0000 \u0000 \u001a \u001f \u0001 \u0000 \u0000 \u0000 \u001b \u001e " +
135+ "\u0003 \u0003 \u0001 \u0000 \u001c \u001e \t \u0000 \u0000 \u0000 \u001d \u001b \u0001 " +
136+ "\u0000 \u0000 \u0000 \u001d \u001c \u0001 \u0000 \u0000 \u0000 \u001e !\u0001 \u0000 " +
137+ "\u0000 \u0000 \u001f \u0001 \u0000 \u0000 \u0000 \u001f \u001d \u0001 \u0000 \u0000 " +
138+ "\u0000 \" \u0001 \u0000 \u0000 \u0000 !\u001f \u0001 \u0000 \u0000 \u0000 \" #\u0005 " +
139+ "*\u0000 \u0000 #$\u0005 /\u0000 \u0000 $%\u0001 \u0000 \u0000 \u0000 %&\u0006 \u0001 " +
140+ "\u0000 \u0000 &\u0004 \u0001 \u0000 \u0000 \u0000 \' )\u0007 \u0001 \u0000 \u0000 " +
141+ "(\' \u0001 \u0000 \u0000 \u0000 )*\u0001 \u0000 \u0000 \u0000 *(\u0001 \u0000 \u0000 " +
142+ "\u0000 *+\u0001 \u0000 \u0000 \u0000 +,\u0001 \u0000 \u0000 \u0000 ,-\u0006 \u0002 " +
143+ "\u0000 \u0000 -\u0006 \u0001 \u0000 \u0000 \u0000 \u0007 \u0000 \r \u0011 \u0014 " +
144+ "\u001d \u001f *\u0001 \u0000 \u0001 \u0000 " ;
145+ public static final ATN _ATN =
146+ new ATNDeserializer ().deserialize (_serializedATN .toCharArray ());
147+ static {
148+ _decisionToDFA = new DFA [_ATN .getNumberOfDecisions ()];
149+ for (int i = 0 ; i < _ATN .getNumberOfDecisions (); i ++) {
150+ _decisionToDFA [i ] = new DFA (_ATN .getDecisionState (i ), i );
151+ }
152+ }
153+ }
0 commit comments