{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/plugins/syntax.event.plugin.ts",
          "name": "calleeParts",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-plugins-syntax-event-plugin-ts",
            "json": "https://banes-lab.com/json/source/docs/core/plugins/syntax.event.plugin.ts",
            "label": "core/plugins/syntax.event.plugin.ts",
            "markdown": "https://banes-lab.com/source/docs/core/plugins/syntax.event.plugin.ts.md",
            "ref": "anatomy:file-docs-core-plugins-syntax-event-plugin-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 9,
      "name": "ownerName",
      "signature": "const ownerName = function ownerName(target: ts.Expression): string {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/plugins/syntax.event.plugin.ts",
          "name": "classify",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-plugins-syntax-event-plugin-ts",
            "json": "https://banes-lab.com/json/source/docs/core/plugins/syntax.event.plugin.ts",
            "label": "core/plugins/syntax.event.plugin.ts",
            "markdown": "https://banes-lab.com/source/docs/core/plugins/syntax.event.plugin.ts.md",
            "ref": "anatomy:file-docs-core-plugins-syntax-event-plugin-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 23,
      "name": "isHookCall",
      "signature": "const isHookCall = function isHookCall(parts: CalleeParts): boolean {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/graph.strings.ts",
          "name": "hookLabel",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-graph-strings-ts",
            "json": "https://banes-lab.com/json/source/docs/configuration/strings/graph.strings.ts",
            "label": "configuration/strings/graph.strings.ts",
            "markdown": "https://banes-lab.com/source/docs/configuration/strings/graph.strings.ts.md",
            "ref": "anatomy:file-docs-configuration-strings-graph-strings-ts"
          }
        },
        {
          "file": "core/plugins/syntax.event.plugin.ts",
          "name": "isHookCall",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-plugins-syntax-event-plugin-ts",
            "json": "https://banes-lab.com/json/source/docs/core/plugins/syntax.event.plugin.ts",
            "label": "core/plugins/syntax.event.plugin.ts",
            "markdown": "https://banes-lab.com/source/docs/core/plugins/syntax.event.plugin.ts.md",
            "ref": "anatomy:file-docs-core-plugins-syntax-event-plugin-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "method_definition",
      "line": 36,
      "name": "classify",
      "signature": "classify(node, context) {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/plugins/syntax.event.plugin.ts",
          "name": "ownerName",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-plugins-syntax-event-plugin-ts",
            "json": "https://banes-lab.com/json/source/docs/core/plugins/syntax.event.plugin.ts",
            "label": "core/plugins/syntax.event.plugin.ts",
            "markdown": "https://banes-lab.com/source/docs/core/plugins/syntax.event.plugin.ts.md",
            "ref": "anatomy:file-docs-core-plugins-syntax-event-plugin-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "calleeParts",
      "signature": "const calleeParts = function calleeParts(node: ts.CallExpression): CalleeParts | null {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 5,
      "name": "LISTENER_METHOD",
      "signature": "const LISTENER_METHOD = \"addEventListener\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 6,
      "name": "SUBSCRIBE_METHODS",
      "signature": "const SUBSCRIBE_METHODS: ReadonlySet<string> = new Set([\"add\", \"on\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 7,
      "name": "EVENT_OWNERS",
      "signature": "const EVENT_OWNERS: readonly string[] = [\"event\", \"manager\", \"bus\"];"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 30,
      "name": "eventName",
      "signature": "const eventName = function eventName(node: ts.CallExpression, method: string): string {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 31,
      "name": "[first]",
      "signature": "const [first] = node.arguments;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 35,
      "name": "recognizer",
      "signature": "export const recognizer: Recognizer = {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 40,
      "name": "parts",
      "signature": "const parts = calleeParts(node);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 44,
      "name": "event",
      "signature": "const event = eventName(node, parts.method);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 45,
      "name": "id",
      "signature": "const id = context.mkNodeId(node);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/docs#file-docs-core-plugins-syntax-event-plugin-ts",
  "language": "typescript",
  "layer": "infrastructure",
  "name": "syntax.event.plugin.ts",
  "path": "core/plugins/syntax.event.plugin.ts",
  "ref": "anatomy:file-docs-core-plugins-syntax-event-plugin-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-plugins",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-plugins",
          "label": "core/plugins",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-plugins.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-plugins"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-graph-strings-ts",
          "json": "https://banes-lab.com/json/source/docs/configuration/strings/graph.strings.ts",
          "label": "configuration/strings/graph.strings.ts",
          "markdown": "https://banes-lab.com/source/docs/configuration/strings/graph.strings.ts.md",
          "ref": "anatomy:file-docs-configuration-strings-graph-strings-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-configuration-strings",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-configuration-strings",
          "label": "configuration/strings",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-configuration-strings.md",
          "ref": "chapter:/anatomy/docs#folder-docs-configuration-strings"
        },
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-plugins",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-plugins",
          "label": "core/plugins",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-plugins.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-plugins"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "plugin",
    "subject": "syntax",
    "variant": "event"
  },
  "stats": {
    "bytes": 1993,
    "callable": 5,
    "definitions": 13,
    "edges": 3,
    "exported": 5,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 2,
      "entry": 2,
      "isolated": 9
    },
    "lines": {
      "blank": 6,
      "code": 47,
      "total": 53
    }
  },
  "summary": "47 lines of code and 13 definitions.",
  "text": "https://banes-lab.com/source/docs/core/plugins/syntax.event.plugin.ts.txt",
  "tree": "docs",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/docs#file-docs-core-plugins-syntax-failure-plugin-ts",
      "json": "https://banes-lab.com/json/source/docs/core/plugins/syntax.failure.plugin.ts",
      "label": "core/plugins/syntax.failure.plugin.ts",
      "markdown": "https://banes-lab.com/source/docs/core/plugins/syntax.failure.plugin.ts.md",
      "ref": "anatomy:file-docs-core-plugins-syntax-failure-plugin-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/docs#file-docs-core-plugins-syntax-branch-plugin-ts",
      "json": "https://banes-lab.com/json/source/docs/core/plugins/syntax.branch.plugin.ts",
      "label": "core/plugins/syntax.branch.plugin.ts",
      "markdown": "https://banes-lab.com/source/docs/core/plugins/syntax.branch.plugin.ts.md",
      "ref": "anatomy:file-docs-core-plugins-syntax-branch-plugin-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/docs/core/plugins",
    "label": "core/plugins",
    "markdown": "https://banes-lab.com/api/source/docs/core/plugins.md",
    "ref": "api:source/docs/core/plugins"
  }
}
