Searched refs:matchExpr (Results 1 – 5 of 5) sorted by relevance
51 public NodeHandler addHandler(String matchExpr, NodeHandler subHandler) { in addHandler() argument52 Matcher attrMatcher = ATTR_RE.matcher(matchExpr); in addHandler()77 throw new RuntimeException("unknown pattern " + matchExpr); in addHandler()
128 XPath matchExpr = kd.getMatch(); in acceptNode() local129 double score = matchExpr.getMatchScore(xctxt, testNode); in acceptNode()
101 Expression matchExpr = matchXPath.getExpression(); in setTemplate() local103 if (matchExpr instanceof StepPattern) in setTemplate()105 insertPatternInTable((StepPattern) matchExpr, template); in setTemplate()107 else if (matchExpr instanceof UnionPattern) in setTemplate()109 UnionPattern upat = (UnionPattern) matchExpr; in setTemplate()
4667 matchExpr = locMarker("_original_start") + expr + endlocMarker("_original_end")4673 matchExpr.setParseAction(extractText)4674 matchExpr.ignoreExprs = expr.ignoreExprs4675 return matchExpr5066 matchExpr = FollowedBy(lastExpr + opExpr) + Group( lastExpr + OneOrMore( opExpr ) )5069 …matchExpr = FollowedBy(lastExpr + opExpr + lastExpr) + Group( lastExpr + OneOrMore( opExpr + lastE…5071 … matchExpr = FollowedBy(lastExpr+lastExpr) + Group( lastExpr + OneOrMore(lastExpr) )5073 matchExpr = FollowedBy(lastExpr + opExpr1 + lastExpr + opExpr2 + lastExpr) + \5082 matchExpr = FollowedBy(opExpr.expr + thisExpr) + Group( opExpr + thisExpr )5085 …matchExpr = FollowedBy(lastExpr + opExpr + thisExpr) + Group( lastExpr + OneOrMore( opExpr + thisE…[all …]