MCPcopy Create free account
hub / github.com/Stranger6667/css-inline / push_node

Method push_node

css-inline/src/html/parser.rs:76–78  ·  view source on GitHub ↗

Push a new node into the document.

(&self, data: NodeData)

Source from the content-addressed store, hash-verified

74impl Sink {
75 /// Push a new node into the document.
76 fn push_node(&self, data: NodeData) -> NodeId {
77 self.document.borrow_mut().push_node(data)
78 }
79
80 fn push_element(
81 &self,

Callers 5

push_elementMethod · 0.45
push_textMethod · 0.45
push_commentMethod · 0.45
push_doctypeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected