JavaDoq 1.0 API

com.javadoq.jjtree
Class ASTCompilationUnit

java.lang.Object
  extended by com.javadoq.jjtree.SimpleNode
      extended by com.javadoq.jjtree.ASTNode
          extended by com.javadoq.jjtree.ASTCompilationUnit
All Implemented Interfaces:
Node

public class ASTCompilationUnit
extends ASTNode

JJTree node for compilation unit.

Author:
J.J.Liu (Jianjun Liu) at http://www.javadoq.com

Field Summary
 java.lang.String packageName
          The package name defined in the compilation unit.
 
Fields inherited from class com.javadoq.jjtree.ASTNode
firstToken, lastToken
 
Fields inherited from class com.javadoq.jjtree.SimpleNode
children, id, parent, parser, value
 
Constructor Summary
ASTCompilationUnit(int i)
          Constructs a ASTCompilationUnit without a JJTreeParser.
ASTCompilationUnit(JJTreeParser p, int i)
          Constructs a ASTCompilationUnit with a JJTreeParser.
 
Method Summary
 
Methods inherited from class com.javadoq.jjtree.SimpleNode
childrenAccept, dump, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

packageName

public java.lang.String packageName

The package name defined in the compilation unit.

Since:
1.0
Constructor Detail

ASTCompilationUnit

public ASTCompilationUnit(int i)

Constructs a ASTCompilationUnit without a JJTreeParser.

Parameters:
i - The Id.
Since:
1.0

ASTCompilationUnit

public ASTCompilationUnit(JJTreeParser p,
                          int i)

Constructs a ASTCompilationUnit with a JJTreeParser.

Parameters:
p - The JJTreeParser
i - The id.
Since:
1.0

JavaDoq 1.0 API

Copyright © 2008-2011 J.J.Liu (www.javadoq.com). All Rights Reserved.