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:
Marko Budiselic 2017-02-20 14:01:36 +01:00
parent 68f57fa47d
commit 4583d8bde3
15 changed files with 21 additions and 21 deletions

View File

@ -261,7 +261,7 @@ add_custom_target(generate_opencypher_parser
COMMAND COMMAND
${CMAKE_COMMAND} -E make_directory ${opencypher_generated} ${CMAKE_COMMAND} -E make_directory ${opencypher_generated}
COMMAND 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}" WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
DEPENDS ${opencypher_grammar} DEPENDS ${opencypher_grammar}
) )

View File

@ -5,4 +5,4 @@
#include "CypherBaseListener.h" #include "CypherBaseListener.h"
using namespace antlrcpptest; using namespace antlropencypher;

View File

@ -8,7 +8,7 @@
#include "CypherListener.h" #include "CypherListener.h"
namespace antlrcpptest { namespace antlropencypher {
/** /**
* This class provides an empty implementation of CypherListener, * This class provides an empty implementation of CypherListener,
@ -263,4 +263,4 @@ public:
}; };
} // namespace antlrcpptest } // namespace antlropencypher

View File

@ -5,4 +5,4 @@
#include "CypherBaseVisitor.h" #include "CypherBaseVisitor.h"
using namespace antlrcpptest; using namespace antlropencypher;

View File

@ -8,7 +8,7 @@
#include "CypherVisitor.h" #include "CypherVisitor.h"
namespace antlrcpptest { namespace antlropencypher {
/** /**
* This class provides an empty implementation of CypherVisitor, which can be * This class provides an empty implementation of CypherVisitor, which can be
@ -336,4 +336,4 @@ public:
}; };
} // namespace antlrcpptest } // namespace antlropencypher

View File

@ -7,7 +7,7 @@
using namespace antlr4; using namespace antlr4;
using namespace antlrcpptest; using namespace antlropencypher;
CypherLexer::CypherLexer(CharStream* input) : Lexer(input) { CypherLexer::CypherLexer(CharStream* input) : Lexer(input) {
_interpreter = new atn::LexerATNSimulator(this, _atn, _decisionToDFA, _interpreter = new atn::LexerATNSimulator(this, _atn, _decisionToDFA,

View File

@ -7,7 +7,7 @@
#include "antlr4-runtime.h" #include "antlr4-runtime.h"
namespace antlrcpptest { namespace antlropencypher {
class CypherLexer : public antlr4::Lexer { class CypherLexer : public antlr4::Lexer {
@ -73,4 +73,4 @@ private:
static Initializer _init; static Initializer _init;
}; };
} // namespace antlrcpptest } // namespace antlropencypher

View File

@ -5,4 +5,4 @@
#include "CypherListener.h" #include "CypherListener.h"
using namespace antlrcpptest; using namespace antlropencypher;

View File

@ -8,7 +8,7 @@
#include "CypherParser.h" #include "CypherParser.h"
namespace antlrcpptest { namespace antlropencypher {
/** /**
* This interface defines an abstract listener for a parse tree produced by CypherParser. * This interface defines an abstract listener for a parse tree produced by CypherParser.
@ -256,4 +256,4 @@ public:
}; };
} // namespace antlrcpptest } // namespace antlropencypher

View File

@ -9,7 +9,7 @@
#include "CypherParser.h" #include "CypherParser.h"
using namespace antlrcpp; using namespace antlrcpp;
using namespace antlrcpptest; using namespace antlropencypher;
using namespace antlr4; using namespace antlr4;
CypherParser::CypherParser(TokenStream *input) : Parser(input) { CypherParser::CypherParser(TokenStream *input) : Parser(input) {

View File

@ -7,7 +7,7 @@
#include "antlr4-runtime.h" #include "antlr4-runtime.h"
namespace antlrcpptest { namespace antlropencypher {
class CypherParser : public antlr4::Parser { class CypherParser : public antlr4::Parser {
@ -1655,4 +1655,4 @@ private:
static Initializer _init; static Initializer _init;
}; };
} // namespace antlrcpptest } // namespace antlropencypher

View File

@ -5,4 +5,4 @@
#include "CypherVisitor.h" #include "CypherVisitor.h"
using namespace antlrcpptest; using namespace antlropencypher;

View File

@ -8,7 +8,7 @@
#include "CypherParser.h" #include "CypherParser.h"
namespace antlrcpptest { namespace antlropencypher {
/** /**
* This class defines an abstract visitor for a parse tree * This class defines an abstract visitor for a parse tree
@ -181,4 +181,4 @@ public:
}; };
} // namespace antlrcpptest } // namespace antlropencypher

View File

@ -9,7 +9,7 @@
namespace frontend { namespace frontend {
namespace opencypher { namespace opencypher {
using namespace antlrcpptest; using namespace antlropencypher;
using namespace antlr4; using namespace antlr4;
/** /**

View File

@ -19,7 +19,7 @@
#include "query/frontend/opencypher/generated/CypherParser.h" #include "query/frontend/opencypher/generated/CypherParser.h"
using namespace antlr4; using namespace antlr4;
using namespace antlrcpptest; using namespace antlropencypher;
/** /**
* @brief QueryStripper * @brief QueryStripper