From c323789721d36dd9912fa20b9196f01d98581f0e Mon Sep 17 00:00:00 2001 From: Ilya Nikitin Date: Mon, 6 Jun 2022 08:32:36 +0300 Subject: [PATCH] `token.md`: Fix documentation of `Token.ancestors` (#10917) --- website/docs/api/token.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/api/token.md b/website/docs/api/token.md index 3c3d12d54..d43cd3ff1 100644 --- a/website/docs/api/token.md +++ b/website/docs/api/token.md @@ -221,7 +221,7 @@ dependency tree. ## Token.ancestors {#ancestors tag="property" model="parser"} -The rightmost token of this token's syntactic descendants. +A sequence of the token's syntactic ancestors (parents, grandparents, etc). > #### Example >