Organize source into compiler and runtime dirs
This commit is contained in:
parent
e480cf538d
commit
9618efd12a
46 changed files with 169 additions and 38 deletions
|
|
@ -1,23 +0,0 @@
|
|||
#ifndef __tree_sitter__string__
|
||||
#define __tree_sitter__string__
|
||||
|
||||
#include "rule.h"
|
||||
|
||||
namespace tree_sitter {
|
||||
namespace rules {
|
||||
class String : public Rule {
|
||||
public:
|
||||
String(std::string value);
|
||||
TransitionMap<Rule> transitions() const;
|
||||
bool operator==(const Rule& other) const;
|
||||
std::string to_string() const;
|
||||
private:
|
||||
const std::string value;
|
||||
};
|
||||
|
||||
typedef std::shared_ptr<const String> string_ptr;
|
||||
string_ptr str(const std::string &value);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue