{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 12,
      "name": "bodyStartOf",
      "signature": "export const bodyStartOf = function bodyStartOf(text: string): number {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "close",
      "signature": "const close = text.indexOf(FRONTMATTER_CLOSE, FRONTMATTER_OPEN.length - LINE_END.length);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 20,
      "name": "markLineAt",
      "signature": "export const markLineAt = function markLineAt(text: string): MarkSpan | null {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 21,
      "name": "start",
      "signature": "const start = bodyStartOf(text);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 25,
      "name": "lineEnd",
      "signature": "const lineEnd = text.indexOf(LINE_END, start);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 29,
      "name": "versionOf",
      "signature": "const versionOf = function versionOf(field: string): number | null {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 37,
      "name": "parseMark",
      "signature": "export const parseMark = function parseMark(text: string): GeneratedMark | null {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 38,
      "name": "at",
      "signature": "const at = markLineAt(text);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 42,
      "name": "line",
      "signature": "const line = text.slice(at.start + GENERATED_MARK_PREFIX.length, at.end);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 46,
      "name": "[time = \"\", version = \"\"]",
      "signature": "const [time = \"\", version = \"\"] = line.slice(0, -MARK_CLOSE.length).split(FIELD_SEPARATOR);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 47,
      "name": "count",
      "signature": "const count = versionOf(version);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/canonical-write#file-canonical-write-core-selectors-mark-selector-ts",
  "language": "typescript",
  "layer": "application",
  "name": "mark.selector.ts",
  "path": "core/selectors/mark.selector.ts",
  "ref": "anatomy:file-canonical-write-core-selectors-mark-selector-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/canonical-write#folder-canonical-write-core-selectors",
          "json": "https://banes-lab.com/json/anatomy/canonical-write/folder-canonical-write-core-selectors",
          "label": "core/selectors",
          "markdown": "https://banes-lab.com/anatomy/canonical-write/folder-canonical-write-core-selectors.md",
          "ref": "chapter:/anatomy/canonical-write#folder-canonical-write-core-selectors"
        }
      ],
      "relation": "contained-in"
    }
  ],
  "slots": {
    "concern": "selector",
    "subject": "mark",
    "variant": null
  },
  "stats": {
    "bytes": 1692,
    "callable": 4,
    "definitions": 11,
    "edges": 0,
    "exported": 10,
    "files": 1,
    "findings": {},
    "flows": {
      "isolated": 11
    },
    "lines": {
      "blank": 4,
      "code": 45,
      "total": 49
    }
  },
  "summary": "45 lines of code and 11 definitions.",
  "text": "https://banes-lab.com/source/canonical-write/core/selectors/mark.selector.ts.txt",
  "tree": "canonical-write",
  "siblings": {
    "next": null,
    "previous": null
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/canonical-write/core/selectors",
    "label": "core/selectors",
    "markdown": "https://banes-lab.com/api/source/canonical-write/core/selectors.md",
    "ref": "api:source/canonical-write/core/selectors"
  }
}
