{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "tools/core/readers/token.reader.ts",
          "name": "stepAt",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-readers-token-reader-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/readers/token.reader.ts",
            "label": "tools/core/readers/token.reader.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/readers/token.reader.ts.md",
            "ref": "anatomy:file-coordination-tools-core-readers-token-reader-ts"
          }
        },
        {
          "file": "tools/core/readers/token.reader.ts",
          "name": "stepAt",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-readers-token-reader-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/readers/token.reader.ts",
            "label": "tools/core/readers/token.reader.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/readers/token.reader.ts.md",
            "ref": "anatomy:file-coordination-tools-core-readers-token-reader-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 26,
      "name": "enclosedStep",
      "signature": "const enclosedStep = function enclosedStep("
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "tools/core/readers/token.reader.ts",
          "name": "stepAt",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-readers-token-reader-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/readers/token.reader.ts",
            "label": "tools/core/readers/token.reader.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/readers/token.reader.ts.md",
            "ref": "anatomy:file-coordination-tools-core-readers-token-reader-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 41,
      "name": "importStep",
      "signature": "const importStep = function importStep(context: LineContext, at: number): Step {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "tools/core/readers/token.reader.ts",
          "name": "enclosedStep",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-readers-token-reader-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/readers/token.reader.ts",
            "label": "tools/core/readers/token.reader.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/readers/token.reader.ts.md",
            "ref": "anatomy:file-coordination-tools-core-readers-token-reader-ts"
          }
        },
        {
          "file": "tools/core/readers/token.reader.ts",
          "name": "enclosedStep",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-readers-token-reader-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/readers/token.reader.ts",
            "label": "tools/core/readers/token.reader.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/readers/token.reader.ts.md",
            "ref": "anatomy:file-coordination-tools-core-readers-token-reader-ts"
          }
        },
        {
          "file": "tools/core/readers/token.reader.ts",
          "name": "importStep",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-readers-token-reader-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/readers/token.reader.ts",
            "label": "tools/core/readers/token.reader.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/readers/token.reader.ts.md",
            "ref": "anatomy:file-coordination-tools-core-readers-token-reader-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 50,
      "name": "stepAt",
      "signature": "const stepAt = function stepAt(context: LineContext, at: number): Step {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 3,
      "name": "LineContext",
      "signature": "interface LineContext {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 9,
      "name": "Step",
      "signature": "interface Step {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 14,
      "name": "IMPORT_STOPS",
      "signature": "const IMPORT_STOPS = new Set([\" \", \"`\", \")\"]);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "inlineOf",
      "signature": "const inlineOf = function inlineOf(context: LineContext, kind: InlineKind, from: number, to: number): Inline {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 33,
      "name": "close",
      "signature": "const close = context.line.indexOf(closer, at + width);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 42,
      "name": "cursor",
      "signature": "let cursor = at + 1;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 46,
      "name": "inline",
      "signature": "const inline = inlineOf(context, \"import-path\", at + 1, cursor);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 51,
      "name": "char",
      "signature": "const char = context.line.charAt(at);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 58,
      "name": "opensImport",
      "signature": "const opensImport = char === \"@\" && (at === 0 || context.line.charAt(at - 1) === \" \");"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 62,
      "name": "inlinesOf",
      "signature": "export const inlinesOf = function inlinesOf(line: string, lineStart: number, lineNumber: number): Inline[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 63,
      "name": "context",
      "signature": "const context: LineContext = { line, number: lineNumber, start: lineStart };"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 64,
      "name": "out",
      "signature": "const out: Inline[] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 65,
      "name": "index",
      "signature": "let index = 0;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 68,
      "name": "step",
      "signature": "const step = stepAt(context, index);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-readers-token-reader-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "token.reader.ts",
  "path": "tools/core/readers/token.reader.ts",
  "ref": "anatomy:file-coordination-tools-core-readers-token-reader-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-readers",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-readers",
          "label": "tools/core/readers",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-readers.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-readers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-readers",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-readers",
          "label": "tools/core/readers",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-readers.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-readers"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "reader",
    "subject": "token",
    "variant": null
  },
  "stats": {
    "bytes": 2362,
    "callable": 5,
    "definitions": 17,
    "edges": 3,
    "exported": 5,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 2,
      "entry": 1,
      "isolated": 14
    },
    "lines": {
      "blank": 10,
      "code": 64,
      "total": 74
    }
  },
  "summary": "64 lines of code and 17 definitions.",
  "text": "https://banes-lab.com/source/coordination/tools/core/readers/token.reader.ts.txt",
  "tree": "coordination",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-readers-venue-reader-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/core/readers/venue.reader.ts",
      "label": "tools/core/readers/venue.reader.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/core/readers/venue.reader.ts.md",
      "ref": "anatomy:file-coordination-tools-core-readers-venue-reader-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-readers-template-reader-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/core/readers/template.reader.ts",
      "label": "tools/core/readers/template.reader.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/core/readers/template.reader.ts.md",
      "ref": "anatomy:file-coordination-tools-core-readers-template-reader-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/coordination/tools/core/readers",
    "label": "tools/core/readers",
    "markdown": "https://banes-lab.com/api/source/coordination/tools/core/readers.md",
    "ref": "api:source/coordination/tools/core/readers"
  }
}
