// Path: src/main/java/com/redhat/ceylon/compiler/js/DiagnosticListener.java
// public interface DiagnosticListener {
//     void error(File file, long line, long column, String message);
//     void warning(File file, long line, long column, String message);
// 
//     // FIXME: special API for default module? Else specify version for default module.
//     void moduleCompiled(String module, String version);
// }


import java.io.File;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.EnumSet;
import java.util.Iterator;
import java.util.List;
import com.redhat.ceylon.common.config.DefaultToolOptions;
import com.redhat.ceylon.common.log.Logger;
import com.redhat.ceylon.compiler.js.DiagnosticListener;
import com.redhat.ceylon.compiler.typechecker.analyzer.Warning;
package com.redhat.ceylon.compiler.js.util;



/** Represents all the options for compiling.
 * 
 * @author Enrique Zamudio
 */
public class Options {

    private File cwd;
    private List<String> repos = new ArrayList<String>();
    private String systemRepo;
    private String user;
    private String pass;
    private List<File> srcDirs = new ArrayList<File>();
    private List<File> resourceDirs = new ArrayList<File>();
    private String resourceRoot = DefaultToolOptions.getCompilerResourceRootName();
    private String outRepo = DefaultToolOptions.getCompilerOutputRepo();
    private boolean optimize = true;
    private boolean modulify = true;
    private boolean comment = true;
    private String verbose;
    private boolean profile;
    private boolean help;
    private boolean version;
    private boolean stdin;
    private boolean gensrc = true;
    private boolean offline;
    private boolean srcmap;
    private boolean minify;
    private String encoding = System.getProperty("file.encoding");
    private Logger logger;
    private Writer outWriter;
// Path: src/main/java/com/redhat/ceylon/compiler/js/DiagnosticListener.java
// public interface DiagnosticListener {
//     void error(File file, long line, long column, String message);
//     void warning(File file, long line, long column, String message);
// 
//     // FIXME: special API for default module? Else specify version for default module.
//     void moduleCompiled(String module, String version);
// }


// Path: src/main/java/com/redhat/ceylon/compiler/js/util/Options.java
import java.io.File;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.EnumSet;
import java.util.Iterator;
import java.util.List;
import com.redhat.ceylon.common.config.DefaultToolOptions;
import com.redhat.ceylon.common.log.Logger;
import com.redhat.ceylon.compiler.js.DiagnosticListener;
import com.redhat.ceylon.compiler.typechecker.analyzer.Warning;

package com.redhat.ceylon.compiler.js.util;



/** Represents all the options for compiling.
 * 
 * @author Enrique Zamudio
 */
public class Options {

    private File cwd;
    private List<String> repos = new ArrayList<String>();
    private String systemRepo;
    private String user;
    private String pass;
    private List<File> srcDirs = new ArrayList<File>();
    private List<File> resourceDirs = new ArrayList<File>();
    private String resourceRoot = DefaultToolOptions.getCompilerResourceRootName();
    private String outRepo = DefaultToolOptions.getCompilerOutputRepo();
    private boolean optimize = true;
    private boolean modulify = true;
    private boolean comment = true;
    private String verbose;
    private boolean profile;
    private boolean help;
    private boolean version;
    private boolean stdin;
    private boolean gensrc = true;
    private boolean offline;
    private boolean srcmap;
    private boolean minify;
    private String encoding = System.getProperty("file.encoding");
    private Logger logger;
    private Writer outWriter;
    private DiagnosticListener diagnosticListener;