fr.umlv.tatoo.cc.common.main
Class AbstractTask<B extends GeneratorBean>
java.lang.Object
fr.umlv.tatoo.cc.common.main.AbstractTask<B>
- Type Parameters:
B
- type of the bean associated to this task
- Direct Known Subclasses:
- EBNFTask, LexerTask, ParserTask, ToolsTask
public abstract class AbstractTask<B extends GeneratorBean>
- extends Object
Main of the parser generator.
- Author:
- remi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTask
public AbstractTask(B bean,
AliasPrototype[] aliases)
setDestination
public void setDestination(File destination)
setPackagePrefix
public void setPackagePrefix(String packagePrefix)
setValidating
public void setValidating(boolean validating)
setLogLevel
public void setLogLevel(String level)
setDefaultExtensions
public void setDefaultExtensions(boolean registerDefaultExtensions)
createInputFiles
public AbstractTask.InputFiles createInputFiles()
registerInputFile
protected void registerInputFile(Unit unit,
File inputFile)
getDefaultUnit
protected abstract Unit getDefaultUnit()
createExtension
public AbstractTask.Extension createExtension()
createGenerated
public AbstractTask.Generated createGenerated()
createPackage
public abstract AbstractTask.Package createPackage()
bean
public B bean()