Options
All
  • Public
  • Public/Protected
  • All
Menu

By default all nodes are allowd to nest within another, each node defines a list (a bitstring we call mask) of disallowd desendant types.

Assume the mask do not distinguish direct or indirect child, so it's resonable to maintain a total mask combining all ancestors' masks.

Hierarchy

  • Mask

Index

Properties

Methods

Properties

Private counts

counts: any[] = Array(32).fill(0)

mask

mask: number = 0

Methods

add

  • add(bitstring: number): void

remove

  • remove(bitstring: number): void

Generated using TypeDoc