Remove public hidden symbol function

Now, you can't a particular occurrence of a symbol
in a grammar. You can only hide a symbol globally
(right now, by beginning its name with an underscore).
This commit is contained in:
Max Brunsfeld 2014-03-25 08:16:26 -07:00
parent 3f0203d928
commit 2df56f01c8
8 changed files with 1288 additions and 1387 deletions

View file

@ -17,7 +17,6 @@ namespace tree_sitter {
rule_ptr repeat(const rule_ptr &content);
rule_ptr seq(const std::vector<rule_ptr> &rules);
rule_ptr sym(const std::string &name);
rule_ptr _sym(const std::string &name);
rule_ptr pattern(const std::string &value);
rule_ptr str(const std::string &value);
rule_ptr err(const rule_ptr &rule);