OperandSyntax

data class OperandSyntax(operand: MathSyntax, parentheses: Boolean) : MathSyntax

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

Author

Iaroslav Postovalov

Constructors

OperandSyntax
Link copied to clipboard
common
fun OperandSyntax(operand: MathSyntax, parentheses: Boolean)

Properties

operand
Link copied to clipboard
common
val operand: MathSyntax
The operand.
parent
Link copied to clipboard
common
var parent: MathSyntax? = null
The parent node of this syntax node.
parentheses
Link copied to clipboard
common
var parentheses: Boolean
Whether the operand should be wrapped with parentheses.