public interface TdlModuleGeneratorInterface
| Modifier and Type | Method and Description |
|---|---|
void |
displayHelp()
Called if the help flag is found anywhere on the commandline.
|
void |
generate(TdlModule module,
ConfigLocation location,
TdlModuleDefinitionManager definitions)
Derived classes should overload this method to perform artifact generation.
|
void |
generate(TdlModuleDefinitionManager definitions)
Derived classes should overload this method to perform artifact generation when no target module
has been specified on the commandline.
|
void |
objectResolutionComplete(TdlModule module,
ConfigLocation location,
TdlModuleDefinitionManager definitions)
Called after object resolution has completely successfully.
|
void |
parsingComplete(TdlModule module,
ConfigLocation location,
TdlModuleDefinitionManager definitions)
Called prior to the object resolution phase so that derived classes can perform intermediate
processing such as generation of internal types.
|
void parsingComplete(TdlModule module, ConfigLocation location, TdlModuleDefinitionManager definitions) throws ResultException
module - the module that was just parsedlocation - the module's locationdefinitions - the current set of definitionsResultException - if there are problemsvoid objectResolutionComplete(TdlModule module, ConfigLocation location, TdlModuleDefinitionManager definitions) throws ResultException
module - the module that was just parsedlocation - the module's locationdefinitions - the current set of definitionsResultException - if there are problemsvoid generate(TdlModule module, ConfigLocation location, TdlModuleDefinitionManager definitions) throws ResultException, IOException
module - the module for which generation is being performedlocation - where the module was founddefinitions - the current set of definitionsResultException - if there are problemsIOException - if IO problemsvoid generate(TdlModuleDefinitionManager definitions) throws ResultException, IOException
definitions - the current set of definitionsResultException - is there are problemsIOException - if IO problemsvoid displayHelp()
Copyright © 2023. All rights reserved.