tree-sitter/src/compiler/rules/seq.h

23 lines
404 B
C
Raw Normal View History

2014-03-09 22:05:17 -07:00
#ifndef COMPILER_RULES_SEQ_H_
#define COMPILER_RULES_SEQ_H_
2013-11-07 13:24:01 -08:00
#include <memory>
#include <vector>
2013-11-07 13:24:01 -08:00
namespace tree_sitter {
namespace rules {
2013-12-30 23:52:38 -08:00
struct Rule;
2013-12-18 20:58:05 -08:00
struct Seq {
std::shared_ptr<Rule> left;
std::shared_ptr<Rule> right;
Seq(const Rule &left, const Rule &right);
bool operator==(const Seq &other) const;
};
} // namespace rules
} // namespace tree_sitter
2013-11-07 13:24:01 -08:00
#endif // COMPILER_RULES_SEQ_H_