Unary

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

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.

Inheritors

Constructors

Link copied to clipboard
constructor(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