fix: add for-of to statement list
This commit is contained in:
parent
163dfe7b6e
commit
1b87c2f5a6
@ -17,6 +17,7 @@ import me.topchetoeu.jscript.compilation.control.DeleteNode;
|
|||||||
import me.topchetoeu.jscript.compilation.control.DoWhileNode;
|
import me.topchetoeu.jscript.compilation.control.DoWhileNode;
|
||||||
import me.topchetoeu.jscript.compilation.control.ForInNode;
|
import me.topchetoeu.jscript.compilation.control.ForInNode;
|
||||||
import me.topchetoeu.jscript.compilation.control.ForNode;
|
import me.topchetoeu.jscript.compilation.control.ForNode;
|
||||||
|
import me.topchetoeu.jscript.compilation.control.ForOfNode;
|
||||||
import me.topchetoeu.jscript.compilation.control.IfNode;
|
import me.topchetoeu.jscript.compilation.control.IfNode;
|
||||||
import me.topchetoeu.jscript.compilation.control.ReturnNode;
|
import me.topchetoeu.jscript.compilation.control.ReturnNode;
|
||||||
import me.topchetoeu.jscript.compilation.control.SwitchNode;
|
import me.topchetoeu.jscript.compilation.control.SwitchNode;
|
||||||
@ -187,7 +188,7 @@ public class JavaScript {
|
|||||||
SwitchNode::parse,
|
SwitchNode::parse,
|
||||||
ForNode::parse,
|
ForNode::parse,
|
||||||
ForInNode::parse,
|
ForInNode::parse,
|
||||||
// ForOfNode::parse,
|
ForOfNode::parse,
|
||||||
DoWhileNode::parse,
|
DoWhileNode::parse,
|
||||||
TryNode::parse,
|
TryNode::parse,
|
||||||
CompoundNode::parse,
|
CompoundNode::parse,
|
||||||
|
Loading…
Reference in New Issue
Block a user