MCPcopy Create free account
hub / github.com/amule-project/amule / make_while_loop_syn_node

Function make_while_loop_syn_node

src/webserver/src/php_syntree.cpp:228–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228PHP_SYN_NODE *make_while_loop_syn_node(PHP_EXP_NODE *cond, PHP_SYN_NODE *code, int do_while)
229{
230 PHP_SYN_NODE *syn_node = new PHP_SYN_NODE;
231 memset(syn_node, 0, sizeof(PHP_SYN_NODE));
232
233 syn_node->type = do_while ? PHP_ST_WHILE : PHP_ST_DO_WHILE;
234 syn_node->node_while.cond = cond;
235 syn_node->node_while.code = code;
236
237 return syn_node;
238}
239
240PHP_SYN_NODE *make_for_syn_node(PHP_EXP_NODE *start, PHP_EXP_NODE *cond,
241 PHP_EXP_NODE *next, PHP_SYN_NODE *code)

Callers 1

yyparseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected