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

Method _parse

src/liboslexec/lpeparse.cpp:427–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425
426
427LPexp *
428Parser::_parse()
429{
430 LPexp *e;
431 if (head() == '(')
432 e = parseCat();
433 else if (head() == '[')
434 e = parseOrlist();
435 else if (head() == '<')
436 e = parseGroup();
437 else
438 e = parseSymbol();
439 if (error())
440 return NULL;
441 return parseModifier(e);
442}
443
444
445

Callers

nothing calls this directly

Calls 1

errorFunction · 0.70

Tested by

no test coverage detected