UnaryMinusSyntax

data class UnaryMinusSyntax(val operation: String, val operand: OperandSyntax) : UnarySyntax(source)

Represents prefix, unary minus operator (-x).

Author

Iaroslav Postovalov

Constructors

Link copied to clipboard
constructor(operation: String, operand: OperandSyntax)

Properties

Link copied to clipboard
open override val operand: OperandSyntax

The operand of this node.

Link copied to clipboard
open override val operation: String

The operation token.

Link copied to clipboard

The parent node of this syntax node.