#ifndef __tree_sitter__seq__ #define __tree_sitter__seq__ #include "rule.h" namespace tree_sitter { namespace rules { class Seq : public Rule { public: Seq(const Rule &left, const Rule &right); Seq(std::shared_ptr left, std::shared_ptr right); TransitionMap transitions() const; Seq * copy() const; bool operator==(const Rule& other) const; std::string to_string() const; private: rule_ptr left; rule_ptr right; }; } } #endif