Skip to content

TreePatternBits

TreePatternBits is an abstraction of tree nodes with the treePatternBits.

Contract

Tree Pattern Bits

treePatternBits: BitSet

See:

Used when:

Implementations

containsPattern

containsPattern(
  t: TreePattern): Boolean

containsPattern is true when the given TreePattern is among the treePatternBits.

containsAnyPattern

containsAnyPattern(
  patterns: TreePattern*): Boolean

containsAnyPattern checks if any of the given TreePatterns is a pattern of this TreeNode.