class StyleNode
- supers: Node
Example:
assert.node_type("style", nil, {
id = "style (16)",
fields = {
"prev (-1)",
"next (0)",
"id (1)",
"subtype (2)",
"attr (3)",
"style (4)",
},
})
Reference:
- Corresponding C source code: texnodes.c#L929-L931
😱 Types incomplete or incorrect? 🙏 Please contribute!
fields
StyleNode.attr
StyleNode.attr : Node {
next: Node?,
prev: Node?,
id: integer,
subtype: integer,
head: Node?,
attr: Node,
}
A list of attributes.
StyleNode.style
contains the style