TextMateLib 1.0
Modern C++ implementation of the TextMate syntax highlighting engine
Loading...
Searching...
No Matches
main.h
1#ifndef TEXTMATELIB_MAIN_H
2#define TEXTMATELIB_MAIN_H
3
4// Main public API header for tml C++ port
5
6#include "types.h"
7#include "onigLib.h"
8#include "rawGrammar.h"
9#include "parseRawGrammar.h"
10#include "theme.h"
11#include "registry.h"
12#include "grammar.h"
13#include "encodedTokenAttributes.h"
14
15namespace tml {
16
17// Export all public types and classes
18using tml::Registry;
19using tml::RegistryOptions;
20using tml::IGrammarConfiguration;
21using tml::Grammar;
22using tml::IGrammar;
23using tml::StateStack;
24using tml::IToken;
25using tml::ITokenizeLineResult;
26using tml::ITokenizeLineResult2;
27using tml::IRawGrammar;
28using tml::IRawTheme;
29using tml::IOnigLib;
30using tml::DefaultOnigLib;
31using tml::parseRawGrammar;
32
33// INITIAL constant
34extern const StateStack* INITIAL;
35
36} // namespace tml
37
38#endif // TEXTMATELIB_MAIN_H
Abstract interface representing the parsing state at the end of a line.
Definition types.h:55
const StateStack * INITIAL
Initial parsing state for the first line of a document.
Definition main.cpp:6
Core type definitions and interfaces for TextMateLib.