01 
02 /*
03  *  JavaDoq 1.0 - DOCUment JAVA In Source
04  *  Copyright (C) 2008-2011  J.J.Liu<jianjunliu@126.com> <http://www.javadoq.com>
05  *  
06  *  This program is free software: you can redistribute it and/or modify
07  *  it under the terms of the GNU Affero General Public License as published by
08  *  the Free Software Foundation, either version 3 of the License, or
09  *  (at your option) any later version.
10  *  
11  *  This program is distributed in the hope that it will be useful,
12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  *  GNU Affero General Public License for more details.
15  *  
16  *  You should have received a copy of the GNU Affero General Public License
17  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 package com.javadoq.jjtree;
21 
22 /**
23  * <p>JJTree node for compilation unit.</p>
24  * 
25  * @author <a href="mailto:jianjunliu@126.com">J.J.Liu (Jianjun Liu)</a> at <a href="http://www.javadoq.com" target="_blank">http://www.javadoq.com</a>
26  */
27 public class ASTCompilationUnit extends ASTNode
28 {
29     /**
30      * <p>The package name defined in the compilation unit.</p>
31      * @since 1.0
32      */
33     public String packageName;
34 
35     /**
36      * <p>Constructs a {@link ASTCompilationUnit} without a JJTreeParser.</p>
37      * @param i The Id.
38      * @since 1.0
39      */
40     public ASTCompilationUnit(int i) {
41         super(i);
42     }
43 
44     /**
45      * <p>Constructs a {@link ASTCompilationUnit} with a JJTreeParser.</p>
46      * @param p The JJTreeParser
47      * @param i The id.
48      * @since 1.0
49      */
50     public ASTCompilationUnit(JJTreeParser p, int i) {
51         super(p, i);
52     }
53 }