/**
 * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
 */
/* Generated By:JJTree: Do not edit this line. ASTBlock.java */

package net.sourceforge.pmd.lang.java.ast;

public class ASTBlock extends AbstractJavaNode {

    private boolean containsComment;

    public ASTBlock(int id) {
        super(id);
    }

    public ASTBlock(JavaParser p, int id) {
        super(p, id);
    }

    /**
     * Accept the visitor. *
     */
    @Override
    public Object jjtAccept(JavaParserVisitor visitor, Object data) {
        return visitor.visit(this, data);
    }

    public boolean containsComment() {
        return this.containsComment;
    }

    public void setContainsComment() {
        this.containsComment = true;
    }

}
