tree-sitter/src/compiler/build_tables/get_metadata.h
Max Brunsfeld 1da9f1fdfd Store rule metadata as a map, not a single number
Need to store more than just boolean values
2014-04-07 08:50:00 -07:00

13 lines
354 B
C++

#ifndef COMPILER_BUILD_TABLES_CHECK_METADATA_
#define COMPILER_BUILD_TABLES_CHECK_METADATA_
#include "compiler/rules/rule.h"
#include "compiler/rules/metadata.h"
namespace tree_sitter {
namespace build_tables {
int get_metadata(const rules::rule_ptr &rule, rules::MetadataKey key);
}
}
#endif // COMPILER_BUILD_TABLES_CHECK_METADATA_