1 package net.sourceforge.pmd.lang.ecmascript.ast;
2
3 import org.mozilla.javascript.ast.Comment;
4
5 public class ASTComment extends AbstractEcmascriptNode<Comment> {
6 public ASTComment(Comment comment) {
7 super(comment);
8 }
9
10 /**
11 * Accept the visitor.
12 */
13 @Override
14 public Object jjtAccept(EcmascriptParserVisitor visitor, Object data) {
15 return visitor.visit(this, data);
16 }
17
18 public String getValue() {
19 return node.getValue();
20 }
21 }