Home / File/ astro.tmLanguage.json — astro Source File

astro.tmLanguage.json — astro Source File

Architecture documentation for astro.tmLanguage.json, a json file in the astro codebase.

Entity Profile

Source Code

{
  "name": "Astro",
  "scopeName": "source.astro",
  "fileTypes": ["astro"],
  "injections": {
    "L:(meta.script.astro) (meta.lang.json) - (meta source)": {
      "patterns": [
        {
          "begin": "(?<=>)(?!</)",
          "end": "(?=</)",
          "name": "meta.embedded.block.astro",
          "contentName": "source.json",
          "patterns": [
            {
              "include": "source.json"
            }
          ]
        }
      ]
    },
    "L:(meta.script.astro) (meta.lang.js | meta.lang.javascript | meta.lang.partytown | meta.lang.node) - (meta source)": {
      "patterns": [
        {
          "begin": "(?<=>)(?=[^\\n]+</script[\\s>])",
          "end": "(?=</script[\\s>])",
          "name": "meta.embedded.block.astro",
          "contentName": "source.js",
          "patterns": [
            {
              "include": "source.js"
            }
          ]
        },
        {
          "begin": "(?<=>)(?!</)",
          "while": "^(?!\\s*</script[\\s>])",
          "name": "meta.embedded.block.astro",
          "contentName": "source.js",
          "patterns": [
            {
              "include": "source.js"
            }
          ]
        }
      ]
    },
    "L:(meta.script.astro) (meta.lang.ts | meta.lang.typescript) - (meta source)": {
      "patterns": [
        {
          "begin": "(?<=>)(?=[^\\n]+</script[\\s>])",
          "end": "(?=</script[\\s>])",
          "name": "meta.embedded.block.astro",
          "contentName": "source.ts",
          "patterns": [
            {
              "include": "source.ts"
            }
          ]
        },
        {
// ... (836 more lines)

Frequently Asked Questions

What does astro.tmLanguage.json do?
astro.tmLanguage.json is a source file in the astro codebase, written in json.
Where is astro.tmLanguage.json in the architecture?
astro.tmLanguage.json is located at packages/language-tools/vscode/syntaxes/astro.tmLanguage.json (directory: packages/language-tools/vscode/syntaxes).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free