Class XPathRuleAnywhereElement


  • public class XPathRuleAnywhereElement
    extends XPathElement
    Either ID at start of path or ...//ID in middle of path.
    • Constructor Summary

      Constructors 
      Constructor Description
      XPathRuleAnywhereElement​(java.lang.String ruleName, int ruleIndex)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<ParseTree> evaluate​(ParseTree t)
      Given tree rooted at t return all nodes matched by this path element.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • ruleIndex

        protected int ruleIndex
    • Constructor Detail

      • XPathRuleAnywhereElement

        public XPathRuleAnywhereElement​(java.lang.String ruleName,
                                        int ruleIndex)