Give better symbol names to generated tokens

This should make debugging easier
This commit is contained in:
Max Brunsfeld 2014-03-27 12:54:54 -07:00
parent 2226234924
commit e1ac62edc5
14 changed files with 1017 additions and 842 deletions

View file

@ -7,7 +7,6 @@
namespace tree_sitter {
namespace rules {
class Pattern : public Rule {
const std::string value;
public:
explicit Pattern(const std::string &string);
@ -17,6 +16,7 @@ namespace tree_sitter {
std::string to_string() const;
void accept(Visitor *visitor) const;
const std::string value;
rule_ptr to_rule_tree() const;
};
}