Get rid of types for shared pointers to rule subclasses
This commit is contained in:
parent
c3b8a73831
commit
9f78d72a7c
14 changed files with 53 additions and 37 deletions
|
|
@ -5,7 +5,7 @@ namespace tree_sitter {
|
|||
namespace rules {
|
||||
Symbol::Symbol(const std::string &name) : name(name) {};
|
||||
|
||||
sym_ptr sym(const std::string &name) {
|
||||
rule_ptr sym(const std::string &name) {
|
||||
return std::make_shared<Symbol>(name);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue