2016-01-15 11:19:24 -08:00
|
|
|
#ifndef HELPERS_LOAD_LANGUAGE_H_
|
|
|
|
|
#define HELPERS_LOAD_LANGUAGE_H_
|
|
|
|
|
|
|
|
|
|
#include "tree_sitter/compiler.h"
|
|
|
|
|
#include "tree_sitter/runtime.h"
|
|
|
|
|
#include <string>
|
|
|
|
|
|
2017-03-09 11:49:30 -08:00
|
|
|
const TSLanguage *load_real_language(const std::string &name);
|
|
|
|
|
|
|
|
|
|
const TSLanguage *load_test_language(const std::string &name,
|
|
|
|
|
const TSCompileResult &compile_result,
|
|
|
|
|
std::string external_scanner_path = "");
|
2016-01-15 11:19:24 -08:00
|
|
|
|
|
|
|
|
#endif // HELPERS_LOAD_LANGUAGE_H_
|