memgraph/cypher/ast/pattern.hpp
2015-09-13 11:34:17 +02:00

23 lines
407 B
C++

#ifndef MEMGRAPH_CYPHER_AST_PATTERN_HPP
#define MEMGRAPH_CYPHER_AST_PATTERN_HPP
#include "ast_node.hpp"
#include "relationship.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