UnaryOperatorSyntax

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

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

Author

Iaroslav Postovalov

Constructors

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

The parent node of this syntax node.

Link copied to clipboard
var prefix: MathSyntax

The prefix.

Sources

Link copied to clipboard