MultiplicationSyntax

data class MultiplicationSyntax(operation: String, left: OperandSyntax, right: OperandSyntax, times: Boolean) : BinarySyntax

Represents binary, infix multiplication in the form of coefficient (2 x) or with operator (x × 2).

Author

Iaroslav Postovalov

Constructors

MultiplicationSyntax
Link copied to clipboard
common
fun MultiplicationSyntax(operation: String, left: OperandSyntax, right: OperandSyntax, times: Boolean)

Properties

left
Link copied to clipboard
common
open override val left: OperandSyntax
The multiplicand.
operation
Link copied to clipboard
common
open override val operation: String
The operation token.
parent
Link copied to clipboard
common
var parent: MathSyntax? = null
The parent node of this syntax node.
right
Link copied to clipboard
common
open override val right: OperandSyntax
The multiplier.
times
Link copied to clipboard
common
var times: Boolean
Whether the times (×) symbol should be used.