View Javadoc

    1   package net.sourceforge.pmd.lang.ecmascript.ast;
    2
    3   import org.mozilla.javascript.ast.Label;
    4
    5   public class ASTLabel extends AbstractEcmascriptNode<Label> {
    6       public ASTLabel(Label label) {
    7   	super(label);
    8   	super.setImage(label.getName());
    9       }
    10
    11      /**
    12       * Accept the visitor.
    13       */
    14      public Object jjtAccept(EcmascriptParserVisitor visitor, Object data) {
    15  	return visitor.visit(this, data);
    16      }
    17  }