MultiplicationSyntax

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

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

Author

Iaroslav Postovalov

Constructors

Link copied to clipboard
constructor(operation: String, left: OperandSyntax, right: OperandSyntax, times: Boolean)

Properties

Link copied to clipboard
open override val left: OperandSyntax

The multiplicand.

Link copied to clipboard
open override val operation: String

The operation token.

Link copied to clipboard

The parent node of this syntax node.

Link copied to clipboard
open override val right: OperandSyntax

The multiplier.

Link copied to clipboard

Whether the times (×) symbol should be used.