tree-sitter/src/rules/string.h
2013-11-07 18:30:00 -08:00

21 lines
No EOL
482 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);
TransitionMap<Rule> transitions() const;
String * copy() const;
bool operator==(const Rule& other) const;
std::string to_string() const;
private:
std::string value;
};
}
}
#endif