Package org.eclipse.epsilon.eml.dom
Class MergeRule
- All Implemented Interfaces:
ModuleElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected StatementBlockprotected ExecutableBlock<Boolean>protected Parameterprotected ParameterFields inherited from class org.eclipse.epsilon.erl.dom.ExtensibleNamedRule
allSuperRules, isAbstract, isGreedy, isLazy, isParallel, ofKindCache, ofTypeCache, superRules, superRulesIdentifiersFields inherited from class org.eclipse.epsilon.erl.dom.NamedRule
nameExpressionFields inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
annotationBlock -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanappliesTo(Match match, IEmlContext context) voidvoidexecuteSuperRulesAndBody(Match match, Collection<Object> targets, IEmlContext context) getSuperRulesAst(AST cst) booleanbooleanisPrimary(IEmlContext context) Collection<?>merge(Match match, Collection<Object> targets, IEmlContext context) Collection<?>merge(Match match, IEmlContext context) toString()Methods inherited from class org.eclipse.epsilon.erl.dom.ExtensibleNamedRule
calculateSuperRules, calculateSuperRules, getAllInstances, getAllOfKind, getAllOfType, getAllSuperRules, getRuleByName, getSuperRules, isAbstract, isGreedy, isLazy, isParallelMethods inherited from class org.eclipse.epsilon.erl.dom.NamedRule
equals, getName, getNameAst, getNameExpression, hashCodeMethods inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
accept, getAnnotation, getAnnotationBlock, getAnnotations, getAnnotationsValues, getBooleanAnnotationValue, getBooleanAnnotationValue, getBooleanAnnotationValue, getBooleanAnnotationValue, hasAnnotation, setAnnotationBlockMethods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
Field Details
-
guardBlock
-
bodyBlock
-
leftParameter
-
rightParameter
-
targetParameters
-
auto
protected boolean auto
-
-
Constructor Details
-
MergeRule
public MergeRule()
-
-
Method Details
-
build
- Specified by:
buildin interfaceModuleElement- Overrides:
buildin classExtensibleNamedRule
-
isPrimary
- Throws:
EolRuntimeException
-
appliesTo
- Throws:
EolRuntimeException
-
merge
public Collection<?> merge(Match match, Collection<Object> targets, IEmlContext context) throws EolRuntimeException - Throws:
EolRuntimeException
-
hasMerged
-
merge
- Throws:
EolRuntimeException
-
toString
-
executeSuperRulesAndBody
public void executeSuperRulesAndBody(Match match, Collection<Object> targets, IEmlContext context) throws EolRuntimeException - Throws:
EolRuntimeException
-
getSuperRulesAst
- Specified by:
getSuperRulesAstin classExtensibleNamedRule
-