Package com.regnosys.rosetta.typing
Class RosettaTypingAuxiliary
java.lang.Object
org.eclipse.xsemantics.runtime.XsemanticsRuntimeSystem
com.regnosys.rosetta.typing.RosettaTypingAuxiliary
- Direct Known Subclasses:
RosettaTyping
public class RosettaTypingAuxiliary
extends org.eclipse.xsemantics.runtime.XsemanticsRuntimeSystem
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.eclipse.xsemantics.runtime.XsemanticsRuntimeSystem
INDEX_OF_AUX_PARAMETERS, INDEX_OF_RULE_PARAMETERS, stringRepresentation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallAttributes(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data d) allAttributesImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data d) allAttributesInternal(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data d) protected voidallAttributesThrowException(String _error, String _issue, Exception _ex, Data d, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) allEnumValues(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaEnumeration d) protected Iterable<RosettaEnumValue>allEnumValuesImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaEnumeration e) protected Iterable<RosettaEnumValue>allEnumValuesInternal(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaEnumeration d) protected voidallEnumValuesThrowException(String _error, String _issue, Exception _ex, RosettaEnumeration d, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) Iterable<? extends RosettaFeature>allFeatures(RType t, org.eclipse.emf.ecore.resource.ResourceSet resourceSet) Iterable<? extends RosettaFeature>allFeatures(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t, org.eclipse.emf.ecore.resource.ResourceSet resourceSet) protected Iterable<? extends RosettaFeature>allFeaturesImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t, org.eclipse.emf.ecore.resource.ResourceSet resourceSet) protected Iterable<? extends RosettaFeature>allFeaturesInternal(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t, org.eclipse.emf.ecore.resource.ResourceSet resourceSet) protected voidallFeaturesThrowException(String _error, String _issue, Exception _ex, RType t, org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) ancestorEnums(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaEnumeration t) protected List<RosettaEnumeration>ancestorEnumsImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaEnumeration t) protected List<RosettaEnumeration>ancestorEnumsInternal(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaEnumeration t) protected voidancestorEnumsThrowException(String _error, String _issue, Exception _ex, RosettaEnumeration t, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) ancestorsImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data t) ancestorsInternal(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data t) protected voidancestorsThrowException(String _error, String _issue, Exception _ex, Data t, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) applyAuxFunAllAttributes(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data d) protected Iterable<RosettaEnumValue>applyAuxFunAllEnumValues(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaEnumeration e) protected Iterable<? extends RosettaFeature>applyAuxFunAllFeatures(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t, org.eclipse.emf.ecore.resource.ResourceSet resourceSet) protected List<RosettaEnumeration>applyAuxFunAncestorEnums(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaEnumeration t) applyAuxFunAncestors(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data t) protected RTypeapplyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RBasicType t1, RBasicType t2) protected RTypeapplyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RBasicType t1, RAliasType t2) protected RTypeapplyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RBasicType t1, RType t2) protected RTypeapplyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RNumberType t1, RNumberType t2) protected RTypeapplyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RStringType t1, RStringType t2) protected RTypeapplyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RBasicType t2) protected RTypeapplyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RAliasType t2) protected RTypeapplyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RType t2) protected RTypeapplyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RDataType t1, RDataType t2) protected RTypeapplyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, REnumType t1, REnumType t2) protected RTypeapplyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RBasicType t2) protected RTypeapplyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RAliasType t2) protected RTypeapplyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RType t2) protected RTypeapplyAuxFunKeepTypeAliasIfPossible(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RAliasType t2, BiFunction<RType, RType, RType> combineUnderlyingTypes) protected RTypeapplyAuxFunKeepTypeAliasIfPossible(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RType t2, BiFunction<RType, RType, RType> combineUnderlyingTypes) protected RTypeapplyAuxFunKeepTypeAliasIfPossible(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RAliasType t2, BiFunction<RType, RType, RType> combineUnderlyingTypes) protected RTypeapplyAuxFunKeepTypeAliasIfPossible(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RType t2, BiFunction<RType, RType, RType> combineUnderlyingTypes) protected RListTypeapplyAuxFunListJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RListType t1, RListType t2) protected BooleanapplyAuxFunMayBeEmpty(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data d) protected BooleanapplyAuxFunOverlap(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaCardinality c1, RosettaCardinality c2) protected RosettaCardinalityapplyAuxFunUnion(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaCardinality c1, RosettaCardinality c2) getUtil()voidinit()protected RTypejoinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RBasicType t1, RBasicType t2) protected RTypejoinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RBasicType t1, RAliasType t2) protected RTypejoinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RBasicType t1, RType t2) protected RTypejoinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RNumberType t1, RNumberType t2) protected RTypejoinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RStringType t1, RStringType t2) protected RTypejoinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RBasicType t2) protected RTypejoinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RAliasType t2) protected RTypejoinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RType t2) protected RTypeprotected RTypeprotected RTypejoinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RBasicType t2) protected RTypejoinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RAliasType t2) protected RTypeprotected RTypejoinInternal(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RType t2) protected voidjoinThrowException(String _error, String _issue, Exception _ex, RType t1, RType t2, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) keepTypeAliasIfPossible(RType t1, RType t2, BiFunction<RType, RType, RType> combineUnderlyingTypes) keepTypeAliasIfPossible(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RType t2, BiFunction<RType, RType, RType> combineUnderlyingTypes) protected RTypekeepTypeAliasIfPossibleImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RAliasType t2, BiFunction<RType, RType, RType> combineUnderlyingTypes) protected RTypekeepTypeAliasIfPossibleImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RType t2, BiFunction<RType, RType, RType> combineUnderlyingTypes) protected RTypekeepTypeAliasIfPossibleImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RAliasType t2, BiFunction<RType, RType, RType> combineUnderlyingTypes) protected RTypekeepTypeAliasIfPossibleImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RType t2, BiFunction<RType, RType, RType> combineUnderlyingTypes) protected RTypekeepTypeAliasIfPossibleInternal(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RType t2, BiFunction<RType, RType, RType> combineUnderlyingTypes) protected voidkeepTypeAliasIfPossibleThrowException(String _error, String _issue, Exception _ex, RType t1, RType t2, BiFunction<RType, RType, RType> combineUnderlyingTypes, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) protected RListTypelistJoinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RListType t1, RListType t2) protected RListTypelistJoinInternal(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RListType t1, RListType t2) protected voidlistJoinThrowException(String _error, String _issue, Exception _ex, RListType t1, RListType t2, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) mayBeEmpty(Data d) mayBeEmpty(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data d) protected BooleanmayBeEmptyImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data d) protected BooleanmayBeEmptyInternal(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data d) protected voidmayBeEmptyThrowException(String _error, String _issue, Exception _ex, Data d, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) overlap(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaCardinality c1, RosettaCardinality c2) protected BooleanoverlapImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaCardinality c1, RosettaCardinality c2) protected BooleanoverlapInternal(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaCardinality c1, RosettaCardinality c2) protected voidoverlapThrowException(String _error, String _issue, Exception _ex, RosettaCardinality c1, RosettaCardinality c2, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) voidsetBuiltinTypes(RBuiltinTypeService builtinTypes) voidsetExprHelper(ExpressionHelper exprHelper) voidsetImplicitVarUtil(ImplicitVariableUtil implicitVarUtil) voidsetInterpreter(RosettaInterpreter interpreter) voidsetSystemSolver(RosettaSimpleSystemSolver systemSolver) voidsetTypeFactory(TypeFactory typeFactory) voidsetUtil(TypeValidationUtil util) union(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaCardinality c1, RosettaCardinality c2) protected RosettaCardinalityunionImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaCardinality c1, RosettaCardinality c2) protected RosettaCardinalityunionInternal(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaCardinality c1, RosettaCardinality c2) protected voidunionThrowException(String _error, String _issue, Exception _ex, RosettaCardinality c1, RosettaCardinality c2, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) Methods inherited from class org.eclipse.xsemantics.runtime.XsemanticsRuntimeSystem
addAsSubtrace, addToList, addToTrace, auxFunName, buildPolymorphicDispatcher, buildPolymorphicDispatcher1, buildPolymorphicDispatcher2, buildPolymorphicDispatcher3, checkAssignableTo, checkNotNull, checkParamsNotNull, clone, createRuleFailedException, emptyEnvironment, env, environmentAccess, environmentComposition, environmentEntry, extractRuleFailedException, failed, getAll, getAllNodesInRelation, getAllNodesInRelation, getCache, getEObject, getFromCache, getList, getPredicate, isResultAssignableTo, newRuleFailedException, newRuleFailedException, newRuleFailedException, newRuleFailedException, newRuleFailedException, newTrace, noSuchMethodException, noSuchMethodException, resultForFailure, resultForFailure2, resultForFailure3, ruleName, sneakyThrowRuleFailedException, sneakyThrowRuleFailedException, stringRep, stringRepForEnv, stringRepForParams, stringRepForParams, throwForExplicitFail, throwForExplicitFail, throwRuleFailedException, trimIfNotNull
-
Field Details
-
ANCESTORS
- See Also:
-
ANCESTORENUMS
- See Also:
-
OVERLAP
- See Also:
-
JOIN
- See Also:
-
UNION
- See Also:
-
LISTJOIN
- See Also:
-
ALLATTRIBUTES
- See Also:
-
ALLENUMVALUES
- See Also:
-
MAYBEEMPTY
- See Also:
-
KEEPTYPEALIASIFPOSSIBLE
- See Also:
-
ALLFEATURES
- See Also:
-
-
Constructor Details
-
RosettaTypingAuxiliary
public RosettaTypingAuxiliary()
-
-
Method Details
-
init
public void init() -
getTypeFactory
-
setTypeFactory
-
getUtil
-
setUtil
-
getExprHelper
-
setExprHelper
-
getImplicitVarUtil
-
setImplicitVarUtil
-
getBuiltinTypes
-
setBuiltinTypes
-
getInterpreter
-
setInterpreter
-
getSystemSolver
-
setSystemSolver
-
ancestors
- Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
ancestors
public List<Data> ancestors(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data t) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
ancestorEnums
public List<RosettaEnumeration> ancestorEnums(RosettaEnumeration t) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
ancestorEnums
public List<RosettaEnumeration> ancestorEnums(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaEnumeration t) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
overlap
public Boolean overlap(RosettaCardinality c1, RosettaCardinality c2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
overlap
public Boolean overlap(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaCardinality c1, RosettaCardinality c2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
join
- Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
join
public RType join(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
union
public RosettaCardinality union(RosettaCardinality c1, RosettaCardinality c2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
union
public RosettaCardinality union(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaCardinality c1, RosettaCardinality c2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
listJoin
public RListType listJoin(RListType t1, RListType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
listJoin
public RListType listJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RListType t1, RListType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
allAttributes
public Iterable<Attribute> allAttributes(Data d) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
allAttributes
public Iterable<Attribute> allAttributes(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data d) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
allEnumValues
public Iterable<RosettaEnumValue> allEnumValues(RosettaEnumeration d) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
allEnumValues
public Iterable<RosettaEnumValue> allEnumValues(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaEnumeration d) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
mayBeEmpty
- Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
mayBeEmpty
public Boolean mayBeEmpty(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data d) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
keepTypeAliasIfPossible
public RType keepTypeAliasIfPossible(RType t1, RType t2, BiFunction<RType, RType, throws org.eclipse.xsemantics.runtime.RuleFailedExceptionRType> combineUnderlyingTypes) - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
keepTypeAliasIfPossible
public RType keepTypeAliasIfPossible(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RType t2, BiFunction<RType, RType, throws org.eclipse.xsemantics.runtime.RuleFailedExceptionRType> combineUnderlyingTypes) - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
allFeatures
public Iterable<? extends RosettaFeature> allFeatures(RType t, org.eclipse.emf.ecore.resource.ResourceSet resourceSet) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
allFeatures
public Iterable<? extends RosettaFeature> allFeatures(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t, org.eclipse.emf.ecore.resource.ResourceSet resourceSet) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
ancestorsInternal
-
ancestorsThrowException
protected void ancestorsThrowException(String _error, String _issue, Exception _ex, Data t, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
ancestorEnumsInternal
protected List<RosettaEnumeration> ancestorEnumsInternal(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaEnumeration t) -
ancestorEnumsThrowException
protected void ancestorEnumsThrowException(String _error, String _issue, Exception _ex, RosettaEnumeration t, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
overlapInternal
protected Boolean overlapInternal(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaCardinality c1, RosettaCardinality c2) -
overlapThrowException
protected void overlapThrowException(String _error, String _issue, Exception _ex, RosettaCardinality c1, RosettaCardinality c2, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
joinInternal
-
joinThrowException
protected void joinThrowException(String _error, String _issue, Exception _ex, RType t1, RType t2, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
unionInternal
protected RosettaCardinality unionInternal(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaCardinality c1, RosettaCardinality c2) -
unionThrowException
protected void unionThrowException(String _error, String _issue, Exception _ex, RosettaCardinality c1, RosettaCardinality c2, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
listJoinInternal
-
listJoinThrowException
protected void listJoinThrowException(String _error, String _issue, Exception _ex, RListType t1, RListType t2, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
allAttributesInternal
-
allAttributesThrowException
protected void allAttributesThrowException(String _error, String _issue, Exception _ex, Data d, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
allEnumValuesInternal
protected Iterable<RosettaEnumValue> allEnumValuesInternal(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaEnumeration d) -
allEnumValuesThrowException
protected void allEnumValuesThrowException(String _error, String _issue, Exception _ex, RosettaEnumeration d, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
mayBeEmptyInternal
-
mayBeEmptyThrowException
protected void mayBeEmptyThrowException(String _error, String _issue, Exception _ex, Data d, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
keepTypeAliasIfPossibleInternal
-
keepTypeAliasIfPossibleThrowException
protected void keepTypeAliasIfPossibleThrowException(String _error, String _issue, Exception _ex, RType t1, RType t2, BiFunction<RType, RType, throws org.eclipse.xsemantics.runtime.RuleFailedExceptionRType> combineUnderlyingTypes, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
allFeaturesInternal
protected Iterable<? extends RosettaFeature> allFeaturesInternal(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t, org.eclipse.emf.ecore.resource.ResourceSet resourceSet) -
allFeaturesThrowException
protected void allFeaturesThrowException(String _error, String _issue, Exception _ex, RType t, org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.xsemantics.runtime.ErrorInformation[] _errorInformations) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
ancestorsImpl
protected List<Data> ancestorsImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data t) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunAncestors
protected List<Data> applyAuxFunAncestors(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data t) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
ancestorEnumsImpl
protected List<RosettaEnumeration> ancestorEnumsImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaEnumeration t) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunAncestorEnums
protected List<RosettaEnumeration> applyAuxFunAncestorEnums(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaEnumeration t) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
overlapImpl
protected Boolean overlapImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaCardinality c1, RosettaCardinality c2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunOverlap
protected Boolean applyAuxFunOverlap(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaCardinality c1, RosettaCardinality c2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
joinImpl
protected RType joinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RDataType t1, RDataType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunJoin
protected RType applyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RDataType t1, RDataType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
joinImpl
protected RType joinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, REnumType t1, REnumType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunJoin
protected RType applyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, REnumType t1, REnumType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
joinImpl
protected RType joinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RNumberType t1, RNumberType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunJoin
protected RType applyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RNumberType t1, RNumberType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
joinImpl
protected RType joinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RStringType t1, RStringType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunJoin
protected RType applyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RStringType t1, RStringType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
joinImpl
protected RType joinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RBasicType t1, RBasicType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunJoin
protected RType applyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RBasicType t1, RBasicType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
joinImpl
protected RType joinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RBasicType t1, RType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunJoin
protected RType applyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RBasicType t1, RType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
joinImpl
protected RType joinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RBasicType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunJoin
protected RType applyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RBasicType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
joinImpl
protected RType joinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RAliasType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunJoin
protected RType applyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RAliasType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
joinImpl
protected RType joinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunJoin
protected RType applyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
joinImpl
protected RType joinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RAliasType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunJoin
protected RType applyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RAliasType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
joinImpl
protected RType joinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RBasicType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunJoin
protected RType applyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RBasicType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
joinImpl
protected RType joinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RBasicType t1, RAliasType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunJoin
protected RType applyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RBasicType t1, RAliasType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
joinImpl
protected RType joinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunJoin
protected RType applyAuxFunJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
unionImpl
protected RosettaCardinality unionImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaCardinality c1, RosettaCardinality c2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunUnion
protected RosettaCardinality applyAuxFunUnion(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaCardinality c1, RosettaCardinality c2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
listJoinImpl
protected RListType listJoinImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RListType t1, RListType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunListJoin
protected RListType applyAuxFunListJoin(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RListType t1, RListType t2) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
allAttributesImpl
protected Iterable<Attribute> allAttributesImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data d) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunAllAttributes
protected Iterable<Attribute> applyAuxFunAllAttributes(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data d) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
allEnumValuesImpl
protected Iterable<RosettaEnumValue> allEnumValuesImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaEnumeration e) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunAllEnumValues
protected Iterable<RosettaEnumValue> applyAuxFunAllEnumValues(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RosettaEnumeration e) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
mayBeEmptyImpl
protected Boolean mayBeEmptyImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data d) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunMayBeEmpty
protected Boolean applyAuxFunMayBeEmpty(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, Data d) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
keepTypeAliasIfPossibleImpl
protected RType keepTypeAliasIfPossibleImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RAliasType t2, BiFunction<RType, RType, throws org.eclipse.xsemantics.runtime.RuleFailedExceptionRType> combineUnderlyingTypes) - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunKeepTypeAliasIfPossible
protected RType applyAuxFunKeepTypeAliasIfPossible(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RAliasType t2, BiFunction<RType, RType, throws org.eclipse.xsemantics.runtime.RuleFailedExceptionRType> combineUnderlyingTypes) - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
keepTypeAliasIfPossibleImpl
protected RType keepTypeAliasIfPossibleImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RType t2, BiFunction<RType, RType, throws org.eclipse.xsemantics.runtime.RuleFailedExceptionRType> combineUnderlyingTypes) - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunKeepTypeAliasIfPossible
protected RType applyAuxFunKeepTypeAliasIfPossible(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RAliasType t1, RType t2, BiFunction<RType, RType, throws org.eclipse.xsemantics.runtime.RuleFailedExceptionRType> combineUnderlyingTypes) - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
keepTypeAliasIfPossibleImpl
protected RType keepTypeAliasIfPossibleImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RAliasType t2, BiFunction<RType, RType, throws org.eclipse.xsemantics.runtime.RuleFailedExceptionRType> combineUnderlyingTypes) - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunKeepTypeAliasIfPossible
protected RType applyAuxFunKeepTypeAliasIfPossible(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RAliasType t2, BiFunction<RType, RType, throws org.eclipse.xsemantics.runtime.RuleFailedExceptionRType> combineUnderlyingTypes) - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
keepTypeAliasIfPossibleImpl
protected RType keepTypeAliasIfPossibleImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RType t2, BiFunction<RType, RType, throws org.eclipse.xsemantics.runtime.RuleFailedExceptionRType> combineUnderlyingTypes) - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunKeepTypeAliasIfPossible
protected RType applyAuxFunKeepTypeAliasIfPossible(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t1, RType t2, BiFunction<RType, RType, throws org.eclipse.xsemantics.runtime.RuleFailedExceptionRType> combineUnderlyingTypes) - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
allFeaturesImpl
protected Iterable<? extends RosettaFeature> allFeaturesImpl(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t, org.eclipse.emf.ecore.resource.ResourceSet resourceSet) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-
applyAuxFunAllFeatures
protected Iterable<? extends RosettaFeature> applyAuxFunAllFeatures(org.eclipse.xsemantics.runtime.RuleApplicationTrace _trace_, RType t, org.eclipse.emf.ecore.resource.ResourceSet resourceSet) throws org.eclipse.xsemantics.runtime.RuleFailedException - Throws:
org.eclipse.xsemantics.runtime.RuleFailedException
-