{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "everyIn",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        },
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "everyIn",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "markupWords",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        },
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "markupWords",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 27,
      "name": "isNoise",
      "signature": "const isNoise = function isNoise(word: string): boolean {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "termMatches",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "domain/converters/search.fragment.converter.ts",
          "name": "narrowSection",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-search-fragment-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/domain/converters/search.fragment.converter.ts",
            "label": "domain/converters/search.fragment.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/domain/converters/search.fragment.converter.ts.md",
            "ref": "anatomy:file-domain-converters-search-fragment-converter-ts"
          }
        },
        {
          "file": "domain/converters/search.fragment.converter.ts",
          "name": "narrowSubsection",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-search-fragment-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/domain/converters/search.fragment.converter.ts",
            "label": "domain/converters/search.fragment.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/domain/converters/search.fragment.converter.ts.md",
            "ref": "anatomy:file-domain-converters-search-fragment-converter-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 103,
      "name": "matchesAll",
      "signature": "export const matchesAll = function matchesAll(terms: readonly string[], words: readonly string[]): boolean {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "isNoise",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        },
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "isNoise",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 18,
      "name": "everyIn",
      "signature": "const everyIn = function everyIn(word: string, characters: string): boolean {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "withinOneEdit",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        },
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "withinOneEdit",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 65,
      "name": "skipsOne",
      "signature": "const skipsOne = function skipsOne(longer: string, shorter: string): boolean {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "isNoise",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        },
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "isNoise",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        },
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "rawTokens",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "domain/converters/search.fragment.converter.ts",
          "name": "proseWords",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-search-fragment-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/domain/converters/search.fragment.converter.ts",
            "label": "domain/converters/search.fragment.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/domain/converters/search.fragment.converter.ts.md",
            "ref": "anatomy:file-domain-converters-search-fragment-converter-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 51,
      "name": "markupWords",
      "signature": "export const markupWords = function markupWords(markup: string): readonly string[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "skipsOne",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        },
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "skipsOne",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        },
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "swapsOne",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "fuzzyPrefix",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 81,
      "name": "withinOneEdit",
      "signature": "export const withinOneEdit = function withinOneEdit(left: string, right: string): boolean {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "withinOneEdit",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "termMatches",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 93,
      "name": "fuzzyPrefix",
      "signature": "const fuzzyPrefix = function fuzzyPrefix(term: string, word: string): boolean {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "fuzzyPrefix",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "matchesAll",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 97,
      "name": "termMatches",
      "signature": "export const termMatches = function termMatches(term: string, words: readonly string[]): boolean {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "markupWords",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 35,
      "name": "rawTokens",
      "signature": "const rawTokens = function rawTokens(text: string): readonly string[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/matchers/search.matcher.ts",
          "name": "withinOneEdit",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
            "json": "https://banes-lab.com/json/source/tree/core/matchers/search.matcher.ts",
            "label": "core/matchers/search.matcher.ts",
            "markdown": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.md",
            "ref": "anatomy:file-core-matchers-search-matcher-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 73,
      "name": "swapsOne",
      "signature": "const swapsOne = function swapsOne(left: string, right: string): boolean {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 14,
      "name": "queryTerms",
      "signature": "export const queryTerms = function queryTerms(query: string): readonly string[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 36,
      "name": "tokens",
      "signature": "const tokens: string[] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 37,
      "name": "current",
      "signature": "let current = \"\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 39,
      "name": "inWord",
      "signature": "const inWord = WORD_CHARACTERS.includes(character.toLowerCase());"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 52,
      "name": "text",
      "signature": "const text = convertMarkup(markup)"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 56,
      "name": "joined",
      "signature": "const joined = normalizeWord(token);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 60,
      "name": "parts",
      "signature": "const parts = identifierParts(token);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 74,
      "name": "differences",
      "signature": "let differences = 0;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 75,
      "name": "at",
      "signature": "for (let at = 0; at < left.length; at += 1) {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 91,
      "name": "PREFIX_SLACK",
      "signature": "const PREFIX_SLACK = [-1, 0, 1];"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-search-matcher-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "search.matcher.ts",
  "path": "core/matchers/search.matcher.ts",
  "ref": "anatomy:file-core-matchers-search-matcher-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-matchers",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-matchers",
          "label": "core/matchers",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-matchers.md",
          "ref": "chapter:/anatomy/tree#folder-core-matchers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-search-fragment-converter-ts",
          "json": "https://banes-lab.com/json/source/tree/domain/converters/search.fragment.converter.ts",
          "label": "domain/converters/search.fragment.converter.ts",
          "markdown": "https://banes-lab.com/source/tree/domain/converters/search.fragment.converter.ts.md",
          "ref": "anatomy:file-domain-converters-search-fragment-converter-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-matchers",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-matchers",
          "label": "core/matchers",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-matchers.md",
          "ref": "chapter:/anatomy/tree#folder-core-matchers"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-domain-converters",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-domain-converters",
          "label": "domain/converters",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-domain-converters.md",
          "ref": "chapter:/anatomy/tree#folder-domain-converters"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "matcher",
    "subject": "search",
    "variant": null
  },
  "stats": {
    "bytes": 3644,
    "callable": 11,
    "definitions": 20,
    "edges": 11,
    "exported": 8,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 6,
      "leaf": 4,
      "isolated": 10
    },
    "lines": {
      "blank": 12,
      "code": 93,
      "total": 105
    }
  },
  "summary": "93 lines of code and 20 definitions.",
  "text": "https://banes-lab.com/source/tree/core/matchers/search.matcher.ts.txt",
  "tree": "tree",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-vocabulary-matcher-ts",
      "json": "https://banes-lab.com/json/source/tree/core/matchers/vocabulary.matcher.ts",
      "label": "core/matchers/vocabulary.matcher.ts",
      "markdown": "https://banes-lab.com/source/tree/core/matchers/vocabulary.matcher.ts.md",
      "ref": "anatomy:file-core-matchers-vocabulary-matcher-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/tree#file-core-matchers-markdown-matcher-ts",
      "json": "https://banes-lab.com/json/source/tree/core/matchers/markdown.matcher.ts",
      "label": "core/matchers/markdown.matcher.ts",
      "markdown": "https://banes-lab.com/source/tree/core/matchers/markdown.matcher.ts.md",
      "ref": "anatomy:file-core-matchers-markdown-matcher-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/tree/core/matchers",
    "label": "core/matchers",
    "markdown": "https://banes-lab.com/api/source/tree/core/matchers.md",
    "ref": "api:source/tree/core/matchers"
  }
}
