TextMateLib
1.0
Modern C++ implementation of the TextMate syntax highlighting engine
Loading...
Searching...
No Matches
parseRawGrammar.h
1
#ifndef TEXTMATELIB_PARSE_RAW_GRAMMAR_H
2
#define TEXTMATELIB_PARSE_RAW_GRAMMAR_H
3
4
#include "rawGrammar.h"
5
#include <string>
6
7
namespace
tml {
8
9
// Parse raw grammar from JSON content
10
IRawGrammar* parseRawGrammar(
const
std::string& content,
const
std::string* filePath =
nullptr
);
11
12
// Parse JSON grammar specifically
13
IRawGrammar* parseJSONGrammar(
const
std::string& content,
const
std::string* filename =
nullptr
);
14
15
}
// namespace tml
16
17
#endif
// TEXTMATELIB_PARSE_RAW_GRAMMAR_H
home
runner
work
TextMateLib
TextMateLib
packages
tml-cpp
src
parseRawGrammar.h
Generated by
1.9.8