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
|
|
@ -15,8 +15,7 @@ namespace tree_sitter {
|
|||
rule_ptr to_rule_tree() const;
|
||||
};
|
||||
|
||||
typedef std::shared_ptr<const Pattern> pattern_ptr;
|
||||
pattern_ptr pattern(const std::string &value);
|
||||
rule_ptr pattern(const std::string &value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue