01 package net.sourceforge.pmd.lang.ecmascript.ast;
02
03 import org.mozilla.javascript.ast.Label;
04
05 public class ASTLabel extends AbstractEcmascriptNode<Label> {
06 public ASTLabel(Label label) {
07 super(label);
08 super.setImage(label.getName());
09 }
10
11 /**
12 * Accept the visitor.
13 */
14 public Object jjtAccept(EcmascriptParserVisitor visitor, Object data) {
15 return visitor.visit(this, data);
16 }
17 }
|