mirror of
https://github.com/decatur/j2js-compiler.git
synced 2025-01-18 12:25:42 +01:00
21 lines
355 B
Java
21 lines
355 B
Java
|
package com.j2js.dom;
|
||
|
|
||
|
abstract public class LabeledJump extends Jump {
|
||
|
|
||
|
String label;
|
||
|
|
||
|
public LabeledJump(String newLabel) {
|
||
|
super();
|
||
|
label = newLabel;
|
||
|
}
|
||
|
|
||
|
public LabeledJump(Block block) {
|
||
|
super();
|
||
|
label = block.setLabeled();
|
||
|
}
|
||
|
|
||
|
public String getLabel() {
|
||
|
return label;
|
||
|
}
|
||
|
}
|