Commit f87416af authored by Reiner Jung's avatar Reiner Jung

Initial generator contribution finished. Because of some strange

problems with the MAMBA jar, I had to incorporate the MAMBA meta-model
smm.ecore into the project. This duplication must be fixed in future,
but for now it is a working solution.
parent c0a74701
......@@ -113,22 +113,22 @@ public class AbstractMeasureDefinitionLanguageProposalProvider extends Terminals
public void completeCountingMeasure_Scope(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureExpression_ResultType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
public void completeComplexMeasure_ResultType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureExpression_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
public void completeComplexMeasure_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureExpression_ElementType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
public void completeComplexMeasure_ElementType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureExpression_Parameter(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
public void completeComplexMeasure_Parameter(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureExpression_Expression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
public void completeComplexMeasure_Expression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureExpression_Scope(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
public void completeComplexMeasure_Scope(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeCollectiveMeasure_ResultType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
......@@ -167,6 +167,51 @@ public class AbstractMeasureDefinitionLanguageProposalProvider extends Terminals
public void completeModelType_Classifier(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureExpression_Operator(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void completeMeasureExpression_Right(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureAndExpression_Operator(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void completeMeasureAndExpression_Right(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureRelationalExpression_Operator(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureRelationalExpression_Right(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureAdditiveExpression_Operator(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureAdditiveExpression_Right(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureMultiplicativeExpression_Operator(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureMultiplicativeExpression_Right(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureUnaryOperation_Operator(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureUnaryOperation_Operand(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureReference_Reference(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureReference_ParameterAssignments(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMeasureParenthesizedExpression_Expression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeExpression_Operator(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
......@@ -203,7 +248,7 @@ public class AbstractMeasureDefinitionLanguageProposalProvider extends Terminals
public void completeUnaryOperation_Operand(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeIfExpression_If(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
public void completeIfExpression_Condition(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeIfExpression_Then(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
......@@ -230,23 +275,17 @@ public class AbstractMeasureDefinitionLanguageProposalProvider extends Terminals
public void completeCollection_Collection(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeParenthesizedExpression_Expression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeFunctionCall_Function(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeFunctionCall_ParameterAssignments(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeFunctionName_ABS(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void completeFunctionName_FLOOR(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void completeFunctionName_CEIL(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void completeFunctionName_SIZE(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
public void completeValueExpression_Base(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeValueExpression_Child(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
......@@ -254,7 +293,7 @@ public class AbstractMeasureDefinitionLanguageProposalProvider extends Terminals
public void completeReference_Reference(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
}
public void completeReference_Selection(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
public void completeReference_Selections(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeMethodCall_MethodName(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
......@@ -275,6 +314,9 @@ public class AbstractMeasureDefinitionLanguageProposalProvider extends Terminals
public void completeBooleanLiteral_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeStringLiteral_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void complete_Model(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
......@@ -321,7 +363,7 @@ public class AbstractMeasureDefinitionLanguageProposalProvider extends Terminals
public void complete_CountingMeasure(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_MeasureExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
public void complete_ComplexMeasure(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_CollectiveMeasure(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
......@@ -339,6 +381,33 @@ public class AbstractMeasureDefinitionLanguageProposalProvider extends Terminals
public void complete_ModelType(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_MeasureExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_MeasureAndExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_MeasureRelationalExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_MeasureAdditiveExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_MeasureMultiplicativeExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_MeasureUnaryOperation(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_MeasurePrimaryExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_MeasureReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_MeasureParenthesizedExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_Expression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
......@@ -423,6 +492,9 @@ public class AbstractMeasureDefinitionLanguageProposalProvider extends Terminals
public void complete_NullLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_StringLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_BOOLEAN(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
......
......@@ -42,19 +42,19 @@ public class MeasureDefinitionLanguageParser extends AbstractContentAssistParser
put(grammarAccess.getUnitCombinationAccess().getAlternatives(), "rule__UnitCombination__Alternatives");
put(grammarAccess.getTypeReferenceAccess().getAlternatives(), "rule__TypeReference__Alternatives");
put(grammarAccess.getMeasureAccess().getAlternatives(), "rule__Measure__Alternatives");
put(grammarAccess.getMeasurePrimaryExpressionAccess().getAlternatives(), "rule__MeasurePrimaryExpression__Alternatives");
put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives");
put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives");
put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives");
put(grammarAccess.getUnaryOperationAccess().getAlternatives(), "rule__UnaryOperation__Alternatives");
put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives");
put(grammarAccess.getPrimaryExpressionAccess().getAlternatives(), "rule__PrimaryExpression__Alternatives");
put(grammarAccess.getCollectionAccess().getAlternatives(), "rule__Collection__Alternatives");
put(grammarAccess.getFunctionNameAccess().getAlternatives(), "rule__FunctionName__Alternatives");
put(grammarAccess.getValueElementAccess().getAlternatives(), "rule__ValueElement__Alternatives");
put(grammarAccess.getLiteralAccess().getAlternatives(), "rule__Literal__Alternatives");
put(grammarAccess.getPrefixAccess().getAlternatives(), "rule__Prefix__Alternatives");
put(grammarAccess.getKindAccess().getAlternatives(), "rule__Kind__Alternatives");
put(grammarAccess.getAccumulatorAccess().getAlternatives(), "rule__Accumulator__Alternatives");
put(grammarAccess.getFunctionNameAccess().getAlternatives(), "rule__FunctionName__Alternatives");
put(grammarAccess.getMethodNameAccess().getAlternatives(), "rule__MethodName__Alternatives");
put(grammarAccess.getModelAccess().getGroup(), "rule__Model__Group__0");
put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0");
......@@ -72,15 +72,35 @@ public class MeasureDefinitionLanguageParser extends AbstractContentAssistParser
put(grammarAccess.getCountingMeasureAccess().getGroup(), "rule__CountingMeasure__Group__0");
put(grammarAccess.getCountingMeasureAccess().getGroup_5(), "rule__CountingMeasure__Group_5__0");
put(grammarAccess.getCountingMeasureAccess().getGroup_5_2(), "rule__CountingMeasure__Group_5_2__0");
put(grammarAccess.getMeasureExpressionAccess().getGroup(), "rule__MeasureExpression__Group__0");
put(grammarAccess.getMeasureExpressionAccess().getGroup_5(), "rule__MeasureExpression__Group_5__0");
put(grammarAccess.getMeasureExpressionAccess().getGroup_5_2(), "rule__MeasureExpression__Group_5_2__0");
put(grammarAccess.getComplexMeasureAccess().getGroup(), "rule__ComplexMeasure__Group__0");
put(grammarAccess.getComplexMeasureAccess().getGroup_5(), "rule__ComplexMeasure__Group_5__0");
put(grammarAccess.getComplexMeasureAccess().getGroup_5_2(), "rule__ComplexMeasure__Group_5_2__0");
put(grammarAccess.getCollectiveMeasureAccess().getGroup(), "rule__CollectiveMeasure__Group__0");
put(grammarAccess.getCollectiveMeasureAccess().getGroup_5(), "rule__CollectiveMeasure__Group_5__0");
put(grammarAccess.getCollectiveMeasureAccess().getGroup_5_2(), "rule__CollectiveMeasure__Group_5_2__0");
put(grammarAccess.getParameterDeclarationAccess().getGroup(), "rule__ParameterDeclaration__Group__0");
put(grammarAccess.getScopeAccess().getGroup(), "rule__Scope__Group__0");
put(grammarAccess.getModelTypeAccess().getGroup(), "rule__ModelType__Group__0");
put(grammarAccess.getMeasureExpressionAccess().getGroup(), "rule__MeasureExpression__Group__0");
put(grammarAccess.getMeasureExpressionAccess().getGroup_1(), "rule__MeasureExpression__Group_1__0");
put(grammarAccess.getMeasureExpressionAccess().getGroup_1_0(), "rule__MeasureExpression__Group_1_0__0");
put(grammarAccess.getMeasureAndExpressionAccess().getGroup(), "rule__MeasureAndExpression__Group__0");
put(grammarAccess.getMeasureAndExpressionAccess().getGroup_1(), "rule__MeasureAndExpression__Group_1__0");
put(grammarAccess.getMeasureAndExpressionAccess().getGroup_1_0(), "rule__MeasureAndExpression__Group_1_0__0");
put(grammarAccess.getMeasureRelationalExpressionAccess().getGroup(), "rule__MeasureRelationalExpression__Group__0");
put(grammarAccess.getMeasureRelationalExpressionAccess().getGroup_1(), "rule__MeasureRelationalExpression__Group_1__0");
put(grammarAccess.getMeasureRelationalExpressionAccess().getGroup_1_0(), "rule__MeasureRelationalExpression__Group_1_0__0");
put(grammarAccess.getMeasureAdditiveExpressionAccess().getGroup(), "rule__MeasureAdditiveExpression__Group__0");
put(grammarAccess.getMeasureAdditiveExpressionAccess().getGroup_1(), "rule__MeasureAdditiveExpression__Group_1__0");
put(grammarAccess.getMeasureAdditiveExpressionAccess().getGroup_1_0(), "rule__MeasureAdditiveExpression__Group_1_0__0");
put(grammarAccess.getMeasureMultiplicativeExpressionAccess().getGroup(), "rule__MeasureMultiplicativeExpression__Group__0");
put(grammarAccess.getMeasureMultiplicativeExpressionAccess().getGroup_1(), "rule__MeasureMultiplicativeExpression__Group_1__0");
put(grammarAccess.getMeasureMultiplicativeExpressionAccess().getGroup_1_0(), "rule__MeasureMultiplicativeExpression__Group_1_0__0");
put(grammarAccess.getMeasureUnaryOperationAccess().getGroup(), "rule__MeasureUnaryOperation__Group__0");
put(grammarAccess.getMeasureReferenceAccess().getGroup(), "rule__MeasureReference__Group__0");
put(grammarAccess.getMeasureReferenceAccess().getGroup_2(), "rule__MeasureReference__Group_2__0");
put(grammarAccess.getMeasureReferenceAccess().getGroup_2_1(), "rule__MeasureReference__Group_2_1__0");
put(grammarAccess.getMeasureParenthesizedExpressionAccess().getGroup(), "rule__MeasureParenthesizedExpression__Group__0");
put(grammarAccess.getExpressionAccess().getGroup(), "rule__Expression__Group__0");
put(grammarAccess.getExpressionAccess().getGroup_1(), "rule__Expression__Group_1__0");
put(grammarAccess.getExpressionAccess().getGroup_1_0(), "rule__Expression__Group_1_0__0");
......@@ -98,19 +118,17 @@ public class MeasureDefinitionLanguageParser extends AbstractContentAssistParser
put(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1_0(), "rule__MultiplicativeExpression__Group_1_0__0");
put(grammarAccess.getUnaryOperationAccess().getGroup_0(), "rule__UnaryOperation__Group_0__0");
put(grammarAccess.getIfExpressionAccess().getGroup(), "rule__IfExpression__Group__0");
put(grammarAccess.getIfExpressionAccess().getGroup_6(), "rule__IfExpression__Group_6__0");
put(grammarAccess.getForAllExpressionAccess().getGroup(), "rule__ForAllExpression__Group__0");
put(grammarAccess.getForAllExpressionAccess().getGroup_4(), "rule__ForAllExpression__Group_4__0");
put(grammarAccess.getExistsExpressionAccess().getGroup(), "rule__ExistsExpression__Group__0");
put(grammarAccess.getExistsExpressionAccess().getGroup_4(), "rule__ExistsExpression__Group_4__0");
put(grammarAccess.getCollectionAccess().getGroup_1(), "rule__Collection__Group_1__0");
put(grammarAccess.getCollectionAccess().getGroup(), "rule__Collection__Group__0");
put(grammarAccess.getParenthesizedExpressionAccess().getGroup(), "rule__ParenthesizedExpression__Group__0");
put(grammarAccess.getFunctionCallAccess().getGroup(), "rule__FunctionCall__Group__0");
put(grammarAccess.getFunctionCallAccess().getGroup_2(), "rule__FunctionCall__Group_2__0");
put(grammarAccess.getFunctionCallAccess().getGroup_2_1(), "rule__FunctionCall__Group_2_1__0");
put(grammarAccess.getValueExpressionAccess().getGroup(), "rule__ValueExpression__Group__0");
put(grammarAccess.getValueExpressionAccess().getGroup_1(), "rule__ValueExpression__Group_1__0");
put(grammarAccess.getValueExpressionAccess().getGroup_1_0(), "rule__ValueExpression__Group_1_0__0");
put(grammarAccess.getReferenceAccess().getGroup(), "rule__Reference__Group__0");
put(grammarAccess.getReferenceAccess().getGroup_1(), "rule__Reference__Group_1__0");
put(grammarAccess.getMethodCallAccess().getGroup(), "rule__MethodCall__Group__0");
......@@ -155,13 +173,13 @@ public class MeasureDefinitionLanguageParser extends AbstractContentAssistParser
put(grammarAccess.getCountingMeasureAccess().getParameterAssignment_5_2_1(), "rule__CountingMeasure__ParameterAssignment_5_2_1");
put(grammarAccess.getCountingMeasureAccess().getSelectionAssignment_7(), "rule__CountingMeasure__SelectionAssignment_7");
put(grammarAccess.getCountingMeasureAccess().getScopeAssignment_8(), "rule__CountingMeasure__ScopeAssignment_8");
put(grammarAccess.getMeasureExpressionAccess().getResultTypeAssignment_1(), "rule__MeasureExpression__ResultTypeAssignment_1");
put(grammarAccess.getMeasureExpressionAccess().getNameAssignment_2(), "rule__MeasureExpression__NameAssignment_2");
put(grammarAccess.getMeasureExpressionAccess().getElementTypeAssignment_4(), "rule__MeasureExpression__ElementTypeAssignment_4");
put(grammarAccess.getMeasureExpressionAccess().getParameterAssignment_5_1(), "rule__MeasureExpression__ParameterAssignment_5_1");
put(grammarAccess.getMeasureExpressionAccess().getParameterAssignment_5_2_1(), "rule__MeasureExpression__ParameterAssignment_5_2_1");
put(grammarAccess.getMeasureExpressionAccess().getExpressionAssignment_6(), "rule__MeasureExpression__ExpressionAssignment_6");
put(grammarAccess.getMeasureExpressionAccess().getScopeAssignment_7(), "rule__MeasureExpression__ScopeAssignment_7");
put(grammarAccess.getComplexMeasureAccess().getResultTypeAssignment_1(), "rule__ComplexMeasure__ResultTypeAssignment_1");
put(grammarAccess.getComplexMeasureAccess().getNameAssignment_2(), "rule__ComplexMeasure__NameAssignment_2");
put(grammarAccess.getComplexMeasureAccess().getElementTypeAssignment_4(), "rule__ComplexMeasure__ElementTypeAssignment_4");
put(grammarAccess.getComplexMeasureAccess().getParameterAssignment_5_1(), "rule__ComplexMeasure__ParameterAssignment_5_1");
put(grammarAccess.getComplexMeasureAccess().getParameterAssignment_5_2_1(), "rule__ComplexMeasure__ParameterAssignment_5_2_1");
put(grammarAccess.getComplexMeasureAccess().getExpressionAssignment_6(), "rule__ComplexMeasure__ExpressionAssignment_6");
put(grammarAccess.getComplexMeasureAccess().getScopeAssignment_7(), "rule__ComplexMeasure__ScopeAssignment_7");
put(grammarAccess.getCollectiveMeasureAccess().getResultTypeAssignment_1(), "rule__CollectiveMeasure__ResultTypeAssignment_1");
put(grammarAccess.getCollectiveMeasureAccess().getNameAssignment_2(), "rule__CollectiveMeasure__NameAssignment_2");
put(grammarAccess.getCollectiveMeasureAccess().getElementTypeAssignment_4(), "rule__CollectiveMeasure__ElementTypeAssignment_4");
......@@ -170,11 +188,27 @@ public class MeasureDefinitionLanguageParser extends AbstractContentAssistParser
put(grammarAccess.getCollectiveMeasureAccess().getAccumulatorAssignment_6(), "rule__CollectiveMeasure__AccumulatorAssignment_6");
put(grammarAccess.getCollectiveMeasureAccess().getReferencedMeasureAssignment_7(), "rule__CollectiveMeasure__ReferencedMeasureAssignment_7");
put(grammarAccess.getCollectiveMeasureAccess().getScopeAssignment_8(), "rule__CollectiveMeasure__ScopeAssignment_8");
put(grammarAccess.getParameterDeclarationAccess().getTypeAssignment_0(), "rule__ParameterDeclaration__TypeAssignment_0");
put(grammarAccess.getParameterDeclarationAccess().getNameAssignment_1(), "rule__ParameterDeclaration__NameAssignment_1");
put(grammarAccess.getParameterDeclarationAccess().getTypeAssignment_1(), "rule__ParameterDeclaration__TypeAssignment_1");
put(grammarAccess.getParameterDeclarationAccess().getNameAssignment_2(), "rule__ParameterDeclaration__NameAssignment_2");
put(grammarAccess.getScopeAccess().getScopesAssignment_3(), "rule__Scope__ScopesAssignment_3");
put(grammarAccess.getModelTypeAccess().getMetamodelAssignment_0(), "rule__ModelType__MetamodelAssignment_0");
put(grammarAccess.getModelTypeAccess().getClassifierAssignment_2(), "rule__ModelType__ClassifierAssignment_2");
put(grammarAccess.getMeasureExpressionAccess().getOperatorAssignment_1_0_1(), "rule__MeasureExpression__OperatorAssignment_1_0_1");
put(grammarAccess.getMeasureExpressionAccess().getRightAssignment_1_1(), "rule__MeasureExpression__RightAssignment_1_1");
put(grammarAccess.getMeasureAndExpressionAccess().getOperatorAssignment_1_0_1(), "rule__MeasureAndExpression__OperatorAssignment_1_0_1");
put(grammarAccess.getMeasureAndExpressionAccess().getRightAssignment_1_1(), "rule__MeasureAndExpression__RightAssignment_1_1");
put(grammarAccess.getMeasureRelationalExpressionAccess().getOperatorAssignment_1_0_1(), "rule__MeasureRelationalExpression__OperatorAssignment_1_0_1");
put(grammarAccess.getMeasureRelationalExpressionAccess().getRightAssignment_1_1(), "rule__MeasureRelationalExpression__RightAssignment_1_1");
put(grammarAccess.getMeasureAdditiveExpressionAccess().getOperatorAssignment_1_0_1(), "rule__MeasureAdditiveExpression__OperatorAssignment_1_0_1");
put(grammarAccess.getMeasureAdditiveExpressionAccess().getRightAssignment_1_1(), "rule__MeasureAdditiveExpression__RightAssignment_1_1");
put(grammarAccess.getMeasureMultiplicativeExpressionAccess().getOperatorAssignment_1_0_1(), "rule__MeasureMultiplicativeExpression__OperatorAssignment_1_0_1");
put(grammarAccess.getMeasureMultiplicativeExpressionAccess().getRightAssignment_1_1(), "rule__MeasureMultiplicativeExpression__RightAssignment_1_1");
put(grammarAccess.getMeasureUnaryOperationAccess().getOperatorAssignment_1(), "rule__MeasureUnaryOperation__OperatorAssignment_1");
put(grammarAccess.getMeasureUnaryOperationAccess().getOperandAssignment_2(), "rule__MeasureUnaryOperation__OperandAssignment_2");
put(grammarAccess.getMeasureReferenceAccess().getReferenceAssignment_0(), "rule__MeasureReference__ReferenceAssignment_0");
put(grammarAccess.getMeasureReferenceAccess().getParameterAssignmentsAssignment_2_0(), "rule__MeasureReference__ParameterAssignmentsAssignment_2_0");
put(grammarAccess.getMeasureReferenceAccess().getParameterAssignmentsAssignment_2_1_1(), "rule__MeasureReference__ParameterAssignmentsAssignment_2_1_1");
put(grammarAccess.getMeasureParenthesizedExpressionAccess().getExpressionAssignment_1(), "rule__MeasureParenthesizedExpression__ExpressionAssignment_1");
put(grammarAccess.getExpressionAccess().getOperatorAssignment_1_0_1(), "rule__Expression__OperatorAssignment_1_0_1");
put(grammarAccess.getExpressionAccess().getRightAssignment_1_1(), "rule__Expression__RightAssignment_1_1");
put(grammarAccess.getAndExpressionAccess().getOperatorAssignment_1_0_1(), "rule__AndExpression__OperatorAssignment_1_0_1");
......@@ -187,25 +221,23 @@ public class MeasureDefinitionLanguageParser extends AbstractContentAssistParser
put(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_1(), "rule__MultiplicativeExpression__RightAssignment_1_1");
put(grammarAccess.getUnaryOperationAccess().getOperatorAssignment_0_1(), "rule__UnaryOperation__OperatorAssignment_0_1");
put(grammarAccess.getUnaryOperationAccess().getOperandAssignment_0_2(), "rule__UnaryOperation__OperandAssignment_0_2");
put(grammarAccess.getIfExpressionAccess().getIfAssignment_3(), "rule__IfExpression__IfAssignment_3");
put(grammarAccess.getIfExpressionAccess().getConditionAssignment_3(), "rule__IfExpression__ConditionAssignment_3");
put(grammarAccess.getIfExpressionAccess().getThenAssignment_5(), "rule__IfExpression__ThenAssignment_5");
put(grammarAccess.getIfExpressionAccess().getElseAssignment_6_1(), "rule__IfExpression__ElseAssignment_6_1");
put(grammarAccess.getIfExpressionAccess().getElseAssignment_7(), "rule__IfExpression__ElseAssignment_7");
put(grammarAccess.getForAllExpressionAccess().getCollectionAssignment_3(), "rule__ForAllExpression__CollectionAssignment_3");
put(grammarAccess.getForAllExpressionAccess().getEvaluateAssignment_4_1(), "rule__ForAllExpression__EvaluateAssignment_4_1");
put(grammarAccess.getExistsExpressionAccess().getCollectionAssignment_3(), "rule__ExistsExpression__CollectionAssignment_3");
put(grammarAccess.getExistsExpressionAccess().getEvaluateAssignment_4_1(), "rule__ExistsExpression__EvaluateAssignment_4_1");
put(grammarAccess.getCollectionAccess().getNameAssignment_1_1(), "rule__Collection__NameAssignment_1_1");
put(grammarAccess.getCollectionAccess().getCollectionAssignment_1_3(), "rule__Collection__CollectionAssignment_1_3");
put(grammarAccess.getCollectionAccess().getNameAssignment_0(), "rule__Collection__NameAssignment_0");
put(grammarAccess.getCollectionAccess().getCollectionAssignment_2(), "rule__Collection__CollectionAssignment_2");
put(grammarAccess.getParenthesizedExpressionAccess().getExpressionAssignment_1(), "rule__ParenthesizedExpression__ExpressionAssignment_1");
put(grammarAccess.getFunctionCallAccess().getFunctionAssignment_0(), "rule__FunctionCall__FunctionAssignment_0");
put(grammarAccess.getFunctionCallAccess().getParameterAssignmentsAssignment_2_0(), "rule__FunctionCall__ParameterAssignmentsAssignment_2_0");
put(grammarAccess.getFunctionCallAccess().getParameterAssignmentsAssignment_2_1_1(), "rule__FunctionCall__ParameterAssignmentsAssignment_2_1_1");
put(grammarAccess.getFunctionNameAccess().getABSAssignment_0(), "rule__FunctionName__ABSAssignment_0");
put(grammarAccess.getFunctionNameAccess().getFLOORAssignment_1(), "rule__FunctionName__FLOORAssignment_1");
put(grammarAccess.getFunctionNameAccess().getCEILAssignment_2(), "rule__FunctionName__CEILAssignment_2");
put(grammarAccess.getFunctionNameAccess().getSIZEAssignment_3(), "rule__FunctionName__SIZEAssignment_3");
put(grammarAccess.getValueExpressionAccess().getBaseAssignment_0(), "rule__ValueExpression__BaseAssignment_0");
put(grammarAccess.getValueExpressionAccess().getChildAssignment_1_1(), "rule__ValueExpression__ChildAssignment_1_1");
put(grammarAccess.getReferenceAccess().getReferenceAssignment_0(), "rule__Reference__ReferenceAssignment_0");
put(grammarAccess.getReferenceAccess().getSelectionAssignment_1_1(), "rule__Reference__SelectionAssignment_1_1");
put(grammarAccess.getReferenceAccess().getSelectionsAssignment_1_1(), "rule__Reference__SelectionsAssignment_1_1");
put(grammarAccess.getMethodCallAccess().getMethodNameAssignment_0(), "rule__MethodCall__MethodNameAssignment_0");
put(grammarAccess.getMethodCallAccess().getParameterAssignmentsAssignment_2_0(), "rule__MethodCall__ParameterAssignmentsAssignment_2_0");
put(grammarAccess.getMethodCallAccess().getParameterAssignmentsAssignment_2_1_1(), "rule__MethodCall__ParameterAssignmentsAssignment_2_1_1");
......@@ -213,6 +245,7 @@ public class MeasureDefinitionLanguageParser extends AbstractContentAssistParser
put(grammarAccess.getEnumerationExpressionAccess().getValueAssignment_2(), "rule__EnumerationExpression__ValueAssignment_2");
put(grammarAccess.getIntLiteralAccess().getValueAssignment(), "rule__IntLiteral__ValueAssignment");
put(grammarAccess.getBooleanLiteralAccess().getValueAssignment(), "rule__BooleanLiteral__ValueAssignment");
put(grammarAccess.getStringLiteralAccess().getValueAssignment(), "rule__StringLiteral__ValueAssignment");
}
};
}
......
......@@ -77,72 +77,72 @@ T__79=79
T__78=78
T__77=77
'deci'=30
'#'=74
'#'=78
'count'=62
'>='=12
'count'=58
'=='=16
'/'=22
'model'=50
'model'=54
'tera'=34
'giga'=33
'measure'=55
'exists'=69
'measure'=59
'exists'=73
'>'=14
'||'=76
'&&'=77
'forall'=67
'typedef'=51
'||'=80
'&&'=81
'forall'=71
'typedef'=55
'+'=18
'.'=71
'.'=75
'gram'=38
'library'=48
'import'=49
'isKindOf'=47
'else'=66
'library'=52
'import'=53
'isKindOf'=51
'else'=70
'centi'=29
'{'=63
'{'=67
'sum'=40
'def'=64
'pico'=25
'def'=60
'kilo'=31
'standard-deviation'=42
'floor'=79
'if'=65
'('=52
':'=56
'floor'=47
'if'=69
'('=56
':'=60
'-'=19
'**'=21
','=61
'second'=37
','=57
'ceil'=80
'in'=70
'select'=59
'in'=74
'select'=63
'ceil'=48
'liter'=39
']'=73
']'=77
'milli'=28
'average'=41
'!'=24
'|'=68
'|'=72
'sd'=43
'meter'=36
'nano'=26
'null'=75
'null'=79
'peta'=35
'micro'=27
'::'=54
'collect'=61
')'=53
'::'=58
'collect'=65
')'=57
'mega'=32
'%'=23
'max'=44
'}'=64
'size'=81
'abs'=78
'}'=68
'size'=49
'abs'=46
'<='=13
'scope'=62
'scope'=66
'!='=17
'<'=15
'isTypeOf'=46
'['=72
'isTypeOf'=50
'['=76