{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/surface.converter.ts",
          "name": "isViewLine",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-surface-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/surface.converter.ts",
            "label": "core/converters/surface.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/surface.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-surface-converter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/adapters/surface.adapter.ts",
          "name": "venueLines",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-adapters-surface-adapter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/adapters/surface.adapter.ts",
            "label": "core/adapters/surface.adapter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/adapters/surface.adapter.ts.md",
            "ref": "anatomy:file-build-scripts-core-adapters-surface-adapter-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 51,
      "name": "venueView",
      "signature": "export const venueView = function venueView(lines: readonly string[]): string[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/surface.converter.ts",
          "name": "venueView",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-surface-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/surface.converter.ts",
            "label": "core/converters/surface.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/surface.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-surface-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 41,
      "name": "isViewLine",
      "signature": "const isViewLine = function isViewLine(line: string, place: ViewPlace): boolean {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/adapters/surface.adapter.ts",
          "name": "runWrite",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-adapters-surface-adapter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/adapters/surface.adapter.ts",
            "label": "core/adapters/surface.adapter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/adapters/surface.adapter.ts.md",
            "ref": "anatomy:file-build-scripts-core-adapters-surface-adapter-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 84,
      "name": "appendLine",
      "signature": "export const appendLine = function appendLine(text: string, file: string): string {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 11,
      "name": "QUOTE",
      "signature": "const QUOTE = '\"';"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 13,
      "name": "SPACE",
      "signature": "const SPACE = \" \";"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 15,
      "name": "changedRegion",
      "signature": "export const changedRegion = function changedRegion("
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 19,
      "name": "shorter",
      "signature": "const shorter = Math.min(before.length, after.length);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 20,
      "name": "prefix",
      "signature": "let prefix = 0;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 24,
      "name": "suffix",
      "signature": "let suffix = 0;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 28,
      "name": "to",
      "signature": "const to = after.length - suffix;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 34,
      "name": "ViewPlace",
      "signature": "interface ViewPlace {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 52,
      "name": "tail",
      "signature": "const tail = lines.findLastIndex((line) => line.startsWith(SECTION_BANNER));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 53,
      "name": "kept",
      "signature": "const kept: string[] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 54,
      "name": "fenced",
      "signature": "let fenced = false;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 55,
      "name": "inRecord",
      "signature": "let inRecord = false;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 56,
      "name": "afterKept",
      "signature": "let afterKept = false;"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 69,
      "name": "markedLines",
      "signature": "export const markedLines = function markedLines(lines: readonly string[], highlight: Region | null): SurfaceLine[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 76,
      "name": "quoted",
      "signature": "const quoted = function quoted(argument: string): string {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 80,
      "name": "commandLine",
      "signature": "export const commandLine = function commandLine(tool: ScenarioTool, args: readonly string[]): string {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 88,
      "name": "recordingsOf",
      "signature": "export const recordingsOf = function recordingsOf("
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 92,
      "name": "grouped",
      "signature": "const grouped = Map.groupBy(frames, (entry) => entry.figure);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-surface-converter-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "surface.converter.ts",
  "path": "core/converters/surface.converter.ts",
  "ref": "anatomy:file-build-scripts-core-converters-surface-converter-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#folder-build-scripts-core-converters",
          "json": "https://banes-lab.com/json/anatomy/build-scripts/folder-build-scripts-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-core-converters.md",
          "ref": "chapter:/anatomy/build-scripts#folder-build-scripts-core-converters"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-adapters-surface-adapter-ts",
          "json": "https://banes-lab.com/json/source/build-scripts/core/adapters/surface.adapter.ts",
          "label": "core/adapters/surface.adapter.ts",
          "markdown": "https://banes-lab.com/source/build-scripts/core/adapters/surface.adapter.ts.md",
          "ref": "anatomy:file-build-scripts-core-adapters-surface-adapter-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#folder-build-scripts-core-adapters",
          "json": "https://banes-lab.com/json/anatomy/build-scripts/folder-build-scripts-core-adapters",
          "label": "core/adapters",
          "markdown": "https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-core-adapters.md",
          "ref": "chapter:/anatomy/build-scripts#folder-build-scripts-core-adapters"
        },
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#folder-build-scripts-core-converters",
          "json": "https://banes-lab.com/json/anatomy/build-scripts/folder-build-scripts-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-core-converters.md",
          "ref": "chapter:/anatomy/build-scripts#folder-build-scripts-core-converters"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "converter",
    "subject": "surface",
    "variant": null
  },
  "stats": {
    "bytes": 3336,
    "callable": 8,
    "definitions": 21,
    "edges": 1,
    "exported": 16,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 1,
      "leaf": 2,
      "isolated": 18
    },
    "lines": {
      "blank": 11,
      "code": 88,
      "total": 99
    }
  },
  "summary": "88 lines of code and 21 definitions.",
  "text": "https://banes-lab.com/source/build-scripts/core/converters/surface.converter.ts.txt",
  "tree": "build-scripts",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-tab-converter-ts",
      "json": "https://banes-lab.com/json/source/build-scripts/core/converters/tab.converter.ts",
      "label": "core/converters/tab.converter.ts",
      "markdown": "https://banes-lab.com/source/build-scripts/core/converters/tab.converter.ts.md",
      "ref": "anatomy:file-build-scripts-core-converters-tab-converter-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-style-converter-ts",
      "json": "https://banes-lab.com/json/source/build-scripts/core/converters/style.converter.ts",
      "label": "core/converters/style.converter.ts",
      "markdown": "https://banes-lab.com/source/build-scripts/core/converters/style.converter.ts.md",
      "ref": "anatomy:file-build-scripts-core-converters-style-converter-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/build-scripts/core/converters",
    "label": "core/converters",
    "markdown": "https://banes-lab.com/api/source/build-scripts/core/converters.md",
    "ref": "api:source/build-scripts/core/converters"
  }
}
