{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "tools/core/analyzers/literal.analyzer.ts",
          "name": "unboundedEnumerations",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-analyzers-literal-analyzer-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/analyzers/literal.analyzer.ts",
            "label": "tools/core/analyzers/literal.analyzer.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/analyzers/literal.analyzer.ts.md",
            "ref": "anatomy:file-coordination-tools-core-analyzers-literal-analyzer-ts"
          }
        },
        {
          "file": "tools/core/factories/literal.factory.ts",
          "name": "enumerationFinding",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-factories-literal-factory-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/factories/literal.factory.ts",
            "label": "tools/core/factories/literal.factory.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/factories/literal.factory.ts.md",
            "ref": "anatomy:file-coordination-tools-core-factories-literal-factory-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "method_definition",
      "line": 41,
      "name": "check",
      "signature": "check(context: RuleContext): RuleResult {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 8,
      "name": "COMPOSERS",
      "signature": "const COMPOSERS: ReadonlySet<string> = new Set([\"within\", \"withinSurface\", \"surfacePath\", \"slotText\", \"inSurface\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 10,
      "name": "FILESYSTEM_CALLS",
      "signature": "const FILESYSTEM_CALLS: ReadonlySet<string> = new Set(["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 25,
      "name": "LiteralScan",
      "signature": "interface LiteralScan {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 30,
      "name": "scanLiterals",
      "signature": "const scanLiterals = function scanLiterals(path: string, source: string): LiteralScan {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 31,
      "name": "shaped",
      "signature": "const shaped = quotedLiterals(source).filter((literal) => isPathShaped(literal.value));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 33,
      "name": "composer",
      "signature": "const composer = callBefore(source, literal.open);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 34,
      "name": "raw",
      "signature": "const raw = FILESYSTEM_CALLS.has(composer) && !COMPOSERS.has(composer);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 40,
      "name": "rule",
      "signature": "export const rule: RuleDeclaration = {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 42,
      "name": "findings",
      "signature": "const findings: Finding[] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 43,
      "name": "scoped",
      "signature": "const scoped = underRoots(context.paths, AUTHORED_ROOTS);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 44,
      "name": "literals",
      "signature": "let literals = 0;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 47,
      "name": "source",
      "signature": "const source = context.read(path);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 48,
      "name": "scan",
      "signature": "const scan = scanLiterals(path, source);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-rules-literal-rule-ts",
  "language": "typescript",
  "layer": "domain",
  "name": "literal.rule.ts",
  "path": "tools/rules/literal.rule.ts",
  "ref": "anatomy:file-coordination-tools-rules-literal-rule-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-rules",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-rules",
          "label": "tools/rules",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-rules.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-rules"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-analyzers-literal-analyzer-ts",
          "json": "https://banes-lab.com/json/source/coordination/tools/core/analyzers/literal.analyzer.ts",
          "label": "tools/core/analyzers/literal.analyzer.ts",
          "markdown": "https://banes-lab.com/source/coordination/tools/core/analyzers/literal.analyzer.ts.md",
          "ref": "anatomy:file-coordination-tools-core-analyzers-literal-analyzer-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-factories-literal-factory-ts",
          "json": "https://banes-lab.com/json/source/coordination/tools/core/factories/literal.factory.ts",
          "label": "tools/core/factories/literal.factory.ts",
          "markdown": "https://banes-lab.com/source/coordination/tools/core/factories/literal.factory.ts.md",
          "ref": "anatomy:file-coordination-tools-core-factories-literal-factory-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-analyzers",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-analyzers",
          "label": "tools/core/analyzers",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-analyzers.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-analyzers"
        },
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-factories",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-factories",
          "label": "tools/core/factories",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-factories.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-factories"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "rule",
    "subject": "literal",
    "variant": null
  },
  "stats": {
    "bytes": 2600,
    "callable": 2,
    "definitions": 14,
    "edges": 2,
    "exported": 7,
    "files": 1,
    "findings": {},
    "flows": {
      "entry": 1,
      "isolated": 13
    },
    "lines": {
      "blank": 8,
      "code": 65,
      "total": 73
    }
  },
  "summary": "65 lines of code and 14 definitions.",
  "text": "https://banes-lab.com/source/coordination/tools/rules/literal.rule.ts.txt",
  "tree": "coordination",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-rules-placement-rule-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/rules/placement.rule.ts",
      "label": "tools/rules/placement.rule.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/rules/placement.rule.ts.md",
      "ref": "anatomy:file-coordination-tools-rules-placement-rule-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-rules-governance-rule-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/rules/governance.rule.ts",
      "label": "tools/rules/governance.rule.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/rules/governance.rule.ts.md",
      "ref": "anatomy:file-coordination-tools-rules-governance-rule-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/coordination/tools/rules",
    "label": "tools/rules",
    "markdown": "https://banes-lab.com/api/source/coordination/tools/rules.md",
    "ref": "api:source/coordination/tools/rules"
  }
}
