Module metaIteration
.
.
Functions
| metanext (state, key) | Function associated with metapairs. |
| metapairs (t) | Iterates not only through the regular pairs, but also over the pairs of a metatable.__index, recursively |
Functions
- metanext (state, key)
-
Function associated with metapairs. Does one iteration step.
Parameters:
- state state of the iteration as returned by metapairs
- key the current key
- metapairs (t)
-
Iterates not only through the regular pairs, but also over the pairs of a metatable.
__index, recursivelyParameters:
- t a table to iterate over.