Skip to content
Commit c1142d64 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Make RKellyParser use the Associator.

Inside RKellyParser:

- Invoke RKelly.
- Adapt its output with RKellyAdapter
- Set the correct range for root node.
- Pass the adapated AST to Associator.

Change RKellyAdapter to:

- Create root "Program" node.
- Adapt the comment nodes inside this root node.
- Adjust the range end by one - so it matches the esprima way.
- Include line number to the adapter range.
parent 3fe0dc0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment