def pathExpr4(self, __stack, __ptr): """ from XPath/XPathBase.bgen.frag, line 441 pathExpr: filterExpr DOUBLE_SLASH relativeLocationPath """ __val = ParsedExpr.ParsedPathExpr(__stack[__ptr + 2], __stack[__ptr + 1], __stack[__ptr + 3]) return __val
def pathExpr3(self, __stack, __ptr): """ from XPath/XPathBase.bgen.frag, line 430 pathExpr: filterExpr '/' relativeLocationPath """ __val = ParsedExpr.ParsedPathExpr(__stack[__ptr + 2], __stack[__ptr + 1], __stack[__ptr + 3]) return __val
def createAbbreviatedPathExpr(self, left, right): return ParsedExpr.ParsedPathExpr(XPATH.DOUBLE_SLASH, left, right)
def createPathExpr(self, left, right): return ParsedExpr.ParsedPathExpr("/", left, right)