memgraph/cypher/ast/pattern.hpp
2015-12-07 21:51:55 +01:00

21 lines
352 B
C++

#pragma once
#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;
};
}