{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/formatters/mark.formatter.ts",
          "name": "insertMark",
          "source": {
            "href": "https://banes-lab.com/anatomy/canonical-write#file-canonical-write-core-formatters-mark-formatter-ts",
            "json": "https://banes-lab.com/json/source/canonical-write/core/formatters/mark.formatter.ts",
            "label": "core/formatters/mark.formatter.ts",
            "markdown": "https://banes-lab.com/source/canonical-write/core/formatters/mark.formatter.ts.md",
            "ref": "anatomy:file-canonical-write-core-formatters-mark-formatter-ts"
          }
        },
        {
          "file": "core/formatters/mark.formatter.ts",
          "name": "stripMark",
          "source": {
            "href": "https://banes-lab.com/anatomy/canonical-write#file-canonical-write-core-formatters-mark-formatter-ts",
            "json": "https://banes-lab.com/json/source/canonical-write/core/formatters/mark.formatter.ts",
            "label": "core/formatters/mark.formatter.ts",
            "markdown": "https://banes-lab.com/source/canonical-write/core/formatters/mark.formatter.ts.md",
            "ref": "anatomy:file-canonical-write-core-formatters-mark-formatter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 21,
      "name": "skipBlankLines",
      "signature": "const skipBlankLines = function skipBlankLines(text: string, from: number): number {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/formatters/mark.formatter.ts",
          "name": "insertMark",
          "source": {
            "href": "https://banes-lab.com/anatomy/canonical-write#file-canonical-write-core-formatters-mark-formatter-ts",
            "json": "https://banes-lab.com/json/source/canonical-write/core/formatters/mark.formatter.ts",
            "label": "core/formatters/mark.formatter.ts",
            "markdown": "https://banes-lab.com/source/canonical-write/core/formatters/mark.formatter.ts.md",
            "ref": "anatomy:file-canonical-write-core-formatters-mark-formatter-ts"
          }
        },
        {
          "file": "core/formatters/mark.formatter.ts",
          "name": "markTimeOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/canonical-write#file-canonical-write-core-formatters-mark-formatter-ts",
            "json": "https://banes-lab.com/json/source/canonical-write/core/formatters/mark.formatter.ts",
            "label": "core/formatters/mark.formatter.ts",
            "markdown": "https://banes-lab.com/source/canonical-write/core/formatters/mark.formatter.ts.md",
            "ref": "anatomy:file-canonical-write-core-formatters-mark-formatter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/persistence/text.persistence.ts",
          "name": "writeGeneratedMarkdown",
          "source": {
            "href": "https://banes-lab.com/anatomy/canonical-write#file-canonical-write-core-persistence-text-persistence-ts",
            "json": "https://banes-lab.com/json/source/canonical-write/core/persistence/text.persistence.ts",
            "label": "core/persistence/text.persistence.ts",
            "markdown": "https://banes-lab.com/source/canonical-write/core/persistence/text.persistence.ts.md",
            "ref": "anatomy:file-canonical-write-core-persistence-text-persistence-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 40,
      "name": "stampGenerated",
      "signature": "export const stampGenerated = function stampGenerated("
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/formatters/mark.formatter.ts",
          "name": "skipBlankLines",
          "source": {
            "href": "https://banes-lab.com/anatomy/canonical-write#file-canonical-write-core-formatters-mark-formatter-ts",
            "json": "https://banes-lab.com/json/source/canonical-write/core/formatters/mark.formatter.ts",
            "label": "core/formatters/mark.formatter.ts",
            "markdown": "https://banes-lab.com/source/canonical-write/core/formatters/mark.formatter.ts.md",
            "ref": "anatomy:file-canonical-write-core-formatters-mark-formatter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/formatters/mark.formatter.ts",
          "name": "stampGenerated",
          "source": {
            "href": "https://banes-lab.com/anatomy/canonical-write#file-canonical-write-core-formatters-mark-formatter-ts",
            "json": "https://banes-lab.com/json/source/canonical-write/core/formatters/mark.formatter.ts",
            "label": "core/formatters/mark.formatter.ts",
            "markdown": "https://banes-lab.com/source/canonical-write/core/formatters/mark.formatter.ts.md",
            "ref": "anatomy:file-canonical-write-core-formatters-mark-formatter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 34,
      "name": "insertMark",
      "signature": "const insertMark = function insertMark(body: string, mark: GeneratedMark): string {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/formatters/mark.formatter.ts",
          "name": "stampGenerated",
          "source": {
            "href": "https://banes-lab.com/anatomy/canonical-write#file-canonical-write-core-formatters-mark-formatter-ts",
            "json": "https://banes-lab.com/json/source/canonical-write/core/formatters/mark.formatter.ts",
            "label": "core/formatters/mark.formatter.ts",
            "markdown": "https://banes-lab.com/source/canonical-write/core/formatters/mark.formatter.ts.md",
            "ref": "anatomy:file-canonical-write-core-formatters-mark-formatter-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 13,
      "name": "markTimeOf",
      "signature": "export const markTimeOf = function markTimeOf(date: Date): string {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/formatters/mark.formatter.ts",
          "name": "skipBlankLines",
          "source": {
            "href": "https://banes-lab.com/anatomy/canonical-write#file-canonical-write-core-formatters-mark-formatter-ts",
            "json": "https://banes-lab.com/json/source/canonical-write/core/formatters/mark.formatter.ts",
            "label": "core/formatters/mark.formatter.ts",
            "markdown": "https://banes-lab.com/source/canonical-write/core/formatters/mark.formatter.ts.md",
            "ref": "anatomy:file-canonical-write-core-formatters-mark-formatter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 29,
      "name": "stripMark",
      "signature": "export const stripMark = function stripMark(text: string): string {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 17,
      "name": "composeMark",
      "signature": "export const composeMark = function composeMark(mark: GeneratedMark): string {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 30,
      "name": "at",
      "signature": "const at = markLineAt(text);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 35,
      "name": "line",
      "signature": "const line = composeMark(mark) + LINE_END + LINE_END;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 36,
      "name": "after",
      "signature": "const after = bodyStartOf(body);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 46,
      "name": "held",
      "signature": "const held = parseMark(previous);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 47,
      "name": "unmarked",
      "signature": "const unmarked = stripMark(body);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 49,
      "name": "kept",
      "signature": "const kept = insertMark(unmarked, held);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/canonical-write#file-canonical-write-core-formatters-mark-formatter-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "mark.formatter.ts",
  "path": "core/formatters/mark.formatter.ts",
  "ref": "anatomy:file-canonical-write-core-formatters-mark-formatter-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/canonical-write#folder-canonical-write-core-formatters",
          "json": "https://banes-lab.com/json/anatomy/canonical-write/folder-canonical-write-core-formatters",
          "label": "core/formatters",
          "markdown": "https://banes-lab.com/anatomy/canonical-write/folder-canonical-write-core-formatters.md",
          "ref": "chapter:/anatomy/canonical-write#folder-canonical-write-core-formatters"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/canonical-write#file-canonical-write-core-persistence-text-persistence-ts",
          "json": "https://banes-lab.com/json/source/canonical-write/core/persistence/text.persistence.ts",
          "label": "core/persistence/text.persistence.ts",
          "markdown": "https://banes-lab.com/source/canonical-write/core/persistence/text.persistence.ts.md",
          "ref": "anatomy:file-canonical-write-core-persistence-text-persistence-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/canonical-write#folder-canonical-write-core-formatters",
          "json": "https://banes-lab.com/json/anatomy/canonical-write/folder-canonical-write-core-formatters",
          "label": "core/formatters",
          "markdown": "https://banes-lab.com/anatomy/canonical-write/folder-canonical-write-core-formatters.md",
          "ref": "chapter:/anatomy/canonical-write#folder-canonical-write-core-formatters"
        },
        {
          "href": "https://banes-lab.com/anatomy/canonical-write#folder-canonical-write-core-persistence",
          "json": "https://banes-lab.com/json/anatomy/canonical-write/folder-canonical-write-core-persistence",
          "label": "core/persistence",
          "markdown": "https://banes-lab.com/anatomy/canonical-write/folder-canonical-write-core-persistence.md",
          "ref": "chapter:/anatomy/canonical-write#folder-canonical-write-core-persistence"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "formatter",
    "subject": "mark",
    "variant": null
  },
  "stats": {
    "bytes": 1871,
    "callable": 6,
    "definitions": 12,
    "edges": 4,
    "exported": 8,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 2,
      "relay": 2,
      "entry": 1,
      "isolated": 7
    },
    "lines": {
      "blank": 6,
      "code": 49,
      "total": 55
    }
  },
  "summary": "49 lines of code and 12 definitions.",
  "text": "https://banes-lab.com/source/canonical-write/core/formatters/mark.formatter.ts.txt",
  "tree": "canonical-write",
  "siblings": {
    "next": null,
    "previous": null
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/canonical-write/core/formatters",
    "label": "core/formatters",
    "markdown": "https://banes-lab.com/api/source/canonical-write/core/formatters.md",
    "ref": "api:source/canonical-write/core/formatters"
  }
}
