Sha256: ab947a180dc665149ff21c643807af7aa8c2f7789b4f868f2ba86335a834071c
Contents?: true
Size: 680 Bytes
Versions: 1
Compression:
Stored size: 680 Bytes
Contents
#ifndef COMPILER_BUILD_TABLES_LOOKAHEAD_SET_H_ #define COMPILER_BUILD_TABLES_LOOKAHEAD_SET_H_ #include <set> #include <memory> #include "compiler/rules/symbol.h" namespace tree_sitter { namespace build_tables { class LookaheadSet { public: LookaheadSet(); explicit LookaheadSet(const std::set<rules::Symbol> &); bool empty() const; bool operator==(const LookaheadSet &) const; bool contains(const rules::Symbol &) const; bool insert_all(const LookaheadSet &); bool insert(const rules::Symbol &); std::shared_ptr<std::set<rules::Symbol>> entries; }; } // namespace build_tables } // namespace tree_sitter #endif // COMPILER_BUILD_TABLES_LOOKAHEAD_SET_H_
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tree-sitter-0.0.1 | ext/tree-sitter/tree-sitter/src/compiler/build_tables/lookahead_set.h |