| /** |
| * |
| * Copyright (c) 2011, 2017 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation |
| * |
| * generated by Xtext 2.11.0 |
| * |
| */ |
| |
| package org.eclipse.osbp.xtext.datamartdsl.serializer; |
| |
| import com.google.inject.Inject; |
| import java.util.List; |
| import org.eclipse.emf.ecore.EObject; |
| import org.eclipse.osbp.xtext.datamartdsl.services.DatamartDSLGrammarAccess; |
| import org.eclipse.xtext.IGrammarAccess; |
| import org.eclipse.xtext.RuleCall; |
| import org.eclipse.xtext.nodemodel.INode; |
| import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; |
| import org.eclipse.xtext.serializer.analysis.GrammarAlias.GroupAlias; |
| import org.eclipse.xtext.serializer.analysis.GrammarAlias.TokenAlias; |
| import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; |
| import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; |
| import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; |
| |
| @SuppressWarnings("all") |
| public class DatamartDSLSyntacticSequencer extends AbstractSyntacticSequencer { |
| |
| protected DatamartDSLGrammarAccess grammarAccess; |
| protected AbstractElementAlias match_DatamartDefinition___ForKeyword_3_0_LeftCurlyBracketKeyword_3_1_RightCurlyBracketKeyword_3_3__q; |
| protected AbstractElementAlias match_DatamartEntity___AttributesKeyword_3_2_0_LeftCurlyBracketKeyword_3_2_1_RightCurlyBracketKeyword_3_2_3__q; |
| protected AbstractElementAlias match_DatamartEntity___ConditionsKeyword_3_3_0_LeftCurlyBracketKeyword_3_3_1_RightCurlyBracketKeyword_3_3_3__q; |
| protected AbstractElementAlias match_DatamartEntity___LeftCurlyBracketKeyword_3_0___NavigationKeyword_3_1_0_LeftCurlyBracketKeyword_3_1_1_RightCurlyBracketKeyword_3_1_3__q___AttributesKeyword_3_2_0_LeftCurlyBracketKeyword_3_2_1_RightCurlyBracketKeyword_3_2_3__q___ConditionsKeyword_3_3_0_LeftCurlyBracketKeyword_3_3_1_RightCurlyBracketKeyword_3_3_3__q___OrderingKeyword_3_4_0_LeftCurlyBracketKeyword_3_4_1_RightCurlyBracketKeyword_3_4_3__q_RightCurlyBracketKeyword_3_6__q; |
| protected AbstractElementAlias match_DatamartEntity___NavigationKeyword_3_1_0_LeftCurlyBracketKeyword_3_1_1_RightCurlyBracketKeyword_3_1_3__q; |
| protected AbstractElementAlias match_DatamartEntity___OrderingKeyword_3_4_0_LeftCurlyBracketKeyword_3_4_1_RightCurlyBracketKeyword_3_4_3__q; |
| protected AbstractElementAlias match_DatamartOperand_LeftParenthesisKeyword_1_0_a; |
| protected AbstractElementAlias match_DatamartOperand_LeftParenthesisKeyword_1_0_p; |
| protected AbstractElementAlias match_DatamartPackage___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q; |
| protected AbstractElementAlias match_DatamartPrimary_LeftParenthesisKeyword_1_0_a; |
| protected AbstractElementAlias match_DatamartPrimary_LeftParenthesisKeyword_1_0_p; |
| protected AbstractElementAlias match_DatamartTask___ColumnsKeyword_2_0_LeftCurlyBracketKeyword_2_1_RightCurlyBracketKeyword_2_3__q; |
| protected AbstractElementAlias match_DatamartTask___ConditionsKeyword_3_0_LeftCurlyBracketKeyword_3_1_RightCurlyBracketKeyword_3_3__q; |
| protected AbstractElementAlias match_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q; |
| protected AbstractElementAlias match_XBlockExpression_SemicolonKeyword_2_1_q; |
| protected AbstractElementAlias match_XExpressionInClosure_SemicolonKeyword_1_1_q; |
| protected AbstractElementAlias match_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q; |
| protected AbstractElementAlias match_XImportDeclaration_SemicolonKeyword_3_q; |
| protected AbstractElementAlias match_XParenthesizedExpression_LeftParenthesisKeyword_0_a; |
| protected AbstractElementAlias match_XParenthesizedExpression_LeftParenthesisKeyword_0_p; |
| |
| @Inject |
| protected void init(IGrammarAccess access) { |
| grammarAccess = (DatamartDSLGrammarAccess) access; |
| match_DatamartDefinition___ForKeyword_3_0_LeftCurlyBracketKeyword_3_1_RightCurlyBracketKeyword_3_3__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getDatamartDefinitionAccess().getForKeyword_3_0()), new TokenAlias(false, false, grammarAccess.getDatamartDefinitionAccess().getLeftCurlyBracketKeyword_3_1()), new TokenAlias(false, false, grammarAccess.getDatamartDefinitionAccess().getRightCurlyBracketKeyword_3_3())); |
| match_DatamartEntity___AttributesKeyword_3_2_0_LeftCurlyBracketKeyword_3_2_1_RightCurlyBracketKeyword_3_2_3__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getAttributesKeyword_3_2_0()), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getLeftCurlyBracketKeyword_3_2_1()), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getRightCurlyBracketKeyword_3_2_3())); |
| match_DatamartEntity___ConditionsKeyword_3_3_0_LeftCurlyBracketKeyword_3_3_1_RightCurlyBracketKeyword_3_3_3__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getConditionsKeyword_3_3_0()), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getLeftCurlyBracketKeyword_3_3_1()), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getRightCurlyBracketKeyword_3_3_3())); |
| match_DatamartEntity___LeftCurlyBracketKeyword_3_0___NavigationKeyword_3_1_0_LeftCurlyBracketKeyword_3_1_1_RightCurlyBracketKeyword_3_1_3__q___AttributesKeyword_3_2_0_LeftCurlyBracketKeyword_3_2_1_RightCurlyBracketKeyword_3_2_3__q___ConditionsKeyword_3_3_0_LeftCurlyBracketKeyword_3_3_1_RightCurlyBracketKeyword_3_3_3__q___OrderingKeyword_3_4_0_LeftCurlyBracketKeyword_3_4_1_RightCurlyBracketKeyword_3_4_3__q_RightCurlyBracketKeyword_3_6__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getLeftCurlyBracketKeyword_3_0()), new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getNavigationKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getLeftCurlyBracketKeyword_3_1_1()), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getRightCurlyBracketKeyword_3_1_3())), new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getAttributesKeyword_3_2_0()), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getLeftCurlyBracketKeyword_3_2_1()), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getRightCurlyBracketKeyword_3_2_3())), new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getConditionsKeyword_3_3_0()), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getLeftCurlyBracketKeyword_3_3_1()), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getRightCurlyBracketKeyword_3_3_3())), new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getOrderingKeyword_3_4_0()), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getLeftCurlyBracketKeyword_3_4_1()), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getRightCurlyBracketKeyword_3_4_3())), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getRightCurlyBracketKeyword_3_6())); |
| match_DatamartEntity___NavigationKeyword_3_1_0_LeftCurlyBracketKeyword_3_1_1_RightCurlyBracketKeyword_3_1_3__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getNavigationKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getLeftCurlyBracketKeyword_3_1_1()), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getRightCurlyBracketKeyword_3_1_3())); |
| match_DatamartEntity___OrderingKeyword_3_4_0_LeftCurlyBracketKeyword_3_4_1_RightCurlyBracketKeyword_3_4_3__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getOrderingKeyword_3_4_0()), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getLeftCurlyBracketKeyword_3_4_1()), new TokenAlias(false, false, grammarAccess.getDatamartEntityAccess().getRightCurlyBracketKeyword_3_4_3())); |
| match_DatamartOperand_LeftParenthesisKeyword_1_0_a = new TokenAlias(true, true, grammarAccess.getDatamartOperandAccess().getLeftParenthesisKeyword_1_0()); |
| match_DatamartOperand_LeftParenthesisKeyword_1_0_p = new TokenAlias(true, false, grammarAccess.getDatamartOperandAccess().getLeftParenthesisKeyword_1_0()); |
| match_DatamartPackage___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getDatamartPackageAccess().getLeftCurlyBracketKeyword_3_0()), new TokenAlias(false, false, grammarAccess.getDatamartPackageAccess().getRightCurlyBracketKeyword_3_2())); |
| match_DatamartPrimary_LeftParenthesisKeyword_1_0_a = new TokenAlias(true, true, grammarAccess.getDatamartPrimaryAccess().getLeftParenthesisKeyword_1_0()); |
| match_DatamartPrimary_LeftParenthesisKeyword_1_0_p = new TokenAlias(true, false, grammarAccess.getDatamartPrimaryAccess().getLeftParenthesisKeyword_1_0()); |
| match_DatamartTask___ColumnsKeyword_2_0_LeftCurlyBracketKeyword_2_1_RightCurlyBracketKeyword_2_3__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getDatamartTaskAccess().getColumnsKeyword_2_0()), new TokenAlias(false, false, grammarAccess.getDatamartTaskAccess().getLeftCurlyBracketKeyword_2_1()), new TokenAlias(false, false, grammarAccess.getDatamartTaskAccess().getRightCurlyBracketKeyword_2_3())); |
| match_DatamartTask___ConditionsKeyword_3_0_LeftCurlyBracketKeyword_3_1_RightCurlyBracketKeyword_3_3__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getDatamartTaskAccess().getConditionsKeyword_3_0()), new TokenAlias(false, false, grammarAccess.getDatamartTaskAccess().getLeftCurlyBracketKeyword_3_1()), new TokenAlias(false, false, grammarAccess.getDatamartTaskAccess().getRightCurlyBracketKeyword_3_3())); |
| match_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getXAnnotationAccess().getLeftParenthesisKeyword_3_0()), new TokenAlias(false, false, grammarAccess.getXAnnotationAccess().getRightParenthesisKeyword_3_2())); |
| match_XBlockExpression_SemicolonKeyword_2_1_q = new TokenAlias(false, true, grammarAccess.getXBlockExpressionAccess().getSemicolonKeyword_2_1()); |
| match_XExpressionInClosure_SemicolonKeyword_1_1_q = new TokenAlias(false, true, grammarAccess.getXExpressionInClosureAccess().getSemicolonKeyword_1_1()); |
| match_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0()), new TokenAlias(false, false, grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2())); |
| match_XImportDeclaration_SemicolonKeyword_3_q = new TokenAlias(false, true, grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_3()); |
| match_XParenthesizedExpression_LeftParenthesisKeyword_0_a = new TokenAlias(true, true, grammarAccess.getXParenthesizedExpressionAccess().getLeftParenthesisKeyword_0()); |
| match_XParenthesizedExpression_LeftParenthesisKeyword_0_p = new TokenAlias(true, false, grammarAccess.getXParenthesizedExpressionAccess().getLeftParenthesisKeyword_0()); |
| } |
| |
| @Override |
| protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { |
| if (ruleCall.getRule() == grammarAccess.getArrayBracketsRule()) |
| return getArrayBracketsToken(semanticObject, ruleCall, node); |
| else if (ruleCall.getRule() == grammarAccess.getOpSingleAssignRule()) |
| return getOpSingleAssignToken(semanticObject, ruleCall, node); |
| return ""; |
| } |
| |
| /** |
| * ArrayBrackets : |
| * '[' ']' |
| * ; |
| */ |
| protected String getArrayBracketsToken(EObject semanticObject, RuleCall ruleCall, INode node) { |
| if (node != null) |
| return getTokenText(node); |
| return "[]"; |
| } |
| |
| /** |
| * OpSingleAssign: |
| * '=' |
| * ; |
| */ |
| protected String getOpSingleAssignToken(EObject semanticObject, RuleCall ruleCall, INode node) { |
| if (node != null) |
| return getTokenText(node); |
| return "="; |
| } |
| |
| @Override |
| protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { |
| if (transition.getAmbiguousSyntaxes().isEmpty()) return; |
| List<INode> transitionNodes = collectNodes(fromNode, toNode); |
| for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { |
| List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax); |
| if (match_DatamartDefinition___ForKeyword_3_0_LeftCurlyBracketKeyword_3_1_RightCurlyBracketKeyword_3_3__q.equals(syntax)) |
| emit_DatamartDefinition___ForKeyword_3_0_LeftCurlyBracketKeyword_3_1_RightCurlyBracketKeyword_3_3__q(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_DatamartEntity___AttributesKeyword_3_2_0_LeftCurlyBracketKeyword_3_2_1_RightCurlyBracketKeyword_3_2_3__q.equals(syntax)) |
| emit_DatamartEntity___AttributesKeyword_3_2_0_LeftCurlyBracketKeyword_3_2_1_RightCurlyBracketKeyword_3_2_3__q(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_DatamartEntity___ConditionsKeyword_3_3_0_LeftCurlyBracketKeyword_3_3_1_RightCurlyBracketKeyword_3_3_3__q.equals(syntax)) |
| emit_DatamartEntity___ConditionsKeyword_3_3_0_LeftCurlyBracketKeyword_3_3_1_RightCurlyBracketKeyword_3_3_3__q(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_DatamartEntity___LeftCurlyBracketKeyword_3_0___NavigationKeyword_3_1_0_LeftCurlyBracketKeyword_3_1_1_RightCurlyBracketKeyword_3_1_3__q___AttributesKeyword_3_2_0_LeftCurlyBracketKeyword_3_2_1_RightCurlyBracketKeyword_3_2_3__q___ConditionsKeyword_3_3_0_LeftCurlyBracketKeyword_3_3_1_RightCurlyBracketKeyword_3_3_3__q___OrderingKeyword_3_4_0_LeftCurlyBracketKeyword_3_4_1_RightCurlyBracketKeyword_3_4_3__q_RightCurlyBracketKeyword_3_6__q.equals(syntax)) |
| emit_DatamartEntity___LeftCurlyBracketKeyword_3_0___NavigationKeyword_3_1_0_LeftCurlyBracketKeyword_3_1_1_RightCurlyBracketKeyword_3_1_3__q___AttributesKeyword_3_2_0_LeftCurlyBracketKeyword_3_2_1_RightCurlyBracketKeyword_3_2_3__q___ConditionsKeyword_3_3_0_LeftCurlyBracketKeyword_3_3_1_RightCurlyBracketKeyword_3_3_3__q___OrderingKeyword_3_4_0_LeftCurlyBracketKeyword_3_4_1_RightCurlyBracketKeyword_3_4_3__q_RightCurlyBracketKeyword_3_6__q(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_DatamartEntity___NavigationKeyword_3_1_0_LeftCurlyBracketKeyword_3_1_1_RightCurlyBracketKeyword_3_1_3__q.equals(syntax)) |
| emit_DatamartEntity___NavigationKeyword_3_1_0_LeftCurlyBracketKeyword_3_1_1_RightCurlyBracketKeyword_3_1_3__q(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_DatamartEntity___OrderingKeyword_3_4_0_LeftCurlyBracketKeyword_3_4_1_RightCurlyBracketKeyword_3_4_3__q.equals(syntax)) |
| emit_DatamartEntity___OrderingKeyword_3_4_0_LeftCurlyBracketKeyword_3_4_1_RightCurlyBracketKeyword_3_4_3__q(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_DatamartOperand_LeftParenthesisKeyword_1_0_a.equals(syntax)) |
| emit_DatamartOperand_LeftParenthesisKeyword_1_0_a(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_DatamartOperand_LeftParenthesisKeyword_1_0_p.equals(syntax)) |
| emit_DatamartOperand_LeftParenthesisKeyword_1_0_p(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_DatamartPackage___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q.equals(syntax)) |
| emit_DatamartPackage___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_DatamartPrimary_LeftParenthesisKeyword_1_0_a.equals(syntax)) |
| emit_DatamartPrimary_LeftParenthesisKeyword_1_0_a(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_DatamartPrimary_LeftParenthesisKeyword_1_0_p.equals(syntax)) |
| emit_DatamartPrimary_LeftParenthesisKeyword_1_0_p(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_DatamartTask___ColumnsKeyword_2_0_LeftCurlyBracketKeyword_2_1_RightCurlyBracketKeyword_2_3__q.equals(syntax)) |
| emit_DatamartTask___ColumnsKeyword_2_0_LeftCurlyBracketKeyword_2_1_RightCurlyBracketKeyword_2_3__q(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_DatamartTask___ConditionsKeyword_3_0_LeftCurlyBracketKeyword_3_1_RightCurlyBracketKeyword_3_3__q.equals(syntax)) |
| emit_DatamartTask___ConditionsKeyword_3_0_LeftCurlyBracketKeyword_3_1_RightCurlyBracketKeyword_3_3__q(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q.equals(syntax)) |
| emit_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_XBlockExpression_SemicolonKeyword_2_1_q.equals(syntax)) |
| emit_XBlockExpression_SemicolonKeyword_2_1_q(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_XExpressionInClosure_SemicolonKeyword_1_1_q.equals(syntax)) |
| emit_XExpressionInClosure_SemicolonKeyword_1_1_q(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q.equals(syntax)) |
| emit_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_XImportDeclaration_SemicolonKeyword_3_q.equals(syntax)) |
| emit_XImportDeclaration_SemicolonKeyword_3_q(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_XParenthesizedExpression_LeftParenthesisKeyword_0_a.equals(syntax)) |
| emit_XParenthesizedExpression_LeftParenthesisKeyword_0_a(semanticObject, getLastNavigableState(), syntaxNodes); |
| else if (match_XParenthesizedExpression_LeftParenthesisKeyword_0_p.equals(syntax)) |
| emit_XParenthesizedExpression_LeftParenthesisKeyword_0_p(semanticObject, getLastNavigableState(), syntaxNodes); |
| else acceptNodes(getLastNavigableState(), syntaxNodes); |
| } |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * ('for' '{' '}')? |
| * |
| * This ambiguous syntax occurs at: |
| * descriptionValue=TRANSLATABLESTRING (ambiguity) 'using' source=DatamartSource |
| * name=ID (ambiguity) 'using' source=DatamartSource |
| */ |
| protected void emit_DatamartDefinition___ForKeyword_3_0_LeftCurlyBracketKeyword_3_1_RightCurlyBracketKeyword_3_3__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * ('attributes' '{' '}')? |
| * |
| * This ambiguous syntax occurs at: |
| * entityRef=[LEntity|ID] '{' ('navigation' '{' '}')? (ambiguity) 'conditions' '{' conditions+=DatamartCondition |
| * entityRef=[LEntity|ID] '{' ('navigation' '{' '}')? (ambiguity) ('conditions' '{' '}')? 'ordering' '{' ordering+=DatamartOrder |
| * entityRef=[LEntity|ID] '{' ('navigation' '{' '}')? (ambiguity) ('conditions' '{' '}')? ('ordering' '{' '}')? 'fillerRows' fillerMinCountRows=INT |
| * navigations+=DatamartNavigation '}' (ambiguity) 'conditions' '{' conditions+=DatamartCondition |
| * navigations+=DatamartNavigation '}' (ambiguity) ('conditions' '{' '}')? 'ordering' '{' ordering+=DatamartOrder |
| * navigations+=DatamartNavigation '}' (ambiguity) ('conditions' '{' '}')? ('ordering' '{' '}')? 'fillerRows' fillerMinCountRows=INT |
| * navigations+=DatamartNavigation '}' (ambiguity) ('conditions' '{' '}')? ('ordering' '{' '}')? '}' (rule end) |
| * tracking?='tracking' '{' ('navigation' '{' '}')? (ambiguity) 'conditions' '{' conditions+=DatamartCondition |
| * tracking?='tracking' '{' ('navigation' '{' '}')? (ambiguity) ('conditions' '{' '}')? 'ordering' '{' ordering+=DatamartOrder |
| * tracking?='tracking' '{' ('navigation' '{' '}')? (ambiguity) ('conditions' '{' '}')? ('ordering' '{' '}')? 'fillerRows' fillerMinCountRows=INT |
| */ |
| protected void emit_DatamartEntity___AttributesKeyword_3_2_0_LeftCurlyBracketKeyword_3_2_1_RightCurlyBracketKeyword_3_2_3__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * ('conditions' '{' '}')? |
| * |
| * This ambiguous syntax occurs at: |
| * attributes+=DatamartAttribute '}' (ambiguity) 'ordering' '{' ordering+=DatamartOrder |
| * attributes+=DatamartAttribute '}' (ambiguity) ('ordering' '{' '}')? 'fillerRows' fillerMinCountRows=INT |
| * attributes+=DatamartAttribute '}' (ambiguity) ('ordering' '{' '}')? '}' (rule end) |
| * entityRef=[LEntity|ID] '{' ('navigation' '{' '}')? ('attributes' '{' '}')? (ambiguity) 'ordering' '{' ordering+=DatamartOrder |
| * entityRef=[LEntity|ID] '{' ('navigation' '{' '}')? ('attributes' '{' '}')? (ambiguity) ('ordering' '{' '}')? 'fillerRows' fillerMinCountRows=INT |
| * navigations+=DatamartNavigation '}' ('attributes' '{' '}')? (ambiguity) 'ordering' '{' ordering+=DatamartOrder |
| * navigations+=DatamartNavigation '}' ('attributes' '{' '}')? (ambiguity) ('ordering' '{' '}')? 'fillerRows' fillerMinCountRows=INT |
| * navigations+=DatamartNavigation '}' ('attributes' '{' '}')? (ambiguity) ('ordering' '{' '}')? '}' (rule end) |
| * tracking?='tracking' '{' ('navigation' '{' '}')? ('attributes' '{' '}')? (ambiguity) 'ordering' '{' ordering+=DatamartOrder |
| * tracking?='tracking' '{' ('navigation' '{' '}')? ('attributes' '{' '}')? (ambiguity) ('ordering' '{' '}')? 'fillerRows' fillerMinCountRows=INT |
| */ |
| protected void emit_DatamartEntity___ConditionsKeyword_3_3_0_LeftCurlyBracketKeyword_3_3_1_RightCurlyBracketKeyword_3_3_3__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * ( |
| * '{' |
| * ('navigation' '{' '}')? |
| * ('attributes' '{' '}')? |
| * ('conditions' '{' '}')? |
| * ('ordering' '{' '}')? |
| * '}' |
| * )? |
| * |
| * This ambiguous syntax occurs at: |
| * entityRef=[LEntity|ID] (ambiguity) (rule end) |
| * tracking?='tracking' (ambiguity) (rule end) |
| */ |
| protected void emit_DatamartEntity___LeftCurlyBracketKeyword_3_0___NavigationKeyword_3_1_0_LeftCurlyBracketKeyword_3_1_1_RightCurlyBracketKeyword_3_1_3__q___AttributesKeyword_3_2_0_LeftCurlyBracketKeyword_3_2_1_RightCurlyBracketKeyword_3_2_3__q___ConditionsKeyword_3_3_0_LeftCurlyBracketKeyword_3_3_1_RightCurlyBracketKeyword_3_3_3__q___OrderingKeyword_3_4_0_LeftCurlyBracketKeyword_3_4_1_RightCurlyBracketKeyword_3_4_3__q_RightCurlyBracketKeyword_3_6__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * ('navigation' '{' '}')? |
| * |
| * This ambiguous syntax occurs at: |
| * entityRef=[LEntity|ID] '{' (ambiguity) 'attributes' '{' attributes+=DatamartAttribute |
| * entityRef=[LEntity|ID] '{' (ambiguity) ('attributes' '{' '}')? 'conditions' '{' conditions+=DatamartCondition |
| * entityRef=[LEntity|ID] '{' (ambiguity) ('attributes' '{' '}')? ('conditions' '{' '}')? 'ordering' '{' ordering+=DatamartOrder |
| * entityRef=[LEntity|ID] '{' (ambiguity) ('attributes' '{' '}')? ('conditions' '{' '}')? ('ordering' '{' '}')? 'fillerRows' fillerMinCountRows=INT |
| * tracking?='tracking' '{' (ambiguity) 'attributes' '{' attributes+=DatamartAttribute |
| * tracking?='tracking' '{' (ambiguity) ('attributes' '{' '}')? 'conditions' '{' conditions+=DatamartCondition |
| * tracking?='tracking' '{' (ambiguity) ('attributes' '{' '}')? ('conditions' '{' '}')? 'ordering' '{' ordering+=DatamartOrder |
| * tracking?='tracking' '{' (ambiguity) ('attributes' '{' '}')? ('conditions' '{' '}')? ('ordering' '{' '}')? 'fillerRows' fillerMinCountRows=INT |
| */ |
| protected void emit_DatamartEntity___NavigationKeyword_3_1_0_LeftCurlyBracketKeyword_3_1_1_RightCurlyBracketKeyword_3_1_3__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * ('ordering' '{' '}')? |
| * |
| * This ambiguous syntax occurs at: |
| * attributes+=DatamartAttribute '}' ('conditions' '{' '}')? (ambiguity) 'fillerRows' fillerMinCountRows=INT |
| * attributes+=DatamartAttribute '}' ('conditions' '{' '}')? (ambiguity) '}' (rule end) |
| * conditions+=DatamartCondition '}' (ambiguity) 'fillerRows' fillerMinCountRows=INT |
| * conditions+=DatamartCondition '}' (ambiguity) '}' (rule end) |
| * entityRef=[LEntity|ID] '{' ('navigation' '{' '}')? ('attributes' '{' '}')? ('conditions' '{' '}')? (ambiguity) 'fillerRows' fillerMinCountRows=INT |
| * navigations+=DatamartNavigation '}' ('attributes' '{' '}')? ('conditions' '{' '}')? (ambiguity) 'fillerRows' fillerMinCountRows=INT |
| * navigations+=DatamartNavigation '}' ('attributes' '{' '}')? ('conditions' '{' '}')? (ambiguity) '}' (rule end) |
| * tracking?='tracking' '{' ('navigation' '{' '}')? ('attributes' '{' '}')? ('conditions' '{' '}')? (ambiguity) 'fillerRows' fillerMinCountRows=INT |
| */ |
| protected void emit_DatamartEntity___OrderingKeyword_3_4_0_LeftCurlyBracketKeyword_3_4_1_RightCurlyBracketKeyword_3_4_3__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * '('* |
| * |
| * This ambiguous syntax occurs at: |
| * (rule start) (ambiguity) 'attribute' attributeRef=[LEntityAttribute|ID] |
| * (rule start) (ambiguity) 'column' columnRef=TaskQueryColumnEnum |
| * (rule start) (ambiguity) 'filter' filterRef=TaskFilterEnum |
| * (rule start) (ambiguity) filtered?='filtered' |
| * (rule start) (ambiguity) numberValue=Number |
| * (rule start) (ambiguity) ranged?='ranged' |
| * (rule start) (ambiguity) selected?='selected' |
| * (rule start) (ambiguity) stringValue=STRING |
| * (rule start) (ambiguity) {ConditionalExpression.left=} |
| * (rule start) (ambiguity) {Conjunction.left=} |
| * (rule start) (ambiguity) {Disjunction.left=} |
| */ |
| protected void emit_DatamartOperand_LeftParenthesisKeyword_1_0_a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * '('+ |
| * |
| * This ambiguous syntax occurs at: |
| * (rule start) (ambiguity) {ConditionalExpression.left=} |
| * (rule start) (ambiguity) {Conjunction.left=} |
| * (rule start) (ambiguity) {Disjunction.left=} |
| */ |
| protected void emit_DatamartOperand_LeftParenthesisKeyword_1_0_p(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * ('{' '}')? |
| * |
| * This ambiguous syntax occurs at: |
| * name=QualifiedName (ambiguity) (rule end) |
| */ |
| protected void emit_DatamartPackage___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * '('* |
| * |
| * This ambiguous syntax occurs at: |
| * (rule start) (ambiguity) 'derived' derivedRef=[DatamartDefineDerivedMeasure|ID] |
| * (rule start) (ambiguity) 'measure' measureRef=[CubeMeasure|ID] |
| * (rule start) (ambiguity) value=Number |
| * (rule start) (ambiguity) {Addition.left=} |
| * (rule start) (ambiguity) {DatamartAggregation.left=} |
| * (rule start) (ambiguity) {DatamartMemberTuple.left=} |
| * (rule start) (ambiguity) {Division.left=} |
| * (rule start) (ambiguity) {Multiplication.left=} |
| * (rule start) (ambiguity) {Subtraction.left=} |
| */ |
| protected void emit_DatamartPrimary_LeftParenthesisKeyword_1_0_a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * '('+ |
| * |
| * This ambiguous syntax occurs at: |
| * (rule start) (ambiguity) {Addition.left=} |
| * (rule start) (ambiguity) {Division.left=} |
| * (rule start) (ambiguity) {Multiplication.left=} |
| * (rule start) (ambiguity) {Subtraction.left=} |
| */ |
| protected void emit_DatamartPrimary_LeftParenthesisKeyword_1_0_p(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * ('columns' '{' '}')? |
| * |
| * This ambiguous syntax occurs at: |
| * taskQuery=TaskQueryTopicEnum (ambiguity) 'conditions' '{' conditions+=DatamartCondition |
| * taskQuery=TaskQueryTopicEnum (ambiguity) ('conditions' '{' '}')? (rule end) |
| */ |
| protected void emit_DatamartTask___ColumnsKeyword_2_0_LeftCurlyBracketKeyword_2_1_RightCurlyBracketKeyword_2_3__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * ('conditions' '{' '}')? |
| * |
| * This ambiguous syntax occurs at: |
| * columns+=DatamartColumn '}' (ambiguity) (rule end) |
| * taskQuery=TaskQueryTopicEnum ('columns' '{' '}')? (ambiguity) (rule end) |
| */ |
| protected void emit_DatamartTask___ConditionsKeyword_3_0_LeftCurlyBracketKeyword_3_1_RightCurlyBracketKeyword_3_3__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * ('(' ')')? |
| * |
| * This ambiguous syntax occurs at: |
| * annotationType=[JvmAnnotationType|QualifiedName] (ambiguity) (rule end) |
| */ |
| protected void emit_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * ';'? |
| * |
| * This ambiguous syntax occurs at: |
| * expressions+=XExpressionOrVarDeclaration (ambiguity) '}' ')' (rule end) |
| * expressions+=XExpressionOrVarDeclaration (ambiguity) '}' (rule end) |
| * expressions+=XExpressionOrVarDeclaration (ambiguity) expressions+=XExpressionOrVarDeclaration |
| */ |
| protected void emit_XBlockExpression_SemicolonKeyword_2_1_q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * ';'? |
| * |
| * This ambiguous syntax occurs at: |
| * expressions+=XExpressionOrVarDeclaration (ambiguity) (rule end) |
| * expressions+=XExpressionOrVarDeclaration (ambiguity) expressions+=XExpressionOrVarDeclaration |
| */ |
| protected void emit_XExpressionInClosure_SemicolonKeyword_1_1_q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * ('(' ')')? |
| * |
| * This ambiguous syntax occurs at: |
| * (rule start) (ambiguity) '=>' returnType=JvmTypeReference |
| */ |
| protected void emit_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * ';'? |
| * |
| * This ambiguous syntax occurs at: |
| * importedFullyQualifiedName=QualifiedName (ambiguity) (rule end) |
| * importedNamespace=QualifiedNameWithWildcard (ambiguity) (rule end) |
| * importedType=[JvmDeclaredType|QualifiedName] (ambiguity) (rule end) |
| * memberName=ValidID (ambiguity) (rule end) |
| * wildcard?='*' (ambiguity) (rule end) |
| */ |
| protected void emit_XImportDeclaration_SemicolonKeyword_3_q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * '('* |
| * |
| * This ambiguous syntax occurs at: |
| * (rule start) (ambiguity) '#' '[' ']' (rule start) |
| * (rule start) (ambiguity) '#' '[' elements+=XExpression |
| * (rule start) (ambiguity) '#' '{' '}' (rule start) |
| * (rule start) (ambiguity) '#' '{' elements+=XExpression |
| * (rule start) (ambiguity) '<' typeArguments+=JvmArgumentTypeReference |
| * (rule start) (ambiguity) '[' declaredFormalParameters+=JvmFormalParameter |
| * (rule start) (ambiguity) '[' explicitSyntax?='|' |
| * (rule start) (ambiguity) '[' expression=XExpressionInClosure |
| * (rule start) (ambiguity) 'do' body=XExpression |
| * (rule start) (ambiguity) 'false' (rule start) |
| * (rule start) (ambiguity) 'for' '(' ';' ';' ')' eachExpression=XExpression |
| * (rule start) (ambiguity) 'for' '(' ';' ';' updateExpressions+=XExpression |
| * (rule start) (ambiguity) 'for' '(' ';' expression=XExpression |
| * (rule start) (ambiguity) 'for' '(' declaredParam=JvmFormalParameter |
| * (rule start) (ambiguity) 'for' '(' initExpressions+=XExpressionOrVarDeclaration |
| * (rule start) (ambiguity) 'if' '(' if=XExpression |
| * (rule start) (ambiguity) 'new' constructor=[JvmConstructor|QualifiedName] |
| * (rule start) (ambiguity) 'null' (rule start) |
| * (rule start) (ambiguity) 'return' (rule start) |
| * (rule start) (ambiguity) 'return' expression=XExpression |
| * (rule start) (ambiguity) 'switch' '(' declaredParam=JvmFormalParameter |
| * (rule start) (ambiguity) 'switch' declaredParam=JvmFormalParameter |
| * (rule start) (ambiguity) 'switch' switch=XExpression |
| * (rule start) (ambiguity) 'synchronized' '(' param=XExpression |
| * (rule start) (ambiguity) 'throw' expression=XExpression |
| * (rule start) (ambiguity) 'try' expression=XExpression |
| * (rule start) (ambiguity) 'typeof' '(' type=[JvmType|QualifiedName] |
| * (rule start) (ambiguity) 'while' '(' predicate=XExpression |
| * (rule start) (ambiguity) '{' '}' (rule start) |
| * (rule start) (ambiguity) '{' expressions+=XExpressionOrVarDeclaration |
| * (rule start) (ambiguity) feature=[JvmIdentifiableElement|FeatureCallID] |
| * (rule start) (ambiguity) feature=[JvmIdentifiableElement|IdOrSuper] |
| * (rule start) (ambiguity) feature=[JvmIdentifiableElement|OpUnary] |
| * (rule start) (ambiguity) isTrue?='true' |
| * (rule start) (ambiguity) value=Number |
| * (rule start) (ambiguity) value=STRING |
| * (rule start) (ambiguity) {XAssignment.assignable=} |
| * (rule start) (ambiguity) {XBinaryOperation.leftOperand=} |
| * (rule start) (ambiguity) {XCastedExpression.target=} |
| * (rule start) (ambiguity) {XInstanceOfExpression.expression=} |
| * (rule start) (ambiguity) {XMemberFeatureCall.memberCallTarget=} |
| * (rule start) (ambiguity) {XPostfixOperation.operand=} |
| */ |
| protected void emit_XParenthesizedExpression_LeftParenthesisKeyword_0_a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| /** |
| * Ambiguous syntax: |
| * '('+ |
| * |
| * This ambiguous syntax occurs at: |
| * (rule start) (ambiguity) '#' '[' ']' ')' (rule start) |
| * (rule start) (ambiguity) '#' '[' elements+=XExpression |
| * (rule start) (ambiguity) '#' '{' '}' ')' (rule start) |
| * (rule start) (ambiguity) '#' '{' elements+=XExpression |
| * (rule start) (ambiguity) '<' typeArguments+=JvmArgumentTypeReference |
| * (rule start) (ambiguity) '[' declaredFormalParameters+=JvmFormalParameter |
| * (rule start) (ambiguity) '[' explicitSyntax?='|' |
| * (rule start) (ambiguity) '[' expression=XExpressionInClosure |
| * (rule start) (ambiguity) 'do' body=XExpression |
| * (rule start) (ambiguity) 'false' ')' (rule start) |
| * (rule start) (ambiguity) 'for' '(' ';' ';' ')' eachExpression=XExpression |
| * (rule start) (ambiguity) 'for' '(' ';' ';' updateExpressions+=XExpression |
| * (rule start) (ambiguity) 'for' '(' ';' expression=XExpression |
| * (rule start) (ambiguity) 'for' '(' declaredParam=JvmFormalParameter |
| * (rule start) (ambiguity) 'for' '(' initExpressions+=XExpressionOrVarDeclaration |
| * (rule start) (ambiguity) 'if' '(' if=XExpression |
| * (rule start) (ambiguity) 'new' constructor=[JvmConstructor|QualifiedName] |
| * (rule start) (ambiguity) 'null' ')' (rule start) |
| * (rule start) (ambiguity) 'return' ')' (rule start) |
| * (rule start) (ambiguity) 'return' expression=XExpression |
| * (rule start) (ambiguity) 'switch' '(' declaredParam=JvmFormalParameter |
| * (rule start) (ambiguity) 'switch' declaredParam=JvmFormalParameter |
| * (rule start) (ambiguity) 'switch' switch=XExpression |
| * (rule start) (ambiguity) 'synchronized' '(' param=XExpression |
| * (rule start) (ambiguity) 'throw' expression=XExpression |
| * (rule start) (ambiguity) 'try' expression=XExpression |
| * (rule start) (ambiguity) 'typeof' '(' type=[JvmType|QualifiedName] |
| * (rule start) (ambiguity) 'while' '(' predicate=XExpression |
| * (rule start) (ambiguity) '{' '}' ')' (rule start) |
| * (rule start) (ambiguity) '{' expressions+=XExpressionOrVarDeclaration |
| * (rule start) (ambiguity) feature=[JvmIdentifiableElement|FeatureCallID] |
| * (rule start) (ambiguity) feature=[JvmIdentifiableElement|IdOrSuper] |
| * (rule start) (ambiguity) feature=[JvmIdentifiableElement|OpUnary] |
| * (rule start) (ambiguity) isTrue?='true' |
| * (rule start) (ambiguity) value=Number |
| * (rule start) (ambiguity) value=STRING |
| * (rule start) (ambiguity) {XAssignment.assignable=} |
| * (rule start) (ambiguity) {XBinaryOperation.leftOperand=} |
| * (rule start) (ambiguity) {XCastedExpression.target=} |
| * (rule start) (ambiguity) {XInstanceOfExpression.expression=} |
| * (rule start) (ambiguity) {XMemberFeatureCall.memberCallTarget=} |
| * (rule start) (ambiguity) {XPostfixOperation.operand=} |
| */ |
| protected void emit_XParenthesizedExpression_LeftParenthesisKeyword_0_p(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { |
| acceptNodes(transition, nodes); |
| } |
| |
| } |