Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

cms / cms template lexical binding

An agent that compiles nested template contexts needs each supplied variable use bound to the nearest explicitly declaring scope.

POST https://detect.halowerk.com/v1/cms/cms-template-lexical-binding

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "scopes": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "parent": {
                "type": "integer",
                "minimum": -1,
                "maximum": 511
              },
              "declares": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1000000
                },
                "maxItems": 512,
                "minItems": 0
              }
            },
            "required": [
              "parent",
              "declares"
            ],
            "additionalProperties": false
          },
          "maxItems": 512,
          "minItems": 1
        },
        "uses": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "scope": {
                "type": "integer",
                "minimum": 0,
                "maximum": 511
              },
              "variable": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000
              },
              "claimed_scope": {
                "type": "integer",
                "minimum": -1,
                "maximum": 511
              }
            },
            "required": [
              "scope",
              "variable",
              "claimed_scope"
            ],
            "additionalProperties": false
          },
          "maxItems": 1024,
          "minItems": 0
        }
      },
      "required": [
        "scopes",
        "uses"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "scopes": [
      {
        "parent": -1,
        "declares": [
          1
        ]
      }
    ],
    "uses": [
      {
        "scope": 0,
        "variable": 1,
        "claimed_scope": 0
      }
    ]
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →