UnaryMinusSyntax

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

Represents prefix, unary minus operator (-x).

Author

Iaroslav Postovalov

Constructors

UnaryMinusSyntax
Link copied to clipboard
common
fun UnaryMinusSyntax(operation: String, operand: OperandSyntax)

Properties

operand
Link copied to clipboard
common
open override val operand: OperandSyntax
The operand of this node.
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.

Sources

common source
Link copied to clipboard