{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "codemods/analyzers/reference.analyzer.ts",
          "name": "markupReferences",
          "source": {
            "href": "https://banes-lab.com/anatomy/governance#file-governance-codemods-analyzers-reference-analyzer-ts",
            "json": "https://banes-lab.com/json/source/governance/codemods/analyzers/reference.analyzer.ts",
            "label": "codemods/analyzers/reference.analyzer.ts",
            "markdown": "https://banes-lab.com/source/governance/codemods/analyzers/reference.analyzer.ts.md",
            "ref": "anatomy:file-governance-codemods-analyzers-reference-analyzer-ts"
          }
        },
        {
          "file": "codemods/analyzers/reference.analyzer.ts",
          "name": "readText",
          "source": {
            "href": "https://banes-lab.com/anatomy/governance#file-governance-codemods-analyzers-reference-analyzer-ts",
            "json": "https://banes-lab.com/json/source/governance/codemods/analyzers/reference.analyzer.ts",
            "label": "codemods/analyzers/reference.analyzer.ts",
            "markdown": "https://banes-lab.com/source/governance/codemods/analyzers/reference.analyzer.ts.md",
            "ref": "anatomy:file-governance-codemods-analyzers-reference-analyzer-ts"
          }
        },
        {
          "file": "shared/registries/location.registry.ts",
          "name": "tokenIn",
          "source": {
            "href": "https://banes-lab.com/anatomy/governance#file-governance-shared-registries-location-registry-ts",
            "json": "https://banes-lab.com/json/source/governance/shared/registries/location.registry.ts",
            "label": "shared/registries/location.registry.ts",
            "markdown": "https://banes-lab.com/source/governance/shared/registries/location.registry.ts.md",
            "ref": "anatomy:file-governance-shared-registries-location-registry-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "codemods/analyzers/reference.analyzer.ts",
          "name": "collectReferenceFindings",
          "source": {
            "href": "https://banes-lab.com/anatomy/governance#file-governance-codemods-analyzers-reference-analyzer-ts",
            "json": "https://banes-lab.com/json/source/governance/codemods/analyzers/reference.analyzer.ts",
            "label": "codemods/analyzers/reference.analyzer.ts",
            "markdown": "https://banes-lab.com/source/governance/codemods/analyzers/reference.analyzer.ts.md",
            "ref": "anatomy:file-governance-codemods-analyzers-reference-analyzer-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 87,
      "name": "scanMarkup",
      "signature": "const scanMarkup = function scanMarkup(file: string, rel: string): ReferenceFinding[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "codemods/analyzers/reference.analyzer.ts",
          "name": "excluded",
          "source": {
            "href": "https://banes-lab.com/anatomy/governance#file-governance-codemods-analyzers-reference-analyzer-ts",
            "json": "https://banes-lab.com/json/source/governance/codemods/analyzers/reference.analyzer.ts",
            "label": "codemods/analyzers/reference.analyzer.ts",
            "markdown": "https://banes-lab.com/source/governance/codemods/analyzers/reference.analyzer.ts.md",
            "ref": "anatomy:file-governance-codemods-analyzers-reference-analyzer-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "codemods/analyzers/reference.analyzer.ts",
          "name": "collectReferenceFindings",
          "source": {
            "href": "https://banes-lab.com/anatomy/governance#file-governance-codemods-analyzers-reference-analyzer-ts",
            "json": "https://banes-lab.com/json/source/governance/codemods/analyzers/reference.analyzer.ts",
            "label": "codemods/analyzers/reference.analyzer.ts",
            "markdown": "https://banes-lab.com/source/governance/codemods/analyzers/reference.analyzer.ts.md",
            "ref": "anatomy:file-governance-codemods-analyzers-reference-analyzer-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 10,
      "name": "walk",
      "signature": "const walk = function walk(dir: string): string[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [
        {
          "file": "codemods/analyzers/reference.analyzer.ts",
          "name": "walk",
          "source": {
            "href": "https://banes-lab.com/anatomy/governance#file-governance-codemods-analyzers-reference-analyzer-ts",
            "json": "https://banes-lab.com/json/source/governance/codemods/analyzers/reference.analyzer.ts",
            "label": "codemods/analyzers/reference.analyzer.ts",
            "markdown": "https://banes-lab.com/source/governance/codemods/analyzers/reference.analyzer.ts.md",
            "ref": "anatomy:file-governance-codemods-analyzers-reference-analyzer-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 8,
      "name": "excluded",
      "signature": "const excluded = await excludeMatcher(ROOT);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "codemods/analyzers/reference.analyzer.ts",
          "name": "scanMarkup",
          "source": {
            "href": "https://banes-lab.com/anatomy/governance#file-governance-codemods-analyzers-reference-analyzer-ts",
            "json": "https://banes-lab.com/json/source/governance/codemods/analyzers/reference.analyzer.ts",
            "label": "codemods/analyzers/reference.analyzer.ts",
            "markdown": "https://banes-lab.com/source/governance/codemods/analyzers/reference.analyzer.ts.md",
            "ref": "anatomy:file-governance-codemods-analyzers-reference-analyzer-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 19,
      "name": "readText",
      "signature": "const readText = function readText(file: string): string {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "codemods/analyzers/reference.analyzer.ts",
          "name": "scanMarkup",
          "source": {
            "href": "https://banes-lab.com/anatomy/governance#file-governance-codemods-analyzers-reference-analyzer-ts",
            "json": "https://banes-lab.com/json/source/governance/codemods/analyzers/reference.analyzer.ts",
            "label": "codemods/analyzers/reference.analyzer.ts",
            "markdown": "https://banes-lab.com/source/governance/codemods/analyzers/reference.analyzer.ts.md",
            "ref": "anatomy:file-governance-codemods-analyzers-reference-analyzer-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 78,
      "name": "markupReferences",
      "signature": "const markupReferences = function markupReferences(text: string): { construct: string; value: string }[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "codemods/analyzers/reference.analyzer.ts",
          "name": "scanMarkup",
          "source": {
            "href": "https://banes-lab.com/anatomy/governance#file-governance-codemods-analyzers-reference-analyzer-ts",
            "json": "https://banes-lab.com/json/source/governance/codemods/analyzers/reference.analyzer.ts",
            "label": "codemods/analyzers/reference.analyzer.ts",
            "markdown": "https://banes-lab.com/source/governance/codemods/analyzers/reference.analyzer.ts.md",
            "ref": "anatomy:file-governance-codemods-analyzers-reference-analyzer-ts"
          }
        },
        {
          "file": "codemods/analyzers/reference.analyzer.ts",
          "name": "walk",
          "source": {
            "href": "https://banes-lab.com/anatomy/governance#file-governance-codemods-analyzers-reference-analyzer-ts",
            "json": "https://banes-lab.com/json/source/governance/codemods/analyzers/reference.analyzer.ts",
            "label": "codemods/analyzers/reference.analyzer.ts",
            "markdown": "https://banes-lab.com/source/governance/codemods/analyzers/reference.analyzer.ts.md",
            "ref": "anatomy:file-governance-codemods-analyzers-reference-analyzer-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 96,
      "name": "collectReferenceFindings",
      "signature": "export const collectReferenceFindings = function collectReferenceFindings(): ReferenceFinding[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 14,
      "name": "full",
      "signature": "const full = path.join(dir, entry.name);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 23,
      "name": "WHITESPACE",
      "signature": "const WHITESPACE = new Set([\" \", \"\\t\", \"\\n\", \"\\r\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 24,
      "name": "QUOTES",
      "signature": "const QUOTES = new Set(['\"', \"'\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 25,
      "name": "ATTRIBUTE_MARKERS",
      "signature": "const ATTRIBUTE_MARKERS = [\"src=\", \"href=\"];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 26,
      "name": "URL_MARKER",
      "signature": "const URL_MARKER = \"url(\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 27,
      "name": "MARKUP_EXTENSIONS",
      "signature": "const MARKUP_EXTENSIONS = new Set([\".html\", \".css\"]);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 29,
      "name": "skipWhitespace",
      "signature": "const skipWhitespace = function skipWhitespace(text: string, from: number): number {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 37,
      "name": "readUntil",
      "signature": "const readUntil = function readUntil(text: string, from: number, terminators: ReadonlySet<string>): string | null {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 45,
      "name": "attributeValues",
      "signature": "const attributeValues = function attributeValues(text: string, marker: string): string[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 49,
      "name": "afterEquals",
      "signature": "const afterEquals = skipWhitespace(text, at + marker.length);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 62,
      "name": "urlValues",
      "signature": "const urlValues = function urlValues(text: string): string[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 63,
      "name": "out",
      "signature": "const out: string[] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 64,
      "name": "at",
      "signature": "let at = text.indexOf(URL_MARKER);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 66,
      "name": "opened",
      "signature": "const opened = skipWhitespace(text, at + URL_MARKER.length);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 67,
      "name": "quote",
      "signature": "const quote = text[opened] ?? \"\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 68,
      "name": "start",
      "signature": "const start = QUOTES.has(quote) ? opened + 1 : opened;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 69,
      "name": "value",
      "signature": "const value = readUntil(text, start, new Set(['\"', \"'\", \")\"]));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 79,
      "name": "attributes",
      "signature": "const attributes = ATTRIBUTE_MARKERS.flatMap((marker) => attributeValues(text, marker)).map((value) => ({"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 83,
      "name": "urls",
      "signature": "const urls = urlValues(text).map((value) => ({ construct: \"css url()\", value }));"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/governance#file-governance-codemods-analyzers-reference-analyzer-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "reference.analyzer.ts",
  "path": "codemods/analyzers/reference.analyzer.ts",
  "ref": "anatomy:file-governance-codemods-analyzers-reference-analyzer-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/governance#folder-governance-codemods-analyzers",
          "json": "https://banes-lab.com/json/anatomy/governance/folder-governance-codemods-analyzers",
          "label": "codemods/analyzers",
          "markdown": "https://banes-lab.com/anatomy/governance/folder-governance-codemods-analyzers.md",
          "ref": "chapter:/anatomy/governance#folder-governance-codemods-analyzers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/governance#file-governance-shared-registries-location-registry-ts",
          "json": "https://banes-lab.com/json/source/governance/shared/registries/location.registry.ts",
          "label": "shared/registries/location.registry.ts",
          "markdown": "https://banes-lab.com/source/governance/shared/registries/location.registry.ts.md",
          "ref": "anatomy:file-governance-shared-registries-location-registry-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/governance#folder-governance-codemods-analyzers",
          "json": "https://banes-lab.com/json/anatomy/governance/folder-governance-codemods-analyzers",
          "label": "codemods/analyzers",
          "markdown": "https://banes-lab.com/anatomy/governance/folder-governance-codemods-analyzers.md",
          "ref": "chapter:/anatomy/governance#folder-governance-codemods-analyzers"
        },
        {
          "href": "https://banes-lab.com/anatomy/governance#folder-governance-shared-registries",
          "json": "https://banes-lab.com/json/anatomy/governance/folder-governance-shared-registries",
          "label": "shared/registries",
          "markdown": "https://banes-lab.com/anatomy/governance/folder-governance-shared-registries.md",
          "ref": "chapter:/anatomy/governance#folder-governance-shared-registries"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "analyzer",
    "subject": "reference",
    "variant": null
  },
  "stats": {
    "bytes": 3840,
    "callable": 9,
    "definitions": 25,
    "edges": 6,
    "exported": 1,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 2,
      "leaf": 3,
      "entry": 1,
      "isolated": 19
    },
    "lines": {
      "blank": 11,
      "code": 89,
      "total": 100
    }
  },
  "summary": "89 lines of code and 25 definitions.",
  "text": "https://banes-lab.com/source/governance/codemods/analyzers/reference.analyzer.ts.txt",
  "tree": "governance",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/governance#file-governance-codemods-analyzers-sink-analyzer-ts",
      "json": "https://banes-lab.com/json/source/governance/codemods/analyzers/sink.analyzer.ts",
      "label": "codemods/analyzers/sink.analyzer.ts",
      "markdown": "https://banes-lab.com/source/governance/codemods/analyzers/sink.analyzer.ts.md",
      "ref": "anatomy:file-governance-codemods-analyzers-sink-analyzer-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/governance#file-governance-codemods-analyzers-location-analyzer-ts",
      "json": "https://banes-lab.com/json/source/governance/codemods/analyzers/location.analyzer.ts",
      "label": "codemods/analyzers/location.analyzer.ts",
      "markdown": "https://banes-lab.com/source/governance/codemods/analyzers/location.analyzer.ts.md",
      "ref": "anatomy:file-governance-codemods-analyzers-location-analyzer-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/governance/codemods/analyzers",
    "label": "codemods/analyzers",
    "markdown": "https://banes-lab.com/api/source/governance/codemods/analyzers.md",
    "ref": "api:source/governance/codemods/analyzers"
  }
}
