Skip to content

class WriteWhatsitNode

  • supers: Node

Example:

assert.node_type("whatsit", "write", {
  id = "whatsit (8)",
  subtype = "write (1)",
  fields = {
    "prev (-1)",
    "next (0)",
    "id (1)",
    "subtype (2)",
    "attr (3)",
    "stream (4)",
    "data (5)",
  },
})

😱 Types incomplete or incorrect? 🙏 Please contribute!


fields


WriteWhatsitNode.attr


WriteWhatsitNode.attr : Node {
    next: Node?,
    prev: Node?,
    id: integer,
    subtype: integer,
    head: Node?,
    attr: Node,
}

A list of attributes.

WriteWhatsitNode.stream


WriteWhatsitNode.stream : integer

TeX's stream id number

WriteWhatsitNode.data


WriteWhatsitNode.data : table

a table representing the token list to be written