12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- #pragma once
- #include "Token.h"
- #include "atn/ATNConfig.h"
- #include "atn/PredictionContext.h"
- #include "support/BitSet.h"
- namespace antlr4 {
- namespace atn {
- class ANTLR4CPP_PUBLIC LL1Analyzer final {
- public:
-
-
- static constexpr size_t HIT_PRED = Token::INVALID_TYPE;
- explicit LL1Analyzer(const atn::ATN &atn) : _atn(atn) {}
-
-
-
-
-
-
-
-
-
- std::vector<misc::IntervalSet> getDecisionLookahead(ATNState *s) const;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- misc::IntervalSet LOOK(ATNState *s, RuleContext *ctx) const;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- misc::IntervalSet LOOK(ATNState *s, ATNState *stopState, RuleContext *ctx) const;
- private:
- const atn::ATN &_atn;
- };
- }
- }
|