-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump version to 4.13.0-SNAPSHOT in poms, regen XPath lexers.
Signed-off-by: Terence Parr <[email protected]>
- Loading branch information
Showing
14 changed files
with
129 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,53 @@ | ||
|
||
// Generated from XPathLexer.g4 by ANTLR 4.9.3 | ||
// Generated from XPathLexer.g4 by ANTLR 4.12.0 | ||
|
||
#pragma once | ||
|
||
|
||
#include "antlr4-runtime.h" | ||
|
||
|
||
|
||
|
||
class XPathLexer : public antlr4::Lexer { | ||
public: | ||
enum { | ||
TOKEN_REF = 1, RULE_REF = 2, ANYWHERE = 3, ROOT = 4, WILDCARD = 5, BANG = 6, | ||
TOKEN_REF = 1, RULE_REF = 2, ANYWHERE = 3, ROOT = 4, WILDCARD = 5, BANG = 6, | ||
ID = 7, STRING = 8 | ||
}; | ||
|
||
explicit XPathLexer(antlr4::CharStream *input); | ||
|
||
~XPathLexer() override; | ||
|
||
virtual std::string getGrammarFileName() const override; | ||
|
||
virtual const std::vector<std::string>& getRuleNames() const override; | ||
std::string getGrammarFileName() const override; | ||
|
||
const std::vector<std::string>& getRuleNames() const override; | ||
|
||
virtual const std::vector<std::string>& getChannelNames() const override; | ||
const std::vector<std::string>& getChannelNames() const override; | ||
|
||
virtual const std::vector<std::string>& getModeNames() const override; | ||
const std::vector<std::string>& getModeNames() const override; | ||
|
||
virtual const antlr4::dfa::Vocabulary& getVocabulary() const override; | ||
const antlr4::dfa::Vocabulary& getVocabulary() const override; | ||
|
||
virtual antlr4::atn::SerializedATNView getSerializedATN() const override; | ||
antlr4::atn::SerializedATNView getSerializedATN() const override; | ||
|
||
virtual const antlr4::atn::ATN& getATN() const override; | ||
const antlr4::atn::ATN& getATN() const override; | ||
|
||
virtual void action(antlr4::RuleContext *context, size_t ruleIndex, size_t actionIndex) override; | ||
void action(antlr4::RuleContext *context, size_t ruleIndex, size_t actionIndex) override; | ||
|
||
// By default the static state used to implement the lexer is lazily initialized during the first | ||
// call to the constructor. You can call this function if you wish to initialize the static state | ||
// ahead of time. | ||
static void initialize(); | ||
|
||
private: | ||
|
||
// Individual action functions triggered by action() above. | ||
void IDAction(antlr4::RuleContext *context, size_t actionIndex); | ||
|
||
// Individual semantic predicate functions triggered by sempred() above. | ||
|
||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.