Add copy method to rules
This commit is contained in:
parent
257b8d7b68
commit
f5a9fb67a4
18 changed files with 47 additions and 4 deletions
|
|
@ -11,6 +11,7 @@ namespace tree_sitter {
|
|||
|
||||
bool operator==(const Rule& other) const;
|
||||
size_t hash_code() const;
|
||||
rule_ptr copy() const;
|
||||
std::string to_string() const;
|
||||
void accept(Visitor &visitor) const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue