describeTable method

void describeTable(
  1. String name,
  2. TableDoc doc
)

Registers a TableDoc describing the shape of a Lua table value exported by this library.

Use this to document configuration tables, plugin manifests, UI setting schemas, or any other structured table type that scripts interact with.

Implementation

void describeTable(String name, TableDoc doc) {
  _library._tableDocs[name] = doc;
}