tree-sitter-toml/src
Ika 42afd6a0eb
feat: unflatten structure and rename nodes (#4)
Since the AST should reflect its logical structure as close as possible, I revert the changes from #2. This PR also renames nodes with more appropriate names.

BREAKING CHANGE:

- rename `file` with `document`.
- rename `table_array` with `table_array_element`.
- unflatten `table` and `table_array_element`, i.e., `pair`s are now their children instead of siblings.
2019-08-31 22:16:56 +08:00
..
tree_sitter feat: initial implementation 2019-08-18 18:30:34 +08:00
binding.cc feat: initial implementation 2019-08-18 18:30:34 +08:00
grammar.json feat: unflatten structure and rename nodes (#4) 2019-08-31 22:16:56 +08:00
node-types.json feat: unflatten structure and rename nodes (#4) 2019-08-31 22:16:56 +08:00
parser.c feat: unflatten structure and rename nodes (#4) 2019-08-31 22:16:56 +08:00
scanner.c feat: unflatten structure and rename nodes (#4) 2019-08-31 22:16:56 +08:00