{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/parsers/export.parser.ts",
          "name": "hasModifier",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/parsers/export.parser.ts",
          "name": "exportsFromNode",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        },
        {
          "file": "core/parsers/export.parser.ts",
          "name": "valuePairs",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        },
        {
          "file": "core/parsers/export.parser.ts",
          "name": "valuePairs",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 18,
      "name": "isExported",
      "signature": "const isExported = function isExported(node: ts.Node): boolean {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/parsers/export.parser.ts",
          "name": "declarationPair",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        },
        {
          "file": "core/parsers/export.parser.ts",
          "name": "isExported",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 14,
      "name": "hasModifier",
      "signature": "const hasModifier = function hasModifier(node: ts.Node, kind: ts.SyntaxKind): boolean {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/parsers/export.parser.ts",
          "name": "exportsFromNode",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        },
        {
          "file": "core/parsers/export.parser.ts",
          "name": "valuePairs",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 29,
      "name": "variableNames",
      "signature": "const variableNames = function variableNames(node: ts.VariableStatement): string[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/parsers/export.parser.ts",
          "name": "exportsFromNode",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        },
        {
          "file": "core/parsers/export.parser.ts",
          "name": "valuePairs",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 33,
      "name": "clauseNames",
      "signature": "const clauseNames = function clauseNames(node: ts.ExportDeclaration, valuesOnly: boolean): string[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/analyzers/drift.analyzer.ts",
          "name": "driftForRef",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-analyzers-drift-analyzer-ts",
            "json": "https://banes-lab.com/json/source/docs/core/analyzers/drift.analyzer.ts",
            "label": "core/analyzers/drift.analyzer.ts",
            "markdown": "https://banes-lab.com/source/docs/core/analyzers/drift.analyzer.ts.md",
            "ref": "anatomy:file-docs-core-analyzers-drift-analyzer-ts"
          }
        },
        {
          "file": "core/analyzers/package.analyzer.ts",
          "name": "barrelCount",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-analyzers-package-analyzer-ts",
            "json": "https://banes-lab.com/json/source/docs/core/analyzers/package.analyzer.ts",
            "label": "core/analyzers/package.analyzer.ts",
            "markdown": "https://banes-lab.com/source/docs/core/analyzers/package.analyzer.ts.md",
            "ref": "anatomy:file-docs-core-analyzers-package-analyzer-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 59,
      "name": "exportedNames",
      "signature": "export const exportedNames = function exportedNames(filePath: string): ReadonlySet<string> {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/parsers/export.parser.ts",
          "name": "clauseNames",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        },
        {
          "file": "core/parsers/export.parser.ts",
          "name": "declarationPair",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        },
        {
          "file": "core/parsers/export.parser.ts",
          "name": "isExported",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        },
        {
          "file": "core/parsers/export.parser.ts",
          "name": "isExported",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        },
        {
          "file": "core/parsers/export.parser.ts",
          "name": "variableNames",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/parsers/export.parser.ts",
          "name": "barrelExports",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 69,
      "name": "valuePairs",
      "signature": "const valuePairs = function valuePairs(stmt: ts.Statement): BarrelExport[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/parsers/export.parser.ts",
          "name": "hasModifier",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/parsers/export.parser.ts",
          "name": "valuePairs",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 64,
      "name": "declarationPair",
      "signature": "const declarationPair = function declarationPair(stmt: ts.ClassDeclaration | ts.FunctionDeclaration): BarrelExport {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/parsers/export.parser.ts",
          "name": "exportsFromNode",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 22,
      "name": "isNamedDeclaration",
      "signature": "const isNamedDeclaration = function isNamedDeclaration(node: ts.Node): node is NamedDeclaration {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/parsers/export.parser.ts",
          "name": "clauseNames",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        },
        {
          "file": "core/parsers/export.parser.ts",
          "name": "isExported",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        },
        {
          "file": "core/parsers/export.parser.ts",
          "name": "isNamedDeclaration",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        },
        {
          "file": "core/parsers/export.parser.ts",
          "name": "variableNames",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 41,
      "name": "exportsFromNode",
      "signature": "const exportsFromNode = function exportsFromNode(node: ts.Node): string[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/parsers/export.parser.ts",
          "name": "valuePairs",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
            "json": "https://banes-lab.com/json/source/docs/core/parsers/export.parser.ts",
            "label": "core/parsers/export.parser.ts",
            "markdown": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.md",
            "ref": "anatomy:file-docs-core-parsers-export-parser-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 86,
      "name": "barrelExports",
      "signature": "export const barrelExports = function barrelExports(barrelPath: string): BarrelExport[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "type_alias_declaration",
      "line": 7,
      "name": "NamedDeclaration",
      "signature": "type NamedDeclaration ="
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 34,
      "name": "clause",
      "signature": "const clause = node.exportClause;"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 54,
      "name": "sourceOf",
      "signature": "const sourceOf = function sourceOf(filePath: string, kind?: ts.ScriptKind): ts.SourceFile | null {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 55,
      "name": "text",
      "signature": "const text = readTextSafe(filePath);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 80,
      "name": "label",
      "signature": "const label = ts.isIdentifier(stmt.expression) ? stmt.expression.text : DEFAULT_LABEL;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 87,
      "name": "source",
      "signature": "const source = sourceOf(barrelPath, ts.ScriptKind.JS);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 88,
      "name": "byName",
      "signature": "const byName = new Map<string, string>();"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-export-parser-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "export.parser.ts",
  "path": "core/parsers/export.parser.ts",
  "ref": "anatomy:file-docs-core-parsers-export-parser-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-parsers",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-parsers",
          "label": "core/parsers",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-parsers.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-parsers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#file-docs-core-analyzers-drift-analyzer-ts",
          "json": "https://banes-lab.com/json/source/docs/core/analyzers/drift.analyzer.ts",
          "label": "core/analyzers/drift.analyzer.ts",
          "markdown": "https://banes-lab.com/source/docs/core/analyzers/drift.analyzer.ts.md",
          "ref": "anatomy:file-docs-core-analyzers-drift-analyzer-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/docs#file-docs-core-analyzers-package-analyzer-ts",
          "json": "https://banes-lab.com/json/source/docs/core/analyzers/package.analyzer.ts",
          "label": "core/analyzers/package.analyzer.ts",
          "markdown": "https://banes-lab.com/source/docs/core/analyzers/package.analyzer.ts.md",
          "ref": "anatomy:file-docs-core-analyzers-package-analyzer-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-analyzers",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-analyzers",
          "label": "core/analyzers",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-analyzers.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-analyzers"
        },
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-parsers",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-parsers",
          "label": "core/parsers",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-parsers.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-parsers"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "parser",
    "subject": "export",
    "variant": null
  },
  "stats": {
    "bytes": 3991,
    "callable": 11,
    "definitions": 17,
    "edges": 12,
    "exported": 4,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 3,
      "leaf": 5,
      "entry": 2,
      "isolated": 7
    },
    "lines": {
      "blank": 12,
      "code": 83,
      "total": 95
    }
  },
  "summary": "83 lines of code and 17 definitions.",
  "text": "https://banes-lab.com/source/docs/core/parsers/export.parser.ts.txt",
  "tree": "docs",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-layer-parser-ts",
      "json": "https://banes-lab.com/json/source/docs/core/parsers/layer.parser.ts",
      "label": "core/parsers/layer.parser.ts",
      "markdown": "https://banes-lab.com/source/docs/core/parsers/layer.parser.ts.md",
      "ref": "anatomy:file-docs-core-parsers-layer-parser-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/docs#file-docs-core-parsers-diagram-parser-ts",
      "json": "https://banes-lab.com/json/source/docs/core/parsers/diagram.parser.ts",
      "label": "core/parsers/diagram.parser.ts",
      "markdown": "https://banes-lab.com/source/docs/core/parsers/diagram.parser.ts.md",
      "ref": "anatomy:file-docs-core-parsers-diagram-parser-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/docs/core/parsers",
    "label": "core/parsers",
    "markdown": "https://banes-lab.com/api/source/docs/core/parsers.md",
    "ref": "api:source/docs/core/parsers"
  }
}
