Fix a typo in the docs. (#457)
This commit is contained in:
parent
10c6144e83
commit
20bb99249b
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ If you use this group of methods, the syntax tree functions much like an abstrac
|
|||
|
||||
## Node Field Names
|
||||
|
||||
To make syntax nodes easier to analyze, many grammars assign unique *field names* to particular child nodes. The the next page [explains](./creating-parsers#using-fields) how to do this on your own grammars. If a syntax node has fields, you can access its children using their field name:
|
||||
To make syntax nodes easier to analyze, many grammars assign unique *field names* to particular child nodes. The next page [explains](./creating-parsers#using-fields) how to do this on your own grammars. If a syntax node has fields, you can access its children using their field name:
|
||||
|
||||
```c
|
||||
TSNode ts_node_child_by_field_name(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue