{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/code.strings.ts",
          "name": "crossConcernDetail",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-configuration-strings-code-strings-ts",
            "json": "https://banes-lab.com/json/source/patterns/configuration/strings/code.strings.ts",
            "label": "configuration/strings/code.strings.ts",
            "markdown": "https://banes-lab.com/source/patterns/configuration/strings/code.strings.ts.md",
            "ref": "anatomy:file-patterns-configuration-strings-code-strings-ts"
          }
        },
        {
          "file": "core/analyzers/concern.analyzer.ts",
          "name": "isFactory",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-analyzers-concern-analyzer-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/analyzers/concern.analyzer.ts",
            "label": "core/analyzers/concern.analyzer.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/analyzers/concern.analyzer.ts.md",
            "ref": "anatomy:file-patterns-core-analyzers-concern-analyzer-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/coordinators/code.coordinator.ts",
          "name": "diagnose",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-coordinators-code-coordinator-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/coordinators/code.coordinator.ts",
            "label": "core/coordinators/code.coordinator.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/coordinators/code.coordinator.ts.md",
            "ref": "anatomy:file-patterns-core-coordinators-code-coordinator-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 24,
      "name": "crossConcernFindings",
      "signature": "export const crossConcernFindings = function crossConcernFindings("
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/analyzers/concern.analyzer.ts",
          "name": "crossConcernFindings",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-analyzers-concern-analyzer-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/analyzers/concern.analyzer.ts",
            "label": "core/analyzers/concern.analyzer.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/analyzers/concern.analyzer.ts.md",
            "ref": "anatomy:file-patterns-core-analyzers-concern-analyzer-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 19,
      "name": "isFactory",
      "signature": "const isFactory = function isFactory(name: string): boolean {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 7,
      "name": "REL_CONCERN",
      "signature": "const REL_CONCERN = 7;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 8,
      "name": "CONCERN_SPAN",
      "signature": "const CONCERN_SPAN = 4;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 9,
      "name": "CONFIDENCE",
      "signature": "const CONFIDENCE = \"medium\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 10,
      "name": "PATH_SEP",
      "signature": "const PATH_SEP = \"/\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 11,
      "name": "WRAPPER_DIRS",
      "signature": "const WRAPPER_DIRS: ReadonlySet<string> = new Set([\"src\", \"internal\", \"lib\", \"pkg\", \"cmd\", \"app\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 12,
      "name": "FACTORY_PREFIXES",
      "signature": "const FACTORY_PREFIXES: readonly string[] = [\"create\", \"build\", \"make\", \"new\", \"setup\", \"register\", \"compose\", \"wire\"];"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 14,
      "name": "concernOf",
      "signature": "const concernOf = function concernOf(file: string): string {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 15,
      "name": "[top = \"\", next = \"\"]",
      "signature": "const [top = \"\", next = \"\"] = file.split(PATH_SEP);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 20,
      "name": "lower",
      "signature": "const lower = name.toLowerCase();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 28,
      "name": "spans",
      "signature": "const spans = new Map<string, Set<string>>();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 30,
      "name": "concern",
      "signature": "const concern = concernOf(scopeOf(edge.to));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 33,
      "name": "callable",
      "signature": "const callable = new Map("
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 41,
      "name": "span",
      "signature": "const span = [...(spans.get(key) ?? [])].sort((a, b) => a.localeCompare(b));"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-analyzers-concern-analyzer-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "concern.analyzer.ts",
  "path": "core/analyzers/concern.analyzer.ts",
  "ref": "anatomy:file-patterns-core-analyzers-concern-analyzer-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/patterns#folder-patterns-core-analyzers",
          "json": "https://banes-lab.com/json/anatomy/patterns/folder-patterns-core-analyzers",
          "label": "core/analyzers",
          "markdown": "https://banes-lab.com/anatomy/patterns/folder-patterns-core-analyzers.md",
          "ref": "chapter:/anatomy/patterns#folder-patterns-core-analyzers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/patterns#file-patterns-configuration-strings-code-strings-ts",
          "json": "https://banes-lab.com/json/source/patterns/configuration/strings/code.strings.ts",
          "label": "configuration/strings/code.strings.ts",
          "markdown": "https://banes-lab.com/source/patterns/configuration/strings/code.strings.ts.md",
          "ref": "anatomy:file-patterns-configuration-strings-code-strings-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-coordinators-code-coordinator-ts",
          "json": "https://banes-lab.com/json/source/patterns/core/coordinators/code.coordinator.ts",
          "label": "core/coordinators/code.coordinator.ts",
          "markdown": "https://banes-lab.com/source/patterns/core/coordinators/code.coordinator.ts.md",
          "ref": "anatomy:file-patterns-core-coordinators-code-coordinator-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/patterns#folder-patterns-configuration-strings",
          "json": "https://banes-lab.com/json/anatomy/patterns/folder-patterns-configuration-strings",
          "label": "configuration/strings",
          "markdown": "https://banes-lab.com/anatomy/patterns/folder-patterns-configuration-strings.md",
          "ref": "chapter:/anatomy/patterns#folder-patterns-configuration-strings"
        },
        {
          "href": "https://banes-lab.com/anatomy/patterns#folder-patterns-core-analyzers",
          "json": "https://banes-lab.com/json/anatomy/patterns/folder-patterns-core-analyzers",
          "label": "core/analyzers",
          "markdown": "https://banes-lab.com/anatomy/patterns/folder-patterns-core-analyzers.md",
          "ref": "chapter:/anatomy/patterns#folder-patterns-core-analyzers"
        },
        {
          "href": "https://banes-lab.com/anatomy/patterns#folder-patterns-core-coordinators",
          "json": "https://banes-lab.com/json/anatomy/patterns/folder-patterns-core-coordinators",
          "label": "core/coordinators",
          "markdown": "https://banes-lab.com/anatomy/patterns/folder-patterns-core-coordinators.md",
          "ref": "chapter:/anatomy/patterns#folder-patterns-core-coordinators"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "analyzer",
    "subject": "concern",
    "variant": null
  },
  "stats": {
    "bytes": 2401,
    "callable": 3,
    "definitions": 15,
    "edges": 2,
    "exported": 5,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 1,
      "leaf": 1,
      "isolated": 13
    },
    "lines": {
      "blank": 4,
      "code": 51,
      "total": 55
    }
  },
  "summary": "51 lines of code and 15 definitions.",
  "text": "https://banes-lab.com/source/patterns/core/analyzers/concern.analyzer.ts.txt",
  "tree": "patterns",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-analyzers-definition-analyzer-ts",
      "json": "https://banes-lab.com/json/source/patterns/core/analyzers/definition.analyzer.ts",
      "label": "core/analyzers/definition.analyzer.ts",
      "markdown": "https://banes-lab.com/source/patterns/core/analyzers/definition.analyzer.ts.md",
      "ref": "anatomy:file-patterns-core-analyzers-definition-analyzer-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-analyzers-code-analyzer-ts",
      "json": "https://banes-lab.com/json/source/patterns/core/analyzers/code.analyzer.ts",
      "label": "core/analyzers/code.analyzer.ts",
      "markdown": "https://banes-lab.com/source/patterns/core/analyzers/code.analyzer.ts.md",
      "ref": "anatomy:file-patterns-core-analyzers-code-analyzer-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/patterns/core/analyzers",
    "label": "core/analyzers",
    "markdown": "https://banes-lab.com/api/source/patterns/core/analyzers.md",
    "ref": "api:source/patterns/core/analyzers"
  }
}
