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, BINARY_OPERATOR = 17, INTLIT = 18, NAME = 19,
\r
18 WS = 20, NEWLINE = 21
\r
21 explicit TocLexer(antlr4::CharStream *input);
\r
24 virtual std::string getGrammarFileName() const override;
\r
25 virtual const std::vector<std::string>& getRuleNames() const override;
\r
27 virtual const std::vector<std::string>& getChannelNames() const override;
\r
28 virtual const std::vector<std::string>& getModeNames() const override;
\r
29 virtual const std::vector<std::string>& getTokenNames() const override; // deprecated, use vocabulary instead
\r
30 virtual antlr4::dfa::Vocabulary& getVocabulary() const override;
\r
32 virtual const std::vector<uint16_t> getSerializedATN() const override;
\r
33 virtual const antlr4::atn::ATN& getATN() const override;
\r
36 static std::vector<antlr4::dfa::DFA> _decisionToDFA;
\r
37 static antlr4::atn::PredictionContextCache _sharedContextCache;
\r
38 static std::vector<std::string> _ruleNames;
\r
39 static std::vector<std::string> _tokenNames;
\r
40 static std::vector<std::string> _channelNames;
\r
41 static std::vector<std::string> _modeNames;
\r
43 static std::vector<std::string> _literalNames;
\r
44 static std::vector<std::string> _symbolicNames;
\r
45 static antlr4::dfa::Vocabulary _vocabulary;
\r
46 static antlr4::atn::ATN _atn;
\r
47 static std::vector<uint16_t> _serializedATN;
\r
50 // Individual action functions triggered by action() above.
\r
52 // Individual semantic predicate functions triggered by sempred() above.
\r
54 struct Initializer {
\r
57 static Initializer _init;
\r