{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "shared/formatters/writing.formatter.ts",
          "name": "checkLabel",
          "source": {
            "href": "https://banes-lab.com/anatomy/governance#file-governance-shared-formatters-writing-formatter-ts",
            "json": "https://banes-lab.com/json/source/governance/shared/formatters/writing.formatter.ts",
            "label": "shared/formatters/writing.formatter.ts",
            "markdown": "https://banes-lab.com/source/governance/shared/formatters/writing.formatter.ts.md",
            "ref": "anatomy:file-governance-shared-formatters-writing-formatter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 14,
      "name": "stateOf",
      "signature": "const stateOf = function stateOf(check: CanonCheck): string {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "shared/formatters/writing.formatter.ts",
          "name": "stateOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/governance#file-governance-shared-formatters-writing-formatter-ts",
            "json": "https://banes-lab.com/json/source/governance/shared/formatters/writing.formatter.ts",
            "label": "shared/formatters/writing.formatter.ts",
            "markdown": "https://banes-lab.com/source/governance/shared/formatters/writing.formatter.ts.md",
            "ref": "anatomy:file-governance-shared-formatters-writing-formatter-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 25,
      "name": "checkLabel",
      "signature": "const checkLabel = function checkLabel(check: CanonCheck): string {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 3,
      "name": "LINE",
      "signature": "const LINE = \"\\n\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 4,
      "name": "BLANK",
      "signature": "const BLANK = \"\\n\\n\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 5,
      "name": "ITEM",
      "signature": "const ITEM = \"- \";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 6,
      "name": "NESTED",
      "signature": "const NESTED = \"  - \";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 8,
      "name": "LIST",
      "signature": "const LIST = \", \";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 9,
      "name": "AND",
      "signature": "const AND = \" and \";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 10,
      "name": "REVIEW",
      "signature": "const REVIEW = \"review\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 11,
      "name": "ENFORCED",
      "signature": "const ENFORCED = \"enforced in \";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 12,
      "name": "OFF",
      "signature": "const OFF = \"off\";"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 21,
      "name": "itemsOf",
      "signature": "const itemsOf = function itemsOf(label: string, values: readonly string[]): readonly string[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 29,
      "name": "exampleLines",
      "signature": "const exampleLines = function exampleLines(example: CanonExample): readonly string[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 30,
      "name": "repaired",
      "signature": "const repaired = example.repaired === null ? [] : [`${NESTED}Repaired: \"${example.repaired}\"`];"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 34,
      "name": "ruleBlock",
      "signature": "const ruleBlock = function ruleBlock(rule: CanonRule): string {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 35,
      "name": "lines",
      "signature": "const lines = ["
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 50,
      "name": "layerBlock",
      "signature": "const layerBlock = function layerBlock(layer: CanonLayer): string {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 51,
      "name": "covers",
      "signature": "const covers = [`**Covers:**`, \"\", ...layer.covers.map((entry) => ITEM + entry)].join(LINE);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 52,
      "name": "defers",
      "signature": "const defers ="
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 67,
      "name": "canonMarkdown",
      "signature": "export const canonMarkdown = function canonMarkdown("
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 72,
      "name": "index",
      "signature": "const index = ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 77,
      "name": "closing",
      "signature": "const closing = `## Precedence${BLANK}${precedence}`;"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/governance#file-governance-shared-formatters-writing-formatter-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "writing.formatter.ts",
  "path": "shared/formatters/writing.formatter.ts",
  "ref": "anatomy:file-governance-shared-formatters-writing-formatter-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/governance#folder-governance-shared-formatters",
          "json": "https://banes-lab.com/json/anatomy/governance/folder-governance-shared-formatters",
          "label": "shared/formatters",
          "markdown": "https://banes-lab.com/anatomy/governance/folder-governance-shared-formatters.md",
          "ref": "chapter:/anatomy/governance#folder-governance-shared-formatters"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/governance#folder-governance-shared-formatters",
          "json": "https://banes-lab.com/json/anatomy/governance/folder-governance-shared-formatters",
          "label": "shared/formatters",
          "markdown": "https://banes-lab.com/anatomy/governance/folder-governance-shared-formatters.md",
          "ref": "chapter:/anatomy/governance#folder-governance-shared-formatters"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "formatter",
    "subject": "writing",
    "variant": null
  },
  "stats": {
    "bytes": 2872,
    "callable": 7,
    "definitions": 22,
    "edges": 1,
    "exported": 3,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 1,
      "entry": 1,
      "isolated": 20
    },
    "lines": {
      "blank": 9,
      "code": 70,
      "total": 79
    }
  },
  "summary": "70 lines of code and 22 definitions.",
  "text": "https://banes-lab.com/source/governance/shared/formatters/writing.formatter.ts.txt",
  "tree": "governance",
  "siblings": {
    "next": null,
    "previous": null
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/governance/shared/formatters",
    "label": "shared/formatters",
    "markdown": "https://banes-lab.com/api/source/governance/shared/formatters.md",
    "ref": "api:source/governance/shared/formatters"
  }
}
