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

Method begin

lib/yamlcpp/src/node_data.cpp:122–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122const_node_iterator node_data::begin() const {
123 if (!m_isDefined)
124 return {};
125
126 switch (m_type) {
127 case NodeType::Sequence:
128 return const_node_iterator(m_sequence.begin());
129 case NodeType::Map:
130 return const_node_iterator(m_map.begin(), m_map.end());
131 default:
132 return {};
133 }
134}
135
136node_iterator node_data::begin() {
137 if (!m_isDefined)

Callers 15

TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
tolowerFunction · 0.45
IsEntirelyFunction · 0.45
mergeMethod · 0.45
IsValidLiteralScalarFunction · 0.45
WriteAliasNameFunction · 0.45
WriteSingleQuotedStringFunction · 0.45
WriteDoubleQuotedStringFunction · 0.45

Calls 1

endMethod · 0.45

Tested by 4

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36