MCPcopy Create free account
hub / github.com/KLayout/klayout / extract_unary

Function extract_unary

src/laybasic/laybasic/layParsedLayerSource.cc:428–436  ·  view source on GitHub ↗

* @brief Expression parser: parse unary operations with one argument */

Source from the content-addressed store, hash-verified

426 * @brief Expression parser: parse unary operations with one argument
427 */
428static PropertySelectorBase *
429extract_unary (tl::Extractor &ex)
430{
431 if (ex.test ("!")) {
432 return new PropertySelectorNot (extract_unary (ex));
433 } else {
434 return extract_element (ex);
435 }
436}
437
438/**
439 * @brief Expression parser: parse binary operations at level 2

Callers 1

extract_or_seqFunction · 0.85

Calls 2

extract_elementFunction · 0.85
testMethod · 0.45

Tested by

no test coverage detected