tree-sitter/src/compiler/rules/string.h
2013-12-20 18:03:29 -08:00

20 lines
434 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;
std::string to_string() const;
void accept(Visitor &visitor) const;
const std::string value;
};
}
}
#endif