{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "documentTypesOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        },
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "groupsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        },
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "roleView",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 25,
      "name": "groundsOf",
      "signature": "const groundsOf = function groundsOf(resolve: Resolver, grounds: readonly string[] | undefined): readonly EdgeRef[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "categoriesOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        },
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "groupsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "groupKeys",
      "signature": "const groupKeys = function groupKeys<T>(items: readonly T[], keyOf: (item: T) => string): readonly [string, T[]][] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "groupKeys",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        },
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "roleView",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        },
        {
          "file": "core/converters/view.converter.ts",
          "name": "distinctsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-view-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/view.converter.ts",
            "label": "core/converters/view.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/view.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-view-converter-ts"
          }
        },
        {
          "file": "core/resolvers/ontology.resolver.ts",
          "name": "pagAnchor",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-resolvers-ontology-resolver-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/resolvers/ontology.resolver.ts",
            "label": "core/resolvers/ontology.resolver.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/resolvers/ontology.resolver.ts.md",
            "ref": "anatomy:file-build-scripts-core-resolvers-ontology-resolver-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "grammarOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 29,
      "name": "categoriesOf",
      "signature": "const categoriesOf = function categoriesOf(context: GovlabContext, resolve: Resolver): readonly KeywordCategoryView[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "categoriesOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        },
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "documentTypesOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        },
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "groupsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        },
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "templatesOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/converters/ontology.converter.ts",
          "name": "snapshotOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-ontology-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/ontology.converter.ts",
            "label": "core/converters/ontology.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/ontology.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-ontology-converter-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 99,
      "name": "grammarOf",
      "signature": "export const grammarOf = function grammarOf(context: GovlabContext, resolve: Resolver): GrammarView {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "groundsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        },
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "groupKeys",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        },
        {
          "file": "core/resolvers/ontology.resolver.ts",
          "name": "pagAnchor",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-resolvers-ontology-resolver-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/resolvers/ontology.resolver.ts",
            "label": "core/resolvers/ontology.resolver.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/resolvers/ontology.resolver.ts.md",
            "ref": "anatomy:file-build-scripts-core-resolvers-ontology-resolver-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "grammarOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 50,
      "name": "groupsOf",
      "signature": "const groupsOf = function groupsOf(context: GovlabContext, resolve: Resolver): readonly ProductionGroupView[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "groundsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        },
        {
          "file": "core/resolvers/ontology.resolver.ts",
          "name": "pagAnchor",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-resolvers-ontology-resolver-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/resolvers/ontology.resolver.ts",
            "label": "core/resolvers/ontology.resolver.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/resolvers/ontology.resolver.ts.md",
            "ref": "anatomy:file-build-scripts-core-resolvers-ontology-resolver-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "grammarOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 62,
      "name": "documentTypesOf",
      "signature": "const documentTypesOf = function documentTypesOf("
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "groundsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "categoriesOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 33,
      "name": "roleView",
      "signature": "const roleView = (role: (typeof keyword.roles)[number]): KeywordRoleView => ({"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/resolvers/ontology.resolver.ts",
          "name": "pagAnchor",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-resolvers-ontology-resolver-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/resolvers/ontology.resolver.ts",
            "label": "core/resolvers/ontology.resolver.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/resolvers/ontology.resolver.ts.md",
            "ref": "anatomy:file-build-scripts-core-resolvers-ontology-resolver-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "grammarOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 80,
      "name": "templatesOf",
      "signature": "const templatesOf = function templatesOf(context: GovlabContext): readonly TemplateView[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 17,
      "name": "groups",
      "signature": "const groups = new Map<string, T[]>();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 19,
      "name": "key",
      "signature": "const key = keyOf(item);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 39,
      "name": "further]",
      "signature": "const [primary, ...further] = keyword.roles;"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-converter-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "grammar.converter.ts",
  "path": "core/converters/grammar.converter.ts",
  "ref": "anatomy:file-build-scripts-core-converters-grammar-converter-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#folder-build-scripts-core-converters",
          "json": "https://banes-lab.com/json/anatomy/build-scripts/folder-build-scripts-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-core-converters.md",
          "ref": "chapter:/anatomy/build-scripts#folder-build-scripts-core-converters"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-view-converter-ts",
          "json": "https://banes-lab.com/json/source/build-scripts/core/converters/view.converter.ts",
          "label": "core/converters/view.converter.ts",
          "markdown": "https://banes-lab.com/source/build-scripts/core/converters/view.converter.ts.md",
          "ref": "anatomy:file-build-scripts-core-converters-view-converter-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-resolvers-ontology-resolver-ts",
          "json": "https://banes-lab.com/json/source/build-scripts/core/resolvers/ontology.resolver.ts",
          "label": "core/resolvers/ontology.resolver.ts",
          "markdown": "https://banes-lab.com/source/build-scripts/core/resolvers/ontology.resolver.ts.md",
          "ref": "anatomy:file-build-scripts-core-resolvers-ontology-resolver-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-ontology-converter-ts",
          "json": "https://banes-lab.com/json/source/build-scripts/core/converters/ontology.converter.ts",
          "label": "core/converters/ontology.converter.ts",
          "markdown": "https://banes-lab.com/source/build-scripts/core/converters/ontology.converter.ts.md",
          "ref": "anatomy:file-build-scripts-core-converters-ontology-converter-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#folder-build-scripts-core-converters",
          "json": "https://banes-lab.com/json/anatomy/build-scripts/folder-build-scripts-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-core-converters.md",
          "ref": "chapter:/anatomy/build-scripts#folder-build-scripts-core-converters"
        },
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#folder-build-scripts-core-resolvers",
          "json": "https://banes-lab.com/json/anatomy/build-scripts/folder-build-scripts-core-resolvers",
          "label": "core/resolvers",
          "markdown": "https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-core-resolvers.md",
          "ref": "chapter:/anatomy/build-scripts#folder-build-scripts-core-resolvers"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "converter",
    "subject": "grammar",
    "variant": null
  },
  "stats": {
    "bytes": 4285,
    "callable": 8,
    "definitions": 11,
    "edges": 15,
    "exported": 1,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 2,
      "relay": 6,
      "isolated": 3
    },
    "lines": {
      "blank": 7,
      "code": 99,
      "total": 106
    }
  },
  "summary": "99 lines of code and 11 definitions.",
  "text": "https://banes-lab.com/source/build-scripts/core/converters/grammar.converter.ts.txt",
  "tree": "build-scripts",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-reference-converter-ts",
      "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.reference.converter.ts",
      "label": "core/converters/grammar.reference.converter.ts",
      "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.reference.converter.ts.md",
      "ref": "anatomy:file-build-scripts-core-converters-grammar-reference-converter-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-folder-converter-ts",
      "json": "https://banes-lab.com/json/source/build-scripts/core/converters/folder.converter.ts",
      "label": "core/converters/folder.converter.ts",
      "markdown": "https://banes-lab.com/source/build-scripts/core/converters/folder.converter.ts.md",
      "ref": "anatomy:file-build-scripts-core-converters-folder-converter-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/build-scripts/core/converters",
    "label": "core/converters",
    "markdown": "https://banes-lab.com/api/source/build-scripts/core/converters.md",
    "ref": "api:source/build-scripts/core/converters"
  }
}
