Ginga  0.13.6.2086-83aa
The iTV middleware.
ParserLua Class Reference

Static Public Member Functions

static DocumentparseBuffer (const void *, size_t, string *)
 Parses NCL-ltab from memory buffer. More...
 
static DocumentparseFile (const string &, string *)
 Parses NCL-ltab from Lua script. More...
 

Member Function Documentation

◆ parseBuffer()

Document * ParserLua::parseBuffer ( const void *  buf,
size_t  size,
string *  errmsg 
)
static

Parses NCL-ltab from memory buffer.

Parameters
bufBuffer.
sizeBuffer size in bytes.
[out]errmsgVariable to store the error message (if any).
Returns
The resulting Document if successful, or null otherwise.

◆ parseFile()

Document * ParserLua::parseFile ( const string &  path,
string *  errmsg 
)
static

Parses NCL-ltab from Lua script.

Parameters
pathFile path.
[out]errmsgVariable to store the error message (if any).
Returns
The resulting Document if successful, or null otherwise.

The documentation for this class was generated from the following files: