public class CompilerOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<File> |
files |
protected GeneratorSpec |
gen |
protected HelpSpec |
help |
protected List<File> |
includes |
protected File |
out |
protected Syntax |
syntax |
| Constructor and Description |
|---|
CompilerOptions() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(File files) |
void |
addInclude(File includes) |
net.morimekta.console.args.ArgumentParser |
getArgumentParser(String prog,
String version,
String description) |
FileManager |
getFileManager() |
Generator |
getGenerator(TypeLoader loader) |
List<File> |
getIncludes() |
List<File> |
getInputFiles() |
DocumentParser |
getParser() |
boolean |
isHelp() |
void |
setGenerator(GeneratorSpec gen) |
void |
setHelp(HelpSpec help) |
void |
setOut(File out) |
void |
setSyntax(Syntax syntax) |
protected File out
protected Syntax syntax
protected HelpSpec help
protected GeneratorSpec gen
public net.morimekta.console.args.ArgumentParser getArgumentParser(String prog, String version, String description)
public void setOut(File out)
public void addInclude(File includes)
public void setSyntax(Syntax syntax)
public void setHelp(HelpSpec help)
public void setGenerator(GeneratorSpec gen)
public void addFile(File files)
public boolean isHelp()
public List<File> getIncludes() throws net.morimekta.console.args.ArgumentException
net.morimekta.console.args.ArgumentExceptionpublic List<File> getInputFiles() throws net.morimekta.console.args.ArgumentException
net.morimekta.console.args.ArgumentExceptionpublic FileManager getFileManager() throws net.morimekta.console.args.ArgumentException
net.morimekta.console.args.ArgumentExceptionpublic DocumentParser getParser() throws net.morimekta.console.args.ArgumentException
net.morimekta.console.args.ArgumentExceptionpublic Generator getGenerator(TypeLoader loader) throws net.morimekta.console.args.ArgumentException, GeneratorException
net.morimekta.console.args.ArgumentExceptionGeneratorExceptionCopyright © 2015–2016 morimekta.net. All rights reserved.