Module starlark::docs

source ·
Expand description

Types supporting documentation for code written in or for Starlark.

Structs

  • The main structure that represents the documentation for a given symbol / module.
  • Documents a single function.
  • Documents a full module.
  • An object with named functions/properties.
  • A single property of an object. These are explicitly not functions (see DocMember).
  • Details about the return value of a function.
  • The documentation provided by a user for a specific module, object, function, etc.
  • The type of a given parameter, field, etc.
  • The main identifier for a symbol.
  • The file a symbol resides in, and if available its location within that file.
  • Line / column for where in a file a symbol is.

Enums

Traits

  • This object can potentially generate markdown documentation about itself.

Functions

Derive Macros

  • Generate an accessor function on the provided type that returns its documentation based on StarlarkValue::get_methods(). This macro requires that the type implements starlark::StarlarkValue.