tree-sitter/src/compiler/compile.h

16 lines
310 B
C++

#ifndef COMPILER_COMPILE_H_
#define COMPILER_COMPILE_H_
#include <string>
#include <utility>
#include "compiler/compile_error.h"
namespace tree_sitter {
struct Grammar;
std::pair<std::string, CompileError> compile(const Grammar &, std::string);
} // namespace tree_sitter
#endif // COMPILER_COMPILE_H_