001// Generated from de/isas/lipidomics/palinom/SumFormula.g4 by ANTLR 4.7.2 002package de.isas.lipidomics.palinom; 003import org.antlr.v4.runtime.Lexer; 004import org.antlr.v4.runtime.CharStream; 005import org.antlr.v4.runtime.Token; 006import org.antlr.v4.runtime.TokenStream; 007import org.antlr.v4.runtime.*; 008import org.antlr.v4.runtime.atn.*; 009import org.antlr.v4.runtime.dfa.DFA; 010import org.antlr.v4.runtime.misc.*; 011 012@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"}) 013public class SumFormulaLexer extends Lexer { 014 static { RuntimeMetaData.checkVersion("4.7.2", RuntimeMetaData.VERSION); } 015 016 protected static final DFA[] _decisionToDFA; 017 protected static final PredictionContextCache _sharedContextCache = 018 new PredictionContextCache(); 019 public static final int 020 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, 021 T__9=10, T__10=11, T__11=12, T__12=13, T__13=14, T__14=15, T__15=16; 022 public static String[] channelNames = { 023 "DEFAULT_TOKEN_CHANNEL", "HIDDEN" 024 }; 025 026 public static String[] modeNames = { 027 "DEFAULT_MODE" 028 }; 029 030 private static String[] makeRuleNames() { 031 return new String[] { 032 "T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "T__8", 033 "T__9", "T__10", "T__11", "T__12", "T__13", "T__14", "T__15" 034 }; 035 } 036 public static final String[] ruleNames = makeRuleNames(); 037 038 private static String[] makeLiteralNames() { 039 return new String[] { 040 null, "'C'", "'H'", "'N'", "'O'", "'P'", "'S'", "'0'", "'1'", "'2'", 041 "'3'", "'4'", "'5'", "'6'", "'7'", "'8'", "'9'" 042 }; 043 } 044 private static final String[] _LITERAL_NAMES = makeLiteralNames(); 045 private static String[] makeSymbolicNames() { 046 return new String[] { 047 }; 048 } 049 private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames(); 050 public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES); 051 052 /** 053 * @deprecated Use {@link #VOCABULARY} instead. 054 */ 055 @Deprecated 056 public static final String[] tokenNames; 057 static { 058 tokenNames = new String[_SYMBOLIC_NAMES.length]; 059 for (int i = 0; i < tokenNames.length; i++) { 060 tokenNames[i] = VOCABULARY.getLiteralName(i); 061 if (tokenNames[i] == null) { 062 tokenNames[i] = VOCABULARY.getSymbolicName(i); 063 } 064 065 if (tokenNames[i] == null) { 066 tokenNames[i] = "<INVALID>"; 067 } 068 } 069 } 070 071 @Override 072 @Deprecated 073 public String[] getTokenNames() { 074 return tokenNames; 075 } 076 077 @Override 078 079 public Vocabulary getVocabulary() { 080 return VOCABULARY; 081 } 082 083 084 public SumFormulaLexer(CharStream input) { 085 super(input); 086 _interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache); 087 } 088 089 @Override 090 public String getGrammarFileName() { return "SumFormula.g4"; } 091 092 @Override 093 public String[] getRuleNames() { return ruleNames; } 094 095 @Override 096 public String getSerializedATN() { return _serializedATN; } 097 098 @Override 099 public String[] getChannelNames() { return channelNames; } 100 101 @Override 102 public String[] getModeNames() { return modeNames; } 103 104 @Override 105 public ATN getATN() { return _ATN; } 106 107 public static final String _serializedATN = 108 "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\22C\b\1\4\2\t\2\4"+ 109 "\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\t"+ 110 "\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\3\2\3\2\3"+ 111 "\3\3\3\3\4\3\4\3\5\3\5\3\6\3\6\3\7\3\7\3\b\3\b\3\t\3\t\3\n\3\n\3\13\3"+ 112 "\13\3\f\3\f\3\r\3\r\3\16\3\16\3\17\3\17\3\20\3\20\3\21\3\21\2\2\22\3\3"+ 113 "\5\4\7\5\t\6\13\7\r\b\17\t\21\n\23\13\25\f\27\r\31\16\33\17\35\20\37\21"+ 114 "!\22\3\2\2\2B\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\3\2"+ 115 "\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\2\2"+ 116 "\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!\3\2"+ 117 "\2\2\3#\3\2\2\2\5%\3\2\2\2\7\'\3\2\2\2\t)\3\2\2\2\13+\3\2\2\2\r-\3\2\2"+ 118 "\2\17/\3\2\2\2\21\61\3\2\2\2\23\63\3\2\2\2\25\65\3\2\2\2\27\67\3\2\2\2"+ 119 "\319\3\2\2\2\33;\3\2\2\2\35=\3\2\2\2\37?\3\2\2\2!A\3\2\2\2#$\7E\2\2$\4"+ 120 "\3\2\2\2%&\7J\2\2&\6\3\2\2\2\'(\7P\2\2(\b\3\2\2\2)*\7Q\2\2*\n\3\2\2\2"+ 121 "+,\7R\2\2,\f\3\2\2\2-.\7U\2\2.\16\3\2\2\2/\60\7\62\2\2\60\20\3\2\2\2\61"+ 122 "\62\7\63\2\2\62\22\3\2\2\2\63\64\7\64\2\2\64\24\3\2\2\2\65\66\7\65\2\2"+ 123 "\66\26\3\2\2\2\678\7\66\2\28\30\3\2\2\29:\7\67\2\2:\32\3\2\2\2;<\78\2"+ 124 "\2<\34\3\2\2\2=>\79\2\2>\36\3\2\2\2?@\7:\2\2@ \3\2\2\2AB\7;\2\2B\"\3\2"+ 125 "\2\2\3\2\2"; 126 public static final ATN _ATN = 127 new ATNDeserializer().deserialize(_serializedATN.toCharArray()); 128 static { 129 _decisionToDFA = new DFA[_ATN.getNumberOfDecisions()]; 130 for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) { 131 _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i); 132 } 133 } 134}