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

Method push_comment

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

Source from the content-addressed store, hash-verified

117 }
118
119 fn push_comment(&self, text: StrTendril) -> NodeId {
120 self.push_node(NodeData::Comment { text })
121 }
122
123 fn push_processing_instruction(&self, target: StrTendril, data: StrTendril) -> NodeId {
124 self.push_node(NodeData::ProcessingInstruction { target, data })

Callers 1

create_commentMethod · 0.80

Calls 1

push_nodeMethod · 0.45

Tested by

no test coverage detected