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:
parent
3f0203d928
commit
2df56f01c8
8 changed files with 1288 additions and 1387 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue