Lines Matching refs:ancestor
134 """Walk upwards looking for ancestor with this token type."""
139 """Walk upwards and get first ancestor with this token type."""
890 """Walk upwards looking for ancestor with this token type."""
894 """Walk upwards and get first ancestor with this token type."""
2279 ancestor = cls._getAncestor(adaptor, tokenNames, t, goal)
2280 if ancestor is None:
2282 t = ancestor
2531 # if no children, look for next sibling of tree or ancestor