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

Link copied to clipboard
fun BinaryPlusSyntax(operation: String, left: OperandSyntax, right: OperandSyntax)

Properties

Link copied to clipboard
open override val left: OperandSyntax
Link copied to clipboard
open override val operation: String

The operation token.

Link copied to clipboard
var parent: MathSyntax? = null

The parent node of this syntax node.

Link copied to clipboard
open override val right: OperandSyntax

Sources

Link copied to clipboard