View Javadoc
1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   
5   /* Generated By:JJTree: Do not edit this line. ASTIfStatement.java Version 4.1 */
6   /* JavaCCOptions:MULTI=true,NODE_USES_PARSER=true,VISITOR=true,TRACK_TOKENS=true,NODE_PREFIX=AST,NODE_EXTENDS=,NODE_FACTORY= */
7   package net.sourceforge.pmd.lang.plsql.ast;
8   
9   public class ASTIfStatement extends net.sourceforge.pmd.lang.plsql.ast.AbstractPLSQLNode{
10    public ASTIfStatement(int id) {
11      super(id);
12    }
13  
14    public ASTIfStatement(PLSQLParser p, int id) {
15      super(p, id);
16    }
17  
18    private boolean hasElse;
19  
20    public void setHasElse() {
21        this.hasElse = true;
22    }
23  
24    public boolean hasElse() {
25        return this.hasElse;
26    }
27  
28  
29    /** Accept the visitor. **/
30    public Object jjtAccept(PLSQLParserVisitor visitor, Object data) {
31      return visitor.visit(this, data);
32    }
33  }
34  /* JavaCC - OriginalChecksum=593efca5606eb54375cc42fe11ab9f67 (do not edit this line) */