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

Method push_text

css-inline/src/html/parser.rs:115–117  ·  view source on GitHub ↗
(&self, text: StrTendril)

Source from the content-addressed store, hash-verified

113 }
114
115 fn push_text(&self, text: StrTendril) -> NodeId {
116 self.push_node(NodeData::Text { text })
117 }
118
119 fn push_comment(&self, text: StrTendril) -> NodeId {
120 self.push_node(NodeData::Comment { text })

Callers 1

append_implMethod · 0.80

Calls 1

push_nodeMethod · 0.45

Tested by

no test coverage detected