Binary

abstract class Binary(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.Binary.

Author

Iaroslav Postovalov

Constructors

Link copied to clipboard
fun Binary(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>?

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

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

Sources

Link copied to clipboard