{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/report.strings.ts",
          "name": "missingTemplate",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-configuration-strings-report-strings-ts",
            "json": "https://banes-lab.com/json/source/tree/configuration/strings/report.strings.ts",
            "label": "configuration/strings/report.strings.ts",
            "markdown": "https://banes-lab.com/source/tree/configuration/strings/report.strings.ts.md",
            "ref": "anatomy:file-configuration-strings-report-strings-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "templateBodyOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-core-converters-grammar-converter-ts"
          }
        },
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "templateConstraintsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-core-converters-grammar-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 47,
      "name": "templateOf",
      "signature": "const templateOf = function templateOf(type: string): (typeof ONTOLOGY.grammar.templates)[number] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "configuration/strings/bnf.strings.ts",
          "name": "category",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-configuration-strings-bnf-strings-ts",
            "json": "https://banes-lab.com/json/source/tree/configuration/strings/bnf.strings.ts",
            "label": "configuration/strings/bnf.strings.ts",
            "markdown": "https://banes-lab.com/source/tree/configuration/strings/bnf.strings.ts.md",
            "ref": "anatomy:file-configuration-strings-bnf-strings-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 12,
      "name": "joinRules",
      "signature": "export const joinRules = function joinRules(rules: readonly GrammarRule[]): string {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/report.strings.ts",
          "name": "missingKeywordCategory",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-configuration-strings-report-strings-ts",
            "json": "https://banes-lab.com/json/source/tree/configuration/strings/report.strings.ts",
            "label": "configuration/strings/report.strings.ts",
            "markdown": "https://banes-lab.com/source/tree/configuration/strings/report.strings.ts.md",
            "ref": "anatomy:file-configuration-strings-report-strings-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 26,
      "name": "keywordsOf",
      "signature": "export const keywordsOf = function keywordsOf(category: string): KeywordBlock {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/report.strings.ts",
          "name": "missingProductionGroup",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-configuration-strings-report-strings-ts",
            "json": "https://banes-lab.com/json/source/tree/configuration/strings/report.strings.ts",
            "label": "configuration/strings/report.strings.ts",
            "markdown": "https://banes-lab.com/source/tree/configuration/strings/report.strings.ts.md",
            "ref": "anatomy:file-configuration-strings-report-strings-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 34,
      "name": "productionsOf",
      "signature": "export const productionsOf = function productionsOf(group: string, title: string): GrammarRule {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "templateOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-core-converters-grammar-converter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 55,
      "name": "templateBodyOf",
      "signature": "export const templateBodyOf = function templateBodyOf(type: string): string {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/grammar.converter.ts",
          "name": "templateOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-grammar-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/grammar.converter.ts",
            "label": "core/converters/grammar.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/grammar.converter.ts.md",
            "ref": "anatomy:file-core-converters-grammar-converter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 59,
      "name": "templateConstraintsOf",
      "signature": "export const templateConstraintsOf = function templateConstraintsOf(type: string): readonly string[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 6,
      "name": "HEADING",
      "signature": "const HEADING = \"# \";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 7,
      "name": "GAP",
      "signature": "const GAP = \"\\n\\n\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 8,
      "name": "PRODUCES",
      "signature": "const PRODUCES = \" ::= \";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 9,
      "name": "OPEN",
      "signature": "const OPEN = \"<\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 10,
      "name": "CLOSE",
      "signature": "const CLOSE = \">\";"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "rolesIn",
      "signature": "const rolesIn = function rolesIn(category: string, primary: boolean): KeywordBlock[\"keywords\"] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 27,
      "name": "keywords",
      "signature": "const keywords = [...rolesIn(category, true), ...rolesIn(category, false)];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 48,
      "name": "found",
      "signature": "const found = ONTOLOGY.grammar.templates.find((template) => template.type === type);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/tree#file-core-converters-grammar-converter-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "grammar.converter.ts",
  "path": "core/converters/grammar.converter.ts",
  "ref": "anatomy:file-core-converters-grammar-converter-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-converters",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-converters.md",
          "ref": "chapter:/anatomy/tree#folder-core-converters"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#file-configuration-strings-report-strings-ts",
          "json": "https://banes-lab.com/json/source/tree/configuration/strings/report.strings.ts",
          "label": "configuration/strings/report.strings.ts",
          "markdown": "https://banes-lab.com/source/tree/configuration/strings/report.strings.ts.md",
          "ref": "anatomy:file-configuration-strings-report-strings-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#file-configuration-strings-bnf-strings-ts",
          "json": "https://banes-lab.com/json/source/tree/configuration/strings/bnf.strings.ts",
          "label": "configuration/strings/bnf.strings.ts",
          "markdown": "https://banes-lab.com/source/tree/configuration/strings/bnf.strings.ts.md",
          "ref": "anatomy:file-configuration-strings-bnf-strings-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-configuration-strings",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-configuration-strings",
          "label": "configuration/strings",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-configuration-strings.md",
          "ref": "chapter:/anatomy/tree#folder-configuration-strings"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-converters",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-converters.md",
          "ref": "chapter:/anatomy/tree#folder-core-converters"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "converter",
    "subject": "grammar",
    "variant": null
  },
  "stats": {
    "bytes": 2398,
    "callable": 7,
    "definitions": 14,
    "edges": 5,
    "exported": 7,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 1,
      "leaf": 1,
      "entry": 4,
      "isolated": 8
    },
    "lines": {
      "blank": 8,
      "code": 53,
      "total": 61
    }
  },
  "summary": "53 lines of code and 14 definitions.",
  "text": "https://banes-lab.com/source/tree/core/converters/grammar.converter.ts.txt",
  "tree": "tree",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/tree#file-core-converters-literal-converter-ts",
      "json": "https://banes-lab.com/json/source/tree/core/converters/literal.converter.ts",
      "label": "core/converters/literal.converter.ts",
      "markdown": "https://banes-lab.com/source/tree/core/converters/literal.converter.ts.md",
      "ref": "anatomy:file-core-converters-literal-converter-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/tree#file-core-converters-folder-converter-ts",
      "json": "https://banes-lab.com/json/source/tree/core/converters/folder.converter.ts",
      "label": "core/converters/folder.converter.ts",
      "markdown": "https://banes-lab.com/source/tree/core/converters/folder.converter.ts.md",
      "ref": "anatomy:file-core-converters-folder-converter-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/tree/core/converters",
    "label": "core/converters",
    "markdown": "https://banes-lab.com/api/source/tree/core/converters.md",
    "ref": "api:source/tree/core/converters"
  }
}
