Sha256: addcbcc7fd5a29035fb8f8b8fa9344c93f963d966e80df93a5fb63ba8f6f76c9

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

#ifndef COMPILER_PREPARE_GRAMMAR_PARSE_REGEX_H_
#define COMPILER_PREPARE_GRAMMAR_PARSE_REGEX_H_

#include <string>
#include <utility>
#include "compiler/rule.h"
#include "compiler/compile_error.h"

namespace tree_sitter {
namespace prepare_grammar {

std::pair<rules::Rule, CompileError> parse_regex(const std::string &);

}  // namespace prepare_grammar
}  // namespace tree_sitter

#endif  // COMPILER_PREPARE_GRAMMAR_PARSE_REGEX_H_

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/src/compiler/prepare_grammar/parse_regex.h