Unary

abstract class Unary(operations: Collection<String>?) : FeaturedMathRenderer.RenderFeature

Abstract printing of unary operations that discards MST if their operation is not in operations or its type is not MST.Unary.

Author

Iaroslav Postovalov

Parameters

operations

the allowed operations. If null, any operation is accepted.

Constructors

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

Functions

Link copied to clipboard
override fun render(renderer: FeaturedMathRenderer, node: MST): MathSyntax?

Renders MST to MathSyntax in the context of owning renderer.

Properties

Link copied to clipboard
val operations: Collection<String>?

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Sources

Link copied to clipboard