tree-sitter/src/compiler/rules/string.h
2014-01-02 13:04:41 -08:00

23 lines
508 B
C++

#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);
bool operator==(const Rule& other) const;
size_t hash_code() const;
rule_ptr copy() const;
std::string to_string() const;
void accept(Visitor &visitor) const;
const std::string value;
};
}
}
#endif