Skip to content

class BoundaryNode

  • supers: Node

Example:

assert.node_type("boundary", nil, {
  id = "boundary (6)",
  subtypes = { "cancel (0)", "user (1)", "protrusion (2)", "word (3)" },
  fields = {
    "prev (-1)",
    "next (0)",
    "id (1)",
    "subtype (2)",
    "attr (3)",
    "value (4)",
  },
})

Reference:

😱 Types incomplete or incorrect? 🙏 Please contribute!


fields


BoundaryNode.subtype


BoundaryNode.subtype : BoundaryNodeSubtype

BoundaryNode.attr


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

A list of attributes.

BoundaryNode.value


BoundaryNode.value : integer

values 0-255 are reserved