From 1da972a5d44d223a4a5d390ead89db75bedbce44 Mon Sep 17 00:00:00 2001 From: Poornachandra Date: Fri, 16 Aug 2024 10:31:43 +0530 Subject: [PATCH] Fix link in docs --- doc/api-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api-reference.md b/doc/api-reference.md index 3c1ed237..6793ca42 100644 --- a/doc/api-reference.md +++ b/doc/api-reference.md @@ -187,7 +187,7 @@ The matching semantic action for a particular node is chosen as follows: - On a terminal node (e.g., a node produced by the parsing expression `"hello"`), use the semantic action named `_terminal`. - On an iteration node (e.g., a node produced by the parsing expression `letter+`), use the semantic action named `_iter`. -The `_iter`, `_nonterminal`, and `_terminal` actions are sometimes called _special actions_. `_iter` and `_nonterminal` take a variable number of arguments, which are typically captured into an array using [rest parameter syntax](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters), e.g. `_iter(...children) { ... }`. The `_terminal` action takes no arguments. +The `_iter`, `_nonterminal`, and `_terminal` actions are sometimes called _special actions_. `_iter` and `_nonterminal` take a variable number of arguments, which are typically captured into an array using [rest parameter syntax](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters) , e.g. `_iter(...children) { ... }`. The `_terminal` action takes no arguments.