MCPcopy Create free account
hub / github.com/apache/trafficserver / _processSimpleContentTag

Method _processSimpleContentTag

plugins/esi/lib/EsiParser.cc:249–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249inline bool
250EsiParser::_processSimpleContentTag(DocNode::TYPE node_type, const char *data, int data_len, DocNodeList &node_list) const
251{
252 DocNode new_node(node_type);
253 if (!parse(new_node.child_nodes, data, data_len)) {
254 TSError("[%s] Could not parse simple content of [%s] node", __FUNCTION__, DocNode::type_names_[node_type]);
255 return false;
256 }
257 node_list.push_back(new_node);
258 return true;
259}
260
261bool
262EsiParser::_parse(const string &data, int &parse_start_pos, DocNodeList &node_list, bool last_chunk /* = false */) const

Callers

nothing calls this directly

Calls 3

parseFunction · 0.85
TSErrorFunction · 0.50
push_backMethod · 0.45

Tested by

no test coverage detected