Update rule hash implementation

This commit is contained in:
Max Brunsfeld 2013-12-30 23:52:38 -08:00
parent 3116b457fe
commit 257b8d7b68
18 changed files with 80 additions and 30 deletions

View file

@ -8,7 +8,9 @@ namespace tree_sitter {
class String : public Rule {
public:
String(std::string value);
bool operator==(const Rule& other) const;
size_t hash_code() const;
std::string to_string() const;
void accept(Visitor &visitor) const;