{
  "definitions": [
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 9,
      "name": "ProgramFixture",
      "signature": "export interface ProgramFixture {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 15,
      "name": "programFor",
      "signature": "export const programFor = function programFor(files: Readonly<Record<string, string>>): ProgramFixture {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "dir",
      "signature": "const dir = mkdtempSync(join(tmpdir(), \"doc-program-\"));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 17,
      "name": "paths",
      "signature": "const paths = Object.entries(files).map(([rel, body]) => {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 18,
      "name": "full",
      "signature": "const full = join(dir, ...rel.split(\"/\"));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 23,
      "name": "program",
      "signature": "const program = ts.createProgram(paths, moduleCompilerOptions(dir));"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 33,
      "name": "defined",
      "signature": "export const defined = function defined<T>(value: T | null | undefined, label: string): T {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 40,
      "name": "sourceFileOf",
      "signature": "export const sourceFileOf = function sourceFileOf(fixture: ProgramFixture, rel: string): ts.SourceFile {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 41,
      "name": "file",
      "signature": "const file = fixture.analysis.program.getSourceFile("
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/testing#file-testing-test-govlab-docs-core-analyzers-program-fixture-ts",
  "language": "typescript",
  "layer": null,
  "name": "program.fixture.ts",
  "path": "test.govlab/docs/core/analyzers/program.fixture.ts",
  "ref": "anatomy:file-testing-test-govlab-docs-core-analyzers-program-fixture-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/testing#folder-testing-test-govlab-docs-core-analyzers",
          "json": "https://banes-lab.com/json/anatomy/testing/folder-testing-test-govlab-docs-core-analyzers",
          "label": "test.govlab/docs/core/analyzers",
          "markdown": "https://banes-lab.com/anatomy/testing/folder-testing-test-govlab-docs-core-analyzers.md",
          "ref": "chapter:/anatomy/testing#folder-testing-test-govlab-docs-core-analyzers"
        }
      ],
      "relation": "contained-in"
    }
  ],
  "slots": null,
  "stats": {
    "bytes": 1751,
    "callable": 3,
    "definitions": 9,
    "edges": 0,
    "exported": 9,
    "files": 1,
    "findings": {},
    "flows": {
      "isolated": 9
    },
    "lines": {
      "blank": 4,
      "code": 46,
      "total": 50
    }
  },
  "summary": "46 lines of code and 9 definitions.",
  "text": "https://banes-lab.com/source/testing/test.govlab/docs/core/analyzers/program.fixture.ts.txt",
  "tree": "testing",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/testing#file-testing-test-govlab-docs-core-analyzers-reference-analyzer-test-ts",
      "json": "https://banes-lab.com/json/source/testing/test.govlab/docs/core/analyzers/reference.analyzer.test.ts",
      "label": "test.govlab/docs/core/analyzers/reference.analyzer.test.ts",
      "markdown": "https://banes-lab.com/source/testing/test.govlab/docs/core/analyzers/reference.analyzer.test.ts.md",
      "ref": "anatomy:file-testing-test-govlab-docs-core-analyzers-reference-analyzer-test-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/testing#file-testing-test-govlab-docs-core-analyzers-package-analyzer-test-ts",
      "json": "https://banes-lab.com/json/source/testing/test.govlab/docs/core/analyzers/package.analyzer.test.ts",
      "label": "test.govlab/docs/core/analyzers/package.analyzer.test.ts",
      "markdown": "https://banes-lab.com/source/testing/test.govlab/docs/core/analyzers/package.analyzer.test.ts.md",
      "ref": "anatomy:file-testing-test-govlab-docs-core-analyzers-package-analyzer-test-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/testing/test.govlab/docs/core/analyzers",
    "label": "test.govlab/docs/core/analyzers",
    "markdown": "https://banes-lab.com/api/source/testing/test.govlab/docs/core/analyzers.md",
    "ref": "api:source/testing/test.govlab/docs/core/analyzers"
  }
}
