From 4530b717cb47036b57bcb0d8f10833e424abee93 Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Mon, 21 Sep 2020 01:44:38 +0900 Subject: Fix typo --- docs/dev/syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/dev/syntax.md b/docs/dev/syntax.md index 7e3ce9923..2eb08b7ca 100644 --- a/docs/dev/syntax.md +++ b/docs/dev/syntax.md @@ -72,7 +72,7 @@ Points of note: * Trivia and non-trivia tokens are not distinguished on the type level. * Each token carries its full text. * The original text can be recovered by concatenating the texts of all tokens in order. -* Accessing a child of particular type (for example, parameter list of a function) generally involves linear traversing the children, looking for a specific `kind`. +* Accessing a child of particular type (for example, parameter list of a function) generally involves linearly traversing the children, looking for a specific `kind`. * Modifying the tree is roughly `O(depth)`. We don't make special efforts to guarantee that the depth is not linear, but, in practice, syntax trees are branchy and shallow. * If mandatory (grammar wise) node is missing from the input, it's just missing from the tree. -- cgit v1.2.3