@ Override public < T extends SyntacticItem > T getAncestor ( Class < T > kind ) { return parent . getAncestor ( this , kind ) ; }
Get the first syntactic item of a given kind which refers to this item either indirectly or directly .