#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(Node* node, Relationship* relationship, Pattern* next) : node(node), relationship(relationship), next(next) {} Node* node; Relationship* relationship; Pattern* next; }; } #endif