Class EplModuleParallelPatterns
java.lang.Object
org.eclipse.epsilon.common.module.AbstractModuleElement
org.eclipse.epsilon.eol.AbstractModule
org.eclipse.epsilon.eol.EolModule
org.eclipse.epsilon.erl.ErlModule
org.eclipse.epsilon.epl.AbstractEplModule
org.eclipse.epsilon.epl.EplModule
org.eclipse.epsilon.epl.concurrent.EplModuleParallel
org.eclipse.epsilon.epl.concurrent.EplModuleParallelPatterns
- All Implemented Interfaces:
IModule,ModuleElement,IEolModule,IEplModule,IErlModule
Executes each pattern independently.
- Since:
- 1.6
- Author:
- Sina Madani
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.epsilon.epl.AbstractEplModule
AbstractEplModule.LazyAdvancedRoleInstancesInitializer, AbstractEplModule.LazyBasicRoleInstancesInitializer -
Field Summary
Fields inherited from class org.eclipse.epsilon.epl.concurrent.EplModuleParallel
CONFIG_PROPERTIESFields inherited from class org.eclipse.epsilon.epl.AbstractEplModule
declaredPatterns, INFINITE, maxLoops, patternMatchModelName, patterns, repeatWhileMatchesFoundFields inherited from class org.eclipse.epsilon.erl.ErlModule
declaredPost, declaredPre, post, preFields inherited from class org.eclipse.epsilon.eol.EolModule
context, declaredModelDeclarations, declaredOperations, imports, main, modelDeclarations, operations, postOperationStatementsFields inherited from class org.eclipse.epsilon.eol.AbstractModule
parseProblems, parser, sourceFile, sourceUri -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<PatternMatch>matchPatterns(int level, PatternMatchModel model) Adds all matches returned byIEplModule#match()to the match model for all patterns at the specified level.Methods inherited from class org.eclipse.epsilon.epl.concurrent.EplModuleParallel
configure, getConfigurationProperties, getContext, getImportConfigurationMethods inherited from class org.eclipse.epsilon.epl.EplModule
createCombinationGenerator, getCandidates, initGenerator, wrapAdvancedRoleInstances, wrapBasicRoleInstancesMethods inherited from class org.eclipse.epsilon.epl.AbstractEplModule
adapt, build, createLexer, createModel, createParser, createPatternMatch, executeDoBlock, filterElements, flatMapRoleBindings, getDeclaredPatterns, getMainRule, getMatchResult, getMaxLoops, getPatterns, getRoleInstances, getVariables, isRepeatWhileMatches, isValidCombination, match, matchCombination, matchPatterns, negativeGuard, postProcessMatches, preMatch, processRules, putRoleBindingsIntoFrame, setMaxLoops, setRepeatWhileMatchesMethods inherited from class org.eclipse.epsilon.erl.ErlModule
calculateSuperRules, execute, execute, executeImpl, getDeclaredPost, getDeclaredPre, getPost, getPre, postExecution, prepareExecutionMethods inherited from class org.eclipse.epsilon.eol.EolModule
checkImports, clearCache, execute, getDeclaredModelDeclarations, getDeclaredOperations, getImportManager, getImports, getImportsByExtension, getMain, getModelDeclarations, getOperations, getParentModule, getPostOperationStatements, prepareContext, setContext, setImportManager, setMain, setParentModule, toStringMethods inherited from class org.eclipse.epsilon.eol.AbstractModule
assignAnnotations, assignComment, assignComments, createAst, extractComments, getParseProblems, getSourceFile, getSourceUri, invokeMainRule, parse, parseMethods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUriMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.epsilon.eol.IEolModule
execute, getDeclaredModelDeclarations, getDeclaredOperations, getImportManager, getImports, getMain, getModelDeclarations, getOperations, getParentModule, getParseProblems, getPostOperationStatements, parse, setContext, setImportManager, setParentModuleMethods inherited from interface org.eclipse.epsilon.epl.IEplModule
getMaximumLevelMethods inherited from interface org.eclipse.epsilon.erl.IErlModule
getDeclaredPost, getDeclaredPre, getPost, getPreMethods inherited from interface org.eclipse.epsilon.common.module.IModule
createAst, getSourceUri, parse, parse, parse, parse, parseMethods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
getChildren, getComments, getData, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
Constructor Details
-
EplModuleParallelPatterns
public EplModuleParallelPatterns() -
EplModuleParallelPatterns
-
-
Method Details
-
matchPatterns
protected Set<PatternMatch> matchPatterns(int level, PatternMatchModel model) throws EolRuntimeException Description copied from class:AbstractEplModuleAdds all matches returned byIEplModule#match()to the match model for all patterns at the specified level.- Overrides:
matchPatternsin classAbstractEplModule- Returns:
- The set of pattern matches added to the model.
- Throws:
EolRuntimeException
-