@Override
	public Collection<ParseTree> evaluate(ParseTree t) {
		return Trees.findAllRuleNodes(t, ruleIndex);
	}
Either {@code ID} at start of path or {@code ...//ID} in middle of path.
runtime/Java/src/org/antlr/v4/runtime/tree/xpath/XPathRuleAnywhereElement.java