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

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

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

BinaryPlus
Link copied to clipboard
BinaryMinus
Link copied to clipboard
Fraction
Link copied to clipboard
BinaryOperator
Link copied to clipboard
Power
Link copied to clipboard
Multiplication
Link copied to clipboard

Sources

common source
Link copied to clipboard