MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / specialize_template

Method specialize_template

extlibs/vili/src/parser/parser_state.cpp:148–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146 }
147
148 void state::specialize_template()
149 {
150 node& top = *m_stack.top().item;
151 if (top.is<vili::array>())
152 {
153 top[top.size() - 2].merge(top[top.size() - 1]);
154 top.erase(top.size() - 1);
155 }
156 }
157
158 node state::get_template(const std::string& template_name) const
159 {

Callers 1

applyMethod · 0.80

Calls 4

topMethod · 0.80
mergeMethod · 0.80
sizeMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected