MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenShadingLanguage / codegen_list

Method codegen_list

src/liboslcomp/codegen.cpp:361–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359
360
361Symbol *
362ASTNode::codegen_list (ref node, Symbol *dest)
363{
364 Symbol *sym = NULL;
365 while (node) {
366 bool last = (node->nextptr() == NULL);
367 sym = node->codegen (last ? dest : NULL);
368 node = node->next ();
369 }
370 return sym;
371}
372
373
374

Callers

nothing calls this directly

Calls 3

nextptrMethod · 0.80
codegenMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected