memgraph/cypher/ast/pattern.hpp
2015-10-18 19:44:00 +02:00

24 lines
427 B
C++

#ifndef MEMGRAPH_CYPHER_AST_PATTERN_HPP
#define MEMGRAPH_CYPHER_AST_PATTERN_HPP
#include "ast_node.hpp"
#include "relationship.hpp"
#include "node.hpp"
namespace ast
{
struct Pattern : public AstNode<Pattern>
{
Pattern(Node* node, Relationship* relationship, Pattern* next)
: node(node), relationship(relationship), next(next) {}
Node* node;
Relationship* relationship;
Pattern* next;
};
}
#endif