memgraph/cypher/ast/pattern.hpp

23 lines
407 B
C++
Raw Normal View History

#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