OperandSyntax

data class OperandSyntax(val operand: MathSyntax, var parentheses: Boolean) : MathSyntax(source)

Represents operand of a certain operator wrapped with parentheses or not.

Author

Iaroslav Postovalov

Constructors

Link copied to clipboard
constructor(operand: MathSyntax, parentheses: Boolean)

Properties

Link copied to clipboard

The operand.

Link copied to clipboard

The parent node of this syntax node.

Link copied to clipboard

Whether the operand should be wrapped with parentheses.