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

Link copied to clipboard
fun BinaryOperatorSyntax(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
var parent: MathSyntax? = null

The parent node of this syntax node.

Link copied to clipboard
var prefix: MathSyntax

The prefix.

Link copied to clipboard
open override val right: MathSyntax

The right-hand side operand.

Sources

Link copied to clipboard