23 lines
343 B
C++
23 lines
343 B
C++
#ifndef MEMGRAPH_CYPHER_AST_MATCH_HPP
|
|
#define MEMGRAPH_CYPHER_AST_MATCH_HPP
|
|
|
|
#include "ast_node.hpp"
|
|
#include "pattern.hpp"
|
|
#include "where.hpp"
|
|
|
|
namespace ast
|
|
{
|
|
|
|
struct Match : public AstNode<Match>
|
|
{
|
|
Match(Pattern* pattern, Where* where)
|
|
: pattern(pattern), where(where) {}
|
|
|
|
Pattern* pattern;
|
|
Where* where;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|