{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "shared/manifests/taxonomy.manifest.ts",
          "name": "isIgnoredName",
          "source": {
            "href": "https://banes-lab.com/anatomy/governance#file-governance-shared-manifests-taxonomy-manifest-ts",
            "json": "https://banes-lab.com/json/source/governance/shared/manifests/taxonomy.manifest.ts",
            "label": "shared/manifests/taxonomy.manifest.ts",
            "markdown": "https://banes-lab.com/source/governance/shared/manifests/taxonomy.manifest.ts.md",
            "ref": "anatomy:file-governance-shared-manifests-taxonomy-manifest-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 3,
      "name": "matchesPattern",
      "signature": "export const matchesPattern = function matchesPattern(pattern: string, name: string): boolean {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 1,
      "name": "WILDCARD",
      "signature": "const WILDCARD = \"*\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 4,
      "name": "parts",
      "signature": "const parts = pattern.split(WILDCARD);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 8,
      "name": "first",
      "signature": "const first = parts[0] ?? \"\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 9,
      "name": "last",
      "signature": "const last = parts.at(-1) ?? \"\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "cursor",
      "signature": "let cursor = first.length;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 18,
      "name": "at",
      "signature": "const at = name.indexOf(middle, cursor);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/governance#file-governance-shared-matchers-pattern-matcher-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "pattern.matcher.ts",
  "path": "shared/matchers/pattern.matcher.ts",
  "ref": "anatomy:file-governance-shared-matchers-pattern-matcher-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/governance#folder-governance-shared-matchers",
          "json": "https://banes-lab.com/json/anatomy/governance/folder-governance-shared-matchers",
          "label": "shared/matchers",
          "markdown": "https://banes-lab.com/anatomy/governance/folder-governance-shared-matchers.md",
          "ref": "chapter:/anatomy/governance#folder-governance-shared-matchers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/governance#file-governance-shared-manifests-taxonomy-manifest-ts",
          "json": "https://banes-lab.com/json/source/governance/shared/manifests/taxonomy.manifest.ts",
          "label": "shared/manifests/taxonomy.manifest.ts",
          "markdown": "https://banes-lab.com/source/governance/shared/manifests/taxonomy.manifest.ts.md",
          "ref": "anatomy:file-governance-shared-manifests-taxonomy-manifest-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/governance#folder-governance-shared-manifests",
          "json": "https://banes-lab.com/json/anatomy/governance/folder-governance-shared-manifests",
          "label": "shared/manifests",
          "markdown": "https://banes-lab.com/anatomy/governance/folder-governance-shared-manifests.md",
          "ref": "chapter:/anatomy/governance#folder-governance-shared-manifests"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "matcher",
    "subject": "pattern",
    "variant": null
  },
  "stats": {
    "bytes": 770,
    "callable": 1,
    "definitions": 7,
    "edges": 0,
    "exported": 6,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 1,
      "isolated": 6
    },
    "lines": {
      "blank": 1,
      "code": 24,
      "total": 25
    }
  },
  "summary": "24 lines of code and 7 definitions.",
  "text": "https://banes-lab.com/source/governance/shared/matchers/pattern.matcher.ts.txt",
  "tree": "governance",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/governance#file-governance-shared-matchers-segment-matcher-ts",
      "json": "https://banes-lab.com/json/source/governance/shared/matchers/segment.matcher.ts",
      "label": "shared/matchers/segment.matcher.ts",
      "markdown": "https://banes-lab.com/source/governance/shared/matchers/segment.matcher.ts.md",
      "ref": "anatomy:file-governance-shared-matchers-segment-matcher-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/governance#file-governance-shared-matchers-location-matcher-ts",
      "json": "https://banes-lab.com/json/source/governance/shared/matchers/location.matcher.ts",
      "label": "shared/matchers/location.matcher.ts",
      "markdown": "https://banes-lab.com/source/governance/shared/matchers/location.matcher.ts.md",
      "ref": "anatomy:file-governance-shared-matchers-location-matcher-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/governance/shared/matchers",
    "label": "shared/matchers",
    "markdown": "https://banes-lab.com/api/source/governance/shared/matchers.md",
    "ref": "api:source/governance/shared/matchers"
  }
}
