Make register_element undocumented

This commit is contained in:
luk3yx 2021-11-24 15:50:08 +13:00
parent ccba5eca04
commit 4f189ca0e9

View File

@ -8,8 +8,6 @@ A Minetest mod library to make modifying formspecs easier.
an AST.
- `formspec_ast.unparse(tree)`: Unparses the abstract syntax tree provided
and returns a formspec string.
- `formspec_ast.register_element('modname:element', function())`: Registers
a custom element. This function may be removed in a future release.
- `formspec_ast.interpret(string_or_tree)`: Returns a formspec string after
(optionally parsing) and unparsing the formspec provided.
- `formspec_ast.walk(tree)`: Returns an iterator (use this directly in a for