Make more things immutable

This commit is contained in:
Max Brunsfeld 2013-11-13 20:22:06 -08:00
parent f7063ba1d8
commit 8a0a442a24
12 changed files with 40 additions and 60 deletions

View file

@ -13,7 +13,7 @@ namespace tree_sitter {
bool operator==(const Rule& other) const;
std::string to_string() const;
private:
std::string value;
const std::string value;
};
}
}