This website requires JavaScript.
Explore
Help
Sign In
swc-project
/
swc
Watch
1
Star
1
Fork
0
You've already forked swc
mirror of
https://github.com/swc-project/swc.git
synced
2024-12-19 03:31:45 +03:00
Code
Issues
Actions
5
Packages
Projects
Releases
Wiki
Activity
7b56b0bc74
swc
/
ecmascript
/
codegen
/
tests
/
references
/
2ab9ca1f6a30c203.js
23 lines
224 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Ecmascript codegen (#40) Comment is not fully supported yet
2018-10-25 07:17:05 +03:00
if
(
a
)
{
{
{
{
}
}
}
if
(
b
)
{
More transcompilers (#49) transforms: - implement String.length simplifier - implement more arithmetic operations - new Date() is side-effect free - implement left.rhs * right - optimize `SeqExpr` while creation - implement es3 - member expression literals pass - implement es2015 - classes pass codegen: - handle infinity correctly - disable comments for testing (it's buggy) ast: - add methods about reserved words
2018-11-14 13:40:46 +03:00
c
(
)
;
Ecmascript codegen (#40) Comment is not fully supported yet
2018-10-25 07:17:05 +03:00
}
{
{
}
}
}
else
{
d
(
)
;
}
if
(
a
)
{
More transcompilers (#49) transforms: - implement String.length simplifier - implement more arithmetic operations - new Date() is side-effect free - implement left.rhs * right - optimize `SeqExpr` while creation - implement es3 - member expression literals pass - implement es2015 - classes pass codegen: - handle infinity correctly - disable comments for testing (it's buggy) ast: - add methods about reserved words
2018-11-14 13:40:46 +03:00
for
(
var
e
=
1
;
e
<
2
;
++
e
)
if
(
b
)
c
(
)
;
Ecmascript codegen (#40) Comment is not fully supported yet
2018-10-25 07:17:05 +03:00
}
else
{
d
(
)
;
}
Reference in New Issue
Copy Permalink