{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/parsers/field.parser.ts",
          "name": "stepScan",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-parsers-field-parser-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/parsers/field.parser.ts",
            "label": "core/parsers/field.parser.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/parsers/field.parser.ts.md",
            "ref": "anatomy:file-patterns-core-parsers-field-parser-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/loaders/record.loader.ts",
          "name": "loadFile",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-loaders-record-loader-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/loaders/record.loader.ts",
            "label": "core/loaders/record.loader.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/loaders/record.loader.ts.md",
            "ref": "anatomy:file-patterns-core-loaders-record-loader-ts"
          }
        },
        {
          "file": "core/loaders/record.loader.ts",
          "name": "loadFile",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-loaders-record-loader-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/loaders/record.loader.ts",
            "label": "core/loaders/record.loader.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/loaders/record.loader.ts.md",
            "ref": "anatomy:file-patterns-core-loaders-record-loader-ts"
          }
        },
        {
          "file": "core/loaders/record.loader.ts",
          "name": "loadFile",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-loaders-record-loader-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/loaders/record.loader.ts",
            "label": "core/loaders/record.loader.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/loaders/record.loader.ts.md",
            "ref": "anatomy:file-patterns-core-loaders-record-loader-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 120,
      "name": "scanFloatFields",
      "signature": "export const scanFloatFields = function scanFloatFields(text: string, recordDepth: number): Set<string> {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/parsers/field.parser.ts",
          "name": "handleNumber",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-parsers-field-parser-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/parsers/field.parser.ts",
            "label": "core/parsers/field.parser.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/parsers/field.parser.ts.md",
            "ref": "anatomy:file-patterns-core-parsers-field-parser-ts"
          }
        },
        {
          "file": "core/parsers/field.parser.ts",
          "name": "handleString",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-parsers-field-parser-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/parsers/field.parser.ts",
            "label": "core/parsers/field.parser.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/parsers/field.parser.ts.md",
            "ref": "anatomy:file-patterns-core-parsers-field-parser-ts"
          }
        },
        {
          "file": "core/parsers/field.parser.ts",
          "name": "stepStructural",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-parsers-field-parser-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/parsers/field.parser.ts",
            "label": "core/parsers/field.parser.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/parsers/field.parser.ts.md",
            "ref": "anatomy:file-patterns-core-parsers-field-parser-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/parsers/field.parser.ts",
          "name": "scanFloatFields",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-parsers-field-parser-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/parsers/field.parser.ts",
            "label": "core/parsers/field.parser.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/parsers/field.parser.ts.md",
            "ref": "anatomy:file-patterns-core-parsers-field-parser-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 109,
      "name": "stepScan",
      "signature": "const stepScan = function stepScan(text: string, index: number, context: ScanContext): number {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/parsers/field.parser.ts",
          "name": "numberTokenIsFloat",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-parsers-field-parser-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/parsers/field.parser.ts",
            "label": "core/parsers/field.parser.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/parsers/field.parser.ts.md",
            "ref": "anatomy:file-patterns-core-parsers-field-parser-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/parsers/field.parser.ts",
          "name": "stepScan",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-parsers-field-parser-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/parsers/field.parser.ts",
            "label": "core/parsers/field.parser.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/parsers/field.parser.ts.md",
            "ref": "anatomy:file-patterns-core-parsers-field-parser-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 64,
      "name": "handleNumber",
      "signature": "const handleNumber = function handleNumber(line: string, index: number, context: ScanContext): number {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/parsers/field.parser.ts",
          "name": "handleNumber",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-parsers-field-parser-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/parsers/field.parser.ts",
            "label": "core/parsers/field.parser.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/parsers/field.parser.ts.md",
            "ref": "anatomy:file-patterns-core-parsers-field-parser-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 31,
      "name": "numberTokenIsFloat",
      "signature": "export const numberTokenIsFloat = function numberTokenIsFloat(token: string): boolean {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/parsers/field.parser.ts",
          "name": "readString",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-parsers-field-parser-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/parsers/field.parser.ts",
            "label": "core/parsers/field.parser.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/parsers/field.parser.ts.md",
            "ref": "anatomy:file-patterns-core-parsers-field-parser-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 40,
      "name": "appendChar",
      "signature": "const appendChar = function appendChar(line: string, index: number, value: string): StringSpan {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/parsers/field.parser.ts",
          "name": "stepScan",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-parsers-field-parser-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/parsers/field.parser.ts",
            "label": "core/parsers/field.parser.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/parsers/field.parser.ts.md",
            "ref": "anatomy:file-patterns-core-parsers-field-parser-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 75,
      "name": "handleString",
      "signature": "const handleString = function handleString(line: string, index: number, state: LineState): number {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/parsers/field.parser.ts",
          "name": "stepScan",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-parsers-field-parser-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/parsers/field.parser.ts",
            "label": "core/parsers/field.parser.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/parsers/field.parser.ts.md",
            "ref": "anatomy:file-patterns-core-parsers-field-parser-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 86,
      "name": "stepStructural",
      "signature": "const stepStructural = function stepStructural(symbol: string, state: LineState, index: number): number {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/parsers/field.parser.ts",
          "name": "appendChar",
          "source": {
            "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-parsers-field-parser-ts",
            "json": "https://banes-lab.com/json/source/patterns/core/parsers/field.parser.ts",
            "label": "core/parsers/field.parser.ts",
            "markdown": "https://banes-lab.com/source/patterns/core/parsers/field.parser.ts.md",
            "ref": "anatomy:file-patterns-core-parsers-field-parser-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 47,
      "name": "readString",
      "signature": "const readString = function readString(line: string, start: number): StringSpan {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 1,
      "name": "FLOAT_MARKERS",
      "signature": "const FLOAT_MARKERS: ReadonlySet<string> = new Set([\".\", \"e\", \"E\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 2,
      "name": "DIGITS",
      "signature": "const DIGITS: readonly string[] = [\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\"];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 3,
      "name": "NUMBER_START",
      "signature": "const NUMBER_START: ReadonlySet<string> = new Set([\"-\", ...DIGITS]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 4,
      "name": "NUMBER_BODY",
      "signature": "const NUMBER_BODY: ReadonlySet<string> = new Set([\"-\", \"+\", \".\", \"e\", \"E\", ...DIGITS]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 5,
      "name": "WHITESPACE",
      "signature": "const WHITESPACE: ReadonlySet<string> = new Set([\" \", \"\\t\", \"\\r\", \"\\n\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 6,
      "name": "STRUCTURE_OPEN",
      "signature": "const STRUCTURE_OPEN: ReadonlySet<string> = new Set([\"{\", \"[\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 7,
      "name": "STRUCTURE_CLOSE",
      "signature": "const STRUCTURE_CLOSE: ReadonlySet<string> = new Set([\"}\", \"]\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 8,
      "name": "KEY_SEPARATOR",
      "signature": "const KEY_SEPARATOR = \":\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 9,
      "name": "ITEM_SEPARATOR",
      "signature": "const ITEM_SEPARATOR = \",\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 10,
      "name": "QUOTE",
      "signature": "const QUOTE = '\"';"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 11,
      "name": "ESCAPE",
      "signature": "const ESCAPE = \"\\\\\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 12,
      "name": "ESCAPE_SKIP",
      "signature": "const ESCAPE_SKIP = 2;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 14,
      "name": "StringSpan",
      "signature": "interface StringSpan {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 19,
      "name": "LineState",
      "signature": "interface LineState {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 25,
      "name": "ScanContext",
      "signature": "interface ScanContext {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 49,
      "name": "value",
      "signature": "let value = \"\";"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 56,
      "name": "readNumber",
      "signature": "const readNumber = function readNumber(line: string, start: number): StringSpan {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 65,
      "name": "{ state, floats, recordDepth }",
      "signature": "const { state, floats, recordDepth } = context;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 76,
      "name": "{ value, next }",
      "signature": "const { value, next } = readString(line, index);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 110,
      "name": "symbol",
      "signature": "const symbol = text[index] ?? \"\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 121,
      "name": "floats",
      "signature": "const floats = new Set<string>();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 122,
      "name": "context",
      "signature": "const context: ScanContext = { floats, recordDepth, state: { depth: 0, expectValue: false, pendingKey: null } };"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 123,
      "name": "index",
      "signature": "let index = 0;"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-parsers-field-parser-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "field.parser.ts",
  "path": "core/parsers/field.parser.ts",
  "ref": "anatomy:file-patterns-core-parsers-field-parser-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/patterns#folder-patterns-core-parsers",
          "json": "https://banes-lab.com/json/anatomy/patterns/folder-patterns-core-parsers",
          "label": "core/parsers",
          "markdown": "https://banes-lab.com/anatomy/patterns/folder-patterns-core-parsers.md",
          "ref": "chapter:/anatomy/patterns#folder-patterns-core-parsers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-loaders-record-loader-ts",
          "json": "https://banes-lab.com/json/source/patterns/core/loaders/record.loader.ts",
          "label": "core/loaders/record.loader.ts",
          "markdown": "https://banes-lab.com/source/patterns/core/loaders/record.loader.ts.md",
          "ref": "anatomy:file-patterns-core-loaders-record-loader-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/patterns#folder-patterns-core-loaders",
          "json": "https://banes-lab.com/json/anatomy/patterns/folder-patterns-core-loaders",
          "label": "core/loaders",
          "markdown": "https://banes-lab.com/anatomy/patterns/folder-patterns-core-loaders.md",
          "ref": "chapter:/anatomy/patterns#folder-patterns-core-loaders"
        },
        {
          "href": "https://banes-lab.com/anatomy/patterns#folder-patterns-core-parsers",
          "json": "https://banes-lab.com/json/anatomy/patterns/folder-patterns-core-parsers",
          "label": "core/parsers",
          "markdown": "https://banes-lab.com/anatomy/patterns/folder-patterns-core-parsers.md",
          "ref": "chapter:/anatomy/patterns#folder-patterns-core-parsers"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "parser",
    "subject": "field",
    "variant": null
  },
  "stats": {
    "bytes": 4189,
    "callable": 9,
    "definitions": 31,
    "edges": 6,
    "exported": 5,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 3,
      "leaf": 4,
      "entry": 1,
      "isolated": 23
    },
    "lines": {
      "blank": 12,
      "code": 116,
      "total": 128
    }
  },
  "summary": "116 lines of code and 31 definitions.",
  "text": "https://banes-lab.com/source/patterns/core/parsers/field.parser.ts.txt",
  "tree": "patterns",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-parsers-schema-parser-ts",
      "json": "https://banes-lab.com/json/source/patterns/core/parsers/schema.parser.ts",
      "label": "core/parsers/schema.parser.ts",
      "markdown": "https://banes-lab.com/source/patterns/core/parsers/schema.parser.ts.md",
      "ref": "anatomy:file-patterns-core-parsers-schema-parser-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/patterns#file-patterns-core-parsers-dependency-parser-ts",
      "json": "https://banes-lab.com/json/source/patterns/core/parsers/dependency.parser.ts",
      "label": "core/parsers/dependency.parser.ts",
      "markdown": "https://banes-lab.com/source/patterns/core/parsers/dependency.parser.ts.md",
      "ref": "anatomy:file-patterns-core-parsers-dependency-parser-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/patterns/core/parsers",
    "label": "core/parsers",
    "markdown": "https://banes-lab.com/api/source/patterns/core/parsers.md",
    "ref": "api:source/patterns/core/parsers"
  }
}
