SuperscriptSyntax

data class SuperscriptSyntax(operation: String, left: MathSyntax, right: MathSyntax) : BinarySyntax

Represents a syntax node with superscript (x2).

Author

Iaroslav Postovalov

Constructors

SuperscriptSyntax
Link copied to clipboard
common
fun SuperscriptSyntax(operation: String, left: MathSyntax, right: MathSyntax)

Properties

left
Link copied to clipboard
common
open override val left: MathSyntax
The 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.
right
Link copied to clipboard
common
open override val right: MathSyntax
The superscript.

Sources

common source
Link copied to clipboard