Interface IModule
-
- All Superinterfaces:
ModuleElement
- All Known Subinterfaces:
IEclModule,IEglModule,IEglModule,IEgxModule,IEmgModule,IEmlModule,IEolModule,IEplModule,IErlModule,IErlModuleAtomBatches<D>,IErlModuleParallelAnnotation,IEtlModule,IEUnitModule,IEvlModule,IEwlModule,IFlockModule,IHutnModule,ProfilableIEolModule
- All Known Implementing Classes:
AbstractEplModule,AbstractModule,EclModule,EclModuleParallel,EclModuleParallelAnnotation,EglModule,EglTemplateFactoryModuleAdapter,EgxModule,EgxModuleParallel,EgxModuleParallelAnnotation,EgxModuleParallelGenerationRuleAtoms,EmgModule,EmlModule,EolModule,EolModuleParallel,EplModule,EplModuleParallel,EplModuleParallelPatterns,ErlModule,ErlModuleParallel,EtlModule,EtlModuleParallel,EUnitModule,EvlModule,EvlModuleParallel,EvlModuleParallelAnnotation,EvlModuleParallelAtoms,EvlModuleParallelConstraintAtoms,EvlModuleParallelContextAtoms,EvlModuleParallelElements,EwlModule,FlockModule,HutnModule,LazyEgxModule,PinsetModule
public interface IModule extends ModuleElement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.util.List<ModuleMarker>compile()ModuleElementcreateAst(AST cst, ModuleElement parentAst)java.util.List<ParseProblem>getParseProblems()java.net.URIgetSourceUri()default booleanparse(java.io.File file)default booleanparse(java.lang.String code)booleanparse(java.lang.String code, java.io.File file)booleanparse(java.net.URI uri)default booleanparse(java.net.URL url)default booleanparse(java.nio.file.Path path)-
Methods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
build, getChildren, getComments, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
-
-
-
Method Detail
-
parse
default boolean parse(java.net.URL url) throws java.lang.Exception- Parameters:
url-- Returns:
- Throws:
java.lang.Exception- Since:
- 1.6
-
parse
default boolean parse(java.nio.file.Path path) throws java.lang.Exception- Parameters:
path-- Returns:
- Throws:
java.lang.Exception- Since:
- 1.6
-
parse
default boolean parse(java.io.File file) throws java.lang.Exception- Throws:
java.lang.Exception
-
parse
default boolean parse(java.lang.String code) throws java.lang.Exception- Throws:
java.lang.Exception
-
parse
boolean parse(java.lang.String code, java.io.File file) throws java.lang.Exception- Throws:
java.lang.Exception
-
parse
boolean parse(java.net.URI uri) throws java.lang.Exception- Throws:
java.lang.Exception
-
compile
java.util.List<ModuleMarker> compile()
-
getSourceUri
java.net.URI getSourceUri()
-
getParseProblems
java.util.List<ParseProblem> getParseProblems()
-
createAst
ModuleElement createAst(AST cst, ModuleElement parentAst)
-
-