AARCHMRS Schema 2.5.3

↚ Home

ExpressionRange object

Defines a varying range, described by an expression. Expressions are of the form:

  • n + 2: A single bit range.
  • (n + 2):(n): A multiple bit range (3 in this case).

object

Properties Type Description
_meta Meta
See Meta for more information.
_type
Enum
ExpressionRange
expression
  • string

The expression string this range is represented by.

Additional Properties
Not Allowed
◊ Required
Properties marked with ◊ are required properties.
Examples
{
    "_type": "ExpressionRange", 
    "expression": "((n * 2)+18):(x)"
}

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

{
  "additionalProperties": false,
  "examples": [
    {
      "_type": "ExpressionRange",
      "expression": "((n * 2)+18):(x)"
    }
  ],
  "info": [
    "Defines a varying range, described by an expression. Expressions are of the form:",
    [
      " - `n + 2`: A single bit range.",
      " - `(n + 2):(n)`: A multiple bit range (3 in this case)."
    ]
  ],
  "properties": {
    "_meta": {
      "$ref": "Meta.json"
    },
    "_type": {
      "enum": [
        "ExpressionRange"
      ]
    },
    "expression": {
      "info": [
        "The expression string this range is represented by."
      ],
      "type": "string"
    }
  },
  "required": [
    "expression"
  ],
  "title": "ExpressionRange",
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema#"
}