Operand class
Represents one operand in some operator’s expression
Constructors
Section titled “Constructors”constructor
Section titled “constructor”The default constructor. ⊕ new Operand(): Operand
Public Properties
Section titled “Public Properties”dataType
Section titled “dataType”The type of the data.
● dataType: DataType
defText
Section titled “defText”The text for default operand value.
● defText: string
defValue
Section titled “defValue”The default value for this operand.
● defValue: string
editor
Section titled “editor”The value editor associated with this operand.
● editor: ValueEditor
The kind of operand (scalar
, list
, etc)
● kind: DataKind
Public Methods
Section titled “Public Methods”copyFrom
Section titled “copyFrom”Copies operand from other operand.
▸ copyFrom(src: Operand): void
Parameters:
Section titled “Parameters:”- src: Operand
Returns void
loadFromData
Section titled “loadFromData”Loads operand from its JSON representation object.
▸ loadFromData(model: DataModel,operand: OperandData): void
Parameters:
Section titled “Parameters:”- model: DataModel - The Data Model.
- operand: OperandData
Returns void