CalculationOperation
Hierarchy
- CalculationOperation
Implements
Constructors
constructor
- new
Calculation Operation(operator: CalculationOperator, left: CalculationValue, right: CalculationValue): CalculationOperation -
Creates a Sass CalculationOperation with the given
operator
,left
, andright
values.Throws
Error
ifleft
orright
are quoted SassStrings.Parameters
-
operator: CalculationOperator
-
left: CalculationValue
-
right: CalculationValue
Returns CalculationOperation
-
Accessors
left
- get left(): CalculationValue
-
Returns the operation's
left
field.Returns CalculationValue
operator
- get operator(): CalculationOperator
-
Returns the operation's
operator
field.Returns CalculationOperator
right
- get right(): CalculationValue
-
Returns the operation's
right
field.Returns CalculationValue
A binary operation that can appear in a SassCalculation.