PrettyPrintFloats

class PrettyPrintFloats(types: Set<KClass<out Number>>) : FeaturedMathRenderer.RenderFeature

Special printing for numeric types that are printed in form of ('-'? (DIGIT+ ('.' DIGIT+)? ('E' '-'? DIGIT+)? | 'Infinity')) | 'NaN'.

Author

Iaroslav Postovalov

Constructors

PrettyPrintFloats
Link copied to clipboard
common
fun PrettyPrintFloats(types: Set<KClass<out Number>>)

Types

Companion
Link copied to clipboard
common
object Companion

Functions

render
Link copied to clipboard
common
open override fun render(renderer: FeaturedMathRenderer, node: MST): MathSyntax?
Renders MST to MathSyntax in the context of owning renderer.

Properties

types
Link copied to clipboard
common
val types: Set<KClass<out Number>>
The suitable types.

Sources

common source
Link copied to clipboard