mirror of
https://gitlab.com/luk3yx/minetest-formspec_ast.git
synced 2025-07-29 20:05:55 +02:00
Make register_element undocumented
This commit is contained in:
parent
ccba5eca04
commit
4f189ca0e9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user