BinaryPlusSyntax

data class BinaryPlusSyntax(operation: String, left: OperandSyntax, right: OperandSyntax) : BinarySyntax

Represents binary, infix addition (42 + 42).

Author

Iaroslav Postovalov

Parameters

left

The augend.

right

The addend.

Constructors

BinaryPlusSyntax
Link copied to clipboard
common
fun BinaryPlusSyntax(operation: String, left: OperandSyntax, right: OperandSyntax)
The augend.

Properties

left
Link copied to clipboard
common
open override val left: OperandSyntax
The augend.
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 addend.

Sources

common source
Link copied to clipboard