Class SwitchNode
java.lang.Object
me.topchetoeu.j2s.compilation.Node
me.topchetoeu.j2s.compilation.control.SwitchNode
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSwitchNode
(me.topchetoeu.j2s.common.Location loc, String label, Node value, int defaultI, SwitchNode.SwitchCase[] cases, Node[] body) -
Method Summary
Modifier and TypeMethodDescriptionvoid
compile
(CompileResult target, boolean pollute) void
compileFunctions
(CompileResult target) static ParseRes<SwitchNode>
void
resolve
(CompileResult target)
-
Field Details
-
value
-
cases
-
body
-
defaultI
public final int defaultI -
label
-
-
Constructor Details
-
SwitchNode
public SwitchNode(me.topchetoeu.j2s.common.Location loc, String label, Node value, int defaultI, SwitchNode.SwitchCase[] cases, Node[] body)
-
-
Method Details