Esempio n. 1
0
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
Esempio n. 2
0
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
Esempio n. 3
0
 def createAbbreviatedPathExpr(self, left, right):
     return ParsedExpr.ParsedPathExpr(XPATH.DOUBLE_SLASH, left, right)
Esempio n. 4
0
 def createPathExpr(self, left, right):
     return ParsedExpr.ParsedPathExpr("/", left, right)