Add helper functions for making shared pointers to rules

- start work on item set class
This commit is contained in:
Max Brunsfeld 2013-11-10 14:24:25 -08:00
parent ec8b7ccf20
commit 11e3980319
33 changed files with 486 additions and 150 deletions

7
src/rules/rule.cpp Normal file
View 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;
}