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