AARCHMRS Schema 2.7.4

↚ Home

Instruction.Symbols.RuleReference object

A RuleReference is a Symbol that refers to an assembly Rule that is defined elsewhere.

The example below contains a reference to the Wd rule.

object

Properties Type Description
_meta Meta

Metadata

See Meta for more information.
_type
Enum
Instruction.Symbols.RuleReference
rule_id AST.Identifier

The ID of the referenced assembly rule.

See definitions.c_identifier_regex in AST.Identifier for more information.
Additional Properties
Not Allowed
◊ Required
Properties marked with ◊ are required properties.
Examples
{
    "_type": "Instruction.Symbols.RuleReference", 
    "rule_id": "Wd"
}

Schema http://json-schema.org/draft-04/schema#

{
  "info": [
    [
      "A $(~Instruction.Symbols.RuleReference) is a Symbol that refers to an assembly $(~Instruction.Rules.Rule)",
      "that is defined elsewhere."
    ],
    "",
    "The example below contains a reference to the `Wd` rule."
  ],
  "type": "object",
  "examples": [
    {
      "_type": "Instruction.Symbols.RuleReference",
      "rule_id": "Wd"
    }
  ],
  "properties": {
    "_meta": {
      "$ref": "../../Meta.json",
      "info": [
        "Metadata"
      ]
    },
    "_type": {
      "enum": [
        "Instruction.Symbols.RuleReference"
      ]
    },
    "rule_id": {
      "info": [
        "The ID of the referenced assembly rule."
      ],
      "$ref": "../../AST/Identifier.json#/definitions/c_identifier_regex"
    }
  },
  "required": [
    "rule_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Instruction.Symbols.RuleReference"
}