Class Node

The core base class for all nodes

Hierarchy

Constructors

Properties

childList: Node[]
expressionId: number
nodeParam: NodeParamStruct
type: NodeType

Methods

  • Generate a list of condition node structs for any node This is the root function for generating the condition node struct list All condition node list should be generated from this function

    Returns ConditionNodeStruct[]

  • Generate a list of condition node structs for the AND node For example, if the AND node has 2 children, and the ID = 5, then the list will be: [ AND(5), EXPRESSION_NODE(6), EXPRESSION_NODE(7) ]

    Parameters

    • id: bigint

      The id of the condition node

    Returns ConditionNodeStruct[]

Generated using TypeDoc