Commit e238cc7
Transformation Pipeline Refactor (#705)
* Transformation Pipeline Refactor
* Add missing export
* Fix formatting
* Fix memory leak
* Rename `setIfMissing` to `getOrUpdate`
* Change `SymbolId` brand style
* Extract constructed object visitor to a variable
* Add -expression to n-ary transformer names
* Handle `@noResolve` in `export *` and external module references
* Remove disabled tshelper tests
* Resolve some TODOs
* Rename decorators/directives to annotations
* Remove 'custom' from annotation functions
* Simplify few error creators
* Refactor standard transformers to a single plugin
* Refactor typeof tests
* Refactor class accessor checks
* Import Lua AST as `lua` instead of `tstl`
* Fix formatting
* Move plugin out of transformation pipeline
* Allow to specify custom printer through plugins
* Make printer plugin stateless
* Fix 'printer' property name in error message
* Make standard transformers have lowest priority
* Add few comments to public plugin API
* Simplify some code
* Use canonical casing for annotations
* Move `OmittedExpression` handling to context visitors
* Move TODO visitors to `typescript` file
* Class `creation` -> `setup`
* Merge `annotations` utils files
* Some minor refactors
* Rename prototype transform functions
* Update `printer` comment
* `variable` -> `variable-declaration`
* Rename `transformation/transformers` to `transformation/visitors`
* Remove unnecessary import1 parent 757302b commit e238cc7
File tree
112 files changed
+8527
-8070
lines changed- src
- lualib
- transformation
- builtins
- context
- utils
- typescript
- visitors
- binary-expression
- class
- members
- loops
- modules
- test
- translation
- __snapshots__
- transformation
- unit
- builtins
- classes
- decorators
- functions
- validation
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
112 files changed
+8527
-8070
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
616 | 616 | | |
617 | 617 | | |
618 | 618 | | |
619 | | - | |
| 619 | + | |
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
| |||
This file was deleted.
0 commit comments