BinaryOperatorSyntax

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

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

Author

Iaroslav Postovalov

Constructors

Link copied to clipboard
constructor(operation: String, prefix: MathSyntax, left: MathSyntax, right: MathSyntax)

Properties

Link copied to clipboard
open override val left: MathSyntax

The left-hand side operand.

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

The prefix.

Link copied to clipboard
open override val right: MathSyntax

The right-hand side operand.