SuperscriptSyntax

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

Represents a syntax node with superscript (x2).

Author

Iaroslav Postovalov

Constructors

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

Properties

Link copied to clipboard
open override val left: MathSyntax

The 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
open override val right: MathSyntax

The superscript.

Sources

Link copied to clipboard