Closed BlackRam-oss closed 4 weeks ago
ValueType = string | number | boolean | Array | Object
VariablesType = {type: "storeVariable", name: string }
Set value: { type: "set", name: string, value: ValueType }
Delete value: { type: "remove", name: string }
CompatationType = "==" | "<" | ">" | "<=" | ">="
{ Val1: VariablesType | ValueType , Val2: VariablesType | ValueType, compatationType: CompatationType }
Union condition:
UnionType = "and" | "or" | "not"
{ unionType: UnionType , condiotions | Union condiotions }
Store value
ValueType = string | number | boolean | Array | Object
VariablesType = {type: "storeVariable", name: string }
Set value: { type: "set", name: string, value: ValueType }
Delete value: { type: "remove", name: string }
Operations
Condition
CompatationType = "==" | "<" | ">" | "<=" | ">="
{ Val1: VariablesType | ValueType , Val2: VariablesType | ValueType, compatationType: CompatationType }
Union condition:
UnionType = "and" | "or" | "not"
{ unionType: UnionType , condiotions | Union condiotions }
Olthers