public EclipseAST(CompilationUnitDeclaration ast){
  super(toFileName(ast),packageDeclaration(ast),new EclipseImportList(ast));
  this.compilationUnitDeclaration=ast;
  setTop(buildCompilationUnit(ast));
  this.completeParse=isComplete(ast);
  clearChanged();
}

public EclipseAST ( CompilationUnitDeclaration ast ) { super ( toFileName ( ast ) , packageDeclaration ( ast ) , new EclipseImportList ( ast ) ) ; this . compilationUnitDeclaration = ast ; setTop ( buildCompilationUnit ( ast ) ) ; this . completeParse = isComplete ( ast ) ; clearChanged ( ) ; }
creates a new eclipseast of the provided compilation unit .
