Permalink
Browse files

added support for data handling routines

  • Loading branch information...
rju committed Feb 28, 2015
1 parent e1a5305 commit 15bc5adce0e114e4c7c1e03178fb94a05e91c207
Showing with 9,966 additions and 6,134 deletions.
  1. +24 −3 ...ehavior.ui/src-gen/org/spp/cocome/behavior/ui/contentassist/AbstractBehaviorProposalProvider.java
  2. +7 −0 ...spp.cocome.behavior.ui/src-gen/org/spp/cocome/behavior/ui/contentassist/antlr/BehaviorParser.java
  3. +369 −32 ...me.behavior.ui/src-gen/org/spp/cocome/behavior/ui/contentassist/antlr/internal/InternalBehavior.g
  4. +36 −28 ...havior.ui/src-gen/org/spp/cocome/behavior/ui/contentassist/antlr/internal/InternalBehavior.tokens
  5. +452 −306 ...ior.ui/src-gen/org/spp/cocome/behavior/ui/contentassist/antlr/internal/InternalBehaviorLexer.java
  6. +4,834 −3,786 ...or.ui/src-gen/org/spp/cocome/behavior/ui/contentassist/antlr/internal/InternalBehaviorParser.java
  7. +14 −3 org.spp.cocome.behavior/model/generated/Behavior.ecore
  8. +13 −2 org.spp.cocome.behavior/model/generated/Behavior.genmodel
  9. BIN org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/Behavior.xtextbin
  10. +27 −18 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/BehaviorFactory.java
  11. +282 −129 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/BehaviorPackage.java
  12. +0 −18 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/BinaryOperation.java
  13. +251 −0 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/DataAccessOperation.java
  14. +80 −0 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/DataAccessStatement.java
  15. +50 −0 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/DataQuery.java
  16. +3 −3 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/Expression.java
  17. +57 −19 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/impl/BehaviorFactoryImpl.java
  18. +114 −31 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/impl/BehaviorPackageImpl.java
  19. +0 −42 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/impl/BinaryOperationImpl.java
  20. +244 −0 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/impl/DataAccessStatementImpl.java
  21. +176 −0 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/impl/DataQueryImpl.java
  22. +8 −8 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/impl/ExpressionImpl.java
  23. +57 −37 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/util/BehaviorAdapterFactory.java
  24. +67 −43 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/util/BehaviorSwitch.java
  25. +212 −54 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/parser/antlr/internal/InternalBehavior.g
  26. +14 −6 ...spp.cocome.behavior/src-gen/org/spp/cocome/behavior/parser/antlr/internal/InternalBehavior.tokens
  27. +377 −231 ....cocome.behavior/src-gen/org/spp/cocome/behavior/parser/antlr/internal/InternalBehaviorLexer.java
  28. +1,730 −1,239 ...cocome.behavior/src-gen/org/spp/cocome/behavior/parser/antlr/internal/InternalBehaviorParser.java
  29. +96 −19 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/serializer/BehaviorSemanticSequencer.java
  30. +197 −53 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/services/BehaviorGrammarAccess.java
  31. +17 −6 org.spp.cocome.behavior/src/org/spp/cocome/behavior/Behavior.xtext
  32. +7 −0 org.spp.cocome.behavior/src/org/spp/cocome/behavior/generator/BehaviorExpressionGenerator.xtend
  33. +15 −0 org.spp.cocome.behavior/src/org/spp/cocome/behavior/generator/BehaviorStatementGenerator.xtend
  34. +20 −3 org.spp.cocome.behavior/src/org/spp/cocome/behavior/generator/BehaviorStructureGenerator.xtend
  35. +26 −4 org.spp.cocome.behavior/xtend-gen/org/spp/cocome/behavior/generator/BehaviorExpressionGenerator.java
  36. +42 −0 org.spp.cocome.behavior/xtend-gen/org/spp/cocome/behavior/generator/BehaviorStatementGenerator.java
  37. +48 −11 org.spp.cocome.behavior/xtend-gen/org/spp/cocome/behavior/generator/BehaviorStructureGenerator.java
@@ -111,6 +111,12 @@ public void completeLoopStatement_Expression(EObject model, Assignment assignmen
public void completeLoopStatement_Statement(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeDataAccessStatement_Operation(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeDataAccessStatement_Variable(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
}
public void completeVariableCall_Variable(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
}
@@ -190,6 +196,12 @@ public void completePostfixOperation_Feature(EObject model, Assignment assignmen
// subclasses may override
// subclasses may override
}
public void completeDataQuery_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeDataQuery_Query(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeInstantiationExpression_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
@@ -269,6 +281,12 @@ public void complete_Assignment(EObject model, RuleCall ruleCall, ContentAssistC
public void complete_LoopStatement(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_DataAccessStatement(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_DataAccessOperation(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_VariableCall(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
@@ -305,9 +323,15 @@ public void complete_PostfixOperation(EObject model, RuleCall ruleCall, ContentA
public void complete_PrimaryExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_DataQuery(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_InstantiationExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_DeclarationTypeReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_TypeReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
@@ -317,9 +341,6 @@ public void complete_CollectionType(EObject model, RuleCall ruleCall, ContentAss
public void complete_MapType(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_DeclarationTypeReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_Literal(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
@@ -53,6 +53,7 @@ protected String getRuleName(AbstractElement element) {
put(grammarAccess.getNUMBERAccess().getAlternatives(), "rule__NUMBER__Alternatives");
put(grammarAccess.getNUMBERAccess().getAlternatives_0_0(), "rule__NUMBER__Alternatives_0_0");
put(grammarAccess.getComponentKindAccess().getAlternatives(), "rule__ComponentKind__Alternatives");
put(grammarAccess.getDataAccessOperationAccess().getAlternatives(), "rule__DataAccessOperation__Alternatives");
put(grammarAccess.getBehaviorModelAccess().getGroup(), "rule__BehaviorModel__Group__0");
put(grammarAccess.getRepositoryReferenceAccess().getGroup(), "rule__RepositoryReference__Group__0");
put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0");
@@ -69,6 +70,7 @@ protected String getRuleName(AbstractElement element) {
put(grammarAccess.getBlockStatementAccess().getGroup(), "rule__BlockStatement__Group__0");
put(grammarAccess.getAssignmentAccess().getGroup(), "rule__Assignment__Group__0");
put(grammarAccess.getLoopStatementAccess().getGroup(), "rule__LoopStatement__Group__0");
put(grammarAccess.getDataAccessStatementAccess().getGroup(), "rule__DataAccessStatement__Group__0");
put(grammarAccess.getVariableCallAccess().getGroup(), "rule__VariableCall__Group__0");
put(grammarAccess.getVariableCallAccess().getGroup_1(), "rule__VariableCall__Group_1__0");
put(grammarAccess.getVariableCallAccess().getGroup_2(), "rule__VariableCall__Group_2__0");
@@ -107,6 +109,7 @@ protected String getRuleName(AbstractElement element) {
put(grammarAccess.getPostfixOperationAccess().getGroup(), "rule__PostfixOperation__Group__0");
put(grammarAccess.getPostfixOperationAccess().getGroup_1(), "rule__PostfixOperation__Group_1__0");
put(grammarAccess.getPostfixOperationAccess().getGroup_1_0(), "rule__PostfixOperation__Group_1_0__0");
put(grammarAccess.getDataQueryAccess().getGroup(), "rule__DataQuery__Group__0");
put(grammarAccess.getInstantiationExpressionAccess().getGroup(), "rule__InstantiationExpression__Group__0");
put(grammarAccess.getCollectionTypeAccess().getGroup(), "rule__CollectionType__Group__0");
put(grammarAccess.getMapTypeAccess().getGroup(), "rule__MapType__Group__0");
@@ -148,6 +151,8 @@ protected String getRuleName(AbstractElement element) {
put(grammarAccess.getLoopStatementAccess().getVariableAssignment_2(), "rule__LoopStatement__VariableAssignment_2");
put(grammarAccess.getLoopStatementAccess().getExpressionAssignment_4(), "rule__LoopStatement__ExpressionAssignment_4");
put(grammarAccess.getLoopStatementAccess().getStatementAssignment_6(), "rule__LoopStatement__StatementAssignment_6");
put(grammarAccess.getDataAccessStatementAccess().getOperationAssignment_0(), "rule__DataAccessStatement__OperationAssignment_0");
put(grammarAccess.getDataAccessStatementAccess().getVariableAssignment_1(), "rule__DataAccessStatement__VariableAssignment_1");
put(grammarAccess.getVariableCallAccess().getVariableAssignment_0(), "rule__VariableCall__VariableAssignment_0");
put(grammarAccess.getVariableCallAccess().getIndexAssignment_1_1(), "rule__VariableCall__IndexAssignment_1_1");
put(grammarAccess.getVariableCallAccess().getSubPropertyAssignment_2_1(), "rule__VariableCall__SubPropertyAssignment_2_1");
@@ -171,6 +176,8 @@ protected String getRuleName(AbstractElement element) {
put(grammarAccess.getCastedExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__CastedExpression__FeatureAssignment_1_0_0_1");
put(grammarAccess.getCastedExpressionAccess().getTypeAssignment_1_1(), "rule__CastedExpression__TypeAssignment_1_1");
put(grammarAccess.getPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__PostfixOperation__FeatureAssignment_1_0_1");
put(grammarAccess.getDataQueryAccess().getTypeAssignment_1(), "rule__DataQuery__TypeAssignment_1");
put(grammarAccess.getDataQueryAccess().getQueryAssignment_2(), "rule__DataQuery__QueryAssignment_2");
put(grammarAccess.getInstantiationExpressionAccess().getTypeAssignment_1(), "rule__InstantiationExpression__TypeAssignment_1");
put(grammarAccess.getInstantiationExpressionAccess().getParametersAssignment_3(), "rule__InstantiationExpression__ParametersAssignment_3");
put(grammarAccess.getTypeReferenceAccess().getReferenceAssignment(), "rule__TypeReference__ReferenceAssignment");
Oops, something went wrong.

0 comments on commit 15bc5ad

Please sign in to comment.