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 | Type | Description |
---|---|---|
_meta | Meta |
See
Meta
for more information.
|
_type |
|
|
expression◊ |
|
The expression string this range is represented by. |
|
||
|
{
"_type": "ExpressionRange",
"expression": "((n * 2)+18):(x)"
}
{
"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#"
}