class

MathJax::Mml::Node

Inherits Reference < Object

Constructors

new(kind : String, text : String | Nil = nil, attributes : Hash(String, String) = {} of String => String)
Source

Class methods

leaf(kind : String, text : String, **attrs)
Source

Instance methods

[](attr : String) : String | Nil
Source
[]?(attr : String) : String | Nil
Source
add(node : Node) : self
Source
add(kind : String, text : String | Nil = nil, **attrs) : Node
Source
add_all(nodes : Array(Node)) : self
Source
attributes
Source
attributes=(attributes : Hash(String, String))
Source
children
Source
children=(children : Array(Node))
Source
kind
Source
kind=(kind : String)
Source
mrow_if_needed

Wrap children in an mrow unless there is exactly one child.

Source
set(attr : String, value : String) : self
Source
text
Source
text=(text : String | Nil)
Source