]> gitweb.ps.run Git - toc/blob - gen/TocLexer.h
Initial commit
[toc] / gen / TocLexer.h
1 \r
2 // Generated from Toc.g4 by ANTLR 4.9.2\r
3 \r
4 #pragma once\r
5 \r
6 \r
7 #include "antlr4-runtime.h"\r
8 \r
9 \r
10 \r
11 \r
12 class  TocLexer : public antlr4::Lexer {\r
13 public:\r
14   enum {\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
19   };\r
20 \r
21   explicit TocLexer(antlr4::CharStream *input);\r
22   ~TocLexer();\r
23 \r
24   virtual std::string getGrammarFileName() const override;\r
25   virtual const std::vector<std::string>& getRuleNames() const override;\r
26 \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
31 \r
32   virtual const std::vector<uint16_t> getSerializedATN() const override;\r
33   virtual const antlr4::atn::ATN& getATN() const override;\r
34 \r
35 private:\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
42 \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
48 \r
49 \r
50   // Individual action functions triggered by action() above.\r
51 \r
52   // Individual semantic predicate functions triggered by sempred() above.\r
53 \r
54   struct Initializer {\r
55     Initializer();\r
56   };\r
57   static Initializer _init;\r
58 };\r
59 \r