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

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

public class ASTBooleanLiteral extends AbstractJavaTypeNode {
    public ASTBooleanLiteral(int id) {
        super(id);
    }

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

    private boolean isTrue;

    public void setTrue() {
        isTrue = true;
    }

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


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