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, POSTFIX_OP = 24, PREFIX_OP = 25,
\r
19 BINARY_OP = 26, INT_LIT = 27, DECIMAL_LIT = 28, STRING_LIT = 29, BOOL_LIT = 30,
\r
20 NAME = 31, WS = 32, NEWLINE = 33, NUMBER = 34
\r
23 explicit TocLexer(antlr4::CharStream *input);
\r
26 virtual std::string getGrammarFileName() const override;
\r
27 virtual const std::vector<std::string>& getRuleNames() const override;
\r
29 virtual const std::vector<std::string>& getChannelNames() const override;
\r
30 virtual const std::vector<std::string>& getModeNames() const override;
\r
31 virtual const std::vector<std::string>& getTokenNames() const override; // deprecated, use vocabulary instead
\r
32 virtual antlr4::dfa::Vocabulary& getVocabulary() const override;
\r
34 virtual const std::vector<uint16_t> getSerializedATN() const override;
\r
35 virtual const antlr4::atn::ATN& getATN() const override;
\r
38 static std::vector<antlr4::dfa::DFA> _decisionToDFA;
\r
39 static antlr4::atn::PredictionContextCache _sharedContextCache;
\r
40 static std::vector<std::string> _ruleNames;
\r
41 static std::vector<std::string> _tokenNames;
\r
42 static std::vector<std::string> _channelNames;
\r
43 static std::vector<std::string> _modeNames;
\r
45 static std::vector<std::string> _literalNames;
\r
46 static std::vector<std::string> _symbolicNames;
\r
47 static antlr4::dfa::Vocabulary _vocabulary;
\r
48 static antlr4::atn::ATN _atn;
\r
49 static std::vector<uint16_t> _serializedATN;
\r
52 // Individual action functions triggered by action() above.
\r
54 // Individual semantic predicate functions triggered by sempred() above.
\r
56 struct Initializer {
\r
59 static Initializer _init;
\r