{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/parsers/diagram.parser.ts",
          "name": "mermaidBlocks",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-diagram-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/diagram.parser.ts",
            "label": "core/parsers/diagram.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/diagram.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-diagram-parser-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/analyzers/document.analyzer.ts",
          "name": "analyzeSync",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-analyzers-document-analyzer-ts",
            "json": "https://banes-lab.com/json/source/docs/core/analyzers/document.analyzer.ts",
            "label": "core/analyzers/document.analyzer.ts",
            "markdown": "https://banes-lab.com/source/docs/core/analyzers/document.analyzer.ts.md",
            "ref": "anatomy:file-docs-core-analyzers-document-analyzer-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 91,
      "name": "mermaidHardening",
      "signature": "export const mermaidHardening = function mermaidHardening(source: string): MermaidHardeningHit[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/analyzers/diagram.analyzer.ts",
          "name": "isStatementSeparator",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-analyzers-diagram-analyzer-ts",
            "json": "https://banes-lab.com/json/source/docs/core/analyzers/diagram.analyzer.ts",
            "label": "core/analyzers/diagram.analyzer.ts",
            "markdown": "https://banes-lab.com/source/docs/core/analyzers/diagram.analyzer.ts.md",
            "ref": "anatomy:file-docs-core-analyzers-diagram-analyzer-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "trailingHasContent",
      "signature": "const trailingHasContent = function trailingHasContent(line: string, from: number): boolean {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/diagram.strings.ts",
          "name": "parenDetail",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-diagram-strings-ts",
            "json": "https://banes-lab.com/json/source/docs/configuration/strings/diagram.strings.ts",
            "label": "configuration/strings/diagram.strings.ts",
            "markdown": "https://banes-lab.com/source/docs/configuration/strings/diagram.strings.ts.md",
            "ref": "anatomy:file-docs-configuration-strings-diagram-strings-ts"
          }
        },
        {
          "file": "configuration/strings/diagram.strings.ts",
          "name": "reservedDetail",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-diagram-strings-ts",
            "json": "https://banes-lab.com/json/source/docs/configuration/strings/diagram.strings.ts",
            "label": "configuration/strings/diagram.strings.ts",
            "markdown": "https://banes-lab.com/source/docs/configuration/strings/diagram.strings.ts.md",
            "ref": "anatomy:file-docs-configuration-strings-diagram-strings-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "method_definition",
      "line": 68,
      "name": "scanPlain",
      "signature": "private scanPlain(char: string, at: number): void {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/analyzers/diagram.analyzer.ts",
          "name": "trailingHasContent",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-analyzers-diagram-analyzer-ts",
            "json": "https://banes-lab.com/json/source/docs/core/analyzers/diagram.analyzer.ts",
            "label": "core/analyzers/diagram.analyzer.ts",
            "markdown": "https://banes-lab.com/source/docs/core/analyzers/diagram.analyzer.ts.md",
            "ref": "anatomy:file-docs-core-analyzers-diagram-analyzer-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "method_definition",
      "line": 50,
      "name": "isStatementSeparator",
      "signature": "private isStatementSeparator(char: string, at: number): boolean {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/diagram.strings.ts",
          "name": "nonAsciiDetail",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-diagram-strings-ts",
            "json": "https://banes-lab.com/json/source/docs/configuration/strings/diagram.strings.ts",
            "label": "configuration/strings/diagram.strings.ts",
            "markdown": "https://banes-lab.com/source/docs/configuration/strings/diagram.strings.ts.md",
            "ref": "anatomy:file-docs-configuration-strings-diagram-strings-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "method_definition",
      "line": 54,
      "name": "scanChar",
      "signature": "private scanChar(at: number): void {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 5,
      "name": "RESERVED_IN_LABEL",
      "signature": "const RESERVED_IN_LABEL: ReadonlySet<string> = new Set([\"[\", \"]\", \"{\", \"}\", \"<\", \">\", \"&\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 6,
      "name": "PARENS",
      "signature": "const PARENS: ReadonlySet<string> = new Set([\"(\", \")\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 7,
      "name": "TRAILING_BLANKS",
      "signature": "const TRAILING_BLANKS: ReadonlySet<string> = new Set([\" \", \"\\t\", \"\\r\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 8,
      "name": "DIRECTION_WORD",
      "signature": "const DIRECTION_WORD = \"direction \";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 9,
      "name": "BREAK_TAG",
      "signature": "const BREAK_TAG = \"br\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 10,
      "name": "MAX_ASCII",
      "signature": "const MAX_ASCII = 126;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 11,
      "name": "BR_END_OFFSET",
      "signature": "const BR_END_OFFSET = 3;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 12,
      "name": "QUOTE",
      "signature": "const QUOTE = '\"';"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 13,
      "name": "OPEN_ANGLE",
      "signature": "const OPEN_ANGLE = \"<\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 14,
      "name": "SEMICOLON",
      "signature": "const SEMICOLON = \";\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "class_declaration",
      "line": 25,
      "name": "MermaidLineScanner",
      "signature": "class MermaidLineScanner {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 26,
      "name": "hits",
      "signature": "public readonly hits: MermaidHardeningHit[] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 27,
      "name": "inQuote",
      "signature": "private inQuote = false;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 28,
      "name": "line",
      "signature": "private readonly line: string;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 29,
      "name": "lineNo",
      "signature": "private readonly lineNo: number;"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 31,
      "name": "constructor",
      "signature": "public constructor(line: string, lineNo: number) {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 36,
      "name": "scan",
      "signature": "public scan(): MermaidHardeningHit[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 37,
      "name": "at",
      "signature": "for (let at = 0; at < this.line.length; at += 1) {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 46,
      "name": "isHtmlBreak",
      "signature": "private isHtmlBreak(char: string, at: number): boolean {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 55,
      "name": "char",
      "signature": "const char = this.line.charAt(at);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 56,
      "name": "code",
      "signature": "const code = this.line.codePointAt(at) ?? 0;"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 86,
      "name": "push",
      "signature": "private push(code: MermaidHardeningCode, at: number, detail: string): void {"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/docs#file-docs-core-analyzers-diagram-analyzer-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "diagram.analyzer.ts",
  "path": "core/analyzers/diagram.analyzer.ts",
  "ref": "anatomy:file-docs-core-analyzers-diagram-analyzer-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-analyzers",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-analyzers",
          "label": "core/analyzers",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-analyzers.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-analyzers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-diagram-strings-ts",
          "json": "https://banes-lab.com/json/source/docs/configuration/strings/diagram.strings.ts",
          "label": "configuration/strings/diagram.strings.ts",
          "markdown": "https://banes-lab.com/source/docs/configuration/strings/diagram.strings.ts.md",
          "ref": "anatomy:file-docs-configuration-strings-diagram-strings-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-diagram-parser-ts",
          "json": "https://banes-lab.com/json/source/docs/core/parsers/diagram.parser.ts",
          "label": "core/parsers/diagram.parser.ts",
          "markdown": "https://banes-lab.com/source/docs/core/parsers/diagram.parser.ts.md",
          "ref": "anatomy:file-docs-core-parsers-diagram-parser-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#file-docs-core-analyzers-document-analyzer-ts",
          "json": "https://banes-lab.com/json/source/docs/core/analyzers/document.analyzer.ts",
          "label": "core/analyzers/document.analyzer.ts",
          "markdown": "https://banes-lab.com/source/docs/core/analyzers/document.analyzer.ts.md",
          "ref": "anatomy:file-docs-core-analyzers-document-analyzer-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-configuration-strings",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-configuration-strings",
          "label": "configuration/strings",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-configuration-strings.md",
          "ref": "chapter:/anatomy/docs#folder-docs-configuration-strings"
        },
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-analyzers",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-analyzers",
          "label": "core/analyzers",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-analyzers.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-analyzers"
        },
        {
          "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": "analyzer",
    "subject": "diagram",
    "variant": null
  },
  "stats": {
    "bytes": 3425,
    "callable": 9,
    "definitions": 27,
    "edges": 5,
    "exported": 1,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 1,
      "leaf": 1,
      "entry": 3,
      "isolated": 22
    },
    "lines": {
      "blank": 11,
      "code": 84,
      "total": 95
    }
  },
  "summary": "84 lines of code and 27 definitions.",
  "text": "https://banes-lab.com/source/docs/core/analyzers/diagram.analyzer.ts.txt",
  "tree": "docs",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/docs#file-docs-core-analyzers-document-analyzer-ts",
      "json": "https://banes-lab.com/json/source/docs/core/analyzers/document.analyzer.ts",
      "label": "core/analyzers/document.analyzer.ts",
      "markdown": "https://banes-lab.com/source/docs/core/analyzers/document.analyzer.ts.md",
      "ref": "anatomy:file-docs-core-analyzers-document-analyzer-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/docs#file-docs-core-analyzers-definition-analyzer-ts",
      "json": "https://banes-lab.com/json/source/docs/core/analyzers/definition.analyzer.ts",
      "label": "core/analyzers/definition.analyzer.ts",
      "markdown": "https://banes-lab.com/source/docs/core/analyzers/definition.analyzer.ts.md",
      "ref": "anatomy:file-docs-core-analyzers-definition-analyzer-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/docs/core/analyzers",
    "label": "core/analyzers",
    "markdown": "https://banes-lab.com/api/source/docs/core/analyzers.md",
    "ref": "api:source/docs/core/analyzers"
  }
}
