antlropencypher + youcompleteme update
Summary: antlropencypher + youcompleteme update Test Plan: manual Reviewers: mislav.bradac Reviewed By: mislav.bradac Subscribers: pullbot, mislav.bradac, buda Differential Revision: https://phabricator.memgraph.io/D52
This commit is contained in:
parent
68f57fa47d
commit
4583d8bde3
@ -261,7 +261,7 @@ add_custom_target(generate_opencypher_parser
|
||||
COMMAND
|
||||
${CMAKE_COMMAND} -E make_directory ${opencypher_generated}
|
||||
COMMAND
|
||||
java -jar ${CMAKE_SOURCE_DIR}/libs/antlr-4.6-complete.jar -Dlanguage=Cpp -visitor -o ${opencypher_generated} -package antlrcpptest ${opencypher_grammar}
|
||||
java -jar ${CMAKE_SOURCE_DIR}/libs/antlr-4.6-complete.jar -Dlanguage=Cpp -visitor -o ${opencypher_generated} -package antlropencypher ${opencypher_grammar}
|
||||
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
|
||||
DEPENDS ${opencypher_grammar}
|
||||
)
|
||||
|
@ -5,4 +5,4 @@
|
||||
|
||||
#include "CypherBaseListener.h"
|
||||
|
||||
using namespace antlrcpptest;
|
||||
using namespace antlropencypher;
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "CypherListener.h"
|
||||
|
||||
|
||||
namespace antlrcpptest {
|
||||
namespace antlropencypher {
|
||||
|
||||
/**
|
||||
* This class provides an empty implementation of CypherListener,
|
||||
@ -263,4 +263,4 @@ public:
|
||||
|
||||
};
|
||||
|
||||
} // namespace antlrcpptest
|
||||
} // namespace antlropencypher
|
||||
|
@ -5,4 +5,4 @@
|
||||
|
||||
#include "CypherBaseVisitor.h"
|
||||
|
||||
using namespace antlrcpptest;
|
||||
using namespace antlropencypher;
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "CypherVisitor.h"
|
||||
|
||||
|
||||
namespace antlrcpptest {
|
||||
namespace antlropencypher {
|
||||
|
||||
/**
|
||||
* This class provides an empty implementation of CypherVisitor, which can be
|
||||
@ -336,4 +336,4 @@ public:
|
||||
|
||||
};
|
||||
|
||||
} // namespace antlrcpptest
|
||||
} // namespace antlropencypher
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
using namespace antlr4;
|
||||
|
||||
using namespace antlrcpptest;
|
||||
using namespace antlropencypher;
|
||||
|
||||
CypherLexer::CypherLexer(CharStream* input) : Lexer(input) {
|
||||
_interpreter = new atn::LexerATNSimulator(this, _atn, _decisionToDFA,
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "antlr4-runtime.h"
|
||||
|
||||
|
||||
namespace antlrcpptest {
|
||||
namespace antlropencypher {
|
||||
|
||||
|
||||
class CypherLexer : public antlr4::Lexer {
|
||||
@ -73,4 +73,4 @@ private:
|
||||
static Initializer _init;
|
||||
};
|
||||
|
||||
} // namespace antlrcpptest
|
||||
} // namespace antlropencypher
|
||||
|
@ -5,4 +5,4 @@
|
||||
|
||||
#include "CypherListener.h"
|
||||
|
||||
using namespace antlrcpptest;
|
||||
using namespace antlropencypher;
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "CypherParser.h"
|
||||
|
||||
|
||||
namespace antlrcpptest {
|
||||
namespace antlropencypher {
|
||||
|
||||
/**
|
||||
* This interface defines an abstract listener for a parse tree produced by CypherParser.
|
||||
@ -256,4 +256,4 @@ public:
|
||||
|
||||
};
|
||||
|
||||
} // namespace antlrcpptest
|
||||
} // namespace antlropencypher
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include "CypherParser.h"
|
||||
|
||||
using namespace antlrcpp;
|
||||
using namespace antlrcpptest;
|
||||
using namespace antlropencypher;
|
||||
using namespace antlr4;
|
||||
|
||||
CypherParser::CypherParser(TokenStream *input) : Parser(input) {
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "antlr4-runtime.h"
|
||||
|
||||
|
||||
namespace antlrcpptest {
|
||||
namespace antlropencypher {
|
||||
|
||||
|
||||
class CypherParser : public antlr4::Parser {
|
||||
@ -1655,4 +1655,4 @@ private:
|
||||
static Initializer _init;
|
||||
};
|
||||
|
||||
} // namespace antlrcpptest
|
||||
} // namespace antlropencypher
|
||||
|
@ -5,4 +5,4 @@
|
||||
|
||||
#include "CypherVisitor.h"
|
||||
|
||||
using namespace antlrcpptest;
|
||||
using namespace antlropencypher;
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "CypherParser.h"
|
||||
|
||||
|
||||
namespace antlrcpptest {
|
||||
namespace antlropencypher {
|
||||
|
||||
/**
|
||||
* This class defines an abstract visitor for a parse tree
|
||||
@ -181,4 +181,4 @@ public:
|
||||
|
||||
};
|
||||
|
||||
} // namespace antlrcpptest
|
||||
} // namespace antlropencypher
|
||||
|
@ -9,7 +9,7 @@
|
||||
namespace frontend {
|
||||
namespace opencypher {
|
||||
|
||||
using namespace antlrcpptest;
|
||||
using namespace antlropencypher;
|
||||
using namespace antlr4;
|
||||
|
||||
/**
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include "query/frontend/opencypher/generated/CypherParser.h"
|
||||
|
||||
using namespace antlr4;
|
||||
using namespace antlrcpptest;
|
||||
using namespace antlropencypher;
|
||||
|
||||
/**
|
||||
* @brief QueryStripper
|
||||
|
Loading…
Reference in New Issue
Block a user