def primaryExpr1(self, __stack, __ptr): """ from XPath/XPathBase.bgen.frag, line 292 primaryExpr: VARIABLE_REFERENCE """ __val = ParsedExpr.ParsedVariableReferenceExpr(__stack[__ptr + 1]) return __val
def createVariableReference(self, prefix, localName): if prefix: return ParsedExpr.ParsedVariableReferenceExpr('$' + prefix + ':' + localName) else: return ParsedExpr.ParsedVariableReferenceExpr('$' + localName)