Skip to content

class SubMlistNode

  • supers: Node

For subsidiary list items

Example:

assert.node_type("sub_mlist", nil, {
  id = "sub_mlist (25)",
  fields = {
    "prev (-1)",
    "next (0)",
    "id (1)",
    "subtype (2)",
    "attr (3)",
    "head (4)",
  },
})

Reference:

😱 Types incomplete or incorrect? 🙏 Please contribute!


fields


SubMlistNode.attr


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

A list of attributes.

SubMlistNode.head


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

A list of nodes. head points to a math list that is yet to be converted.