{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/parsers/layer.parser.ts",
          "name": "layerOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-layer-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/layer.parser.ts",
            "label": "core/parsers/layer.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/layer.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-layer-parser-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 69,
      "name": "splitConcernLayers",
      "signature": "export const splitConcernLayers = function splitConcernLayers(doc: string): LayerSplit {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/parsers/layer.parser.ts",
          "name": "splitConcernLayers",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-layer-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/layer.parser.ts",
            "label": "core/parsers/layer.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/layer.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-layer-parser-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 78,
      "name": "layerOf",
      "signature": "export const layerOf = function layerOf(doc: string, id: string): string | null {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 8,
      "name": "markerId",
      "signature": "const markerId = function markerId(trimmed: string, prefix: string): string | null {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 12,
      "name": "inner",
      "signature": "const inner = trimmed.slice(prefix.length, trimmed.length - MARKER_END.length).trim();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "class_declaration",
      "line": 16,
      "name": "LayerParser",
      "signature": "class LayerParser {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 17,
      "name": "layers",
      "signature": "public readonly layers: ConcernLayer[] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 18,
      "name": "defects",
      "signature": "public readonly defects: LayerDefect[] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 19,
      "name": "seen",
      "signature": "private readonly seen = new Set<string>();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 20,
      "name": "openId",
      "signature": "private openId: string | null = null;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 21,
      "name": "bodyLines",
      "signature": "private bodyLines: string[] = [];"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 23,
      "name": "feed",
      "signature": "public feed(raw: string): void {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 24,
      "name": "trimmed",
      "signature": "const trimmed = raw.trim();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 25,
      "name": "opened",
      "signature": "const opened = markerId(trimmed, OPEN_PREFIX);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 30,
      "name": "closed",
      "signature": "const closed = markerId(trimmed, CLOSE_PREFIX);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 40,
      "name": "finish",
      "signature": "public finish(): void {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 46,
      "name": "open",
      "signature": "private open(id: string): void {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 58,
      "name": "close",
      "signature": "private close(id: string): void {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 70,
      "name": "parser",
      "signature": "const parser = new LayerParser();"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-layer-parser-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "layer.parser.ts",
  "path": "core/parsers/layer.parser.ts",
  "ref": "anatomy:file-docs-core-parsers-layer-parser-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-parsers",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-parsers",
          "label": "core/parsers",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-parsers.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-parsers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-parsers",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-parsers",
          "label": "core/parsers",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-parsers.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-parsers"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "parser",
    "subject": "layer",
    "variant": null
  },
  "stats": {
    "bytes": 2562,
    "callable": 7,
    "definitions": 18,
    "edges": 1,
    "exported": 3,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 1,
      "entry": 1,
      "isolated": 16
    },
    "lines": {
      "blank": 8,
      "code": 72,
      "total": 80
    }
  },
  "summary": "72 lines of code and 18 definitions.",
  "text": "https://banes-lab.com/source/docs/core/parsers/layer.parser.ts.txt",
  "tree": "docs",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-location-parser-ts",
      "json": "https://banes-lab.com/json/source/docs/core/parsers/location.parser.ts",
      "label": "core/parsers/location.parser.ts",
      "markdown": "https://banes-lab.com/source/docs/core/parsers/location.parser.ts.md",
      "ref": "anatomy:file-docs-core-parsers-location-parser-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
      "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
      "label": "core/parsers/export.parser.ts",
      "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
      "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/docs/core/parsers",
    "label": "core/parsers",
    "markdown": "https://banes-lab.com/api/source/docs/core/parsers.md",
    "ref": "api:source/docs/core/parsers"
  }
}
