lubyk logo

Lubyk documentation

MemoryStorage

(internal) This is used to store all definitions in memory.

.new ()

Create a new storage engine for parsed content.

:parse (xml_dir, not_lazy, ignore_list)

Parse xml directory and find header files. This will allow us to find definitions as needed.

:findByFullname (name)

TODO MISSING DOCUMENTATION

:findChild (name)

TODO MISSING DOCUMENTATION

:findChildFor (parent, name)

TODO MISSING DOCUMENTATION

:functions (parent)

TODO MISSING DOCUMENTATION

:variables (parent)

TODO MISSING DOCUMENTATION

:headers ()

file.

:children (parent)

TODO MISSING DOCUMENTATION

:superclasses (parent)

TODO MISSING DOCUMENTATION

:constants (parent)

TODO MISSING DOCUMENTATION

:hasConstants ()

TODO MISSING DOCUMENTATION

:namespaces ()

TODO MISSING DOCUMENTATION

:resolveType (scope, name)

TODO MISSING DOCUMENTATION

:fullname ()

TODO MISSING DOCUMENTATION

:ignored (fullname)

TODO MISSING DOCUMENTATION

.makeType (str)

This can be used by binders to create types on the fly.

.makeSpecialMethods (class, custom_bindings)

We pass custom_bindings so that we create get/set methods even if we do not have public attributes but we have custom code for these methods. This should be called just before binding (once everything is parsed).

:find (scope, name)

return self:findByFullname(name) or self:findByFullname(elem.parent:fullname() .. '::' .. name) end

TODO

#findByFullnameTODO MISSING DOCUMENTATION

#findChildTODO MISSING DOCUMENTATION

#findChildForTODO MISSING DOCUMENTATION

#functionsTODO MISSING DOCUMENTATION

#variablesTODO MISSING DOCUMENTATION

#childrenTODO MISSING DOCUMENTATION

#superclassesTODO MISSING DOCUMENTATION

#constantsTODO MISSING DOCUMENTATION

#hasConstantsTODO MISSING DOCUMENTATION

#namespacesTODO MISSING DOCUMENTATION

#resolveTypeTODO MISSING DOCUMENTATION

#fullnameTODO MISSING DOCUMENTATION

#ignoredTODO MISSING DOCUMENTATION