Add helper functions for making shared pointers to rules
- start work on item set class
This commit is contained in:
parent
ec8b7ccf20
commit
11e3980319
33 changed files with 486 additions and 150 deletions
7
src/rules/rule.cpp
Normal file
7
src/rules/rule.cpp
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#include "rule.h"
|
||||
|
||||
std::ostream& operator<<(std::ostream& stream, const tree_sitter::rules::Rule &rule)
|
||||
{
|
||||
stream << rule.to_string();
|
||||
return stream;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue