Package org.eclipse.epsilon.pinset
Class PinsetModule
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.pinset.PinsetModule
- All Implemented Interfaces:
IModule,ModuleElement,IEolModule,IErlModule
PinsetModule.
- Since:
- 2.1
- Author:
- Alfonso de la Vega
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<DatasetRule>protected Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected Stringprotected booleanprotected Stringprotected booleanstatic final StringFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadapt(AST cst, ModuleElement parentAst) voidCreates an object that implements debugging (i.e.org.antlr.runtime.LexercreateLexer(org.antlr.runtime.ANTLRInputStream inputStream) createParser(org.antlr.runtime.TokenStream tokenStream) getDatasetRule(String ruleName) getFileName(DatasetRule rule) getFilePath(DatasetRule rule) booleanisSilent()voidpersistDatasets(boolean persistDatasets) Set whether the datasets must be persisted into output files or notvoidprotected ObjectMain rule processing logic.voidsetExtension(String extension) voidsetOutputFolder(String attribute) voidvoidsetSilent(boolean silent) Methods inherited from class org.eclipse.epsilon.erl.ErlModule
calculateSuperRules, execute, execute, executeImpl, getContext, getDeclaredPost, getDeclaredPre, getPost, getPre, postExecution, prepareExecutionMethods inherited from class org.eclipse.epsilon.eol.EolModule
clearCache, execute, getDeclaredModelDeclarations, getDeclaredOperations, getImportManager, getImports, getMain, getModelDeclarations, getOperations, getParentModule, getPostOperationStatements, loadImports, 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
configure, execute, getConfigurationProperties, getDeclaredModelDeclarations, getDeclaredOperations, getImportManager, getImports, getMain, getModelDeclarations, getOperations, getParentModule, getParseProblems, getPostOperationStatements, parse, setContext, setImportManager, setParentModuleMethods 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
-
Field Details
-
SILENT_ANNOTATION
- See Also:
-
NORMALIZE_ANNOTATION
- See Also:
-
FILL_NULLS_ANNOTATION
- See Also:
-
FILL_NULLS_MEAN
- See Also:
-
FILL_NULLS_MODE
- See Also:
-
datasetRules
-
outputFolder
-
extension
-
prefix
-
silent
protected boolean silent -
persistDatasets
protected boolean persistDatasets
-
-
Constructor Details
-
PinsetModule
public PinsetModule()
-
-
Method Details
-
adapt
-
build
- Specified by:
buildin interfaceModuleElement- Overrides:
buildin classErlModule
-
createLexer
public org.antlr.runtime.Lexer createLexer(org.antlr.runtime.ANTLRInputStream inputStream) - Overrides:
createLexerin classErlModule
-
createParser
- Overrides:
createParserin classErlModule
-
getMainRule
- Overrides:
getMainRulein classErlModule
-
getImportConfiguration
- Overrides:
getImportConfigurationin classErlModule
-
processRules
Description copied from class:ErlModuleMain rule processing logic. Non-abstract for compatibility.- Overrides:
processRulesin classErlModule- Returns:
- The result of executing this module.
- Throws:
EolRuntimeException
-
preExecution
- Throws:
EolRuntimeException
-
getDatasetRules
-
getDatasetRule
-
setOutputFolder
-
getOutputFolder
-
getFilePath
-
getFileName
-
getPrefix
-
setPrefix
-
getExtension
-
setExtension
-
isSilent
public boolean isSilent() -
setSilent
public void setSilent(boolean silent) -
persistDatasets
public void persistDatasets(boolean persistDatasets) Set whether the datasets must be persisted into output files or not -
createDebugger
Description copied from interface:IEolModuleCreates an object that implements debugging (i.e. breakpoints and stepping) for this module.- Specified by:
createDebuggerin interfaceIEolModule- Overrides:
createDebuggerin classEolModule
-