Sha256: d0e4ba1c603ac26f28f3368e8942f506b29419ee9204641bcbd133a11358518f
Contents?: true
Size: 407 Bytes
Versions: 1
Compression:
Stored size: 407 Bytes
Contents
#include "compiler/rules/seq.h" #include "compiler/rule.h" namespace tree_sitter { namespace rules { Seq::Seq(const Rule &left, const Rule &right) : left(std::make_shared<Rule>(left)), right(std::make_shared<Rule>(right)) {} bool Seq::operator==(const Seq &other) const { return left->operator==(*other.left) && right->operator==(*other.right); } } // namespace rules } // namespace tree_sitter
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tree-sitter-0.1.0 | ext/tree-sitter/tree-sitter/src/compiler/rules/seq.cc |