MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlXPathCompUnionExpr

Function xmlXPathCompUnionExpr

ThirdParty/libxml2/vtklibxml2/xpath.c:9671–9688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9669 */
9670
9671static void
9672xmlXPathCompUnionExpr(xmlXPathParserContextPtr ctxt) {
9673 xmlXPathCompPathExpr(ctxt);
9674 CHECK_ERROR;
9675 SKIP_BLANKS;
9676 while (CUR == '|') {
9677 int op1 = ctxt->comp->last;
9678 PUSH_LEAVE_EXPR(XPATH_OP_NODE, 0, 0);
9679
9680 NEXT;
9681 SKIP_BLANKS;
9682 xmlXPathCompPathExpr(ctxt);
9683
9684 PUSH_BINARY_EXPR(XPATH_OP_UNION, op1, ctxt->comp->last, 0, 0);
9685
9686 SKIP_BLANKS;
9687 }
9688}
9689
9690/**
9691 * xmlXPathCompUnaryExpr:

Callers 1

xmlXPathCompUnaryExprFunction · 0.85

Calls 1

xmlXPathCompPathExprFunction · 0.85

Tested by

no test coverage detected