static-resolver

function

Library: Markup utilities (OMMARKUPUTILITIES)
Import : ommarkuputilities.xmd

Returns: the entity resolver


Declaration
export entity-resolver function
   static-resolver libpath read-only string directories optional
                   library read-only string entries     optional
      

Argument definitions

libpath
override for the #libpath shelf value
library
override for the #library shelf value


Purpose

Function static-resolver emulates the behaviour of the built-in entity manager. If no arguments are supplied, its result is equivalent to new entity-resolver {} — it resolves entities as specified by the -libpath and -library command-line parameters. The arguments libpath and library can be used to override these parameters.