insert_child method

insert_child

Inserts a node of the specified type at the specified index position in the current node’s child node list.

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 insert_child(self, index, equation_type):
    ...
ParameterTypeDescription
indexintindex value
equation_typeEquationNodeTypeTypes of Equation Nodes

See Also