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.
| Properties | Type | Description |
|---|---|---|
| _meta | Meta |
Metadata
See
Meta
for more information.
|
| _type |
|
|
| rule_id◊ | AST.Identifier |
The ID of the referenced assembly rule.
See
definitions.c_identifier_regex in
AST.Identifier
for more information.
|
|
||
|
||
{
"_type": "Instruction.Symbols.RuleReference",
"rule_id": "Wd"
}
{
"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"
}