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

Method push_processing_instruction

css-inline/src/html/parser.rs:123–125  ·  view source on GitHub ↗
(&self, target: StrTendril, data: StrTendril)

Source from the content-addressed store, hash-verified

121 }
122
123 fn push_processing_instruction(&self, target: StrTendril, data: StrTendril) -> NodeId {
124 self.push_node(NodeData::ProcessingInstruction { target, data })
125 }
126
127 fn push_doctype(&self, name: StrTendril) -> NodeId {
128 self.push_node(NodeData::Doctype { name })

Callers 1

create_piMethod · 0.80

Calls 1

push_nodeMethod · 0.45

Tested by

no test coverage detected