Sha256: 2081d68b12e8247c9308b61e41368f66cf5871ccd395a31a2ee0a0799d569070

Contents?: true

Size: 426 Bytes

Versions: 1

Compression:

Stored size: 426 Bytes

Contents

#ifndef COMPILER_GRAMMAR_JSON_H_
#define COMPILER_GRAMMAR_JSON_H_

#include <string>
#include <unordered_set>
#include "tree_sitter/compiler.h"
#include "compiler/grammar.h"

namespace tree_sitter {

struct ParseGrammarResult {
  std::string name;
  InputGrammar grammar;
  std::string error_message;
};

ParseGrammarResult parse_grammar(const std::string &);

}  // namespace tree_sitter

#endif  // COMPILER_GRAMMAR_JSON_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/parse_grammar.h