node-dextrin - v0.4.0
    Preparing search index...

    Function compile

    • Compiles a decoded .dxns document into baseRegistry — a struct schema for each %schema(N){} entry, and a reusable named type for every other entry. names, when given, maps each entry's key to the full name a tree gives it (DXNS.md §6) -- how tree.cjs compiles a file -- a bare symbol naming a sibling resolving to it.

      Parameters

      • schemaDoc: unknown
      • baseRegistry: export=
      • Optionalnames: Map<string, string>

      Returns export=