UnaryMinus

class UnaryMinus(operations: Collection<String>?) : Unary

Handles binary nodes by producing UnaryMinusSyntax.

Author

Iaroslav Postovalov

Constructors

UnaryMinus
Link copied to clipboard
common
fun UnaryMinus(operations: Collection<String>?)

Types

Companion
Link copied to clipboard
common
object Companion

Functions

render
Link copied to clipboard
common
override fun render(renderer: FeaturedMathRenderer, node: MST): MathSyntax?
Renders MST to MathSyntax in the context of owning renderer.
renderUnary
Link copied to clipboard
common
open override fun renderUnary(parent: FeaturedMathRenderer, node: MST.Unary): UnaryMinusSyntax
The actual render function specialized for MST.Unary.

Properties

operations
Link copied to clipboard
common
val operations: Collection<String>?
the allowed operations.