Lines Matching +full:back +full:- +full:end

19 end
27 end
32 -- Output:
33 --[[
38 --]]
45 > [`ucl_object_push_lua(L, obj, allow_array)`](#function-ucl_object_push_lual-obj-allow_array)
47 > [`ucl.to_format(var, format)`](#function-uclto_formatvar-format)
53 > [`parser:parse_file(name)`](#method-parserparse_filename)
55 > [`parser:parse_string(input)`](#method-parserparse_stringinput)
57 > [`parser:get_object()`](#method-parserget_object)
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
78 - `obj {ucl_object_t}`: object to push
79 - `allow_array {bool}`: expand implicit arrays (should be true for all but partial arrays)
83 - `{int}`: `1` if an object is pushed to lua
85 Back to [module description](#module-ucl).
91 - `json` - fine printed json
92 - `json-compact` - compacted json
93 - `config` - fine printed configuration
94 - `ucl` - same as `config`
95 - `yaml` - embedded yaml
102 - `var {variant}`: any sort of lua variable (if userdata then metafield `__to_ucl` is searched for …
103 - `format {string}`: any available format
107 - `{string}`: string representation of `var` in the specific `format`.
118 end
123 -- Output:
124 --[[
129 --]]
132 Back to [module description](#module-ucl).
145 - `name {string}`: filename to parse
149 - `{bool[, string]}`: if res is `true` then file has been parsed successfully, otherwise an error s…
160 -- Do something with object
161 end
164 Back to [module description](#module-ucl).
172 - `input {string}`: string to parse
176 - `{bool[, string]}`: if res is `true` then file has been parsed successfully, otherwise an error s…
178 Back to [module description](#module-ucl).
190 - `{variant or nil}`: ucl object as lua native variable
192 Back to [module description](#module-ucl).
195 Back to [top](#).