MetaScript functions

Metascript functions are used to generate script (like For_each) or request information on tree items like SubItem_PropValues

  • For_each_ind - generate a set of items for each element of a domain, new variant
  • For_each - generate a set of items for each element of a domain
  • Loop - instantiate a template until a stop condition is met
  • SubItem_PropValues - a domain unit with a string attribute containing the property values of the direct subitems
  • Inherited_PropValues - a domain unit with a string attribute containing the property values of the direct subitems of the item argument and of all referred items in the namespace.
  • SubTree_PropValues - a domain unit with a string attribute containing the property values of all subitems

  • Subitem - access a subitem by name
  • DocData - introspection: all registered operators as data
  • DocStorageManagers - introspection: all registered storage managers as data
  • iterate - instantiates a template per iteration name and chains currValue/nextValue; the result exposes lastValue
  • Generate - triggers the generation of the storages under the target item
  • GenerateDirect - as Generate, without scheduling indirection
  • IntegrityCheck - the operator behind the IntegrityCheck property: a failing check makes the item unreadable
  • DataArray - the compiled form of a […] data literal
  • SequenceArray - the compiled form of a sequence data literal (‘{n: …}’ entries)
  • do - alias of Expand