BinaryOperatorSyntax

data class BinaryOperatorSyntax(operation: String, prefix: MathSyntax, left: MathSyntax, right: MathSyntax) : BinarySyntax

Represents binary, prefix operator syntax (like f(a, b)).

Author

Iaroslav Postovalov

Constructors

BinaryOperatorSyntax
Link copied to clipboard
common
fun BinaryOperatorSyntax(operation: String, prefix: MathSyntax, left: MathSyntax, right: MathSyntax)

Properties

left
Link copied to clipboard
common
open override val left: MathSyntax
The left-hand side operand.
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.
prefix
Link copied to clipboard
common
var prefix: MathSyntax
The prefix.
right
Link copied to clipboard
common
open override val right: MathSyntax
The right-hand side operand.