1
2 package io.earcam.instrumental.module.osgi.parser;
3 import org.antlr.v4.runtime.Lexer;
4 import org.antlr.v4.runtime.CharStream;
5 import org.antlr.v4.runtime.Token;
6 import org.antlr.v4.runtime.TokenStream;
7 import org.antlr.v4.runtime.*;
8 import org.antlr.v4.runtime.atn.*;
9 import org.antlr.v4.runtime.dfa.DFA;
10 import org.antlr.v4.runtime.misc.*;
11
12 @SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
13 class ManifestLexer extends Lexer {
14 static { RuntimeMetaData.checkVersion("4.7.1", RuntimeMetaData.VERSION); }
15
16 protected static final DFA[] _decisionToDFA;
17 protected static final PredictionContextCache _sharedContextCache =
18 new PredictionContextCache();
19 public static final int
20 T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, T__8=9,
21 T__9=10, T__10=11, T__11=12, T__12=13, T__13=14, T__14=15, T__15=16, T__16=17,
22 T__17=18, T__18=19, T__19=20, T__20=21, T__21=22, T__22=23, Alpha=24,
23 AlphaNum=25, Number=26, Digit=27, Path=28, Extended=29, QuotedString=30,
24 NL=31, WS=32, UniqueName=33, Identifier=34, ANYCHAR=35;
25 public static String[] channelNames = {
26 "DEFAULT_TOKEN_CHANNEL", "HIDDEN"
27 };
28
29 public static String[] modeNames = {
30 "DEFAULT_MODE"
31 };
32
33 public static final String[] ruleNames = {
34 "T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "T__8",
35 "T__9", "T__10", "T__11", "T__12", "T__13", "T__14", "T__15", "T__16",
36 "T__17", "T__18", "T__19", "T__20", "T__21", "T__22", "Alpha", "AlphaNum",
37 "Number", "Digit", "Path", "Extended", "QuotedString", "NL", "WS", "UniqueName",
38 "Identifier", "JavaLetter", "JavaLetterOrDigit", "ANYCHAR"
39 };
40
41 private static final String[] _LITERAL_NAMES = {
42 null, "'Manifest-Version'", "': '", "'Bundle-ManifestVersion'", "'Bundle-Activator'",
43 "'Bundle-SymbolicName'", "';'", "'Fragment-Host'", "'DynamicImport-Package'",
44 "','", "'*'", "'Import-Package: '", "'Export-Package: '", "':='", "'='",
45 "'@'", "':'", "'&'", "'('", "')'", "'!'", "'~'", "'+'", "'$'"
46 };
47 private static final String[] _SYMBOLIC_NAMES = {
48 null, null, null, null, null, null, null, null, null, null, null, null,
49 null, null, null, null, null, null, null, null, null, null, null, null,
50 "Alpha", "AlphaNum", "Number", "Digit", "Path", "Extended", "QuotedString",
51 "NL", "WS", "UniqueName", "Identifier", "ANYCHAR"
52 };
53 public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
54
55
56
57
58 @Deprecated
59 public static final String[] tokenNames;
60 static {
61 tokenNames = new String[_SYMBOLIC_NAMES.length];
62 for (int i = 0; i < tokenNames.length; i++) {
63 tokenNames[i] = VOCABULARY.getLiteralName(i);
64 if (tokenNames[i] == null) {
65 tokenNames[i] = VOCABULARY.getSymbolicName(i);
66 }
67
68 if (tokenNames[i] == null) {
69 tokenNames[i] = "<INVALID>";
70 }
71 }
72 }
73
74 @Override
75 @Deprecated
76 public String[] getTokenNames() {
77 return tokenNames;
78 }
79
80 @Override
81
82 public Vocabulary getVocabulary() {
83 return VOCABULARY;
84 }
85
86
87 public ManifestLexer(CharStream input) {
88 super(input);
89 _interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
90 }
91
92 @Override
93 public String getGrammarFileName() { return "Manifest.g4"; }
94
95 @Override
96 public String[] getRuleNames() { return ruleNames; }
97
98 @Override
99 public String getSerializedATN() { return _serializedATN; }
100
101 @Override
102 public String[] getChannelNames() { return channelNames; }
103
104 @Override
105 public String[] getModeNames() { return modeNames; }
106
107 @Override
108 public ATN getATN() { return _ATN; }
109
110 @Override
111 public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) {
112 switch (ruleIndex) {
113 case 34:
114 return JavaLetter_sempred((RuleContext)_localctx, predIndex);
115 case 35:
116 return JavaLetterOrDigit_sempred((RuleContext)_localctx, predIndex);
117 }
118 return true;
119 }
120 private boolean JavaLetter_sempred(RuleContext _localctx, int predIndex) {
121 switch (predIndex) {
122 case 0:
123 return Character.isJavaIdentifierStart(_input.LA(-1));
124 case 1:
125 return Character.isJavaIdentifierStart(Character.toCodePoint((char)_input.LA(-2), (char)_input.LA(-1)));
126 }
127 return true;
128 }
129 private boolean JavaLetterOrDigit_sempred(RuleContext _localctx, int predIndex) {
130 switch (predIndex) {
131 case 2:
132 return Character.isJavaIdentifierPart(_input.LA(-1));
133 case 3:
134 return Character.isJavaIdentifierPart(Character.toCodePoint((char)_input.LA(-2), (char)_input.LA(-1)));
135 }
136 return true;
137 }
138
139 public static final String _serializedATN =
140 "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2%\u0158\b\1\4\2\t"+
141 "\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13"+
142 "\t\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22"+
143 "\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31\t\31"+
144 "\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36\t\36\4\37\t\37\4 \t \4!"+
145 "\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t&\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3"+
146 "\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\3\3\3\3\3\3\4\3\4\3\4\3\4\3\4\3\4"+
147 "\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3"+
148 "\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\6"+
149 "\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3"+
150 "\6\3\6\3\7\3\7\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b"+
151 "\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3"+
152 "\t\3\t\3\t\3\t\3\t\3\n\3\n\3\13\3\13\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3"+
153 "\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r"+
154 "\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\16\3\16\3\16\3\17\3\17\3\20\3\20\3"+
155 "\21\3\21\3\22\3\22\3\23\3\23\3\24\3\24\3\25\3\25\3\26\3\26\3\27\3\27\3"+
156 "\30\3\30\3\31\3\31\3\32\3\32\5\32\u0105\n\32\3\33\6\33\u0108\n\33\r\33"+
157 "\16\33\u0109\3\34\3\34\3\35\5\35\u010f\n\35\3\35\3\35\3\35\6\35\u0114"+
158 "\n\35\r\35\16\35\u0115\3\35\5\35\u0119\n\35\3\36\3\36\6\36\u011d\n\36"+
159 "\r\36\16\36\u011e\3\37\3\37\7\37\u0123\n\37\f\37\16\37\u0126\13\37\3\37"+
160 "\3\37\3 \3 \3 \5 \u012d\n \3!\6!\u0130\n!\r!\16!\u0131\3\"\3\"\3\"\3\""+
161 "\6\"\u0138\n\"\r\"\16\"\u0139\5\"\u013c\n\"\3#\3#\7#\u0140\n#\f#\16#\u0143"+
162 "\13#\3$\3$\3$\3$\3$\3$\5$\u014b\n$\3%\3%\3%\3%\3%\3%\5%\u0153\n%\3&\3"+
163 "&\5&\u0157\n&\2\2\'\3\3\5\4\7\5\t\6\13\7\r\b\17\t\21\n\23\13\25\f\27\r"+
164 "\31\16\33\17\35\20\37\21!\22#\23%\24\'\25)\26+\27-\30/\31\61\32\63\33"+
165 "\65\34\67\359\36;\37= ?!A\"C#E$G\2I\2K%\3\2\r\4\2C\\c|\3\2\62;\4\2/\60"+
166 "aa\7\2\2\2\f\f\17\17$$^^\5\2\13\13\16\16\"\"\6\2&&C\\aac|\4\2\2\u0081"+
167 "\ud802\udc01\3\2\ud802\udc01\3\2\udc02\ue001\7\2&&\62;C\\aac|\6\2*+.."+
168 "\61\61??\2\u0167\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\2\13"+
169 "\3\2\2\2\2\r\3\2\2\2\2\17\3\2\2\2\2\21\3\2\2\2\2\23\3\2\2\2\2\25\3\2\2"+
170 "\2\2\27\3\2\2\2\2\31\3\2\2\2\2\33\3\2\2\2\2\35\3\2\2\2\2\37\3\2\2\2\2"+
171 "!\3\2\2\2\2#\3\2\2\2\2%\3\2\2\2\2\'\3\2\2\2\2)\3\2\2\2\2+\3\2\2\2\2-\3"+
172 "\2\2\2\2/\3\2\2\2\2\61\3\2\2\2\2\63\3\2\2\2\2\65\3\2\2\2\2\67\3\2\2\2"+
173 "\29\3\2\2\2\2;\3\2\2\2\2=\3\2\2\2\2?\3\2\2\2\2A\3\2\2\2\2C\3\2\2\2\2E"+
174 "\3\2\2\2\2K\3\2\2\2\3M\3\2\2\2\5^\3\2\2\2\7a\3\2\2\2\tx\3\2\2\2\13\u0089"+
175 "\3\2\2\2\r\u009d\3\2\2\2\17\u009f\3\2\2\2\21\u00ad\3\2\2\2\23\u00c3\3"+
176 "\2\2\2\25\u00c5\3\2\2\2\27\u00c7\3\2\2\2\31\u00d8\3\2\2\2\33\u00e9\3\2"+
177 "\2\2\35\u00ec\3\2\2\2\37\u00ee\3\2\2\2!\u00f0\3\2\2\2#\u00f2\3\2\2\2%"+
178 "\u00f4\3\2\2\2\'\u00f6\3\2\2\2)\u00f8\3\2\2\2+\u00fa\3\2\2\2-\u00fc\3"+
179 "\2\2\2/\u00fe\3\2\2\2\61\u0100\3\2\2\2\63\u0104\3\2\2\2\65\u0107\3\2\2"+
180 "\2\67\u010b\3\2\2\29\u010e\3\2\2\2;\u011c\3\2\2\2=\u0120\3\2\2\2?\u012c"+
181 "\3\2\2\2A\u012f\3\2\2\2C\u013b\3\2\2\2E\u013d\3\2\2\2G\u014a\3\2\2\2I"+
182 "\u0152\3\2\2\2K\u0156\3\2\2\2MN\7O\2\2NO\7c\2\2OP\7p\2\2PQ\7k\2\2QR\7"+
183 "h\2\2RS\7g\2\2ST\7u\2\2TU\7v\2\2UV\7/\2\2VW\7X\2\2WX\7g\2\2XY\7t\2\2Y"+
184 "Z\7u\2\2Z[\7k\2\2[\\\7q\2\2\\]\7p\2\2]\4\3\2\2\2^_\7<\2\2_`\7\"\2\2`\6"+
185 "\3\2\2\2ab\7D\2\2bc\7w\2\2cd\7p\2\2de\7f\2\2ef\7n\2\2fg\7g\2\2gh\7/\2"+
186 "\2hi\7O\2\2ij\7c\2\2jk\7p\2\2kl\7k\2\2lm\7h\2\2mn\7g\2\2no\7u\2\2op\7"+
187 "v\2\2pq\7X\2\2qr\7g\2\2rs\7t\2\2st\7u\2\2tu\7k\2\2uv\7q\2\2vw\7p\2\2w"+
188 "\b\3\2\2\2xy\7D\2\2yz\7w\2\2z{\7p\2\2{|\7f\2\2|}\7n\2\2}~\7g\2\2~\177"+
189 "\7/\2\2\177\u0080\7C\2\2\u0080\u0081\7e\2\2\u0081\u0082\7v\2\2\u0082\u0083"+
190 "\7k\2\2\u0083\u0084\7x\2\2\u0084\u0085\7c\2\2\u0085\u0086\7v\2\2\u0086"+
191 "\u0087\7q\2\2\u0087\u0088\7t\2\2\u0088\n\3\2\2\2\u0089\u008a\7D\2\2\u008a"+
192 "\u008b\7w\2\2\u008b\u008c\7p\2\2\u008c\u008d\7f\2\2\u008d\u008e\7n\2\2"+
193 "\u008e\u008f\7g\2\2\u008f\u0090\7/\2\2\u0090\u0091\7U\2\2\u0091\u0092"+
194 "\7{\2\2\u0092\u0093\7o\2\2\u0093\u0094\7d\2\2\u0094\u0095\7q\2\2\u0095"+
195 "\u0096\7n\2\2\u0096\u0097\7k\2\2\u0097\u0098\7e\2\2\u0098\u0099\7P\2\2"+
196 "\u0099\u009a\7c\2\2\u009a\u009b\7o\2\2\u009b\u009c\7g\2\2\u009c\f\3\2"+
197 "\2\2\u009d\u009e\7=\2\2\u009e\16\3\2\2\2\u009f\u00a0\7H\2\2\u00a0\u00a1"+
198 "\7t\2\2\u00a1\u00a2\7c\2\2\u00a2\u00a3\7i\2\2\u00a3\u00a4\7o\2\2\u00a4"+
199 "\u00a5\7g\2\2\u00a5\u00a6\7p\2\2\u00a6\u00a7\7v\2\2\u00a7\u00a8\7/\2\2"+
200 "\u00a8\u00a9\7J\2\2\u00a9\u00aa\7q\2\2\u00aa\u00ab\7u\2\2\u00ab\u00ac"+
201 "\7v\2\2\u00ac\20\3\2\2\2\u00ad\u00ae\7F\2\2\u00ae\u00af\7{\2\2\u00af\u00b0"+
202 "\7p\2\2\u00b0\u00b1\7c\2\2\u00b1\u00b2\7o\2\2\u00b2\u00b3\7k\2\2\u00b3"+
203 "\u00b4\7e\2\2\u00b4\u00b5\7K\2\2\u00b5\u00b6\7o\2\2\u00b6\u00b7\7r\2\2"+
204 "\u00b7\u00b8\7q\2\2\u00b8\u00b9\7t\2\2\u00b9\u00ba\7v\2\2\u00ba\u00bb"+
205 "\7/\2\2\u00bb\u00bc\7R\2\2\u00bc\u00bd\7c\2\2\u00bd\u00be\7e\2\2\u00be"+
206 "\u00bf\7m\2\2\u00bf\u00c0\7c\2\2\u00c0\u00c1\7i\2\2\u00c1\u00c2\7g\2\2"+
207 "\u00c2\22\3\2\2\2\u00c3\u00c4\7.\2\2\u00c4\24\3\2\2\2\u00c5\u00c6\7,\2"+
208 "\2\u00c6\26\3\2\2\2\u00c7\u00c8\7K\2\2\u00c8\u00c9\7o\2\2\u00c9\u00ca"+
209 "\7r\2\2\u00ca\u00cb\7q\2\2\u00cb\u00cc\7t\2\2\u00cc\u00cd\7v\2\2\u00cd"+
210 "\u00ce\7/\2\2\u00ce\u00cf\7R\2\2\u00cf\u00d0\7c\2\2\u00d0\u00d1\7e\2\2"+
211 "\u00d1\u00d2\7m\2\2\u00d2\u00d3\7c\2\2\u00d3\u00d4\7i\2\2\u00d4\u00d5"+
212 "\7g\2\2\u00d5\u00d6\7<\2\2\u00d6\u00d7\7\"\2\2\u00d7\30\3\2\2\2\u00d8"+
213 "\u00d9\7G\2\2\u00d9\u00da\7z\2\2\u00da\u00db\7r\2\2\u00db\u00dc\7q\2\2"+
214 "\u00dc\u00dd\7t\2\2\u00dd\u00de\7v\2\2\u00de\u00df\7/\2\2\u00df\u00e0"+
215 "\7R\2\2\u00e0\u00e1\7c\2\2\u00e1\u00e2\7e\2\2\u00e2\u00e3\7m\2\2\u00e3"+
216 "\u00e4\7c\2\2\u00e4\u00e5\7i\2\2\u00e5\u00e6\7g\2\2\u00e6\u00e7\7<\2\2"+
217 "\u00e7\u00e8\7\"\2\2\u00e8\32\3\2\2\2\u00e9\u00ea\7<\2\2\u00ea\u00eb\7"+
218 "?\2\2\u00eb\34\3\2\2\2\u00ec\u00ed\7?\2\2\u00ed\36\3\2\2\2\u00ee\u00ef"+
219 "\7B\2\2\u00ef \3\2\2\2\u00f0\u00f1\7<\2\2\u00f1\"\3\2\2\2\u00f2\u00f3"+
220 "\7(\2\2\u00f3$\3\2\2\2\u00f4\u00f5\7*\2\2\u00f5&\3\2\2\2\u00f6\u00f7\7"+
221 "+\2\2\u00f7(\3\2\2\2\u00f8\u00f9\7#\2\2\u00f9*\3\2\2\2\u00fa\u00fb\7\u0080"+
222 "\2\2\u00fb,\3\2\2\2\u00fc\u00fd\7-\2\2\u00fd.\3\2\2\2\u00fe\u00ff\7&\2"+
223 "\2\u00ff\60\3\2\2\2\u0100\u0101\t\2\2\2\u0101\62\3\2\2\2\u0102\u0105\5"+
224 "\61\31\2\u0103\u0105\5\67\34\2\u0104\u0102\3\2\2\2\u0104\u0103\3\2\2\2"+
225 "\u0105\64\3\2\2\2\u0106\u0108\5\67\34\2\u0107\u0106\3\2\2\2\u0108\u0109"+
226 "\3\2\2\2\u0109\u0107\3\2\2\2\u0109\u010a\3\2\2\2\u010a\66\3\2\2\2\u010b"+
227 "\u010c\t\3\2\2\u010c8\3\2\2\2\u010d\u010f\7\61\2\2\u010e\u010d\3\2\2\2"+
228 "\u010e\u010f\3\2\2\2\u010f\u0110\3\2\2\2\u0110\u0113\5;\36\2\u0111\u0112"+
229 "\7\61\2\2\u0112\u0114\5;\36\2\u0113\u0111\3\2\2\2\u0114\u0115\3\2\2\2"+
230 "\u0115\u0113\3\2\2\2\u0115\u0116\3\2\2\2\u0116\u0118\3\2\2\2\u0117\u0119"+
231 "\7\61\2\2\u0118\u0117\3\2\2\2\u0118\u0119\3\2\2\2\u0119:\3\2\2\2\u011a"+
232 "\u011d\5\63\32\2\u011b\u011d\t\4\2\2\u011c\u011a\3\2\2\2\u011c\u011b\3"+
233 "\2\2\2\u011d\u011e\3\2\2\2\u011e\u011c\3\2\2\2\u011e\u011f\3\2\2\2\u011f"+
234 "<\3\2\2\2\u0120\u0124\7$\2\2\u0121\u0123\n\5\2\2\u0122\u0121\3\2\2\2\u0123"+
235 "\u0126\3\2\2\2\u0124\u0122\3\2\2\2\u0124\u0125\3\2\2\2\u0125\u0127\3\2"+
236 "\2\2\u0126\u0124\3\2\2\2\u0127\u0128\7$\2\2\u0128>\3\2\2\2\u0129\u012a"+
237 "\7\17\2\2\u012a\u012d\7\f\2\2\u012b\u012d\7\f\2\2\u012c\u0129\3\2\2\2"+
238 "\u012c\u012b\3\2\2\2\u012d@\3\2\2\2\u012e\u0130\t\6\2\2\u012f\u012e\3"+
239 "\2\2\2\u0130\u0131\3\2\2\2\u0131\u012f\3\2\2\2\u0131\u0132\3\2\2\2\u0132"+
240 "B\3\2\2\2\u0133\u013c\5E#\2\u0134\u0137\5E#\2\u0135\u0136\7\60\2\2\u0136"+
241 "\u0138\5E#\2\u0137\u0135\3\2\2\2\u0138\u0139\3\2\2\2\u0139\u0137\3\2\2"+
242 "\2\u0139\u013a\3\2\2\2\u013a\u013c\3\2\2\2\u013b\u0133\3\2\2\2\u013b\u0134"+
243 "\3\2\2\2\u013cD\3\2\2\2\u013d\u0141\5G$\2\u013e\u0140\5I%\2\u013f\u013e"+
244 "\3\2\2\2\u0140\u0143\3\2\2\2\u0141\u013f\3\2\2\2\u0141\u0142\3\2\2\2\u0142"+
245 "F\3\2\2\2\u0143\u0141\3\2\2\2\u0144\u014b\t\7\2\2\u0145\u0146\n\b\2\2"+
246 "\u0146\u014b\6$\2\2\u0147\u0148\t\t\2\2\u0148\u0149\t\n\2\2\u0149\u014b"+
247 "\6$\3\2\u014a\u0144\3\2\2\2\u014a\u0145\3\2\2\2\u014a\u0147\3\2\2\2\u014b"+
248 "H\3\2\2\2\u014c\u0153\t\13\2\2\u014d\u014e\n\b\2\2\u014e\u0153\6%\4\2"+
249 "\u014f\u0150\t\t\2\2\u0150\u0151\t\n\2\2\u0151\u0153\6%\5\2\u0152\u014c"+
250 "\3\2\2\2\u0152\u014d\3\2\2\2\u0152\u014f\3\2\2\2\u0153J\3\2\2\2\u0154"+
251 "\u0157\13\2\2\2\u0155\u0157\t\f\2\2\u0156\u0154\3\2\2\2\u0156\u0155\3"+
252 "\2\2\2\u0157L\3\2\2\2\23\2\u0104\u0109\u010e\u0115\u0118\u011c\u011e\u0124"+
253 "\u012c\u0131\u0139\u013b\u0141\u014a\u0152\u0156\2";
254 public static final ATN _ATN =
255 new ATNDeserializer().deserialize(_serializedATN.toCharArray());
256 static {
257 _decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
258 for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
259 _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
260 }
261 }
262 }