add_child method

add_child

Insert a node of the specified type at the end of the child node list of the current node.

Returns

If the specified type exists, the corresponding node is returned, and if the type does not exist, a node of unknown type is returned.

def add_child(self, equation_type):
    ...
ParameterTypeDescription
equation_typeEquationNodeTypeTypes of Equation Nodes

add_child

Inserts the specified node at the end of the current node’s list of child nodes.

def add_child(self, node):
    ...
ParameterTypeDescription
nodeEquationNodeThe specified node

See Also