Rename spec -> test

'Test' is a lot more straightforward of a name.
This commit is contained in:
Max Brunsfeld 2017-03-09 20:40:01 -08:00
parent 7d8daf573e
commit 6dc0ff359d
109 changed files with 44 additions and 44 deletions

View file

@ -0,0 +1,16 @@
#ifndef HELPERS_SCOPE_SEQUENCE_H_
#define HELPERS_SCOPE_SEQUENCE_H_
#include <string>
#include <vector>
#include "tree_sitter/runtime.h"
typedef std::string Scope;
typedef std::vector<Scope> ScopeStack;
typedef std::vector<ScopeStack> ScopeSequence;
ScopeSequence build_scope_sequence(TSDocument *document, const std::string &text);
void verify_changed_ranges(const ScopeSequence &old, const ScopeSequence &new_sequence, const std::string &text, TSRange *ranges, size_t range_count);
#endif // HELPERS_SCOPE_SEQUENCE_H_