UnaryOperatorSyntax

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

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

Author

Iaroslav Postovalov

Constructors

UnaryOperatorSyntax
Link copied to clipboard
common
fun UnaryOperatorSyntax(operation: String, prefix: MathSyntax, 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.
prefix
Link copied to clipboard
common
var prefix: MathSyntax
The prefix.