Move stream operator definitions to spec helpers
This is one less thing for users to worry about when compiling and linking the library itself
This commit is contained in:
parent
f5f24a708e
commit
e6f3239bef
17 changed files with 147 additions and 134 deletions
|
|
@ -50,8 +50,6 @@ class ParseAction {
|
|||
int production_id;
|
||||
};
|
||||
|
||||
std::ostream &operator<<(std::ostream &stream, const ParseAction &item);
|
||||
|
||||
} // namespace tree_sitter
|
||||
|
||||
namespace std {
|
||||
|
|
@ -79,8 +77,6 @@ class ParseState {
|
|||
LexStateId lex_state_id;
|
||||
};
|
||||
|
||||
std::ostream &operator<<(std::ostream &stream, const ParseState &state);
|
||||
|
||||
class ParseTable {
|
||||
public:
|
||||
ParseStateId add_state();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue