2 // Generated from Toc.g4 by ANTLR 4.9.2
\r
7 #include "antlr4-runtime.h"
\r
12 class TocLexer : public antlr4::Lexer {
\r
15 T__0 = 1, T__1 = 2, T__2 = 3, T__3 = 4, T__4 = 5, T__5 = 6, T__6 = 7,
\r
16 T__7 = 8, T__8 = 9, T__9 = 10, T__10 = 11, T__11 = 12, T__12 = 13, T__13 = 14,
\r
17 T__14 = 15, T__15 = 16, T__16 = 17, T__17 = 18, T__18 = 19, T__19 = 20,
\r
18 T__20 = 21, T__21 = 22, T__22 = 23, T__23 = 24, T__24 = 25, T__25 = 26,
\r
19 T__26 = 27, T__27 = 28, T__28 = 29, T__29 = 30, T__30 = 31, T__31 = 32,
\r
20 T__32 = 33, T__33 = 34, T__34 = 35, T__35 = 36, T__36 = 37, T__37 = 38,
\r
21 T__38 = 39, T__39 = 40, T__40 = 41, T__41 = 42, T__42 = 43, T__43 = 44,
\r
22 T__44 = 45, T__45 = 46, T__46 = 47, T__47 = 48, T__48 = 49, T__49 = 50,
\r
23 T__50 = 51, T__51 = 52, T__52 = 53, T__53 = 54, INT_LIT = 55, DECIMAL_LIT = 56,
\r
24 STRING_LIT = 57, BOOL_LIT = 58, NAME = 59, WS = 60, NEWLINE = 61, NUMBER = 62
\r
27 explicit TocLexer(antlr4::CharStream *input);
\r
30 virtual std::string getGrammarFileName() const override;
\r
31 virtual const std::vector<std::string>& getRuleNames() const override;
\r
33 virtual const std::vector<std::string>& getChannelNames() const override;
\r
34 virtual const std::vector<std::string>& getModeNames() const override;
\r
35 virtual const std::vector<std::string>& getTokenNames() const override; // deprecated, use vocabulary instead
\r
36 virtual antlr4::dfa::Vocabulary& getVocabulary() const override;
\r
38 virtual const std::vector<uint16_t> getSerializedATN() const override;
\r
39 virtual const antlr4::atn::ATN& getATN() const override;
\r
42 static std::vector<antlr4::dfa::DFA> _decisionToDFA;
\r
43 static antlr4::atn::PredictionContextCache _sharedContextCache;
\r
44 static std::vector<std::string> _ruleNames;
\r
45 static std::vector<std::string> _tokenNames;
\r
46 static std::vector<std::string> _channelNames;
\r
47 static std::vector<std::string> _modeNames;
\r
49 static std::vector<std::string> _literalNames;
\r
50 static std::vector<std::string> _symbolicNames;
\r
51 static antlr4::dfa::Vocabulary _vocabulary;
\r
52 static antlr4::atn::ATN _atn;
\r
53 static std::vector<uint16_t> _serializedATN;
\r
56 // Individual action functions triggered by action() above.
\r
58 // Individual semantic predicate functions triggered by sempred() above.
\r
60 struct Initializer {
\r
63 static Initializer _init;
\r