{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/lexers/invocation.lexer.ts",
          "name": "tokenizeCommand",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-lexers-invocation-lexer-ts",
            "json": "https://banes-lab.com/json/source/quality/core/lexers/invocation.lexer.ts",
            "label": "core/lexers/invocation.lexer.ts",
            "markdown": "https://banes-lab.com/source/quality/core/lexers/invocation.lexer.ts.md",
            "ref": "anatomy:file-quality-core-lexers-invocation-lexer-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 13,
      "name": "stepChar",
      "signature": "const stepChar = function stepChar(state: TokenState, ch: string): TokenState {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/lexers/invocation.lexer.ts",
          "name": "stepChar",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-lexers-invocation-lexer-ts",
            "json": "https://banes-lab.com/json/source/quality/core/lexers/invocation.lexer.ts",
            "label": "core/lexers/invocation.lexer.ts",
            "markdown": "https://banes-lab.com/source/quality/core/lexers/invocation.lexer.ts.md",
            "ref": "anatomy:file-quality-core-lexers-invocation-lexer-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 37,
      "name": "tokenizeCommand",
      "signature": "export const tokenizeCommand = function tokenizeCommand(command: string): string[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 3,
      "name": "QUOTES",
      "signature": "const QUOTES = new Set(['\"', \"'\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 4,
      "name": "SPACE",
      "signature": "const SPACE = \" \";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 6,
      "name": "TokenState",
      "signature": "interface TokenState {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 15,
      "name": "closing",
      "signature": "const closing = ch === state.quote;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 38,
      "name": "state",
      "signature": "let state: TokenState = { current: \"\", open: false, quote: \"\", tokens: [] };"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 45,
      "name": "commandOf",
      "signature": "export const commandOf = function commandOf(command: string, fallback: string): CommandInvocation {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 46,
      "name": "prefix]",
      "signature": "const [bin = fallback, ...prefix] = tokenizeCommand(command);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/quality#file-quality-core-lexers-invocation-lexer-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "invocation.lexer.ts",
  "path": "core/lexers/invocation.lexer.ts",
  "ref": "anatomy:file-quality-core-lexers-invocation-lexer-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-lexers",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-lexers",
          "label": "core/lexers",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-lexers.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-lexers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-lexers",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-lexers",
          "label": "core/lexers",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-lexers.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-lexers"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "lexer",
    "subject": "invocation",
    "variant": null
  },
  "stats": {
    "bytes": 1525,
    "callable": 3,
    "definitions": 9,
    "edges": 1,
    "exported": 4,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 1,
      "entry": 1,
      "isolated": 7
    },
    "lines": {
      "blank": 5,
      "code": 43,
      "total": 48
    }
  },
  "summary": "43 lines of code and 9 definitions.",
  "text": "https://banes-lab.com/source/quality/core/lexers/invocation.lexer.ts.txt",
  "tree": "quality",
  "siblings": {
    "next": null,
    "previous": null
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/quality/core/lexers",
    "label": "core/lexers",
    "markdown": "https://banes-lab.com/api/source/quality/core/lexers.md",
    "ref": "api:source/quality/core/lexers"
  }
}
