UnaryOperatorSyntax

data class UnaryOperatorSyntax(val operation: String, var prefix: MathSyntax, val operand: OperandSyntax) : UnarySyntax(source)

Represents unary, prefix operator syntax (like f(x)).

Author

Iaroslav Postovalov

Constructors

Link copied to clipboard
constructor(operation: String, prefix: MathSyntax, 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.

Link copied to clipboard

The prefix.