Lines Matching refs:lua
3 This lua module allows to parse objects from strings and to store data into
8 ~~~lua
66 This is a `C` function to push `UCL` object as lua variable. This function
67 converts `obj` to lua representation using the following conversions:
69 - *scalar* values are directly presented by lua objects
70 - *userdata* values are converted to lua function objects using `LUA_REGISTRYINDEX`,
71 this can be used to pass functions from lua to c and vice-versa
72 - *arrays* are converted to lua tables with numeric indices suitable for `ipairs` iterations
73 - *objects* are converted to lua tables with string indices
77 - `L {lua_State}`: lua state pointer
83 - `{int}`: `1` if an object is pushed to lua
89 Converts lua variable `var` to the specified `format`. Formats supported are:
102 - `var {variant}`: any sort of lua variable (if userdata then metafield `__to_ucl` is searched for …
111 ~~~lua
153 ~~~lua
182 Get top object from parser and export it to lua representation.
190 - `{variant or nil}`: ucl object as lua native variable