void WrapContentsInDummySpanCommand::getNodesInCommand(HashSet<Node*>& nodes) { addNodeAndDescendants(m_element.ptr(), nodes); addNodeAndDescendants(m_dummySpan.get(), nodes); }
void InsertNodeBeforeCommand::getNodesInCommand(HashSet<Node*>& nodes) { addNodeAndDescendants(m_insertChild.get(), nodes); addNodeAndDescendants(m_refChild.get(), nodes); }
void RemoveNodeCommand::getNodesInCommand(HashSet<Node*>& nodes) { addNodeAndDescendants(m_parent.get(), nodes); addNodeAndDescendants(m_refChild.get(), nodes); addNodeAndDescendants(m_node.get(), nodes); }
void AppendNodeCommand::getNodesInCommand(HashSet<Node*>& nodes) { addNodeAndDescendants(m_parent.get(), nodes); addNodeAndDescendants(m_node.ptr(), nodes); }
void RemoveCSSPropertyCommand::getNodesInCommand(HashSet<Node*>& nodes) { addNodeAndDescendants(m_element.get(), nodes); }
void InsertIntoTextNodeCommand::getNodesInCommand(HashSet<Node*>& nodes) { addNodeAndDescendants(m_node.get(), nodes); }
void SplitTextNodeCommand::getNodesInCommand(HashSet<Node*>& nodes) { addNodeAndDescendants(m_text1.get(), nodes); addNodeAndDescendants(m_text2.get(), nodes); }
void SetNodeAttributeCommand::getNodesInCommand(HashSet<Node*>& nodes) { addNodeAndDescendants(m_element.get(), nodes); }
void SplitElementCommand::getNodesInCommand(HashSet<Node*>& nodes) { addNodeAndDescendants(m_element1.get(), nodes); addNodeAndDescendants(m_element2.get(), nodes); addNodeAndDescendants(m_atChild.get(), nodes); }
void DeleteFromTextNodeCommand::getNodesInCommand(HashSet<Node*>& nodes) { addNodeAndDescendants(m_node.get(), nodes); }
void MergeIdenticalElementsCommand::getNodesInCommand(HashSet<Node*>& nodes) { addNodeAndDescendants(m_element1.get(), nodes); addNodeAndDescendants(m_element2.get(), nodes); }