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

Unary
Link copied to clipboard
common
fun Unary(operations: Collection<String>?)
the allowed operations.

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.

Properties

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

Inheritors

UnaryPlus
Link copied to clipboard
UnaryMinus
Link copied to clipboard
UnaryOperator
Link copied to clipboard
SquareRoot
Link copied to clipboard
Exponent
Link copied to clipboard
InverseTrigonometricOperations
Link copied to clipboard
InverseHyperbolicOperations
Link copied to clipboard

Sources

common source
Link copied to clipboard