Justin Ridgewell
30ee87159d
Split syntax and transform into two plugins
2017-06-07 03:22:51 -04:00
Justin Ridgewell
2a496890ff
Use a better nested syntax
...
This way, it quickly returns from the conditions. The first nil will
now exit, instead of checking every nil.
This also allows conditionalChaining inside a container to still
operate the container.
2017-06-07 03:22:51 -04:00
Justin Ridgewell
3fae121460
Implement Null Propagation Operator
2017-06-07 03:22:51 -04:00
Sven SAULEAU
750b03a22f
refactor: use WeakSet to keep track of transformed nodes
2017-06-07 03:22:51 -04:00
Sven SAULEAU
98487b5a15
fix: typo
2017-06-07 03:22:51 -04:00
Sven SAULEAU
a9d8040c0f
refactor: change undefined to void 0
2017-06-07 03:22:51 -04:00
Sven SAULEAU
3faca62a77
wip
2017-06-07 03:22:51 -04:00
Sven SAULEAU
cc6959e1fa
feat: WIP assignements
2017-06-07 03:22:51 -04:00
Sven SAULEAU
6bd3bf4d2f
feat: optional chaining with function call
2017-06-07 03:22:51 -04:00
Sven SAULEAU
ed15443dba
fix: use undefined instead of null
2017-06-07 03:22:51 -04:00
Sven SAULEAU
64ff5a080d
refactor: improved transformation logic
2017-06-07 03:22:51 -04:00
Sven SAULEAU
72259ca5d3
feat: cleanup
2017-06-07 03:22:51 -04:00
Sven SAULEAU
00f58b9bfa
feat: optional chaing
2017-06-07 03:22:51 -04:00