A model representing a set of expressions:
{EL1, EL2, EL3}
{1, 2, 3}
Properties | Type | Description |
---|---|---|
_meta | Meta |
See
Meta
for more information.
|
_type |
|
|
values |
array [
BinaryOp
]
|
The set's elements.
Default
|
|
||
|
{
"_type": "AST.Set",
"values": [
{
"_type": "AST.Identifier",
"value": "EL1"
},
{
"_type": "AST.Identifier",
"value": "EL2"
},
{
"_type": "AST.Identifier",
"value": "EL3"
}
]
}
{
"_type": "AST.Set",
"values": [
{
"_type": "AST.Integer",
"value": 1
},
{
"_type": "AST.Integer",
"value": 2
},
{
"_type": "AST.Integer",
"value": 3
}
]
}
{
"additionalProperties": false,
"info": [
"A model representing a set of expressions:",
[
" - `{EL1, EL2, EL3}`",
" - `{1, 2, 3}`"
]
],
"examples": [
{
"_type": "AST.Set",
"values": [
{
"_type": "AST.Identifier",
"value": "EL1"
},
{
"_type": "AST.Identifier",
"value": "EL2"
},
{
"_type": "AST.Identifier",
"value": "EL3"
}
]
},
{
"_type": "AST.Set",
"values": [
{
"_type": "AST.Integer",
"value": 1
},
{
"_type": "AST.Integer",
"value": 2
},
{
"_type": "AST.Integer",
"value": 3
}
]
}
],
"properties": {
"_meta": {
"$ref": "../Meta.json"
},
"_type": {
"enum": [
"AST.Set"
]
},
"values": {
"info": [
"The set's elements."
],
"default": [],
"type": "array",
"items": {
"$ref": "BinaryOp.json#/definitions/expression"
}
}
},
"title": "Set",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#"
}