Docs
chromia.com

TYPE

meta

On this page
type meta

Since 0.13.5

Attributes

simple_name: text

The simple name of the definition represented by this meta value.

For example, an operation my_op defined in a module a.b.c, and nested inside namespaces n and m (where n is the outermost), would have the simple name my_op.

Where the kind of definition described by this meta value is a module, simple_name is the last part of the module's path; e.g. for a module a.b.c, the simple_name is c.

Since 0.13.5

full_name: text

The full name of the definition represented by this meta value, including the names of the module and namespace in which the definition occurs.

For example, an operation my_op defined in a module a.b.c, and nested inside namespaces n and m (where n is the outermost), would have the full name a.b.c:n.m.my_op.

Where the kind of definition described by this meta value is a module, full_name is equal to module_name.

Since 0.13.5

module_name: text

The name of the module to which the definition represented by this meta value belongs.

For example, an operation my_op defined in a module a.b.c, would have the module name a.b.c.

Where the kind of definition described by this meta value is a module, module_name is equal to full_name.

Since 0.13.5

mount_name: text

The effective mount name of the definition represented by this meta value, determined by:

  • the name of the definition
  • the names of any namespaces in which the definition occurs
  • any @mount annotations on the definition
  • any @mount annotations on any namespaces in which the definition occurs
  • any @mount annotations defined on the module in which the definition occurs, and any of its parent modules

Since 0.13.5

kind_text: text

Text representing the kind of the definition described by this meta value.

Possible values are module, entity, object, operation and query.

For example, an operation my_op defined in a module a.b.c, would have the kind text operation.

Since 0.13.10

Methods

meta
Construct a value of type rell.meta, which describes a definition.