Ginga  0.13.6.2086-83aa
The iTV middleware.
ParserLua.h
1 /* Copyright (C) 2006-2018 PUC-Rio/Laboratorio TeleMidia
2 
3 This file is part of Ginga (Ginga-NCL).
4 
5 Ginga is free software: you can redistribute it and/or modify it
6 under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9 
10 Ginga is distributed in the hope that it will be useful, but WITHOUT
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
13 License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with Ginga. If not, see <https://www.gnu.org/licenses/>. */
17 
18 #ifndef PARSER_LUA_H
19 #define PARSER_LUA_H
20 
21 #include "Document.h"
22 
23 GINGA_NAMESPACE_BEGIN
24 
25 class ParserLua
26 {
27 public:
28  static Document *parseBuffer (const void *, size_t, string *);
29  static Document *parseFile (const string &, string *);
30 };
31 
32 GINGA_NAMESPACE_END
33 
34 #endif // PARSER_LUA_H
static Document * parseFile(const string &, string *)
Parses NCL-ltab from Lua script.
Definition: ParserLua.cpp:142
NCL document.
Definition: Document.h:34
static Document * parseBuffer(const void *, size_t, string *)
Parses NCL-ltab from memory buffer.
Definition: ParserLua.cpp:105
Definition: ParserLua.h:25