Interface for a reference to a syntax node in a tree.
Match this node against a list of parent names (innermost last).