{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/matchers/target.matcher.ts",
          "name": "isEsPrefix",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-target-matcher-ts",
            "json": "https://banes-lab.com/json/source/quality/core/matchers/target.matcher.ts",
            "label": "core/matchers/target.matcher.ts",
            "markdown": "https://banes-lab.com/source/quality/core/matchers/target.matcher.ts.md",
            "ref": "anatomy:file-quality-core-matchers-target-matcher-ts"
          }
        },
        {
          "file": "core/matchers/target.matcher.ts",
          "name": "yearOfVersion",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-target-matcher-ts",
            "json": "https://banes-lab.com/json/source/quality/core/matchers/target.matcher.ts",
            "label": "core/matchers/target.matcher.ts",
            "markdown": "https://banes-lab.com/source/quality/core/matchers/target.matcher.ts.md",
            "ref": "anatomy:file-quality-core-matchers-target-matcher-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/matchers/target.matcher.ts",
          "name": "spanAt",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-target-matcher-ts",
            "json": "https://banes-lab.com/json/source/quality/core/matchers/target.matcher.ts",
            "label": "core/matchers/target.matcher.ts",
            "markdown": "https://banes-lab.com/source/quality/core/matchers/target.matcher.ts.md",
            "ref": "anatomy:file-quality-core-matchers-target-matcher-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 24,
      "name": "esTokenYear",
      "signature": "export const esTokenYear = function esTokenYear(token: string): number | null {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/matchers/target.matcher.ts",
          "name": "esTokenYear",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-target-matcher-ts",
            "json": "https://banes-lab.com/json/source/quality/core/matchers/target.matcher.ts",
            "label": "core/matchers/target.matcher.ts",
            "markdown": "https://banes-lab.com/source/quality/core/matchers/target.matcher.ts.md",
            "ref": "anatomy:file-quality-core-matchers-target-matcher-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 13,
      "name": "isEsPrefix",
      "signature": "const isEsPrefix = function isEsPrefix(token: string): boolean {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/matchers/target.matcher.ts",
          "name": "esTokenYear",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-target-matcher-ts",
            "json": "https://banes-lab.com/json/source/quality/core/matchers/target.matcher.ts",
            "label": "core/matchers/target.matcher.ts",
            "markdown": "https://banes-lab.com/source/quality/core/matchers/target.matcher.ts.md",
            "ref": "anatomy:file-quality-core-matchers-target-matcher-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 17,
      "name": "yearOfVersion",
      "signature": "const yearOfVersion = function yearOfVersion(n: number): number {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/matchers/target.matcher.ts",
          "name": "findStaleEsTokens",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-target-matcher-ts",
            "json": "https://banes-lab.com/json/source/quality/core/matchers/target.matcher.ts",
            "label": "core/matchers/target.matcher.ts",
            "markdown": "https://banes-lab.com/source/quality/core/matchers/target.matcher.ts.md",
            "ref": "anatomy:file-quality-core-matchers-target-matcher-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 44,
      "name": "findEsTokenSpans",
      "signature": "const findEsTokenSpans = function findEsTokenSpans(text: string): EsTokenSpan[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/matchers/target.matcher.ts",
          "name": "esTokenYear",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-target-matcher-ts",
            "json": "https://banes-lab.com/json/source/quality/core/matchers/target.matcher.ts",
            "label": "core/matchers/target.matcher.ts",
            "markdown": "https://banes-lab.com/source/quality/core/matchers/target.matcher.ts.md",
            "ref": "anatomy:file-quality-core-matchers-target-matcher-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 35,
      "name": "spanAt",
      "signature": "const spanAt = function spanAt(text: string, open: number): { end: number; span: EsTokenSpan | null } {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/matchers/target.matcher.ts",
          "name": "findEsTokenSpans",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-target-matcher-ts",
            "json": "https://banes-lab.com/json/source/quality/core/matchers/target.matcher.ts",
            "label": "core/matchers/target.matcher.ts",
            "markdown": "https://banes-lab.com/source/quality/core/matchers/target.matcher.ts.md",
            "ref": "anatomy:file-quality-core-matchers-target-matcher-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 57,
      "name": "findStaleEsTokens",
      "signature": "export const findStaleEsTokens = function findStaleEsTokens(text: string, minYear: number): EsTokenSpan[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 28,
      "name": "rest",
      "signature": "const rest = token.slice(ES_PREFIX_LEN);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 36,
      "name": "close",
      "signature": "const close = text.indexOf('\"', open + 1);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 40,
      "name": "token",
      "signature": "const token = text.slice(open + 1, close);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 45,
      "name": "spans",
      "signature": "const spans: EsTokenSpan[] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 46,
      "name": "at",
      "signature": "let at = text.indexOf('\"');"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 48,
      "name": "{ end, span }",
      "signature": "const { end, span } = spanAt(text, at);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 59,
      "name": "year",
      "signature": "const year = esTokenYear(span.token);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-target-matcher-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "target.matcher.ts",
  "path": "core/matchers/target.matcher.ts",
  "ref": "anatomy:file-quality-core-matchers-target-matcher-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-matchers",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-matchers",
          "label": "core/matchers",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-matchers.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-matchers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-matchers",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-matchers",
          "label": "core/matchers",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-matchers.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-matchers"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "matcher",
    "subject": "target",
    "variant": null
  },
  "stats": {
    "bytes": 2038,
    "callable": 6,
    "definitions": 13,
    "edges": 4,
    "exported": 4,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 1,
      "leaf": 3,
      "entry": 2,
      "isolated": 7
    },
    "lines": {
      "blank": 6,
      "code": 56,
      "total": 62
    }
  },
  "summary": "56 lines of code and 13 definitions.",
  "text": "https://banes-lab.com/source/quality/core/matchers/target.matcher.ts.txt",
  "tree": "quality",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-word-matcher-ts",
      "json": "https://banes-lab.com/json/source/quality/core/matchers/word.matcher.ts",
      "label": "core/matchers/word.matcher.ts",
      "markdown": "https://banes-lab.com/source/quality/core/matchers/word.matcher.ts.md",
      "ref": "anatomy:file-quality-core-matchers-word-matcher-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-exclusions-matcher-ts",
      "json": "https://banes-lab.com/json/source/quality/core/matchers/exclusions.matcher.ts",
      "label": "core/matchers/exclusions.matcher.ts",
      "markdown": "https://banes-lab.com/source/quality/core/matchers/exclusions.matcher.ts.md",
      "ref": "anatomy:file-quality-core-matchers-exclusions-matcher-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/quality/core/matchers",
    "label": "core/matchers",
    "markdown": "https://banes-lab.com/api/source/quality/core/matchers.md",
    "ref": "api:source/quality/core/matchers"
  }
}
