Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 337289 | Differences between
and this patch

Collapse All | Expand All

(-)src-gen/org/eclipse/papyrus/message/editor/xtext/UmlMessage.genmodel (-9 / +9 lines)
Lines 6-22 Link Here
6
    modelPluginID="org.eclipse.papyrus.message.editor.xtext" forceOverwrite="true"
6
    modelPluginID="org.eclipse.papyrus.message.editor.xtext" forceOverwrite="true"
7
    modelName="UmlMessage" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
7
    modelName="UmlMessage" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.message.editor.xtext.edit"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.message.editor.xtext.edit"
9
    editorPluginID="org.eclipse.papyrus.message.editor.xtext.editor" usedGenPackages="../../../../../../../model/UML.genmodel#//uml">
9
    editorPluginID="org.eclipse.papyrus.message.editor.xtext.editor" usedGenPackages="platform:/resource/org.eclipse.papyrus.message.editor.xtext/model/UML.genmodel#//uml">
10
  <genPackages prefix="UmlMessage" basePackage="org.eclipse.papyrus.message.editor.xtext"
10
  <genPackages prefix="UmlMessage" basePackage="org.eclipse.papyrus.message.editor.xtext"
11
      disposableProviderFactory="true" ecorePackage="UmlMessage.ecore#/">
11
      disposableProviderFactory="true" ecorePackage="platform:/resource/org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/UmlMessage.ecore#/">
12
    <genClasses ecoreClass="UmlMessage.ecore#//MessageRule">
12
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/UmlMessage.ecore#//MessageRule">
13
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlMessage.ecore#//MessageRule/sequenceTerm"/>
13
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/UmlMessage.ecore#//MessageRule/sequenceTerm"/>
14
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlMessage.ecore#//MessageRule/name"/>
14
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/UmlMessage.ecore#//MessageRule/name"/>
15
    </genClasses>
15
    </genClasses>
16
    <genClasses ecoreClass="UmlMessage.ecore#//SequenceTermRule">
16
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/UmlMessage.ecore#//SequenceTermRule">
17
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlMessage.ecore#//SequenceTermRule/sequencialOrder"/>
17
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/UmlMessage.ecore#//SequenceTermRule/sequencialOrder"/>
18
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlMessage.ecore#//SequenceTermRule/sequenceName"/>
18
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/UmlMessage.ecore#//SequenceTermRule/sequenceName"/>
19
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlMessage.ecore#//SequenceTermRule/recurrence"/>
19
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/UmlMessage.ecore#//SequenceTermRule/recurrence"/>
20
    </genClasses>
20
    </genClasses>
21
  </genPackages>
21
  </genPackages>
22
</genmodel:GenModel>
22
</genmodel:GenModel>
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/umlMessage/UmlMessageFactory.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.message.editor.xtext.umlMessage;
7
package org.eclipse.papyrus.message.editor.xtext.umlMessage;
15
8
16
import org.eclipse.emf.ecore.EFactory;
9
import org.eclipse.emf.ecore.EFactory;
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/umlMessage/UmlMessagePackage.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.message.editor.xtext.umlMessage;
7
package org.eclipse.papyrus.message.editor.xtext.umlMessage;
15
8
16
import org.eclipse.emf.ecore.EAttribute;
9
import org.eclipse.emf.ecore.EAttribute;
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/umlMessage/MessageRule.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.message.editor.xtext.umlMessage;
7
package org.eclipse.papyrus.message.editor.xtext.umlMessage;
15
8
16
import org.eclipse.emf.common.util.EList;
9
import org.eclipse.emf.common.util.EList;
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/umlMessage/SequenceTermRule.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.message.editor.xtext.umlMessage;
7
package org.eclipse.papyrus.message.editor.xtext.umlMessage;
15
8
16
import org.eclipse.emf.ecore.EObject;
9
import org.eclipse.emf.ecore.EObject;
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/umlMessage/impl/MessageRuleImpl.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.message.editor.xtext.umlMessage.impl;
7
package org.eclipse.papyrus.message.editor.xtext.umlMessage.impl;
15
8
16
import java.util.Collection;
9
import java.util.Collection;
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/umlMessage/impl/SequenceTermRuleImpl.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.message.editor.xtext.umlMessage.impl;
7
package org.eclipse.papyrus.message.editor.xtext.umlMessage.impl;
15
8
16
import org.eclipse.emf.common.notify.Notification;
9
import org.eclipse.emf.common.notify.Notification;
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/umlMessage/impl/UmlMessagePackageImpl.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.message.editor.xtext.umlMessage.impl;
7
package org.eclipse.papyrus.message.editor.xtext.umlMessage.impl;
15
8
16
import org.eclipse.emf.ecore.EAttribute;
9
import org.eclipse.emf.ecore.EAttribute;
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/umlMessage/impl/UmlMessageFactoryImpl.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.message.editor.xtext.umlMessage.impl;
7
package org.eclipse.papyrus.message.editor.xtext.umlMessage.impl;
15
8
16
import org.eclipse.emf.ecore.EClass;
9
import org.eclipse.emf.ecore.EClass;
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/umlMessage/util/UmlMessageSwitch.java (-43 / +17 lines)
Lines 1-22 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.message.editor.xtext.umlMessage.util;
15
5
16
import java.util.List;
6
 */
7
package org.eclipse.papyrus.message.editor.xtext.umlMessage.util;
17
8
18
import org.eclipse.emf.ecore.EClass;
19
import org.eclipse.emf.ecore.EObject;
9
import org.eclipse.emf.ecore.EObject;
10
import org.eclipse.emf.ecore.EPackage;
11
12
import org.eclipse.emf.ecore.util.Switch;
20
13
21
import org.eclipse.papyrus.message.editor.xtext.umlMessage.*;
14
import org.eclipse.papyrus.message.editor.xtext.umlMessage.*;
22
15
Lines 33-39 Link Here
33
 * @see org.eclipse.papyrus.message.editor.xtext.umlMessage.UmlMessagePackage
26
 * @see org.eclipse.papyrus.message.editor.xtext.umlMessage.UmlMessagePackage
34
 * @generated
27
 * @generated
35
 */
28
 */
36
public class UmlMessageSwitch<T>
29
public class UmlMessageSwitch<T> extends Switch<T>
37
{
30
{
38
  /**
31
  /**
39
   * The cached model package
32
   * The cached model package
Lines 58-72 Link Here
58
  }
51
  }
59
52
60
  /**
53
  /**
61
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
54
   * Checks whether this is a switch for the given package.
62
   * <!-- begin-user-doc -->
55
   * <!-- begin-user-doc -->
63
   * <!-- end-user-doc -->
56
   * <!-- end-user-doc -->
64
   * @return the first non-null result returned by a <code>caseXXX</code> call.
57
   * @parameter ePackage the package in question.
58
   * @return whether this is a switch for the given package.
65
   * @generated
59
   * @generated
66
   */
60
   */
67
  public T doSwitch(EObject theEObject)
61
  @Override
62
  protected boolean isSwitchFor(EPackage ePackage)
68
  {
63
  {
69
    return doSwitch(theEObject.eClass(), theEObject);
64
    return ePackage == modelPackage;
70
  }
65
  }
71
66
72
  /**
67
  /**
Lines 76-104 Link Here
76
   * @return the first non-null result returned by a <code>caseXXX</code> call.
71
   * @return the first non-null result returned by a <code>caseXXX</code> call.
77
   * @generated
72
   * @generated
78
   */
73
   */
79
  protected T doSwitch(EClass theEClass, EObject theEObject)
74
  @Override
80
  {
81
    if (theEClass.eContainer() == modelPackage)
82
    {
83
      return doSwitch(theEClass.getClassifierID(), theEObject);
84
    }
85
    else
86
    {
87
      List<EClass> eSuperTypes = theEClass.getESuperTypes();
88
      return
89
        eSuperTypes.isEmpty() ?
90
          defaultCase(theEObject) :
91
          doSwitch(eSuperTypes.get(0), theEObject);
92
    }
93
  }
94
95
  /**
96
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
97
   * <!-- begin-user-doc -->
98
   * <!-- end-user-doc -->
99
   * @return the first non-null result returned by a <code>caseXXX</code> call.
100
   * @generated
101
   */
102
  protected T doSwitch(int classifierID, EObject theEObject)
75
  protected T doSwitch(int classifierID, EObject theEObject)
103
  {
76
  {
104
    switch (classifierID)
77
    switch (classifierID)
Lines 164-169 Link Here
164
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
137
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
165
   * @generated
138
   * @generated
166
   */
139
   */
140
  @Override
167
  public T defaultCase(EObject object)
141
  public T defaultCase(EObject object)
168
  {
142
  {
169
    return null;
143
    return null;
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/umlMessage/util/UmlMessageAdapterFactory.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.message.editor.xtext.umlMessage.util;
7
package org.eclipse.papyrus.message.editor.xtext.umlMessage.util;
15
8
16
import org.eclipse.emf.common.notify.Adapter;
9
import org.eclipse.emf.common.notify.Adapter;
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/validation/AbstractUmlMessageJavaValidator.java (-14 / +1 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.message.editor.xtext.validation;
1
package org.eclipse.papyrus.message.editor.xtext.validation;
15
 
2
 
16
import java.util.ArrayList;
3
import java.util.ArrayList;
Lines 23-29 Link Here
23
@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class})
10
@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class})
24
public class AbstractUmlMessageJavaValidator extends AbstractDeclarativeValidator {
11
public class AbstractUmlMessageJavaValidator extends AbstractDeclarativeValidator {
25
12
26
@Override
13
	@Override
27
	protected List<EPackage> getEPackages() {
14
	protected List<EPackage> getEPackages() {
28
	    List<EPackage> result = new ArrayList<EPackage>();
15
	    List<EPackage> result = new ArrayList<EPackage>();
29
	    result.add(org.eclipse.papyrus.message.editor.xtext.umlMessage.UmlMessagePackage.eINSTANCE);
16
	    result.add(org.eclipse.papyrus.message.editor.xtext.umlMessage.UmlMessagePackage.eINSTANCE);
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/UmlMessage.ecore (-1 / +2 lines)
Lines 5-11 Link Here
5
    nsURI="http://www.eclipse.org/papyrus/message/editor/xtext/UmlMessage" nsPrefix="umlMessage">
5
    nsURI="http://www.eclipse.org/papyrus/message/editor/xtext/UmlMessage" nsPrefix="umlMessage">
6
  <eClassifiers xsi:type="ecore:EClass" name="MessageRule">
6
  <eClassifiers xsi:type="ecore:EClass" name="MessageRule">
7
    <eStructuralFeatures xsi:type="ecore:EReference" name="sequenceTerm" upperBound="-1"
7
    <eStructuralFeatures xsi:type="ecore:EReference" name="sequenceTerm" upperBound="-1"
8
        eType="#//SequenceTermRule" containment="true"/>
8
        eType="ecore:EClass platform:/resource/org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/UmlMessage.ecore#//SequenceTermRule"
9
        containment="true"/>
9
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
10
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
10
  </eClassifiers>
11
  </eClassifiers>
11
  <eClassifiers xsi:type="ecore:EClass" name="SequenceTermRule">
12
  <eClassifiers xsi:type="ecore:EClass" name="SequenceTermRule">
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/services/UmlMessageGrammarAccess.java (-17 / +7 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/*
2
 * Copyright (c) 2010 CEA LIST.
2
* generated by Xtext
3
 *
3
*/
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
4
15
package org.eclipse.papyrus.message.editor.xtext.services;
5
package org.eclipse.papyrus.message.editor.xtext.services;
16
6
Lines 145-151 Link Here
145
		//sequenceTerm1 = SequenceTermRule
135
		//sequenceTerm1 = SequenceTermRule
146
		//('.' sequenceTerm2 = SequenceTermRule )* 
136
		//('.' sequenceTerm2 = SequenceTermRule )* 
147
		//
137
		//
148
		// * /RecurrenceRule returns ecore::EString:
138
		// * /RecurrenceRule:
149
		//	"*" "[" STRING "]" | "[" STRING "]";
139
		//	"*" "[" STRING "]" | "[" STRING "]";
150
		public ParserRule getRule() { return rule; }
140
		public ParserRule getRule() { return rule; }
151
141
Lines 250-256 Link Here
250
	//sequenceTerm1 = SequenceTermRule
240
	//sequenceTerm1 = SequenceTermRule
251
	//('.' sequenceTerm2 = SequenceTermRule )* 
241
	//('.' sequenceTerm2 = SequenceTermRule )* 
252
	//
242
	//
253
	// * /RecurrenceRule returns ecore::EString:
243
	// * /RecurrenceRule:
254
	//	"*" "[" STRING "]" | "[" STRING "]";
244
	//	"*" "[" STRING "]" | "[" STRING "]";
255
	public RecurrenceRuleElements getRecurrenceRuleAccess() {
245
	public RecurrenceRuleElements getRecurrenceRuleAccess() {
256
		return (pRecurrenceRule != null) ? pRecurrenceRule : (pRecurrenceRule = new RecurrenceRuleElements());
246
		return (pRecurrenceRule != null) ? pRecurrenceRule : (pRecurrenceRule = new RecurrenceRuleElements());
Lines 273-280 Link Here
273
	} 
263
	} 
274
264
275
	//terminal STRING:
265
	//terminal STRING:
276
	//	"\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" | "n" |
266
	//	"\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" |
277
	//	"f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
267
	//	"n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
278
	public TerminalRule getSTRINGRule() {
268
	public TerminalRule getSTRINGRule() {
279
		return gaTerminals.getSTRINGRule();
269
		return gaTerminals.getSTRINGRule();
280
	} 
270
	} 
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/parseTreeConstruction/UmlMessageParsetreeConstructor.java (-13 / +3 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/*
2
 * Copyright (c) 2010 CEA LIST.
2
* generated by Xtext
3
 *
3
*/
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.message.editor.xtext.parseTreeConstruction;
4
package org.eclipse.papyrus.message.editor.xtext.parseTreeConstruction;
15
5
16
import org.eclipse.emf.ecore.*;
6
import org.eclipse.emf.ecore.*;
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/UmlMessageStandaloneSetupGenerated.java (-14 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
1
15
package org.eclipse.papyrus.message.editor.xtext;
2
package org.eclipse.papyrus.message.editor.xtext;
16
3
Lines 52-57 Link Here
52
39
53
40
54
41
55
56
	}
42
	}
57
}
43
}
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/AbstractUmlMessageRuntimeModule.java (-15 / +10 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/*
2
 * Copyright (c) 2010 CEA LIST.
2
 * generated by Xtext
3
 *
3
 */
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.message.editor.xtext;
4
package org.eclipse.papyrus.message.editor.xtext;
15
5
16
import java.util.Properties;
6
import java.util.Properties;
Lines 55-61 Link Here
55
	}
45
	}
56
46
57
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
47
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
58
	public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrParser> bindIAntlrParser() {
48
	public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
59
		return org.eclipse.papyrus.message.editor.xtext.parser.antlr.UmlMessageParser.class;
49
		return org.eclipse.papyrus.message.editor.xtext.parser.antlr.UmlMessageParser.class;
60
	}
50
	}
61
51
Lines 101-107 Link Here
101
91
102
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
92
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
103
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
93
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
104
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named("org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegate")).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
94
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
105
	}
95
	}
106
96
107
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
97
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
Lines 109-114 Link Here
109
		return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
99
		return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
110
	}
100
	}
111
101
102
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
103
	public void configureIgnoreCaseLinking(com.google.inject.Binder binder) {
104
		binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false);
105
	}
106
112
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
107
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
113
	public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
108
	public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
114
		return org.eclipse.xtext.naming.SimpleNameProvider.class;
109
		return org.eclipse.xtext.naming.SimpleNameProvider.class;
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/UmlMessage.xmi (+2 lines)
Lines 158-163 Link Here
158
                <elements xsi:type="xtext:Keyword" value="n"/>
158
                <elements xsi:type="xtext:Keyword" value="n"/>
159
                <elements xsi:type="xtext:Keyword" value="f"/>
159
                <elements xsi:type="xtext:Keyword" value="f"/>
160
                <elements xsi:type="xtext:Keyword" value="r"/>
160
                <elements xsi:type="xtext:Keyword" value="r"/>
161
                <elements xsi:type="xtext:Keyword" value="u"/>
161
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
162
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
162
                <elements xsi:type="xtext:Keyword" value="'"/>
163
                <elements xsi:type="xtext:Keyword" value="'"/>
163
                <elements xsi:type="xtext:Keyword" value="\"/>
164
                <elements xsi:type="xtext:Keyword" value="\"/>
Lines 183-188 Link Here
183
                <elements xsi:type="xtext:Keyword" value="n"/>
184
                <elements xsi:type="xtext:Keyword" value="n"/>
184
                <elements xsi:type="xtext:Keyword" value="f"/>
185
                <elements xsi:type="xtext:Keyword" value="f"/>
185
                <elements xsi:type="xtext:Keyword" value="r"/>
186
                <elements xsi:type="xtext:Keyword" value="r"/>
187
                <elements xsi:type="xtext:Keyword" value="u"/>
186
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
188
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
187
                <elements xsi:type="xtext:Keyword" value="'"/>
189
                <elements xsi:type="xtext:Keyword" value="'"/>
188
                <elements xsi:type="xtext:Keyword" value="\"/>
190
                <elements xsi:type="xtext:Keyword" value="\"/>
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/UmlMessageAntlrTokenFileProvider.java (-13 / +3 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/*
2
 * Copyright (c) 2010 CEA LIST.
2
* generated by Xtext
3
 *
3
*/
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.message.editor.xtext.parser.antlr;
4
package org.eclipse.papyrus.message.editor.xtext.parser.antlr;
15
5
16
import java.io.InputStream;
6
import java.io.InputStream;
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/UmlMessageParser.java (-34 / +7 lines)
Lines 1-26 Link Here
1
/*****************************************************************************
1
/*
2
 * Copyright (c) 2010 CEA LIST.
2
* generated by Xtext
3
 *
3
*/
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.message.editor.xtext.parser.antlr;
4
package org.eclipse.papyrus.message.editor.xtext.parser.antlr;
15
5
16
import org.antlr.runtime.CharStream;
17
import org.antlr.runtime.TokenSource;
18
import org.eclipse.xtext.parser.IParseResult;
19
import org.eclipse.xtext.parser.ParseException;
20
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
21
22
import com.google.inject.Inject;
6
import com.google.inject.Inject;
23
7
8
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
24
import org.eclipse.papyrus.message.editor.xtext.services.UmlMessageGrammarAccess;
9
import org.eclipse.papyrus.message.editor.xtext.services.UmlMessageGrammarAccess;
25
10
26
public class UmlMessageParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
11
public class UmlMessageParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
Lines 29-53 Link Here
29
	private UmlMessageGrammarAccess grammarAccess;
14
	private UmlMessageGrammarAccess grammarAccess;
30
	
15
	
31
	@Override
16
	@Override
32
	protected IParseResult parse(String ruleName, CharStream in) {
17
	protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
33
		TokenSource tokenSource = createLexer(in);
34
		XtextTokenStream tokenStream = createTokenStream(tokenSource);
35
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
18
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
36
		org.eclipse.papyrus.message.editor.xtext.parser.antlr.internal.InternalUmlMessageParser parser = createParser(tokenStream);
37
		parser.setTokenTypeMap(getTokenDefProvider().getTokenDefMap());
38
		parser.setSyntaxErrorProvider(getSyntaxErrorProvider());
39
		parser.setUnorderedGroupHelper(getUnorderedGroupHelper().get());
40
		try {
41
			if(ruleName != null)
42
				return parser.parse(ruleName);
43
			return parser.parse();
44
		} catch (Exception re) {
45
			throw new ParseException(re.getMessage(),re);
46
		}
47
	}
19
	}
48
	
20
	
21
	@Override
49
	protected org.eclipse.papyrus.message.editor.xtext.parser.antlr.internal.InternalUmlMessageParser createParser(XtextTokenStream stream) {
22
	protected org.eclipse.papyrus.message.editor.xtext.parser.antlr.internal.InternalUmlMessageParser createParser(XtextTokenStream stream) {
50
		return new org.eclipse.papyrus.message.editor.xtext.parser.antlr.internal.InternalUmlMessageParser(stream, getElementFactory(), getGrammarAccess());
23
		return new org.eclipse.papyrus.message.editor.xtext.parser.antlr.internal.InternalUmlMessageParser(stream, getGrammarAccess());
51
	}
24
	}
52
	
25
	
53
	@Override 
26
	@Override 
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.tokens (+5 lines)
Lines 1-6 Link Here
1
RULE_NAMERULE=4
1
RULE_NAMERULE=4
2
RULE_ID=6
2
RULE_ID=6
3
RULE_STRING=7
3
RULE_STRING=7
4
T__16=16
5
T__15=15
6
T__12=12
7
T__14=14
8
T__13=13
4
RULE_ANY_OTHER=11
9
RULE_ANY_OTHER=11
5
RULE_INT=5
10
RULE_INT=5
6
RULE_WS=10
11
RULE_WS=10
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessageLexer.java (-195 / +269 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.message.editor.xtext.parser.antlr.internal;
1
package org.eclipse.papyrus.message.editor.xtext.parser.antlr.internal;
15
2
16
// Hack: Use our own Lexer superclass by means of import. 
3
// Hack: Use our own Lexer superclass by means of import. 
Lines 28-159 Link Here
28
    public static final int RULE_NAMERULE=4;
15
    public static final int RULE_NAMERULE=4;
29
    public static final int RULE_ID=6;
16
    public static final int RULE_ID=6;
30
    public static final int RULE_STRING=7;
17
    public static final int RULE_STRING=7;
18
    public static final int T__16=16;
19
    public static final int T__15=15;
20
    public static final int T__12=12;
21
    public static final int T__14=14;
22
    public static final int T__13=13;
31
    public static final int RULE_ANY_OTHER=11;
23
    public static final int RULE_ANY_OTHER=11;
32
    public static final int RULE_INT=5;
24
    public static final int RULE_INT=5;
33
    public static final int T12=12;
34
    public static final int T13=13;
35
    public static final int T14=14;
36
    public static final int T15=15;
37
    public static final int RULE_WS=10;
25
    public static final int RULE_WS=10;
38
    public static final int Tokens=17;
39
    public static final int T16=16;
40
    public static final int RULE_SL_COMMENT=9;
26
    public static final int RULE_SL_COMMENT=9;
41
    public static final int EOF=-1;
27
    public static final int EOF=-1;
42
    public static final int RULE_ML_COMMENT=8;
28
    public static final int RULE_ML_COMMENT=8;
29
30
    // delegates
31
    // delegators
32
43
    public InternalUmlMessageLexer() {;} 
33
    public InternalUmlMessageLexer() {;} 
44
    public InternalUmlMessageLexer(CharStream input) {
34
    public InternalUmlMessageLexer(CharStream input) {
45
        super(input);
35
        this(input, new RecognizerSharedState());
36
    }
37
    public InternalUmlMessageLexer(CharStream input, RecognizerSharedState state) {
38
        super(input,state);
39
46
    }
40
    }
47
    public String getGrammarFileName() { return "../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g"; }
41
    public String getGrammarFileName() { return "../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g"; }
48
42
49
    // $ANTLR start T12
43
    // $ANTLR start "T__12"
50
    public final void mT12() throws RecognitionException {
44
    public final void mT__12() throws RecognitionException {
51
        try {
45
        try {
52
            int _type = T12;
46
            int _type = T__12;
53
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:10:5: ( '.' )
47
            int _channel = DEFAULT_TOKEN_CHANNEL;
54
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:10:7: '.'
48
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:11:7: ( '.' )
49
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:11:9: '.'
55
            {
50
            {
56
            match('.'); 
51
            match('.'); 
57
52
58
            }
53
            }
59
54
60
            this.type = _type;
55
            state.type = _type;
56
            state.channel = _channel;
61
        }
57
        }
62
        finally {
58
        finally {
63
        }
59
        }
64
    }
60
    }
65
    // $ANTLR end T12
61
    // $ANTLR end "T__12"
66
62
67
    // $ANTLR start T13
63
    // $ANTLR start "T__13"
68
    public final void mT13() throws RecognitionException {
64
    public final void mT__13() throws RecognitionException {
69
        try {
65
        try {
70
            int _type = T13;
66
            int _type = T__13;
71
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:11:5: ( ':' )
67
            int _channel = DEFAULT_TOKEN_CHANNEL;
72
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:11:7: ':'
68
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:12:7: ( ':' )
69
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:12:9: ':'
73
            {
70
            {
74
            match(':'); 
71
            match(':'); 
75
72
76
            }
73
            }
77
74
78
            this.type = _type;
75
            state.type = _type;
76
            state.channel = _channel;
79
        }
77
        }
80
        finally {
78
        finally {
81
        }
79
        }
82
    }
80
    }
83
    // $ANTLR end T13
81
    // $ANTLR end "T__13"
84
82
85
    // $ANTLR start T14
83
    // $ANTLR start "T__14"
86
    public final void mT14() throws RecognitionException {
84
    public final void mT__14() throws RecognitionException {
87
        try {
85
        try {
88
            int _type = T14;
86
            int _type = T__14;
89
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:12:5: ( '*' )
87
            int _channel = DEFAULT_TOKEN_CHANNEL;
90
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:12:7: '*'
88
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:13:7: ( '*' )
89
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:13:9: '*'
91
            {
90
            {
92
            match('*'); 
91
            match('*'); 
93
92
94
            }
93
            }
95
94
96
            this.type = _type;
95
            state.type = _type;
96
            state.channel = _channel;
97
        }
97
        }
98
        finally {
98
        finally {
99
        }
99
        }
100
    }
100
    }
101
    // $ANTLR end T14
101
    // $ANTLR end "T__14"
102
102
103
    // $ANTLR start T15
103
    // $ANTLR start "T__15"
104
    public final void mT15() throws RecognitionException {
104
    public final void mT__15() throws RecognitionException {
105
        try {
105
        try {
106
            int _type = T15;
106
            int _type = T__15;
107
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:13:5: ( '[' )
107
            int _channel = DEFAULT_TOKEN_CHANNEL;
108
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:13:7: '['
108
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:14:7: ( '[' )
109
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:14:9: '['
109
            {
110
            {
110
            match('['); 
111
            match('['); 
111
112
112
            }
113
            }
113
114
114
            this.type = _type;
115
            state.type = _type;
116
            state.channel = _channel;
115
        }
117
        }
116
        finally {
118
        finally {
117
        }
119
        }
118
    }
120
    }
119
    // $ANTLR end T15
121
    // $ANTLR end "T__15"
120
122
121
    // $ANTLR start T16
123
    // $ANTLR start "T__16"
122
    public final void mT16() throws RecognitionException {
124
    public final void mT__16() throws RecognitionException {
123
        try {
125
        try {
124
            int _type = T16;
126
            int _type = T__16;
125
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:14:5: ( ']' )
127
            int _channel = DEFAULT_TOKEN_CHANNEL;
126
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:14:7: ']'
128
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:15:7: ( ']' )
129
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:15:9: ']'
127
            {
130
            {
128
            match(']'); 
131
            match(']'); 
129
132
130
            }
133
            }
131
134
132
            this.type = _type;
135
            state.type = _type;
136
            state.channel = _channel;
133
        }
137
        }
134
        finally {
138
        finally {
135
        }
139
        }
136
    }
140
    }
137
    // $ANTLR end T16
141
    // $ANTLR end "T__16"
138
142
139
    // $ANTLR start RULE_NAMERULE
143
    // $ANTLR start "RULE_NAMERULE"
140
    public final void mRULE_NAMERULE() throws RecognitionException {
144
    public final void mRULE_NAMERULE() throws RecognitionException {
141
        try {
145
        try {
142
            int _type = RULE_NAMERULE;
146
            int _type = RULE_NAMERULE;
143
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:342:15: ( ( 'a' .. 'z' | 'A' .. 'Z' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )* )
147
            int _channel = DEFAULT_TOKEN_CHANNEL;
144
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:342:17: ( 'a' .. 'z' | 'A' .. 'Z' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )*
148
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:290:15: ( ( 'a' .. 'z' | 'A' .. 'Z' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )* )
149
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:290:17: ( 'a' .. 'z' | 'A' .. 'Z' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )*
145
            {
150
            {
146
            if ( (input.LA(1)>='A' && input.LA(1)<='Z')||(input.LA(1)>='a' && input.LA(1)<='z') ) {
151
            if ( (input.LA(1)>='A' && input.LA(1)<='Z')||(input.LA(1)>='a' && input.LA(1)<='z') ) {
147
                input.consume();
152
                input.consume();
148
153
149
            }
154
            }
150
            else {
155
            else {
151
                MismatchedSetException mse =
156
                MismatchedSetException mse = new MismatchedSetException(null,input);
152
                    new MismatchedSetException(null,input);
157
                recover(mse);
153
                recover(mse);    throw mse;
158
                throw mse;}
154
            }
155
159
156
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:342:37: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )*
160
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:290:37: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )*
157
            loop1:
161
            loop1:
158
            do {
162
            do {
159
                int alt1=2;
163
                int alt1=2;
Lines 173-182 Link Here
173
177
174
            	    }
178
            	    }
175
            	    else {
179
            	    else {
176
            	        MismatchedSetException mse =
180
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
177
            	            new MismatchedSetException(null,input);
181
            	        recover(mse);
178
            	        recover(mse);    throw mse;
182
            	        throw mse;}
179
            	    }
180
183
181
184
182
            	    }
185
            	    }
Lines 190-210 Link Here
190
193
191
            }
194
            }
192
195
193
            this.type = _type;
196
            state.type = _type;
197
            state.channel = _channel;
194
        }
198
        }
195
        finally {
199
        finally {
196
        }
200
        }
197
    }
201
    }
198
    // $ANTLR end RULE_NAMERULE
202
    // $ANTLR end "RULE_NAMERULE"
199
203
200
    // $ANTLR start RULE_ID
204
    // $ANTLR start "RULE_ID"
201
    public final void mRULE_ID() throws RecognitionException {
205
    public final void mRULE_ID() throws RecognitionException {
202
        try {
206
        try {
203
            int _type = RULE_ID;
207
            int _type = RULE_ID;
204
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:344:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
208
            int _channel = DEFAULT_TOKEN_CHANNEL;
205
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:344:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
209
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:292:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
210
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:292:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
206
            {
211
            {
207
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:344:11: ( '^' )?
212
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:292:11: ( '^' )?
208
            int alt2=2;
213
            int alt2=2;
209
            int LA2_0 = input.LA(1);
214
            int LA2_0 = input.LA(1);
210
215
Lines 213-219 Link Here
213
            }
218
            }
214
            switch (alt2) {
219
            switch (alt2) {
215
                case 1 :
220
                case 1 :
216
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:344:11: '^'
221
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:292:11: '^'
217
                    {
222
                    {
218
                    match('^'); 
223
                    match('^'); 
219
224
Lines 227-238 Link Here
227
232
228
            }
233
            }
229
            else {
234
            else {
230
                MismatchedSetException mse =
235
                MismatchedSetException mse = new MismatchedSetException(null,input);
231
                    new MismatchedSetException(null,input);
236
                recover(mse);
232
                recover(mse);    throw mse;
237
                throw mse;}
233
            }
234
238
235
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:344:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
239
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:292:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
236
            loop3:
240
            loop3:
237
            do {
241
            do {
238
                int alt3=2;
242
                int alt3=2;
Lines 252-261 Link Here
252
256
253
            	    }
257
            	    }
254
            	    else {
258
            	    else {
255
            	        MismatchedSetException mse =
259
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
256
            	            new MismatchedSetException(null,input);
260
            	        recover(mse);
257
            	        recover(mse);    throw mse;
261
            	        throw mse;}
258
            	    }
259
262
260
263
261
            	    }
264
            	    }
Lines 269-289 Link Here
269
272
270
            }
273
            }
271
274
272
            this.type = _type;
275
            state.type = _type;
276
            state.channel = _channel;
273
        }
277
        }
274
        finally {
278
        finally {
275
        }
279
        }
276
    }
280
    }
277
    // $ANTLR end RULE_ID
281
    // $ANTLR end "RULE_ID"
278
282
279
    // $ANTLR start RULE_INT
283
    // $ANTLR start "RULE_INT"
280
    public final void mRULE_INT() throws RecognitionException {
284
    public final void mRULE_INT() throws RecognitionException {
281
        try {
285
        try {
282
            int _type = RULE_INT;
286
            int _type = RULE_INT;
283
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:346:10: ( ( '0' .. '9' )+ )
287
            int _channel = DEFAULT_TOKEN_CHANNEL;
284
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:346:12: ( '0' .. '9' )+
288
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:294:10: ( ( '0' .. '9' )+ )
289
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:294:12: ( '0' .. '9' )+
285
            {
290
            {
286
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:346:12: ( '0' .. '9' )+
291
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:294:12: ( '0' .. '9' )+
287
            int cnt4=0;
292
            int cnt4=0;
288
            loop4:
293
            loop4:
289
            do {
294
            do {
Lines 297-303 Link Here
297
302
298
                switch (alt4) {
303
                switch (alt4) {
299
            	case 1 :
304
            	case 1 :
300
            	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:346:13: '0' .. '9'
305
            	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:294:13: '0' .. '9'
301
            	    {
306
            	    {
302
            	    matchRange('0','9'); 
307
            	    matchRange('0','9'); 
303
308
Lines 316-336 Link Here
316
321
317
            }
322
            }
318
323
319
            this.type = _type;
324
            state.type = _type;
325
            state.channel = _channel;
320
        }
326
        }
321
        finally {
327
        finally {
322
        }
328
        }
323
    }
329
    }
324
    // $ANTLR end RULE_INT
330
    // $ANTLR end "RULE_INT"
325
331
326
    // $ANTLR start RULE_STRING
332
    // $ANTLR start "RULE_STRING"
327
    public final void mRULE_STRING() throws RecognitionException {
333
    public final void mRULE_STRING() throws RecognitionException {
328
        try {
334
        try {
329
            int _type = RULE_STRING;
335
            int _type = RULE_STRING;
330
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:348:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
336
            int _channel = DEFAULT_TOKEN_CHANNEL;
331
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:348:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
337
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:296:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
338
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:296:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
332
            {
339
            {
333
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:348:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
340
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:296:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
334
            int alt7=2;
341
            int alt7=2;
335
            int LA7_0 = input.LA(1);
342
            int LA7_0 = input.LA(1);
336
343
Lines 342-357 Link Here
342
            }
349
            }
343
            else {
350
            else {
344
                NoViableAltException nvae =
351
                NoViableAltException nvae =
345
                    new NoViableAltException("348:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 7, 0, input);
352
                    new NoViableAltException("", 7, 0, input);
346
353
347
                throw nvae;
354
                throw nvae;
348
            }
355
            }
349
            switch (alt7) {
356
            switch (alt7) {
350
                case 1 :
357
                case 1 :
351
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:348:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
358
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:296:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
352
                    {
359
                    {
353
                    match('\"'); 
360
                    match('\"'); 
354
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:348:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
361
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:296:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
355
                    loop5:
362
                    loop5:
356
                    do {
363
                    do {
357
                        int alt5=3;
364
                        int alt5=3;
Lines 360-400 Link Here
360
                        if ( (LA5_0=='\\') ) {
367
                        if ( (LA5_0=='\\') ) {
361
                            alt5=1;
368
                            alt5=1;
362
                        }
369
                        }
363
                        else if ( ((LA5_0>='\u0000' && LA5_0<='!')||(LA5_0>='#' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFE')) ) {
370
                        else if ( ((LA5_0>='\u0000' && LA5_0<='!')||(LA5_0>='#' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) {
364
                            alt5=2;
371
                            alt5=2;
365
                        }
372
                        }
366
373
367
374
368
                        switch (alt5) {
375
                        switch (alt5) {
369
                    	case 1 :
376
                    	case 1 :
370
                    	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:348:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
377
                    	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:296:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
371
                    	    {
378
                    	    {
372
                    	    match('\\'); 
379
                    	    match('\\'); 
373
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
380
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
374
                    	        input.consume();
381
                    	        input.consume();
375
382
376
                    	    }
383
                    	    }
377
                    	    else {
384
                    	    else {
378
                    	        MismatchedSetException mse =
385
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
379
                    	            new MismatchedSetException(null,input);
386
                    	        recover(mse);
380
                    	        recover(mse);    throw mse;
387
                    	        throw mse;}
381
                    	    }
382
388
383
389
384
                    	    }
390
                    	    }
385
                    	    break;
391
                    	    break;
386
                    	case 2 :
392
                    	case 2 :
387
                    	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:348:62: ~ ( ( '\\\\' | '\"' ) )
393
                    	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:296:66: ~ ( ( '\\\\' | '\"' ) )
388
                    	    {
394
                    	    {
389
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
395
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
390
                    	        input.consume();
396
                    	        input.consume();
391
397
392
                    	    }
398
                    	    }
393
                    	    else {
399
                    	    else {
394
                    	        MismatchedSetException mse =
400
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
395
                    	            new MismatchedSetException(null,input);
401
                    	        recover(mse);
396
                    	        recover(mse);    throw mse;
402
                    	        throw mse;}
397
                    	    }
398
403
399
404
400
                    	    }
405
                    	    }
Lines 410-419 Link Here
410
                    }
415
                    }
411
                    break;
416
                    break;
412
                case 2 :
417
                case 2 :
413
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:348:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
418
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:296:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
414
                    {
419
                    {
415
                    match('\''); 
420
                    match('\''); 
416
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:348:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
421
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:296:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
417
                    loop6:
422
                    loop6:
418
                    do {
423
                    do {
419
                        int alt6=3;
424
                        int alt6=3;
Lines 422-462 Link Here
422
                        if ( (LA6_0=='\\') ) {
427
                        if ( (LA6_0=='\\') ) {
423
                            alt6=1;
428
                            alt6=1;
424
                        }
429
                        }
425
                        else if ( ((LA6_0>='\u0000' && LA6_0<='&')||(LA6_0>='(' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFE')) ) {
430
                        else if ( ((LA6_0>='\u0000' && LA6_0<='&')||(LA6_0>='(' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) {
426
                            alt6=2;
431
                            alt6=2;
427
                        }
432
                        }
428
433
429
434
430
                        switch (alt6) {
435
                        switch (alt6) {
431
                    	case 1 :
436
                    	case 1 :
432
                    	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:348:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
437
                    	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:296:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
433
                    	    {
438
                    	    {
434
                    	    match('\\'); 
439
                    	    match('\\'); 
435
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
440
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
436
                    	        input.consume();
441
                    	        input.consume();
437
442
438
                    	    }
443
                    	    }
439
                    	    else {
444
                    	    else {
440
                    	        MismatchedSetException mse =
445
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
441
                    	            new MismatchedSetException(null,input);
446
                    	        recover(mse);
442
                    	        recover(mse);    throw mse;
447
                    	        throw mse;}
443
                    	    }
444
448
445
449
446
                    	    }
450
                    	    }
447
                    	    break;
451
                    	    break;
448
                    	case 2 :
452
                    	case 2 :
449
                    	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:348:129: ~ ( ( '\\\\' | '\\'' ) )
453
                    	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:296:137: ~ ( ( '\\\\' | '\\'' ) )
450
                    	    {
454
                    	    {
451
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
455
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
452
                    	        input.consume();
456
                    	        input.consume();
453
457
454
                    	    }
458
                    	    }
455
                    	    else {
459
                    	    else {
456
                    	        MismatchedSetException mse =
460
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
457
                    	            new MismatchedSetException(null,input);
461
                    	        recover(mse);
458
                    	        recover(mse);    throw mse;
462
                    	        throw mse;}
459
                    	    }
460
463
461
464
462
                    	    }
465
                    	    }
Lines 477-499 Link Here
477
480
478
            }
481
            }
479
482
480
            this.type = _type;
483
            state.type = _type;
484
            state.channel = _channel;
481
        }
485
        }
482
        finally {
486
        finally {
483
        }
487
        }
484
    }
488
    }
485
    // $ANTLR end RULE_STRING
489
    // $ANTLR end "RULE_STRING"
486
490
487
    // $ANTLR start RULE_ML_COMMENT
491
    // $ANTLR start "RULE_ML_COMMENT"
488
    public final void mRULE_ML_COMMENT() throws RecognitionException {
492
    public final void mRULE_ML_COMMENT() throws RecognitionException {
489
        try {
493
        try {
490
            int _type = RULE_ML_COMMENT;
494
            int _type = RULE_ML_COMMENT;
491
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:350:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
495
            int _channel = DEFAULT_TOKEN_CHANNEL;
492
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:350:19: '/*' ( options {greedy=false; } : . )* '*/'
496
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:298:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
497
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:298:19: '/*' ( options {greedy=false; } : . )* '*/'
493
            {
498
            {
494
            match("/*"); 
499
            match("/*"); 
495
500
496
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:350:24: ( options {greedy=false; } : . )*
501
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:298:24: ( options {greedy=false; } : . )*
497
            loop8:
502
            loop8:
498
            do {
503
            do {
499
                int alt8=2;
504
                int alt8=2;
Lines 505-524 Link Here
505
                    if ( (LA8_1=='/') ) {
510
                    if ( (LA8_1=='/') ) {
506
                        alt8=2;
511
                        alt8=2;
507
                    }
512
                    }
508
                    else if ( ((LA8_1>='\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\uFFFE')) ) {
513
                    else if ( ((LA8_1>='\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\uFFFF')) ) {
509
                        alt8=1;
514
                        alt8=1;
510
                    }
515
                    }
511
516
512
517
513
                }
518
                }
514
                else if ( ((LA8_0>='\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\uFFFE')) ) {
519
                else if ( ((LA8_0>='\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\uFFFF')) ) {
515
                    alt8=1;
520
                    alt8=1;
516
                }
521
                }
517
522
518
523
519
                switch (alt8) {
524
                switch (alt8) {
520
            	case 1 :
525
            	case 1 :
521
            	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:350:52: .
526
            	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:298:52: .
522
            	    {
527
            	    {
523
            	    matchAny(); 
528
            	    matchAny(); 
524
529
Lines 535-580 Link Here
535
540
536
            }
541
            }
537
542
538
            this.type = _type;
543
            state.type = _type;
544
            state.channel = _channel;
539
        }
545
        }
540
        finally {
546
        finally {
541
        }
547
        }
542
    }
548
    }
543
    // $ANTLR end RULE_ML_COMMENT
549
    // $ANTLR end "RULE_ML_COMMENT"
544
550
545
    // $ANTLR start RULE_SL_COMMENT
551
    // $ANTLR start "RULE_SL_COMMENT"
546
    public final void mRULE_SL_COMMENT() throws RecognitionException {
552
    public final void mRULE_SL_COMMENT() throws RecognitionException {
547
        try {
553
        try {
548
            int _type = RULE_SL_COMMENT;
554
            int _type = RULE_SL_COMMENT;
549
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:352:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
555
            int _channel = DEFAULT_TOKEN_CHANNEL;
550
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:352:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
556
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:300:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
557
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:300:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
551
            {
558
            {
552
            match("//"); 
559
            match("//"); 
553
560
554
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:352:24: (~ ( ( '\\n' | '\\r' ) ) )*
561
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:300:24: (~ ( ( '\\n' | '\\r' ) ) )*
555
            loop9:
562
            loop9:
556
            do {
563
            do {
557
                int alt9=2;
564
                int alt9=2;
558
                int LA9_0 = input.LA(1);
565
                int LA9_0 = input.LA(1);
559
566
560
                if ( ((LA9_0>='\u0000' && LA9_0<='\t')||(LA9_0>='\u000B' && LA9_0<='\f')||(LA9_0>='\u000E' && LA9_0<='\uFFFE')) ) {
567
                if ( ((LA9_0>='\u0000' && LA9_0<='\t')||(LA9_0>='\u000B' && LA9_0<='\f')||(LA9_0>='\u000E' && LA9_0<='\uFFFF')) ) {
561
                    alt9=1;
568
                    alt9=1;
562
                }
569
                }
563
570
564
571
565
                switch (alt9) {
572
                switch (alt9) {
566
            	case 1 :
573
            	case 1 :
567
            	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:352:24: ~ ( ( '\\n' | '\\r' ) )
574
            	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:300:24: ~ ( ( '\\n' | '\\r' ) )
568
            	    {
575
            	    {
569
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFE') ) {
576
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
570
            	        input.consume();
577
            	        input.consume();
571
578
572
            	    }
579
            	    }
573
            	    else {
580
            	    else {
574
            	        MismatchedSetException mse =
581
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
575
            	            new MismatchedSetException(null,input);
582
            	        recover(mse);
576
            	        recover(mse);    throw mse;
583
            	        throw mse;}
577
            	    }
578
584
579
585
580
            	    }
586
            	    }
Lines 585-591 Link Here
585
                }
591
                }
586
            } while (true);
592
            } while (true);
587
593
588
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:352:40: ( ( '\\r' )? '\\n' )?
594
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:300:40: ( ( '\\r' )? '\\n' )?
589
            int alt11=2;
595
            int alt11=2;
590
            int LA11_0 = input.LA(1);
596
            int LA11_0 = input.LA(1);
591
597
Lines 594-602 Link Here
594
            }
600
            }
595
            switch (alt11) {
601
            switch (alt11) {
596
                case 1 :
602
                case 1 :
597
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:352:41: ( '\\r' )? '\\n'
603
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:300:41: ( '\\r' )? '\\n'
598
                    {
604
                    {
599
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:352:41: ( '\\r' )?
605
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:300:41: ( '\\r' )?
600
                    int alt10=2;
606
                    int alt10=2;
601
                    int LA10_0 = input.LA(1);
607
                    int LA10_0 = input.LA(1);
602
608
Lines 605-611 Link Here
605
                    }
611
                    }
606
                    switch (alt10) {
612
                    switch (alt10) {
607
                        case 1 :
613
                        case 1 :
608
                            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:352:41: '\\r'
614
                            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:300:41: '\\r'
609
                            {
615
                            {
610
                            match('\r'); 
616
                            match('\r'); 
611
617
Lines 624-644 Link Here
624
630
625
            }
631
            }
626
632
627
            this.type = _type;
633
            state.type = _type;
634
            state.channel = _channel;
628
        }
635
        }
629
        finally {
636
        finally {
630
        }
637
        }
631
    }
638
    }
632
    // $ANTLR end RULE_SL_COMMENT
639
    // $ANTLR end "RULE_SL_COMMENT"
633
640
634
    // $ANTLR start RULE_WS
641
    // $ANTLR start "RULE_WS"
635
    public final void mRULE_WS() throws RecognitionException {
642
    public final void mRULE_WS() throws RecognitionException {
636
        try {
643
        try {
637
            int _type = RULE_WS;
644
            int _type = RULE_WS;
638
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:354:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
645
            int _channel = DEFAULT_TOKEN_CHANNEL;
639
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:354:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
646
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:302:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
647
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:302:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
640
            {
648
            {
641
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:354:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
649
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:302:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
642
            int cnt12=0;
650
            int cnt12=0;
643
            loop12:
651
            loop12:
644
            do {
652
            do {
Lines 659-668 Link Here
659
667
660
            	    }
668
            	    }
661
            	    else {
669
            	    else {
662
            	        MismatchedSetException mse =
670
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
663
            	            new MismatchedSetException(null,input);
671
            	        recover(mse);
664
            	        recover(mse);    throw mse;
672
            	        throw mse;}
665
            	    }
666
673
667
674
668
            	    }
675
            	    }
Lines 680-801 Link Here
680
687
681
            }
688
            }
682
689
683
            this.type = _type;
690
            state.type = _type;
691
            state.channel = _channel;
684
        }
692
        }
685
        finally {
693
        finally {
686
        }
694
        }
687
    }
695
    }
688
    // $ANTLR end RULE_WS
696
    // $ANTLR end "RULE_WS"
689
697
690
    // $ANTLR start RULE_ANY_OTHER
698
    // $ANTLR start "RULE_ANY_OTHER"
691
    public final void mRULE_ANY_OTHER() throws RecognitionException {
699
    public final void mRULE_ANY_OTHER() throws RecognitionException {
692
        try {
700
        try {
693
            int _type = RULE_ANY_OTHER;
701
            int _type = RULE_ANY_OTHER;
694
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:356:16: ( . )
702
            int _channel = DEFAULT_TOKEN_CHANNEL;
695
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:356:18: .
703
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:304:16: ( . )
704
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:304:18: .
696
            {
705
            {
697
            matchAny(); 
706
            matchAny(); 
698
707
699
            }
708
            }
700
709
701
            this.type = _type;
710
            state.type = _type;
711
            state.channel = _channel;
702
        }
712
        }
703
        finally {
713
        finally {
704
        }
714
        }
705
    }
715
    }
706
    // $ANTLR end RULE_ANY_OTHER
716
    // $ANTLR end "RULE_ANY_OTHER"
707
717
708
    public void mTokens() throws RecognitionException {
718
    public void mTokens() throws RecognitionException {
709
        // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:8: ( T12 | T13 | T14 | T15 | T16 | RULE_NAMERULE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
719
        // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | RULE_NAMERULE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
710
        int alt13=13;
720
        int alt13=13;
711
        alt13 = dfa13.predict(input);
721
        alt13 = dfa13.predict(input);
712
        switch (alt13) {
722
        switch (alt13) {
713
            case 1 :
723
            case 1 :
714
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:10: T12
724
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:10: T__12
715
                {
725
                {
716
                mT12(); 
726
                mT__12(); 
717
727
718
                }
728
                }
719
                break;
729
                break;
720
            case 2 :
730
            case 2 :
721
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:14: T13
731
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:16: T__13
722
                {
732
                {
723
                mT13(); 
733
                mT__13(); 
724
734
725
                }
735
                }
726
                break;
736
                break;
727
            case 3 :
737
            case 3 :
728
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:18: T14
738
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:22: T__14
729
                {
739
                {
730
                mT14(); 
740
                mT__14(); 
731
741
732
                }
742
                }
733
                break;
743
                break;
734
            case 4 :
744
            case 4 :
735
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:22: T15
745
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:28: T__15
736
                {
746
                {
737
                mT15(); 
747
                mT__15(); 
738
748
739
                }
749
                }
740
                break;
750
                break;
741
            case 5 :
751
            case 5 :
742
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:26: T16
752
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:34: T__16
743
                {
753
                {
744
                mT16(); 
754
                mT__16(); 
745
755
746
                }
756
                }
747
                break;
757
                break;
748
            case 6 :
758
            case 6 :
749
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:30: RULE_NAMERULE
759
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:40: RULE_NAMERULE
750
                {
760
                {
751
                mRULE_NAMERULE(); 
761
                mRULE_NAMERULE(); 
752
762
753
                }
763
                }
754
                break;
764
                break;
755
            case 7 :
765
            case 7 :
756
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:44: RULE_ID
766
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:54: RULE_ID
757
                {
767
                {
758
                mRULE_ID(); 
768
                mRULE_ID(); 
759
769
760
                }
770
                }
761
                break;
771
                break;
762
            case 8 :
772
            case 8 :
763
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:52: RULE_INT
773
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:62: RULE_INT
764
                {
774
                {
765
                mRULE_INT(); 
775
                mRULE_INT(); 
766
776
767
                }
777
                }
768
                break;
778
                break;
769
            case 9 :
779
            case 9 :
770
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:61: RULE_STRING
780
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:71: RULE_STRING
771
                {
781
                {
772
                mRULE_STRING(); 
782
                mRULE_STRING(); 
773
783
774
                }
784
                }
775
                break;
785
                break;
776
            case 10 :
786
            case 10 :
777
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:73: RULE_ML_COMMENT
787
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:83: RULE_ML_COMMENT
778
                {
788
                {
779
                mRULE_ML_COMMENT(); 
789
                mRULE_ML_COMMENT(); 
780
790
781
                }
791
                }
782
                break;
792
                break;
783
            case 11 :
793
            case 11 :
784
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:89: RULE_SL_COMMENT
794
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:99: RULE_SL_COMMENT
785
                {
795
                {
786
                mRULE_SL_COMMENT(); 
796
                mRULE_SL_COMMENT(); 
787
797
788
                }
798
                }
789
                break;
799
                break;
790
            case 12 :
800
            case 12 :
791
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:105: RULE_WS
801
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:115: RULE_WS
792
                {
802
                {
793
                mRULE_WS(); 
803
                mRULE_WS(); 
794
804
795
                }
805
                }
796
                break;
806
                break;
797
            case 13 :
807
            case 13 :
798
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:113: RULE_ANY_OTHER
808
                // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:1:123: RULE_ANY_OTHER
799
                {
809
                {
800
                mRULE_ANY_OTHER(); 
810
                mRULE_ANY_OTHER(); 
801
811
Lines 815-830 Link Here
815
    static final String DFA13_minS =
825
    static final String DFA13_minS =
816
        "\1\0\5\uffff\1\60\1\101\2\uffff\2\0\1\52\7\uffff\1\60\7\uffff";
826
        "\1\0\5\uffff\1\60\1\101\2\uffff\2\0\1\52\7\uffff\1\60\7\uffff";
817
    static final String DFA13_maxS =
827
    static final String DFA13_maxS =
818
        "\1\ufffe\5\uffff\2\172\2\uffff\2\ufffe\1\57\7\uffff\1\172\7\uffff";
828
        "\1\uffff\5\uffff\2\172\2\uffff\2\uffff\1\57\7\uffff\1\172\7\uffff";
819
    static final String DFA13_acceptS =
829
    static final String DFA13_acceptS =
820
        "\1\uffff\1\1\1\2\1\3\1\4\1\5\2\uffff\1\7\1\10\3\uffff\1\14\1\15"+
830
        "\1\uffff\1\1\1\2\1\3\1\4\1\5\2\uffff\1\7\1\10\3\uffff\1\14\1\15"+
821
        "\1\1\1\2\1\3\1\4\1\5\1\uffff\1\6\1\7\1\10\1\11\1\12\1\13\1\14";
831
        "\1\1\1\2\1\3\1\4\1\5\1\uffff\1\6\1\7\1\10\1\11\1\12\1\13\1\14";
822
    static final String DFA13_specialS =
832
    static final String DFA13_specialS =
823
        "\34\uffff}>";
833
        "\1\0\11\uffff\1\2\1\1\20\uffff}>";
824
    static final String[] DFA13_transitionS = {
834
    static final String[] DFA13_transitionS = {
825
            "\11\16\2\15\2\16\1\15\22\16\1\15\1\16\1\12\4\16\1\13\2\16\1"+
835
            "\11\16\2\15\2\16\1\15\22\16\1\15\1\16\1\12\4\16\1\13\2\16\1"+
826
            "\3\3\16\1\1\1\14\12\11\1\2\6\16\32\6\1\4\1\16\1\5\1\7\1\10\1"+
836
            "\3\3\16\1\1\1\14\12\11\1\2\6\16\32\6\1\4\1\16\1\5\1\7\1\10\1"+
827
            "\16\32\6\uff84\16",
837
            "\16\32\6\uff85\16",
828
            "",
838
            "",
829
            "",
839
            "",
830
            "",
840
            "",
Lines 834-841 Link Here
834
            "\32\26\4\uffff\1\26\1\uffff\32\26",
844
            "\32\26\4\uffff\1\26\1\uffff\32\26",
835
            "",
845
            "",
836
            "",
846
            "",
837
            "\uffff\30",
847
            "\0\30",
838
            "\uffff\30",
848
            "\0\30",
839
            "\1\31\4\uffff\1\32",
849
            "\1\31\4\uffff\1\32",
840
            "",
850
            "",
841
            "",
851
            "",
Lines 884-890 Link Here
884
            this.transition = DFA13_transition;
894
            this.transition = DFA13_transition;
885
        }
895
        }
886
        public String getDescription() {
896
        public String getDescription() {
887
            return "1:1: Tokens : ( T12 | T13 | T14 | T15 | T16 | RULE_NAMERULE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
897
            return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | RULE_NAMERULE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
898
        }
899
        public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
900
            IntStream input = _input;
901
        	int _s = s;
902
            switch ( s ) {
903
                    case 0 : 
904
                        int LA13_0 = input.LA(1);
905
906
                        s = -1;
907
                        if ( (LA13_0=='.') ) {s = 1;}
908
909
                        else if ( (LA13_0==':') ) {s = 2;}
910
911
                        else if ( (LA13_0=='*') ) {s = 3;}
912
913
                        else if ( (LA13_0=='[') ) {s = 4;}
914
915
                        else if ( (LA13_0==']') ) {s = 5;}
916
917
                        else if ( ((LA13_0>='A' && LA13_0<='Z')||(LA13_0>='a' && LA13_0<='z')) ) {s = 6;}
918
919
                        else if ( (LA13_0=='^') ) {s = 7;}
920
921
                        else if ( (LA13_0=='_') ) {s = 8;}
922
923
                        else if ( ((LA13_0>='0' && LA13_0<='9')) ) {s = 9;}
924
925
                        else if ( (LA13_0=='\"') ) {s = 10;}
926
927
                        else if ( (LA13_0=='\'') ) {s = 11;}
928
929
                        else if ( (LA13_0=='/') ) {s = 12;}
930
931
                        else if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) {s = 13;}
932
933
                        else if ( ((LA13_0>='\u0000' && LA13_0<='\b')||(LA13_0>='\u000B' && LA13_0<='\f')||(LA13_0>='\u000E' && LA13_0<='\u001F')||LA13_0=='!'||(LA13_0>='#' && LA13_0<='&')||(LA13_0>='(' && LA13_0<=')')||(LA13_0>='+' && LA13_0<='-')||(LA13_0>=';' && LA13_0<='@')||LA13_0=='\\'||LA13_0=='`'||(LA13_0>='{' && LA13_0<='\uFFFF')) ) {s = 14;}
934
935
                        if ( s>=0 ) return s;
936
                        break;
937
                    case 1 : 
938
                        int LA13_11 = input.LA(1);
939
940
                        s = -1;
941
                        if ( ((LA13_11>='\u0000' && LA13_11<='\uFFFF')) ) {s = 24;}
942
943
                        else s = 14;
944
945
                        if ( s>=0 ) return s;
946
                        break;
947
                    case 2 : 
948
                        int LA13_10 = input.LA(1);
949
950
                        s = -1;
951
                        if ( ((LA13_10>='\u0000' && LA13_10<='\uFFFF')) ) {s = 24;}
952
953
                        else s = 14;
954
955
                        if ( s>=0 ) return s;
956
                        break;
957
            }
958
            NoViableAltException nvae =
959
                new NoViableAltException(getDescription(), 13, _s, input);
960
            error(nvae);
961
            throw nvae;
888
        }
962
        }
889
    }
963
    }
890
 
964
 
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessageParser.java (-252 / +200 lines)
Lines 1-30 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.message.editor.xtext.parser.antlr.internal; 
1
package org.eclipse.papyrus.message.editor.xtext.parser.antlr.internal; 
15
2
16
import java.io.InputStream;
17
import org.eclipse.xtext.*;
3
import org.eclipse.xtext.*;
18
import org.eclipse.xtext.parser.*;
4
import org.eclipse.xtext.parser.*;
19
import org.eclipse.xtext.parser.impl.*;
5
import org.eclipse.xtext.parser.impl.*;
20
import org.eclipse.xtext.parsetree.*;
21
import org.eclipse.emf.ecore.util.EcoreUtil;
6
import org.eclipse.emf.ecore.util.EcoreUtil;
22
import org.eclipse.emf.ecore.EObject;
7
import org.eclipse.emf.ecore.EObject;
23
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
8
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
24
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
9
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
25
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
10
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
26
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
11
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
27
import org.eclipse.xtext.conversion.ValueConverterException;
28
import org.eclipse.papyrus.message.editor.xtext.services.UmlMessageGrammarAccess;
12
import org.eclipse.papyrus.message.editor.xtext.services.UmlMessageGrammarAccess;
29
13
30
14
Lines 42-47 Link Here
42
    public static final int RULE_NAMERULE=4;
26
    public static final int RULE_NAMERULE=4;
43
    public static final int RULE_ID=6;
27
    public static final int RULE_ID=6;
44
    public static final int RULE_STRING=7;
28
    public static final int RULE_STRING=7;
29
    public static final int T__16=16;
30
    public static final int T__15=15;
31
    public static final int T__12=12;
32
    public static final int T__14=14;
33
    public static final int T__13=13;
45
    public static final int RULE_ANY_OTHER=11;
34
    public static final int RULE_ANY_OTHER=11;
46
    public static final int RULE_INT=5;
35
    public static final int RULE_INT=5;
47
    public static final int RULE_WS=10;
36
    public static final int RULE_WS=10;
Lines 49-77 Link Here
49
    public static final int EOF=-1;
38
    public static final int EOF=-1;
50
    public static final int RULE_ML_COMMENT=8;
39
    public static final int RULE_ML_COMMENT=8;
51
40
41
    // delegates
42
    // delegators
43
44
52
        public InternalUmlMessageParser(TokenStream input) {
45
        public InternalUmlMessageParser(TokenStream input) {
53
            super(input);
46
            this(input, new RecognizerSharedState());
47
        }
48
        public InternalUmlMessageParser(TokenStream input, RecognizerSharedState state) {
49
            super(input, state);
50
             
54
        }
51
        }
55
        
52
        
56
53
57
    public String[] getTokenNames() { return tokenNames; }
54
    public String[] getTokenNames() { return InternalUmlMessageParser.tokenNames; }
58
    public String getGrammarFileName() { return "../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g"; }
55
    public String getGrammarFileName() { return "../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g"; }
59
56
60
57
61
58
62
     	private UmlMessageGrammarAccess grammarAccess;
59
     	private UmlMessageGrammarAccess grammarAccess;
63
     	
60
     	
64
        public InternalUmlMessageParser(TokenStream input, IAstFactory factory, UmlMessageGrammarAccess grammarAccess) {
61
        public InternalUmlMessageParser(TokenStream input, UmlMessageGrammarAccess grammarAccess) {
65
            this(input);
62
            this(input);
66
            this.factory = factory;
67
            registerRules(grammarAccess.getGrammar());
68
            this.grammarAccess = grammarAccess;
63
            this.grammarAccess = grammarAccess;
69
        }
64
            registerRules(grammarAccess.getGrammar());
70
        
71
        @Override
72
        protected InputStream getTokenFile() {
73
        	ClassLoader classLoader = getClass().getClassLoader();
74
        	return classLoader.getResourceAsStream("org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.tokens");
75
        }
65
        }
76
        
66
        
77
        @Override
67
        @Override
Lines 86-93 Link Here
86
76
87
77
88
78
89
    // $ANTLR start entryRuleMessageRule
79
    // $ANTLR start "entryRuleMessageRule"
90
    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:77:1: entryRuleMessageRule returns [EObject current=null] : iv_ruleMessageRule= ruleMessageRule EOF ;
80
    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:67:1: entryRuleMessageRule returns [EObject current=null] : iv_ruleMessageRule= ruleMessageRule EOF ;
91
    public final EObject entryRuleMessageRule() throws RecognitionException {
81
    public final EObject entryRuleMessageRule() throws RecognitionException {
92
        EObject current = null;
82
        EObject current = null;
93
83
Lines 95-107 Link Here
95
85
96
86
97
        try {
87
        try {
98
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:78:2: (iv_ruleMessageRule= ruleMessageRule EOF )
88
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:68:2: (iv_ruleMessageRule= ruleMessageRule EOF )
99
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:79:2: iv_ruleMessageRule= ruleMessageRule EOF
89
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:69:2: iv_ruleMessageRule= ruleMessageRule EOF
100
            {
90
            {
101
             currentNode = createCompositeNode(grammarAccess.getMessageRuleRule(), currentNode); 
91
             newCompositeNode(grammarAccess.getMessageRuleRule()); 
102
            pushFollow(FOLLOW_ruleMessageRule_in_entryRuleMessageRule75);
92
            pushFollow(FOLLOW_ruleMessageRule_in_entryRuleMessageRule75);
103
            iv_ruleMessageRule=ruleMessageRule();
93
            iv_ruleMessageRule=ruleMessageRule();
104
            _fsp--;
94
95
            state._fsp--;
105
96
106
             current =iv_ruleMessageRule; 
97
             current =iv_ruleMessageRule; 
107
            match(input,EOF,FOLLOW_EOF_in_entryRuleMessageRule85); 
98
            match(input,EOF,FOLLOW_EOF_in_entryRuleMessageRule85); 
Lines 118-175 Link Here
118
        }
109
        }
119
        return current;
110
        return current;
120
    }
111
    }
121
    // $ANTLR end entryRuleMessageRule
112
    // $ANTLR end "entryRuleMessageRule"
122
113
123
114
124
    // $ANTLR start ruleMessageRule
115
    // $ANTLR start "ruleMessageRule"
125
    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:86:1: ruleMessageRule returns [EObject current=null] : ( ( (lv_sequenceTerm_0_0= ruleSequenceTermRule ) ) ( '.' ( (lv_sequenceTerm_2_0= ruleSequenceTermRule ) ) )* ':' ( (lv_name_4_0= RULE_NAMERULE ) ) ) ;
116
    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:76:1: ruleMessageRule returns [EObject current=null] : ( ( (lv_sequenceTerm_0_0= ruleSequenceTermRule ) ) (otherlv_1= '.' ( (lv_sequenceTerm_2_0= ruleSequenceTermRule ) ) )* otherlv_3= ':' ( (lv_name_4_0= RULE_NAMERULE ) ) ) ;
126
    public final EObject ruleMessageRule() throws RecognitionException {
117
    public final EObject ruleMessageRule() throws RecognitionException {
127
        EObject current = null;
118
        EObject current = null;
128
119
120
        Token otherlv_1=null;
121
        Token otherlv_3=null;
129
        Token lv_name_4_0=null;
122
        Token lv_name_4_0=null;
130
        EObject lv_sequenceTerm_0_0 = null;
123
        EObject lv_sequenceTerm_0_0 = null;
131
124
132
        EObject lv_sequenceTerm_2_0 = null;
125
        EObject lv_sequenceTerm_2_0 = null;
133
126
134
127
135
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
128
         enterRule(); 
136
            
129
            
137
        try {
130
        try {
138
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:91:6: ( ( ( (lv_sequenceTerm_0_0= ruleSequenceTermRule ) ) ( '.' ( (lv_sequenceTerm_2_0= ruleSequenceTermRule ) ) )* ':' ( (lv_name_4_0= RULE_NAMERULE ) ) ) )
131
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:79:28: ( ( ( (lv_sequenceTerm_0_0= ruleSequenceTermRule ) ) (otherlv_1= '.' ( (lv_sequenceTerm_2_0= ruleSequenceTermRule ) ) )* otherlv_3= ':' ( (lv_name_4_0= RULE_NAMERULE ) ) ) )
139
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:92:1: ( ( (lv_sequenceTerm_0_0= ruleSequenceTermRule ) ) ( '.' ( (lv_sequenceTerm_2_0= ruleSequenceTermRule ) ) )* ':' ( (lv_name_4_0= RULE_NAMERULE ) ) )
132
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:80:1: ( ( (lv_sequenceTerm_0_0= ruleSequenceTermRule ) ) (otherlv_1= '.' ( (lv_sequenceTerm_2_0= ruleSequenceTermRule ) ) )* otherlv_3= ':' ( (lv_name_4_0= RULE_NAMERULE ) ) )
140
            {
133
            {
141
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:92:1: ( ( (lv_sequenceTerm_0_0= ruleSequenceTermRule ) ) ( '.' ( (lv_sequenceTerm_2_0= ruleSequenceTermRule ) ) )* ':' ( (lv_name_4_0= RULE_NAMERULE ) ) )
134
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:80:1: ( ( (lv_sequenceTerm_0_0= ruleSequenceTermRule ) ) (otherlv_1= '.' ( (lv_sequenceTerm_2_0= ruleSequenceTermRule ) ) )* otherlv_3= ':' ( (lv_name_4_0= RULE_NAMERULE ) ) )
142
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:92:2: ( (lv_sequenceTerm_0_0= ruleSequenceTermRule ) ) ( '.' ( (lv_sequenceTerm_2_0= ruleSequenceTermRule ) ) )* ':' ( (lv_name_4_0= RULE_NAMERULE ) )
135
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:80:2: ( (lv_sequenceTerm_0_0= ruleSequenceTermRule ) ) (otherlv_1= '.' ( (lv_sequenceTerm_2_0= ruleSequenceTermRule ) ) )* otherlv_3= ':' ( (lv_name_4_0= RULE_NAMERULE ) )
143
            {
136
            {
144
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:92:2: ( (lv_sequenceTerm_0_0= ruleSequenceTermRule ) )
137
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:80:2: ( (lv_sequenceTerm_0_0= ruleSequenceTermRule ) )
145
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:93:1: (lv_sequenceTerm_0_0= ruleSequenceTermRule )
138
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:81:1: (lv_sequenceTerm_0_0= ruleSequenceTermRule )
146
            {
139
            {
147
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:93:1: (lv_sequenceTerm_0_0= ruleSequenceTermRule )
140
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:81:1: (lv_sequenceTerm_0_0= ruleSequenceTermRule )
148
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:94:3: lv_sequenceTerm_0_0= ruleSequenceTermRule
141
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:82:3: lv_sequenceTerm_0_0= ruleSequenceTermRule
149
            {
142
            {
150
             
143
             
151
            	        currentNode=createCompositeNode(grammarAccess.getMessageRuleAccess().getSequenceTermSequenceTermRuleParserRuleCall_0_0(), currentNode); 
144
            	        newCompositeNode(grammarAccess.getMessageRuleAccess().getSequenceTermSequenceTermRuleParserRuleCall_0_0()); 
152
            	    
145
            	    
153
            pushFollow(FOLLOW_ruleSequenceTermRule_in_ruleMessageRule131);
146
            pushFollow(FOLLOW_ruleSequenceTermRule_in_ruleMessageRule131);
154
            lv_sequenceTerm_0_0=ruleSequenceTermRule();
147
            lv_sequenceTerm_0_0=ruleSequenceTermRule();
155
            _fsp--;
148
149
            state._fsp--;
156
150
157
151
158
            	        if (current==null) {
152
            	        if (current==null) {
159
            	            current = factory.create(grammarAccess.getMessageRuleRule().getType().getClassifier());
153
            	            current = createModelElementForParent(grammarAccess.getMessageRuleRule());
160
            	            associateNodeWithAstElement(currentNode.getParent(), current);
161
            	        }
154
            	        }
162
            	        try {
155
                   		add(
163
            	       		add(
156
                   			current, 
164
            	       			current, 
157
                   			"sequenceTerm",
165
            	       			"sequenceTerm",
158
                    		lv_sequenceTerm_0_0, 
166
            	        		lv_sequenceTerm_0_0, 
159
                    		"SequenceTermRule");
167
            	        		"SequenceTermRule", 
160
            	        afterParserOrEnumRuleCall();
168
            	        		currentNode);
169
            	        } catch (ValueConverterException vce) {
170
            				handleValueConverterException(vce);
171
            	        }
172
            	        currentNode = currentNode.getParent();
173
            	    
161
            	    
174
162
175
            }
163
            }
Lines 177-183 Link Here
177
165
178
            }
166
            }
179
167
180
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:116:2: ( '.' ( (lv_sequenceTerm_2_0= ruleSequenceTermRule ) ) )*
168
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:98:2: (otherlv_1= '.' ( (lv_sequenceTerm_2_0= ruleSequenceTermRule ) ) )*
181
            loop1:
169
            loop1:
182
            do {
170
            do {
183
                int alt1=2;
171
                int alt1=2;
Lines 190-230 Link Here
190
178
191
                switch (alt1) {
179
                switch (alt1) {
192
            	case 1 :
180
            	case 1 :
193
            	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:116:4: '.' ( (lv_sequenceTerm_2_0= ruleSequenceTermRule ) )
181
            	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:98:4: otherlv_1= '.' ( (lv_sequenceTerm_2_0= ruleSequenceTermRule ) )
194
            	    {
182
            	    {
195
            	    match(input,12,FOLLOW_12_in_ruleMessageRule142); 
183
            	    otherlv_1=(Token)match(input,12,FOLLOW_12_in_ruleMessageRule144); 
196
184
197
            	            createLeafNode(grammarAccess.getMessageRuleAccess().getFullStopKeyword_1_0(), null); 
185
            	        	newLeafNode(otherlv_1, grammarAccess.getMessageRuleAccess().getFullStopKeyword_1_0());
198
            	        
186
            	        
199
            	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:120:1: ( (lv_sequenceTerm_2_0= ruleSequenceTermRule ) )
187
            	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:102:1: ( (lv_sequenceTerm_2_0= ruleSequenceTermRule ) )
200
            	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:121:1: (lv_sequenceTerm_2_0= ruleSequenceTermRule )
188
            	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:103:1: (lv_sequenceTerm_2_0= ruleSequenceTermRule )
201
            	    {
189
            	    {
202
            	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:121:1: (lv_sequenceTerm_2_0= ruleSequenceTermRule )
190
            	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:103:1: (lv_sequenceTerm_2_0= ruleSequenceTermRule )
203
            	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:122:3: lv_sequenceTerm_2_0= ruleSequenceTermRule
191
            	    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:104:3: lv_sequenceTerm_2_0= ruleSequenceTermRule
204
            	    {
192
            	    {
205
            	     
193
            	     
206
            	    	        currentNode=createCompositeNode(grammarAccess.getMessageRuleAccess().getSequenceTermSequenceTermRuleParserRuleCall_1_1_0(), currentNode); 
194
            	    	        newCompositeNode(grammarAccess.getMessageRuleAccess().getSequenceTermSequenceTermRuleParserRuleCall_1_1_0()); 
207
            	    	    
195
            	    	    
208
            	    pushFollow(FOLLOW_ruleSequenceTermRule_in_ruleMessageRule163);
196
            	    pushFollow(FOLLOW_ruleSequenceTermRule_in_ruleMessageRule165);
209
            	    lv_sequenceTerm_2_0=ruleSequenceTermRule();
197
            	    lv_sequenceTerm_2_0=ruleSequenceTermRule();
210
            	    _fsp--;
211
198
199
            	    state._fsp--;
200
212
201
213
            	    	        if (current==null) {
202
            	    	        if (current==null) {
214
            	    	            current = factory.create(grammarAccess.getMessageRuleRule().getType().getClassifier());
203
            	    	            current = createModelElementForParent(grammarAccess.getMessageRuleRule());
215
            	    	            associateNodeWithAstElement(currentNode.getParent(), current);
216
            	    	        }
204
            	    	        }
217
            	    	        try {
205
            	           		add(
218
            	    	       		add(
206
            	           			current, 
219
            	    	       			current, 
207
            	           			"sequenceTerm",
220
            	    	       			"sequenceTerm",
208
            	            		lv_sequenceTerm_2_0, 
221
            	    	        		lv_sequenceTerm_2_0, 
209
            	            		"SequenceTermRule");
222
            	    	        		"SequenceTermRule", 
210
            	    	        afterParserOrEnumRuleCall();
223
            	    	        		currentNode);
224
            	    	        } catch (ValueConverterException vce) {
225
            	    				handleValueConverterException(vce);
226
            	    	        }
227
            	    	        currentNode = currentNode.getParent();
228
            	    	    
211
            	    	    
229
212
230
            	    }
213
            	    }
Lines 241-276 Link Here
241
                }
224
                }
242
            } while (true);
225
            } while (true);
243
226
244
            match(input,13,FOLLOW_13_in_ruleMessageRule175); 
227
            otherlv_3=(Token)match(input,13,FOLLOW_13_in_ruleMessageRule179); 
245
228
246
                    createLeafNode(grammarAccess.getMessageRuleAccess().getColonKeyword_2(), null); 
229
                	newLeafNode(otherlv_3, grammarAccess.getMessageRuleAccess().getColonKeyword_2());
247
                
230
                
248
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:148:1: ( (lv_name_4_0= RULE_NAMERULE ) )
231
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:124:1: ( (lv_name_4_0= RULE_NAMERULE ) )
249
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:149:1: (lv_name_4_0= RULE_NAMERULE )
232
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:125:1: (lv_name_4_0= RULE_NAMERULE )
250
            {
233
            {
251
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:149:1: (lv_name_4_0= RULE_NAMERULE )
234
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:125:1: (lv_name_4_0= RULE_NAMERULE )
252
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:150:3: lv_name_4_0= RULE_NAMERULE
235
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:126:3: lv_name_4_0= RULE_NAMERULE
253
            {
236
            {
254
            lv_name_4_0=(Token)input.LT(1);
237
            lv_name_4_0=(Token)match(input,RULE_NAMERULE,FOLLOW_RULE_NAMERULE_in_ruleMessageRule196); 
255
            match(input,RULE_NAMERULE,FOLLOW_RULE_NAMERULE_in_ruleMessageRule192); 
256
238
257
            			createLeafNode(grammarAccess.getMessageRuleAccess().getNameNameRuleTerminalRuleCall_3_0(), "name"); 
239
            			newLeafNode(lv_name_4_0, grammarAccess.getMessageRuleAccess().getNameNameRuleTerminalRuleCall_3_0()); 
258
            		
240
            		
259
241
260
            	        if (current==null) {
242
            	        if (current==null) {
261
            	            current = factory.create(grammarAccess.getMessageRuleRule().getType().getClassifier());
243
            	            current = createModelElement(grammarAccess.getMessageRuleRule());
262
            	            associateNodeWithAstElement(currentNode, current);
263
            	        }
244
            	        }
264
            	        try {
245
                   		setWithLastConsumed(
265
            	       		set(
246
                   			current, 
266
            	       			current, 
247
                   			"name",
267
            	       			"name",
248
                    		lv_name_4_0, 
268
            	        		lv_name_4_0, 
249
                    		"nameRule");
269
            	        		"nameRule", 
270
            	        		lastConsumedNode);
271
            	        } catch (ValueConverterException vce) {
272
            				handleValueConverterException(vce);
273
            	        }
274
            	    
250
            	    
275
251
276
            }
252
            }
Lines 284-292 Link Here
284
260
285
            }
261
            }
286
262
287
             resetLookahead(); 
263
             leaveRule(); 
288
                	lastConsumedNode = currentNode;
289
                
290
        }
264
        }
291
         
265
         
292
            catch (RecognitionException re) { 
266
            catch (RecognitionException re) { 
Lines 297-307 Link Here
297
        }
271
        }
298
        return current;
272
        return current;
299
    }
273
    }
300
    // $ANTLR end ruleMessageRule
274
    // $ANTLR end "ruleMessageRule"
301
275
302
276
303
    // $ANTLR start entryRuleSequenceTermRule
277
    // $ANTLR start "entryRuleSequenceTermRule"
304
    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:180:1: entryRuleSequenceTermRule returns [EObject current=null] : iv_ruleSequenceTermRule= ruleSequenceTermRule EOF ;
278
    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:150:1: entryRuleSequenceTermRule returns [EObject current=null] : iv_ruleSequenceTermRule= ruleSequenceTermRule EOF ;
305
    public final EObject entryRuleSequenceTermRule() throws RecognitionException {
279
    public final EObject entryRuleSequenceTermRule() throws RecognitionException {
306
        EObject current = null;
280
        EObject current = null;
307
281
Lines 309-324 Link Here
309
283
310
284
311
        try {
285
        try {
312
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:181:2: (iv_ruleSequenceTermRule= ruleSequenceTermRule EOF )
286
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:151:2: (iv_ruleSequenceTermRule= ruleSequenceTermRule EOF )
313
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:182:2: iv_ruleSequenceTermRule= ruleSequenceTermRule EOF
287
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:152:2: iv_ruleSequenceTermRule= ruleSequenceTermRule EOF
314
            {
288
            {
315
             currentNode = createCompositeNode(grammarAccess.getSequenceTermRuleRule(), currentNode); 
289
             newCompositeNode(grammarAccess.getSequenceTermRuleRule()); 
316
            pushFollow(FOLLOW_ruleSequenceTermRule_in_entryRuleSequenceTermRule233);
290
            pushFollow(FOLLOW_ruleSequenceTermRule_in_entryRuleSequenceTermRule237);
317
            iv_ruleSequenceTermRule=ruleSequenceTermRule();
291
            iv_ruleSequenceTermRule=ruleSequenceTermRule();
318
            _fsp--;
292
293
            state._fsp--;
319
294
320
             current =iv_ruleSequenceTermRule; 
295
             current =iv_ruleSequenceTermRule; 
321
            match(input,EOF,FOLLOW_EOF_in_entryRuleSequenceTermRule243); 
296
            match(input,EOF,FOLLOW_EOF_in_entryRuleSequenceTermRule247); 
322
297
323
            }
298
            }
324
299
Lines 332-342 Link Here
332
        }
307
        }
333
        return current;
308
        return current;
334
    }
309
    }
335
    // $ANTLR end entryRuleSequenceTermRule
310
    // $ANTLR end "entryRuleSequenceTermRule"
336
311
337
312
338
    // $ANTLR start ruleSequenceTermRule
313
    // $ANTLR start "ruleSequenceTermRule"
339
    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:189:1: ruleSequenceTermRule returns [EObject current=null] : ( ( (lv_sequencialOrder_0_0= RULE_INT ) ) ( (lv_sequenceName_1_0= RULE_ID ) )? ( (lv_recurrence_2_0= ruleRecurrenceRule ) )? ) ;
314
    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:159:1: ruleSequenceTermRule returns [EObject current=null] : ( ( (lv_sequencialOrder_0_0= RULE_INT ) ) ( (lv_sequenceName_1_0= RULE_ID ) )? ( (lv_recurrence_2_0= ruleRecurrenceRule ) )? ) ;
340
    public final EObject ruleSequenceTermRule() throws RecognitionException {
315
    public final EObject ruleSequenceTermRule() throws RecognitionException {
341
        EObject current = null;
316
        EObject current = null;
342
317
Lines 345-385 Link Here
345
        AntlrDatatypeRuleToken lv_recurrence_2_0 = null;
320
        AntlrDatatypeRuleToken lv_recurrence_2_0 = null;
346
321
347
322
348
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
323
         enterRule(); 
349
            
324
            
350
        try {
325
        try {
351
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:194:6: ( ( ( (lv_sequencialOrder_0_0= RULE_INT ) ) ( (lv_sequenceName_1_0= RULE_ID ) )? ( (lv_recurrence_2_0= ruleRecurrenceRule ) )? ) )
326
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:162:28: ( ( ( (lv_sequencialOrder_0_0= RULE_INT ) ) ( (lv_sequenceName_1_0= RULE_ID ) )? ( (lv_recurrence_2_0= ruleRecurrenceRule ) )? ) )
352
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:195:1: ( ( (lv_sequencialOrder_0_0= RULE_INT ) ) ( (lv_sequenceName_1_0= RULE_ID ) )? ( (lv_recurrence_2_0= ruleRecurrenceRule ) )? )
327
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:163:1: ( ( (lv_sequencialOrder_0_0= RULE_INT ) ) ( (lv_sequenceName_1_0= RULE_ID ) )? ( (lv_recurrence_2_0= ruleRecurrenceRule ) )? )
353
            {
328
            {
354
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:195:1: ( ( (lv_sequencialOrder_0_0= RULE_INT ) ) ( (lv_sequenceName_1_0= RULE_ID ) )? ( (lv_recurrence_2_0= ruleRecurrenceRule ) )? )
329
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:163:1: ( ( (lv_sequencialOrder_0_0= RULE_INT ) ) ( (lv_sequenceName_1_0= RULE_ID ) )? ( (lv_recurrence_2_0= ruleRecurrenceRule ) )? )
355
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:195:2: ( (lv_sequencialOrder_0_0= RULE_INT ) ) ( (lv_sequenceName_1_0= RULE_ID ) )? ( (lv_recurrence_2_0= ruleRecurrenceRule ) )?
330
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:163:2: ( (lv_sequencialOrder_0_0= RULE_INT ) ) ( (lv_sequenceName_1_0= RULE_ID ) )? ( (lv_recurrence_2_0= ruleRecurrenceRule ) )?
356
            {
331
            {
357
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:195:2: ( (lv_sequencialOrder_0_0= RULE_INT ) )
332
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:163:2: ( (lv_sequencialOrder_0_0= RULE_INT ) )
358
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:196:1: (lv_sequencialOrder_0_0= RULE_INT )
333
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:164:1: (lv_sequencialOrder_0_0= RULE_INT )
359
            {
334
            {
360
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:196:1: (lv_sequencialOrder_0_0= RULE_INT )
335
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:164:1: (lv_sequencialOrder_0_0= RULE_INT )
361
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:197:3: lv_sequencialOrder_0_0= RULE_INT
336
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:165:3: lv_sequencialOrder_0_0= RULE_INT
362
            {
337
            {
363
            lv_sequencialOrder_0_0=(Token)input.LT(1);
338
            lv_sequencialOrder_0_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSequenceTermRule289); 
364
            match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSequenceTermRule285); 
365
339
366
            			createLeafNode(grammarAccess.getSequenceTermRuleAccess().getSequencialOrderINTTerminalRuleCall_0_0(), "sequencialOrder"); 
340
            			newLeafNode(lv_sequencialOrder_0_0, grammarAccess.getSequenceTermRuleAccess().getSequencialOrderINTTerminalRuleCall_0_0()); 
367
            		
341
            		
368
342
369
            	        if (current==null) {
343
            	        if (current==null) {
370
            	            current = factory.create(grammarAccess.getSequenceTermRuleRule().getType().getClassifier());
344
            	            current = createModelElement(grammarAccess.getSequenceTermRuleRule());
371
            	            associateNodeWithAstElement(currentNode, current);
372
            	        }
345
            	        }
373
            	        try {
346
                   		setWithLastConsumed(
374
            	       		set(
347
                   			current, 
375
            	       			current, 
348
                   			"sequencialOrder",
376
            	       			"sequencialOrder",
349
                    		lv_sequencialOrder_0_0, 
377
            	        		lv_sequencialOrder_0_0, 
350
                    		"INT");
378
            	        		"INT", 
379
            	        		lastConsumedNode);
380
            	        } catch (ValueConverterException vce) {
381
            				handleValueConverterException(vce);
382
            	        }
383
            	    
351
            	    
384
352
385
            }
353
            }
Lines 387-393 Link Here
387
355
388
            }
356
            }
389
357
390
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:219:2: ( (lv_sequenceName_1_0= RULE_ID ) )?
358
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:181:2: ( (lv_sequenceName_1_0= RULE_ID ) )?
391
            int alt2=2;
359
            int alt2=2;
392
            int LA2_0 = input.LA(1);
360
            int LA2_0 = input.LA(1);
393
361
Lines 396-426 Link Here
396
            }
364
            }
397
            switch (alt2) {
365
            switch (alt2) {
398
                case 1 :
366
                case 1 :
399
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:220:1: (lv_sequenceName_1_0= RULE_ID )
367
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:182:1: (lv_sequenceName_1_0= RULE_ID )
400
                    {
368
                    {
401
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:220:1: (lv_sequenceName_1_0= RULE_ID )
369
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:182:1: (lv_sequenceName_1_0= RULE_ID )
402
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:221:3: lv_sequenceName_1_0= RULE_ID
370
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:183:3: lv_sequenceName_1_0= RULE_ID
403
                    {
371
                    {
404
                    lv_sequenceName_1_0=(Token)input.LT(1);
372
                    lv_sequenceName_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSequenceTermRule311); 
405
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSequenceTermRule307); 
406
373
407
                    			createLeafNode(grammarAccess.getSequenceTermRuleAccess().getSequenceNameIDTerminalRuleCall_1_0(), "sequenceName"); 
374
                    			newLeafNode(lv_sequenceName_1_0, grammarAccess.getSequenceTermRuleAccess().getSequenceNameIDTerminalRuleCall_1_0()); 
408
                    		
375
                    		
409
376
410
                    	        if (current==null) {
377
                    	        if (current==null) {
411
                    	            current = factory.create(grammarAccess.getSequenceTermRuleRule().getType().getClassifier());
378
                    	            current = createModelElement(grammarAccess.getSequenceTermRuleRule());
412
                    	            associateNodeWithAstElement(currentNode, current);
413
                    	        }
414
                    	        try {
415
                    	       		set(
416
                    	       			current, 
417
                    	       			"sequenceName",
418
                    	        		lv_sequenceName_1_0, 
419
                    	        		"ID", 
420
                    	        		lastConsumedNode);
421
                    	        } catch (ValueConverterException vce) {
422
                    				handleValueConverterException(vce);
423
                    	        }
379
                    	        }
380
                           		setWithLastConsumed(
381
                           			current, 
382
                           			"sequenceName",
383
                            		lv_sequenceName_1_0, 
384
                            		"ID");
424
                    	    
385
                    	    
425
386
426
                    }
387
                    }
Lines 431-437 Link Here
431
392
432
            }
393
            }
433
394
434
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:243:3: ( (lv_recurrence_2_0= ruleRecurrenceRule ) )?
395
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:199:3: ( (lv_recurrence_2_0= ruleRecurrenceRule ) )?
435
            int alt3=2;
396
            int alt3=2;
436
            int LA3_0 = input.LA(1);
397
            int LA3_0 = input.LA(1);
437
398
Lines 440-473 Link Here
440
            }
401
            }
441
            switch (alt3) {
402
            switch (alt3) {
442
                case 1 :
403
                case 1 :
443
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:244:1: (lv_recurrence_2_0= ruleRecurrenceRule )
404
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:200:1: (lv_recurrence_2_0= ruleRecurrenceRule )
444
                    {
405
                    {
445
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:244:1: (lv_recurrence_2_0= ruleRecurrenceRule )
406
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:200:1: (lv_recurrence_2_0= ruleRecurrenceRule )
446
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:245:3: lv_recurrence_2_0= ruleRecurrenceRule
407
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:201:3: lv_recurrence_2_0= ruleRecurrenceRule
447
                    {
408
                    {
448
                     
409
                     
449
                    	        currentNode=createCompositeNode(grammarAccess.getSequenceTermRuleAccess().getRecurrenceRecurrenceRuleParserRuleCall_2_0(), currentNode); 
410
                    	        newCompositeNode(grammarAccess.getSequenceTermRuleAccess().getRecurrenceRecurrenceRuleParserRuleCall_2_0()); 
450
                    	    
411
                    	    
451
                    pushFollow(FOLLOW_ruleRecurrenceRule_in_ruleSequenceTermRule334);
412
                    pushFollow(FOLLOW_ruleRecurrenceRule_in_ruleSequenceTermRule338);
452
                    lv_recurrence_2_0=ruleRecurrenceRule();
413
                    lv_recurrence_2_0=ruleRecurrenceRule();
453
                    _fsp--;
414
415
                    state._fsp--;
454
416
455
417
456
                    	        if (current==null) {
418
                    	        if (current==null) {
457
                    	            current = factory.create(grammarAccess.getSequenceTermRuleRule().getType().getClassifier());
419
                    	            current = createModelElementForParent(grammarAccess.getSequenceTermRuleRule());
458
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
459
                    	        }
420
                    	        }
460
                    	        try {
421
                           		set(
461
                    	       		set(
422
                           			current, 
462
                    	       			current, 
423
                           			"recurrence",
463
                    	       			"recurrence",
424
                            		lv_recurrence_2_0, 
464
                    	        		lv_recurrence_2_0, 
425
                            		"RecurrenceRule");
465
                    	        		"RecurrenceRule", 
426
                    	        afterParserOrEnumRuleCall();
466
                    	        		currentNode);
467
                    	        } catch (ValueConverterException vce) {
468
                    				handleValueConverterException(vce);
469
                    	        }
470
                    	        currentNode = currentNode.getParent();
471
                    	    
427
                    	    
472
428
473
                    }
429
                    }
Lines 484-492 Link Here
484
440
485
            }
441
            }
486
442
487
             resetLookahead(); 
443
             leaveRule(); 
488
                	lastConsumedNode = currentNode;
489
                
490
        }
444
        }
491
         
445
         
492
            catch (RecognitionException re) { 
446
            catch (RecognitionException re) { 
Lines 497-507 Link Here
497
        }
451
        }
498
        return current;
452
        return current;
499
    }
453
    }
500
    // $ANTLR end ruleSequenceTermRule
454
    // $ANTLR end "ruleSequenceTermRule"
501
455
502
456
503
    // $ANTLR start entryRuleRecurrenceRule
457
    // $ANTLR start "entryRuleRecurrenceRule"
504
    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:275:1: entryRuleRecurrenceRule returns [String current=null] : iv_ruleRecurrenceRule= ruleRecurrenceRule EOF ;
458
    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:225:1: entryRuleRecurrenceRule returns [String current=null] : iv_ruleRecurrenceRule= ruleRecurrenceRule EOF ;
505
    public final String entryRuleRecurrenceRule() throws RecognitionException {
459
    public final String entryRuleRecurrenceRule() throws RecognitionException {
506
        String current = null;
460
        String current = null;
507
461
Lines 509-524 Link Here
509
463
510
464
511
        try {
465
        try {
512
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:276:2: (iv_ruleRecurrenceRule= ruleRecurrenceRule EOF )
466
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:226:2: (iv_ruleRecurrenceRule= ruleRecurrenceRule EOF )
513
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:277:2: iv_ruleRecurrenceRule= ruleRecurrenceRule EOF
467
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:227:2: iv_ruleRecurrenceRule= ruleRecurrenceRule EOF
514
            {
468
            {
515
             currentNode = createCompositeNode(grammarAccess.getRecurrenceRuleRule(), currentNode); 
469
             newCompositeNode(grammarAccess.getRecurrenceRuleRule()); 
516
            pushFollow(FOLLOW_ruleRecurrenceRule_in_entryRuleRecurrenceRule372);
470
            pushFollow(FOLLOW_ruleRecurrenceRule_in_entryRuleRecurrenceRule376);
517
            iv_ruleRecurrenceRule=ruleRecurrenceRule();
471
            iv_ruleRecurrenceRule=ruleRecurrenceRule();
518
            _fsp--;
472
473
            state._fsp--;
519
474
520
             current =iv_ruleRecurrenceRule.getText(); 
475
             current =iv_ruleRecurrenceRule.getText(); 
521
            match(input,EOF,FOLLOW_EOF_in_entryRuleRecurrenceRule383); 
476
            match(input,EOF,FOLLOW_EOF_in_entryRuleRecurrenceRule387); 
522
477
523
            }
478
            }
524
479
Lines 532-542 Link Here
532
        }
487
        }
533
        return current;
488
        return current;
534
    }
489
    }
535
    // $ANTLR end entryRuleRecurrenceRule
490
    // $ANTLR end "entryRuleRecurrenceRule"
536
491
537
492
538
    // $ANTLR start ruleRecurrenceRule
493
    // $ANTLR start "ruleRecurrenceRule"
539
    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:284:1: ruleRecurrenceRule returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '*' kw= '[' this_STRING_2= RULE_STRING kw= ']' ) | (kw= '[' this_STRING_5= RULE_STRING kw= ']' ) ) ;
494
    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:234:1: ruleRecurrenceRule returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '*' kw= '[' this_STRING_2= RULE_STRING kw= ']' ) | (kw= '[' this_STRING_5= RULE_STRING kw= ']' ) ) ;
540
    public final AntlrDatatypeRuleToken ruleRecurrenceRule() throws RecognitionException {
495
    public final AntlrDatatypeRuleToken ruleRecurrenceRule() throws RecognitionException {
541
        AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
496
        AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
542
497
Lines 544-556 Link Here
544
        Token this_STRING_2=null;
499
        Token this_STRING_2=null;
545
        Token this_STRING_5=null;
500
        Token this_STRING_5=null;
546
501
547
         setCurrentLookahead(); resetLookahead(); 
502
         enterRule(); 
548
            
503
            
549
        try {
504
        try {
550
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:289:6: ( ( (kw= '*' kw= '[' this_STRING_2= RULE_STRING kw= ']' ) | (kw= '[' this_STRING_5= RULE_STRING kw= ']' ) ) )
505
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:237:28: ( ( (kw= '*' kw= '[' this_STRING_2= RULE_STRING kw= ']' ) | (kw= '[' this_STRING_5= RULE_STRING kw= ']' ) ) )
551
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:290:1: ( (kw= '*' kw= '[' this_STRING_2= RULE_STRING kw= ']' ) | (kw= '[' this_STRING_5= RULE_STRING kw= ']' ) )
506
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:238:1: ( (kw= '*' kw= '[' this_STRING_2= RULE_STRING kw= ']' ) | (kw= '[' this_STRING_5= RULE_STRING kw= ']' ) )
552
            {
507
            {
553
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:290:1: ( (kw= '*' kw= '[' this_STRING_2= RULE_STRING kw= ']' ) | (kw= '[' this_STRING_5= RULE_STRING kw= ']' ) )
508
            // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:238:1: ( (kw= '*' kw= '[' this_STRING_2= RULE_STRING kw= ']' ) | (kw= '[' this_STRING_5= RULE_STRING kw= ']' ) )
554
            int alt4=2;
509
            int alt4=2;
555
            int LA4_0 = input.LA(1);
510
            int LA4_0 = input.LA(1);
556
511
Lines 562-603 Link Here
562
            }
517
            }
563
            else {
518
            else {
564
                NoViableAltException nvae =
519
                NoViableAltException nvae =
565
                    new NoViableAltException("290:1: ( (kw= '*' kw= '[' this_STRING_2= RULE_STRING kw= ']' ) | (kw= '[' this_STRING_5= RULE_STRING kw= ']' ) )", 4, 0, input);
520
                    new NoViableAltException("", 4, 0, input);
566
521
567
                throw nvae;
522
                throw nvae;
568
            }
523
            }
569
            switch (alt4) {
524
            switch (alt4) {
570
                case 1 :
525
                case 1 :
571
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:290:2: (kw= '*' kw= '[' this_STRING_2= RULE_STRING kw= ']' )
526
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:238:2: (kw= '*' kw= '[' this_STRING_2= RULE_STRING kw= ']' )
572
                    {
527
                    {
573
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:290:2: (kw= '*' kw= '[' this_STRING_2= RULE_STRING kw= ']' )
528
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:238:2: (kw= '*' kw= '[' this_STRING_2= RULE_STRING kw= ']' )
574
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:291:2: kw= '*' kw= '[' this_STRING_2= RULE_STRING kw= ']'
529
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:239:2: kw= '*' kw= '[' this_STRING_2= RULE_STRING kw= ']'
575
                    {
530
                    {
576
                    kw=(Token)input.LT(1);
531
                    kw=(Token)match(input,14,FOLLOW_14_in_ruleRecurrenceRule426); 
577
                    match(input,14,FOLLOW_14_in_ruleRecurrenceRule422); 
578
532
579
                            current.merge(kw);
533
                            current.merge(kw);
580
                            createLeafNode(grammarAccess.getRecurrenceRuleAccess().getAsteriskKeyword_0_0(), null); 
534
                            newLeafNode(kw, grammarAccess.getRecurrenceRuleAccess().getAsteriskKeyword_0_0()); 
581
                        
535
                        
582
                    kw=(Token)input.LT(1);
536
                    kw=(Token)match(input,15,FOLLOW_15_in_ruleRecurrenceRule439); 
583
                    match(input,15,FOLLOW_15_in_ruleRecurrenceRule435); 
584
537
585
                            current.merge(kw);
538
                            current.merge(kw);
586
                            createLeafNode(grammarAccess.getRecurrenceRuleAccess().getLeftSquareBracketKeyword_0_1(), null); 
539
                            newLeafNode(kw, grammarAccess.getRecurrenceRuleAccess().getLeftSquareBracketKeyword_0_1()); 
587
                        
540
                        
588
                    this_STRING_2=(Token)input.LT(1);
541
                    this_STRING_2=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleRecurrenceRule454); 
589
                    match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleRecurrenceRule450); 
590
542
591
                    		current.merge(this_STRING_2);
543
                    		current.merge(this_STRING_2);
592
                        
544
                        
593
                     
545
                     
594
                        createLeafNode(grammarAccess.getRecurrenceRuleAccess().getSTRINGTerminalRuleCall_0_2(), null); 
546
                        newLeafNode(this_STRING_2, grammarAccess.getRecurrenceRuleAccess().getSTRINGTerminalRuleCall_0_2()); 
595
                        
547
                        
596
                    kw=(Token)input.LT(1);
548
                    kw=(Token)match(input,16,FOLLOW_16_in_ruleRecurrenceRule472); 
597
                    match(input,16,FOLLOW_16_in_ruleRecurrenceRule468); 
598
549
599
                            current.merge(kw);
550
                            current.merge(kw);
600
                            createLeafNode(grammarAccess.getRecurrenceRuleAccess().getRightSquareBracketKeyword_0_3(), null); 
551
                            newLeafNode(kw, grammarAccess.getRecurrenceRuleAccess().getRightSquareBracketKeyword_0_3()); 
601
                        
552
                        
602
553
603
                    }
554
                    }
Lines 606-635 Link Here
606
                    }
557
                    }
607
                    break;
558
                    break;
608
                case 2 :
559
                case 2 :
609
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:316:6: (kw= '[' this_STRING_5= RULE_STRING kw= ']' )
560
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:264:6: (kw= '[' this_STRING_5= RULE_STRING kw= ']' )
610
                    {
561
                    {
611
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:316:6: (kw= '[' this_STRING_5= RULE_STRING kw= ']' )
562
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:264:6: (kw= '[' this_STRING_5= RULE_STRING kw= ']' )
612
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:317:2: kw= '[' this_STRING_5= RULE_STRING kw= ']'
563
                    // ../org.eclipse.papyrus.message.editor.xtext/src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g:265:2: kw= '[' this_STRING_5= RULE_STRING kw= ']'
613
                    {
564
                    {
614
                    kw=(Token)input.LT(1);
565
                    kw=(Token)match(input,15,FOLLOW_15_in_ruleRecurrenceRule493); 
615
                    match(input,15,FOLLOW_15_in_ruleRecurrenceRule489); 
616
566
617
                            current.merge(kw);
567
                            current.merge(kw);
618
                            createLeafNode(grammarAccess.getRecurrenceRuleAccess().getLeftSquareBracketKeyword_1_0(), null); 
568
                            newLeafNode(kw, grammarAccess.getRecurrenceRuleAccess().getLeftSquareBracketKeyword_1_0()); 
619
                        
569
                        
620
                    this_STRING_5=(Token)input.LT(1);
570
                    this_STRING_5=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleRecurrenceRule508); 
621
                    match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleRecurrenceRule504); 
622
571
623
                    		current.merge(this_STRING_5);
572
                    		current.merge(this_STRING_5);
624
                        
573
                        
625
                     
574
                     
626
                        createLeafNode(grammarAccess.getRecurrenceRuleAccess().getSTRINGTerminalRuleCall_1_1(), null); 
575
                        newLeafNode(this_STRING_5, grammarAccess.getRecurrenceRuleAccess().getSTRINGTerminalRuleCall_1_1()); 
627
                        
576
                        
628
                    kw=(Token)input.LT(1);
577
                    kw=(Token)match(input,16,FOLLOW_16_in_ruleRecurrenceRule526); 
629
                    match(input,16,FOLLOW_16_in_ruleRecurrenceRule522); 
630
578
631
                            current.merge(kw);
579
                            current.merge(kw);
632
                            createLeafNode(grammarAccess.getRecurrenceRuleAccess().getRightSquareBracketKeyword_1_2(), null); 
580
                            newLeafNode(kw, grammarAccess.getRecurrenceRuleAccess().getRightSquareBracketKeyword_1_2()); 
633
                        
581
                        
634
582
635
                    }
583
                    }
Lines 643-651 Link Here
643
591
644
            }
592
            }
645
593
646
             resetLookahead(); 
594
             leaveRule(); 
647
            	    lastConsumedNode = currentNode;
648
                
649
        }
595
        }
650
         
596
         
651
            catch (RecognitionException re) { 
597
            catch (RecognitionException re) { 
Lines 656-686 Link Here
656
        }
602
        }
657
        return current;
603
        return current;
658
    }
604
    }
659
    // $ANTLR end ruleRecurrenceRule
605
    // $ANTLR end "ruleRecurrenceRule"
660
606
607
    // Delegated rules
608
661
609
662
 
610
 
663
611
664
    public static final BitSet FOLLOW_ruleMessageRule_in_entryRuleMessageRule75 = new BitSet(new long[]{0x0000000000000000L});
612
    public static final BitSet FOLLOW_ruleMessageRule_in_entryRuleMessageRule75 = new BitSet(new long[]{0x0000000000000000L});
665
    public static final BitSet FOLLOW_EOF_in_entryRuleMessageRule85 = new BitSet(new long[]{0x0000000000000002L});
613
    public static final BitSet FOLLOW_EOF_in_entryRuleMessageRule85 = new BitSet(new long[]{0x0000000000000002L});
666
    public static final BitSet FOLLOW_ruleSequenceTermRule_in_ruleMessageRule131 = new BitSet(new long[]{0x0000000000003000L});
614
    public static final BitSet FOLLOW_ruleSequenceTermRule_in_ruleMessageRule131 = new BitSet(new long[]{0x0000000000003000L});
667
    public static final BitSet FOLLOW_12_in_ruleMessageRule142 = new BitSet(new long[]{0x0000000000000020L});
615
    public static final BitSet FOLLOW_12_in_ruleMessageRule144 = new BitSet(new long[]{0x0000000000000020L});
668
    public static final BitSet FOLLOW_ruleSequenceTermRule_in_ruleMessageRule163 = new BitSet(new long[]{0x0000000000003000L});
616
    public static final BitSet FOLLOW_ruleSequenceTermRule_in_ruleMessageRule165 = new BitSet(new long[]{0x0000000000003000L});
669
    public static final BitSet FOLLOW_13_in_ruleMessageRule175 = new BitSet(new long[]{0x0000000000000010L});
617
    public static final BitSet FOLLOW_13_in_ruleMessageRule179 = new BitSet(new long[]{0x0000000000000010L});
670
    public static final BitSet FOLLOW_RULE_NAMERULE_in_ruleMessageRule192 = new BitSet(new long[]{0x0000000000000002L});
618
    public static final BitSet FOLLOW_RULE_NAMERULE_in_ruleMessageRule196 = new BitSet(new long[]{0x0000000000000002L});
671
    public static final BitSet FOLLOW_ruleSequenceTermRule_in_entryRuleSequenceTermRule233 = new BitSet(new long[]{0x0000000000000000L});
619
    public static final BitSet FOLLOW_ruleSequenceTermRule_in_entryRuleSequenceTermRule237 = new BitSet(new long[]{0x0000000000000000L});
672
    public static final BitSet FOLLOW_EOF_in_entryRuleSequenceTermRule243 = new BitSet(new long[]{0x0000000000000002L});
620
    public static final BitSet FOLLOW_EOF_in_entryRuleSequenceTermRule247 = new BitSet(new long[]{0x0000000000000002L});
673
    public static final BitSet FOLLOW_RULE_INT_in_ruleSequenceTermRule285 = new BitSet(new long[]{0x000000000000C042L});
621
    public static final BitSet FOLLOW_RULE_INT_in_ruleSequenceTermRule289 = new BitSet(new long[]{0x000000000000C042L});
674
    public static final BitSet FOLLOW_RULE_ID_in_ruleSequenceTermRule307 = new BitSet(new long[]{0x000000000000C002L});
622
    public static final BitSet FOLLOW_RULE_ID_in_ruleSequenceTermRule311 = new BitSet(new long[]{0x000000000000C002L});
675
    public static final BitSet FOLLOW_ruleRecurrenceRule_in_ruleSequenceTermRule334 = new BitSet(new long[]{0x0000000000000002L});
623
    public static final BitSet FOLLOW_ruleRecurrenceRule_in_ruleSequenceTermRule338 = new BitSet(new long[]{0x0000000000000002L});
676
    public static final BitSet FOLLOW_ruleRecurrenceRule_in_entryRuleRecurrenceRule372 = new BitSet(new long[]{0x0000000000000000L});
624
    public static final BitSet FOLLOW_ruleRecurrenceRule_in_entryRuleRecurrenceRule376 = new BitSet(new long[]{0x0000000000000000L});
677
    public static final BitSet FOLLOW_EOF_in_entryRuleRecurrenceRule383 = new BitSet(new long[]{0x0000000000000002L});
625
    public static final BitSet FOLLOW_EOF_in_entryRuleRecurrenceRule387 = new BitSet(new long[]{0x0000000000000002L});
678
    public static final BitSet FOLLOW_14_in_ruleRecurrenceRule422 = new BitSet(new long[]{0x0000000000008000L});
626
    public static final BitSet FOLLOW_14_in_ruleRecurrenceRule426 = new BitSet(new long[]{0x0000000000008000L});
679
    public static final BitSet FOLLOW_15_in_ruleRecurrenceRule435 = new BitSet(new long[]{0x0000000000000080L});
627
    public static final BitSet FOLLOW_15_in_ruleRecurrenceRule439 = new BitSet(new long[]{0x0000000000000080L});
680
    public static final BitSet FOLLOW_RULE_STRING_in_ruleRecurrenceRule450 = new BitSet(new long[]{0x0000000000010000L});
628
    public static final BitSet FOLLOW_RULE_STRING_in_ruleRecurrenceRule454 = new BitSet(new long[]{0x0000000000010000L});
681
    public static final BitSet FOLLOW_16_in_ruleRecurrenceRule468 = new BitSet(new long[]{0x0000000000000002L});
629
    public static final BitSet FOLLOW_16_in_ruleRecurrenceRule472 = new BitSet(new long[]{0x0000000000000002L});
682
    public static final BitSet FOLLOW_15_in_ruleRecurrenceRule489 = new BitSet(new long[]{0x0000000000000080L});
630
    public static final BitSet FOLLOW_15_in_ruleRecurrenceRule493 = new BitSet(new long[]{0x0000000000000080L});
683
    public static final BitSet FOLLOW_RULE_STRING_in_ruleRecurrenceRule504 = new BitSet(new long[]{0x0000000000010000L});
631
    public static final BitSet FOLLOW_RULE_STRING_in_ruleRecurrenceRule508 = new BitSet(new long[]{0x0000000000010000L});
684
    public static final BitSet FOLLOW_16_in_ruleRecurrenceRule522 = new BitSet(new long[]{0x0000000000000002L});
632
    public static final BitSet FOLLOW_16_in_ruleRecurrenceRule526 = new BitSet(new long[]{0x0000000000000002L});
685
633
686
}
634
}
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.g (-120 / +68 lines)
Lines 19-36 Link Here
19
@parser::header {
19
@parser::header {
20
package org.eclipse.papyrus.message.editor.xtext.parser.antlr.internal; 
20
package org.eclipse.papyrus.message.editor.xtext.parser.antlr.internal; 
21
21
22
import java.io.InputStream;
23
import org.eclipse.xtext.*;
22
import org.eclipse.xtext.*;
24
import org.eclipse.xtext.parser.*;
23
import org.eclipse.xtext.parser.*;
25
import org.eclipse.xtext.parser.impl.*;
24
import org.eclipse.xtext.parser.impl.*;
26
import org.eclipse.xtext.parsetree.*;
27
import org.eclipse.emf.ecore.util.EcoreUtil;
25
import org.eclipse.emf.ecore.util.EcoreUtil;
28
import org.eclipse.emf.ecore.EObject;
26
import org.eclipse.emf.ecore.EObject;
29
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
27
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
30
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
28
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
31
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
29
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
32
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
30
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
33
import org.eclipse.xtext.conversion.ValueConverterException;
34
import org.eclipse.papyrus.message.editor.xtext.services.UmlMessageGrammarAccess;
31
import org.eclipse.papyrus.message.editor.xtext.services.UmlMessageGrammarAccess;
35
32
36
}
33
}
Lines 39-55 Link Here
39
36
40
 	private UmlMessageGrammarAccess grammarAccess;
37
 	private UmlMessageGrammarAccess grammarAccess;
41
 	
38
 	
42
    public InternalUmlMessageParser(TokenStream input, IAstFactory factory, UmlMessageGrammarAccess grammarAccess) {
39
    public InternalUmlMessageParser(TokenStream input, UmlMessageGrammarAccess grammarAccess) {
43
        this(input);
40
        this(input);
44
        this.factory = factory;
45
        registerRules(grammarAccess.getGrammar());
46
        this.grammarAccess = grammarAccess;
41
        this.grammarAccess = grammarAccess;
47
    }
42
        registerRules(grammarAccess.getGrammar());
48
    
49
    @Override
50
    protected InputStream getTokenFile() {
51
    	ClassLoader classLoader = getClass().getClassLoader();
52
    	return classLoader.getResourceAsStream("org/eclipse/papyrus/message/editor/xtext/parser/antlr/internal/InternalUmlMessage.tokens");
53
    }
43
    }
54
    
44
    
55
    @Override
45
    @Override
Lines 76-82 Link Here
76
// Entry rule entryRuleMessageRule
66
// Entry rule entryRuleMessageRule
77
entryRuleMessageRule returns [EObject current=null] 
67
entryRuleMessageRule returns [EObject current=null] 
78
	:
68
	:
79
	{ currentNode = createCompositeNode(grammarAccess.getMessageRuleRule(), currentNode); }
69
	{ newCompositeNode(grammarAccess.getMessageRuleRule()); }
80
	 iv_ruleMessageRule=ruleMessageRule 
70
	 iv_ruleMessageRule=ruleMessageRule 
81
	 { $current=$iv_ruleMessageRule.current; } 
71
	 { $current=$iv_ruleMessageRule.current; } 
82
	 EOF 
72
	 EOF 
Lines 84-171 Link Here
84
74
85
// Rule MessageRule
75
// Rule MessageRule
86
ruleMessageRule returns [EObject current=null] 
76
ruleMessageRule returns [EObject current=null] 
87
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
77
    @init { enterRule(); 
88
    }
78
    }
89
    @after { resetLookahead(); 
79
    @after { leaveRule(); }:
90
    	lastConsumedNode = currentNode;
91
    }:
92
((
80
((
93
(
81
(
94
		{ 
82
		{ 
95
	        currentNode=createCompositeNode(grammarAccess.getMessageRuleAccess().getSequenceTermSequenceTermRuleParserRuleCall_0_0(), currentNode); 
83
	        newCompositeNode(grammarAccess.getMessageRuleAccess().getSequenceTermSequenceTermRuleParserRuleCall_0_0()); 
96
	    }
84
	    }
97
		lv_sequenceTerm_0_0=ruleSequenceTermRule		{
85
		lv_sequenceTerm_0_0=ruleSequenceTermRule		{
98
	        if ($current==null) {
86
	        if ($current==null) {
99
	            $current = factory.create(grammarAccess.getMessageRuleRule().getType().getClassifier());
87
	            $current = createModelElementForParent(grammarAccess.getMessageRuleRule());
100
	            associateNodeWithAstElement(currentNode.getParent(), $current);
101
	        }
88
	        }
102
	        try {
89
       		add(
103
	       		add(
90
       			$current, 
104
	       			$current, 
91
       			"sequenceTerm",
105
	       			"sequenceTerm",
92
        		lv_sequenceTerm_0_0, 
106
	        		lv_sequenceTerm_0_0, 
93
        		"SequenceTermRule");
107
	        		"SequenceTermRule", 
94
	        afterParserOrEnumRuleCall();
108
	        		currentNode);
109
	        } catch (ValueConverterException vce) {
110
				handleValueConverterException(vce);
111
	        }
112
	        currentNode = currentNode.getParent();
113
	    }
95
	    }
114
96
115
)
97
)
116
)(	'.' 
98
)(	otherlv_1='.' 
117
    {
99
    {
118
        createLeafNode(grammarAccess.getMessageRuleAccess().getFullStopKeyword_1_0(), null); 
100
    	newLeafNode(otherlv_1, grammarAccess.getMessageRuleAccess().getFullStopKeyword_1_0());
119
    }
101
    }
120
(
102
(
121
(
103
(
122
		{ 
104
		{ 
123
	        currentNode=createCompositeNode(grammarAccess.getMessageRuleAccess().getSequenceTermSequenceTermRuleParserRuleCall_1_1_0(), currentNode); 
105
	        newCompositeNode(grammarAccess.getMessageRuleAccess().getSequenceTermSequenceTermRuleParserRuleCall_1_1_0()); 
124
	    }
106
	    }
125
		lv_sequenceTerm_2_0=ruleSequenceTermRule		{
107
		lv_sequenceTerm_2_0=ruleSequenceTermRule		{
126
	        if ($current==null) {
108
	        if ($current==null) {
127
	            $current = factory.create(grammarAccess.getMessageRuleRule().getType().getClassifier());
109
	            $current = createModelElementForParent(grammarAccess.getMessageRuleRule());
128
	            associateNodeWithAstElement(currentNode.getParent(), $current);
129
	        }
110
	        }
130
	        try {
111
       		add(
131
	       		add(
112
       			$current, 
132
	       			$current, 
113
       			"sequenceTerm",
133
	       			"sequenceTerm",
114
        		lv_sequenceTerm_2_0, 
134
	        		lv_sequenceTerm_2_0, 
115
        		"SequenceTermRule");
135
	        		"SequenceTermRule", 
116
	        afterParserOrEnumRuleCall();
136
	        		currentNode);
137
	        } catch (ValueConverterException vce) {
138
				handleValueConverterException(vce);
139
	        }
140
	        currentNode = currentNode.getParent();
141
	    }
117
	    }
142
118
143
)
119
)
144
))*	':' 
120
))*	otherlv_3=':' 
145
    {
121
    {
146
        createLeafNode(grammarAccess.getMessageRuleAccess().getColonKeyword_2(), null); 
122
    	newLeafNode(otherlv_3, grammarAccess.getMessageRuleAccess().getColonKeyword_2());
147
    }
123
    }
148
(
124
(
149
(
125
(
150
		lv_name_4_0=RULE_NAMERULE
126
		lv_name_4_0=RULE_NAMERULE
151
		{
127
		{
152
			createLeafNode(grammarAccess.getMessageRuleAccess().getNameNameRuleTerminalRuleCall_3_0(), "name"); 
128
			newLeafNode(lv_name_4_0, grammarAccess.getMessageRuleAccess().getNameNameRuleTerminalRuleCall_3_0()); 
153
		}
129
		}
154
		{
130
		{
155
	        if ($current==null) {
131
	        if ($current==null) {
156
	            $current = factory.create(grammarAccess.getMessageRuleRule().getType().getClassifier());
132
	            $current = createModelElement(grammarAccess.getMessageRuleRule());
157
	            associateNodeWithAstElement(currentNode, $current);
158
	        }
133
	        }
159
	        try {
134
       		setWithLastConsumed(
160
	       		set(
135
       			$current, 
161
	       			$current, 
136
       			"name",
162
	       			"name",
137
        		lv_name_4_0, 
163
	        		lv_name_4_0, 
138
        		"nameRule");
164
	        		"nameRule", 
165
	        		lastConsumedNode);
166
	        } catch (ValueConverterException vce) {
167
				handleValueConverterException(vce);
168
	        }
169
	    }
139
	    }
170
140
171
)
141
)
Lines 179-185 Link Here
179
// Entry rule entryRuleSequenceTermRule
149
// Entry rule entryRuleSequenceTermRule
180
entryRuleSequenceTermRule returns [EObject current=null] 
150
entryRuleSequenceTermRule returns [EObject current=null] 
181
	:
151
	:
182
	{ currentNode = createCompositeNode(grammarAccess.getSequenceTermRuleRule(), currentNode); }
152
	{ newCompositeNode(grammarAccess.getSequenceTermRuleRule()); }
183
	 iv_ruleSequenceTermRule=ruleSequenceTermRule 
153
	 iv_ruleSequenceTermRule=ruleSequenceTermRule 
184
	 { $current=$iv_ruleSequenceTermRule.current; } 
154
	 { $current=$iv_ruleSequenceTermRule.current; } 
185
	 EOF 
155
	 EOF 
Lines 187-218 Link Here
187
157
188
// Rule SequenceTermRule
158
// Rule SequenceTermRule
189
ruleSequenceTermRule returns [EObject current=null] 
159
ruleSequenceTermRule returns [EObject current=null] 
190
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
160
    @init { enterRule(); 
191
    }
161
    }
192
    @after { resetLookahead(); 
162
    @after { leaveRule(); }:
193
    	lastConsumedNode = currentNode;
194
    }:
195
((
163
((
196
(
164
(
197
		lv_sequencialOrder_0_0=RULE_INT
165
		lv_sequencialOrder_0_0=RULE_INT
198
		{
166
		{
199
			createLeafNode(grammarAccess.getSequenceTermRuleAccess().getSequencialOrderINTTerminalRuleCall_0_0(), "sequencialOrder"); 
167
			newLeafNode(lv_sequencialOrder_0_0, grammarAccess.getSequenceTermRuleAccess().getSequencialOrderINTTerminalRuleCall_0_0()); 
200
		}
168
		}
201
		{
169
		{
202
	        if ($current==null) {
170
	        if ($current==null) {
203
	            $current = factory.create(grammarAccess.getSequenceTermRuleRule().getType().getClassifier());
171
	            $current = createModelElement(grammarAccess.getSequenceTermRuleRule());
204
	            associateNodeWithAstElement(currentNode, $current);
205
	        }
172
	        }
206
	        try {
173
       		setWithLastConsumed(
207
	       		set(
174
       			$current, 
208
	       			$current, 
175
       			"sequencialOrder",
209
	       			"sequencialOrder",
176
        		lv_sequencialOrder_0_0, 
210
	        		lv_sequencialOrder_0_0, 
177
        		"INT");
211
	        		"INT", 
212
	        		lastConsumedNode);
213
	        } catch (ValueConverterException vce) {
214
				handleValueConverterException(vce);
215
	        }
216
	    }
178
	    }
217
179
218
)
180
)
Lines 220-266 Link Here
220
(
182
(
221
		lv_sequenceName_1_0=RULE_ID
183
		lv_sequenceName_1_0=RULE_ID
222
		{
184
		{
223
			createLeafNode(grammarAccess.getSequenceTermRuleAccess().getSequenceNameIDTerminalRuleCall_1_0(), "sequenceName"); 
185
			newLeafNode(lv_sequenceName_1_0, grammarAccess.getSequenceTermRuleAccess().getSequenceNameIDTerminalRuleCall_1_0()); 
224
		}
186
		}
225
		{
187
		{
226
	        if ($current==null) {
188
	        if ($current==null) {
227
	            $current = factory.create(grammarAccess.getSequenceTermRuleRule().getType().getClassifier());
189
	            $current = createModelElement(grammarAccess.getSequenceTermRuleRule());
228
	            associateNodeWithAstElement(currentNode, $current);
229
	        }
190
	        }
230
	        try {
191
       		setWithLastConsumed(
231
	       		set(
192
       			$current, 
232
	       			$current, 
193
       			"sequenceName",
233
	       			"sequenceName",
194
        		lv_sequenceName_1_0, 
234
	        		lv_sequenceName_1_0, 
195
        		"ID");
235
	        		"ID", 
236
	        		lastConsumedNode);
237
	        } catch (ValueConverterException vce) {
238
				handleValueConverterException(vce);
239
	        }
240
	    }
196
	    }
241
197
242
)
198
)
243
)?(
199
)?(
244
(
200
(
245
		{ 
201
		{ 
246
	        currentNode=createCompositeNode(grammarAccess.getSequenceTermRuleAccess().getRecurrenceRecurrenceRuleParserRuleCall_2_0(), currentNode); 
202
	        newCompositeNode(grammarAccess.getSequenceTermRuleAccess().getRecurrenceRecurrenceRuleParserRuleCall_2_0()); 
247
	    }
203
	    }
248
		lv_recurrence_2_0=ruleRecurrenceRule		{
204
		lv_recurrence_2_0=ruleRecurrenceRule		{
249
	        if ($current==null) {
205
	        if ($current==null) {
250
	            $current = factory.create(grammarAccess.getSequenceTermRuleRule().getType().getClassifier());
206
	            $current = createModelElementForParent(grammarAccess.getSequenceTermRuleRule());
251
	            associateNodeWithAstElement(currentNode.getParent(), $current);
252
	        }
207
	        }
253
	        try {
208
       		set(
254
	       		set(
209
       			$current, 
255
	       			$current, 
210
       			"recurrence",
256
	       			"recurrence",
211
        		lv_recurrence_2_0, 
257
	        		lv_recurrence_2_0, 
212
        		"RecurrenceRule");
258
	        		"RecurrenceRule", 
213
	        afterParserOrEnumRuleCall();
259
	        		currentNode);
260
	        } catch (ValueConverterException vce) {
261
				handleValueConverterException(vce);
262
	        }
263
	        currentNode = currentNode.getParent();
264
	    }
214
	    }
265
215
266
)
216
)
Lines 274-280 Link Here
274
// Entry rule entryRuleRecurrenceRule
224
// Entry rule entryRuleRecurrenceRule
275
entryRuleRecurrenceRule returns [String current=null] 
225
entryRuleRecurrenceRule returns [String current=null] 
276
	:
226
	:
277
	{ currentNode = createCompositeNode(grammarAccess.getRecurrenceRuleRule(), currentNode); } 
227
	{ newCompositeNode(grammarAccess.getRecurrenceRuleRule()); } 
278
	 iv_ruleRecurrenceRule=ruleRecurrenceRule 
228
	 iv_ruleRecurrenceRule=ruleRecurrenceRule 
279
	 { $current=$iv_ruleRecurrenceRule.current.getText(); }  
229
	 { $current=$iv_ruleRecurrenceRule.current.getText(); }  
280
	 EOF 
230
	 EOF 
Lines 282-336 Link Here
282
232
283
// Rule RecurrenceRule
233
// Rule RecurrenceRule
284
ruleRecurrenceRule returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] 
234
ruleRecurrenceRule returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] 
285
    @init { setCurrentLookahead(); resetLookahead(); 
235
    @init { enterRule(); 
286
    }
236
    }
287
    @after { resetLookahead(); 
237
    @after { leaveRule(); }:
288
	    lastConsumedNode = currentNode;
289
    }:
290
((
238
((
291
	kw='*' 
239
	kw='*' 
292
    {
240
    {
293
        $current.merge(kw);
241
        $current.merge(kw);
294
        createLeafNode(grammarAccess.getRecurrenceRuleAccess().getAsteriskKeyword_0_0(), null); 
242
        newLeafNode(kw, grammarAccess.getRecurrenceRuleAccess().getAsteriskKeyword_0_0()); 
295
    }
243
    }
296
244
297
	kw='[' 
245
	kw='[' 
298
    {
246
    {
299
        $current.merge(kw);
247
        $current.merge(kw);
300
        createLeafNode(grammarAccess.getRecurrenceRuleAccess().getLeftSquareBracketKeyword_0_1(), null); 
248
        newLeafNode(kw, grammarAccess.getRecurrenceRuleAccess().getLeftSquareBracketKeyword_0_1()); 
301
    }
249
    }
302
    this_STRING_2=RULE_STRING    {
250
    this_STRING_2=RULE_STRING    {
303
		$current.merge(this_STRING_2);
251
		$current.merge(this_STRING_2);
304
    }
252
    }
305
253
306
    { 
254
    { 
307
    createLeafNode(grammarAccess.getRecurrenceRuleAccess().getSTRINGTerminalRuleCall_0_2(), null); 
255
    newLeafNode(this_STRING_2, grammarAccess.getRecurrenceRuleAccess().getSTRINGTerminalRuleCall_0_2()); 
308
    }
256
    }
309
257
310
	kw=']' 
258
	kw=']' 
311
    {
259
    {
312
        $current.merge(kw);
260
        $current.merge(kw);
313
        createLeafNode(grammarAccess.getRecurrenceRuleAccess().getRightSquareBracketKeyword_0_3(), null); 
261
        newLeafNode(kw, grammarAccess.getRecurrenceRuleAccess().getRightSquareBracketKeyword_0_3()); 
314
    }
262
    }
315
)
263
)
316
    |(
264
    |(
317
	kw='[' 
265
	kw='[' 
318
    {
266
    {
319
        $current.merge(kw);
267
        $current.merge(kw);
320
        createLeafNode(grammarAccess.getRecurrenceRuleAccess().getLeftSquareBracketKeyword_1_0(), null); 
268
        newLeafNode(kw, grammarAccess.getRecurrenceRuleAccess().getLeftSquareBracketKeyword_1_0()); 
321
    }
269
    }
322
    this_STRING_5=RULE_STRING    {
270
    this_STRING_5=RULE_STRING    {
323
		$current.merge(this_STRING_5);
271
		$current.merge(this_STRING_5);
324
    }
272
    }
325
273
326
    { 
274
    { 
327
    createLeafNode(grammarAccess.getRecurrenceRuleAccess().getSTRINGTerminalRuleCall_1_1(), null); 
275
    newLeafNode(this_STRING_5, grammarAccess.getRecurrenceRuleAccess().getSTRINGTerminalRuleCall_1_1()); 
328
    }
276
    }
329
277
330
	kw=']' 
278
	kw=']' 
331
    {
279
    {
332
        $current.merge(kw);
280
        $current.merge(kw);
333
        createLeafNode(grammarAccess.getRecurrenceRuleAccess().getRightSquareBracketKeyword_1_2(), null); 
281
        newLeafNode(kw, grammarAccess.getRecurrenceRuleAccess().getRightSquareBracketKeyword_1_2()); 
334
    }
282
    }
335
))
283
))
336
    ;
284
    ;
Lines 345-351 Link Here
345
293
346
RULE_INT : ('0'..'9')+;
294
RULE_INT : ('0'..'9')+;
347
295
348
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
296
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
349
297
350
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
298
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
351
299
(-)META-INF/MANIFEST.MF (-1 / +1 lines)
Lines 22-28 Link Here
22
 org.eclipse.uml2.uml;bundle-version="3.1.0",
22
 org.eclipse.uml2.uml;bundle-version="3.1.0",
23
 org.eclipse.papyrus.log;bundle-version="0.8.0",
23
 org.eclipse.papyrus.log;bundle-version="0.8.0",
24
 org.eclipse.papyrus.properties.runtime;bundle-version="0.8.0",
24
 org.eclipse.papyrus.properties.runtime;bundle-version="0.8.0",
25
 org.eclipse.xtext.gmf.glue;bundle-version="1.0.0"
25
 org.eclipse.xtext.gmf.glue;bundle-version="0.8.0"
26
Import-Package: org.apache.log4j
26
Import-Package: org.apache.log4j
27
Bundle-RequiredExecutionEnvironment: J2SE-1.5
27
Bundle-RequiredExecutionEnvironment: J2SE-1.5
28
Export-Package: org.eclipse.papyrus.message.editor.xtext,
28
Export-Package: org.eclipse.papyrus.message.editor.xtext,
(-)src/org/eclipse/papyrus/message/editor/xtext/GenerateUmlMessage.mwe2 (-2 / +1 lines)
Lines 84-91 Link Here
84
			fragment = labeling.LabelProviderFragment {}
84
			fragment = labeling.LabelProviderFragment {}
85
85
86
			// outline API 
86
			// outline API 
87
			fragment = outline.TransformerFragment {}
87
			fragment = outline.OutlineTreeProviderFragment {}
88
			fragment = outline.OutlineNodeAdapterFactoryFragment {}
89
			fragment = outline.QuickOutlineFragment {}
88
			fragment = outline.QuickOutlineFragment {}
90
89
91
			// quickfix API 
90
			// quickfix API 
(-)plugin.xml_gen (-1 lines)
Lines 14-18 Link Here
14
14
15
15
16
16
17
18
</plugin>
17
</plugin>
(-)src/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/outline/UmlCollaborationUseOutlineNodeAdapterFactory.java (-31 lines)
Lines 1-31 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui.outline;
15
16
import org.eclipse.xtext.ui.editor.outline.actions.DefaultContentOutlineNodeAdapterFactory;
17
18
public class UmlCollaborationUseOutlineNodeAdapterFactory extends DefaultContentOutlineNodeAdapterFactory {
19
20
	private static final Class<?>[] types = {
21
	// provide list of classes to adapt to, e.g.:
22
	// Entity.class
23
	// Service.class
24
	};
25
26
	@Override
27
	public Class<?>[] getAdapterList() {
28
		return types;
29
	}
30
31
}
(-)src/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/outline/UmlCollaborationUseOutlineTreeProvider.java (+14 lines)
Line 0 Link Here
1
/*
2
* generated by Xtext
3
*/
4
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui.outline;
5
6
import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;
7
8
/**
9
 * customization of the default outline structure
10
 * 
11
 */
12
public class UmlCollaborationUseOutlineTreeProvider extends DefaultOutlineTreeProvider {
13
	
14
}
(-)src/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/outline/UmlCollaborationUseTransformer.java (-24 lines)
Lines 1-24 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui.outline;
15
16
import org.eclipse.xtext.ui.editor.outline.transformer.AbstractDeclarativeSemanticModelTransformer;
17
18
/**
19
 * customization of the default outline structure
20
 * 
21
 */
22
public class UmlCollaborationUseTransformer extends AbstractDeclarativeSemanticModelTransformer {
23
24
}
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/internal/UmlCollaborationUseActivator.java (-24 / +35 lines)
Lines 3-71 Link Here
3
 */
3
 */
4
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui.internal;
4
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui.internal;
5
5
6
import java.util.HashMap;
6
import static com.google.inject.util.Modules.override;
7
import java.util.Map;
7
import static com.google.inject.Guice.createInjector;
8
8
9
import org.apache.log4j.Logger;
9
import org.apache.log4j.Logger;
10
10
import org.eclipse.ui.plugin.AbstractUIPlugin;
11
import org.eclipse.ui.plugin.AbstractUIPlugin;
11
import org.osgi.framework.BundleContext;
12
import org.osgi.framework.BundleContext;
12
13
13
import com.google.inject.Guice;
14
import com.google.inject.Injector;
14
import com.google.inject.Injector;
15
import com.google.inject.Module;
15
import com.google.inject.Module;
16
import com.google.inject.util.Modules;
16
17
import java.util.Map;
18
import java.util.HashMap;
17
19
18
/**
20
/**
19
 * Generated
21
 * This class was generated. Customizations should only happen in a newly
22
 * introduced subclass. 
20
 */
23
 */
21
public class UmlCollaborationUseActivator extends AbstractUIPlugin {
24
public class UmlCollaborationUseActivator extends AbstractUIPlugin {
22
25
23
	private Map<String, Injector> injectors = new HashMap<String, Injector>();
26
	private Map<String,Injector> injectors = new HashMap<String,Injector>();
24
25
	private static UmlCollaborationUseActivator INSTANCE;
27
	private static UmlCollaborationUseActivator INSTANCE;
26
28
27
	public Injector getInjector(String languageName) {
29
	public Injector getInjector(String languageName) {
28
		return injectors.get(languageName);
30
		return injectors.get(languageName);
29
	}
31
	}
30
32
	
31
	@Override
33
	@Override
32
	public void start(BundleContext context) throws Exception {
34
	public void start(BundleContext context) throws Exception {
33
		super.start(context);
35
		super.start(context);
34
		INSTANCE = this;
36
		INSTANCE = this;
35
		try {
37
		try {
36
38
			registerInjectorFor("org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUse");
37
			injectors.put("org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUse", Guice.createInjector(Modules.override(Modules.override(getRuntimeModule("org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUse")).with(getUiModule("org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUse"))).with(getSharedStateModule())));
39
			
38
39
		} catch (Exception e) {
40
		} catch (Exception e) {
40
			Logger.getLogger(getClass()).error(e.getMessage(), e);
41
			Logger.getLogger(getClass()).error(e.getMessage(), e);
41
			throw e;
42
			throw e;
42
		}
43
		}
43
	}
44
	}
44
45
	
46
	protected void registerInjectorFor(String language) throws Exception {
47
		injectors.put(language, createInjector(
48
		  override(override(getRuntimeModule(language)).with(getSharedStateModule())).with(getUiModule(language))));
49
	}
50
	
51
	@Override
52
	public void stop(BundleContext context) throws Exception {
53
		injectors.clear();
54
		INSTANCE = null;
55
		super.stop(context);
56
	}
57
	
45
	public static UmlCollaborationUseActivator getInstance() {
58
	public static UmlCollaborationUseActivator getInstance() {
46
		return INSTANCE;
59
		return INSTANCE;
47
	}
60
	}
48
61
	
49
	protected Module getRuntimeModule(String grammar) {
62
	protected Module getRuntimeModule(String grammar) {
50
63
		if ("org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUse".equals(grammar)) {
51
		if("org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUse".equals(grammar)) {
64
		  return new org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUseRuntimeModule();
52
			return new org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUseRuntimeModule();
53
		}
65
		}
54
66
		
55
		throw new IllegalArgumentException(grammar);
67
		throw new IllegalArgumentException(grammar);
56
	}
68
	}
57
69
	
58
	protected Module getUiModule(String grammar) {
70
	protected Module getUiModule(String grammar) {
59
71
		if ("org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUse".equals(grammar)) {
60
		if("org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUse".equals(grammar)) {
72
		  return new org.eclipse.papyrus.collaborationuse.editor.xtext.ui.UmlCollaborationUseUiModule(this);
61
			return new org.eclipse.papyrus.collaborationuse.editor.xtext.ui.UmlCollaborationUseUiModule(this);
62
		}
73
		}
63
74
		
64
		throw new IllegalArgumentException(grammar);
75
		throw new IllegalArgumentException(grammar);
65
	}
76
	}
66
77
	
67
	protected Module getSharedStateModule() {
78
	protected Module getSharedStateModule() {
68
		return new org.eclipse.xtext.ui.shared.SharedStateModule();
79
		return new org.eclipse.xtext.ui.shared.SharedStateModule();
69
	}
80
	}
70
81
	
71
}
82
}
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/AbstractUmlCollaborationUseUiModule.java (-21 / +17 lines)
Lines 1-43 Link Here
1
1
/*
2
/*
2
 * generated by Xtext
3
 * generated by Xtext
3
 */
4
 */
4
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui;
5
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui;
5
6
6
import org.eclipse.ui.plugin.AbstractUIPlugin;
7
import org.eclipse.xtext.ui.DefaultUiModule;
7
import org.eclipse.xtext.ui.DefaultUiModule;
8
import org.eclipse.ui.plugin.AbstractUIPlugin;
8
9
9
/**
10
/**
10
 * Manual modifications go to {org.eclipse.papyrus.collaborationuse.editor.xtext.ui.UmlCollaborationUseUiModule}
11
 * Manual modifications go to {org.eclipse.papyrus.collaborationuse.editor.xtext.ui.UmlCollaborationUseUiModule}
11
 */
12
 */
12
@SuppressWarnings("all")
13
@SuppressWarnings("all")
13
public abstract class AbstractUmlCollaborationUseUiModule extends DefaultUiModule {
14
public abstract class AbstractUmlCollaborationUseUiModule extends DefaultUiModule {
14
15
	
15
	public AbstractUmlCollaborationUseUiModule(AbstractUIPlugin plugin) {
16
	public AbstractUmlCollaborationUseUiModule(AbstractUIPlugin plugin) {
16
		super(plugin);
17
		super(plugin);
17
	}
18
	}
18
19
	
19
20
	
20
	// contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment
21
	// contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment
21
	public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() {
22
	public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() {
22
		return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState();
23
		return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState();
23
	}
24
	}
24
25
25
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
26
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
26
	public Class<? extends org.eclipse.jface.text.rules.ITokenScanner> bindITokenScanner() {
27
		return org.eclipse.xtext.ui.editor.syntaxcoloring.antlr.AntlrTokenScanner.class;
28
	}
29
30
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
31
	public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
27
	public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
32
		return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
28
		return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
33
	}
29
	}
34
30
35
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
31
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
36
	public Class<? extends org.eclipse.xtext.ui.editor.IDamagerRepairer> bindIDamagerRepairer() {
37
		return org.eclipse.xtext.ui.editor.FastDamagerRepairer.class;
38
	}
39
40
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
41
	public void configureHighlightingLexer(com.google.inject.Binder binder) {
32
	public void configureHighlightingLexer(com.google.inject.Binder binder) {
42
		binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr.internal.InternalUmlCollaborationUseLexer.class);
33
		binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr.internal.InternalUmlCollaborationUseLexer.class);
43
	}
34
	}
Lines 47-55 Link Here
47
		binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
38
		binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
48
	}
39
	}
49
40
41
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
42
	public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() {
43
		return org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator.Null.class;
44
	}
45
50
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
46
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
51
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
47
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
52
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.builderState.ShadowingResourceDescriptions.class);
48
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class);
53
	}
49
	}
54
50
55
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
51
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
Lines 77-90 Link Here
77
		binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.collaborationuse.editor.xtext.ui.labeling.UmlCollaborationUseDescriptionLabelProvider.class);
73
		binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.collaborationuse.editor.xtext.ui.labeling.UmlCollaborationUseDescriptionLabelProvider.class);
78
	}
74
	}
79
75
80
	// contributed by org.eclipse.xtext.ui.generator.outline.TransformerFragment
76
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
81
	public Class<? extends org.eclipse.xtext.ui.editor.outline.transformer.ISemanticModelTransformer> bindISemanticModelTransformer() {
77
	public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() {
82
		return org.eclipse.papyrus.collaborationuse.editor.xtext.ui.outline.UmlCollaborationUseTransformer.class;
78
		return org.eclipse.papyrus.collaborationuse.editor.xtext.ui.outline.UmlCollaborationUseOutlineTreeProvider.class;
83
	}
79
	}
84
80
85
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineNodeAdapterFactoryFragment
81
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
86
	public Class<? extends org.eclipse.xtext.ui.editor.outline.actions.IContentOutlineNodeAdapterFactory> bindIContentOutlineNodeAdapterFactory() {
82
	public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
87
		return org.eclipse.papyrus.collaborationuse.editor.xtext.ui.outline.UmlCollaborationUseOutlineNodeAdapterFactory.class;
83
		return org.eclipse.papyrus.collaborationuse.editor.xtext.ui.outline.UmlCollaborationUseOutlineTreeProvider.class;
88
	}
84
	}
89
85
90
	// contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
86
	// contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUseLexer.java (-735 / +848 lines)
Lines 1-936 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr.internal;
1
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr.internal;
15
2
16
// Hack: Use our own Lexer superclass by means of import. 
3
// Hack: Use our own Lexer superclass by means of import. 
17
// Currently there is no other way to specify the superclass for the lexer.
4
// Currently there is no other way to specify the superclass for the lexer.
18
import org.antlr.runtime.BaseRecognizer;
19
import org.antlr.runtime.CharStream;
20
import org.antlr.runtime.DFA;
21
import org.antlr.runtime.EarlyExitException;
22
import org.antlr.runtime.MismatchedSetException;
23
import org.antlr.runtime.NoViableAltException;
24
import org.antlr.runtime.RecognitionException;
25
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
5
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
26
6
27
@SuppressWarnings("all")
28
public class InternalUmlCollaborationUseLexer extends Lexer {
29
30
	public static final int RULE_ID = 4;
31
32
	public static final int RULE_UNLIMITEDLITERAL = 5;
33
34
	public static final int RULE_ANY_OTHER = 11;
35
36
	public static final int EOF = -1;
37
38
	public static final int RULE_SL_COMMENT = 9;
39
40
	public static final int Tokens = 19;
41
42
	public static final int RULE_ML_COMMENT = 8;
43
44
	public static final int RULE_STRING = 7;
45
7
46
	public static final int RULE_INT = 6;
8
import org.antlr.runtime.*;
9
import java.util.Stack;
10
import java.util.List;
11
import java.util.ArrayList;
47
12
48
	public static final int T12 = 12;
13
@SuppressWarnings("all")
49
14
public class InternalUmlCollaborationUseLexer extends Lexer {
50
	public static final int T13 = 13;
15
    public static final int RULE_ID=4;
51
16
    public static final int RULE_STRING=7;
52
	public static final int T14 = 14;
17
    public static final int RULE_UNLIMITEDLITERAL=5;
53
18
    public static final int T__16=16;
54
	public static final int RULE_WS = 10;
19
    public static final int T__15=15;
55
20
    public static final int T__18=18;
56
	public static final int T15 = 15;
21
    public static final int T__17=17;
57
22
    public static final int T__12=12;
58
	public static final int T16 = 16;
23
    public static final int T__14=14;
59
24
    public static final int T__13=13;
60
	public static final int T17 = 17;
25
    public static final int RULE_ANY_OTHER=11;
61
26
    public static final int RULE_INT=6;
62
	public static final int T18 = 18;
27
    public static final int RULE_WS=10;
63
28
    public static final int RULE_SL_COMMENT=9;
64
	public InternalUmlCollaborationUseLexer() {
29
    public static final int EOF=-1;
65
		;
30
    public static final int RULE_ML_COMMENT=8;
66
	}
67
68
	public InternalUmlCollaborationUseLexer(CharStream input) {
69
		super(input);
70
	}
71
72
	public String getGrammarFileName() {
73
		return "../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g";
74
	}
75
76
	// $ANTLR start T12
77
	public final void mT12() throws RecognitionException {
78
		try {
79
			int _type = T12;
80
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:10:5: ( '<Undefined>' )
81
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:10:7: '<Undefined>'
82
			{
83
				match("<Undefined>");
84
85
86
			}
87
88
			this.type = _type;
89
		} finally {
90
		}
91
	}
92
93
	// $ANTLR end T12
94
31
95
	// $ANTLR start T13
32
    // delegates
96
	public final void mT13() throws RecognitionException {
33
    // delegators
97
		try {
98
			int _type = T13;
99
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:11:5: ( '+' )
100
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:11:7: '+'
101
			{
102
				match('+');
103
34
104
			}
35
    public InternalUmlCollaborationUseLexer() {;} 
36
    public InternalUmlCollaborationUseLexer(CharStream input) {
37
        this(input, new RecognizerSharedState());
38
    }
39
    public InternalUmlCollaborationUseLexer(CharStream input, RecognizerSharedState state) {
40
        super(input,state);
105
41
106
			this.type = _type;
42
    }
107
		} finally {
43
    public String getGrammarFileName() { return "../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g"; }
108
		}
109
	}
110
44
111
	// $ANTLR end T13
45
    // $ANTLR start "T__12"
46
    public final void mT__12() throws RecognitionException {
47
        try {
48
            int _type = T__12;
49
            int _channel = DEFAULT_TOKEN_CHANNEL;
50
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:11:7: ( '<Undefined>' )
51
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:11:9: '<Undefined>'
52
            {
53
            match("<Undefined>"); 
112
54
113
	// $ANTLR start T14
114
	public final void mT14() throws RecognitionException {
115
		try {
116
			int _type = T14;
117
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:12:5: ( '-' )
118
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:12:7: '-'
119
			{
120
				match('-');
121
55
122
			}
56
            }
123
57
124
			this.type = _type;
58
            state.type = _type;
125
		} finally {
59
            state.channel = _channel;
126
		}
60
        }
127
	}
61
        finally {
62
        }
63
    }
64
    // $ANTLR end "T__12"
128
65
129
	// $ANTLR end T14
66
    // $ANTLR start "T__13"
67
    public final void mT__13() throws RecognitionException {
68
        try {
69
            int _type = T__13;
70
            int _channel = DEFAULT_TOKEN_CHANNEL;
71
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:12:7: ( '+' )
72
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:12:9: '+'
73
            {
74
            match('+'); 
130
75
131
	// $ANTLR start T15
76
            }
132
	public final void mT15() throws RecognitionException {
133
		try {
134
			int _type = T15;
135
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:13:5: ( '#' )
136
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:13:7: '#'
137
			{
138
				match('#');
139
77
140
			}
78
            state.type = _type;
79
            state.channel = _channel;
80
        }
81
        finally {
82
        }
83
    }
84
    // $ANTLR end "T__13"
141
85
142
			this.type = _type;
86
    // $ANTLR start "T__14"
143
		} finally {
87
    public final void mT__14() throws RecognitionException {
144
		}
88
        try {
145
	}
89
            int _type = T__14;
90
            int _channel = DEFAULT_TOKEN_CHANNEL;
91
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:13:7: ( '-' )
92
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:13:9: '-'
93
            {
94
            match('-'); 
146
95
147
	// $ANTLR end T15
96
            }
148
97
149
	// $ANTLR start T16
98
            state.type = _type;
150
	public final void mT16() throws RecognitionException {
99
            state.channel = _channel;
151
		try {
100
        }
152
			int _type = T16;
101
        finally {
153
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:14:5: ( '~' )
102
        }
154
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:14:7: '~'
103
    }
155
			{
104
    // $ANTLR end "T__14"
156
				match('~');
157
105
158
			}
106
    // $ANTLR start "T__15"
107
    public final void mT__15() throws RecognitionException {
108
        try {
109
            int _type = T__15;
110
            int _channel = DEFAULT_TOKEN_CHANNEL;
111
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:14:7: ( '#' )
112
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:14:9: '#'
113
            {
114
            match('#'); 
159
115
160
			this.type = _type;
116
            }
161
		} finally {
162
		}
163
	}
164
117
165
	// $ANTLR end T16
118
            state.type = _type;
119
            state.channel = _channel;
120
        }
121
        finally {
122
        }
123
    }
124
    // $ANTLR end "T__15"
166
125
167
	// $ANTLR start T17
126
    // $ANTLR start "T__16"
168
	public final void mT17() throws RecognitionException {
127
    public final void mT__16() throws RecognitionException {
169
		try {
128
        try {
170
			int _type = T17;
129
            int _type = T__16;
171
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:15:5: ( ':' )
130
            int _channel = DEFAULT_TOKEN_CHANNEL;
172
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:15:7: ':'
131
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:15:7: ( '~' )
173
			{
132
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:15:9: '~'
174
				match(':');
133
            {
134
            match('~'); 
175
135
176
			}
136
            }
177
137
178
			this.type = _type;
138
            state.type = _type;
179
		} finally {
139
            state.channel = _channel;
180
		}
140
        }
181
	}
141
        finally {
142
        }
143
    }
144
    // $ANTLR end "T__16"
182
145
183
	// $ANTLR end T17
146
    // $ANTLR start "T__17"
147
    public final void mT__17() throws RecognitionException {
148
        try {
149
            int _type = T__17;
150
            int _channel = DEFAULT_TOKEN_CHANNEL;
151
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:16:7: ( ':' )
152
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:16:9: ':'
153
            {
154
            match(':'); 
184
155
185
	// $ANTLR start T18
156
            }
186
	public final void mT18() throws RecognitionException {
187
		try {
188
			int _type = T18;
189
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:16:5: ( '::' )
190
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:16:7: '::'
191
			{
192
				match("::");
193
157
158
            state.type = _type;
159
            state.channel = _channel;
160
        }
161
        finally {
162
        }
163
    }
164
    // $ANTLR end "T__17"
194
165
195
			}
166
    // $ANTLR start "T__18"
167
    public final void mT__18() throws RecognitionException {
168
        try {
169
            int _type = T__18;
170
            int _channel = DEFAULT_TOKEN_CHANNEL;
171
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:17:7: ( '::' )
172
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:17:9: '::'
173
            {
174
            match("::"); 
196
175
197
			this.type = _type;
198
		} finally {
199
		}
200
	}
201
176
202
	// $ANTLR end T18
177
            }
203
178
204
	// $ANTLR start RULE_UNLIMITEDLITERAL
179
            state.type = _type;
205
	public final void mRULE_UNLIMITEDLITERAL() throws RecognitionException {
180
            state.channel = _channel;
206
		try {
181
        }
207
			int _type = RULE_UNLIMITEDLITERAL;
182
        finally {
208
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:675:23: ( ( '0' .. '9' ( '0' .. '9' )* | '*' ) )
183
        }
209
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:675:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
184
    }
210
			{
185
    // $ANTLR end "T__18"
211
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:675:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
212
				int alt2 = 2;
213
				int LA2_0 = input.LA(1);
214
186
215
				if(((LA2_0 >= '0' && LA2_0 <= '9'))) {
187
    // $ANTLR start "RULE_UNLIMITEDLITERAL"
216
					alt2 = 1;
188
    public final void mRULE_UNLIMITEDLITERAL() throws RecognitionException {
217
				} else if((LA2_0 == '*')) {
189
        try {
218
					alt2 = 2;
190
            int _type = RULE_UNLIMITEDLITERAL;
219
				} else {
191
            int _channel = DEFAULT_TOKEN_CHANNEL;
220
					NoViableAltException nvae = new NoViableAltException("675:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )", 2, 0, input);
192
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:675:23: ( ( '0' .. '9' ( '0' .. '9' )* | '*' ) )
193
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:675:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
194
            {
195
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:675:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
196
            int alt2=2;
197
            int LA2_0 = input.LA(1);
221
198
222
					throw nvae;
199
            if ( ((LA2_0>='0' && LA2_0<='9')) ) {
223
				}
200
                alt2=1;
224
				switch(alt2) {
201
            }
225
				case 1:
202
            else if ( (LA2_0=='*') ) {
226
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:675:26: '0' .. '9' ( '0' .. '9' )*
203
                alt2=2;
227
				{
204
            }
228
					matchRange('0', '9');
205
            else {
229
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:675:35: ( '0' .. '9' )*
206
                NoViableAltException nvae =
230
					loop1: do {
207
                    new NoViableAltException("", 2, 0, input);
231
						int alt1 = 2;
232
						int LA1_0 = input.LA(1);
233
208
234
						if(((LA1_0 >= '0' && LA1_0 <= '9'))) {
209
                throw nvae;
235
							alt1 = 1;
210
            }
236
						}
211
            switch (alt2) {
212
                case 1 :
213
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:675:26: '0' .. '9' ( '0' .. '9' )*
214
                    {
215
                    matchRange('0','9'); 
216
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:675:35: ( '0' .. '9' )*
217
                    loop1:
218
                    do {
219
                        int alt1=2;
220
                        int LA1_0 = input.LA(1);
237
221
222
                        if ( ((LA1_0>='0' && LA1_0<='9')) ) {
223
                            alt1=1;
224
                        }
238
225
239
						switch(alt1) {
240
						case 1:
241
							// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:675:36: '0' .. '9'
242
						{
243
							matchRange('0', '9');
244
226
245
						}
227
                        switch (alt1) {
246
							break;
228
                    	case 1 :
229
                    	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:675:36: '0' .. '9'
230
                    	    {
231
                    	    matchRange('0','9'); 
247
232
248
						default:
233
                    	    }
249
							break loop1;
234
                    	    break;
250
						}
251
					} while(true);
252
235
236
                    	default :
237
                    	    break loop1;
238
                        }
239
                    } while (true);
253
240
254
				}
255
					break;
256
				case 2:
257
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:675:47: '*'
258
				{
259
					match('*');
260
241
261
				}
242
                    }
262
					break;
243
                    break;
244
                case 2 :
245
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:675:47: '*'
246
                    {
247
                    match('*'); 
263
248
264
				}
249
                    }
250
                    break;
265
251
252
            }
266
253
267
			}
268
254
269
			this.type = _type;
255
            }
270
		} finally {
271
		}
272
	}
273
256
274
	// $ANTLR end RULE_UNLIMITEDLITERAL
257
            state.type = _type;
258
            state.channel = _channel;
259
        }
260
        finally {
261
        }
262
    }
263
    // $ANTLR end "RULE_UNLIMITEDLITERAL"
275
264
276
	// $ANTLR start RULE_ID
265
    // $ANTLR start "RULE_ID"
277
	public final void mRULE_ID() throws RecognitionException {
266
    public final void mRULE_ID() throws RecognitionException {
278
		try {
267
        try {
279
			int _type = RULE_ID;
268
            int _type = RULE_ID;
280
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:677:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
269
            int _channel = DEFAULT_TOKEN_CHANNEL;
281
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:677:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
270
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:677:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
282
			{
271
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:677:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
283
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:677:11: ( '^' )?
272
            {
284
				int alt3 = 2;
273
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:677:11: ( '^' )?
285
				int LA3_0 = input.LA(1);
274
            int alt3=2;
275
            int LA3_0 = input.LA(1);
286
276
287
				if((LA3_0 == '^')) {
277
            if ( (LA3_0=='^') ) {
288
					alt3 = 1;
278
                alt3=1;
289
				}
279
            }
290
				switch(alt3) {
280
            switch (alt3) {
291
				case 1:
281
                case 1 :
292
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:677:11: '^'
282
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:677:11: '^'
293
				{
283
                    {
294
					match('^');
284
                    match('^'); 
295
285
296
				}
286
                    }
297
					break;
287
                    break;
298
288
299
				}
289
            }
300
290
301
				if((input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
291
            if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
302
					input.consume();
292
                input.consume();
303
293
304
				} else {
294
            }
305
					MismatchedSetException mse = new MismatchedSetException(null, input);
295
            else {
306
					recover(mse);
296
                MismatchedSetException mse = new MismatchedSetException(null,input);
307
					throw mse;
297
                recover(mse);
308
				}
298
                throw mse;}
309
299
310
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:677:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
300
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:677:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
311
				loop4: do {
301
            loop4:
312
					int alt4 = 2;
302
            do {
313
					int LA4_0 = input.LA(1);
303
                int alt4=2;
304
                int LA4_0 = input.LA(1);
314
305
315
					if(((LA4_0 >= '0' && LA4_0 <= '9') || (LA4_0 >= 'A' && LA4_0 <= 'Z') || LA4_0 == '_' || (LA4_0 >= 'a' && LA4_0 <= 'z'))) {
306
                if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {
316
						alt4 = 1;
307
                    alt4=1;
317
					}
308
                }
318
309
319
310
320
					switch(alt4) {
311
                switch (alt4) {
321
					case 1:
312
            	case 1 :
322
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:
313
            	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:
323
					{
314
            	    {
324
						if((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
315
            	    if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
325
							input.consume();
316
            	        input.consume();
326
317
327
						} else {
318
            	    }
328
							MismatchedSetException mse = new MismatchedSetException(null, input);
319
            	    else {
329
							recover(mse);
320
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
330
							throw mse;
321
            	        recover(mse);
331
						}
322
            	        throw mse;}
332
323
333
324
334
					}
325
            	    }
335
						break;
326
            	    break;
336
327
337
					default:
328
            	default :
338
						break loop4;
329
            	    break loop4;
339
					}
330
                }
340
				} while(true);
331
            } while (true);
341
332
342
333
343
			}
334
            }
344
335
345
			this.type = _type;
336
            state.type = _type;
346
		} finally {
337
            state.channel = _channel;
347
		}
338
        }
348
	}
339
        finally {
340
        }
341
    }
342
    // $ANTLR end "RULE_ID"
349
343
350
	// $ANTLR end RULE_ID
344
    // $ANTLR start "RULE_INT"
345
    public final void mRULE_INT() throws RecognitionException {
346
        try {
347
            int _type = RULE_INT;
348
            int _channel = DEFAULT_TOKEN_CHANNEL;
349
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:679:10: ( ( '0' .. '9' )+ )
350
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:679:12: ( '0' .. '9' )+
351
            {
352
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:679:12: ( '0' .. '9' )+
353
            int cnt5=0;
354
            loop5:
355
            do {
356
                int alt5=2;
357
                int LA5_0 = input.LA(1);
351
358
352
	// $ANTLR start RULE_INT
359
                if ( ((LA5_0>='0' && LA5_0<='9')) ) {
353
	public final void mRULE_INT() throws RecognitionException {
360
                    alt5=1;
354
		try {
361
                }
355
			int _type = RULE_INT;
356
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:679:10: ( ( '0' .. '9' )+ )
357
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:679:12: ( '0' .. '9' )+
358
			{
359
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:679:12: ( '0' .. '9' )+
360
				int cnt5 = 0;
361
				loop5: do {
362
					int alt5 = 2;
363
					int LA5_0 = input.LA(1);
364
362
365
					if(((LA5_0 >= '0' && LA5_0 <= '9'))) {
366
						alt5 = 1;
367
					}
368
363
364
                switch (alt5) {
365
            	case 1 :
366
            	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:679:13: '0' .. '9'
367
            	    {
368
            	    matchRange('0','9'); 
369
369
370
					switch(alt5) {
370
            	    }
371
					case 1:
371
            	    break;
372
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:679:13: '0' .. '9'
373
					{
374
						matchRange('0', '9');
375
372
376
					}
373
            	default :
377
						break;
374
            	    if ( cnt5 >= 1 ) break loop5;
375
                        EarlyExitException eee =
376
                            new EarlyExitException(5, input);
377
                        throw eee;
378
                }
379
                cnt5++;
380
            } while (true);
378
381
379
					default:
380
						if(cnt5 >= 1)
381
							break loop5;
382
						EarlyExitException eee = new EarlyExitException(5, input);
383
						throw eee;
384
					}
385
					cnt5++;
386
				} while(true);
387
382
383
            }
388
384
389
			}
385
            state.type = _type;
386
            state.channel = _channel;
387
        }
388
        finally {
389
        }
390
    }
391
    // $ANTLR end "RULE_INT"
390
392
391
			this.type = _type;
393
    // $ANTLR start "RULE_STRING"
392
		} finally {
394
    public final void mRULE_STRING() throws RecognitionException {
393
		}
395
        try {
394
	}
396
            int _type = RULE_STRING;
397
            int _channel = DEFAULT_TOKEN_CHANNEL;
398
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
399
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
400
            {
401
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
402
            int alt8=2;
403
            int LA8_0 = input.LA(1);
395
404
396
	// $ANTLR end RULE_INT
405
            if ( (LA8_0=='\"') ) {
406
                alt8=1;
407
            }
408
            else if ( (LA8_0=='\'') ) {
409
                alt8=2;
410
            }
411
            else {
412
                NoViableAltException nvae =
413
                    new NoViableAltException("", 8, 0, input);
397
414
398
	// $ANTLR start RULE_STRING
415
                throw nvae;
399
	public final void mRULE_STRING() throws RecognitionException {
416
            }
400
		try {
417
            switch (alt8) {
401
			int _type = RULE_STRING;
418
                case 1 :
402
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
419
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
403
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
420
                    {
404
			{
421
                    match('\"'); 
405
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
422
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
406
				int alt8 = 2;
423
                    loop6:
407
				int LA8_0 = input.LA(1);
424
                    do {
425
                        int alt6=3;
426
                        int LA6_0 = input.LA(1);
408
427
409
				if((LA8_0 == '\"')) {
428
                        if ( (LA6_0=='\\') ) {
410
					alt8 = 1;
429
                            alt6=1;
411
				} else if((LA8_0 == '\'')) {
430
                        }
412
					alt8 = 2;
431
                        else if ( ((LA6_0>='\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) {
413
				} else {
432
                            alt6=2;
414
					NoViableAltException nvae = new NoViableAltException("681:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 8, 0, input);
433
                        }
415
434
416
					throw nvae;
417
				}
418
				switch(alt8) {
419
				case 1:
420
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
421
				{
422
					match('\"');
423
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
424
					loop6: do {
425
						int alt6 = 3;
426
						int LA6_0 = input.LA(1);
427
435
428
						if((LA6_0 == '\\')) {
436
                        switch (alt6) {
429
							alt6 = 1;
437
                    	case 1 :
430
						} else if(((LA6_0 >= '\u0000' && LA6_0 <= '!') || (LA6_0 >= '#' && LA6_0 <= '[') || (LA6_0 >= ']' && LA6_0 <= '\uFFFE'))) {
438
                    	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
431
							alt6 = 2;
439
                    	    {
432
						}
440
                    	    match('\\'); 
441
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
442
                    	        input.consume();
433
443
444
                    	    }
445
                    	    else {
446
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
447
                    	        recover(mse);
448
                    	        throw mse;}
434
449
435
						switch(alt6) {
436
						case 1:
437
							// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
438
						{
439
							match('\\');
440
							if(input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
441
								input.consume();
442
450
443
							} else {
451
                    	    }
444
								MismatchedSetException mse = new MismatchedSetException(null, input);
452
                    	    break;
445
								recover(mse);
453
                    	case 2 :
446
								throw mse;
454
                    	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:66: ~ ( ( '\\\\' | '\"' ) )
447
							}
455
                    	    {
456
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
457
                    	        input.consume();
448
458
459
                    	    }
460
                    	    else {
461
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
462
                    	        recover(mse);
463
                    	        throw mse;}
449
464
450
						}
451
							break;
452
						case 2:
453
							// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:62: ~ ( ( '\\\\' | '\"' ) )
454
						{
455
							if((input.LA(1) >= '\u0000' && input.LA(1) <= '!') || (input.LA(1) >= '#' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFE')) {
456
								input.consume();
457
465
458
							} else {
466
                    	    }
459
								MismatchedSetException mse = new MismatchedSetException(null, input);
467
                    	    break;
460
								recover(mse);
461
								throw mse;
462
							}
463
468
469
                    	default :
470
                    	    break loop6;
471
                        }
472
                    } while (true);
464
473
465
						}
474
                    match('\"'); 
466
							break;
467
475
468
						default:
476
                    }
469
							break loop6;
477
                    break;
470
						}
478
                case 2 :
471
					} while(true);
479
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
480
                    {
481
                    match('\''); 
482
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
483
                    loop7:
484
                    do {
485
                        int alt7=3;
486
                        int LA7_0 = input.LA(1);
472
487
473
					match('\"');
488
                        if ( (LA7_0=='\\') ) {
489
                            alt7=1;
490
                        }
491
                        else if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) {
492
                            alt7=2;
493
                        }
474
494
475
				}
476
					break;
477
				case 2:
478
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
479
				{
480
					match('\'');
481
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
482
					loop7: do {
483
						int alt7 = 3;
484
						int LA7_0 = input.LA(1);
485
495
486
						if((LA7_0 == '\\')) {
496
                        switch (alt7) {
487
							alt7 = 1;
497
                    	case 1 :
488
						} else if(((LA7_0 >= '\u0000' && LA7_0 <= '&') || (LA7_0 >= '(' && LA7_0 <= '[') || (LA7_0 >= ']' && LA7_0 <= '\uFFFE'))) {
498
                    	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
489
							alt7 = 2;
499
                    	    {
490
						}
500
                    	    match('\\'); 
501
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
502
                    	        input.consume();
491
503
504
                    	    }
505
                    	    else {
506
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
507
                    	        recover(mse);
508
                    	        throw mse;}
492
509
493
						switch(alt7) {
494
						case 1:
495
							// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
496
						{
497
							match('\\');
498
							if(input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
499
								input.consume();
500
510
501
							} else {
511
                    	    }
502
								MismatchedSetException mse = new MismatchedSetException(null, input);
512
                    	    break;
503
								recover(mse);
513
                    	case 2 :
504
								throw mse;
514
                    	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:137: ~ ( ( '\\\\' | '\\'' ) )
505
							}
515
                    	    {
516
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
517
                    	        input.consume();
506
518
519
                    	    }
520
                    	    else {
521
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
522
                    	        recover(mse);
523
                    	        throw mse;}
507
524
508
						}
509
							break;
510
						case 2:
511
							// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:681:129: ~ ( ( '\\\\' | '\\'' ) )
512
						{
513
							if((input.LA(1) >= '\u0000' && input.LA(1) <= '&') || (input.LA(1) >= '(' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFE')) {
514
								input.consume();
515
525
516
							} else {
526
                    	    }
517
								MismatchedSetException mse = new MismatchedSetException(null, input);
527
                    	    break;
518
								recover(mse);
519
								throw mse;
520
							}
521
528
529
                    	default :
530
                    	    break loop7;
531
                        }
532
                    } while (true);
522
533
523
						}
534
                    match('\''); 
524
							break;
525
535
526
						default:
536
                    }
527
							break loop7;
537
                    break;
528
						}
529
					} while(true);
530
538
531
					match('\'');
539
            }
532
540
533
				}
534
					break;
535
541
536
				}
542
            }
537
543
544
            state.type = _type;
545
            state.channel = _channel;
546
        }
547
        finally {
548
        }
549
    }
550
    // $ANTLR end "RULE_STRING"
538
551
539
			}
552
    // $ANTLR start "RULE_ML_COMMENT"
553
    public final void mRULE_ML_COMMENT() throws RecognitionException {
554
        try {
555
            int _type = RULE_ML_COMMENT;
556
            int _channel = DEFAULT_TOKEN_CHANNEL;
557
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:683:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
558
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:683:19: '/*' ( options {greedy=false; } : . )* '*/'
559
            {
560
            match("/*"); 
540
561
541
			this.type = _type;
562
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:683:24: ( options {greedy=false; } : . )*
542
		} finally {
563
            loop9:
543
		}
564
            do {
544
	}
565
                int alt9=2;
566
                int LA9_0 = input.LA(1);
545
567
546
	// $ANTLR end RULE_STRING
568
                if ( (LA9_0=='*') ) {
569
                    int LA9_1 = input.LA(2);
547
570
548
	// $ANTLR start RULE_ML_COMMENT
571
                    if ( (LA9_1=='/') ) {
549
	public final void mRULE_ML_COMMENT() throws RecognitionException {
572
                        alt9=2;
550
		try {
573
                    }
551
			int _type = RULE_ML_COMMENT;
574
                    else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) {
552
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:683:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
575
                        alt9=1;
553
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:683:19: '/*' ( options {greedy=false; } : . )* '*/'
576
                    }
554
			{
555
				match("/*");
556
577
557
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:683:24: ( options {greedy=false; } : . )*
558
				loop9: do {
559
					int alt9 = 2;
560
					int LA9_0 = input.LA(1);
561
578
562
					if((LA9_0 == '*')) {
579
                }
563
						int LA9_1 = input.LA(2);
580
                else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) {
581
                    alt9=1;
582
                }
564
583
565
						if((LA9_1 == '/')) {
566
							alt9 = 2;
567
						} else if(((LA9_1 >= '\u0000' && LA9_1 <= '.') || (LA9_1 >= '0' && LA9_1 <= '\uFFFE'))) {
568
							alt9 = 1;
569
						}
570
584
585
                switch (alt9) {
586
            	case 1 :
587
            	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:683:52: .
588
            	    {
589
            	    matchAny(); 
571
590
572
					} else if(((LA9_0 >= '\u0000' && LA9_0 <= ')') || (LA9_0 >= '+' && LA9_0 <= '\uFFFE'))) {
591
            	    }
573
						alt9 = 1;
592
            	    break;
574
					}
575
593
594
            	default :
595
            	    break loop9;
596
                }
597
            } while (true);
576
598
577
					switch(alt9) {
599
            match("*/"); 
578
					case 1:
579
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:683:52: .
580
					{
581
						matchAny();
582
600
583
					}
584
						break;
585
601
586
					default:
602
            }
587
						break loop9;
588
					}
589
				} while(true);
590
603
591
				match("*/");
604
            state.type = _type;
605
            state.channel = _channel;
606
        }
607
        finally {
608
        }
609
    }
610
    // $ANTLR end "RULE_ML_COMMENT"
592
611
612
    // $ANTLR start "RULE_SL_COMMENT"
613
    public final void mRULE_SL_COMMENT() throws RecognitionException {
614
        try {
615
            int _type = RULE_SL_COMMENT;
616
            int _channel = DEFAULT_TOKEN_CHANNEL;
617
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:685:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
618
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:685:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
619
            {
620
            match("//"); 
593
621
594
			}
622
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:685:24: (~ ( ( '\\n' | '\\r' ) ) )*
623
            loop10:
624
            do {
625
                int alt10=2;
626
                int LA10_0 = input.LA(1);
595
627
596
			this.type = _type;
628
                if ( ((LA10_0>='\u0000' && LA10_0<='\t')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\uFFFF')) ) {
597
		} finally {
629
                    alt10=1;
598
		}
630
                }
599
	}
600
631
601
	// $ANTLR end RULE_ML_COMMENT
602
632
603
	// $ANTLR start RULE_SL_COMMENT
633
                switch (alt10) {
604
	public final void mRULE_SL_COMMENT() throws RecognitionException {
634
            	case 1 :
605
		try {
635
            	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:685:24: ~ ( ( '\\n' | '\\r' ) )
606
			int _type = RULE_SL_COMMENT;
636
            	    {
607
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:685:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
637
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
608
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:685:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
638
            	        input.consume();
609
			{
610
				match("//");
611
639
612
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:685:24: (~ ( ( '\\n' | '\\r' ) ) )*
640
            	    }
613
				loop10: do {
641
            	    else {
614
					int alt10 = 2;
642
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
615
					int LA10_0 = input.LA(1);
643
            	        recover(mse);
644
            	        throw mse;}
616
645
617
					if(((LA10_0 >= '\u0000' && LA10_0 <= '\t') || (LA10_0 >= '\u000B' && LA10_0 <= '\f') || (LA10_0 >= '\u000E' && LA10_0 <= '\uFFFE'))) {
618
						alt10 = 1;
619
					}
620
646
647
            	    }
648
            	    break;
621
649
622
					switch(alt10) {
650
            	default :
623
					case 1:
651
            	    break loop10;
624
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:685:24: ~ ( ( '\\n' | '\\r' ) )
652
                }
625
					{
653
            } while (true);
626
						if((input.LA(1) >= '\u0000' && input.LA(1) <= '\t') || (input.LA(1) >= '\u000B' && input.LA(1) <= '\f') || (input.LA(1) >= '\u000E' && input.LA(1) <= '\uFFFE')) {
627
							input.consume();
628
654
629
						} else {
655
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:685:40: ( ( '\\r' )? '\\n' )?
630
							MismatchedSetException mse = new MismatchedSetException(null, input);
656
            int alt12=2;
631
							recover(mse);
657
            int LA12_0 = input.LA(1);
632
							throw mse;
633
						}
634
658
659
            if ( (LA12_0=='\n'||LA12_0=='\r') ) {
660
                alt12=1;
661
            }
662
            switch (alt12) {
663
                case 1 :
664
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:685:41: ( '\\r' )? '\\n'
665
                    {
666
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:685:41: ( '\\r' )?
667
                    int alt11=2;
668
                    int LA11_0 = input.LA(1);
635
669
636
					}
670
                    if ( (LA11_0=='\r') ) {
637
						break;
671
                        alt11=1;
672
                    }
673
                    switch (alt11) {
674
                        case 1 :
675
                            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:685:41: '\\r'
676
                            {
677
                            match('\r'); 
638
678
639
					default:
679
                            }
640
						break loop10;
680
                            break;
641
					}
642
				} while(true);
643
681
644
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:685:40: ( ( '\\r' )? '\\n' )?
682
                    }
645
				int alt12 = 2;
646
				int LA12_0 = input.LA(1);
647
683
648
				if((LA12_0 == '\n' || LA12_0 == '\r')) {
684
                    match('\n'); 
649
					alt12 = 1;
650
				}
651
				switch(alt12) {
652
				case 1:
653
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:685:41: ( '\\r' )? '\\n'
654
				{
655
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:685:41: ( '\\r' )?
656
					int alt11 = 2;
657
					int LA11_0 = input.LA(1);
658
685
659
					if((LA11_0 == '\r')) {
686
                    }
660
						alt11 = 1;
687
                    break;
661
					}
662
					switch(alt11) {
663
					case 1:
664
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:685:41: '\\r'
665
					{
666
						match('\r');
667
688
668
					}
689
            }
669
						break;
670
690
671
					}
672
691
673
					match('\n');
692
            }
674
693
675
				}
694
            state.type = _type;
676
					break;
695
            state.channel = _channel;
696
        }
697
        finally {
698
        }
699
    }
700
    // $ANTLR end "RULE_SL_COMMENT"
677
701
678
				}
702
    // $ANTLR start "RULE_WS"
703
    public final void mRULE_WS() throws RecognitionException {
704
        try {
705
            int _type = RULE_WS;
706
            int _channel = DEFAULT_TOKEN_CHANNEL;
707
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:687:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
708
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:687:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
709
            {
710
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:687:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
711
            int cnt13=0;
712
            loop13:
713
            do {
714
                int alt13=2;
715
                int LA13_0 = input.LA(1);
679
716
717
                if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) {
718
                    alt13=1;
719
                }
680
720
681
			}
682
721
683
			this.type = _type;
722
                switch (alt13) {
684
		} finally {
723
            	case 1 :
685
		}
724
            	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:
686
	}
725
            	    {
726
            	    if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
727
            	        input.consume();
687
728
688
	// $ANTLR end RULE_SL_COMMENT
729
            	    }
730
            	    else {
731
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
732
            	        recover(mse);
733
            	        throw mse;}
689
734
690
	// $ANTLR start RULE_WS
691
	public final void mRULE_WS() throws RecognitionException {
692
		try {
693
			int _type = RULE_WS;
694
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:687:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
695
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:687:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
696
			{
697
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:687:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
698
				int cnt13 = 0;
699
				loop13: do {
700
					int alt13 = 2;
701
					int LA13_0 = input.LA(1);
702
735
703
					if(((LA13_0 >= '\t' && LA13_0 <= '\n') || LA13_0 == '\r' || LA13_0 == ' ')) {
736
            	    }
704
						alt13 = 1;
737
            	    break;
705
					}
706
738
739
            	default :
740
            	    if ( cnt13 >= 1 ) break loop13;
741
                        EarlyExitException eee =
742
                            new EarlyExitException(13, input);
743
                        throw eee;
744
                }
745
                cnt13++;
746
            } while (true);
707
747
708
					switch(alt13) {
709
					case 1:
710
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:
711
					{
712
						if((input.LA(1) >= '\t' && input.LA(1) <= '\n') || input.LA(1) == '\r' || input.LA(1) == ' ') {
713
							input.consume();
714
748
715
						} else {
749
            }
716
							MismatchedSetException mse = new MismatchedSetException(null, input);
717
							recover(mse);
718
							throw mse;
719
						}
720
750
751
            state.type = _type;
752
            state.channel = _channel;
753
        }
754
        finally {
755
        }
756
    }
757
    // $ANTLR end "RULE_WS"
721
758
722
					}
759
    // $ANTLR start "RULE_ANY_OTHER"
723
						break;
760
    public final void mRULE_ANY_OTHER() throws RecognitionException {
761
        try {
762
            int _type = RULE_ANY_OTHER;
763
            int _channel = DEFAULT_TOKEN_CHANNEL;
764
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:689:16: ( . )
765
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:689:18: .
766
            {
767
            matchAny(); 
724
768
725
					default:
769
            }
726
						if(cnt13 >= 1)
727
							break loop13;
728
						EarlyExitException eee = new EarlyExitException(13, input);
729
						throw eee;
730
					}
731
					cnt13++;
732
				} while(true);
733
770
771
            state.type = _type;
772
            state.channel = _channel;
773
        }
774
        finally {
775
        }
776
    }
777
    // $ANTLR end "RULE_ANY_OTHER"
734
778
735
			}
779
    public void mTokens() throws RecognitionException {
780
        // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
781
        int alt14=15;
782
        alt14 = dfa14.predict(input);
783
        switch (alt14) {
784
            case 1 :
785
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:10: T__12
786
                {
787
                mT__12(); 
736
788
737
			this.type = _type;
789
                }
738
		} finally {
790
                break;
739
		}
791
            case 2 :
740
	}
792
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:16: T__13
793
                {
794
                mT__13(); 
741
795
742
	// $ANTLR end RULE_WS
796
                }
797
                break;
798
            case 3 :
799
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:22: T__14
800
                {
801
                mT__14(); 
743
802
744
	// $ANTLR start RULE_ANY_OTHER
803
                }
745
	public final void mRULE_ANY_OTHER() throws RecognitionException {
804
                break;
746
		try {
805
            case 4 :
747
			int _type = RULE_ANY_OTHER;
806
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:28: T__15
748
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:689:16: ( . )
807
                {
749
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:689:18: .
808
                mT__15(); 
750
			{
751
				matchAny();
752
809
753
			}
810
                }
811
                break;
812
            case 5 :
813
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:34: T__16
814
                {
815
                mT__16(); 
754
816
755
			this.type = _type;
817
                }
756
		} finally {
818
                break;
757
		}
819
            case 6 :
758
	}
820
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:40: T__17
821
                {
822
                mT__17(); 
759
823
760
	// $ANTLR end RULE_ANY_OTHER
824
                }
825
                break;
826
            case 7 :
827
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:46: T__18
828
                {
829
                mT__18(); 
761
830
762
	public void mTokens() throws RecognitionException {
831
                }
763
		// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:8: ( T12 | T13 | T14 | T15 | T16 | T17 | T18 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
832
                break;
764
		int alt14 = 15;
833
            case 8 :
765
		alt14 = dfa14.predict(input);
834
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:52: RULE_UNLIMITEDLITERAL
766
		switch(alt14) {
835
                {
767
		case 1:
836
                mRULE_UNLIMITEDLITERAL(); 
768
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:10: T12
769
		{
770
			mT12();
771
837
772
		}
838
                }
773
			break;
839
                break;
774
		case 2:
840
            case 9 :
775
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:14: T13
841
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:74: RULE_ID
776
		{
842
                {
777
			mT13();
843
                mRULE_ID(); 
778
844
779
		}
845
                }
780
			break;
846
                break;
781
		case 3:
847
            case 10 :
782
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:18: T14
848
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:82: RULE_INT
783
		{
849
                {
784
			mT14();
850
                mRULE_INT(); 
785
851
786
		}
852
                }
787
			break;
853
                break;
788
		case 4:
854
            case 11 :
789
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:22: T15
855
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:91: RULE_STRING
790
		{
856
                {
791
			mT15();
857
                mRULE_STRING(); 
792
858
793
		}
859
                }
794
			break;
860
                break;
795
		case 5:
861
            case 12 :
796
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:26: T16
862
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:103: RULE_ML_COMMENT
797
		{
863
                {
798
			mT16();
864
                mRULE_ML_COMMENT(); 
799
865
800
		}
866
                }
801
			break;
867
                break;
802
		case 6:
868
            case 13 :
803
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:30: T17
869
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:119: RULE_SL_COMMENT
804
		{
870
                {
805
			mT17();
871
                mRULE_SL_COMMENT(); 
806
872
807
		}
873
                }
808
			break;
874
                break;
809
		case 7:
875
            case 14 :
810
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:34: T18
876
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:135: RULE_WS
811
		{
877
                {
812
			mT18();
878
                mRULE_WS(); 
813
879
814
		}
880
                }
815
			break;
881
                break;
816
		case 8:
882
            case 15 :
817
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:38: RULE_UNLIMITEDLITERAL
883
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:143: RULE_ANY_OTHER
818
		{
884
                {
819
			mRULE_UNLIMITEDLITERAL();
885
                mRULE_ANY_OTHER(); 
820
886
821
		}
887
                }
822
			break;
888
                break;
823
		case 9:
824
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:60: RULE_ID
825
		{
826
			mRULE_ID();
827
889
828
		}
890
        }
829
			break;
830
		case 10:
831
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:68: RULE_INT
832
		{
833
			mRULE_INT();
834
891
835
		}
892
    }
836
			break;
837
		case 11:
838
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:77: RULE_STRING
839
		{
840
			mRULE_STRING();
841
893
842
		}
843
			break;
844
		case 12:
845
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:89: RULE_ML_COMMENT
846
		{
847
			mRULE_ML_COMMENT();
848
894
849
		}
895
    protected DFA14 dfa14 = new DFA14(this);
850
			break;
896
    static final String DFA14_eotS =
851
		case 13:
897
        "\1\uffff\1\17\4\uffff\1\26\1\30\1\uffff\1\17\1\uffff\3\17\11\uffff"+
852
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:105: RULE_SL_COMMENT
898
        "\1\30\6\uffff";
853
		{
899
    static final String DFA14_eofS =
854
			mRULE_SL_COMMENT();
900
        "\36\uffff";
901
    static final String DFA14_minS =
902
        "\1\0\1\125\4\uffff\1\72\1\60\1\uffff\1\101\1\uffff\2\0\1\52\11"+
903
        "\uffff\1\60\6\uffff";
904
    static final String DFA14_maxS =
905
        "\1\uffff\1\125\4\uffff\1\72\1\71\1\uffff\1\172\1\uffff\2\uffff"+
906
        "\1\57\11\uffff\1\71\6\uffff";
907
    static final String DFA14_acceptS =
908
        "\2\uffff\1\2\1\3\1\4\1\5\2\uffff\1\10\1\uffff\1\11\3\uffff\1\16"+
909
        "\1\17\1\1\1\2\1\3\1\4\1\5\1\7\1\6\1\uffff\1\10\1\11\1\13\1\14\1"+
910
        "\15\1\16";
911
    static final String DFA14_specialS =
912
        "\1\1\12\uffff\1\0\1\2\21\uffff}>";
913
    static final String[] DFA14_transitionS = {
914
            "\11\17\2\16\2\17\1\16\22\17\1\16\1\17\1\13\1\4\3\17\1\14\2"+
915
            "\17\1\10\1\2\1\17\1\3\1\17\1\15\12\7\1\6\1\17\1\1\4\17\32\12"+
916
            "\3\17\1\11\1\12\1\17\32\12\3\17\1\5\uff81\17",
917
            "\1\20",
918
            "",
919
            "",
920
            "",
921
            "",
922
            "\1\25",
923
            "\12\27",
924
            "",
925
            "\32\31\4\uffff\1\31\1\uffff\32\31",
926
            "",
927
            "\0\32",
928
            "\0\32",
929
            "\1\33\4\uffff\1\34",
930
            "",
931
            "",
932
            "",
933
            "",
934
            "",
935
            "",
936
            "",
937
            "",
938
            "",
939
            "\12\27",
940
            "",
941
            "",
942
            "",
943
            "",
944
            "",
945
            ""
946
    };
855
947
856
		}
948
    static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS);
857
			break;
949
    static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS);
858
		case 14:
950
    static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS);
859
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:121: RULE_WS
951
    static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS);
860
		{
952
    static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS);
861
			mRULE_WS();
953
    static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS);
954
    static final short[][] DFA14_transition;
862
955
863
		}
956
    static {
864
			break;
957
        int numStates = DFA14_transitionS.length;
865
		case 15:
958
        DFA14_transition = new short[numStates][];
866
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:1:129: RULE_ANY_OTHER
959
        for (int i=0; i<numStates; i++) {
867
		{
960
            DFA14_transition[i] = DFA.unpackEncodedString(DFA14_transitionS[i]);
868
			mRULE_ANY_OTHER();
961
        }
962
    }
869
963
870
		}
964
    class DFA14 extends DFA {
871
			break;
872
965
873
		}
966
        public DFA14(BaseRecognizer recognizer) {
967
            this.recognizer = recognizer;
968
            this.decisionNumber = 14;
969
            this.eot = DFA14_eot;
970
            this.eof = DFA14_eof;
971
            this.min = DFA14_min;
972
            this.max = DFA14_max;
973
            this.accept = DFA14_accept;
974
            this.special = DFA14_special;
975
            this.transition = DFA14_transition;
976
        }
977
        public String getDescription() {
978
            return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
979
        }
980
        public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
981
            IntStream input = _input;
982
        	int _s = s;
983
            switch ( s ) {
984
                    case 0 : 
985
                        int LA14_11 = input.LA(1);
874
986
875
	}
987
                        s = -1;
988
                        if ( ((LA14_11>='\u0000' && LA14_11<='\uFFFF')) ) {s = 26;}
876
989
990
                        else s = 15;
877
991
878
	protected DFA14 dfa14 = new DFA14(this);
992
                        if ( s>=0 ) return s;
993
                        break;
994
                    case 1 : 
995
                        int LA14_0 = input.LA(1);
879
996
880
	static final String DFA14_eotS = "\1\uffff\1\17\4\uffff\1\26\1\30\1\uffff\1\17\1\uffff\3\17\11\uffff" + "\1\30\6\uffff";
997
                        s = -1;
998
                        if ( (LA14_0=='<') ) {s = 1;}
881
999
882
	static final String DFA14_eofS = "\36\uffff";
1000
                        else if ( (LA14_0=='+') ) {s = 2;}
883
1001
884
	static final String DFA14_minS = "\1\0\1\125\4\uffff\1\72\1\60\1\uffff\1\101\1\uffff\2\0\1\52\11\uffff" + "\1\60\6\uffff";
1002
                        else if ( (LA14_0=='-') ) {s = 3;}
885
1003
886
	static final String DFA14_maxS = "\1\ufffe\1\125\4\uffff\1\72\1\71\1\uffff\1\172\1\uffff\2\ufffe\1" + "\57\11\uffff\1\71\6\uffff";
1004
                        else if ( (LA14_0=='#') ) {s = 4;}
887
1005
888
	static final String DFA14_acceptS = "\2\uffff\1\2\1\3\1\4\1\5\2\uffff\1\10\1\uffff\1\11\3\uffff\1\16" + "\1\17\1\1\1\2\1\3\1\4\1\5\1\7\1\6\1\uffff\1\10\1\11\1\13\1\15\1" + "\14\1\16";
1006
                        else if ( (LA14_0=='~') ) {s = 5;}
889
1007
890
	static final String DFA14_specialS = "\36\uffff}>";
1008
                        else if ( (LA14_0==':') ) {s = 6;}
891
1009
892
	static final String[] DFA14_transitionS = { "\11\17\2\16\2\17\1\16\22\17\1\16\1\17\1\13\1\4\3\17\1\14\2\17" + "\1\10\1\2\1\17\1\3\1\17\1\15\12\7\1\6\1\17\1\1\4\17\32\12\3" + "\17\1\11\1\12\1\17\32\12\3\17\1\5\uff80\17", "\1\20", "", "", "", "", "\1\25", "\12\27", "", "\32\31\4\uffff\1\31\1\uffff\32\31", "", "\uffff\32", "\uffff\32", "\1\34\4\uffff\1\33", "", "", "", "", "", "", "", "", "", "\12\27", "", "", "", "", "", "" };
1010
                        else if ( ((LA14_0>='0' && LA14_0<='9')) ) {s = 7;}
893
1011
894
	static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS);
1012
                        else if ( (LA14_0=='*') ) {s = 8;}
895
1013
896
	static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS);
1014
                        else if ( (LA14_0=='^') ) {s = 9;}
897
1015
898
	static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS);
1016
                        else if ( ((LA14_0>='A' && LA14_0<='Z')||LA14_0=='_'||(LA14_0>='a' && LA14_0<='z')) ) {s = 10;}
899
1017
900
	static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS);
1018
                        else if ( (LA14_0=='\"') ) {s = 11;}
901
1019
902
	static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS);
1020
                        else if ( (LA14_0=='\'') ) {s = 12;}
903
1021
904
	static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS);
1022
                        else if ( (LA14_0=='/') ) {s = 13;}
905
1023
906
	static final short[][] DFA14_transition;
1024
                        else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 14;}
907
1025
908
	static {
1026
                        else if ( ((LA14_0>='\u0000' && LA14_0<='\b')||(LA14_0>='\u000B' && LA14_0<='\f')||(LA14_0>='\u000E' && LA14_0<='\u001F')||LA14_0=='!'||(LA14_0>='$' && LA14_0<='&')||(LA14_0>='(' && LA14_0<=')')||LA14_0==','||LA14_0=='.'||LA14_0==';'||(LA14_0>='=' && LA14_0<='@')||(LA14_0>='[' && LA14_0<=']')||LA14_0=='`'||(LA14_0>='{' && LA14_0<='}')||(LA14_0>='\u007F' && LA14_0<='\uFFFF')) ) {s = 15;}
909
		int numStates = DFA14_transitionS.length;
910
		DFA14_transition = new short[numStates][];
911
		for(int i = 0; i < numStates; i++) {
912
			DFA14_transition[i] = DFA.unpackEncodedString(DFA14_transitionS[i]);
913
		}
914
	}
915
1027
916
	class DFA14 extends DFA {
1028
                        if ( s>=0 ) return s;
1029
                        break;
1030
                    case 2 : 
1031
                        int LA14_12 = input.LA(1);
917
1032
918
		public DFA14(BaseRecognizer recognizer) {
1033
                        s = -1;
919
			this.recognizer = recognizer;
1034
                        if ( ((LA14_12>='\u0000' && LA14_12<='\uFFFF')) ) {s = 26;}
920
			this.decisionNumber = 14;
921
			this.eot = DFA14_eot;
922
			this.eof = DFA14_eof;
923
			this.min = DFA14_min;
924
			this.max = DFA14_max;
925
			this.accept = DFA14_accept;
926
			this.special = DFA14_special;
927
			this.transition = DFA14_transition;
928
		}
929
1035
930
		public String getDescription() {
1036
                        else s = 15;
931
			return "1:1: Tokens : ( T12 | T13 | T14 | T15 | T16 | T17 | T18 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
932
		}
933
	}
934
1037
1038
                        if ( s>=0 ) return s;
1039
                        break;
1040
            }
1041
            NoViableAltException nvae =
1042
                new NoViableAltException(getDescription(), 14, _s, input);
1043
            error(nvae);
1044
            throw nvae;
1045
        }
1046
    }
1047
 
935
1048
936
}
1049
}
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUseParser.java (-1325 / +1355 lines)
Lines 1-1771 Link Here
1
/*****************************************************************************
1
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr.internal; 
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr.internal;
15
2
16
import org.antlr.runtime.BitSet;
3
import java.io.InputStream;
17
import org.antlr.runtime.NoViableAltException;
4
import org.eclipse.xtext.*;
18
import org.antlr.runtime.RecognitionException;
5
import org.eclipse.xtext.parser.*;
19
import org.antlr.runtime.TokenStream;
6
import org.eclipse.xtext.parser.impl.*;
20
import org.eclipse.papyrus.collaborationuse.editor.xtext.services.UmlCollaborationUseGrammarAccess;
7
import org.eclipse.xtext.parsetree.*;
21
import org.eclipse.xtext.Grammar;
8
import org.eclipse.emf.ecore.util.EcoreUtil;
9
import org.eclipse.emf.ecore.EObject;
10
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
11
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
22
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
12
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
23
13
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA;
24
@SuppressWarnings("all")
14
import org.eclipse.papyrus.collaborationuse.editor.xtext.services.UmlCollaborationUseGrammarAccess;
25
public class InternalUmlCollaborationUseParser extends AbstractInternalContentAssistParser {
26
27
	public static final String[] tokenNames = new String[]{ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_UNLIMITEDLITERAL", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'<Undefined>'", "'+'", "'-'", "'#'", "'~'", "':'", "'::'" };
28
29
	public static final int RULE_ID = 4;
30
31
	public static final int RULE_STRING = 7;
32
33
	public static final int RULE_UNLIMITEDLITERAL = 5;
34
35
	public static final int RULE_ANY_OTHER = 11;
36
37
	public static final int RULE_INT = 6;
38
39
	public static final int RULE_WS = 10;
40
41
	public static final int RULE_SL_COMMENT = 9;
42
43
	public static final int EOF = -1;
44
45
	public static final int RULE_ML_COMMENT = 8;
46
47
	public InternalUmlCollaborationUseParser(TokenStream input) {
48
		super(input);
49
	}
50
51
52
	public String[] getTokenNames() {
53
		return tokenNames;
54
	}
55
56
	public String getGrammarFileName() {
57
		return "../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g";
58
	}
59
60
61
62
	private UmlCollaborationUseGrammarAccess grammarAccess;
63
64
	public void setGrammarAccess(UmlCollaborationUseGrammarAccess grammarAccess) {
65
		this.grammarAccess = grammarAccess;
66
	}
67
68
	@Override
69
	protected Grammar getGrammar() {
70
		return grammarAccess.getGrammar();
71
	}
72
73
	@Override
74
	protected String getValueForTokenName(String tokenName) {
75
		return tokenName;
76
	}
77
78
79
80
81
	// $ANTLR start entryRuleCollaborationUseRule
82
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:61:1: entryRuleCollaborationUseRule : ruleCollaborationUseRule EOF ;
83
	public final void entryRuleCollaborationUseRule() throws RecognitionException {
84
		try {
85
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:62:1: ( ruleCollaborationUseRule EOF )
86
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:63:1: ruleCollaborationUseRule EOF
87
			{
88
				before(grammarAccess.getCollaborationUseRuleRule());
89
				pushFollow(FOLLOW_ruleCollaborationUseRule_in_entryRuleCollaborationUseRule61);
90
				ruleCollaborationUseRule();
91
				_fsp--;
92
93
				after(grammarAccess.getCollaborationUseRuleRule());
94
				match(input, EOF, FOLLOW_EOF_in_entryRuleCollaborationUseRule68);
95
96
			}
97
98
		} catch (RecognitionException re) {
99
			reportError(re);
100
			recover(input, re);
101
		} finally {
102
		}
103
		return;
104
	}
105
106
	// $ANTLR end entryRuleCollaborationUseRule
107
108
109
	// $ANTLR start ruleCollaborationUseRule
110
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:70:1: ruleCollaborationUseRule : ( ( rule__CollaborationUseRule__Group__0 ) ) ;
111
	public final void ruleCollaborationUseRule() throws RecognitionException {
112
113
		int stackSize = keepStackSize();
114
115
		try {
116
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:74:2: ( ( ( rule__CollaborationUseRule__Group__0 ) ) )
117
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:75:1: ( ( rule__CollaborationUseRule__Group__0 ) )
118
			{
119
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:75:1: ( ( rule__CollaborationUseRule__Group__0 ) )
120
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:76:1: ( rule__CollaborationUseRule__Group__0 )
121
				{
122
					before(grammarAccess.getCollaborationUseRuleAccess().getGroup());
123
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:77:1: ( rule__CollaborationUseRule__Group__0 )
124
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:77:2: rule__CollaborationUseRule__Group__0
125
					{
126
						pushFollow(FOLLOW_rule__CollaborationUseRule__Group__0_in_ruleCollaborationUseRule94);
127
						rule__CollaborationUseRule__Group__0();
128
						_fsp--;
129
130
131
					}
132
133
					after(grammarAccess.getCollaborationUseRuleAccess().getGroup());
134
135
				}
136
137
138
			}
139
140
		} catch (RecognitionException re) {
141
			reportError(re);
142
			recover(input, re);
143
		} finally {
144
145
			restoreStackSize(stackSize);
146
147
		}
148
		return;
149
	}
150
151
	// $ANTLR end ruleCollaborationUseRule
152
153
154
	// $ANTLR start entryRuleTypeRule
155
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:89:1: entryRuleTypeRule : ruleTypeRule EOF ;
156
	public final void entryRuleTypeRule() throws RecognitionException {
157
		try {
158
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:90:1: ( ruleTypeRule EOF )
159
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:91:1: ruleTypeRule EOF
160
			{
161
				before(grammarAccess.getTypeRuleRule());
162
				pushFollow(FOLLOW_ruleTypeRule_in_entryRuleTypeRule121);
163
				ruleTypeRule();
164
				_fsp--;
165
166
				after(grammarAccess.getTypeRuleRule());
167
				match(input, EOF, FOLLOW_EOF_in_entryRuleTypeRule128);
168
169
			}
170
171
		} catch (RecognitionException re) {
172
			reportError(re);
173
			recover(input, re);
174
		} finally {
175
		}
176
		return;
177
	}
178
179
	// $ANTLR end entryRuleTypeRule
180
181
182
	// $ANTLR start ruleTypeRule
183
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:98:1: ruleTypeRule : ( ( rule__TypeRule__Group__0 ) ) ;
184
	public final void ruleTypeRule() throws RecognitionException {
185
186
		int stackSize = keepStackSize();
187
188
		try {
189
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:102:2: ( ( ( rule__TypeRule__Group__0 ) ) )
190
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:103:1: ( ( rule__TypeRule__Group__0 ) )
191
			{
192
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:103:1: ( ( rule__TypeRule__Group__0 ) )
193
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:104:1: ( rule__TypeRule__Group__0 )
194
				{
195
					before(grammarAccess.getTypeRuleAccess().getGroup());
196
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:105:1: ( rule__TypeRule__Group__0 )
197
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:105:2: rule__TypeRule__Group__0
198
					{
199
						pushFollow(FOLLOW_rule__TypeRule__Group__0_in_ruleTypeRule154);
200
						rule__TypeRule__Group__0();
201
						_fsp--;
202
203
204
					}
205
206
					after(grammarAccess.getTypeRuleAccess().getGroup());
207
208
				}
209
210
211
			}
212
213
		} catch (RecognitionException re) {
214
			reportError(re);
215
			recover(input, re);
216
		} finally {
217
218
			restoreStackSize(stackSize);
219
220
		}
221
		return;
222
	}
223
224
	// $ANTLR end ruleTypeRule
225
226
227
	// $ANTLR start entryRuleQualifiedName
228
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:117:1: entryRuleQualifiedName : ruleQualifiedName EOF ;
229
	public final void entryRuleQualifiedName() throws RecognitionException {
230
		try {
231
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:118:1: ( ruleQualifiedName EOF )
232
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:119:1: ruleQualifiedName EOF
233
			{
234
				before(grammarAccess.getQualifiedNameRule());
235
				pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName181);
236
				ruleQualifiedName();
237
				_fsp--;
238
239
				after(grammarAccess.getQualifiedNameRule());
240
				match(input, EOF, FOLLOW_EOF_in_entryRuleQualifiedName188);
241
242
			}
243
244
		} catch (RecognitionException re) {
245
			reportError(re);
246
			recover(input, re);
247
		} finally {
248
		}
249
		return;
250
	}
251
252
	// $ANTLR end entryRuleQualifiedName
253
254
255
	// $ANTLR start ruleQualifiedName
256
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:126:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ;
257
	public final void ruleQualifiedName() throws RecognitionException {
258
259
		int stackSize = keepStackSize();
260
261
		try {
262
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:130:2: ( ( ( rule__QualifiedName__Group__0 ) ) )
263
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:131:1: ( ( rule__QualifiedName__Group__0 ) )
264
			{
265
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:131:1: ( ( rule__QualifiedName__Group__0 ) )
266
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:132:1: ( rule__QualifiedName__Group__0 )
267
				{
268
					before(grammarAccess.getQualifiedNameAccess().getGroup());
269
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:133:1: ( rule__QualifiedName__Group__0 )
270
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:133:2: rule__QualifiedName__Group__0
271
					{
272
						pushFollow(FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName214);
273
						rule__QualifiedName__Group__0();
274
						_fsp--;
275
276
277
					}
278
279
					after(grammarAccess.getQualifiedNameAccess().getGroup());
280
281
				}
282
283
284
			}
285
286
		} catch (RecognitionException re) {
287
			reportError(re);
288
			recover(input, re);
289
		} finally {
290
291
			restoreStackSize(stackSize);
292
293
		}
294
		return;
295
	}
296
297
	// $ANTLR end ruleQualifiedName
298
299
300
	// $ANTLR start entryRuleBoundSpecification
301
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:147:1: entryRuleBoundSpecification : ruleBoundSpecification EOF ;
302
	public final void entryRuleBoundSpecification() throws RecognitionException {
303
		try {
304
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:148:1: ( ruleBoundSpecification EOF )
305
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:149:1: ruleBoundSpecification EOF
306
			{
307
				before(grammarAccess.getBoundSpecificationRule());
308
				pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification243);
309
				ruleBoundSpecification();
310
				_fsp--;
311
312
				after(grammarAccess.getBoundSpecificationRule());
313
				match(input, EOF, FOLLOW_EOF_in_entryRuleBoundSpecification250);
314
315
			}
316
317
		} catch (RecognitionException re) {
318
			reportError(re);
319
			recover(input, re);
320
		} finally {
321
		}
322
		return;
323
	}
324
325
	// $ANTLR end entryRuleBoundSpecification
326
327
328
	// $ANTLR start ruleBoundSpecification
329
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:156:1: ruleBoundSpecification : ( ( rule__BoundSpecification__ValueAssignment ) ) ;
330
	public final void ruleBoundSpecification() throws RecognitionException {
331
332
		int stackSize = keepStackSize();
333
334
		try {
335
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:160:2: ( ( ( rule__BoundSpecification__ValueAssignment ) ) )
336
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:161:1: ( ( rule__BoundSpecification__ValueAssignment ) )
337
			{
338
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:161:1: ( ( rule__BoundSpecification__ValueAssignment ) )
339
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:162:1: ( rule__BoundSpecification__ValueAssignment )
340
				{
341
					before(grammarAccess.getBoundSpecificationAccess().getValueAssignment());
342
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:163:1: ( rule__BoundSpecification__ValueAssignment )
343
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:163:2: rule__BoundSpecification__ValueAssignment
344
					{
345
						pushFollow(FOLLOW_rule__BoundSpecification__ValueAssignment_in_ruleBoundSpecification276);
346
						rule__BoundSpecification__ValueAssignment();
347
						_fsp--;
348
349
350
					}
351
15
352
					after(grammarAccess.getBoundSpecificationAccess().getValueAssignment());
353
16
354
				}
355
17
18
import org.antlr.runtime.*;
19
import java.util.Stack;
20
import java.util.List;
21
import java.util.ArrayList;
356
22
357
			}
23
@SuppressWarnings("all")
24
public class InternalUmlCollaborationUseParser extends AbstractInternalContentAssistParser {
25
    public static final String[] tokenNames = new String[] {
26
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_UNLIMITEDLITERAL", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'<Undefined>'", "'+'", "'-'", "'#'", "'~'", "':'", "'::'"
27
    };
28
    public static final int RULE_ID=4;
29
    public static final int RULE_STRING=7;
30
    public static final int RULE_UNLIMITEDLITERAL=5;
31
    public static final int T__16=16;
32
    public static final int T__15=15;
33
    public static final int T__18=18;
34
    public static final int T__17=17;
35
    public static final int T__12=12;
36
    public static final int T__14=14;
37
    public static final int T__13=13;
38
    public static final int RULE_ANY_OTHER=11;
39
    public static final int RULE_INT=6;
40
    public static final int RULE_WS=10;
41
    public static final int RULE_SL_COMMENT=9;
42
    public static final int EOF=-1;
43
    public static final int RULE_ML_COMMENT=8;
358
44
359
		} catch (RecognitionException re) {
45
    // delegates
360
			reportError(re);
46
    // delegators
361
			recover(input, re);
362
		} finally {
363
47
364
			restoreStackSize(stackSize);
365
48
366
		}
49
        public InternalUmlCollaborationUseParser(TokenStream input) {
367
		return;
50
            this(input, new RecognizerSharedState());
368
	}
51
        }
52
        public InternalUmlCollaborationUseParser(TokenStream input, RecognizerSharedState state) {
53
            super(input, state);
54
             
55
        }
56
        
369
57
370
	// $ANTLR end ruleBoundSpecification
58
    public String[] getTokenNames() { return InternalUmlCollaborationUseParser.tokenNames; }
59
    public String getGrammarFileName() { return "../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g"; }
371
60
372
61
373
	// $ANTLR start ruleVisibilityKind
62
     
374
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:176:1: ruleVisibilityKind : ( ( rule__VisibilityKind__Alternatives ) ) ;
63
     	private UmlCollaborationUseGrammarAccess grammarAccess;
375
	public final void ruleVisibilityKind() throws RecognitionException {
64
     	
65
        public void setGrammarAccess(UmlCollaborationUseGrammarAccess grammarAccess) {
66
        	this.grammarAccess = grammarAccess;
67
        }
68
        
69
        @Override
70
        protected Grammar getGrammar() {
71
        	return grammarAccess.getGrammar();
72
        }
73
        
74
        @Override
75
        protected String getValueForTokenName(String tokenName) {
76
        	return tokenName;
77
        }
376
78
377
		int stackSize = keepStackSize();
378
79
379
		try {
380
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:180:1: ( ( ( rule__VisibilityKind__Alternatives ) ) )
381
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:181:1: ( ( rule__VisibilityKind__Alternatives ) )
382
			{
383
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:181:1: ( ( rule__VisibilityKind__Alternatives ) )
384
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:182:1: ( rule__VisibilityKind__Alternatives )
385
				{
386
					before(grammarAccess.getVisibilityKindAccess().getAlternatives());
387
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:183:1: ( rule__VisibilityKind__Alternatives )
388
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:183:2: rule__VisibilityKind__Alternatives
389
					{
390
						pushFollow(FOLLOW_rule__VisibilityKind__Alternatives_in_ruleVisibilityKind313);
391
						rule__VisibilityKind__Alternatives();
392
						_fsp--;
393
80
394
81
395
					}
82
    // $ANTLR start "entryRuleCollaborationUseRule"
83
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:61:1: entryRuleCollaborationUseRule : ruleCollaborationUseRule EOF ;
84
    public final void entryRuleCollaborationUseRule() throws RecognitionException {
85
        try {
86
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:62:1: ( ruleCollaborationUseRule EOF )
87
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:63:1: ruleCollaborationUseRule EOF
88
            {
89
             before(grammarAccess.getCollaborationUseRuleRule()); 
90
            pushFollow(FOLLOW_ruleCollaborationUseRule_in_entryRuleCollaborationUseRule61);
91
            ruleCollaborationUseRule();
396
92
397
					after(grammarAccess.getVisibilityKindAccess().getAlternatives());
93
            state._fsp--;
398
94
399
				}
95
             after(grammarAccess.getCollaborationUseRuleRule()); 
96
            match(input,EOF,FOLLOW_EOF_in_entryRuleCollaborationUseRule68); 
400
97
98
            }
401
99
402
			}
100
        }
101
        catch (RecognitionException re) {
102
            reportError(re);
103
            recover(input,re);
104
        }
105
        finally {
106
        }
107
        return ;
108
    }
109
    // $ANTLR end "entryRuleCollaborationUseRule"
403
110
404
		} catch (RecognitionException re) {
405
			reportError(re);
406
			recover(input, re);
407
		} finally {
408
111
409
			restoreStackSize(stackSize);
112
    // $ANTLR start "ruleCollaborationUseRule"
113
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:70:1: ruleCollaborationUseRule : ( ( rule__CollaborationUseRule__Group__0 ) ) ;
114
    public final void ruleCollaborationUseRule() throws RecognitionException {
410
115
411
		}
116
        		int stackSize = keepStackSize();
412
		return;
117
            
413
	}
118
        try {
119
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:74:2: ( ( ( rule__CollaborationUseRule__Group__0 ) ) )
120
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:75:1: ( ( rule__CollaborationUseRule__Group__0 ) )
121
            {
122
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:75:1: ( ( rule__CollaborationUseRule__Group__0 ) )
123
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:76:1: ( rule__CollaborationUseRule__Group__0 )
124
            {
125
             before(grammarAccess.getCollaborationUseRuleAccess().getGroup()); 
126
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:77:1: ( rule__CollaborationUseRule__Group__0 )
127
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:77:2: rule__CollaborationUseRule__Group__0
128
            {
129
            pushFollow(FOLLOW_rule__CollaborationUseRule__Group__0_in_ruleCollaborationUseRule94);
130
            rule__CollaborationUseRule__Group__0();
414
131
415
	// $ANTLR end ruleVisibilityKind
132
            state._fsp--;
416
133
417
134
418
	// $ANTLR start rule__CollaborationUseRule__Alternatives_3
135
            }
419
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:196:1: rule__CollaborationUseRule__Alternatives_3 : ( ( ( rule__CollaborationUseRule__TypeAssignment_3_0 ) ) | ( '<Undefined>' ) );
420
	public final void rule__CollaborationUseRule__Alternatives_3() throws RecognitionException {
421
136
422
		int stackSize = keepStackSize();
137
             after(grammarAccess.getCollaborationUseRuleAccess().getGroup()); 
423
138
424
		try {
139
            }
425
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:200:1: ( ( ( rule__CollaborationUseRule__TypeAssignment_3_0 ) ) | ( '<Undefined>' ) )
426
			int alt1 = 2;
427
			int LA1_0 = input.LA(1);
428
140
429
			if((LA1_0 == RULE_ID)) {
430
				alt1 = 1;
431
			} else if((LA1_0 == 12)) {
432
				alt1 = 2;
433
			} else {
434
				NoViableAltException nvae = new NoViableAltException("196:1: rule__CollaborationUseRule__Alternatives_3 : ( ( ( rule__CollaborationUseRule__TypeAssignment_3_0 ) ) | ( '<Undefined>' ) );", 1, 0, input);
435
141
436
				throw nvae;
142
            }
437
			}
438
			switch(alt1) {
439
			case 1:
440
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:201:1: ( ( rule__CollaborationUseRule__TypeAssignment_3_0 ) )
441
			{
442
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:201:1: ( ( rule__CollaborationUseRule__TypeAssignment_3_0 ) )
443
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:202:1: ( rule__CollaborationUseRule__TypeAssignment_3_0 )
444
				{
445
					before(grammarAccess.getCollaborationUseRuleAccess().getTypeAssignment_3_0());
446
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:203:1: ( rule__CollaborationUseRule__TypeAssignment_3_0 )
447
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:203:2: rule__CollaborationUseRule__TypeAssignment_3_0
448
					{
449
						pushFollow(FOLLOW_rule__CollaborationUseRule__TypeAssignment_3_0_in_rule__CollaborationUseRule__Alternatives_3350);
450
						rule__CollaborationUseRule__TypeAssignment_3_0();
451
						_fsp--;
452
143
144
        }
145
        catch (RecognitionException re) {
146
            reportError(re);
147
            recover(input,re);
148
        }
149
        finally {
453
150
454
					}
151
            	restoreStackSize(stackSize);
455
152
456
					after(grammarAccess.getCollaborationUseRuleAccess().getTypeAssignment_3_0());
153
        }
154
        return ;
155
    }
156
    // $ANTLR end "ruleCollaborationUseRule"
457
157
458
				}
459
158
159
    // $ANTLR start "entryRuleTypeRule"
160
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:89:1: entryRuleTypeRule : ruleTypeRule EOF ;
161
    public final void entryRuleTypeRule() throws RecognitionException {
162
        try {
163
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:90:1: ( ruleTypeRule EOF )
164
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:91:1: ruleTypeRule EOF
165
            {
166
             before(grammarAccess.getTypeRuleRule()); 
167
            pushFollow(FOLLOW_ruleTypeRule_in_entryRuleTypeRule121);
168
            ruleTypeRule();
460
169
461
			}
170
            state._fsp--;
462
				break;
463
			case 2:
464
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:207:6: ( '<Undefined>' )
465
			{
466
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:207:6: ( '<Undefined>' )
467
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:208:1: '<Undefined>'
468
				{
469
					before(grammarAccess.getCollaborationUseRuleAccess().getUndefinedKeyword_3_1());
470
					match(input, 12, FOLLOW_12_in_rule__CollaborationUseRule__Alternatives_3369);
471
					after(grammarAccess.getCollaborationUseRuleAccess().getUndefinedKeyword_3_1());
472
171
473
				}
172
             after(grammarAccess.getTypeRuleRule()); 
173
            match(input,EOF,FOLLOW_EOF_in_entryRuleTypeRule128); 
474
174
175
            }
475
176
476
			}
177
        }
477
				break;
178
        catch (RecognitionException re) {
179
            reportError(re);
180
            recover(input,re);
181
        }
182
        finally {
183
        }
184
        return ;
185
    }
186
    // $ANTLR end "entryRuleTypeRule"
478
187
479
			}
480
		} catch (RecognitionException re) {
481
			reportError(re);
482
			recover(input, re);
483
		} finally {
484
188
485
			restoreStackSize(stackSize);
189
    // $ANTLR start "ruleTypeRule"
190
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:98:1: ruleTypeRule : ( ( rule__TypeRule__Group__0 ) ) ;
191
    public final void ruleTypeRule() throws RecognitionException {
486
192
487
		}
193
        		int stackSize = keepStackSize();
488
		return;
194
            
489
	}
195
        try {
196
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:102:2: ( ( ( rule__TypeRule__Group__0 ) ) )
197
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:103:1: ( ( rule__TypeRule__Group__0 ) )
198
            {
199
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:103:1: ( ( rule__TypeRule__Group__0 ) )
200
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:104:1: ( rule__TypeRule__Group__0 )
201
            {
202
             before(grammarAccess.getTypeRuleAccess().getGroup()); 
203
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:105:1: ( rule__TypeRule__Group__0 )
204
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:105:2: rule__TypeRule__Group__0
205
            {
206
            pushFollow(FOLLOW_rule__TypeRule__Group__0_in_ruleTypeRule154);
207
            rule__TypeRule__Group__0();
490
208
491
	// $ANTLR end rule__CollaborationUseRule__Alternatives_3
209
            state._fsp--;
492
210
493
211
494
	// $ANTLR start rule__VisibilityKind__Alternatives
212
            }
495
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:220:1: rule__VisibilityKind__Alternatives : ( ( ( '+' ) ) | ( ( '-' ) ) | ( ( '#' ) ) | ( ( '~' ) ) );
496
	public final void rule__VisibilityKind__Alternatives() throws RecognitionException {
497
213
498
		int stackSize = keepStackSize();
214
             after(grammarAccess.getTypeRuleAccess().getGroup()); 
499
215
500
		try {
216
            }
501
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:224:1: ( ( ( '+' ) ) | ( ( '-' ) ) | ( ( '#' ) ) | ( ( '~' ) ) )
502
			int alt2 = 4;
503
			switch(input.LA(1)) {
504
			case 13:
505
			{
506
				alt2 = 1;
507
			}
508
				break;
509
			case 14:
510
			{
511
				alt2 = 2;
512
			}
513
				break;
514
			case 15:
515
			{
516
				alt2 = 3;
517
			}
518
				break;
519
			case 16:
520
			{
521
				alt2 = 4;
522
			}
523
				break;
524
			default:
525
				NoViableAltException nvae = new NoViableAltException("220:1: rule__VisibilityKind__Alternatives : ( ( ( '+' ) ) | ( ( '-' ) ) | ( ( '#' ) ) | ( ( '~' ) ) );", 2, 0, input);
526
217
527
				throw nvae;
528
			}
529
218
530
			switch(alt2) {
219
            }
531
			case 1:
532
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:225:1: ( ( '+' ) )
533
			{
534
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:225:1: ( ( '+' ) )
535
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:226:1: ( '+' )
536
				{
537
					before(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0());
538
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:227:1: ( '+' )
539
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:227:3: '+'
540
					{
541
						match(input, 13, FOLLOW_13_in_rule__VisibilityKind__Alternatives404);
542
220
543
					}
221
        }
222
        catch (RecognitionException re) {
223
            reportError(re);
224
            recover(input,re);
225
        }
226
        finally {
544
227
545
					after(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0());
228
            	restoreStackSize(stackSize);
546
229
547
				}
230
        }
231
        return ;
232
    }
233
    // $ANTLR end "ruleTypeRule"
548
234
549
235
550
			}
236
    // $ANTLR start "entryRuleQualifiedName"
551
				break;
237
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:117:1: entryRuleQualifiedName : ruleQualifiedName EOF ;
552
			case 2:
238
    public final void entryRuleQualifiedName() throws RecognitionException {
553
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:232:6: ( ( '-' ) )
239
        try {
554
			{
240
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:118:1: ( ruleQualifiedName EOF )
555
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:232:6: ( ( '-' ) )
241
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:119:1: ruleQualifiedName EOF
556
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:233:1: ( '-' )
242
            {
557
				{
243
             before(grammarAccess.getQualifiedNameRule()); 
558
					before(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1());
244
            pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName181);
559
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:234:1: ( '-' )
245
            ruleQualifiedName();
560
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:234:3: '-'
561
					{
562
						match(input, 14, FOLLOW_14_in_rule__VisibilityKind__Alternatives425);
563
246
564
					}
247
            state._fsp--;
565
248
566
					after(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1());
249
             after(grammarAccess.getQualifiedNameRule()); 
250
            match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName188); 
567
251
568
				}
252
            }
569
253
254
        }
255
        catch (RecognitionException re) {
256
            reportError(re);
257
            recover(input,re);
258
        }
259
        finally {
260
        }
261
        return ;
262
    }
263
    // $ANTLR end "entryRuleQualifiedName"
570
264
571
			}
572
				break;
573
			case 3:
574
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:239:6: ( ( '#' ) )
575
			{
576
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:239:6: ( ( '#' ) )
577
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:240:1: ( '#' )
578
				{
579
					before(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2());
580
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:241:1: ( '#' )
581
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:241:3: '#'
582
					{
583
						match(input, 15, FOLLOW_15_in_rule__VisibilityKind__Alternatives446);
584
265
585
					}
266
    // $ANTLR start "ruleQualifiedName"
267
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:126:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ;
268
    public final void ruleQualifiedName() throws RecognitionException {
586
269
587
					after(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2());
270
        		int stackSize = keepStackSize();
271
            
272
        try {
273
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:130:2: ( ( ( rule__QualifiedName__Group__0 ) ) )
274
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:131:1: ( ( rule__QualifiedName__Group__0 ) )
275
            {
276
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:131:1: ( ( rule__QualifiedName__Group__0 ) )
277
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:132:1: ( rule__QualifiedName__Group__0 )
278
            {
279
             before(grammarAccess.getQualifiedNameAccess().getGroup()); 
280
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:133:1: ( rule__QualifiedName__Group__0 )
281
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:133:2: rule__QualifiedName__Group__0
282
            {
283
            pushFollow(FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName214);
284
            rule__QualifiedName__Group__0();
588
285
589
				}
286
            state._fsp--;
590
287
591
288
592
			}
289
            }
593
				break;
594
			case 4:
595
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:246:6: ( ( '~' ) )
596
			{
597
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:246:6: ( ( '~' ) )
598
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:247:1: ( '~' )
599
				{
600
					before(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3());
601
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:248:1: ( '~' )
602
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:248:3: '~'
603
					{
604
						match(input, 16, FOLLOW_16_in_rule__VisibilityKind__Alternatives467);
605
290
606
					}
291
             after(grammarAccess.getQualifiedNameAccess().getGroup()); 
607
292
608
					after(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3());
293
            }
609
294
610
				}
611
295
296
            }
612
297
613
			}
298
        }
614
				break;
299
        catch (RecognitionException re) {
300
            reportError(re);
301
            recover(input,re);
302
        }
303
        finally {
615
304
616
			}
305
            	restoreStackSize(stackSize);
617
		} catch (RecognitionException re) {
618
			reportError(re);
619
			recover(input, re);
620
		} finally {
621
306
622
			restoreStackSize(stackSize);
307
        }
308
        return ;
309
    }
310
    // $ANTLR end "ruleQualifiedName"
623
311
624
		}
625
		return;
626
	}
627
312
628
	// $ANTLR end rule__VisibilityKind__Alternatives
313
    // $ANTLR start "entryRuleBoundSpecification"
314
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:147:1: entryRuleBoundSpecification : ruleBoundSpecification EOF ;
315
    public final void entryRuleBoundSpecification() throws RecognitionException {
316
        try {
317
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:148:1: ( ruleBoundSpecification EOF )
318
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:149:1: ruleBoundSpecification EOF
319
            {
320
             before(grammarAccess.getBoundSpecificationRule()); 
321
            pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification243);
322
            ruleBoundSpecification();
629
323
324
            state._fsp--;
630
325
631
	// $ANTLR start rule__CollaborationUseRule__Group__0
326
             after(grammarAccess.getBoundSpecificationRule()); 
632
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:261:1: rule__CollaborationUseRule__Group__0 : rule__CollaborationUseRule__Group__0__Impl rule__CollaborationUseRule__Group__1 ;
327
            match(input,EOF,FOLLOW_EOF_in_entryRuleBoundSpecification250); 
633
	public final void rule__CollaborationUseRule__Group__0() throws RecognitionException {
634
328
635
		int stackSize = keepStackSize();
329
            }
636
330
637
		try {
331
        }
638
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:265:1: ( rule__CollaborationUseRule__Group__0__Impl rule__CollaborationUseRule__Group__1 )
332
        catch (RecognitionException re) {
639
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:266:2: rule__CollaborationUseRule__Group__0__Impl rule__CollaborationUseRule__Group__1
333
            reportError(re);
640
			{
334
            recover(input,re);
641
				pushFollow(FOLLOW_rule__CollaborationUseRule__Group__0__Impl_in_rule__CollaborationUseRule__Group__0501);
335
        }
642
				rule__CollaborationUseRule__Group__0__Impl();
336
        finally {
643
				_fsp--;
337
        }
338
        return ;
339
    }
340
    // $ANTLR end "entryRuleBoundSpecification"
644
341
645
				pushFollow(FOLLOW_rule__CollaborationUseRule__Group__1_in_rule__CollaborationUseRule__Group__0504);
646
				rule__CollaborationUseRule__Group__1();
647
				_fsp--;
648
342
343
    // $ANTLR start "ruleBoundSpecification"
344
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:156:1: ruleBoundSpecification : ( ( rule__BoundSpecification__ValueAssignment ) ) ;
345
    public final void ruleBoundSpecification() throws RecognitionException {
649
346
650
			}
347
        		int stackSize = keepStackSize();
348
            
349
        try {
350
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:160:2: ( ( ( rule__BoundSpecification__ValueAssignment ) ) )
351
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:161:1: ( ( rule__BoundSpecification__ValueAssignment ) )
352
            {
353
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:161:1: ( ( rule__BoundSpecification__ValueAssignment ) )
354
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:162:1: ( rule__BoundSpecification__ValueAssignment )
355
            {
356
             before(grammarAccess.getBoundSpecificationAccess().getValueAssignment()); 
357
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:163:1: ( rule__BoundSpecification__ValueAssignment )
358
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:163:2: rule__BoundSpecification__ValueAssignment
359
            {
360
            pushFollow(FOLLOW_rule__BoundSpecification__ValueAssignment_in_ruleBoundSpecification276);
361
            rule__BoundSpecification__ValueAssignment();
651
362
652
		} catch (RecognitionException re) {
363
            state._fsp--;
653
			reportError(re);
654
			recover(input, re);
655
		} finally {
656
364
657
			restoreStackSize(stackSize);
658
365
659
		}
366
            }
660
		return;
661
	}
662
367
663
	// $ANTLR end rule__CollaborationUseRule__Group__0
368
             after(grammarAccess.getBoundSpecificationAccess().getValueAssignment()); 
664
369
370
            }
665
371
666
	// $ANTLR start rule__CollaborationUseRule__Group__0__Impl
667
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:273:1: rule__CollaborationUseRule__Group__0__Impl : ( ( rule__CollaborationUseRule__VisibilityAssignment_0 ) ) ;
668
	public final void rule__CollaborationUseRule__Group__0__Impl() throws RecognitionException {
669
372
670
		int stackSize = keepStackSize();
373
            }
671
374
672
		try {
375
        }
673
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:277:1: ( ( ( rule__CollaborationUseRule__VisibilityAssignment_0 ) ) )
376
        catch (RecognitionException re) {
674
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:278:1: ( ( rule__CollaborationUseRule__VisibilityAssignment_0 ) )
377
            reportError(re);
675
			{
378
            recover(input,re);
676
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:278:1: ( ( rule__CollaborationUseRule__VisibilityAssignment_0 ) )
379
        }
677
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:279:1: ( rule__CollaborationUseRule__VisibilityAssignment_0 )
380
        finally {
678
				{
679
					before(grammarAccess.getCollaborationUseRuleAccess().getVisibilityAssignment_0());
680
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:280:1: ( rule__CollaborationUseRule__VisibilityAssignment_0 )
681
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:280:2: rule__CollaborationUseRule__VisibilityAssignment_0
682
					{
683
						pushFollow(FOLLOW_rule__CollaborationUseRule__VisibilityAssignment_0_in_rule__CollaborationUseRule__Group__0__Impl531);
684
						rule__CollaborationUseRule__VisibilityAssignment_0();
685
						_fsp--;
686
381
382
            	restoreStackSize(stackSize);
687
383
688
					}
384
        }
385
        return ;
386
    }
387
    // $ANTLR end "ruleBoundSpecification"
689
388
690
					after(grammarAccess.getCollaborationUseRuleAccess().getVisibilityAssignment_0());
691
389
692
				}
390
    // $ANTLR start "ruleVisibilityKind"
391
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:176:1: ruleVisibilityKind : ( ( rule__VisibilityKind__Alternatives ) ) ;
392
    public final void ruleVisibilityKind() throws RecognitionException {
693
393
394
        		int stackSize = keepStackSize();
395
            
396
        try {
397
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:180:1: ( ( ( rule__VisibilityKind__Alternatives ) ) )
398
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:181:1: ( ( rule__VisibilityKind__Alternatives ) )
399
            {
400
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:181:1: ( ( rule__VisibilityKind__Alternatives ) )
401
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:182:1: ( rule__VisibilityKind__Alternatives )
402
            {
403
             before(grammarAccess.getVisibilityKindAccess().getAlternatives()); 
404
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:183:1: ( rule__VisibilityKind__Alternatives )
405
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:183:2: rule__VisibilityKind__Alternatives
406
            {
407
            pushFollow(FOLLOW_rule__VisibilityKind__Alternatives_in_ruleVisibilityKind313);
408
            rule__VisibilityKind__Alternatives();
694
409
695
			}
410
            state._fsp--;
696
411
697
		} catch (RecognitionException re) {
698
			reportError(re);
699
			recover(input, re);
700
		} finally {
701
412
702
			restoreStackSize(stackSize);
413
            }
703
414
704
		}
415
             after(grammarAccess.getVisibilityKindAccess().getAlternatives()); 
705
		return;
706
	}
707
416
708
	// $ANTLR end rule__CollaborationUseRule__Group__0__Impl
417
            }
709
418
710
419
711
	// $ANTLR start rule__CollaborationUseRule__Group__1
420
            }
712
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:290:1: rule__CollaborationUseRule__Group__1 : rule__CollaborationUseRule__Group__1__Impl rule__CollaborationUseRule__Group__2 ;
713
	public final void rule__CollaborationUseRule__Group__1() throws RecognitionException {
714
421
715
		int stackSize = keepStackSize();
422
        }
423
        catch (RecognitionException re) {
424
            reportError(re);
425
            recover(input,re);
426
        }
427
        finally {
716
428
717
		try {
429
            	restoreStackSize(stackSize);
718
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:294:1: ( rule__CollaborationUseRule__Group__1__Impl rule__CollaborationUseRule__Group__2 )
719
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:295:2: rule__CollaborationUseRule__Group__1__Impl rule__CollaborationUseRule__Group__2
720
			{
721
				pushFollow(FOLLOW_rule__CollaborationUseRule__Group__1__Impl_in_rule__CollaborationUseRule__Group__1561);
722
				rule__CollaborationUseRule__Group__1__Impl();
723
				_fsp--;
724
430
725
				pushFollow(FOLLOW_rule__CollaborationUseRule__Group__2_in_rule__CollaborationUseRule__Group__1564);
431
        }
726
				rule__CollaborationUseRule__Group__2();
432
        return ;
727
				_fsp--;
433
    }
434
    // $ANTLR end "ruleVisibilityKind"
728
435
729
436
730
			}
437
    // $ANTLR start "rule__CollaborationUseRule__Alternatives_3"
438
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:196:1: rule__CollaborationUseRule__Alternatives_3 : ( ( ( rule__CollaborationUseRule__TypeAssignment_3_0 ) ) | ( '<Undefined>' ) );
439
    public final void rule__CollaborationUseRule__Alternatives_3() throws RecognitionException {
731
440
732
		} catch (RecognitionException re) {
441
        		int stackSize = keepStackSize();
733
			reportError(re);
442
            
734
			recover(input, re);
443
        try {
735
		} finally {
444
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:200:1: ( ( ( rule__CollaborationUseRule__TypeAssignment_3_0 ) ) | ( '<Undefined>' ) )
445
            int alt1=2;
446
            int LA1_0 = input.LA(1);
736
447
737
			restoreStackSize(stackSize);
448
            if ( (LA1_0==RULE_ID) ) {
449
                alt1=1;
450
            }
451
            else if ( (LA1_0==12) ) {
452
                alt1=2;
453
            }
454
            else {
455
                NoViableAltException nvae =
456
                    new NoViableAltException("", 1, 0, input);
738
457
739
		}
458
                throw nvae;
740
		return;
459
            }
741
	}
460
            switch (alt1) {
461
                case 1 :
462
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:201:1: ( ( rule__CollaborationUseRule__TypeAssignment_3_0 ) )
463
                    {
464
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:201:1: ( ( rule__CollaborationUseRule__TypeAssignment_3_0 ) )
465
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:202:1: ( rule__CollaborationUseRule__TypeAssignment_3_0 )
466
                    {
467
                     before(grammarAccess.getCollaborationUseRuleAccess().getTypeAssignment_3_0()); 
468
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:203:1: ( rule__CollaborationUseRule__TypeAssignment_3_0 )
469
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:203:2: rule__CollaborationUseRule__TypeAssignment_3_0
470
                    {
471
                    pushFollow(FOLLOW_rule__CollaborationUseRule__TypeAssignment_3_0_in_rule__CollaborationUseRule__Alternatives_3350);
472
                    rule__CollaborationUseRule__TypeAssignment_3_0();
742
473
743
	// $ANTLR end rule__CollaborationUseRule__Group__1
474
                    state._fsp--;
744
475
745
476
746
	// $ANTLR start rule__CollaborationUseRule__Group__1__Impl
477
                    }
747
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:302:1: rule__CollaborationUseRule__Group__1__Impl : ( ( rule__CollaborationUseRule__NameAssignment_1 ) ) ;
748
	public final void rule__CollaborationUseRule__Group__1__Impl() throws RecognitionException {
749
478
750
		int stackSize = keepStackSize();
479
                     after(grammarAccess.getCollaborationUseRuleAccess().getTypeAssignment_3_0()); 
751
480
752
		try {
481
                    }
753
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:306:1: ( ( ( rule__CollaborationUseRule__NameAssignment_1 ) ) )
754
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:307:1: ( ( rule__CollaborationUseRule__NameAssignment_1 ) )
755
			{
756
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:307:1: ( ( rule__CollaborationUseRule__NameAssignment_1 ) )
757
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:308:1: ( rule__CollaborationUseRule__NameAssignment_1 )
758
				{
759
					before(grammarAccess.getCollaborationUseRuleAccess().getNameAssignment_1());
760
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:309:1: ( rule__CollaborationUseRule__NameAssignment_1 )
761
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:309:2: rule__CollaborationUseRule__NameAssignment_1
762
					{
763
						pushFollow(FOLLOW_rule__CollaborationUseRule__NameAssignment_1_in_rule__CollaborationUseRule__Group__1__Impl591);
764
						rule__CollaborationUseRule__NameAssignment_1();
765
						_fsp--;
766
482
767
483
768
					}
484
                    }
485
                    break;
486
                case 2 :
487
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:207:6: ( '<Undefined>' )
488
                    {
489
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:207:6: ( '<Undefined>' )
490
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:208:1: '<Undefined>'
491
                    {
492
                     before(grammarAccess.getCollaborationUseRuleAccess().getUndefinedKeyword_3_1()); 
493
                    match(input,12,FOLLOW_12_in_rule__CollaborationUseRule__Alternatives_3369); 
494
                     after(grammarAccess.getCollaborationUseRuleAccess().getUndefinedKeyword_3_1()); 
769
495
770
					after(grammarAccess.getCollaborationUseRuleAccess().getNameAssignment_1());
496
                    }
771
497
772
				}
773
498
499
                    }
500
                    break;
774
501
775
			}
502
            }
503
        }
504
        catch (RecognitionException re) {
505
            reportError(re);
506
            recover(input,re);
507
        }
508
        finally {
776
509
777
		} catch (RecognitionException re) {
510
            	restoreStackSize(stackSize);
778
			reportError(re);
779
			recover(input, re);
780
		} finally {
781
511
782
			restoreStackSize(stackSize);
512
        }
513
        return ;
514
    }
515
    // $ANTLR end "rule__CollaborationUseRule__Alternatives_3"
783
516
784
		}
785
		return;
786
	}
787
517
788
	// $ANTLR end rule__CollaborationUseRule__Group__1__Impl
518
    // $ANTLR start "rule__VisibilityKind__Alternatives"
519
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:220:1: rule__VisibilityKind__Alternatives : ( ( ( '+' ) ) | ( ( '-' ) ) | ( ( '#' ) ) | ( ( '~' ) ) );
520
    public final void rule__VisibilityKind__Alternatives() throws RecognitionException {
789
521
522
        		int stackSize = keepStackSize();
523
            
524
        try {
525
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:224:1: ( ( ( '+' ) ) | ( ( '-' ) ) | ( ( '#' ) ) | ( ( '~' ) ) )
526
            int alt2=4;
527
            switch ( input.LA(1) ) {
528
            case 13:
529
                {
530
                alt2=1;
531
                }
532
                break;
533
            case 14:
534
                {
535
                alt2=2;
536
                }
537
                break;
538
            case 15:
539
                {
540
                alt2=3;
541
                }
542
                break;
543
            case 16:
544
                {
545
                alt2=4;
546
                }
547
                break;
548
            default:
549
                NoViableAltException nvae =
550
                    new NoViableAltException("", 2, 0, input);
790
551
791
	// $ANTLR start rule__CollaborationUseRule__Group__2
552
                throw nvae;
792
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:319:1: rule__CollaborationUseRule__Group__2 : rule__CollaborationUseRule__Group__2__Impl rule__CollaborationUseRule__Group__3 ;
553
            }
793
	public final void rule__CollaborationUseRule__Group__2() throws RecognitionException {
794
554
795
		int stackSize = keepStackSize();
555
            switch (alt2) {
556
                case 1 :
557
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:225:1: ( ( '+' ) )
558
                    {
559
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:225:1: ( ( '+' ) )
560
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:226:1: ( '+' )
561
                    {
562
                     before(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0()); 
563
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:227:1: ( '+' )
564
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:227:3: '+'
565
                    {
566
                    match(input,13,FOLLOW_13_in_rule__VisibilityKind__Alternatives404); 
796
567
797
		try {
568
                    }
798
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:323:1: ( rule__CollaborationUseRule__Group__2__Impl rule__CollaborationUseRule__Group__3 )
799
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:324:2: rule__CollaborationUseRule__Group__2__Impl rule__CollaborationUseRule__Group__3
800
			{
801
				pushFollow(FOLLOW_rule__CollaborationUseRule__Group__2__Impl_in_rule__CollaborationUseRule__Group__2621);
802
				rule__CollaborationUseRule__Group__2__Impl();
803
				_fsp--;
804
569
805
				pushFollow(FOLLOW_rule__CollaborationUseRule__Group__3_in_rule__CollaborationUseRule__Group__2624);
570
                     after(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0()); 
806
				rule__CollaborationUseRule__Group__3();
807
				_fsp--;
808
571
572
                    }
809
573
810
			}
811
574
812
		} catch (RecognitionException re) {
575
                    }
813
			reportError(re);
576
                    break;
814
			recover(input, re);
577
                case 2 :
815
		} finally {
578
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:232:6: ( ( '-' ) )
579
                    {
580
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:232:6: ( ( '-' ) )
581
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:233:1: ( '-' )
582
                    {
583
                     before(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1()); 
584
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:234:1: ( '-' )
585
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:234:3: '-'
586
                    {
587
                    match(input,14,FOLLOW_14_in_rule__VisibilityKind__Alternatives425); 
816
588
817
			restoreStackSize(stackSize);
589
                    }
818
590
819
		}
591
                     after(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1()); 
820
		return;
821
	}
822
592
823
	// $ANTLR end rule__CollaborationUseRule__Group__2
593
                    }
824
594
825
595
826
	// $ANTLR start rule__CollaborationUseRule__Group__2__Impl
596
                    }
827
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:331:1: rule__CollaborationUseRule__Group__2__Impl : ( ':' ) ;
597
                    break;
828
	public final void rule__CollaborationUseRule__Group__2__Impl() throws RecognitionException {
598
                case 3 :
599
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:239:6: ( ( '#' ) )
600
                    {
601
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:239:6: ( ( '#' ) )
602
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:240:1: ( '#' )
603
                    {
604
                     before(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2()); 
605
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:241:1: ( '#' )
606
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:241:3: '#'
607
                    {
608
                    match(input,15,FOLLOW_15_in_rule__VisibilityKind__Alternatives446); 
829
609
830
		int stackSize = keepStackSize();
610
                    }
831
611
832
		try {
612
                     after(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2()); 
833
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:335:1: ( ( ':' ) )
834
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:336:1: ( ':' )
835
			{
836
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:336:1: ( ':' )
837
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:337:1: ':'
838
				{
839
					before(grammarAccess.getCollaborationUseRuleAccess().getColonKeyword_2());
840
					match(input, 17, FOLLOW_17_in_rule__CollaborationUseRule__Group__2__Impl652);
841
					after(grammarAccess.getCollaborationUseRuleAccess().getColonKeyword_2());
842
613
843
				}
614
                    }
844
615
845
616
846
			}
617
                    }
618
                    break;
619
                case 4 :
620
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:246:6: ( ( '~' ) )
621
                    {
622
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:246:6: ( ( '~' ) )
623
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:247:1: ( '~' )
624
                    {
625
                     before(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3()); 
626
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:248:1: ( '~' )
627
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:248:3: '~'
628
                    {
629
                    match(input,16,FOLLOW_16_in_rule__VisibilityKind__Alternatives467); 
847
630
848
		} catch (RecognitionException re) {
631
                    }
849
			reportError(re);
850
			recover(input, re);
851
		} finally {
852
632
853
			restoreStackSize(stackSize);
633
                     after(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3()); 
854
634
855
		}
635
                    }
856
		return;
857
	}
858
636
859
	// $ANTLR end rule__CollaborationUseRule__Group__2__Impl
860
637
638
                    }
639
                    break;
861
640
862
	// $ANTLR start rule__CollaborationUseRule__Group__3
641
            }
863
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:350:1: rule__CollaborationUseRule__Group__3 : rule__CollaborationUseRule__Group__3__Impl ;
642
        }
864
	public final void rule__CollaborationUseRule__Group__3() throws RecognitionException {
643
        catch (RecognitionException re) {
644
            reportError(re);
645
            recover(input,re);
646
        }
647
        finally {
865
648
866
		int stackSize = keepStackSize();
649
            	restoreStackSize(stackSize);
867
650
868
		try {
651
        }
869
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:354:1: ( rule__CollaborationUseRule__Group__3__Impl )
652
        return ;
870
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:355:2: rule__CollaborationUseRule__Group__3__Impl
653
    }
871
			{
654
    // $ANTLR end "rule__VisibilityKind__Alternatives"
872
				pushFollow(FOLLOW_rule__CollaborationUseRule__Group__3__Impl_in_rule__CollaborationUseRule__Group__3683);
873
				rule__CollaborationUseRule__Group__3__Impl();
874
				_fsp--;
875
655
876
656
877
			}
657
    // $ANTLR start "rule__CollaborationUseRule__Group__0"
658
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:261:1: rule__CollaborationUseRule__Group__0 : rule__CollaborationUseRule__Group__0__Impl rule__CollaborationUseRule__Group__1 ;
659
    public final void rule__CollaborationUseRule__Group__0() throws RecognitionException {
878
660
879
		} catch (RecognitionException re) {
661
        		int stackSize = keepStackSize();
880
			reportError(re);
662
            
881
			recover(input, re);
663
        try {
882
		} finally {
664
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:265:1: ( rule__CollaborationUseRule__Group__0__Impl rule__CollaborationUseRule__Group__1 )
665
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:266:2: rule__CollaborationUseRule__Group__0__Impl rule__CollaborationUseRule__Group__1
666
            {
667
            pushFollow(FOLLOW_rule__CollaborationUseRule__Group__0__Impl_in_rule__CollaborationUseRule__Group__0501);
668
            rule__CollaborationUseRule__Group__0__Impl();
883
669
884
			restoreStackSize(stackSize);
670
            state._fsp--;
885
671
886
		}
672
            pushFollow(FOLLOW_rule__CollaborationUseRule__Group__1_in_rule__CollaborationUseRule__Group__0504);
887
		return;
673
            rule__CollaborationUseRule__Group__1();
888
	}
889
674
890
	// $ANTLR end rule__CollaborationUseRule__Group__3
675
            state._fsp--;
891
676
892
677
893
	// $ANTLR start rule__CollaborationUseRule__Group__3__Impl
678
            }
894
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:361:1: rule__CollaborationUseRule__Group__3__Impl : ( ( rule__CollaborationUseRule__Alternatives_3 ) ) ;
895
	public final void rule__CollaborationUseRule__Group__3__Impl() throws RecognitionException {
896
679
897
		int stackSize = keepStackSize();
680
        }
681
        catch (RecognitionException re) {
682
            reportError(re);
683
            recover(input,re);
684
        }
685
        finally {
898
686
899
		try {
687
            	restoreStackSize(stackSize);
900
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:365:1: ( ( ( rule__CollaborationUseRule__Alternatives_3 ) ) )
901
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:366:1: ( ( rule__CollaborationUseRule__Alternatives_3 ) )
902
			{
903
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:366:1: ( ( rule__CollaborationUseRule__Alternatives_3 ) )
904
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:367:1: ( rule__CollaborationUseRule__Alternatives_3 )
905
				{
906
					before(grammarAccess.getCollaborationUseRuleAccess().getAlternatives_3());
907
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:368:1: ( rule__CollaborationUseRule__Alternatives_3 )
908
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:368:2: rule__CollaborationUseRule__Alternatives_3
909
					{
910
						pushFollow(FOLLOW_rule__CollaborationUseRule__Alternatives_3_in_rule__CollaborationUseRule__Group__3__Impl710);
911
						rule__CollaborationUseRule__Alternatives_3();
912
						_fsp--;
913
688
689
        }
690
        return ;
691
    }
692
    // $ANTLR end "rule__CollaborationUseRule__Group__0"
914
693
915
					}
916
694
917
					after(grammarAccess.getCollaborationUseRuleAccess().getAlternatives_3());
695
    // $ANTLR start "rule__CollaborationUseRule__Group__0__Impl"
696
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:273:1: rule__CollaborationUseRule__Group__0__Impl : ( ( rule__CollaborationUseRule__VisibilityAssignment_0 ) ) ;
697
    public final void rule__CollaborationUseRule__Group__0__Impl() throws RecognitionException {
918
698
919
				}
699
        		int stackSize = keepStackSize();
700
            
701
        try {
702
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:277:1: ( ( ( rule__CollaborationUseRule__VisibilityAssignment_0 ) ) )
703
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:278:1: ( ( rule__CollaborationUseRule__VisibilityAssignment_0 ) )
704
            {
705
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:278:1: ( ( rule__CollaborationUseRule__VisibilityAssignment_0 ) )
706
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:279:1: ( rule__CollaborationUseRule__VisibilityAssignment_0 )
707
            {
708
             before(grammarAccess.getCollaborationUseRuleAccess().getVisibilityAssignment_0()); 
709
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:280:1: ( rule__CollaborationUseRule__VisibilityAssignment_0 )
710
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:280:2: rule__CollaborationUseRule__VisibilityAssignment_0
711
            {
712
            pushFollow(FOLLOW_rule__CollaborationUseRule__VisibilityAssignment_0_in_rule__CollaborationUseRule__Group__0__Impl531);
713
            rule__CollaborationUseRule__VisibilityAssignment_0();
920
714
715
            state._fsp--;
921
716
922
			}
923
717
924
		} catch (RecognitionException re) {
718
            }
925
			reportError(re);
926
			recover(input, re);
927
		} finally {
928
719
929
			restoreStackSize(stackSize);
720
             after(grammarAccess.getCollaborationUseRuleAccess().getVisibilityAssignment_0()); 
930
721
931
		}
722
            }
932
		return;
933
	}
934
723
935
	// $ANTLR end rule__CollaborationUseRule__Group__3__Impl
936
724
725
            }
937
726
938
	// $ANTLR start rule__TypeRule__Group__0
727
        }
939
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:386:1: rule__TypeRule__Group__0 : rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1 ;
728
        catch (RecognitionException re) {
940
	public final void rule__TypeRule__Group__0() throws RecognitionException {
729
            reportError(re);
730
            recover(input,re);
731
        }
732
        finally {
941
733
942
		int stackSize = keepStackSize();
734
            	restoreStackSize(stackSize);
943
735
944
		try {
736
        }
945
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:390:1: ( rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1 )
737
        return ;
946
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:391:2: rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1
738
    }
947
			{
739
    // $ANTLR end "rule__CollaborationUseRule__Group__0__Impl"
948
				pushFollow(FOLLOW_rule__TypeRule__Group__0__Impl_in_rule__TypeRule__Group__0748);
949
				rule__TypeRule__Group__0__Impl();
950
				_fsp--;
951
740
952
				pushFollow(FOLLOW_rule__TypeRule__Group__1_in_rule__TypeRule__Group__0751);
953
				rule__TypeRule__Group__1();
954
				_fsp--;
955
741
742
    // $ANTLR start "rule__CollaborationUseRule__Group__1"
743
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:290:1: rule__CollaborationUseRule__Group__1 : rule__CollaborationUseRule__Group__1__Impl rule__CollaborationUseRule__Group__2 ;
744
    public final void rule__CollaborationUseRule__Group__1() throws RecognitionException {
956
745
957
			}
746
        		int stackSize = keepStackSize();
747
            
748
        try {
749
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:294:1: ( rule__CollaborationUseRule__Group__1__Impl rule__CollaborationUseRule__Group__2 )
750
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:295:2: rule__CollaborationUseRule__Group__1__Impl rule__CollaborationUseRule__Group__2
751
            {
752
            pushFollow(FOLLOW_rule__CollaborationUseRule__Group__1__Impl_in_rule__CollaborationUseRule__Group__1561);
753
            rule__CollaborationUseRule__Group__1__Impl();
958
754
959
		} catch (RecognitionException re) {
755
            state._fsp--;
960
			reportError(re);
961
			recover(input, re);
962
		} finally {
963
756
964
			restoreStackSize(stackSize);
757
            pushFollow(FOLLOW_rule__CollaborationUseRule__Group__2_in_rule__CollaborationUseRule__Group__1564);
758
            rule__CollaborationUseRule__Group__2();
965
759
966
		}
760
            state._fsp--;
967
		return;
968
	}
969
761
970
	// $ANTLR end rule__TypeRule__Group__0
971
762
763
            }
972
764
973
	// $ANTLR start rule__TypeRule__Group__0__Impl
765
        }
974
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:398:1: rule__TypeRule__Group__0__Impl : ( ( rule__TypeRule__PathAssignment_0 )? ) ;
766
        catch (RecognitionException re) {
975
	public final void rule__TypeRule__Group__0__Impl() throws RecognitionException {
767
            reportError(re);
768
            recover(input,re);
769
        }
770
        finally {
976
771
977
		int stackSize = keepStackSize();
772
            	restoreStackSize(stackSize);
978
773
979
		try {
774
        }
980
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:402:1: ( ( ( rule__TypeRule__PathAssignment_0 )? ) )
775
        return ;
981
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:403:1: ( ( rule__TypeRule__PathAssignment_0 )? )
776
    }
982
			{
777
    // $ANTLR end "rule__CollaborationUseRule__Group__1"
983
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:403:1: ( ( rule__TypeRule__PathAssignment_0 )? )
984
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:404:1: ( rule__TypeRule__PathAssignment_0 )?
985
				{
986
					before(grammarAccess.getTypeRuleAccess().getPathAssignment_0());
987
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:405:1: ( rule__TypeRule__PathAssignment_0 )?
988
					int alt3 = 2;
989
					int LA3_0 = input.LA(1);
990
778
991
					if((LA3_0 == RULE_ID)) {
992
						int LA3_1 = input.LA(2);
993
779
994
						if((LA3_1 == 18)) {
780
    // $ANTLR start "rule__CollaborationUseRule__Group__1__Impl"
995
							alt3 = 1;
781
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:302:1: rule__CollaborationUseRule__Group__1__Impl : ( ( rule__CollaborationUseRule__NameAssignment_1 ) ) ;
996
						}
782
    public final void rule__CollaborationUseRule__Group__1__Impl() throws RecognitionException {
997
					}
998
					switch(alt3) {
999
					case 1:
1000
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:405:2: rule__TypeRule__PathAssignment_0
1001
					{
1002
						pushFollow(FOLLOW_rule__TypeRule__PathAssignment_0_in_rule__TypeRule__Group__0__Impl778);
1003
						rule__TypeRule__PathAssignment_0();
1004
						_fsp--;
1005
783
784
        		int stackSize = keepStackSize();
785
            
786
        try {
787
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:306:1: ( ( ( rule__CollaborationUseRule__NameAssignment_1 ) ) )
788
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:307:1: ( ( rule__CollaborationUseRule__NameAssignment_1 ) )
789
            {
790
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:307:1: ( ( rule__CollaborationUseRule__NameAssignment_1 ) )
791
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:308:1: ( rule__CollaborationUseRule__NameAssignment_1 )
792
            {
793
             before(grammarAccess.getCollaborationUseRuleAccess().getNameAssignment_1()); 
794
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:309:1: ( rule__CollaborationUseRule__NameAssignment_1 )
795
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:309:2: rule__CollaborationUseRule__NameAssignment_1
796
            {
797
            pushFollow(FOLLOW_rule__CollaborationUseRule__NameAssignment_1_in_rule__CollaborationUseRule__Group__1__Impl591);
798
            rule__CollaborationUseRule__NameAssignment_1();
1006
799
1007
					}
800
            state._fsp--;
1008
						break;
1009
801
1010
					}
1011
802
1012
					after(grammarAccess.getTypeRuleAccess().getPathAssignment_0());
803
            }
1013
804
1014
				}
805
             after(grammarAccess.getCollaborationUseRuleAccess().getNameAssignment_1()); 
1015
806
807
            }
1016
808
1017
			}
1018
809
1019
		} catch (RecognitionException re) {
810
            }
1020
			reportError(re);
1021
			recover(input, re);
1022
		} finally {
1023
811
1024
			restoreStackSize(stackSize);
812
        }
813
        catch (RecognitionException re) {
814
            reportError(re);
815
            recover(input,re);
816
        }
817
        finally {
1025
818
1026
		}
819
            	restoreStackSize(stackSize);
1027
		return;
1028
	}
1029
820
1030
	// $ANTLR end rule__TypeRule__Group__0__Impl
821
        }
822
        return ;
823
    }
824
    // $ANTLR end "rule__CollaborationUseRule__Group__1__Impl"
1031
825
1032
826
1033
	// $ANTLR start rule__TypeRule__Group__1
827
    // $ANTLR start "rule__CollaborationUseRule__Group__2"
1034
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:415:1: rule__TypeRule__Group__1 : rule__TypeRule__Group__1__Impl ;
828
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:319:1: rule__CollaborationUseRule__Group__2 : rule__CollaborationUseRule__Group__2__Impl rule__CollaborationUseRule__Group__3 ;
1035
	public final void rule__TypeRule__Group__1() throws RecognitionException {
829
    public final void rule__CollaborationUseRule__Group__2() throws RecognitionException {
1036
830
1037
		int stackSize = keepStackSize();
831
        		int stackSize = keepStackSize();
832
            
833
        try {
834
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:323:1: ( rule__CollaborationUseRule__Group__2__Impl rule__CollaborationUseRule__Group__3 )
835
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:324:2: rule__CollaborationUseRule__Group__2__Impl rule__CollaborationUseRule__Group__3
836
            {
837
            pushFollow(FOLLOW_rule__CollaborationUseRule__Group__2__Impl_in_rule__CollaborationUseRule__Group__2621);
838
            rule__CollaborationUseRule__Group__2__Impl();
1038
839
1039
		try {
840
            state._fsp--;
1040
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:419:1: ( rule__TypeRule__Group__1__Impl )
1041
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:420:2: rule__TypeRule__Group__1__Impl
1042
			{
1043
				pushFollow(FOLLOW_rule__TypeRule__Group__1__Impl_in_rule__TypeRule__Group__1809);
1044
				rule__TypeRule__Group__1__Impl();
1045
				_fsp--;
1046
841
842
            pushFollow(FOLLOW_rule__CollaborationUseRule__Group__3_in_rule__CollaborationUseRule__Group__2624);
843
            rule__CollaborationUseRule__Group__3();
1047
844
1048
			}
845
            state._fsp--;
1049
846
1050
		} catch (RecognitionException re) {
1051
			reportError(re);
1052
			recover(input, re);
1053
		} finally {
1054
847
1055
			restoreStackSize(stackSize);
848
            }
1056
849
1057
		}
850
        }
1058
		return;
851
        catch (RecognitionException re) {
1059
	}
852
            reportError(re);
853
            recover(input,re);
854
        }
855
        finally {
1060
856
1061
	// $ANTLR end rule__TypeRule__Group__1
857
            	restoreStackSize(stackSize);
1062
858
859
        }
860
        return ;
861
    }
862
    // $ANTLR end "rule__CollaborationUseRule__Group__2"
1063
863
1064
	// $ANTLR start rule__TypeRule__Group__1__Impl
1065
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:426:1: rule__TypeRule__Group__1__Impl : ( ( rule__TypeRule__TypeAssignment_1 ) ) ;
1066
	public final void rule__TypeRule__Group__1__Impl() throws RecognitionException {
1067
864
1068
		int stackSize = keepStackSize();
865
    // $ANTLR start "rule__CollaborationUseRule__Group__2__Impl"
866
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:331:1: rule__CollaborationUseRule__Group__2__Impl : ( ':' ) ;
867
    public final void rule__CollaborationUseRule__Group__2__Impl() throws RecognitionException {
1069
868
1070
		try {
869
        		int stackSize = keepStackSize();
1071
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:430:1: ( ( ( rule__TypeRule__TypeAssignment_1 ) ) )
870
            
1072
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:431:1: ( ( rule__TypeRule__TypeAssignment_1 ) )
871
        try {
1073
			{
872
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:335:1: ( ( ':' ) )
1074
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:431:1: ( ( rule__TypeRule__TypeAssignment_1 ) )
873
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:336:1: ( ':' )
1075
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:432:1: ( rule__TypeRule__TypeAssignment_1 )
874
            {
1076
				{
875
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:336:1: ( ':' )
1077
					before(grammarAccess.getTypeRuleAccess().getTypeAssignment_1());
876
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:337:1: ':'
1078
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:433:1: ( rule__TypeRule__TypeAssignment_1 )
877
            {
1079
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:433:2: rule__TypeRule__TypeAssignment_1
878
             before(grammarAccess.getCollaborationUseRuleAccess().getColonKeyword_2()); 
1080
					{
879
            match(input,17,FOLLOW_17_in_rule__CollaborationUseRule__Group__2__Impl652); 
1081
						pushFollow(FOLLOW_rule__TypeRule__TypeAssignment_1_in_rule__TypeRule__Group__1__Impl836);
880
             after(grammarAccess.getCollaborationUseRuleAccess().getColonKeyword_2()); 
1082
						rule__TypeRule__TypeAssignment_1();
1083
						_fsp--;
1084
881
882
            }
1085
883
1086
					}
1087
884
1088
					after(grammarAccess.getTypeRuleAccess().getTypeAssignment_1());
885
            }
1089
886
1090
				}
887
        }
888
        catch (RecognitionException re) {
889
            reportError(re);
890
            recover(input,re);
891
        }
892
        finally {
1091
893
894
            	restoreStackSize(stackSize);
1092
895
1093
			}
896
        }
897
        return ;
898
    }
899
    // $ANTLR end "rule__CollaborationUseRule__Group__2__Impl"
1094
900
1095
		} catch (RecognitionException re) {
1096
			reportError(re);
1097
			recover(input, re);
1098
		} finally {
1099
901
1100
			restoreStackSize(stackSize);
902
    // $ANTLR start "rule__CollaborationUseRule__Group__3"
903
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:350:1: rule__CollaborationUseRule__Group__3 : rule__CollaborationUseRule__Group__3__Impl ;
904
    public final void rule__CollaborationUseRule__Group__3() throws RecognitionException {
1101
905
1102
		}
906
        		int stackSize = keepStackSize();
1103
		return;
907
            
1104
	}
908
        try {
909
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:354:1: ( rule__CollaborationUseRule__Group__3__Impl )
910
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:355:2: rule__CollaborationUseRule__Group__3__Impl
911
            {
912
            pushFollow(FOLLOW_rule__CollaborationUseRule__Group__3__Impl_in_rule__CollaborationUseRule__Group__3683);
913
            rule__CollaborationUseRule__Group__3__Impl();
1105
914
1106
	// $ANTLR end rule__TypeRule__Group__1__Impl
915
            state._fsp--;
1107
916
1108
917
1109
	// $ANTLR start rule__QualifiedName__Group__0
918
            }
1110
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:447:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ;
1111
	public final void rule__QualifiedName__Group__0() throws RecognitionException {
1112
919
1113
		int stackSize = keepStackSize();
920
        }
921
        catch (RecognitionException re) {
922
            reportError(re);
923
            recover(input,re);
924
        }
925
        finally {
1114
926
1115
		try {
927
            	restoreStackSize(stackSize);
1116
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:451:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 )
1117
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:452:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1
1118
			{
1119
				pushFollow(FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__0870);
1120
				rule__QualifiedName__Group__0__Impl();
1121
				_fsp--;
1122
928
1123
				pushFollow(FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__0873);
929
        }
1124
				rule__QualifiedName__Group__1();
930
        return ;
1125
				_fsp--;
931
    }
932
    // $ANTLR end "rule__CollaborationUseRule__Group__3"
1126
933
1127
934
1128
			}
935
    // $ANTLR start "rule__CollaborationUseRule__Group__3__Impl"
936
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:361:1: rule__CollaborationUseRule__Group__3__Impl : ( ( rule__CollaborationUseRule__Alternatives_3 ) ) ;
937
    public final void rule__CollaborationUseRule__Group__3__Impl() throws RecognitionException {
1129
938
1130
		} catch (RecognitionException re) {
939
        		int stackSize = keepStackSize();
1131
			reportError(re);
940
            
1132
			recover(input, re);
941
        try {
1133
		} finally {
942
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:365:1: ( ( ( rule__CollaborationUseRule__Alternatives_3 ) ) )
943
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:366:1: ( ( rule__CollaborationUseRule__Alternatives_3 ) )
944
            {
945
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:366:1: ( ( rule__CollaborationUseRule__Alternatives_3 ) )
946
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:367:1: ( rule__CollaborationUseRule__Alternatives_3 )
947
            {
948
             before(grammarAccess.getCollaborationUseRuleAccess().getAlternatives_3()); 
949
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:368:1: ( rule__CollaborationUseRule__Alternatives_3 )
950
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:368:2: rule__CollaborationUseRule__Alternatives_3
951
            {
952
            pushFollow(FOLLOW_rule__CollaborationUseRule__Alternatives_3_in_rule__CollaborationUseRule__Group__3__Impl710);
953
            rule__CollaborationUseRule__Alternatives_3();
1134
954
1135
			restoreStackSize(stackSize);
955
            state._fsp--;
1136
956
1137
		}
1138
		return;
1139
	}
1140
957
1141
	// $ANTLR end rule__QualifiedName__Group__0
958
            }
1142
959
960
             after(grammarAccess.getCollaborationUseRuleAccess().getAlternatives_3()); 
1143
961
1144
	// $ANTLR start rule__QualifiedName__Group__0__Impl
962
            }
1145
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:459:1: rule__QualifiedName__Group__0__Impl : ( ( rule__QualifiedName__PathAssignment_0 ) ) ;
1146
	public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException {
1147
963
1148
		int stackSize = keepStackSize();
1149
964
1150
		try {
965
            }
1151
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:463:1: ( ( ( rule__QualifiedName__PathAssignment_0 ) ) )
1152
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:464:1: ( ( rule__QualifiedName__PathAssignment_0 ) )
1153
			{
1154
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:464:1: ( ( rule__QualifiedName__PathAssignment_0 ) )
1155
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:465:1: ( rule__QualifiedName__PathAssignment_0 )
1156
				{
1157
					before(grammarAccess.getQualifiedNameAccess().getPathAssignment_0());
1158
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:466:1: ( rule__QualifiedName__PathAssignment_0 )
1159
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:466:2: rule__QualifiedName__PathAssignment_0
1160
					{
1161
						pushFollow(FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl900);
1162
						rule__QualifiedName__PathAssignment_0();
1163
						_fsp--;
1164
966
967
        }
968
        catch (RecognitionException re) {
969
            reportError(re);
970
            recover(input,re);
971
        }
972
        finally {
1165
973
1166
					}
974
            	restoreStackSize(stackSize);
1167
975
1168
					after(grammarAccess.getQualifiedNameAccess().getPathAssignment_0());
976
        }
977
        return ;
978
    }
979
    // $ANTLR end "rule__CollaborationUseRule__Group__3__Impl"
1169
980
1170
				}
1171
981
982
    // $ANTLR start "rule__TypeRule__Group__0"
983
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:386:1: rule__TypeRule__Group__0 : rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1 ;
984
    public final void rule__TypeRule__Group__0() throws RecognitionException {
1172
985
1173
			}
986
        		int stackSize = keepStackSize();
987
            
988
        try {
989
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:390:1: ( rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1 )
990
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:391:2: rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1
991
            {
992
            pushFollow(FOLLOW_rule__TypeRule__Group__0__Impl_in_rule__TypeRule__Group__0748);
993
            rule__TypeRule__Group__0__Impl();
1174
994
1175
		} catch (RecognitionException re) {
995
            state._fsp--;
1176
			reportError(re);
1177
			recover(input, re);
1178
		} finally {
1179
996
1180
			restoreStackSize(stackSize);
997
            pushFollow(FOLLOW_rule__TypeRule__Group__1_in_rule__TypeRule__Group__0751);
998
            rule__TypeRule__Group__1();
1181
999
1182
		}
1000
            state._fsp--;
1183
		return;
1184
	}
1185
1001
1186
	// $ANTLR end rule__QualifiedName__Group__0__Impl
1187
1002
1003
            }
1188
1004
1189
	// $ANTLR start rule__QualifiedName__Group__1
1005
        }
1190
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:476:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 ;
1006
        catch (RecognitionException re) {
1191
	public final void rule__QualifiedName__Group__1() throws RecognitionException {
1007
            reportError(re);
1008
            recover(input,re);
1009
        }
1010
        finally {
1192
1011
1193
		int stackSize = keepStackSize();
1012
            	restoreStackSize(stackSize);
1194
1013
1195
		try {
1014
        }
1196
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:480:1: ( rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 )
1015
        return ;
1197
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:481:2: rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2
1016
    }
1198
			{
1017
    // $ANTLR end "rule__TypeRule__Group__0"
1199
				pushFollow(FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__1930);
1200
				rule__QualifiedName__Group__1__Impl();
1201
				_fsp--;
1202
1018
1203
				pushFollow(FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__1933);
1204
				rule__QualifiedName__Group__2();
1205
				_fsp--;
1206
1019
1020
    // $ANTLR start "rule__TypeRule__Group__0__Impl"
1021
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:398:1: rule__TypeRule__Group__0__Impl : ( ( rule__TypeRule__PathAssignment_0 )? ) ;
1022
    public final void rule__TypeRule__Group__0__Impl() throws RecognitionException {
1207
1023
1208
			}
1024
        		int stackSize = keepStackSize();
1025
            
1026
        try {
1027
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:402:1: ( ( ( rule__TypeRule__PathAssignment_0 )? ) )
1028
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:403:1: ( ( rule__TypeRule__PathAssignment_0 )? )
1029
            {
1030
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:403:1: ( ( rule__TypeRule__PathAssignment_0 )? )
1031
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:404:1: ( rule__TypeRule__PathAssignment_0 )?
1032
            {
1033
             before(grammarAccess.getTypeRuleAccess().getPathAssignment_0()); 
1034
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:405:1: ( rule__TypeRule__PathAssignment_0 )?
1035
            int alt3=2;
1036
            int LA3_0 = input.LA(1);
1209
1037
1210
		} catch (RecognitionException re) {
1038
            if ( (LA3_0==RULE_ID) ) {
1211
			reportError(re);
1039
                int LA3_1 = input.LA(2);
1212
			recover(input, re);
1213
		} finally {
1214
1040
1215
			restoreStackSize(stackSize);
1041
                if ( (LA3_1==18) ) {
1042
                    alt3=1;
1043
                }
1044
            }
1045
            switch (alt3) {
1046
                case 1 :
1047
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:405:2: rule__TypeRule__PathAssignment_0
1048
                    {
1049
                    pushFollow(FOLLOW_rule__TypeRule__PathAssignment_0_in_rule__TypeRule__Group__0__Impl778);
1050
                    rule__TypeRule__PathAssignment_0();
1216
1051
1217
		}
1052
                    state._fsp--;
1218
		return;
1219
	}
1220
1053
1221
	// $ANTLR end rule__QualifiedName__Group__1
1222
1054
1055
                    }
1056
                    break;
1223
1057
1224
	// $ANTLR start rule__QualifiedName__Group__1__Impl
1058
            }
1225
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:488:1: rule__QualifiedName__Group__1__Impl : ( '::' ) ;
1226
	public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException {
1227
1059
1228
		int stackSize = keepStackSize();
1060
             after(grammarAccess.getTypeRuleAccess().getPathAssignment_0()); 
1229
1061
1230
		try {
1062
            }
1231
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:492:1: ( ( '::' ) )
1232
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:493:1: ( '::' )
1233
			{
1234
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:493:1: ( '::' )
1235
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:494:1: '::'
1236
				{
1237
					before(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
1238
					match(input, 18, FOLLOW_18_in_rule__QualifiedName__Group__1__Impl961);
1239
					after(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
1240
1063
1241
				}
1242
1064
1065
            }
1243
1066
1244
			}
1067
        }
1068
        catch (RecognitionException re) {
1069
            reportError(re);
1070
            recover(input,re);
1071
        }
1072
        finally {
1245
1073
1246
		} catch (RecognitionException re) {
1074
            	restoreStackSize(stackSize);
1247
			reportError(re);
1248
			recover(input, re);
1249
		} finally {
1250
1075
1251
			restoreStackSize(stackSize);
1076
        }
1077
        return ;
1078
    }
1079
    // $ANTLR end "rule__TypeRule__Group__0__Impl"
1252
1080
1253
		}
1254
		return;
1255
	}
1256
1081
1257
	// $ANTLR end rule__QualifiedName__Group__1__Impl
1082
    // $ANTLR start "rule__TypeRule__Group__1"
1083
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:415:1: rule__TypeRule__Group__1 : rule__TypeRule__Group__1__Impl ;
1084
    public final void rule__TypeRule__Group__1() throws RecognitionException {
1258
1085
1086
        		int stackSize = keepStackSize();
1087
            
1088
        try {
1089
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:419:1: ( rule__TypeRule__Group__1__Impl )
1090
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:420:2: rule__TypeRule__Group__1__Impl
1091
            {
1092
            pushFollow(FOLLOW_rule__TypeRule__Group__1__Impl_in_rule__TypeRule__Group__1809);
1093
            rule__TypeRule__Group__1__Impl();
1259
1094
1260
	// $ANTLR start rule__QualifiedName__Group__2
1095
            state._fsp--;
1261
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:507:1: rule__QualifiedName__Group__2 : rule__QualifiedName__Group__2__Impl ;
1262
	public final void rule__QualifiedName__Group__2() throws RecognitionException {
1263
1096
1264
		int stackSize = keepStackSize();
1265
1097
1266
		try {
1098
            }
1267
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:511:1: ( rule__QualifiedName__Group__2__Impl )
1268
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:512:2: rule__QualifiedName__Group__2__Impl
1269
			{
1270
				pushFollow(FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__2992);
1271
				rule__QualifiedName__Group__2__Impl();
1272
				_fsp--;
1273
1099
1100
        }
1101
        catch (RecognitionException re) {
1102
            reportError(re);
1103
            recover(input,re);
1104
        }
1105
        finally {
1274
1106
1275
			}
1107
            	restoreStackSize(stackSize);
1276
1108
1277
		} catch (RecognitionException re) {
1109
        }
1278
			reportError(re);
1110
        return ;
1279
			recover(input, re);
1111
    }
1280
		} finally {
1112
    // $ANTLR end "rule__TypeRule__Group__1"
1281
1113
1282
			restoreStackSize(stackSize);
1283
1114
1284
		}
1115
    // $ANTLR start "rule__TypeRule__Group__1__Impl"
1285
		return;
1116
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:426:1: rule__TypeRule__Group__1__Impl : ( ( rule__TypeRule__TypeAssignment_1 ) ) ;
1286
	}
1117
    public final void rule__TypeRule__Group__1__Impl() throws RecognitionException {
1287
1118
1288
	// $ANTLR end rule__QualifiedName__Group__2
1119
        		int stackSize = keepStackSize();
1120
            
1121
        try {
1122
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:430:1: ( ( ( rule__TypeRule__TypeAssignment_1 ) ) )
1123
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:431:1: ( ( rule__TypeRule__TypeAssignment_1 ) )
1124
            {
1125
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:431:1: ( ( rule__TypeRule__TypeAssignment_1 ) )
1126
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:432:1: ( rule__TypeRule__TypeAssignment_1 )
1127
            {
1128
             before(grammarAccess.getTypeRuleAccess().getTypeAssignment_1()); 
1129
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:433:1: ( rule__TypeRule__TypeAssignment_1 )
1130
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:433:2: rule__TypeRule__TypeAssignment_1
1131
            {
1132
            pushFollow(FOLLOW_rule__TypeRule__TypeAssignment_1_in_rule__TypeRule__Group__1__Impl836);
1133
            rule__TypeRule__TypeAssignment_1();
1289
1134
1135
            state._fsp--;
1290
1136
1291
	// $ANTLR start rule__QualifiedName__Group__2__Impl
1292
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:518:1: rule__QualifiedName__Group__2__Impl : ( ( rule__QualifiedName__RemainingAssignment_2 )? ) ;
1293
	public final void rule__QualifiedName__Group__2__Impl() throws RecognitionException {
1294
1137
1295
		int stackSize = keepStackSize();
1138
            }
1296
1139
1297
		try {
1140
             after(grammarAccess.getTypeRuleAccess().getTypeAssignment_1()); 
1298
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:522:1: ( ( ( rule__QualifiedName__RemainingAssignment_2 )? ) )
1299
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:523:1: ( ( rule__QualifiedName__RemainingAssignment_2 )? )
1300
			{
1301
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:523:1: ( ( rule__QualifiedName__RemainingAssignment_2 )? )
1302
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:524:1: ( rule__QualifiedName__RemainingAssignment_2 )?
1303
				{
1304
					before(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2());
1305
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:525:1: ( rule__QualifiedName__RemainingAssignment_2 )?
1306
					int alt4 = 2;
1307
					int LA4_0 = input.LA(1);
1308
1141
1309
					if((LA4_0 == RULE_ID)) {
1142
            }
1310
						int LA4_1 = input.LA(2);
1311
1143
1312
						if((LA4_1 == 18)) {
1313
							alt4 = 1;
1314
						}
1315
					}
1316
					switch(alt4) {
1317
					case 1:
1318
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:525:2: rule__QualifiedName__RemainingAssignment_2
1319
					{
1320
						pushFollow(FOLLOW_rule__QualifiedName__RemainingAssignment_2_in_rule__QualifiedName__Group__2__Impl1019);
1321
						rule__QualifiedName__RemainingAssignment_2();
1322
						_fsp--;
1323
1144
1145
            }
1324
1146
1325
					}
1147
        }
1326
						break;
1148
        catch (RecognitionException re) {
1149
            reportError(re);
1150
            recover(input,re);
1151
        }
1152
        finally {
1327
1153
1328
					}
1154
            	restoreStackSize(stackSize);
1329
1155
1330
					after(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2());
1156
        }
1157
        return ;
1158
    }
1159
    // $ANTLR end "rule__TypeRule__Group__1__Impl"
1331
1160
1332
				}
1333
1161
1162
    // $ANTLR start "rule__QualifiedName__Group__0"
1163
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:447:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ;
1164
    public final void rule__QualifiedName__Group__0() throws RecognitionException {
1334
1165
1335
			}
1166
        		int stackSize = keepStackSize();
1167
            
1168
        try {
1169
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:451:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 )
1170
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:452:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1
1171
            {
1172
            pushFollow(FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__0870);
1173
            rule__QualifiedName__Group__0__Impl();
1336
1174
1337
		} catch (RecognitionException re) {
1175
            state._fsp--;
1338
			reportError(re);
1339
			recover(input, re);
1340
		} finally {
1341
1176
1342
			restoreStackSize(stackSize);
1177
            pushFollow(FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__0873);
1178
            rule__QualifiedName__Group__1();
1343
1179
1344
		}
1180
            state._fsp--;
1345
		return;
1346
	}
1347
1181
1348
	// $ANTLR end rule__QualifiedName__Group__2__Impl
1349
1182
1183
            }
1350
1184
1351
	// $ANTLR start rule__CollaborationUseRule__VisibilityAssignment_0
1185
        }
1352
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:544:1: rule__CollaborationUseRule__VisibilityAssignment_0 : ( ruleVisibilityKind ) ;
1186
        catch (RecognitionException re) {
1353
	public final void rule__CollaborationUseRule__VisibilityAssignment_0() throws RecognitionException {
1187
            reportError(re);
1188
            recover(input,re);
1189
        }
1190
        finally {
1354
1191
1355
		int stackSize = keepStackSize();
1192
            	restoreStackSize(stackSize);
1356
1193
1357
		try {
1194
        }
1358
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:548:1: ( ( ruleVisibilityKind ) )
1195
        return ;
1359
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:549:1: ( ruleVisibilityKind )
1196
    }
1360
			{
1197
    // $ANTLR end "rule__QualifiedName__Group__0"
1361
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:549:1: ( ruleVisibilityKind )
1362
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:550:1: ruleVisibilityKind
1363
				{
1364
					before(grammarAccess.getCollaborationUseRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0());
1365
					pushFollow(FOLLOW_ruleVisibilityKind_in_rule__CollaborationUseRule__VisibilityAssignment_01063);
1366
					ruleVisibilityKind();
1367
					_fsp--;
1368
1198
1369
					after(grammarAccess.getCollaborationUseRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0());
1370
1199
1371
				}
1200
    // $ANTLR start "rule__QualifiedName__Group__0__Impl"
1201
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:459:1: rule__QualifiedName__Group__0__Impl : ( ( rule__QualifiedName__PathAssignment_0 ) ) ;
1202
    public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException {
1372
1203
1204
        		int stackSize = keepStackSize();
1205
            
1206
        try {
1207
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:463:1: ( ( ( rule__QualifiedName__PathAssignment_0 ) ) )
1208
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:464:1: ( ( rule__QualifiedName__PathAssignment_0 ) )
1209
            {
1210
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:464:1: ( ( rule__QualifiedName__PathAssignment_0 ) )
1211
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:465:1: ( rule__QualifiedName__PathAssignment_0 )
1212
            {
1213
             before(grammarAccess.getQualifiedNameAccess().getPathAssignment_0()); 
1214
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:466:1: ( rule__QualifiedName__PathAssignment_0 )
1215
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:466:2: rule__QualifiedName__PathAssignment_0
1216
            {
1217
            pushFollow(FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl900);
1218
            rule__QualifiedName__PathAssignment_0();
1373
1219
1374
			}
1220
            state._fsp--;
1375
1221
1376
		} catch (RecognitionException re) {
1377
			reportError(re);
1378
			recover(input, re);
1379
		} finally {
1380
1222
1381
			restoreStackSize(stackSize);
1223
            }
1382
1224
1383
		}
1225
             after(grammarAccess.getQualifiedNameAccess().getPathAssignment_0()); 
1384
		return;
1385
	}
1386
1226
1387
	// $ANTLR end rule__CollaborationUseRule__VisibilityAssignment_0
1227
            }
1388
1228
1389
1229
1390
	// $ANTLR start rule__CollaborationUseRule__NameAssignment_1
1230
            }
1391
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:559:1: rule__CollaborationUseRule__NameAssignment_1 : ( RULE_ID ) ;
1392
	public final void rule__CollaborationUseRule__NameAssignment_1() throws RecognitionException {
1393
1231
1394
		int stackSize = keepStackSize();
1232
        }
1233
        catch (RecognitionException re) {
1234
            reportError(re);
1235
            recover(input,re);
1236
        }
1237
        finally {
1395
1238
1396
		try {
1239
            	restoreStackSize(stackSize);
1397
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:563:1: ( ( RULE_ID ) )
1398
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:564:1: ( RULE_ID )
1399
			{
1400
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:564:1: ( RULE_ID )
1401
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:565:1: RULE_ID
1402
				{
1403
					before(grammarAccess.getCollaborationUseRuleAccess().getNameIDTerminalRuleCall_1_0());
1404
					match(input, RULE_ID, FOLLOW_RULE_ID_in_rule__CollaborationUseRule__NameAssignment_11094);
1405
					after(grammarAccess.getCollaborationUseRuleAccess().getNameIDTerminalRuleCall_1_0());
1406
1240
1407
				}
1241
        }
1242
        return ;
1243
    }
1244
    // $ANTLR end "rule__QualifiedName__Group__0__Impl"
1408
1245
1409
1246
1410
			}
1247
    // $ANTLR start "rule__QualifiedName__Group__1"
1248
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:476:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 ;
1249
    public final void rule__QualifiedName__Group__1() throws RecognitionException {
1411
1250
1412
		} catch (RecognitionException re) {
1251
        		int stackSize = keepStackSize();
1413
			reportError(re);
1252
            
1414
			recover(input, re);
1253
        try {
1415
		} finally {
1254
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:480:1: ( rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 )
1255
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:481:2: rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2
1256
            {
1257
            pushFollow(FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__1930);
1258
            rule__QualifiedName__Group__1__Impl();
1416
1259
1417
			restoreStackSize(stackSize);
1260
            state._fsp--;
1418
1261
1419
		}
1262
            pushFollow(FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__1933);
1420
		return;
1263
            rule__QualifiedName__Group__2();
1421
	}
1422
1264
1423
	// $ANTLR end rule__CollaborationUseRule__NameAssignment_1
1265
            state._fsp--;
1424
1266
1425
1267
1426
	// $ANTLR start rule__CollaborationUseRule__TypeAssignment_3_0
1268
            }
1427
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:574:1: rule__CollaborationUseRule__TypeAssignment_3_0 : ( ruleTypeRule ) ;
1428
	public final void rule__CollaborationUseRule__TypeAssignment_3_0() throws RecognitionException {
1429
1269
1430
		int stackSize = keepStackSize();
1270
        }
1271
        catch (RecognitionException re) {
1272
            reportError(re);
1273
            recover(input,re);
1274
        }
1275
        finally {
1431
1276
1432
		try {
1277
            	restoreStackSize(stackSize);
1433
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:578:1: ( ( ruleTypeRule ) )
1434
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:579:1: ( ruleTypeRule )
1435
			{
1436
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:579:1: ( ruleTypeRule )
1437
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:580:1: ruleTypeRule
1438
				{
1439
					before(grammarAccess.getCollaborationUseRuleAccess().getTypeTypeRuleParserRuleCall_3_0_0());
1440
					pushFollow(FOLLOW_ruleTypeRule_in_rule__CollaborationUseRule__TypeAssignment_3_01125);
1441
					ruleTypeRule();
1442
					_fsp--;
1443
1278
1444
					after(grammarAccess.getCollaborationUseRuleAccess().getTypeTypeRuleParserRuleCall_3_0_0());
1279
        }
1280
        return ;
1281
    }
1282
    // $ANTLR end "rule__QualifiedName__Group__1"
1445
1283
1446
				}
1447
1284
1285
    // $ANTLR start "rule__QualifiedName__Group__1__Impl"
1286
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:488:1: rule__QualifiedName__Group__1__Impl : ( '::' ) ;
1287
    public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException {
1448
1288
1449
			}
1289
        		int stackSize = keepStackSize();
1290
            
1291
        try {
1292
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:492:1: ( ( '::' ) )
1293
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:493:1: ( '::' )
1294
            {
1295
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:493:1: ( '::' )
1296
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:494:1: '::'
1297
            {
1298
             before(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1()); 
1299
            match(input,18,FOLLOW_18_in_rule__QualifiedName__Group__1__Impl961); 
1300
             after(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1()); 
1450
1301
1451
		} catch (RecognitionException re) {
1302
            }
1452
			reportError(re);
1453
			recover(input, re);
1454
		} finally {
1455
1303
1456
			restoreStackSize(stackSize);
1457
1304
1458
		}
1305
            }
1459
		return;
1460
	}
1461
1306
1462
	// $ANTLR end rule__CollaborationUseRule__TypeAssignment_3_0
1307
        }
1308
        catch (RecognitionException re) {
1309
            reportError(re);
1310
            recover(input,re);
1311
        }
1312
        finally {
1463
1313
1314
            	restoreStackSize(stackSize);
1464
1315
1465
	// $ANTLR start rule__TypeRule__PathAssignment_0
1316
        }
1466
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:589:1: rule__TypeRule__PathAssignment_0 : ( ruleQualifiedName ) ;
1317
        return ;
1467
	public final void rule__TypeRule__PathAssignment_0() throws RecognitionException {
1318
    }
1319
    // $ANTLR end "rule__QualifiedName__Group__1__Impl"
1468
1320
1469
		int stackSize = keepStackSize();
1470
1321
1471
		try {
1322
    // $ANTLR start "rule__QualifiedName__Group__2"
1472
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:593:1: ( ( ruleQualifiedName ) )
1323
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:507:1: rule__QualifiedName__Group__2 : rule__QualifiedName__Group__2__Impl ;
1473
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:594:1: ( ruleQualifiedName )
1324
    public final void rule__QualifiedName__Group__2() throws RecognitionException {
1474
			{
1475
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:594:1: ( ruleQualifiedName )
1476
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:595:1: ruleQualifiedName
1477
				{
1478
					before(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0());
1479
					pushFollow(FOLLOW_ruleQualifiedName_in_rule__TypeRule__PathAssignment_01156);
1480
					ruleQualifiedName();
1481
					_fsp--;
1482
1325
1483
					after(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0());
1326
        		int stackSize = keepStackSize();
1327
            
1328
        try {
1329
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:511:1: ( rule__QualifiedName__Group__2__Impl )
1330
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:512:2: rule__QualifiedName__Group__2__Impl
1331
            {
1332
            pushFollow(FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__2992);
1333
            rule__QualifiedName__Group__2__Impl();
1484
1334
1485
				}
1335
            state._fsp--;
1486
1336
1487
1337
1488
			}
1338
            }
1489
1339
1490
		} catch (RecognitionException re) {
1340
        }
1491
			reportError(re);
1341
        catch (RecognitionException re) {
1492
			recover(input, re);
1342
            reportError(re);
1493
		} finally {
1343
            recover(input,re);
1344
        }
1345
        finally {
1494
1346
1495
			restoreStackSize(stackSize);
1347
            	restoreStackSize(stackSize);
1496
1348
1497
		}
1349
        }
1498
		return;
1350
        return ;
1499
	}
1351
    }
1352
    // $ANTLR end "rule__QualifiedName__Group__2"
1500
1353
1501
	// $ANTLR end rule__TypeRule__PathAssignment_0
1502
1354
1355
    // $ANTLR start "rule__QualifiedName__Group__2__Impl"
1356
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:518:1: rule__QualifiedName__Group__2__Impl : ( ( rule__QualifiedName__RemainingAssignment_2 )? ) ;
1357
    public final void rule__QualifiedName__Group__2__Impl() throws RecognitionException {
1503
1358
1504
	// $ANTLR start rule__TypeRule__TypeAssignment_1
1359
        		int stackSize = keepStackSize();
1505
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:604:1: rule__TypeRule__TypeAssignment_1 : ( ( RULE_ID ) ) ;
1360
            
1506
	public final void rule__TypeRule__TypeAssignment_1() throws RecognitionException {
1361
        try {
1362
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:522:1: ( ( ( rule__QualifiedName__RemainingAssignment_2 )? ) )
1363
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:523:1: ( ( rule__QualifiedName__RemainingAssignment_2 )? )
1364
            {
1365
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:523:1: ( ( rule__QualifiedName__RemainingAssignment_2 )? )
1366
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:524:1: ( rule__QualifiedName__RemainingAssignment_2 )?
1367
            {
1368
             before(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2()); 
1369
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:525:1: ( rule__QualifiedName__RemainingAssignment_2 )?
1370
            int alt4=2;
1371
            int LA4_0 = input.LA(1);
1507
1372
1508
		int stackSize = keepStackSize();
1373
            if ( (LA4_0==RULE_ID) ) {
1374
                int LA4_1 = input.LA(2);
1509
1375
1510
		try {
1376
                if ( (LA4_1==18) ) {
1511
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:608:1: ( ( ( RULE_ID ) ) )
1377
                    alt4=1;
1512
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:609:1: ( ( RULE_ID ) )
1378
                }
1513
			{
1379
            }
1514
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:609:1: ( ( RULE_ID ) )
1380
            switch (alt4) {
1515
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:610:1: ( RULE_ID )
1381
                case 1 :
1516
				{
1382
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:525:2: rule__QualifiedName__RemainingAssignment_2
1517
					before(grammarAccess.getTypeRuleAccess().getTypeCollaborationCrossReference_1_0());
1383
                    {
1518
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:611:1: ( RULE_ID )
1384
                    pushFollow(FOLLOW_rule__QualifiedName__RemainingAssignment_2_in_rule__QualifiedName__Group__2__Impl1019);
1519
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:612:1: RULE_ID
1385
                    rule__QualifiedName__RemainingAssignment_2();
1520
					{
1521
						before(grammarAccess.getTypeRuleAccess().getTypeCollaborationIDTerminalRuleCall_1_0_1());
1522
						match(input, RULE_ID, FOLLOW_RULE_ID_in_rule__TypeRule__TypeAssignment_11191);
1523
						after(grammarAccess.getTypeRuleAccess().getTypeCollaborationIDTerminalRuleCall_1_0_1());
1524
1386
1525
					}
1387
                    state._fsp--;
1526
1388
1527
					after(grammarAccess.getTypeRuleAccess().getTypeCollaborationCrossReference_1_0());
1528
1389
1529
				}
1390
                    }
1391
                    break;
1530
1392
1393
            }
1531
1394
1532
			}
1395
             after(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2()); 
1533
1396
1534
		} catch (RecognitionException re) {
1397
            }
1535
			reportError(re);
1536
			recover(input, re);
1537
		} finally {
1538
1398
1539
			restoreStackSize(stackSize);
1540
1399
1541
		}
1400
            }
1542
		return;
1543
	}
1544
1401
1545
	// $ANTLR end rule__TypeRule__TypeAssignment_1
1402
        }
1403
        catch (RecognitionException re) {
1404
            reportError(re);
1405
            recover(input,re);
1406
        }
1407
        finally {
1546
1408
1409
            	restoreStackSize(stackSize);
1547
1410
1548
	// $ANTLR start rule__QualifiedName__PathAssignment_0
1411
        }
1549
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:623:1: rule__QualifiedName__PathAssignment_0 : ( ( RULE_ID ) ) ;
1412
        return ;
1550
	public final void rule__QualifiedName__PathAssignment_0() throws RecognitionException {
1413
    }
1414
    // $ANTLR end "rule__QualifiedName__Group__2__Impl"
1551
1415
1552
		int stackSize = keepStackSize();
1553
1416
1554
		try {
1417
    // $ANTLR start "rule__CollaborationUseRule__VisibilityAssignment_0"
1555
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:627:1: ( ( ( RULE_ID ) ) )
1418
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:544:1: rule__CollaborationUseRule__VisibilityAssignment_0 : ( ruleVisibilityKind ) ;
1556
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:628:1: ( ( RULE_ID ) )
1419
    public final void rule__CollaborationUseRule__VisibilityAssignment_0() throws RecognitionException {
1557
			{
1558
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:628:1: ( ( RULE_ID ) )
1559
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:629:1: ( RULE_ID )
1560
				{
1561
					before(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0());
1562
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:630:1: ( RULE_ID )
1563
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:631:1: RULE_ID
1564
					{
1565
						before(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1());
1566
						match(input, RULE_ID, FOLLOW_RULE_ID_in_rule__QualifiedName__PathAssignment_01230);
1567
						after(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1());
1568
1420
1569
					}
1421
        		int stackSize = keepStackSize();
1422
            
1423
        try {
1424
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:548:1: ( ( ruleVisibilityKind ) )
1425
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:549:1: ( ruleVisibilityKind )
1426
            {
1427
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:549:1: ( ruleVisibilityKind )
1428
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:550:1: ruleVisibilityKind
1429
            {
1430
             before(grammarAccess.getCollaborationUseRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); 
1431
            pushFollow(FOLLOW_ruleVisibilityKind_in_rule__CollaborationUseRule__VisibilityAssignment_01063);
1432
            ruleVisibilityKind();
1570
1433
1571
					after(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0());
1434
            state._fsp--;
1572
1435
1573
				}
1436
             after(grammarAccess.getCollaborationUseRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); 
1574
1437
1438
            }
1575
1439
1576
			}
1577
1440
1578
		} catch (RecognitionException re) {
1441
            }
1579
			reportError(re);
1580
			recover(input, re);
1581
		} finally {
1582
1442
1583
			restoreStackSize(stackSize);
1443
        }
1444
        catch (RecognitionException re) {
1445
            reportError(re);
1446
            recover(input,re);
1447
        }
1448
        finally {
1584
1449
1585
		}
1450
            	restoreStackSize(stackSize);
1586
		return;
1587
	}
1588
1451
1589
	// $ANTLR end rule__QualifiedName__PathAssignment_0
1452
        }
1453
        return ;
1454
    }
1455
    // $ANTLR end "rule__CollaborationUseRule__VisibilityAssignment_0"
1590
1456
1591
1457
1592
	// $ANTLR start rule__QualifiedName__RemainingAssignment_2
1458
    // $ANTLR start "rule__CollaborationUseRule__NameAssignment_1"
1593
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:642:1: rule__QualifiedName__RemainingAssignment_2 : ( ruleQualifiedName ) ;
1459
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:559:1: rule__CollaborationUseRule__NameAssignment_1 : ( RULE_ID ) ;
1594
	public final void rule__QualifiedName__RemainingAssignment_2() throws RecognitionException {
1460
    public final void rule__CollaborationUseRule__NameAssignment_1() throws RecognitionException {
1595
1461
1596
		int stackSize = keepStackSize();
1462
        		int stackSize = keepStackSize();
1463
            
1464
        try {
1465
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:563:1: ( ( RULE_ID ) )
1466
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:564:1: ( RULE_ID )
1467
            {
1468
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:564:1: ( RULE_ID )
1469
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:565:1: RULE_ID
1470
            {
1471
             before(grammarAccess.getCollaborationUseRuleAccess().getNameIDTerminalRuleCall_1_0()); 
1472
            match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__CollaborationUseRule__NameAssignment_11094); 
1473
             after(grammarAccess.getCollaborationUseRuleAccess().getNameIDTerminalRuleCall_1_0()); 
1597
1474
1598
		try {
1475
            }
1599
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:646:1: ( ( ruleQualifiedName ) )
1600
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:647:1: ( ruleQualifiedName )
1601
			{
1602
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:647:1: ( ruleQualifiedName )
1603
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:648:1: ruleQualifiedName
1604
				{
1605
					before(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0());
1606
					pushFollow(FOLLOW_ruleQualifiedName_in_rule__QualifiedName__RemainingAssignment_21265);
1607
					ruleQualifiedName();
1608
					_fsp--;
1609
1476
1610
					after(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0());
1611
1477
1612
				}
1478
            }
1613
1479
1480
        }
1481
        catch (RecognitionException re) {
1482
            reportError(re);
1483
            recover(input,re);
1484
        }
1485
        finally {
1614
1486
1615
			}
1487
            	restoreStackSize(stackSize);
1616
1488
1617
		} catch (RecognitionException re) {
1489
        }
1618
			reportError(re);
1490
        return ;
1619
			recover(input, re);
1491
    }
1620
		} finally {
1492
    // $ANTLR end "rule__CollaborationUseRule__NameAssignment_1"
1621
1493
1622
			restoreStackSize(stackSize);
1623
1494
1624
		}
1495
    // $ANTLR start "rule__CollaborationUseRule__TypeAssignment_3_0"
1625
		return;
1496
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:574:1: rule__CollaborationUseRule__TypeAssignment_3_0 : ( ruleTypeRule ) ;
1626
	}
1497
    public final void rule__CollaborationUseRule__TypeAssignment_3_0() throws RecognitionException {
1627
1498
1628
	// $ANTLR end rule__QualifiedName__RemainingAssignment_2
1499
        		int stackSize = keepStackSize();
1500
            
1501
        try {
1502
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:578:1: ( ( ruleTypeRule ) )
1503
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:579:1: ( ruleTypeRule )
1504
            {
1505
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:579:1: ( ruleTypeRule )
1506
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:580:1: ruleTypeRule
1507
            {
1508
             before(grammarAccess.getCollaborationUseRuleAccess().getTypeTypeRuleParserRuleCall_3_0_0()); 
1509
            pushFollow(FOLLOW_ruleTypeRule_in_rule__CollaborationUseRule__TypeAssignment_3_01125);
1510
            ruleTypeRule();
1629
1511
1512
            state._fsp--;
1630
1513
1631
	// $ANTLR start rule__BoundSpecification__ValueAssignment
1514
             after(grammarAccess.getCollaborationUseRuleAccess().getTypeTypeRuleParserRuleCall_3_0_0()); 
1632
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:659:1: rule__BoundSpecification__ValueAssignment : ( RULE_UNLIMITEDLITERAL ) ;
1633
	public final void rule__BoundSpecification__ValueAssignment() throws RecognitionException {
1634
1515
1635
		int stackSize = keepStackSize();
1516
            }
1636
1517
1637
		try {
1638
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:663:1: ( ( RULE_UNLIMITEDLITERAL ) )
1639
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:664:1: ( RULE_UNLIMITEDLITERAL )
1640
			{
1641
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:664:1: ( RULE_UNLIMITEDLITERAL )
1642
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:665:1: RULE_UNLIMITEDLITERAL
1643
				{
1644
					before(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0());
1645
					match(input, RULE_UNLIMITEDLITERAL, FOLLOW_RULE_UNLIMITEDLITERAL_in_rule__BoundSpecification__ValueAssignment1298);
1646
					after(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0());
1647
1518
1648
				}
1519
            }
1649
1520
1521
        }
1522
        catch (RecognitionException re) {
1523
            reportError(re);
1524
            recover(input,re);
1525
        }
1526
        finally {
1650
1527
1651
			}
1528
            	restoreStackSize(stackSize);
1652
1529
1653
		} catch (RecognitionException re) {
1530
        }
1654
			reportError(re);
1531
        return ;
1655
			recover(input, re);
1532
    }
1656
		} finally {
1533
    // $ANTLR end "rule__CollaborationUseRule__TypeAssignment_3_0"
1657
1534
1658
			restoreStackSize(stackSize);
1659
1535
1660
		}
1536
    // $ANTLR start "rule__TypeRule__PathAssignment_0"
1661
		return;
1537
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:589:1: rule__TypeRule__PathAssignment_0 : ( ruleQualifiedName ) ;
1662
	}
1538
    public final void rule__TypeRule__PathAssignment_0() throws RecognitionException {
1663
1539
1664
	// $ANTLR end rule__BoundSpecification__ValueAssignment
1540
        		int stackSize = keepStackSize();
1541
            
1542
        try {
1543
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:593:1: ( ( ruleQualifiedName ) )
1544
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:594:1: ( ruleQualifiedName )
1545
            {
1546
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:594:1: ( ruleQualifiedName )
1547
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:595:1: ruleQualifiedName
1548
            {
1549
             before(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
1550
            pushFollow(FOLLOW_ruleQualifiedName_in_rule__TypeRule__PathAssignment_01156);
1551
            ruleQualifiedName();
1665
1552
1553
            state._fsp--;
1666
1554
1555
             after(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
1667
1556
1557
            }
1668
1558
1669
	public static final BitSet FOLLOW_ruleCollaborationUseRule_in_entryRuleCollaborationUseRule61 = new BitSet(new long[]{ 0x0000000000000000L });
1670
1559
1671
	public static final BitSet FOLLOW_EOF_in_entryRuleCollaborationUseRule68 = new BitSet(new long[]{ 0x0000000000000002L });
1560
            }
1672
1561
1673
	public static final BitSet FOLLOW_rule__CollaborationUseRule__Group__0_in_ruleCollaborationUseRule94 = new BitSet(new long[]{ 0x0000000000000002L });
1562
        }
1563
        catch (RecognitionException re) {
1564
            reportError(re);
1565
            recover(input,re);
1566
        }
1567
        finally {
1674
1568
1675
	public static final BitSet FOLLOW_ruleTypeRule_in_entryRuleTypeRule121 = new BitSet(new long[]{ 0x0000000000000000L });
1569
            	restoreStackSize(stackSize);
1676
1570
1677
	public static final BitSet FOLLOW_EOF_in_entryRuleTypeRule128 = new BitSet(new long[]{ 0x0000000000000002L });
1571
        }
1572
        return ;
1573
    }
1574
    // $ANTLR end "rule__TypeRule__PathAssignment_0"
1678
1575
1679
	public static final BitSet FOLLOW_rule__TypeRule__Group__0_in_ruleTypeRule154 = new BitSet(new long[]{ 0x0000000000000002L });
1680
1576
1681
	public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName181 = new BitSet(new long[]{ 0x0000000000000000L });
1577
    // $ANTLR start "rule__TypeRule__TypeAssignment_1"
1578
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:604:1: rule__TypeRule__TypeAssignment_1 : ( ( RULE_ID ) ) ;
1579
    public final void rule__TypeRule__TypeAssignment_1() throws RecognitionException {
1682
1580
1683
	public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName188 = new BitSet(new long[]{ 0x0000000000000002L });
1581
        		int stackSize = keepStackSize();
1582
            
1583
        try {
1584
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:608:1: ( ( ( RULE_ID ) ) )
1585
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:609:1: ( ( RULE_ID ) )
1586
            {
1587
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:609:1: ( ( RULE_ID ) )
1588
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:610:1: ( RULE_ID )
1589
            {
1590
             before(grammarAccess.getTypeRuleAccess().getTypeCollaborationCrossReference_1_0()); 
1591
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:611:1: ( RULE_ID )
1592
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:612:1: RULE_ID
1593
            {
1594
             before(grammarAccess.getTypeRuleAccess().getTypeCollaborationIDTerminalRuleCall_1_0_1()); 
1595
            match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__TypeRule__TypeAssignment_11191); 
1596
             after(grammarAccess.getTypeRuleAccess().getTypeCollaborationIDTerminalRuleCall_1_0_1()); 
1684
1597
1685
	public static final BitSet FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName214 = new BitSet(new long[]{ 0x0000000000000002L });
1598
            }
1686
1599
1687
	public static final BitSet FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification243 = new BitSet(new long[]{ 0x0000000000000000L });
1600
             after(grammarAccess.getTypeRuleAccess().getTypeCollaborationCrossReference_1_0()); 
1688
1601
1689
	public static final BitSet FOLLOW_EOF_in_entryRuleBoundSpecification250 = new BitSet(new long[]{ 0x0000000000000002L });
1602
            }
1690
1603
1691
	public static final BitSet FOLLOW_rule__BoundSpecification__ValueAssignment_in_ruleBoundSpecification276 = new BitSet(new long[]{ 0x0000000000000002L });
1692
1604
1693
	public static final BitSet FOLLOW_rule__VisibilityKind__Alternatives_in_ruleVisibilityKind313 = new BitSet(new long[]{ 0x0000000000000002L });
1605
            }
1694
1606
1695
	public static final BitSet FOLLOW_rule__CollaborationUseRule__TypeAssignment_3_0_in_rule__CollaborationUseRule__Alternatives_3350 = new BitSet(new long[]{ 0x0000000000000002L });
1607
        }
1608
        catch (RecognitionException re) {
1609
            reportError(re);
1610
            recover(input,re);
1611
        }
1612
        finally {
1696
1613
1697
	public static final BitSet FOLLOW_12_in_rule__CollaborationUseRule__Alternatives_3369 = new BitSet(new long[]{ 0x0000000000000002L });
1614
            	restoreStackSize(stackSize);
1698
1615
1699
	public static final BitSet FOLLOW_13_in_rule__VisibilityKind__Alternatives404 = new BitSet(new long[]{ 0x0000000000000002L });
1616
        }
1617
        return ;
1618
    }
1619
    // $ANTLR end "rule__TypeRule__TypeAssignment_1"
1700
1620
1701
	public static final BitSet FOLLOW_14_in_rule__VisibilityKind__Alternatives425 = new BitSet(new long[]{ 0x0000000000000002L });
1702
1621
1703
	public static final BitSet FOLLOW_15_in_rule__VisibilityKind__Alternatives446 = new BitSet(new long[]{ 0x0000000000000002L });
1622
    // $ANTLR start "rule__QualifiedName__PathAssignment_0"
1623
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:623:1: rule__QualifiedName__PathAssignment_0 : ( ( RULE_ID ) ) ;
1624
    public final void rule__QualifiedName__PathAssignment_0() throws RecognitionException {
1704
1625
1705
	public static final BitSet FOLLOW_16_in_rule__VisibilityKind__Alternatives467 = new BitSet(new long[]{ 0x0000000000000002L });
1626
        		int stackSize = keepStackSize();
1627
            
1628
        try {
1629
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:627:1: ( ( ( RULE_ID ) ) )
1630
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:628:1: ( ( RULE_ID ) )
1631
            {
1632
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:628:1: ( ( RULE_ID ) )
1633
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:629:1: ( RULE_ID )
1634
            {
1635
             before(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); 
1636
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:630:1: ( RULE_ID )
1637
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:631:1: RULE_ID
1638
            {
1639
             before(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1()); 
1640
            match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__QualifiedName__PathAssignment_01230); 
1641
             after(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1()); 
1706
1642
1707
	public static final BitSet FOLLOW_rule__CollaborationUseRule__Group__0__Impl_in_rule__CollaborationUseRule__Group__0501 = new BitSet(new long[]{ 0x0000000000000010L });
1643
            }
1708
1644
1709
	public static final BitSet FOLLOW_rule__CollaborationUseRule__Group__1_in_rule__CollaborationUseRule__Group__0504 = new BitSet(new long[]{ 0x0000000000000002L });
1645
             after(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); 
1710
1646
1711
	public static final BitSet FOLLOW_rule__CollaborationUseRule__VisibilityAssignment_0_in_rule__CollaborationUseRule__Group__0__Impl531 = new BitSet(new long[]{ 0x0000000000000002L });
1647
            }
1712
1648
1713
	public static final BitSet FOLLOW_rule__CollaborationUseRule__Group__1__Impl_in_rule__CollaborationUseRule__Group__1561 = new BitSet(new long[]{ 0x0000000000020000L });
1714
1649
1715
	public static final BitSet FOLLOW_rule__CollaborationUseRule__Group__2_in_rule__CollaborationUseRule__Group__1564 = new BitSet(new long[]{ 0x0000000000000002L });
1650
            }
1716
1651
1717
	public static final BitSet FOLLOW_rule__CollaborationUseRule__NameAssignment_1_in_rule__CollaborationUseRule__Group__1__Impl591 = new BitSet(new long[]{ 0x0000000000000002L });
1652
        }
1653
        catch (RecognitionException re) {
1654
            reportError(re);
1655
            recover(input,re);
1656
        }
1657
        finally {
1718
1658
1719
	public static final BitSet FOLLOW_rule__CollaborationUseRule__Group__2__Impl_in_rule__CollaborationUseRule__Group__2621 = new BitSet(new long[]{ 0x0000000000001010L });
1659
            	restoreStackSize(stackSize);
1720
1660
1721
	public static final BitSet FOLLOW_rule__CollaborationUseRule__Group__3_in_rule__CollaborationUseRule__Group__2624 = new BitSet(new long[]{ 0x0000000000000002L });
1661
        }
1662
        return ;
1663
    }
1664
    // $ANTLR end "rule__QualifiedName__PathAssignment_0"
1722
1665
1723
	public static final BitSet FOLLOW_17_in_rule__CollaborationUseRule__Group__2__Impl652 = new BitSet(new long[]{ 0x0000000000000002L });
1724
1666
1725
	public static final BitSet FOLLOW_rule__CollaborationUseRule__Group__3__Impl_in_rule__CollaborationUseRule__Group__3683 = new BitSet(new long[]{ 0x0000000000000002L });
1667
    // $ANTLR start "rule__QualifiedName__RemainingAssignment_2"
1668
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:642:1: rule__QualifiedName__RemainingAssignment_2 : ( ruleQualifiedName ) ;
1669
    public final void rule__QualifiedName__RemainingAssignment_2() throws RecognitionException {
1726
1670
1727
	public static final BitSet FOLLOW_rule__CollaborationUseRule__Alternatives_3_in_rule__CollaborationUseRule__Group__3__Impl710 = new BitSet(new long[]{ 0x0000000000000002L });
1671
        		int stackSize = keepStackSize();
1672
            
1673
        try {
1674
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:646:1: ( ( ruleQualifiedName ) )
1675
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:647:1: ( ruleQualifiedName )
1676
            {
1677
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:647:1: ( ruleQualifiedName )
1678
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:648:1: ruleQualifiedName
1679
            {
1680
             before(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
1681
            pushFollow(FOLLOW_ruleQualifiedName_in_rule__QualifiedName__RemainingAssignment_21265);
1682
            ruleQualifiedName();
1728
1683
1729
	public static final BitSet FOLLOW_rule__TypeRule__Group__0__Impl_in_rule__TypeRule__Group__0748 = new BitSet(new long[]{ 0x0000000000000010L });
1684
            state._fsp--;
1730
1685
1731
	public static final BitSet FOLLOW_rule__TypeRule__Group__1_in_rule__TypeRule__Group__0751 = new BitSet(new long[]{ 0x0000000000000002L });
1686
             after(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
1732
1687
1733
	public static final BitSet FOLLOW_rule__TypeRule__PathAssignment_0_in_rule__TypeRule__Group__0__Impl778 = new BitSet(new long[]{ 0x0000000000000002L });
1688
            }
1734
1689
1735
	public static final BitSet FOLLOW_rule__TypeRule__Group__1__Impl_in_rule__TypeRule__Group__1809 = new BitSet(new long[]{ 0x0000000000000002L });
1736
1690
1737
	public static final BitSet FOLLOW_rule__TypeRule__TypeAssignment_1_in_rule__TypeRule__Group__1__Impl836 = new BitSet(new long[]{ 0x0000000000000002L });
1691
            }
1738
1692
1739
	public static final BitSet FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__0870 = new BitSet(new long[]{ 0x0000000000040000L });
1693
        }
1694
        catch (RecognitionException re) {
1695
            reportError(re);
1696
            recover(input,re);
1697
        }
1698
        finally {
1740
1699
1741
	public static final BitSet FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__0873 = new BitSet(new long[]{ 0x0000000000000002L });
1700
            	restoreStackSize(stackSize);
1742
1701
1743
	public static final BitSet FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl900 = new BitSet(new long[]{ 0x0000000000000002L });
1702
        }
1703
        return ;
1704
    }
1705
    // $ANTLR end "rule__QualifiedName__RemainingAssignment_2"
1744
1706
1745
	public static final BitSet FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__1930 = new BitSet(new long[]{ 0x0000000000000012L });
1746
1707
1747
	public static final BitSet FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__1933 = new BitSet(new long[]{ 0x0000000000000002L });
1708
    // $ANTLR start "rule__BoundSpecification__ValueAssignment"
1709
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:659:1: rule__BoundSpecification__ValueAssignment : ( RULE_UNLIMITEDLITERAL ) ;
1710
    public final void rule__BoundSpecification__ValueAssignment() throws RecognitionException {
1748
1711
1749
	public static final BitSet FOLLOW_18_in_rule__QualifiedName__Group__1__Impl961 = new BitSet(new long[]{ 0x0000000000000002L });
1712
        		int stackSize = keepStackSize();
1713
            
1714
        try {
1715
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:663:1: ( ( RULE_UNLIMITEDLITERAL ) )
1716
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:664:1: ( RULE_UNLIMITEDLITERAL )
1717
            {
1718
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:664:1: ( RULE_UNLIMITEDLITERAL )
1719
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext.ui/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g:665:1: RULE_UNLIMITEDLITERAL
1720
            {
1721
             before(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0()); 
1722
            match(input,RULE_UNLIMITEDLITERAL,FOLLOW_RULE_UNLIMITEDLITERAL_in_rule__BoundSpecification__ValueAssignment1298); 
1723
             after(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0()); 
1750
1724
1751
	public static final BitSet FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__2992 = new BitSet(new long[]{ 0x0000000000000002L });
1725
            }
1752
1726
1753
	public static final BitSet FOLLOW_rule__QualifiedName__RemainingAssignment_2_in_rule__QualifiedName__Group__2__Impl1019 = new BitSet(new long[]{ 0x0000000000000002L });
1754
1727
1755
	public static final BitSet FOLLOW_ruleVisibilityKind_in_rule__CollaborationUseRule__VisibilityAssignment_01063 = new BitSet(new long[]{ 0x0000000000000002L });
1728
            }
1756
1729
1757
	public static final BitSet FOLLOW_RULE_ID_in_rule__CollaborationUseRule__NameAssignment_11094 = new BitSet(new long[]{ 0x0000000000000002L });
1730
        }
1731
        catch (RecognitionException re) {
1732
            reportError(re);
1733
            recover(input,re);
1734
        }
1735
        finally {
1758
1736
1759
	public static final BitSet FOLLOW_ruleTypeRule_in_rule__CollaborationUseRule__TypeAssignment_3_01125 = new BitSet(new long[]{ 0x0000000000000002L });
1737
            	restoreStackSize(stackSize);
1760
1738
1761
	public static final BitSet FOLLOW_ruleQualifiedName_in_rule__TypeRule__PathAssignment_01156 = new BitSet(new long[]{ 0x0000000000000002L });
1739
        }
1740
        return ;
1741
    }
1742
    // $ANTLR end "rule__BoundSpecification__ValueAssignment"
1762
1743
1763
	public static final BitSet FOLLOW_RULE_ID_in_rule__TypeRule__TypeAssignment_11191 = new BitSet(new long[]{ 0x0000000000000002L });
1744
    // Delegated rules
1764
1745
1765
	public static final BitSet FOLLOW_RULE_ID_in_rule__QualifiedName__PathAssignment_01230 = new BitSet(new long[]{ 0x0000000000000002L });
1766
1746
1767
	public static final BitSet FOLLOW_ruleQualifiedName_in_rule__QualifiedName__RemainingAssignment_21265 = new BitSet(new long[]{ 0x0000000000000002L });
1747
 
1768
1748
1769
	public static final BitSet FOLLOW_RULE_UNLIMITEDLITERAL_in_rule__BoundSpecification__ValueAssignment1298 = new BitSet(new long[]{ 0x0000000000000002L });
1749
    public static final BitSet FOLLOW_ruleCollaborationUseRule_in_entryRuleCollaborationUseRule61 = new BitSet(new long[]{0x0000000000000000L});
1750
    public static final BitSet FOLLOW_EOF_in_entryRuleCollaborationUseRule68 = new BitSet(new long[]{0x0000000000000002L});
1751
    public static final BitSet FOLLOW_rule__CollaborationUseRule__Group__0_in_ruleCollaborationUseRule94 = new BitSet(new long[]{0x0000000000000002L});
1752
    public static final BitSet FOLLOW_ruleTypeRule_in_entryRuleTypeRule121 = new BitSet(new long[]{0x0000000000000000L});
1753
    public static final BitSet FOLLOW_EOF_in_entryRuleTypeRule128 = new BitSet(new long[]{0x0000000000000002L});
1754
    public static final BitSet FOLLOW_rule__TypeRule__Group__0_in_ruleTypeRule154 = new BitSet(new long[]{0x0000000000000002L});
1755
    public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName181 = new BitSet(new long[]{0x0000000000000000L});
1756
    public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName188 = new BitSet(new long[]{0x0000000000000002L});
1757
    public static final BitSet FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName214 = new BitSet(new long[]{0x0000000000000002L});
1758
    public static final BitSet FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification243 = new BitSet(new long[]{0x0000000000000000L});
1759
    public static final BitSet FOLLOW_EOF_in_entryRuleBoundSpecification250 = new BitSet(new long[]{0x0000000000000002L});
1760
    public static final BitSet FOLLOW_rule__BoundSpecification__ValueAssignment_in_ruleBoundSpecification276 = new BitSet(new long[]{0x0000000000000002L});
1761
    public static final BitSet FOLLOW_rule__VisibilityKind__Alternatives_in_ruleVisibilityKind313 = new BitSet(new long[]{0x0000000000000002L});
1762
    public static final BitSet FOLLOW_rule__CollaborationUseRule__TypeAssignment_3_0_in_rule__CollaborationUseRule__Alternatives_3350 = new BitSet(new long[]{0x0000000000000002L});
1763
    public static final BitSet FOLLOW_12_in_rule__CollaborationUseRule__Alternatives_3369 = new BitSet(new long[]{0x0000000000000002L});
1764
    public static final BitSet FOLLOW_13_in_rule__VisibilityKind__Alternatives404 = new BitSet(new long[]{0x0000000000000002L});
1765
    public static final BitSet FOLLOW_14_in_rule__VisibilityKind__Alternatives425 = new BitSet(new long[]{0x0000000000000002L});
1766
    public static final BitSet FOLLOW_15_in_rule__VisibilityKind__Alternatives446 = new BitSet(new long[]{0x0000000000000002L});
1767
    public static final BitSet FOLLOW_16_in_rule__VisibilityKind__Alternatives467 = new BitSet(new long[]{0x0000000000000002L});
1768
    public static final BitSet FOLLOW_rule__CollaborationUseRule__Group__0__Impl_in_rule__CollaborationUseRule__Group__0501 = new BitSet(new long[]{0x0000000000000010L});
1769
    public static final BitSet FOLLOW_rule__CollaborationUseRule__Group__1_in_rule__CollaborationUseRule__Group__0504 = new BitSet(new long[]{0x0000000000000002L});
1770
    public static final BitSet FOLLOW_rule__CollaborationUseRule__VisibilityAssignment_0_in_rule__CollaborationUseRule__Group__0__Impl531 = new BitSet(new long[]{0x0000000000000002L});
1771
    public static final BitSet FOLLOW_rule__CollaborationUseRule__Group__1__Impl_in_rule__CollaborationUseRule__Group__1561 = new BitSet(new long[]{0x0000000000020000L});
1772
    public static final BitSet FOLLOW_rule__CollaborationUseRule__Group__2_in_rule__CollaborationUseRule__Group__1564 = new BitSet(new long[]{0x0000000000000002L});
1773
    public static final BitSet FOLLOW_rule__CollaborationUseRule__NameAssignment_1_in_rule__CollaborationUseRule__Group__1__Impl591 = new BitSet(new long[]{0x0000000000000002L});
1774
    public static final BitSet FOLLOW_rule__CollaborationUseRule__Group__2__Impl_in_rule__CollaborationUseRule__Group__2621 = new BitSet(new long[]{0x0000000000001010L});
1775
    public static final BitSet FOLLOW_rule__CollaborationUseRule__Group__3_in_rule__CollaborationUseRule__Group__2624 = new BitSet(new long[]{0x0000000000000002L});
1776
    public static final BitSet FOLLOW_17_in_rule__CollaborationUseRule__Group__2__Impl652 = new BitSet(new long[]{0x0000000000000002L});
1777
    public static final BitSet FOLLOW_rule__CollaborationUseRule__Group__3__Impl_in_rule__CollaborationUseRule__Group__3683 = new BitSet(new long[]{0x0000000000000002L});
1778
    public static final BitSet FOLLOW_rule__CollaborationUseRule__Alternatives_3_in_rule__CollaborationUseRule__Group__3__Impl710 = new BitSet(new long[]{0x0000000000000002L});
1779
    public static final BitSet FOLLOW_rule__TypeRule__Group__0__Impl_in_rule__TypeRule__Group__0748 = new BitSet(new long[]{0x0000000000000010L});
1780
    public static final BitSet FOLLOW_rule__TypeRule__Group__1_in_rule__TypeRule__Group__0751 = new BitSet(new long[]{0x0000000000000002L});
1781
    public static final BitSet FOLLOW_rule__TypeRule__PathAssignment_0_in_rule__TypeRule__Group__0__Impl778 = new BitSet(new long[]{0x0000000000000002L});
1782
    public static final BitSet FOLLOW_rule__TypeRule__Group__1__Impl_in_rule__TypeRule__Group__1809 = new BitSet(new long[]{0x0000000000000002L});
1783
    public static final BitSet FOLLOW_rule__TypeRule__TypeAssignment_1_in_rule__TypeRule__Group__1__Impl836 = new BitSet(new long[]{0x0000000000000002L});
1784
    public static final BitSet FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__0870 = new BitSet(new long[]{0x0000000000040000L});
1785
    public static final BitSet FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__0873 = new BitSet(new long[]{0x0000000000000002L});
1786
    public static final BitSet FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl900 = new BitSet(new long[]{0x0000000000000002L});
1787
    public static final BitSet FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__1930 = new BitSet(new long[]{0x0000000000000010L});
1788
    public static final BitSet FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__1933 = new BitSet(new long[]{0x0000000000000002L});
1789
    public static final BitSet FOLLOW_18_in_rule__QualifiedName__Group__1__Impl961 = new BitSet(new long[]{0x0000000000000002L});
1790
    public static final BitSet FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__2992 = new BitSet(new long[]{0x0000000000000002L});
1791
    public static final BitSet FOLLOW_rule__QualifiedName__RemainingAssignment_2_in_rule__QualifiedName__Group__2__Impl1019 = new BitSet(new long[]{0x0000000000000002L});
1792
    public static final BitSet FOLLOW_ruleVisibilityKind_in_rule__CollaborationUseRule__VisibilityAssignment_01063 = new BitSet(new long[]{0x0000000000000002L});
1793
    public static final BitSet FOLLOW_RULE_ID_in_rule__CollaborationUseRule__NameAssignment_11094 = new BitSet(new long[]{0x0000000000000002L});
1794
    public static final BitSet FOLLOW_ruleTypeRule_in_rule__CollaborationUseRule__TypeAssignment_3_01125 = new BitSet(new long[]{0x0000000000000002L});
1795
    public static final BitSet FOLLOW_ruleQualifiedName_in_rule__TypeRule__PathAssignment_01156 = new BitSet(new long[]{0x0000000000000002L});
1796
    public static final BitSet FOLLOW_RULE_ID_in_rule__TypeRule__TypeAssignment_11191 = new BitSet(new long[]{0x0000000000000002L});
1797
    public static final BitSet FOLLOW_RULE_ID_in_rule__QualifiedName__PathAssignment_01230 = new BitSet(new long[]{0x0000000000000002L});
1798
    public static final BitSet FOLLOW_ruleQualifiedName_in_rule__QualifiedName__RemainingAssignment_21265 = new BitSet(new long[]{0x0000000000000002L});
1799
    public static final BitSet FOLLOW_RULE_UNLIMITEDLITERAL_in_rule__BoundSpecification__ValueAssignment1298 = new BitSet(new long[]{0x0000000000000002L});
1770
1800
1771
}
1801
}
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.g (-1 / +1 lines)
Lines 678-684 Link Here
678
678
679
RULE_INT : ('0'..'9')+;
679
RULE_INT : ('0'..'9')+;
680
680
681
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
681
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
682
682
683
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
683
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
684
684
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCollaborationUse.tokens (+7 lines)
Lines 1-6 Link Here
1
RULE_ID=4
1
RULE_ID=4
2
RULE_STRING=7
2
RULE_STRING=7
3
RULE_UNLIMITEDLITERAL=5
3
RULE_UNLIMITEDLITERAL=5
4
T__16=16
5
T__15=15
6
T__18=18
7
T__17=17
8
T__12=12
9
T__14=14
10
T__13=13
4
RULE_ANY_OTHER=11
11
RULE_ANY_OTHER=11
5
RULE_INT=6
12
RULE_INT=6
6
RULE_WS=10
13
RULE_WS=10
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/antlr/UmlCollaborationUseParser.java (-18 / +18 lines)
Lines 1-14 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr;
4
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr;
5
5
6
import java.util.Collection;
6
import java.util.Collection;
7
import java.util.HashMap;
8
import java.util.Map;
7
import java.util.Map;
8
import java.util.HashMap;
9
9
10
import org.antlr.runtime.RecognitionException;
10
import org.antlr.runtime.RecognitionException;
11
import org.eclipse.papyrus.collaborationuse.editor.xtext.services.UmlCollaborationUseGrammarAccess;
12
import org.eclipse.xtext.AbstractElement;
11
import org.eclipse.xtext.AbstractElement;
13
import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser;
12
import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser;
14
import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement;
13
import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement;
Lines 16-40 Link Here
16
15
17
import com.google.inject.Inject;
16
import com.google.inject.Inject;
18
17
19
public class UmlCollaborationUseParser extends AbstractContentAssistParser {
18
import org.eclipse.papyrus.collaborationuse.editor.xtext.services.UmlCollaborationUseGrammarAccess;
20
19
20
public class UmlCollaborationUseParser extends AbstractContentAssistParser {
21
	
21
	@Inject
22
	@Inject
22
	private UmlCollaborationUseGrammarAccess grammarAccess;
23
	private UmlCollaborationUseGrammarAccess grammarAccess;
23
24
	
24
	private Map<AbstractElement, String> nameMappings;
25
	private Map<AbstractElement, String> nameMappings;
25
26
	
26
	@Override
27
	@Override
27
	protected org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCollaborationUseParser createParser() {
28
	protected org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCollaborationUseParser createParser() {
28
		org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCollaborationUseParser result = new org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCollaborationUseParser(null);
29
		org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCollaborationUseParser result = new org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCollaborationUseParser(null);
29
		result.setGrammarAccess(grammarAccess);
30
		result.setGrammarAccess(grammarAccess);
30
		return result;
31
		return result;
31
	}
32
	}
32
33
	
33
	@Override
34
	@Override
34
	protected String getRuleName(AbstractElement element) {
35
	protected String getRuleName(AbstractElement element) {
35
		if(nameMappings == null) {
36
		if (nameMappings == null) {
36
			nameMappings = new HashMap<AbstractElement, String>() {
37
			nameMappings = new HashMap<AbstractElement, String>() {
37
38
				private static final long serialVersionUID = 1L;
38
				private static final long serialVersionUID = 1L;
39
				{
39
				{
40
					put(grammarAccess.getCollaborationUseRuleAccess().getAlternatives_3(), "rule__CollaborationUseRule__Alternatives_3");
40
					put(grammarAccess.getCollaborationUseRuleAccess().getAlternatives_3(), "rule__CollaborationUseRule__Alternatives_3");
Lines 60-86 Link Here
60
		}
60
		}
61
		return nameMappings.get(element);
61
		return nameMappings.get(element);
62
	}
62
	}
63
63
	
64
	@Override
64
	@Override
65
	protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
65
	protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
66
		try {
66
		try {
67
			org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCollaborationUseParser typedParser = (org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCollaborationUseParser)parser;
67
			org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCollaborationUseParser typedParser = (org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCollaborationUseParser) parser;
68
			typedParser.entryRuleCollaborationUseRule();
68
			typedParser.entryRuleCollaborationUseRule();
69
			return typedParser.getFollowElements();
69
			return typedParser.getFollowElements();
70
		} catch (RecognitionException ex) {
70
		} catch(RecognitionException ex) {
71
			throw new RuntimeException(ex);
71
			throw new RuntimeException(ex);
72
		}
72
		}		
73
	}
73
	}
74
74
	
75
	@Override
75
	@Override
76
	protected String[] getInitialHiddenTokens() {
76
	protected String[] getInitialHiddenTokens() {
77
		return new String[]{ "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" };
77
		return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" };
78
	}
78
	}
79
79
	
80
	public UmlCollaborationUseGrammarAccess getGrammarAccess() {
80
	public UmlCollaborationUseGrammarAccess getGrammarAccess() {
81
		return this.grammarAccess;
81
		return this.grammarAccess;
82
	}
82
	}
83
83
	
84
	public void setGrammarAccess(UmlCollaborationUseGrammarAccess grammarAccess) {
84
	public void setGrammarAccess(UmlCollaborationUseGrammarAccess grammarAccess) {
85
		this.grammarAccess = grammarAccess;
85
		this.grammarAccess = grammarAccess;
86
	}
86
	}
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/contentassist/AbstractUmlCollaborationUseProposalProvider.java (-15 / +8 lines)
Lines 1-48 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist;
4
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist;
5
5
6
import org.eclipse.emf.ecore.EObject;
6
import org.eclipse.emf.ecore.EObject;
7
import org.eclipse.xtext.*;
7
import org.eclipse.papyrus.common.editor.xtext.ui.contentassist.UmlCommonProposalProvider;
8
import org.eclipse.papyrus.common.editor.xtext.ui.contentassist.UmlCommonProposalProvider;
8
import org.eclipse.xtext.Assignment;
9
import org.eclipse.xtext.CrossReference;
10
import org.eclipse.xtext.RuleCall;
11
import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext;
12
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor;
9
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor;
10
import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext;
13
11
14
/**
12
/**
15
 * Represents a generated, default implementation of interface {@link IProposalProvider}.
13
 * Represents a generated, default implementation of interface {@link IProposalProvider}.
16
 * Methods are dynamically dispatched on the first parameter, i.e., you can override them
14
 * Methods are dynamically dispatched on the first parameter, i.e., you can override them 
17
 * with a more concrete subtype.
15
 * with a more concrete subtype. 
18
 */
16
 */
19
@SuppressWarnings("all")
17
@SuppressWarnings("all")
20
public class AbstractUmlCollaborationUseProposalProvider extends UmlCommonProposalProvider {
18
public class AbstractUmlCollaborationUseProposalProvider extends UmlCommonProposalProvider {
21
19
		
22
	public void completeCollaborationUseRule_Visibility(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
20
	public void completeCollaborationUseRule_Visibility(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
23
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
21
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
24
	}
22
	}
25
26
	public void completeCollaborationUseRule_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
23
	public void completeCollaborationUseRule_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
27
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
24
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
28
	}
25
	}
29
30
	public void completeCollaborationUseRule_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
26
	public void completeCollaborationUseRule_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
31
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
27
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
32
	}
28
	}
33
34
	public void completeTypeRule_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
29
	public void completeTypeRule_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
35
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
30
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
36
	}
31
	}
37
38
	public void completeTypeRule_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
32
	public void completeTypeRule_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
39
		lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
33
		lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
40
	}
34
	}
41
35
    
42
	public void complete_CollaborationUseRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
36
	public void complete_CollaborationUseRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
43
		// subclasses may override
37
		// subclasses may override
44
	}
38
	}
45
46
	public void complete_TypeRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
39
	public void complete_TypeRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
47
		// subclasses may override
40
		// subclasses may override
48
	}
41
	}
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/ui/UmlCollaborationUseExecutableExtensionFactory.java (-4 / +4 lines)
Lines 1-7 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
 * generated by Xtext
3
 */
3
 */
4
5
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui;
4
package org.eclipse.papyrus.collaborationuse.editor.xtext.ui;
6
5
7
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
6
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
Lines 10-16 Link Here
10
import com.google.inject.Injector;
9
import com.google.inject.Injector;
11
10
12
/**
11
/**
13
 * @generated
12
 * This class was generated. Customizations should only happen in a newly
13
 * introduced subclass. 
14
 */
14
 */
15
public class UmlCollaborationUseExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
15
public class UmlCollaborationUseExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
16
16
Lines 18-27 Link Here
18
	protected Bundle getBundle() {
18
	protected Bundle getBundle() {
19
		return org.eclipse.papyrus.collaborationuse.editor.xtext.ui.internal.UmlCollaborationUseActivator.getInstance().getBundle();
19
		return org.eclipse.papyrus.collaborationuse.editor.xtext.ui.internal.UmlCollaborationUseActivator.getInstance().getBundle();
20
	}
20
	}
21
21
	
22
	@Override
22
	@Override
23
	protected Injector getInjector() {
23
	protected Injector getInjector() {
24
		return org.eclipse.papyrus.collaborationuse.editor.xtext.ui.internal.UmlCollaborationUseActivator.getInstance().getInjector("org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUse");
24
		return org.eclipse.papyrus.collaborationuse.editor.xtext.ui.internal.UmlCollaborationUseActivator.getInstance().getInjector("org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUse");
25
	}
25
	}
26
26
	
27
}
27
}
(-)META-INF/MANIFEST.MF (-2 / +2 lines)
Lines 14-20 Link Here
14
 org.eclipse.xtext.builder,
14
 org.eclipse.xtext.builder,
15
 org.antlr.runtime,
15
 org.antlr.runtime,
16
 org.eclipse.papyrus.extensionpoints.editors;bundle-version="0.8.0",
16
 org.eclipse.papyrus.extensionpoints.editors;bundle-version="0.8.0",
17
 org.eclipse.xtext.gmf.glue,
18
 org.eclipse.papyrus.umlutils;bundle-version="0.8.0",
17
 org.eclipse.papyrus.umlutils;bundle-version="0.8.0",
19
 org.eclipse.gmf.runtime.common.core;bundle-version="1.4.0",
18
 org.eclipse.gmf.runtime.common.core;bundle-version="1.4.0",
20
 org.eclipse.gmf.runtime.emf.commands.core;bundle-version="1.4.0",
19
 org.eclipse.gmf.runtime.emf.commands.core;bundle-version="1.4.0",
Lines 23-29 Link Here
23
 org.eclipse.papyrus.properties.runtime;bundle-version="0.8.0",
22
 org.eclipse.papyrus.properties.runtime;bundle-version="0.8.0",
24
 org.eclipse.papyrus.service.edit,
23
 org.eclipse.papyrus.service.edit,
25
 org.eclipse.papyrus.diagram.common;bundle-version="0.8.0",
24
 org.eclipse.papyrus.diagram.common;bundle-version="0.8.0",
26
 org.eclipse.papyrus.common.editor.xtext.ui
25
 org.eclipse.papyrus.common.editor.xtext.ui,
26
 org.eclipse.xtext.gmf.glue;bundle-version="0.8.0"
27
Import-Package: org.apache.log4j
27
Import-Package: org.apache.log4j
28
Bundle-RequiredExecutionEnvironment: J2SE-1.5
28
Bundle-RequiredExecutionEnvironment: J2SE-1.5
29
Export-Package: org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr
29
Export-Package: org.eclipse.papyrus.collaborationuse.editor.xtext.ui.contentassist.antlr
(-)plugin.xml_gen (+33 lines)
Lines 139-144 Link Here
139
139
140
140
141
141
142
	<!-- Quick Outline -->
143
	<extension
144
		point="org.eclipse.ui.handlers">
145
		<handler 
146
			class="org.eclipse.papyrus.collaborationuse.editor.xtext.ui.UmlCollaborationUseExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler"
147
			commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline">
148
			<activeWhen>
149
				<reference
150
					definitionId="org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUse.Editor.opened">
151
				</reference>
152
			</activeWhen>
153
		</handler>
154
	</extension>
155
	<extension
156
		point="org.eclipse.ui.commands">
157
		<command
158
			description="Open the quick outline."
159
			id="org.eclipse.xtext.ui.editor.outline.QuickOutline"
160
			name="Quick Outline">
161
		</command>
162
	</extension>
163
	<extension point="org.eclipse.ui.menus">
164
		<menuContribution
165
			locationURI="popup:#TextEditorContext?after=group.open">
166
			<command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"
167
				style="push"
168
				tooltip="Open Quick Outline">
169
				<visibleWhen checkEnabled="false">
170
					<reference definitionId="org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUse.Editor.opened"/>
171
				</visibleWhen>
172
			</command>
173
		</menuContribution>
174
	</extension>
142
175
143
	<!-- Quick Outline -->
176
	<!-- Quick Outline -->
144
	<extension
177
	<extension
(-)plugin.xml_gen (-1 lines)
Lines 14-18 Link Here
14
14
15
15
16
16
17
18
</plugin>
17
</plugin>
(-)META-INF/MANIFEST.MF (-1 / +1 lines)
Lines 19-25 Link Here
19
 org.antlr.runtime,
19
 org.antlr.runtime,
20
 org.eclipse.uml2.uml;bundle-version="3.1.0",
20
 org.eclipse.uml2.uml;bundle-version="3.1.0",
21
 org.eclipse.uml2.codegen.ecore;bundle-version="1.6.0",
21
 org.eclipse.uml2.codegen.ecore;bundle-version="1.6.0",
22
 org.eclipse.xtext.gmf.glue;bundle-version="1.0.0"
22
 org.eclipse.xtext.gmf.glue;bundle-version="0.8.0"
23
Import-Package: org.apache.log4j
23
Import-Package: org.apache.log4j
24
Bundle-RequiredExecutionEnvironment: J2SE-1.5
24
Bundle-RequiredExecutionEnvironment: J2SE-1.5
25
Export-Package: org.eclipse.papyrus.connectionpointreference.editor.xtext,
25
Export-Package: org.eclipse.papyrus.connectionpointreference.editor.xtext,
(-)src/org/eclipse/papyrus/connectionpointreference/editor/xtext/GenerateUMLConnectionPointReference.mwe2 (-7 / +8 lines)
Lines 88-97 Link Here
88
			fragment = labeling.LabelProviderFragment {}
88
			fragment = labeling.LabelProviderFragment {}
89
89
90
			// outline API 
90
			// outline API 
91
			fragment = outline.TransformerFragment {}
91
			fragment = outline.OutlineTreeProviderFragment {}
92
			fragment = outline.OutlineNodeAdapterFactoryFragment {}
93
			fragment = outline.QuickOutlineFragment {}
92
			fragment = outline.QuickOutlineFragment {}
94
93
			
95
			// quickfix API 
94
			// quickfix API 
96
			fragment = quickfix.QuickfixProviderFragment {}
95
			fragment = quickfix.QuickfixProviderFragment {}
97
96
Lines 101-110 Link Here
101
			// the following fragment tries to use the Antlr based content assist 
100
			// the following fragment tries to use the Antlr based content assist 
102
			//     fragment which can be downloaded from http://www.itemis.com 
101
			//     fragment which can be downloaded from http://www.itemis.com 
103
			//     and will be ignored if it's not available. 
102
			//     and will be ignored if it's not available. 
104
			fragment = DelegatingGeneratorFragment { 
103
			// fragment = DelegatingGeneratorFragment { 
105
				delegate = "de.itemis.xtext.antlr.XtextAntlrUiGeneratorFragment"
104
			//	delegate = "de.itemis.xtext.antlr.XtextAntlrUiGeneratorFragment"
106
				message="You are generating without ANTLR. It is highly recommended to download and use the plugin \'de.itemis.xtext.antlr\' \n\t using the update site http://download.itemis.com/updates/."
105
			//	message="You are generating without ANTLR. It is highly recommended to download and use the plugin \'de.itemis.xtext.antlr\' \n\t using the update site http://download.itemis.com/updates/."
107
			}
106
			//}
107
108
			fragment = parser.antlr.XtextAntlrUiGeneratorFragment {}
108
109
109
			fragment = builder.BuilderIntegrationFragment {}
110
			fragment = builder.BuilderIntegrationFragment {}
110
111
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/UMLConnectionPointReferenceAntlrTokenFileProvider.java (-13 / +3 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/*
2
 * Copyright (c) 2010 CEA LIST.
2
* generated by Xtext
3
 *
3
*/
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr;
4
package org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr;
15
5
16
import java.io.InputStream;
6
import java.io.InputStream;
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/UMLConnectionPointReferenceParser.java (-34 / +7 lines)
Lines 1-26 Link Here
1
/*****************************************************************************
1
/*
2
 * Copyright (c) 2010 CEA LIST.
2
* generated by Xtext
3
 *
3
*/
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr;
4
package org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr;
15
5
16
import org.antlr.runtime.CharStream;
17
import org.antlr.runtime.TokenSource;
18
import org.eclipse.xtext.parser.IParseResult;
19
import org.eclipse.xtext.parser.ParseException;
20
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
21
22
import com.google.inject.Inject;
6
import com.google.inject.Inject;
23
7
8
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
24
import org.eclipse.papyrus.connectionpointreference.editor.xtext.services.UMLConnectionPointReferenceGrammarAccess;
9
import org.eclipse.papyrus.connectionpointreference.editor.xtext.services.UMLConnectionPointReferenceGrammarAccess;
25
10
26
public class UMLConnectionPointReferenceParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
11
public class UMLConnectionPointReferenceParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
Lines 29-53 Link Here
29
	private UMLConnectionPointReferenceGrammarAccess grammarAccess;
14
	private UMLConnectionPointReferenceGrammarAccess grammarAccess;
30
	
15
	
31
	@Override
16
	@Override
32
	protected IParseResult parse(String ruleName, CharStream in) {
17
	protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
33
		TokenSource tokenSource = createLexer(in);
34
		XtextTokenStream tokenStream = createTokenStream(tokenSource);
35
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
18
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
36
		org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr.internal.InternalUMLConnectionPointReferenceParser parser = createParser(tokenStream);
37
		parser.setTokenTypeMap(getTokenDefProvider().getTokenDefMap());
38
		parser.setSyntaxErrorProvider(getSyntaxErrorProvider());
39
		parser.setUnorderedGroupHelper(getUnorderedGroupHelper().get());
40
		try {
41
			if(ruleName != null)
42
				return parser.parse(ruleName);
43
			return parser.parse();
44
		} catch (Exception re) {
45
			throw new ParseException(re.getMessage(),re);
46
		}
47
	}
19
	}
48
	
20
	
21
	@Override
49
	protected org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr.internal.InternalUMLConnectionPointReferenceParser createParser(XtextTokenStream stream) {
22
	protected org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr.internal.InternalUMLConnectionPointReferenceParser createParser(XtextTokenStream stream) {
50
		return new org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr.internal.InternalUMLConnectionPointReferenceParser(stream, getElementFactory(), getGrammarAccess());
23
		return new org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr.internal.InternalUMLConnectionPointReferenceParser(stream, getGrammarAccess());
51
	}
24
	}
52
	
25
	
53
	@Override 
26
	@Override 
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceLexer.java (-278 / +299 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr.internal;
1
package org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr.internal;
15
2
16
// Hack: Use our own Lexer superclass by means of import. 
3
// Hack: Use our own Lexer superclass by means of import. 
Lines 27-112 Link Here
27
public class InternalUMLConnectionPointReferenceLexer extends Lexer {
14
public class InternalUMLConnectionPointReferenceLexer extends Lexer {
28
    public static final int RULE_ID=4;
15
    public static final int RULE_ID=4;
29
    public static final int RULE_STRING=6;
16
    public static final int RULE_STRING=6;
17
    public static final int T__12=12;
18
    public static final int T__11=11;
19
    public static final int T__13=13;
30
    public static final int RULE_ANY_OTHER=10;
20
    public static final int RULE_ANY_OTHER=10;
31
    public static final int RULE_INT=5;
21
    public static final int RULE_INT=5;
32
    public static final int T11=11;
33
    public static final int T12=12;
34
    public static final int T13=13;
35
    public static final int RULE_WS=9;
22
    public static final int RULE_WS=9;
36
    public static final int Tokens=14;
37
    public static final int RULE_SL_COMMENT=8;
23
    public static final int RULE_SL_COMMENT=8;
38
    public static final int EOF=-1;
24
    public static final int EOF=-1;
39
    public static final int RULE_ML_COMMENT=7;
25
    public static final int RULE_ML_COMMENT=7;
26
27
    // delegates
28
    // delegators
29
40
    public InternalUMLConnectionPointReferenceLexer() {;} 
30
    public InternalUMLConnectionPointReferenceLexer() {;} 
41
    public InternalUMLConnectionPointReferenceLexer(CharStream input) {
31
    public InternalUMLConnectionPointReferenceLexer(CharStream input) {
42
        super(input);
32
        this(input, new RecognizerSharedState());
33
    }
34
    public InternalUMLConnectionPointReferenceLexer(CharStream input, RecognizerSharedState state) {
35
        super(input,state);
36
43
    }
37
    }
44
    public String getGrammarFileName() { return "../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g"; }
38
    public String getGrammarFileName() { return "../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g"; }
45
39
46
    // $ANTLR start T11
40
    // $ANTLR start "T__11"
47
    public final void mT11() throws RecognitionException {
41
    public final void mT__11() throws RecognitionException {
48
        try {
42
        try {
49
            int _type = T11;
43
            int _type = T__11;
50
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:10:5: ( 'entry' )
44
            int _channel = DEFAULT_TOKEN_CHANNEL;
51
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:10:7: 'entry'
45
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:11:7: ( 'entry' )
46
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:11:9: 'entry'
52
            {
47
            {
53
            match("entry"); 
48
            match("entry"); 
54
49
55
50
56
            }
51
            }
57
52
58
            this.type = _type;
53
            state.type = _type;
54
            state.channel = _channel;
59
        }
55
        }
60
        finally {
56
        finally {
61
        }
57
        }
62
    }
58
    }
63
    // $ANTLR end T11
59
    // $ANTLR end "T__11"
64
60
65
    // $ANTLR start T12
61
    // $ANTLR start "T__12"
66
    public final void mT12() throws RecognitionException {
62
    public final void mT__12() throws RecognitionException {
67
        try {
63
        try {
68
            int _type = T12;
64
            int _type = T__12;
69
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:11:5: ( ',' )
65
            int _channel = DEFAULT_TOKEN_CHANNEL;
70
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:11:7: ','
66
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:12:7: ( ',' )
67
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:12:9: ','
71
            {
68
            {
72
            match(','); 
69
            match(','); 
73
70
74
            }
71
            }
75
72
76
            this.type = _type;
73
            state.type = _type;
74
            state.channel = _channel;
77
        }
75
        }
78
        finally {
76
        finally {
79
        }
77
        }
80
    }
78
    }
81
    // $ANTLR end T12
79
    // $ANTLR end "T__12"
82
80
83
    // $ANTLR start T13
81
    // $ANTLR start "T__13"
84
    public final void mT13() throws RecognitionException {
82
    public final void mT__13() throws RecognitionException {
85
        try {
83
        try {
86
            int _type = T13;
84
            int _type = T__13;
87
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:12:5: ( 'exit' )
85
            int _channel = DEFAULT_TOKEN_CHANNEL;
88
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:12:7: 'exit'
86
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:13:7: ( 'exit' )
87
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:13:9: 'exit'
89
            {
88
            {
90
            match("exit"); 
89
            match("exit"); 
91
90
92
91
93
            }
92
            }
94
93
95
            this.type = _type;
94
            state.type = _type;
95
            state.channel = _channel;
96
        }
96
        }
97
        finally {
97
        finally {
98
        }
98
        }
99
    }
99
    }
100
    // $ANTLR end T13
100
    // $ANTLR end "T__13"
101
101
102
    // $ANTLR start RULE_ID
102
    // $ANTLR start "RULE_ID"
103
    public final void mRULE_ID() throws RecognitionException {
103
    public final void mRULE_ID() throws RecognitionException {
104
        try {
104
        try {
105
            int _type = RULE_ID;
105
            int _type = RULE_ID;
106
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:172:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
106
            int _channel = DEFAULT_TOKEN_CHANNEL;
107
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:172:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
107
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
108
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
108
            {
109
            {
109
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:172:11: ( '^' )?
110
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:11: ( '^' )?
110
            int alt1=2;
111
            int alt1=2;
111
            int LA1_0 = input.LA(1);
112
            int LA1_0 = input.LA(1);
112
113
Lines 115-121 Link Here
115
            }
116
            }
116
            switch (alt1) {
117
            switch (alt1) {
117
                case 1 :
118
                case 1 :
118
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:172:11: '^'
119
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:11: '^'
119
                    {
120
                    {
120
                    match('^'); 
121
                    match('^'); 
121
122
Lines 129-140 Link Here
129
130
130
            }
131
            }
131
            else {
132
            else {
132
                MismatchedSetException mse =
133
                MismatchedSetException mse = new MismatchedSetException(null,input);
133
                    new MismatchedSetException(null,input);
134
                recover(mse);
134
                recover(mse);    throw mse;
135
                throw mse;}
135
            }
136
136
137
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:172:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
137
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
138
            loop2:
138
            loop2:
139
            do {
139
            do {
140
                int alt2=2;
140
                int alt2=2;
Lines 154-163 Link Here
154
154
155
            	    }
155
            	    }
156
            	    else {
156
            	    else {
157
            	        MismatchedSetException mse =
157
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
158
            	            new MismatchedSetException(null,input);
158
            	        recover(mse);
159
            	        recover(mse);    throw mse;
159
            	        throw mse;}
160
            	    }
161
160
162
161
163
            	    }
162
            	    }
Lines 171-191 Link Here
171
170
172
            }
171
            }
173
172
174
            this.type = _type;
173
            state.type = _type;
174
            state.channel = _channel;
175
        }
175
        }
176
        finally {
176
        finally {
177
        }
177
        }
178
    }
178
    }
179
    // $ANTLR end RULE_ID
179
    // $ANTLR end "RULE_ID"
180
180
181
    // $ANTLR start RULE_INT
181
    // $ANTLR start "RULE_INT"
182
    public final void mRULE_INT() throws RecognitionException {
182
    public final void mRULE_INT() throws RecognitionException {
183
        try {
183
        try {
184
            int _type = RULE_INT;
184
            int _type = RULE_INT;
185
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:174:10: ( ( '0' .. '9' )+ )
185
            int _channel = DEFAULT_TOKEN_CHANNEL;
186
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:174:12: ( '0' .. '9' )+
186
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:10: ( ( '0' .. '9' )+ )
187
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:12: ( '0' .. '9' )+
187
            {
188
            {
188
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:174:12: ( '0' .. '9' )+
189
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:12: ( '0' .. '9' )+
189
            int cnt3=0;
190
            int cnt3=0;
190
            loop3:
191
            loop3:
191
            do {
192
            do {
Lines 199-205 Link Here
199
200
200
                switch (alt3) {
201
                switch (alt3) {
201
            	case 1 :
202
            	case 1 :
202
            	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:174:13: '0' .. '9'
203
            	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:13: '0' .. '9'
203
            	    {
204
            	    {
204
            	    matchRange('0','9'); 
205
            	    matchRange('0','9'); 
205
206
Lines 218-238 Link Here
218
219
219
            }
220
            }
220
221
221
            this.type = _type;
222
            state.type = _type;
223
            state.channel = _channel;
222
        }
224
        }
223
        finally {
225
        finally {
224
        }
226
        }
225
    }
227
    }
226
    // $ANTLR end RULE_INT
228
    // $ANTLR end "RULE_INT"
227
229
228
    // $ANTLR start RULE_STRING
230
    // $ANTLR start "RULE_STRING"
229
    public final void mRULE_STRING() throws RecognitionException {
231
    public final void mRULE_STRING() throws RecognitionException {
230
        try {
232
        try {
231
            int _type = RULE_STRING;
233
            int _type = RULE_STRING;
232
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:176:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
234
            int _channel = DEFAULT_TOKEN_CHANNEL;
233
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:176:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
235
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
236
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
234
            {
237
            {
235
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:176:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
238
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
236
            int alt6=2;
239
            int alt6=2;
237
            int LA6_0 = input.LA(1);
240
            int LA6_0 = input.LA(1);
238
241
Lines 244-259 Link Here
244
            }
247
            }
245
            else {
248
            else {
246
                NoViableAltException nvae =
249
                NoViableAltException nvae =
247
                    new NoViableAltException("176:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 6, 0, input);
250
                    new NoViableAltException("", 6, 0, input);
248
251
249
                throw nvae;
252
                throw nvae;
250
            }
253
            }
251
            switch (alt6) {
254
            switch (alt6) {
252
                case 1 :
255
                case 1 :
253
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:176:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
256
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
254
                    {
257
                    {
255
                    match('\"'); 
258
                    match('\"'); 
256
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:176:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
259
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
257
                    loop4:
260
                    loop4:
258
                    do {
261
                    do {
259
                        int alt4=3;
262
                        int alt4=3;
Lines 262-302 Link Here
262
                        if ( (LA4_0=='\\') ) {
265
                        if ( (LA4_0=='\\') ) {
263
                            alt4=1;
266
                            alt4=1;
264
                        }
267
                        }
265
                        else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFE')) ) {
268
                        else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) {
266
                            alt4=2;
269
                            alt4=2;
267
                        }
270
                        }
268
271
269
272
270
                        switch (alt4) {
273
                        switch (alt4) {
271
                    	case 1 :
274
                    	case 1 :
272
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:176:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
275
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
273
                    	    {
276
                    	    {
274
                    	    match('\\'); 
277
                    	    match('\\'); 
275
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
278
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
276
                    	        input.consume();
279
                    	        input.consume();
277
280
278
                    	    }
281
                    	    }
279
                    	    else {
282
                    	    else {
280
                    	        MismatchedSetException mse =
283
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
281
                    	            new MismatchedSetException(null,input);
284
                    	        recover(mse);
282
                    	        recover(mse);    throw mse;
285
                    	        throw mse;}
283
                    	    }
284
286
285
287
286
                    	    }
288
                    	    }
287
                    	    break;
289
                    	    break;
288
                    	case 2 :
290
                    	case 2 :
289
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:176:62: ~ ( ( '\\\\' | '\"' ) )
291
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:66: ~ ( ( '\\\\' | '\"' ) )
290
                    	    {
292
                    	    {
291
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
293
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
292
                    	        input.consume();
294
                    	        input.consume();
293
295
294
                    	    }
296
                    	    }
295
                    	    else {
297
                    	    else {
296
                    	        MismatchedSetException mse =
298
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
297
                    	            new MismatchedSetException(null,input);
299
                    	        recover(mse);
298
                    	        recover(mse);    throw mse;
300
                    	        throw mse;}
299
                    	    }
300
301
301
302
302
                    	    }
303
                    	    }
Lines 312-321 Link Here
312
                    }
313
                    }
313
                    break;
314
                    break;
314
                case 2 :
315
                case 2 :
315
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:176:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
316
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
316
                    {
317
                    {
317
                    match('\''); 
318
                    match('\''); 
318
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:176:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
319
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
319
                    loop5:
320
                    loop5:
320
                    do {
321
                    do {
321
                        int alt5=3;
322
                        int alt5=3;
Lines 324-364 Link Here
324
                        if ( (LA5_0=='\\') ) {
325
                        if ( (LA5_0=='\\') ) {
325
                            alt5=1;
326
                            alt5=1;
326
                        }
327
                        }
327
                        else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFE')) ) {
328
                        else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) {
328
                            alt5=2;
329
                            alt5=2;
329
                        }
330
                        }
330
331
331
332
332
                        switch (alt5) {
333
                        switch (alt5) {
333
                    	case 1 :
334
                    	case 1 :
334
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:176:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
335
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
335
                    	    {
336
                    	    {
336
                    	    match('\\'); 
337
                    	    match('\\'); 
337
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
338
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
338
                    	        input.consume();
339
                    	        input.consume();
339
340
340
                    	    }
341
                    	    }
341
                    	    else {
342
                    	    else {
342
                    	        MismatchedSetException mse =
343
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
343
                    	            new MismatchedSetException(null,input);
344
                    	        recover(mse);
344
                    	        recover(mse);    throw mse;
345
                    	        throw mse;}
345
                    	    }
346
346
347
347
348
                    	    }
348
                    	    }
349
                    	    break;
349
                    	    break;
350
                    	case 2 :
350
                    	case 2 :
351
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:176:129: ~ ( ( '\\\\' | '\\'' ) )
351
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:137: ~ ( ( '\\\\' | '\\'' ) )
352
                    	    {
352
                    	    {
353
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
353
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
354
                    	        input.consume();
354
                    	        input.consume();
355
355
356
                    	    }
356
                    	    }
357
                    	    else {
357
                    	    else {
358
                    	        MismatchedSetException mse =
358
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
359
                    	            new MismatchedSetException(null,input);
359
                    	        recover(mse);
360
                    	        recover(mse);    throw mse;
360
                    	        throw mse;}
361
                    	    }
362
361
363
362
364
                    	    }
363
                    	    }
Lines 379-401 Link Here
379
378
380
            }
379
            }
381
380
382
            this.type = _type;
381
            state.type = _type;
382
            state.channel = _channel;
383
        }
383
        }
384
        finally {
384
        finally {
385
        }
385
        }
386
    }
386
    }
387
    // $ANTLR end RULE_STRING
387
    // $ANTLR end "RULE_STRING"
388
388
389
    // $ANTLR start RULE_ML_COMMENT
389
    // $ANTLR start "RULE_ML_COMMENT"
390
    public final void mRULE_ML_COMMENT() throws RecognitionException {
390
    public final void mRULE_ML_COMMENT() throws RecognitionException {
391
        try {
391
        try {
392
            int _type = RULE_ML_COMMENT;
392
            int _type = RULE_ML_COMMENT;
393
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:178:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
393
            int _channel = DEFAULT_TOKEN_CHANNEL;
394
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:178:19: '/*' ( options {greedy=false; } : . )* '*/'
394
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:162:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
395
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:162:19: '/*' ( options {greedy=false; } : . )* '*/'
395
            {
396
            {
396
            match("/*"); 
397
            match("/*"); 
397
398
398
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:178:24: ( options {greedy=false; } : . )*
399
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:162:24: ( options {greedy=false; } : . )*
399
            loop7:
400
            loop7:
400
            do {
401
            do {
401
                int alt7=2;
402
                int alt7=2;
Lines 407-426 Link Here
407
                    if ( (LA7_1=='/') ) {
408
                    if ( (LA7_1=='/') ) {
408
                        alt7=2;
409
                        alt7=2;
409
                    }
410
                    }
410
                    else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFE')) ) {
411
                    else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) {
411
                        alt7=1;
412
                        alt7=1;
412
                    }
413
                    }
413
414
414
415
415
                }
416
                }
416
                else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFE')) ) {
417
                else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) {
417
                    alt7=1;
418
                    alt7=1;
418
                }
419
                }
419
420
420
421
421
                switch (alt7) {
422
                switch (alt7) {
422
            	case 1 :
423
            	case 1 :
423
            	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:178:52: .
424
            	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:162:52: .
424
            	    {
425
            	    {
425
            	    matchAny(); 
426
            	    matchAny(); 
426
427
Lines 437-482 Link Here
437
438
438
            }
439
            }
439
440
440
            this.type = _type;
441
            state.type = _type;
442
            state.channel = _channel;
441
        }
443
        }
442
        finally {
444
        finally {
443
        }
445
        }
444
    }
446
    }
445
    // $ANTLR end RULE_ML_COMMENT
447
    // $ANTLR end "RULE_ML_COMMENT"
446
448
447
    // $ANTLR start RULE_SL_COMMENT
449
    // $ANTLR start "RULE_SL_COMMENT"
448
    public final void mRULE_SL_COMMENT() throws RecognitionException {
450
    public final void mRULE_SL_COMMENT() throws RecognitionException {
449
        try {
451
        try {
450
            int _type = RULE_SL_COMMENT;
452
            int _type = RULE_SL_COMMENT;
451
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:180:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
453
            int _channel = DEFAULT_TOKEN_CHANNEL;
452
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:180:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
454
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
455
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
453
            {
456
            {
454
            match("//"); 
457
            match("//"); 
455
458
456
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:180:24: (~ ( ( '\\n' | '\\r' ) ) )*
459
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:24: (~ ( ( '\\n' | '\\r' ) ) )*
457
            loop8:
460
            loop8:
458
            do {
461
            do {
459
                int alt8=2;
462
                int alt8=2;
460
                int LA8_0 = input.LA(1);
463
                int LA8_0 = input.LA(1);
461
464
462
                if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFE')) ) {
465
                if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) {
463
                    alt8=1;
466
                    alt8=1;
464
                }
467
                }
465
468
466
469
467
                switch (alt8) {
470
                switch (alt8) {
468
            	case 1 :
471
            	case 1 :
469
            	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:180:24: ~ ( ( '\\n' | '\\r' ) )
472
            	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:24: ~ ( ( '\\n' | '\\r' ) )
470
            	    {
473
            	    {
471
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFE') ) {
474
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
472
            	        input.consume();
475
            	        input.consume();
473
476
474
            	    }
477
            	    }
475
            	    else {
478
            	    else {
476
            	        MismatchedSetException mse =
479
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
477
            	            new MismatchedSetException(null,input);
480
            	        recover(mse);
478
            	        recover(mse);    throw mse;
481
            	        throw mse;}
479
            	    }
480
482
481
483
482
            	    }
484
            	    }
Lines 487-493 Link Here
487
                }
489
                }
488
            } while (true);
490
            } while (true);
489
491
490
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:180:40: ( ( '\\r' )? '\\n' )?
492
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:40: ( ( '\\r' )? '\\n' )?
491
            int alt10=2;
493
            int alt10=2;
492
            int LA10_0 = input.LA(1);
494
            int LA10_0 = input.LA(1);
493
495
Lines 496-504 Link Here
496
            }
498
            }
497
            switch (alt10) {
499
            switch (alt10) {
498
                case 1 :
500
                case 1 :
499
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:180:41: ( '\\r' )? '\\n'
501
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:41: ( '\\r' )? '\\n'
500
                    {
502
                    {
501
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:180:41: ( '\\r' )?
503
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:41: ( '\\r' )?
502
                    int alt9=2;
504
                    int alt9=2;
503
                    int LA9_0 = input.LA(1);
505
                    int LA9_0 = input.LA(1);
504
506
Lines 507-513 Link Here
507
                    }
509
                    }
508
                    switch (alt9) {
510
                    switch (alt9) {
509
                        case 1 :
511
                        case 1 :
510
                            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:180:41: '\\r'
512
                            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:41: '\\r'
511
                            {
513
                            {
512
                            match('\r'); 
514
                            match('\r'); 
513
515
Lines 526-546 Link Here
526
528
527
            }
529
            }
528
530
529
            this.type = _type;
531
            state.type = _type;
532
            state.channel = _channel;
530
        }
533
        }
531
        finally {
534
        finally {
532
        }
535
        }
533
    }
536
    }
534
    // $ANTLR end RULE_SL_COMMENT
537
    // $ANTLR end "RULE_SL_COMMENT"
535
538
536
    // $ANTLR start RULE_WS
539
    // $ANTLR start "RULE_WS"
537
    public final void mRULE_WS() throws RecognitionException {
540
    public final void mRULE_WS() throws RecognitionException {
538
        try {
541
        try {
539
            int _type = RULE_WS;
542
            int _type = RULE_WS;
540
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:182:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
543
            int _channel = DEFAULT_TOKEN_CHANNEL;
541
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:182:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
544
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:166:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
545
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:166:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
542
            {
546
            {
543
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:182:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
547
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:166:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
544
            int cnt11=0;
548
            int cnt11=0;
545
            loop11:
549
            loop11:
546
            do {
550
            do {
Lines 561-570 Link Here
561
565
562
            	    }
566
            	    }
563
            	    else {
567
            	    else {
564
            	        MismatchedSetException mse =
568
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
565
            	            new MismatchedSetException(null,input);
569
            	        recover(mse);
566
            	        recover(mse);    throw mse;
570
            	        throw mse;}
567
            	    }
568
571
569
572
570
            	    }
573
            	    }
Lines 582-805 Link Here
582
585
583
            }
586
            }
584
587
585
            this.type = _type;
588
            state.type = _type;
589
            state.channel = _channel;
586
        }
590
        }
587
        finally {
591
        finally {
588
        }
592
        }
589
    }
593
    }
590
    // $ANTLR end RULE_WS
594
    // $ANTLR end "RULE_WS"
591
595
592
    // $ANTLR start RULE_ANY_OTHER
596
    // $ANTLR start "RULE_ANY_OTHER"
593
    public final void mRULE_ANY_OTHER() throws RecognitionException {
597
    public final void mRULE_ANY_OTHER() throws RecognitionException {
594
        try {
598
        try {
595
            int _type = RULE_ANY_OTHER;
599
            int _type = RULE_ANY_OTHER;
596
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:184:16: ( . )
600
            int _channel = DEFAULT_TOKEN_CHANNEL;
597
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:184:18: .
601
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:168:16: ( . )
602
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:168:18: .
598
            {
603
            {
599
            matchAny(); 
604
            matchAny(); 
600
605
601
            }
606
            }
602
607
603
            this.type = _type;
608
            state.type = _type;
609
            state.channel = _channel;
604
        }
610
        }
605
        finally {
611
        finally {
606
        }
612
        }
607
    }
613
    }
608
    // $ANTLR end RULE_ANY_OTHER
614
    // $ANTLR end "RULE_ANY_OTHER"
609
615
610
    public void mTokens() throws RecognitionException {
616
    public void mTokens() throws RecognitionException {
611
        // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:8: ( T11 | T12 | T13 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
617
        // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:8: ( T__11 | T__12 | T__13 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
612
        int alt12=10;
618
        int alt12=10;
613
        int LA12_0 = input.LA(1);
619
        alt12 = dfa12.predict(input);
614
615
        if ( (LA12_0=='e') ) {
616
            switch ( input.LA(2) ) {
617
            case 'n':
618
                {
619
                int LA12_11 = input.LA(3);
620
621
                if ( (LA12_11=='t') ) {
622
                    int LA12_20 = input.LA(4);
623
624
                    if ( (LA12_20=='r') ) {
625
                        int LA12_22 = input.LA(5);
626
627
                        if ( (LA12_22=='y') ) {
628
                            int LA12_24 = input.LA(6);
629
630
                            if ( ((LA12_24>='0' && LA12_24<='9')||(LA12_24>='A' && LA12_24<='Z')||LA12_24=='_'||(LA12_24>='a' && LA12_24<='z')) ) {
631
                                alt12=4;
632
                            }
633
                            else {
634
                                alt12=1;}
635
                        }
636
                        else {
637
                            alt12=4;}
638
                    }
639
                    else {
640
                        alt12=4;}
641
                }
642
                else {
643
                    alt12=4;}
644
                }
645
                break;
646
            case 'x':
647
                {
648
                int LA12_12 = input.LA(3);
649
650
                if ( (LA12_12=='i') ) {
651
                    int LA12_21 = input.LA(4);
652
653
                    if ( (LA12_21=='t') ) {
654
                        int LA12_23 = input.LA(5);
655
656
                        if ( ((LA12_23>='0' && LA12_23<='9')||(LA12_23>='A' && LA12_23<='Z')||LA12_23=='_'||(LA12_23>='a' && LA12_23<='z')) ) {
657
                            alt12=4;
658
                        }
659
                        else {
660
                            alt12=3;}
661
                    }
662
                    else {
663
                        alt12=4;}
664
                }
665
                else {
666
                    alt12=4;}
667
                }
668
                break;
669
            default:
670
                alt12=4;}
671
672
        }
673
        else if ( (LA12_0==',') ) {
674
            alt12=2;
675
        }
676
        else if ( (LA12_0=='^') ) {
677
            int LA12_3 = input.LA(2);
678
679
            if ( ((LA12_3>='A' && LA12_3<='Z')||LA12_3=='_'||(LA12_3>='a' && LA12_3<='z')) ) {
680
                alt12=4;
681
            }
682
            else {
683
                alt12=10;}
684
        }
685
        else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='d')||(LA12_0>='f' && LA12_0<='z')) ) {
686
            alt12=4;
687
        }
688
        else if ( ((LA12_0>='0' && LA12_0<='9')) ) {
689
            alt12=5;
690
        }
691
        else if ( (LA12_0=='\"') ) {
692
            int LA12_6 = input.LA(2);
693
694
            if ( ((LA12_6>='\u0000' && LA12_6<='\uFFFE')) ) {
695
                alt12=6;
696
            }
697
            else {
698
                alt12=10;}
699
        }
700
        else if ( (LA12_0=='\'') ) {
701
            int LA12_7 = input.LA(2);
702
703
            if ( ((LA12_7>='\u0000' && LA12_7<='\uFFFE')) ) {
704
                alt12=6;
705
            }
706
            else {
707
                alt12=10;}
708
        }
709
        else if ( (LA12_0=='/') ) {
710
            switch ( input.LA(2) ) {
711
            case '/':
712
                {
713
                alt12=8;
714
                }
715
                break;
716
            case '*':
717
                {
718
                alt12=7;
719
                }
720
                break;
721
            default:
722
                alt12=10;}
723
724
        }
725
        else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {
726
            alt12=9;
727
        }
728
        else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='+')||(LA12_0>='-' && LA12_0<='.')||(LA12_0>=':' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||(LA12_0>='{' && LA12_0<='\uFFFE')) ) {
729
            alt12=10;
730
        }
731
        else {
732
            NoViableAltException nvae =
733
                new NoViableAltException("1:1: Tokens : ( T11 | T12 | T13 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );", 12, 0, input);
734
735
            throw nvae;
736
        }
737
        switch (alt12) {
620
        switch (alt12) {
738
            case 1 :
621
            case 1 :
739
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:10: T11
622
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:10: T__11
740
                {
623
                {
741
                mT11(); 
624
                mT__11(); 
742
625
743
                }
626
                }
744
                break;
627
                break;
745
            case 2 :
628
            case 2 :
746
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:14: T12
629
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:16: T__12
747
                {
630
                {
748
                mT12(); 
631
                mT__12(); 
749
632
750
                }
633
                }
751
                break;
634
                break;
752
            case 3 :
635
            case 3 :
753
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:18: T13
636
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:22: T__13
754
                {
637
                {
755
                mT13(); 
638
                mT__13(); 
756
639
757
                }
640
                }
758
                break;
641
                break;
759
            case 4 :
642
            case 4 :
760
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:22: RULE_ID
643
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:28: RULE_ID
761
                {
644
                {
762
                mRULE_ID(); 
645
                mRULE_ID(); 
763
646
764
                }
647
                }
765
                break;
648
                break;
766
            case 5 :
649
            case 5 :
767
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:30: RULE_INT
650
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:36: RULE_INT
768
                {
651
                {
769
                mRULE_INT(); 
652
                mRULE_INT(); 
770
653
771
                }
654
                }
772
                break;
655
                break;
773
            case 6 :
656
            case 6 :
774
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:39: RULE_STRING
657
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:45: RULE_STRING
775
                {
658
                {
776
                mRULE_STRING(); 
659
                mRULE_STRING(); 
777
660
778
                }
661
                }
779
                break;
662
                break;
780
            case 7 :
663
            case 7 :
781
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:51: RULE_ML_COMMENT
664
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:57: RULE_ML_COMMENT
782
                {
665
                {
783
                mRULE_ML_COMMENT(); 
666
                mRULE_ML_COMMENT(); 
784
667
785
                }
668
                }
786
                break;
669
                break;
787
            case 8 :
670
            case 8 :
788
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:67: RULE_SL_COMMENT
671
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:73: RULE_SL_COMMENT
789
                {
672
                {
790
                mRULE_SL_COMMENT(); 
673
                mRULE_SL_COMMENT(); 
791
674
792
                }
675
                }
793
                break;
676
                break;
794
            case 9 :
677
            case 9 :
795
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:83: RULE_WS
678
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:89: RULE_WS
796
                {
679
                {
797
                mRULE_WS(); 
680
                mRULE_WS(); 
798
681
799
                }
682
                }
800
                break;
683
                break;
801
            case 10 :
684
            case 10 :
802
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:91: RULE_ANY_OTHER
685
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:97: RULE_ANY_OTHER
803
                {
686
                {
804
                mRULE_ANY_OTHER(); 
687
                mRULE_ANY_OTHER(); 
805
688
Lines 811-816 Link Here
811
    }
694
    }
812
695
813
696
697
    protected DFA12 dfa12 = new DFA12(this);
698
    static final String DFA12_eotS =
699
        "\1\uffff\1\15\1\uffff\1\12\2\uffff\3\12\2\uffff\2\15\7\uffff\3"+
700
        "\15\1\31\1\32\2\uffff";
701
    static final String DFA12_eofS =
702
        "\33\uffff";
703
    static final String DFA12_minS =
704
        "\1\0\1\156\1\uffff\1\101\2\uffff\2\0\1\52\2\uffff\1\164\1\151\7"+
705
        "\uffff\1\162\1\164\1\171\2\60\2\uffff";
706
    static final String DFA12_maxS =
707
        "\1\uffff\1\170\1\uffff\1\172\2\uffff\2\uffff\1\57\2\uffff\1\164"+
708
        "\1\151\7\uffff\1\162\1\164\1\171\2\172\2\uffff";
709
    static final String DFA12_acceptS =
710
        "\2\uffff\1\2\1\uffff\1\4\1\5\3\uffff\1\11\1\12\2\uffff\1\4\1\2"+
711
        "\1\5\1\6\1\7\1\10\1\11\5\uffff\1\3\1\1";
712
    static final String DFA12_specialS =
713
        "\1\2\5\uffff\1\0\1\1\23\uffff}>";
714
    static final String[] DFA12_transitionS = {
715
            "\11\12\2\11\2\12\1\11\22\12\1\11\1\12\1\6\4\12\1\7\4\12\1\2"+
716
            "\2\12\1\10\12\5\7\12\32\4\3\12\1\3\1\4\1\12\4\4\1\1\25\4\uff85"+
717
            "\12",
718
            "\1\13\11\uffff\1\14",
719
            "",
720
            "\32\15\4\uffff\1\15\1\uffff\32\15",
721
            "",
722
            "",
723
            "\0\20",
724
            "\0\20",
725
            "\1\21\4\uffff\1\22",
726
            "",
727
            "",
728
            "\1\24",
729
            "\1\25",
730
            "",
731
            "",
732
            "",
733
            "",
734
            "",
735
            "",
736
            "",
737
            "\1\26",
738
            "\1\27",
739
            "\1\30",
740
            "\12\15\7\uffff\32\15\4\uffff\1\15\1\uffff\32\15",
741
            "\12\15\7\uffff\32\15\4\uffff\1\15\1\uffff\32\15",
742
            "",
743
            ""
744
    };
745
746
    static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS);
747
    static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS);
748
    static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS);
749
    static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS);
750
    static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS);
751
    static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS);
752
    static final short[][] DFA12_transition;
753
754
    static {
755
        int numStates = DFA12_transitionS.length;
756
        DFA12_transition = new short[numStates][];
757
        for (int i=0; i<numStates; i++) {
758
            DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]);
759
        }
760
    }
761
762
    class DFA12 extends DFA {
763
764
        public DFA12(BaseRecognizer recognizer) {
765
            this.recognizer = recognizer;
766
            this.decisionNumber = 12;
767
            this.eot = DFA12_eot;
768
            this.eof = DFA12_eof;
769
            this.min = DFA12_min;
770
            this.max = DFA12_max;
771
            this.accept = DFA12_accept;
772
            this.special = DFA12_special;
773
            this.transition = DFA12_transition;
774
        }
775
        public String getDescription() {
776
            return "1:1: Tokens : ( T__11 | T__12 | T__13 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
777
        }
778
        public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
779
            IntStream input = _input;
780
        	int _s = s;
781
            switch ( s ) {
782
                    case 0 : 
783
                        int LA12_6 = input.LA(1);
784
785
                        s = -1;
786
                        if ( ((LA12_6>='\u0000' && LA12_6<='\uFFFF')) ) {s = 16;}
787
788
                        else s = 10;
789
790
                        if ( s>=0 ) return s;
791
                        break;
792
                    case 1 : 
793
                        int LA12_7 = input.LA(1);
794
795
                        s = -1;
796
                        if ( ((LA12_7>='\u0000' && LA12_7<='\uFFFF')) ) {s = 16;}
797
798
                        else s = 10;
799
800
                        if ( s>=0 ) return s;
801
                        break;
802
                    case 2 : 
803
                        int LA12_0 = input.LA(1);
804
805
                        s = -1;
806
                        if ( (LA12_0=='e') ) {s = 1;}
807
808
                        else if ( (LA12_0==',') ) {s = 2;}
809
810
                        else if ( (LA12_0=='^') ) {s = 3;}
811
812
                        else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='d')||(LA12_0>='f' && LA12_0<='z')) ) {s = 4;}
813
814
                        else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 5;}
815
816
                        else if ( (LA12_0=='\"') ) {s = 6;}
817
818
                        else if ( (LA12_0=='\'') ) {s = 7;}
819
820
                        else if ( (LA12_0=='/') ) {s = 8;}
821
822
                        else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 9;}
823
824
                        else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='+')||(LA12_0>='-' && LA12_0<='.')||(LA12_0>=':' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||(LA12_0>='{' && LA12_0<='\uFFFF')) ) {s = 10;}
825
826
                        if ( s>=0 ) return s;
827
                        break;
828
            }
829
            NoViableAltException nvae =
830
                new NoViableAltException(getDescription(), 12, _s, input);
831
            error(nvae);
832
            throw nvae;
833
        }
834
    }
814
 
835
 
815
836
816
}
837
}
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.tokens (+3 lines)
Lines 1-5 Link Here
1
RULE_ID=4
1
RULE_ID=4
2
RULE_STRING=6
2
RULE_STRING=6
3
T__12=12
4
T__11=11
5
T__13=13
3
RULE_ANY_OTHER=10
6
RULE_ANY_OTHER=10
4
RULE_INT=5
7
RULE_INT=5
5
RULE_WS=9
8
RULE_WS=9
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g (-42 / +26 lines)
Lines 19-36 Link Here
19
@parser::header {
19
@parser::header {
20
package org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr.internal; 
20
package org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr.internal; 
21
21
22
import java.io.InputStream;
23
import org.eclipse.xtext.*;
22
import org.eclipse.xtext.*;
24
import org.eclipse.xtext.parser.*;
23
import org.eclipse.xtext.parser.*;
25
import org.eclipse.xtext.parser.impl.*;
24
import org.eclipse.xtext.parser.impl.*;
26
import org.eclipse.xtext.parsetree.*;
27
import org.eclipse.emf.ecore.util.EcoreUtil;
25
import org.eclipse.emf.ecore.util.EcoreUtil;
28
import org.eclipse.emf.ecore.EObject;
26
import org.eclipse.emf.ecore.EObject;
29
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
27
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
30
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
28
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
31
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
29
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
32
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
30
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
33
import org.eclipse.xtext.conversion.ValueConverterException;
34
import org.eclipse.papyrus.connectionpointreference.editor.xtext.services.UMLConnectionPointReferenceGrammarAccess;
31
import org.eclipse.papyrus.connectionpointreference.editor.xtext.services.UMLConnectionPointReferenceGrammarAccess;
35
32
36
}
33
}
Lines 39-55 Link Here
39
36
40
 	private UMLConnectionPointReferenceGrammarAccess grammarAccess;
37
 	private UMLConnectionPointReferenceGrammarAccess grammarAccess;
41
 	
38
 	
42
    public InternalUMLConnectionPointReferenceParser(TokenStream input, IAstFactory factory, UMLConnectionPointReferenceGrammarAccess grammarAccess) {
39
    public InternalUMLConnectionPointReferenceParser(TokenStream input, UMLConnectionPointReferenceGrammarAccess grammarAccess) {
43
        this(input);
40
        this(input);
44
        this.factory = factory;
45
        registerRules(grammarAccess.getGrammar());
46
        this.grammarAccess = grammarAccess;
41
        this.grammarAccess = grammarAccess;
47
    }
42
        registerRules(grammarAccess.getGrammar());
48
    
49
    @Override
50
    protected InputStream getTokenFile() {
51
    	ClassLoader classLoader = getClass().getClassLoader();
52
    	return classLoader.getResourceAsStream("org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.tokens");
53
    }
43
    }
54
    
44
    
55
    @Override
45
    @Override
Lines 76-82 Link Here
76
// Entry rule entryRuleConnectionPointReferenceRule
66
// Entry rule entryRuleConnectionPointReferenceRule
77
entryRuleConnectionPointReferenceRule returns [EObject current=null] 
67
entryRuleConnectionPointReferenceRule returns [EObject current=null] 
78
	:
68
	:
79
	{ currentNode = createCompositeNode(grammarAccess.getConnectionPointReferenceRuleRule(), currentNode); }
69
	{ newCompositeNode(grammarAccess.getConnectionPointReferenceRuleRule()); }
80
	 iv_ruleConnectionPointReferenceRule=ruleConnectionPointReferenceRule 
70
	 iv_ruleConnectionPointReferenceRule=ruleConnectionPointReferenceRule 
81
	 { $current=$iv_ruleConnectionPointReferenceRule.current; } 
71
	 { $current=$iv_ruleConnectionPointReferenceRule.current; } 
82
	 EOF 
72
	 EOF 
Lines 84-164 Link Here
84
74
85
// Rule ConnectionPointReferenceRule
75
// Rule ConnectionPointReferenceRule
86
ruleConnectionPointReferenceRule returns [EObject current=null] 
76
ruleConnectionPointReferenceRule returns [EObject current=null] 
87
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
77
    @init { enterRule(); 
88
    }
78
    }
89
    @after { resetLookahead(); 
79
    @after { leaveRule(); }:
90
    	lastConsumedNode = currentNode;
80
((	otherlv_0='entry' 
91
    }:
92
((	'entry' 
93
    {
81
    {
94
        createLeafNode(grammarAccess.getConnectionPointReferenceRuleAccess().getEntryKeyword_0_0(), null); 
82
    	newLeafNode(otherlv_0, grammarAccess.getConnectionPointReferenceRuleAccess().getEntryKeyword_0_0());
95
    }
83
    }
96
(
84
(
97
(
85
(
98
		{
86
		{
99
			if ($current==null) {
87
			if ($current==null) {
100
	            $current = factory.create(grammarAccess.getConnectionPointReferenceRuleRule().getType().getClassifier());
88
	            $current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
101
	            associateNodeWithAstElement(currentNode, $current);
102
	        }
89
	        }
103
        }
90
        }
104
	RULE_ID
91
	otherlv_1=RULE_ID
105
	{
92
	{
106
		createLeafNode(grammarAccess.getConnectionPointReferenceRuleAccess().getEntryPseudostateCrossReference_0_1_0(), "entry"); 
93
		newLeafNode(otherlv_1, grammarAccess.getConnectionPointReferenceRuleAccess().getEntryPseudostateCrossReference_0_1_0()); 
107
	}
94
	}
108
95
109
)
96
)
110
)(	',' 
97
)(	otherlv_2=',' 
111
    {
98
    {
112
        createLeafNode(grammarAccess.getConnectionPointReferenceRuleAccess().getCommaKeyword_0_2_0(), null); 
99
    	newLeafNode(otherlv_2, grammarAccess.getConnectionPointReferenceRuleAccess().getCommaKeyword_0_2_0());
113
    }
100
    }
114
(
101
(
115
(
102
(
116
		{
103
		{
117
			if ($current==null) {
104
			if ($current==null) {
118
	            $current = factory.create(grammarAccess.getConnectionPointReferenceRuleRule().getType().getClassifier());
105
	            $current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
119
	            associateNodeWithAstElement(currentNode, $current);
120
	        }
106
	        }
121
        }
107
        }
122
	RULE_ID
108
	otherlv_3=RULE_ID
123
	{
109
	{
124
		createLeafNode(grammarAccess.getConnectionPointReferenceRuleAccess().getEntryPseudostateCrossReference_0_2_1_0(), "entry"); 
110
		newLeafNode(otherlv_3, grammarAccess.getConnectionPointReferenceRuleAccess().getEntryPseudostateCrossReference_0_2_1_0()); 
125
	}
111
	}
126
112
127
)
113
)
128
))*)
114
))*)
129
    |(	'exit' 
115
    |(	otherlv_4='exit' 
130
    {
116
    {
131
        createLeafNode(grammarAccess.getConnectionPointReferenceRuleAccess().getExitKeyword_1_0(), null); 
117
    	newLeafNode(otherlv_4, grammarAccess.getConnectionPointReferenceRuleAccess().getExitKeyword_1_0());
132
    }
118
    }
133
(
119
(
134
(
120
(
135
		{
121
		{
136
			if ($current==null) {
122
			if ($current==null) {
137
	            $current = factory.create(grammarAccess.getConnectionPointReferenceRuleRule().getType().getClassifier());
123
	            $current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
138
	            associateNodeWithAstElement(currentNode, $current);
139
	        }
124
	        }
140
        }
125
        }
141
	RULE_ID
126
	otherlv_5=RULE_ID
142
	{
127
	{
143
		createLeafNode(grammarAccess.getConnectionPointReferenceRuleAccess().getExitPseudostateCrossReference_1_1_0(), "exit"); 
128
		newLeafNode(otherlv_5, grammarAccess.getConnectionPointReferenceRuleAccess().getExitPseudostateCrossReference_1_1_0()); 
144
	}
129
	}
145
130
146
)
131
)
147
)(	',' 
132
)(	otherlv_6=',' 
148
    {
133
    {
149
        createLeafNode(grammarAccess.getConnectionPointReferenceRuleAccess().getCommaKeyword_1_2_0(), null); 
134
    	newLeafNode(otherlv_6, grammarAccess.getConnectionPointReferenceRuleAccess().getCommaKeyword_1_2_0());
150
    }
135
    }
151
(
136
(
152
(
137
(
153
		{
138
		{
154
			if ($current==null) {
139
			if ($current==null) {
155
	            $current = factory.create(grammarAccess.getConnectionPointReferenceRuleRule().getType().getClassifier());
140
	            $current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
156
	            associateNodeWithAstElement(currentNode, $current);
157
	        }
141
	        }
158
        }
142
        }
159
	RULE_ID
143
	otherlv_7=RULE_ID
160
	{
144
	{
161
		createLeafNode(grammarAccess.getConnectionPointReferenceRuleAccess().getExitPseudostateCrossReference_1_2_1_0(), "exit"); 
145
		newLeafNode(otherlv_7, grammarAccess.getConnectionPointReferenceRuleAccess().getExitPseudostateCrossReference_1_2_1_0()); 
162
	}
146
	}
163
147
164
)
148
)
Lines 173-179 Link Here
173
157
174
RULE_INT : ('0'..'9')+;
158
RULE_INT : ('0'..'9')+;
175
159
176
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
160
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
177
161
178
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
162
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
179
163
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceParser.java (-102 / +96 lines)
Lines 1-30 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr.internal; 
1
package org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr.internal; 
15
2
16
import java.io.InputStream;
17
import org.eclipse.xtext.*;
3
import org.eclipse.xtext.*;
18
import org.eclipse.xtext.parser.*;
4
import org.eclipse.xtext.parser.*;
19
import org.eclipse.xtext.parser.impl.*;
5
import org.eclipse.xtext.parser.impl.*;
20
import org.eclipse.xtext.parsetree.*;
21
import org.eclipse.emf.ecore.util.EcoreUtil;
6
import org.eclipse.emf.ecore.util.EcoreUtil;
22
import org.eclipse.emf.ecore.EObject;
7
import org.eclipse.emf.ecore.EObject;
23
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
8
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
24
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
9
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
25
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
10
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
26
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
11
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
27
import org.eclipse.xtext.conversion.ValueConverterException;
28
import org.eclipse.papyrus.connectionpointreference.editor.xtext.services.UMLConnectionPointReferenceGrammarAccess;
12
import org.eclipse.papyrus.connectionpointreference.editor.xtext.services.UMLConnectionPointReferenceGrammarAccess;
29
13
30
14
Lines 41-46 Link Here
41
    };
25
    };
42
    public static final int RULE_ID=4;
26
    public static final int RULE_ID=4;
43
    public static final int RULE_STRING=6;
27
    public static final int RULE_STRING=6;
28
    public static final int T__12=12;
29
    public static final int T__11=11;
30
    public static final int T__13=13;
44
    public static final int RULE_ANY_OTHER=10;
31
    public static final int RULE_ANY_OTHER=10;
45
    public static final int RULE_INT=5;
32
    public static final int RULE_INT=5;
46
    public static final int RULE_WS=9;
33
    public static final int RULE_WS=9;
Lines 48-76 Link Here
48
    public static final int EOF=-1;
35
    public static final int EOF=-1;
49
    public static final int RULE_ML_COMMENT=7;
36
    public static final int RULE_ML_COMMENT=7;
50
37
38
    // delegates
39
    // delegators
40
41
51
        public InternalUMLConnectionPointReferenceParser(TokenStream input) {
42
        public InternalUMLConnectionPointReferenceParser(TokenStream input) {
52
            super(input);
43
            this(input, new RecognizerSharedState());
44
        }
45
        public InternalUMLConnectionPointReferenceParser(TokenStream input, RecognizerSharedState state) {
46
            super(input, state);
47
             
53
        }
48
        }
54
        
49
        
55
50
56
    public String[] getTokenNames() { return tokenNames; }
51
    public String[] getTokenNames() { return InternalUMLConnectionPointReferenceParser.tokenNames; }
57
    public String getGrammarFileName() { return "../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g"; }
52
    public String getGrammarFileName() { return "../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g"; }
58
53
59
54
60
55
61
     	private UMLConnectionPointReferenceGrammarAccess grammarAccess;
56
     	private UMLConnectionPointReferenceGrammarAccess grammarAccess;
62
     	
57
     	
63
        public InternalUMLConnectionPointReferenceParser(TokenStream input, IAstFactory factory, UMLConnectionPointReferenceGrammarAccess grammarAccess) {
58
        public InternalUMLConnectionPointReferenceParser(TokenStream input, UMLConnectionPointReferenceGrammarAccess grammarAccess) {
64
            this(input);
59
            this(input);
65
            this.factory = factory;
66
            registerRules(grammarAccess.getGrammar());
67
            this.grammarAccess = grammarAccess;
60
            this.grammarAccess = grammarAccess;
68
        }
61
            registerRules(grammarAccess.getGrammar());
69
        
70
        @Override
71
        protected InputStream getTokenFile() {
72
        	ClassLoader classLoader = getClass().getClassLoader();
73
        	return classLoader.getResourceAsStream("org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.tokens");
74
        }
62
        }
75
        
63
        
76
        @Override
64
        @Override
Lines 85-92 Link Here
85
73
86
74
87
75
88
    // $ANTLR start entryRuleConnectionPointReferenceRule
76
    // $ANTLR start "entryRuleConnectionPointReferenceRule"
89
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:77:1: entryRuleConnectionPointReferenceRule returns [EObject current=null] : iv_ruleConnectionPointReferenceRule= ruleConnectionPointReferenceRule EOF ;
77
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:67:1: entryRuleConnectionPointReferenceRule returns [EObject current=null] : iv_ruleConnectionPointReferenceRule= ruleConnectionPointReferenceRule EOF ;
90
    public final EObject entryRuleConnectionPointReferenceRule() throws RecognitionException {
78
    public final EObject entryRuleConnectionPointReferenceRule() throws RecognitionException {
91
        EObject current = null;
79
        EObject current = null;
92
80
Lines 94-106 Link Here
94
82
95
83
96
        try {
84
        try {
97
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:78:2: (iv_ruleConnectionPointReferenceRule= ruleConnectionPointReferenceRule EOF )
85
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:68:2: (iv_ruleConnectionPointReferenceRule= ruleConnectionPointReferenceRule EOF )
98
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:79:2: iv_ruleConnectionPointReferenceRule= ruleConnectionPointReferenceRule EOF
86
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:69:2: iv_ruleConnectionPointReferenceRule= ruleConnectionPointReferenceRule EOF
99
            {
87
            {
100
             currentNode = createCompositeNode(grammarAccess.getConnectionPointReferenceRuleRule(), currentNode); 
88
             newCompositeNode(grammarAccess.getConnectionPointReferenceRuleRule()); 
101
            pushFollow(FOLLOW_ruleConnectionPointReferenceRule_in_entryRuleConnectionPointReferenceRule75);
89
            pushFollow(FOLLOW_ruleConnectionPointReferenceRule_in_entryRuleConnectionPointReferenceRule75);
102
            iv_ruleConnectionPointReferenceRule=ruleConnectionPointReferenceRule();
90
            iv_ruleConnectionPointReferenceRule=ruleConnectionPointReferenceRule();
103
            _fsp--;
91
92
            state._fsp--;
104
93
105
             current =iv_ruleConnectionPointReferenceRule; 
94
             current =iv_ruleConnectionPointReferenceRule; 
106
            match(input,EOF,FOLLOW_EOF_in_entryRuleConnectionPointReferenceRule85); 
95
            match(input,EOF,FOLLOW_EOF_in_entryRuleConnectionPointReferenceRule85); 
Lines 117-137 Link Here
117
        }
106
        }
118
        return current;
107
        return current;
119
    }
108
    }
120
    // $ANTLR end entryRuleConnectionPointReferenceRule
109
    // $ANTLR end "entryRuleConnectionPointReferenceRule"
121
110
122
111
123
    // $ANTLR start ruleConnectionPointReferenceRule
112
    // $ANTLR start "ruleConnectionPointReferenceRule"
124
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:86:1: ruleConnectionPointReferenceRule returns [EObject current=null] : ( ( 'entry' ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* ) | ( 'exit' ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* ) )? ;
113
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:76:1: ruleConnectionPointReferenceRule returns [EObject current=null] : ( (otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )? ;
125
    public final EObject ruleConnectionPointReferenceRule() throws RecognitionException {
114
    public final EObject ruleConnectionPointReferenceRule() throws RecognitionException {
126
        EObject current = null;
115
        EObject current = null;
127
116
128
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
117
        Token otherlv_0=null;
118
        Token otherlv_1=null;
119
        Token otherlv_2=null;
120
        Token otherlv_3=null;
121
        Token otherlv_4=null;
122
        Token otherlv_5=null;
123
        Token otherlv_6=null;
124
        Token otherlv_7=null;
125
126
         enterRule(); 
129
            
127
            
130
        try {
128
        try {
131
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:91:6: ( ( ( 'entry' ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* ) | ( 'exit' ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* ) )? )
129
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:79:28: ( ( (otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )? )
132
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:92:1: ( ( 'entry' ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* ) | ( 'exit' ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* ) )?
130
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:1: ( (otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )?
133
            {
131
            {
134
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:92:1: ( ( 'entry' ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* ) | ( 'exit' ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* ) )?
132
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:1: ( (otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )?
135
            int alt3=3;
133
            int alt3=3;
136
            int LA3_0 = input.LA(1);
134
            int LA3_0 = input.LA(1);
137
135
Lines 143-172 Link Here
143
            }
141
            }
144
            switch (alt3) {
142
            switch (alt3) {
145
                case 1 :
143
                case 1 :
146
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:92:2: ( 'entry' ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )
144
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:2: (otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* )
147
                    {
145
                    {
148
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:92:2: ( 'entry' ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )
146
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:2: (otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* )
149
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:92:4: 'entry' ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )*
147
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:4: otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )*
150
                    {
148
                    {
151
                    match(input,11,FOLLOW_11_in_ruleConnectionPointReferenceRule121); 
149
                    otherlv_0=(Token)match(input,11,FOLLOW_11_in_ruleConnectionPointReferenceRule123); 
152
150
153
                            createLeafNode(grammarAccess.getConnectionPointReferenceRuleAccess().getEntryKeyword_0_0(), null); 
151
                        	newLeafNode(otherlv_0, grammarAccess.getConnectionPointReferenceRuleAccess().getEntryKeyword_0_0());
154
                        
152
                        
155
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:96:1: ( ( RULE_ID ) )
153
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:84:1: ( (otherlv_1= RULE_ID ) )
156
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:97:1: ( RULE_ID )
154
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:85:1: (otherlv_1= RULE_ID )
157
                    {
155
                    {
158
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:97:1: ( RULE_ID )
156
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:85:1: (otherlv_1= RULE_ID )
159
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:98:3: RULE_ID
157
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:86:3: otherlv_1= RULE_ID
160
                    {
158
                    {
161
159
162
                    			if (current==null) {
160
                    			if (current==null) {
163
                    	            current = factory.create(grammarAccess.getConnectionPointReferenceRuleRule().getType().getClassifier());
161
                    	            current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
164
                    	            associateNodeWithAstElement(currentNode, current);
165
                    	        }
162
                    	        }
166
                            
163
                            
167
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule139); 
164
                    otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule143); 
168
165
169
                    		createLeafNode(grammarAccess.getConnectionPointReferenceRuleAccess().getEntryPseudostateCrossReference_0_1_0(), "entry"); 
166
                    		newLeafNode(otherlv_1, grammarAccess.getConnectionPointReferenceRuleAccess().getEntryPseudostateCrossReference_0_1_0()); 
170
                    	
167
                    	
171
168
172
                    }
169
                    }
Lines 174-180 Link Here
174
171
175
                    }
172
                    }
176
173
177
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:110:2: ( ',' ( ( RULE_ID ) ) )*
174
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:97:2: (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )*
178
                    loop1:
175
                    loop1:
179
                    do {
176
                    do {
180
                        int alt1=2;
177
                        int alt1=2;
Lines 187-213 Link Here
187
184
188
                        switch (alt1) {
185
                        switch (alt1) {
189
                    	case 1 :
186
                    	case 1 :
190
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:110:4: ',' ( ( RULE_ID ) )
187
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:97:4: otherlv_2= ',' ( (otherlv_3= RULE_ID ) )
191
                    	    {
188
                    	    {
192
                    	    match(input,12,FOLLOW_12_in_ruleConnectionPointReferenceRule150); 
189
                    	    otherlv_2=(Token)match(input,12,FOLLOW_12_in_ruleConnectionPointReferenceRule156); 
193
190
194
                    	            createLeafNode(grammarAccess.getConnectionPointReferenceRuleAccess().getCommaKeyword_0_2_0(), null); 
191
                    	        	newLeafNode(otherlv_2, grammarAccess.getConnectionPointReferenceRuleAccess().getCommaKeyword_0_2_0());
195
                    	        
192
                    	        
196
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:114:1: ( ( RULE_ID ) )
193
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:101:1: ( (otherlv_3= RULE_ID ) )
197
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:115:1: ( RULE_ID )
194
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:102:1: (otherlv_3= RULE_ID )
198
                    	    {
195
                    	    {
199
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:115:1: ( RULE_ID )
196
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:102:1: (otherlv_3= RULE_ID )
200
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:116:3: RULE_ID
197
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:103:3: otherlv_3= RULE_ID
201
                    	    {
198
                    	    {
202
199
203
                    	    			if (current==null) {
200
                    	    			if (current==null) {
204
                    	    	            current = factory.create(grammarAccess.getConnectionPointReferenceRuleRule().getType().getClassifier());
201
                    	    	            current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
205
                    	    	            associateNodeWithAstElement(currentNode, current);
206
                    	    	        }
202
                    	    	        }
207
                    	            
203
                    	            
208
                    	    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule168); 
204
                    	    otherlv_3=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule176); 
209
205
210
                    	    		createLeafNode(grammarAccess.getConnectionPointReferenceRuleAccess().getEntryPseudostateCrossReference_0_2_1_0(), "entry"); 
206
                    	    		newLeafNode(otherlv_3, grammarAccess.getConnectionPointReferenceRuleAccess().getEntryPseudostateCrossReference_0_2_1_0()); 
211
                    	    	
207
                    	    	
212
208
213
                    	    }
209
                    	    }
Lines 231-260 Link Here
231
                    }
227
                    }
232
                    break;
228
                    break;
233
                case 2 :
229
                case 2 :
234
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:129:6: ( 'exit' ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )
230
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:115:6: (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* )
235
                    {
231
                    {
236
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:129:6: ( 'exit' ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )* )
232
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:115:6: (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* )
237
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:129:8: 'exit' ( ( RULE_ID ) ) ( ',' ( ( RULE_ID ) ) )*
233
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:115:8: otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )*
238
                    {
234
                    {
239
                    match(input,13,FOLLOW_13_in_ruleConnectionPointReferenceRule188); 
235
                    otherlv_4=(Token)match(input,13,FOLLOW_13_in_ruleConnectionPointReferenceRule198); 
240
236
241
                            createLeafNode(grammarAccess.getConnectionPointReferenceRuleAccess().getExitKeyword_1_0(), null); 
237
                        	newLeafNode(otherlv_4, grammarAccess.getConnectionPointReferenceRuleAccess().getExitKeyword_1_0());
242
                        
238
                        
243
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:133:1: ( ( RULE_ID ) )
239
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:119:1: ( (otherlv_5= RULE_ID ) )
244
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:134:1: ( RULE_ID )
240
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:120:1: (otherlv_5= RULE_ID )
245
                    {
241
                    {
246
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:134:1: ( RULE_ID )
242
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:120:1: (otherlv_5= RULE_ID )
247
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:135:3: RULE_ID
243
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:121:3: otherlv_5= RULE_ID
248
                    {
244
                    {
249
245
250
                    			if (current==null) {
246
                    			if (current==null) {
251
                    	            current = factory.create(grammarAccess.getConnectionPointReferenceRuleRule().getType().getClassifier());
247
                    	            current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
252
                    	            associateNodeWithAstElement(currentNode, current);
253
                    	        }
248
                    	        }
254
                            
249
                            
255
                    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule206); 
250
                    otherlv_5=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule218); 
256
251
257
                    		createLeafNode(grammarAccess.getConnectionPointReferenceRuleAccess().getExitPseudostateCrossReference_1_1_0(), "exit"); 
252
                    		newLeafNode(otherlv_5, grammarAccess.getConnectionPointReferenceRuleAccess().getExitPseudostateCrossReference_1_1_0()); 
258
                    	
253
                    	
259
254
260
                    }
255
                    }
Lines 262-268 Link Here
262
257
263
                    }
258
                    }
264
259
265
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:147:2: ( ',' ( ( RULE_ID ) ) )*
260
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:132:2: (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )*
266
                    loop2:
261
                    loop2:
267
                    do {
262
                    do {
268
                        int alt2=2;
263
                        int alt2=2;
Lines 275-301 Link Here
275
270
276
                        switch (alt2) {
271
                        switch (alt2) {
277
                    	case 1 :
272
                    	case 1 :
278
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:147:4: ',' ( ( RULE_ID ) )
273
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:132:4: otherlv_6= ',' ( (otherlv_7= RULE_ID ) )
279
                    	    {
274
                    	    {
280
                    	    match(input,12,FOLLOW_12_in_ruleConnectionPointReferenceRule217); 
275
                    	    otherlv_6=(Token)match(input,12,FOLLOW_12_in_ruleConnectionPointReferenceRule231); 
281
276
282
                    	            createLeafNode(grammarAccess.getConnectionPointReferenceRuleAccess().getCommaKeyword_1_2_0(), null); 
277
                    	        	newLeafNode(otherlv_6, grammarAccess.getConnectionPointReferenceRuleAccess().getCommaKeyword_1_2_0());
283
                    	        
278
                    	        
284
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:151:1: ( ( RULE_ID ) )
279
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:136:1: ( (otherlv_7= RULE_ID ) )
285
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:152:1: ( RULE_ID )
280
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:137:1: (otherlv_7= RULE_ID )
286
                    	    {
281
                    	    {
287
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:152:1: ( RULE_ID )
282
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:137:1: (otherlv_7= RULE_ID )
288
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:153:3: RULE_ID
283
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:138:3: otherlv_7= RULE_ID
289
                    	    {
284
                    	    {
290
285
291
                    	    			if (current==null) {
286
                    	    			if (current==null) {
292
                    	    	            current = factory.create(grammarAccess.getConnectionPointReferenceRuleRule().getType().getClassifier());
287
                    	    	            current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
293
                    	    	            associateNodeWithAstElement(currentNode, current);
294
                    	    	        }
288
                    	    	        }
295
                    	            
289
                    	            
296
                    	    match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule235); 
290
                    	    otherlv_7=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule251); 
297
291
298
                    	    		createLeafNode(grammarAccess.getConnectionPointReferenceRuleAccess().getExitPseudostateCrossReference_1_2_1_0(), "exit"); 
292
                    	    		newLeafNode(otherlv_7, grammarAccess.getConnectionPointReferenceRuleAccess().getExitPseudostateCrossReference_1_2_1_0()); 
299
                    	    	
293
                    	    	
300
294
301
                    	    }
295
                    	    }
Lines 324-332 Link Here
324
318
325
            }
319
            }
326
320
327
             resetLookahead(); 
321
             leaveRule(); 
328
                	lastConsumedNode = currentNode;
329
                
330
        }
322
        }
331
         
323
         
332
            catch (RecognitionException re) { 
324
            catch (RecognitionException re) { 
Lines 337-356 Link Here
337
        }
329
        }
338
        return current;
330
        return current;
339
    }
331
    }
340
    // $ANTLR end ruleConnectionPointReferenceRule
332
    // $ANTLR end "ruleConnectionPointReferenceRule"
341
333
334
    // Delegated rules
335
342
336
343
 
337
 
344
338
345
    public static final BitSet FOLLOW_ruleConnectionPointReferenceRule_in_entryRuleConnectionPointReferenceRule75 = new BitSet(new long[]{0x0000000000000000L});
339
    public static final BitSet FOLLOW_ruleConnectionPointReferenceRule_in_entryRuleConnectionPointReferenceRule75 = new BitSet(new long[]{0x0000000000000000L});
346
    public static final BitSet FOLLOW_EOF_in_entryRuleConnectionPointReferenceRule85 = new BitSet(new long[]{0x0000000000000002L});
340
    public static final BitSet FOLLOW_EOF_in_entryRuleConnectionPointReferenceRule85 = new BitSet(new long[]{0x0000000000000002L});
347
    public static final BitSet FOLLOW_11_in_ruleConnectionPointReferenceRule121 = new BitSet(new long[]{0x0000000000000010L});
341
    public static final BitSet FOLLOW_11_in_ruleConnectionPointReferenceRule123 = new BitSet(new long[]{0x0000000000000010L});
348
    public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule139 = new BitSet(new long[]{0x0000000000001002L});
342
    public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule143 = new BitSet(new long[]{0x0000000000001002L});
349
    public static final BitSet FOLLOW_12_in_ruleConnectionPointReferenceRule150 = new BitSet(new long[]{0x0000000000000010L});
343
    public static final BitSet FOLLOW_12_in_ruleConnectionPointReferenceRule156 = new BitSet(new long[]{0x0000000000000010L});
350
    public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule168 = new BitSet(new long[]{0x0000000000001002L});
344
    public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule176 = new BitSet(new long[]{0x0000000000001002L});
351
    public static final BitSet FOLLOW_13_in_ruleConnectionPointReferenceRule188 = new BitSet(new long[]{0x0000000000000010L});
345
    public static final BitSet FOLLOW_13_in_ruleConnectionPointReferenceRule198 = new BitSet(new long[]{0x0000000000000010L});
352
    public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule206 = new BitSet(new long[]{0x0000000000001002L});
346
    public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule218 = new BitSet(new long[]{0x0000000000001002L});
353
    public static final BitSet FOLLOW_12_in_ruleConnectionPointReferenceRule217 = new BitSet(new long[]{0x0000000000000010L});
347
    public static final BitSet FOLLOW_12_in_ruleConnectionPointReferenceRule231 = new BitSet(new long[]{0x0000000000000010L});
354
    public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule235 = new BitSet(new long[]{0x0000000000001002L});
348
    public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule251 = new BitSet(new long[]{0x0000000000001002L});
355
349
356
}
350
}
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/UMLConnectionPointReference.ecore (-2 / +2 lines)
Lines 6-13 Link Here
6
    nsPrefix="uMLConnectionPointReference">
6
    nsPrefix="uMLConnectionPointReference">
7
  <eClassifiers xsi:type="ecore:EClass" name="ConnectionPointReferenceRule">
7
  <eClassifiers xsi:type="ecore:EClass" name="ConnectionPointReferenceRule">
8
    <eStructuralFeatures xsi:type="ecore:EReference" name="entry" unique="false" upperBound="-1"
8
    <eStructuralFeatures xsi:type="ecore:EReference" name="entry" unique="false" upperBound="-1"
9
        eType="ecore:EClass ../../../../../../../model/UML.ecore#//Pseudostate"/>
9
        eType="ecore:EClass platform:/resource/org.eclipse.papyrus.connectionpointreference.editor.xtext/model/UML.ecore#//Pseudostate"/>
10
    <eStructuralFeatures xsi:type="ecore:EReference" name="exit" unique="false" upperBound="-1"
10
    <eStructuralFeatures xsi:type="ecore:EReference" name="exit" unique="false" upperBound="-1"
11
        eType="ecore:EClass ../../../../../../../model/UML.ecore#//Pseudostate"/>
11
        eType="ecore:EClass platform:/resource/org.eclipse.papyrus.connectionpointreference.editor.xtext/model/UML.ecore#//Pseudostate"/>
12
  </eClassifiers>
12
  </eClassifiers>
13
</ecore:EPackage>
13
</ecore:EPackage>
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/parseTreeConstruction/UMLConnectionPointReferenceParsetreeConstructor.java (-13 / +3 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/*
2
 * Copyright (c) 2010 CEA LIST.
2
* generated by Xtext
3
 *
3
*/
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.parseTreeConstruction;
4
package org.eclipse.papyrus.connectionpointreference.editor.xtext.parseTreeConstruction;
15
5
16
import org.eclipse.emf.ecore.*;
6
import org.eclipse.emf.ecore.*;
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/validation/AbstractUMLConnectionPointReferenceJavaValidator.java (-14 / +1 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.validation;
1
package org.eclipse.papyrus.connectionpointreference.editor.xtext.validation;
15
 
2
 
16
import java.util.ArrayList;
3
import java.util.ArrayList;
Lines 23-29 Link Here
23
@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class})
10
@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class})
24
public class AbstractUMLConnectionPointReferenceJavaValidator extends AbstractDeclarativeValidator {
11
public class AbstractUMLConnectionPointReferenceJavaValidator extends AbstractDeclarativeValidator {
25
12
26
@Override
13
	@Override
27
	protected List<EPackage> getEPackages() {
14
	protected List<EPackage> getEPackages() {
28
	    List<EPackage> result = new ArrayList<EPackage>();
15
	    List<EPackage> result = new ArrayList<EPackage>();
29
	    result.add(org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage.eINSTANCE);
16
	    result.add(org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage.eINSTANCE);
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/UMLConnectionPointReferenceStandaloneSetupGenerated.java (-14 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
1
15
package org.eclipse.papyrus.connectionpointreference.editor.xtext;
2
package org.eclipse.papyrus.connectionpointreference.editor.xtext;
16
3
Lines 52-57 Link Here
52
39
53
40
54
41
55
56
	}
42
	}
57
}
43
}
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/UMLConnectionPointReference.genmodel (-5 / +5 lines)
Lines 8-19 Link Here
8
    modelName="UMLConnectionPointReference" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
8
    modelName="UMLConnectionPointReference" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
9
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.connectionpointreference.editor.xtext.edit"
9
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.connectionpointreference.editor.xtext.edit"
10
    editorPluginID="org.eclipse.papyrus.connectionpointreference.editor.xtext.editor"
10
    editorPluginID="org.eclipse.papyrus.connectionpointreference.editor.xtext.editor"
11
    usedGenPackages="../../../../../../../model/UML.genmodel#//uml">
11
    usedGenPackages="platform:/resource/org.eclipse.papyrus.connectionpointreference.editor.xtext/model/UML.genmodel#//uml">
12
  <genPackages prefix="UMLConnectionPointReference" basePackage="org.eclipse.papyrus.connectionpointreference.editor.xtext"
12
  <genPackages prefix="UMLConnectionPointReference" basePackage="org.eclipse.papyrus.connectionpointreference.editor.xtext"
13
      resource="XML" disposableProviderFactory="true" ecorePackage="UMLConnectionPointReference.ecore#/">
13
      resource="XML" disposableProviderFactory="true" ecorePackage="platform:/resource/org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/UMLConnectionPointReference.ecore#/">
14
    <genClasses ecoreClass="UMLConnectionPointReference.ecore#//ConnectionPointReferenceRule">
14
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/UMLConnectionPointReference.ecore#//ConnectionPointReferenceRule">
15
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UMLConnectionPointReference.ecore#//ConnectionPointReferenceRule/entry"/>
15
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/UMLConnectionPointReference.ecore#//ConnectionPointReferenceRule/entry"/>
16
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UMLConnectionPointReference.ecore#//ConnectionPointReferenceRule/exit"/>
16
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.connectionpointreference.editor.xtext/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/UMLConnectionPointReference.ecore#//ConnectionPointReferenceRule/exit"/>
17
    </genClasses>
17
    </genClasses>
18
  </genPackages>
18
  </genPackages>
19
</genmodel:GenModel>
19
</genmodel:GenModel>
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/AbstractUMLConnectionPointReferenceRuntimeModule.java (-16 / +11 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/*
2
 * Copyright (c) 2010 CEA LIST.
2
 * generated by Xtext
3
 *
3
 */
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext;
4
package org.eclipse.papyrus.connectionpointreference.editor.xtext;
15
5
16
import java.util.Properties;
6
import java.util.Properties;
Lines 55-61 Link Here
55
	}
45
	}
56
46
57
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
47
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
58
	public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrParser> bindIAntlrParser() {
48
	public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
59
		return org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr.UMLConnectionPointReferenceParser.class;
49
		return org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr.UMLConnectionPointReferenceParser.class;
60
	}
50
	}
61
51
Lines 101-107 Link Here
101
91
102
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
92
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
103
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
93
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
104
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named("org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegate")).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
94
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
105
	}
95
	}
106
96
107
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
97
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
Lines 109-114 Link Here
109
		return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
99
		return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
110
	}
100
	}
111
101
102
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
103
	public void configureIgnoreCaseLinking(com.google.inject.Binder binder) {
104
		binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false);
105
	}
106
112
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
107
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
113
	public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
108
	public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
114
		return org.eclipse.xtext.naming.SimpleNameProvider.class;
109
		return org.eclipse.xtext.naming.SimpleNameProvider.class;
Lines 136-142 Link Here
136
131
137
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
132
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
138
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
133
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
139
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
134
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
140
	}
135
	}
141
136
142
}
137
}
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferenceFactoryImpl.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.impl;
7
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.impl;
15
8
16
import org.eclipse.emf.ecore.EClass;
9
import org.eclipse.emf.ecore.EClass;
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/uMLConnectionPointReference/impl/ConnectionPointReferenceRuleImpl.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.impl;
7
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.impl;
15
8
16
import java.util.Collection;
9
import java.util.Collection;
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferencePackageImpl.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.impl;
7
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.impl;
15
8
16
import org.eclipse.emf.ecore.EClass;
9
import org.eclipse.emf.ecore.EClass;
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/uMLConnectionPointReference/ConnectionPointReferenceRule.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference;
7
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference;
15
8
16
import org.eclipse.emf.common.util.EList;
9
import org.eclipse.emf.common.util.EList;
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/uMLConnectionPointReference/UMLConnectionPointReferencePackage.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference;
7
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference;
15
8
16
import org.eclipse.emf.ecore.EClass;
9
import org.eclipse.emf.ecore.EClass;
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceFactoryImpl.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.util;
7
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.util;
15
8
16
import org.eclipse.emf.common.util.URI;
9
import org.eclipse.emf.common.util.URI;
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceXMLProcessor.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.util;
7
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.util;
15
8
16
import java.util.Map;
9
import java.util.Map;
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceSwitch.java (-43 / +17 lines)
Lines 1-22 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.util;
15
5
16
import java.util.List;
6
 */
7
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.util;
17
8
18
import org.eclipse.emf.ecore.EClass;
19
import org.eclipse.emf.ecore.EObject;
9
import org.eclipse.emf.ecore.EObject;
10
import org.eclipse.emf.ecore.EPackage;
11
12
import org.eclipse.emf.ecore.util.Switch;
20
13
21
import org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.*;
14
import org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.*;
22
15
Lines 33-39 Link Here
33
 * @see org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage
26
 * @see org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage
34
 * @generated
27
 * @generated
35
 */
28
 */
36
public class UMLConnectionPointReferenceSwitch<T>
29
public class UMLConnectionPointReferenceSwitch<T> extends Switch<T>
37
{
30
{
38
  /**
31
  /**
39
   * The cached model package
32
   * The cached model package
Lines 58-72 Link Here
58
  }
51
  }
59
52
60
  /**
53
  /**
61
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
54
   * Checks whether this is a switch for the given package.
62
   * <!-- begin-user-doc -->
55
   * <!-- begin-user-doc -->
63
   * <!-- end-user-doc -->
56
   * <!-- end-user-doc -->
64
   * @return the first non-null result returned by a <code>caseXXX</code> call.
57
   * @parameter ePackage the package in question.
58
   * @return whether this is a switch for the given package.
65
   * @generated
59
   * @generated
66
   */
60
   */
67
  public T doSwitch(EObject theEObject)
61
  @Override
62
  protected boolean isSwitchFor(EPackage ePackage)
68
  {
63
  {
69
    return doSwitch(theEObject.eClass(), theEObject);
64
    return ePackage == modelPackage;
70
  }
65
  }
71
66
72
  /**
67
  /**
Lines 76-104 Link Here
76
   * @return the first non-null result returned by a <code>caseXXX</code> call.
71
   * @return the first non-null result returned by a <code>caseXXX</code> call.
77
   * @generated
72
   * @generated
78
   */
73
   */
79
  protected T doSwitch(EClass theEClass, EObject theEObject)
74
  @Override
80
  {
81
    if (theEClass.eContainer() == modelPackage)
82
    {
83
      return doSwitch(theEClass.getClassifierID(), theEObject);
84
    }
85
    else
86
    {
87
      List<EClass> eSuperTypes = theEClass.getESuperTypes();
88
      return
89
        eSuperTypes.isEmpty() ?
90
          defaultCase(theEObject) :
91
          doSwitch(eSuperTypes.get(0), theEObject);
92
    }
93
  }
94
95
  /**
96
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
97
   * <!-- begin-user-doc -->
98
   * <!-- end-user-doc -->
99
   * @return the first non-null result returned by a <code>caseXXX</code> call.
100
   * @generated
101
   */
102
  protected T doSwitch(int classifierID, EObject theEObject)
75
  protected T doSwitch(int classifierID, EObject theEObject)
103
  {
76
  {
104
    switch (classifierID)
77
    switch (classifierID)
Lines 141-146 Link Here
141
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
114
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
142
   * @generated
115
   * @generated
143
   */
116
   */
117
  @Override
144
  public T defaultCase(EObject object)
118
  public T defaultCase(EObject object)
145
  {
119
  {
146
    return null;
120
    return null;
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceAdapterFactory.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.util;
7
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.util;
15
8
16
import org.eclipse.emf.common.notify.Adapter;
9
import org.eclipse.emf.common.notify.Adapter;
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceImpl.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.util;
7
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference.util;
15
8
16
import org.eclipse.emf.common.util.URI;
9
import org.eclipse.emf.common.util.URI;
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/uMLConnectionPointReference/UMLConnectionPointReferenceFactory.java (-12 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/**
2
 * Copyright (c) 2010 CEA LIST.
2
 * <copyright>
3
 *
3
 * </copyright>
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
4
 *
13
 *****************************************************************************/
5
6
 */
14
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference;
7
package org.eclipse.papyrus.connectionpointreference.editor.xtext.uMLConnectionPointReference;
15
8
16
import org.eclipse.emf.ecore.EFactory;
9
import org.eclipse.emf.ecore.EFactory;
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/services/UMLConnectionPointReferenceGrammarAccess.java (-15 / +5 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/*
2
 * Copyright (c) 2010 CEA LIST.
2
* generated by Xtext
3
 *
3
*/
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
4
15
package org.eclipse.papyrus.connectionpointreference.editor.xtext.services;
5
package org.eclipse.papyrus.connectionpointreference.editor.xtext.services;
16
6
Lines 169-176 Link Here
169
	} 
159
	} 
170
160
171
	//terminal STRING:
161
	//terminal STRING:
172
	//	"\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" | "n" |
162
	//	"\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" |
173
	//	"f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
163
	//	"n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
174
	public TerminalRule getSTRINGRule() {
164
	public TerminalRule getSTRINGRule() {
175
		return gaTerminals.getSTRINGRule();
165
		return gaTerminals.getSTRINGRule();
176
	} 
166
	} 
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/UMLConnectionPointReference.xmi (+2 lines)
Lines 122-127 Link Here
122
                <elements xsi:type="xtext:Keyword" value="n"/>
122
                <elements xsi:type="xtext:Keyword" value="n"/>
123
                <elements xsi:type="xtext:Keyword" value="f"/>
123
                <elements xsi:type="xtext:Keyword" value="f"/>
124
                <elements xsi:type="xtext:Keyword" value="r"/>
124
                <elements xsi:type="xtext:Keyword" value="r"/>
125
                <elements xsi:type="xtext:Keyword" value="u"/>
125
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
126
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
126
                <elements xsi:type="xtext:Keyword" value="'"/>
127
                <elements xsi:type="xtext:Keyword" value="'"/>
127
                <elements xsi:type="xtext:Keyword" value="\"/>
128
                <elements xsi:type="xtext:Keyword" value="\"/>
Lines 147-152 Link Here
147
                <elements xsi:type="xtext:Keyword" value="n"/>
148
                <elements xsi:type="xtext:Keyword" value="n"/>
148
                <elements xsi:type="xtext:Keyword" value="f"/>
149
                <elements xsi:type="xtext:Keyword" value="f"/>
149
                <elements xsi:type="xtext:Keyword" value="r"/>
150
                <elements xsi:type="xtext:Keyword" value="r"/>
151
                <elements xsi:type="xtext:Keyword" value="u"/>
150
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
152
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
151
                <elements xsi:type="xtext:Keyword" value="'"/>
153
                <elements xsi:type="xtext:Keyword" value="'"/>
152
                <elements xsi:type="xtext:Keyword" value="\"/>
154
                <elements xsi:type="xtext:Keyword" value="\"/>
(-)model/VSL.genmodel (-144 lines)
Lines 1-144 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<genmodel:GenModel xmi:version="2.0"
3
    xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
4
    xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.papyrus.marte.vsl/src-gen"
5
    editDirectory="/org.eclipse.papyrus.marte.vsl.edit/src" editorDirectory="/org.eclipse.papyrus.marte.vsl.editor/src"
6
    modelPluginID="org.eclipse.papyrus.marte.vsl" forceOverwrite="true" modelName="VSL"
7
    updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.marte.vsl.edit"
9
    editorPluginID="org.eclipse.papyrus.marte.vsl.editor" usedGenPackages="../../../../../../model/UML.genmodel#//uml">
10
  <genPackages prefix="VSL" basePackage="org.eclipse.papyrus.marte.vsl" resource="XML"
11
      disposableProviderFactory="true" ecorePackage="VSL.ecore#/">
12
    <genClasses ecoreClass="VSL.ecore#//Model">
13
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Model/imports"/>
14
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Model/context"/>
15
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Model/value"/>
16
    </genClasses>
17
    <genClasses ecoreClass="VSL.ecore#//Import">
18
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//Import/importURI"/>
19
    </genClasses>
20
    <genClasses ecoreClass="VSL.ecore#//Context">
21
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//Context/context"/>
22
    </genClasses>
23
    <genClasses ecoreClass="VSL.ecore#//Expression">
24
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Expression/exp"/>
25
    </genClasses>
26
    <genClasses ecoreClass="VSL.ecore#//AndOrXorExpression">
27
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//AndOrXorExpression/exp"/>
28
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//AndOrXorExpression/op"/>
29
    </genClasses>
30
    <genClasses ecoreClass="VSL.ecore#//EqualityExpression">
31
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//EqualityExpression/exp"/>
32
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//EqualityExpression/op"/>
33
    </genClasses>
34
    <genClasses ecoreClass="VSL.ecore#//RelationalExpression">
35
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//RelationalExpression/exp"/>
36
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//RelationalExpression/op"/>
37
    </genClasses>
38
    <genClasses ecoreClass="VSL.ecore#//ConditionalExpression">
39
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//ConditionalExpression/exp"/>
40
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//ConditionalExpression/op"/>
41
    </genClasses>
42
    <genClasses ecoreClass="VSL.ecore#//AdditiveExpression">
43
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//AdditiveExpression/exp"/>
44
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//AdditiveExpression/op"/>
45
    </genClasses>
46
    <genClasses ecoreClass="VSL.ecore#//MultiplicativeExpression">
47
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//MultiplicativeExpression/exp"/>
48
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//MultiplicativeExpression/op"/>
49
    </genClasses>
50
    <genClasses ecoreClass="VSL.ecore#//UnaryExpression">
51
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//UnaryExpression/op"/>
52
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//UnaryExpression/unary"/>
53
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//UnaryExpression/exp"/>
54
    </genClasses>
55
    <genClasses ecoreClass="VSL.ecore#//PrimaryExpression">
56
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//PrimaryExpression/prefix"/>
57
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//PrimaryExpression/suffix"/>
58
    </genClasses>
59
    <genClasses ecoreClass="VSL.ecore#//ValueSpecification"/>
60
    <genClasses ecoreClass="VSL.ecore#//OperationCallExpression">
61
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//OperationCallExpression/operation"/>
62
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//OperationCallExpression/arguments"/>
63
    </genClasses>
64
    <genClasses ecoreClass="VSL.ecore#//Literal">
65
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//Literal/value"/>
66
    </genClasses>
67
    <genClasses ecoreClass="VSL.ecore#//Name">
68
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Name/path"/>
69
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//Name/id"/>
70
    </genClasses>
71
    <genClasses ecoreClass="VSL.ecore#//QualifiedName">
72
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//QualifiedName/path"/>
73
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//QualifiedName/remaining"/>
74
    </genClasses>
75
    <genClasses ecoreClass="VSL.ecore#//Interval">
76
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//Interval/isLowerIncluded"/>
77
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Interval/lower"/>
78
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Interval/upper"/>
79
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//Interval/isUpperIncluded"/>
80
    </genClasses>
81
    <genClasses ecoreClass="VSL.ecore#//CollectionOrTuple">
82
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//CollectionOrTuple/listOfValues"/>
83
    </genClasses>
84
    <genClasses ecoreClass="VSL.ecore#//Tuple">
85
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Tuple/listOfValueNamePairs"/>
86
    </genClasses>
87
    <genClasses ecoreClass="VSL.ecore#//Choice">
88
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//Choice/chosenAlternative"/>
89
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Choice/value"/>
90
    </genClasses>
91
    <genClasses ecoreClass="VSL.ecore#//ListOfValues">
92
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//ListOfValues/values"/>
93
    </genClasses>
94
    <genClasses ecoreClass="VSL.ecore#//ListOfValueNamePairs">
95
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//ListOfValueNamePairs/valueNamePairs"/>
96
    </genClasses>
97
    <genClasses ecoreClass="VSL.ecore#//ValueNamePair">
98
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//ValueNamePair/property"/>
99
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//ValueNamePair/value"/>
100
    </genClasses>
101
    <genClasses ecoreClass="VSL.ecore#//TimeExpression"/>
102
    <genClasses ecoreClass="VSL.ecore#//InstantObsExpression">
103
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//InstantObsExpression/id"/>
104
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//InstantObsExpression/index"/>
105
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//InstantObsExpression/condition"/>
106
    </genClasses>
107
    <genClasses ecoreClass="VSL.ecore#//InstantObsName">
108
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//InstantObsName/path"/>
109
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//InstantObsName/instantId"/>
110
    </genClasses>
111
    <genClasses ecoreClass="VSL.ecore#//DurationObsExpression">
112
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//DurationObsExpression/id"/>
113
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//DurationObsExpression/index"/>
114
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//DurationObsExpression/condition"/>
115
    </genClasses>
116
    <genClasses ecoreClass="VSL.ecore#//DurationObsName">
117
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//DurationObsName/path"/>
118
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//DurationObsName/durationId"/>
119
    </genClasses>
120
    <genClasses ecoreClass="VSL.ecore#//JitterExp">
121
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//JitterExp/firstInstant"/>
122
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//JitterExp/secondInstant"/>
123
    </genClasses>
124
    <genClasses ecoreClass="VSL.ecore#//VariableDeclaration">
125
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//VariableDeclaration/variableDeclaration"/>
126
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//VariableDeclaration/name"/>
127
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//VariableDeclaration/type"/>
128
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//VariableDeclaration/initValue"/>
129
    </genClasses>
130
    <genClasses ecoreClass="VSL.ecore#//DataTypeName">
131
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//DataTypeName/path"/>
132
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//DataTypeName/type"/>
133
    </genClasses>
134
    <genClasses ecoreClass="VSL.ecore#//NumberLiteralRule"/>
135
    <genClasses ecoreClass="VSL.ecore#//IntegerLiteralRule"/>
136
    <genClasses ecoreClass="VSL.ecore#//UnlimitedLiteralRule"/>
137
    <genClasses ecoreClass="VSL.ecore#//RealLiteralRule"/>
138
    <genClasses ecoreClass="VSL.ecore#//DateTimeLiteralRule"/>
139
    <genClasses ecoreClass="VSL.ecore#//BooleanLiteralRule"/>
140
    <genClasses ecoreClass="VSL.ecore#//NullLiteralRule"/>
141
    <genClasses ecoreClass="VSL.ecore#//DefaultLiteralRule"/>
142
    <genClasses ecoreClass="VSL.ecore#//StringLiteralRule"/>
143
  </genPackages>
144
</genmodel:GenModel>
(-)model/VSL.ecore (-181 lines)
Lines 1-181 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ecore:EPackage xmi:version="2.0"
3
    xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="vSL"
5
    nsURI="http://www.eclipse.org/papyrus/marte/vsl/VSL" nsPrefix="vSL">
6
  <eClassifiers xsi:type="ecore:EClass" name="Model">
7
    <eStructuralFeatures xsi:type="ecore:EReference" name="imports" eType="#//Import"
8
        containment="true"/>
9
    <eStructuralFeatures xsi:type="ecore:EReference" name="context" eType="#//Context"
10
        containment="true"/>
11
    <eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="#//Expression"
12
        containment="true"/>
13
  </eClassifiers>
14
  <eClassifiers xsi:type="ecore:EClass" name="Import">
15
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="importURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
16
  </eClassifiers>
17
  <eClassifiers xsi:type="ecore:EClass" name="Context">
18
    <eStructuralFeatures xsi:type="ecore:EReference" name="context" eType="ecore:EClass ../../../../../../model/UML.ecore#//NamedElement"/>
19
  </eClassifiers>
20
  <eClassifiers xsi:type="ecore:EClass" name="Expression" eSuperTypes="#//ValueSpecification">
21
    <eStructuralFeatures xsi:type="ecore:EReference" name="exp" eType="#//AndOrXorExpression"
22
        containment="true"/>
23
  </eClassifiers>
24
  <eClassifiers xsi:type="ecore:EClass" name="AndOrXorExpression">
25
    <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//EqualityExpression"
26
        containment="true"/>
27
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
28
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
29
  </eClassifiers>
30
  <eClassifiers xsi:type="ecore:EClass" name="EqualityExpression">
31
    <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//RelationalExpression"
32
        containment="true"/>
33
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
34
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
35
  </eClassifiers>
36
  <eClassifiers xsi:type="ecore:EClass" name="RelationalExpression">
37
    <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//ConditionalExpression"
38
        containment="true"/>
39
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
40
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
41
  </eClassifiers>
42
  <eClassifiers xsi:type="ecore:EClass" name="ConditionalExpression">
43
    <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//AdditiveExpression"
44
        containment="true"/>
45
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
46
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
47
  </eClassifiers>
48
  <eClassifiers xsi:type="ecore:EClass" name="AdditiveExpression">
49
    <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//MultiplicativeExpression"
50
        containment="true"/>
51
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
52
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
53
  </eClassifiers>
54
  <eClassifiers xsi:type="ecore:EClass" name="MultiplicativeExpression">
55
    <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//UnaryExpression"
56
        containment="true"/>
57
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
58
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
59
  </eClassifiers>
60
  <eClassifiers xsi:type="ecore:EClass" name="UnaryExpression">
61
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
62
    <eStructuralFeatures xsi:type="ecore:EReference" name="unary" eType="#//UnaryExpression"
63
        containment="true"/>
64
    <eStructuralFeatures xsi:type="ecore:EReference" name="exp" eType="#//PrimaryExpression"
65
        containment="true"/>
66
  </eClassifiers>
67
  <eClassifiers xsi:type="ecore:EClass" name="PrimaryExpression">
68
    <eStructuralFeatures xsi:type="ecore:EReference" name="prefix" eType="#//ValueSpecification"
69
        containment="true"/>
70
    <eStructuralFeatures xsi:type="ecore:EReference" name="suffix" eType="#//OperationCallExpression"
71
        containment="true"/>
72
  </eClassifiers>
73
  <eClassifiers xsi:type="ecore:EClass" name="ValueSpecification"/>
74
  <eClassifiers xsi:type="ecore:EClass" name="OperationCallExpression">
75
    <eStructuralFeatures xsi:type="ecore:EReference" name="operation" eType="ecore:EClass ../../../../../../model/UML.ecore#//Operation"/>
76
    <eStructuralFeatures xsi:type="ecore:EReference" name="arguments" eType="#//ListOfValues"
77
        containment="true"/>
78
  </eClassifiers>
79
  <eClassifiers xsi:type="ecore:EClass" name="Literal" eSuperTypes="#//ValueSpecification">
80
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
81
  </eClassifiers>
82
  <eClassifiers xsi:type="ecore:EClass" name="Name" eSuperTypes="#//ValueSpecification">
83
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="#//QualifiedName"
84
        containment="true"/>
85
    <eStructuralFeatures xsi:type="ecore:EReference" name="id" eType="ecore:EClass ../../../../../../model/UML.ecore#//NamedElement"/>
86
  </eClassifiers>
87
  <eClassifiers xsi:type="ecore:EClass" name="QualifiedName">
88
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="ecore:EClass ../../../../../../model/UML.ecore#//Namespace"/>
89
    <eStructuralFeatures xsi:type="ecore:EReference" name="remaining" eType="#//QualifiedName"
90
        containment="true"/>
91
  </eClassifiers>
92
  <eClassifiers xsi:type="ecore:EClass" name="Interval" eSuperTypes="#//ValueSpecification">
93
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="isLowerIncluded" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
94
    <eStructuralFeatures xsi:type="ecore:EReference" name="lower" eType="#//Expression"
95
        containment="true"/>
96
    <eStructuralFeatures xsi:type="ecore:EReference" name="upper" eType="#//Expression"
97
        containment="true"/>
98
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="isUpperIncluded" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
99
  </eClassifiers>
100
  <eClassifiers xsi:type="ecore:EClass" name="CollectionOrTuple" eSuperTypes="#//ValueSpecification">
101
    <eStructuralFeatures xsi:type="ecore:EReference" name="listOfValues" eType="#//ListOfValues"
102
        containment="true"/>
103
  </eClassifiers>
104
  <eClassifiers xsi:type="ecore:EClass" name="Tuple" eSuperTypes="#//ValueSpecification">
105
    <eStructuralFeatures xsi:type="ecore:EReference" name="listOfValueNamePairs" eType="#//ListOfValueNamePairs"
106
        containment="true"/>
107
  </eClassifiers>
108
  <eClassifiers xsi:type="ecore:EClass" name="Choice" eSuperTypes="#//ValueSpecification">
109
    <eStructuralFeatures xsi:type="ecore:EReference" name="chosenAlternative" eType="ecore:EClass ../../../../../../model/UML.ecore#//Property"/>
110
    <eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="#//Expression"
111
        containment="true"/>
112
  </eClassifiers>
113
  <eClassifiers xsi:type="ecore:EClass" name="ListOfValues">
114
    <eStructuralFeatures xsi:type="ecore:EReference" name="values" upperBound="-1"
115
        eType="#//Expression" containment="true"/>
116
  </eClassifiers>
117
  <eClassifiers xsi:type="ecore:EClass" name="ListOfValueNamePairs">
118
    <eStructuralFeatures xsi:type="ecore:EReference" name="valueNamePairs" upperBound="-1"
119
        eType="#//ValueNamePair" containment="true"/>
120
  </eClassifiers>
121
  <eClassifiers xsi:type="ecore:EClass" name="ValueNamePair">
122
    <eStructuralFeatures xsi:type="ecore:EReference" name="property" eType="ecore:EClass ../../../../../../model/UML.ecore#//Property"/>
123
    <eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="#//Expression"
124
        containment="true"/>
125
  </eClassifiers>
126
  <eClassifiers xsi:type="ecore:EClass" name="TimeExpression" eSuperTypes="#//ValueSpecification"/>
127
  <eClassifiers xsi:type="ecore:EClass" name="InstantObsExpression" eSuperTypes="#//TimeExpression">
128
    <eStructuralFeatures xsi:type="ecore:EReference" name="id" eType="#//InstantObsName"
129
        containment="true"/>
130
    <eStructuralFeatures xsi:type="ecore:EReference" name="index" eType="#//Expression"
131
        containment="true"/>
132
    <eStructuralFeatures xsi:type="ecore:EReference" name="condition" eType="#//Expression"
133
        containment="true"/>
134
  </eClassifiers>
135
  <eClassifiers xsi:type="ecore:EClass" name="InstantObsName">
136
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" unique="false" upperBound="-1"
137
        eType="ecore:EClass ../../../../../../model/UML.ecore#//Namespace"/>
138
    <eStructuralFeatures xsi:type="ecore:EReference" name="instantId" eType="ecore:EClass ../../../../../../model/UML.ecore#//TimeObservation"/>
139
  </eClassifiers>
140
  <eClassifiers xsi:type="ecore:EClass" name="DurationObsExpression" eSuperTypes="#//TimeExpression">
141
    <eStructuralFeatures xsi:type="ecore:EReference" name="id" eType="#//DurationObsName"
142
        containment="true"/>
143
    <eStructuralFeatures xsi:type="ecore:EReference" name="index" eType="#//Expression"
144
        containment="true"/>
145
    <eStructuralFeatures xsi:type="ecore:EReference" name="condition" eType="#//Expression"
146
        containment="true"/>
147
  </eClassifiers>
148
  <eClassifiers xsi:type="ecore:EClass" name="DurationObsName">
149
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" unique="false" upperBound="-1"
150
        eType="ecore:EClass ../../../../../../model/UML.ecore#//Namespace"/>
151
    <eStructuralFeatures xsi:type="ecore:EReference" name="durationId" eType="ecore:EClass ../../../../../../model/UML.ecore#//DurationObservation"/>
152
  </eClassifiers>
153
  <eClassifiers xsi:type="ecore:EClass" name="JitterExp" eSuperTypes="#//TimeExpression">
154
    <eStructuralFeatures xsi:type="ecore:EReference" name="firstInstant" eType="#//InstantObsExpression"
155
        containment="true"/>
156
    <eStructuralFeatures xsi:type="ecore:EReference" name="secondInstant" eType="#//InstantObsExpression"
157
        containment="true"/>
158
  </eClassifiers>
159
  <eClassifiers xsi:type="ecore:EClass" name="VariableDeclaration" eSuperTypes="#//ValueSpecification">
160
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="variableDeclaration" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
161
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
162
    <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//DataTypeName"
163
        containment="true"/>
164
    <eStructuralFeatures xsi:type="ecore:EReference" name="initValue" eType="#//Expression"
165
        containment="true"/>
166
  </eClassifiers>
167
  <eClassifiers xsi:type="ecore:EClass" name="DataTypeName">
168
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" unique="false" upperBound="-1"
169
        eType="ecore:EClass ../../../../../../model/UML.ecore#//Namespace"/>
170
    <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="ecore:EClass ../../../../../../model/UML.ecore#//DataType"/>
171
  </eClassifiers>
172
  <eClassifiers xsi:type="ecore:EClass" name="NumberLiteralRule" eSuperTypes="#//Literal"/>
173
  <eClassifiers xsi:type="ecore:EClass" name="IntegerLiteralRule" eSuperTypes="#//NumberLiteralRule"/>
174
  <eClassifiers xsi:type="ecore:EClass" name="UnlimitedLiteralRule" eSuperTypes="#//NumberLiteralRule"/>
175
  <eClassifiers xsi:type="ecore:EClass" name="RealLiteralRule" eSuperTypes="#//NumberLiteralRule"/>
176
  <eClassifiers xsi:type="ecore:EClass" name="DateTimeLiteralRule" eSuperTypes="#//Literal"/>
177
  <eClassifiers xsi:type="ecore:EClass" name="BooleanLiteralRule" eSuperTypes="#//Literal"/>
178
  <eClassifiers xsi:type="ecore:EClass" name="NullLiteralRule" eSuperTypes="#//Literal"/>
179
  <eClassifiers xsi:type="ecore:EClass" name="DefaultLiteralRule" eSuperTypes="#//Literal"/>
180
  <eClassifiers xsi:type="ecore:EClass" name="StringLiteralRule" eSuperTypes="#//Literal"/>
181
</ecore:EPackage>
(-)META-INF/MANIFEST.MF (-1 / +1 lines)
Lines 20-26 Link Here
20
 org.antlr.runtime,
20
 org.antlr.runtime,
21
 org.eclipse.uml2.uml;bundle-version="3.1.0",
21
 org.eclipse.uml2.uml;bundle-version="3.1.0",
22
 org.eclipse.uml2.codegen.ecore;bundle-version="1.6.0",
22
 org.eclipse.uml2.codegen.ecore;bundle-version="1.6.0",
23
 org.eclipse.xtext.gmf.glue;bundle-version="1.0.0"
23
 org.eclipse.xtext.gmf.glue;bundle-version="0.8.0"
24
Import-Package: org.apache.log4j
24
Import-Package: org.apache.log4j
25
Bundle-RequiredExecutionEnvironment: J2SE-1.5
25
Bundle-RequiredExecutionEnvironment: J2SE-1.5
26
Export-Package: org.eclipse.papyrus.transition.editor.xtext,
26
Export-Package: org.eclipse.papyrus.transition.editor.xtext,
(-)plugin.xml_gen (-1 lines)
Lines 14-18 Link Here
14
14
15
15
16
16
17
18
</plugin>
17
</plugin>
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore (-11 / +12 lines)
Lines 5-36 Link Here
5
    nsURI="http://www.eclipse.org/papyrus/transition/editor/xtext/UmlTransition" nsPrefix="umlTransition">
5
    nsURI="http://www.eclipse.org/papyrus/transition/editor/xtext/UmlTransition" nsPrefix="umlTransition">
6
  <eClassifiers xsi:type="ecore:EClass" name="TransitionRule">
6
  <eClassifiers xsi:type="ecore:EClass" name="TransitionRule">
7
    <eStructuralFeatures xsi:type="ecore:EReference" name="triggers" upperBound="-1"
7
    <eStructuralFeatures xsi:type="ecore:EReference" name="triggers" upperBound="-1"
8
        eType="#//EventRule" containment="true"/>
8
        eType="ecore:EClass platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//EventRule"
9
    <eStructuralFeatures xsi:type="ecore:EReference" name="guard" eType="#//GuardRule"
10
        containment="true"/>
9
        containment="true"/>
11
    <eStructuralFeatures xsi:type="ecore:EReference" name="effect" eType="#//EffectRule"
10
    <eStructuralFeatures xsi:type="ecore:EReference" name="guard" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//GuardRule"
11
        containment="true"/>
12
    <eStructuralFeatures xsi:type="ecore:EReference" name="effect" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//EffectRule"
12
        containment="true"/>
13
        containment="true"/>
13
  </eClassifiers>
14
  </eClassifiers>
14
  <eClassifiers xsi:type="ecore:EClass" name="EventRule"/>
15
  <eClassifiers xsi:type="ecore:EClass" name="EventRule"/>
15
  <eClassifiers xsi:type="ecore:EClass" name="CallOrSignalEventRule" eSuperTypes="#//EventRule">
16
  <eClassifiers xsi:type="ecore:EClass" name="CallOrSignalEventRule" eSuperTypes="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//EventRule">
16
    <eStructuralFeatures xsi:type="ecore:EReference" name="operationOrSignal" eType="ecore:EClass ../../../../../../../model/UML.ecore#//NamedElement"/>
17
    <eStructuralFeatures xsi:type="ecore:EReference" name="operationOrSignal" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.transition.editor.xtext/model/UML.ecore#//NamedElement"/>
17
  </eClassifiers>
18
  </eClassifiers>
18
  <eClassifiers xsi:type="ecore:EClass" name="AnyReceiveEventRule" eSuperTypes="#//EventRule">
19
  <eClassifiers xsi:type="ecore:EClass" name="AnyReceiveEventRule" eSuperTypes="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//EventRule">
19
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="isAReceiveEvent" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
20
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="isAReceiveEvent" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
20
  </eClassifiers>
21
  </eClassifiers>
21
  <eClassifiers xsi:type="ecore:EClass" name="TimeEventRule" eSuperTypes="#//EventRule">
22
  <eClassifiers xsi:type="ecore:EClass" name="TimeEventRule" eSuperTypes="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//EventRule">
22
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="expr" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
23
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="expr" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
23
  </eClassifiers>
24
  </eClassifiers>
24
  <eClassifiers xsi:type="ecore:EClass" name="RelativeTimeEventRule" eSuperTypes="#//TimeEventRule"/>
25
  <eClassifiers xsi:type="ecore:EClass" name="RelativeTimeEventRule" eSuperTypes="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//TimeEventRule"/>
25
  <eClassifiers xsi:type="ecore:EClass" name="AbsoluteTimeEventRule" eSuperTypes="#//TimeEventRule"/>
26
  <eClassifiers xsi:type="ecore:EClass" name="AbsoluteTimeEventRule" eSuperTypes="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//TimeEventRule"/>
26
  <eClassifiers xsi:type="ecore:EClass" name="ChangeEventRule" eSuperTypes="#//EventRule">
27
  <eClassifiers xsi:type="ecore:EClass" name="ChangeEventRule" eSuperTypes="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//EventRule">
27
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="exp" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
28
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="exp" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
28
  </eClassifiers>
29
  </eClassifiers>
29
  <eClassifiers xsi:type="ecore:EClass" name="GuardRule">
30
  <eClassifiers xsi:type="ecore:EClass" name="GuardRule">
30
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="constraint" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
31
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="constraint" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
31
  </eClassifiers>
32
  </eClassifiers>
32
  <eClassifiers xsi:type="ecore:EClass" name="EffectRule">
33
  <eClassifiers xsi:type="ecore:EClass" name="EffectRule">
33
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="#//BehaviorKind"/>
34
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="ecore:EEnum platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//BehaviorKind"/>
34
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="behaviorName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
35
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="behaviorName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
35
  </eClassifiers>
36
  </eClassifiers>
36
  <eClassifiers xsi:type="ecore:EEnum" name="BehaviorKind">
37
  <eClassifiers xsi:type="ecore:EEnum" name="BehaviorKind">
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.xmi (+2 lines)
Lines 214-219 Link Here
214
                <elements xsi:type="xtext:Keyword" value="n"/>
214
                <elements xsi:type="xtext:Keyword" value="n"/>
215
                <elements xsi:type="xtext:Keyword" value="f"/>
215
                <elements xsi:type="xtext:Keyword" value="f"/>
216
                <elements xsi:type="xtext:Keyword" value="r"/>
216
                <elements xsi:type="xtext:Keyword" value="r"/>
217
                <elements xsi:type="xtext:Keyword" value="u"/>
217
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
218
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
218
                <elements xsi:type="xtext:Keyword" value="'"/>
219
                <elements xsi:type="xtext:Keyword" value="'"/>
219
                <elements xsi:type="xtext:Keyword" value="\"/>
220
                <elements xsi:type="xtext:Keyword" value="\"/>
Lines 239-244 Link Here
239
                <elements xsi:type="xtext:Keyword" value="n"/>
240
                <elements xsi:type="xtext:Keyword" value="n"/>
240
                <elements xsi:type="xtext:Keyword" value="f"/>
241
                <elements xsi:type="xtext:Keyword" value="f"/>
241
                <elements xsi:type="xtext:Keyword" value="r"/>
242
                <elements xsi:type="xtext:Keyword" value="r"/>
243
                <elements xsi:type="xtext:Keyword" value="u"/>
242
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
244
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
243
                <elements xsi:type="xtext:Keyword" value="'"/>
245
                <elements xsi:type="xtext:Keyword" value="'"/>
244
                <elements xsi:type="xtext:Keyword" value="\"/>
246
                <elements xsi:type="xtext:Keyword" value="\"/>
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.genmodel (-26 / +26 lines)
Lines 6-45 Link Here
6
    modelPluginID="org.eclipse.papyrus.transition.editor.xtext" forceOverwrite="true"
6
    modelPluginID="org.eclipse.papyrus.transition.editor.xtext" forceOverwrite="true"
7
    modelName="UmlTransition" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
7
    modelName="UmlTransition" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.transition.editor.xtext.edit"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.transition.editor.xtext.edit"
9
    editorPluginID="org.eclipse.papyrus.transition.editor.xtext.editor" usedGenPackages="../../../../../../../model/UML.genmodel#//uml">
9
    editorPluginID="org.eclipse.papyrus.transition.editor.xtext.editor" usedGenPackages="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/model/UML.genmodel#//uml">
10
  <genPackages prefix="UmlTransition" basePackage="org.eclipse.papyrus.transition.editor.xtext"
10
  <genPackages prefix="UmlTransition" basePackage="org.eclipse.papyrus.transition.editor.xtext"
11
      resource="XML" disposableProviderFactory="true" ecorePackage="UmlTransition.ecore#/">
11
      resource="XML" disposableProviderFactory="true" ecorePackage="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#/">
12
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="UmlTransition.ecore#//BehaviorKind">
12
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//BehaviorKind">
13
      <genEnumLiterals ecoreEnumLiteral="UmlTransition.ecore#//BehaviorKind/ACTIVITY"/>
13
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//BehaviorKind/ACTIVITY"/>
14
      <genEnumLiterals ecoreEnumLiteral="UmlTransition.ecore#//BehaviorKind/STATE_MACHINE"/>
14
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//BehaviorKind/STATE_MACHINE"/>
15
      <genEnumLiterals ecoreEnumLiteral="UmlTransition.ecore#//BehaviorKind/OPAQUE_BEHAVIOR"/>
15
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//BehaviorKind/OPAQUE_BEHAVIOR"/>
16
    </genEnums>
16
    </genEnums>
17
    <genClasses ecoreClass="UmlTransition.ecore#//TransitionRule">
17
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//TransitionRule">
18
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlTransition.ecore#//TransitionRule/triggers"/>
18
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//TransitionRule/triggers"/>
19
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlTransition.ecore#//TransitionRule/guard"/>
19
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//TransitionRule/guard"/>
20
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlTransition.ecore#//TransitionRule/effect"/>
20
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//TransitionRule/effect"/>
21
    </genClasses>
21
    </genClasses>
22
    <genClasses ecoreClass="UmlTransition.ecore#//EventRule"/>
22
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//EventRule"/>
23
    <genClasses ecoreClass="UmlTransition.ecore#//CallOrSignalEventRule">
23
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//CallOrSignalEventRule">
24
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UmlTransition.ecore#//CallOrSignalEventRule/operationOrSignal"/>
24
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//CallOrSignalEventRule/operationOrSignal"/>
25
    </genClasses>
25
    </genClasses>
26
    <genClasses ecoreClass="UmlTransition.ecore#//AnyReceiveEventRule">
26
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//AnyReceiveEventRule">
27
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlTransition.ecore#//AnyReceiveEventRule/isAReceiveEvent"/>
27
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//AnyReceiveEventRule/isAReceiveEvent"/>
28
    </genClasses>
28
    </genClasses>
29
    <genClasses ecoreClass="UmlTransition.ecore#//TimeEventRule">
29
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//TimeEventRule">
30
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlTransition.ecore#//TimeEventRule/expr"/>
30
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//TimeEventRule/expr"/>
31
    </genClasses>
31
    </genClasses>
32
    <genClasses ecoreClass="UmlTransition.ecore#//RelativeTimeEventRule"/>
32
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//RelativeTimeEventRule"/>
33
    <genClasses ecoreClass="UmlTransition.ecore#//AbsoluteTimeEventRule"/>
33
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//AbsoluteTimeEventRule"/>
34
    <genClasses ecoreClass="UmlTransition.ecore#//ChangeEventRule">
34
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//ChangeEventRule">
35
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlTransition.ecore#//ChangeEventRule/exp"/>
35
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//ChangeEventRule/exp"/>
36
    </genClasses>
36
    </genClasses>
37
    <genClasses ecoreClass="UmlTransition.ecore#//GuardRule">
37
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//GuardRule">
38
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlTransition.ecore#//GuardRule/constraint"/>
38
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//GuardRule/constraint"/>
39
    </genClasses>
39
    </genClasses>
40
    <genClasses ecoreClass="UmlTransition.ecore#//EffectRule">
40
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//EffectRule">
41
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlTransition.ecore#//EffectRule/kind"/>
41
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//EffectRule/kind"/>
42
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlTransition.ecore#//EffectRule/behaviorName"/>
42
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransition.ecore#//EffectRule/behaviorName"/>
43
    </genClasses>
43
    </genClasses>
44
  </genPackages>
44
  </genPackages>
45
</genmodel:GenModel>
45
</genmodel:GenModel>
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/UmlTransitionParser.java (-21 / +4 lines)
Lines 3-16 Link Here
3
*/
3
*/
4
package org.eclipse.papyrus.transition.editor.xtext.parser.antlr;
4
package org.eclipse.papyrus.transition.editor.xtext.parser.antlr;
5
5
6
import org.antlr.runtime.CharStream;
7
import org.antlr.runtime.TokenSource;
8
import org.eclipse.xtext.parser.IParseResult;
9
import org.eclipse.xtext.parser.ParseException;
10
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
11
12
import com.google.inject.Inject;
6
import com.google.inject.Inject;
13
7
8
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
14
import org.eclipse.papyrus.transition.editor.xtext.services.UmlTransitionGrammarAccess;
9
import org.eclipse.papyrus.transition.editor.xtext.services.UmlTransitionGrammarAccess;
15
10
16
public class UmlTransitionParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
11
public class UmlTransitionParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
Lines 19-43 Link Here
19
	private UmlTransitionGrammarAccess grammarAccess;
14
	private UmlTransitionGrammarAccess grammarAccess;
20
	
15
	
21
	@Override
16
	@Override
22
	protected IParseResult parse(String ruleName, CharStream in) {
17
	protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
23
		TokenSource tokenSource = createLexer(in);
24
		XtextTokenStream tokenStream = createTokenStream(tokenSource);
25
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
18
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
26
		org.eclipse.papyrus.transition.editor.xtext.parser.antlr.internal.InternalUmlTransitionParser parser = createParser(tokenStream);
27
		parser.setTokenTypeMap(getTokenDefProvider().getTokenDefMap());
28
		parser.setSyntaxErrorProvider(getSyntaxErrorProvider());
29
		parser.setUnorderedGroupHelper(getUnorderedGroupHelper().get());
30
		try {
31
			if(ruleName != null)
32
				return parser.parse(ruleName);
33
			return parser.parse();
34
		} catch (Exception re) {
35
			throw new ParseException(re.getMessage(),re);
36
		}
37
	}
19
	}
38
	
20
	
21
	@Override
39
	protected org.eclipse.papyrus.transition.editor.xtext.parser.antlr.internal.InternalUmlTransitionParser createParser(XtextTokenStream stream) {
22
	protected org.eclipse.papyrus.transition.editor.xtext.parser.antlr.internal.InternalUmlTransitionParser createParser(XtextTokenStream stream) {
40
		return new org.eclipse.papyrus.transition.editor.xtext.parser.antlr.internal.InternalUmlTransitionParser(stream, getElementFactory(), getGrammarAccess());
23
		return new org.eclipse.papyrus.transition.editor.xtext.parser.antlr.internal.InternalUmlTransitionParser(stream, getGrammarAccess());
41
	}
24
	}
42
	
25
	
43
	@Override 
26
	@Override 
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransitionParser.java (-548 / +498 lines)
Lines 1-10 Link Here
1
package org.eclipse.papyrus.transition.editor.xtext.parser.antlr.internal; 
1
package org.eclipse.papyrus.transition.editor.xtext.parser.antlr.internal; 
2
2
3
import java.io.InputStream;
4
import org.eclipse.xtext.*;
3
import org.eclipse.xtext.*;
5
import org.eclipse.xtext.parser.*;
4
import org.eclipse.xtext.parser.*;
6
import org.eclipse.xtext.parser.impl.*;
5
import org.eclipse.xtext.parser.impl.*;
7
import org.eclipse.xtext.parsetree.*;
8
import org.eclipse.emf.ecore.util.EcoreUtil;
6
import org.eclipse.emf.ecore.util.EcoreUtil;
9
import org.eclipse.emf.ecore.EObject;
7
import org.eclipse.emf.ecore.EObject;
10
import org.eclipse.emf.common.util.Enumerator;
8
import org.eclipse.emf.common.util.Enumerator;
Lines 12-18 Link Here
12
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
10
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
13
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
11
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
14
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
12
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
15
import org.eclipse.xtext.conversion.ValueConverterException;
16
import org.eclipse.papyrus.transition.editor.xtext.services.UmlTransitionGrammarAccess;
13
import org.eclipse.papyrus.transition.editor.xtext.services.UmlTransitionGrammarAccess;
17
14
18
15
Lines 28-64 Link Here
28
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "','", "'all'", "'after'", "'at'", "'when'", "'['", "']'", "'/'", "'Activity'", "'StateMachine'", "'OpaqueBehavior'"
25
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "','", "'all'", "'after'", "'at'", "'when'", "'['", "']'", "'/'", "'Activity'", "'StateMachine'", "'OpaqueBehavior'"
29
    };
26
    };
30
    public static final int RULE_ID=4;
27
    public static final int RULE_ID=4;
31
    public static final int RULE_STRING=5;
32
    public static final int RULE_ANY_OTHER=10;
28
    public static final int RULE_ANY_OTHER=10;
33
    public static final int RULE_INT=6;
29
    public static final int T__21=21;
34
    public static final int RULE_WS=9;
30
    public static final int T__20=20;
35
    public static final int RULE_SL_COMMENT=8;
36
    public static final int EOF=-1;
31
    public static final int EOF=-1;
32
    public static final int RULE_SL_COMMENT=8;
37
    public static final int RULE_ML_COMMENT=7;
33
    public static final int RULE_ML_COMMENT=7;
34
    public static final int T__19=19;
35
    public static final int RULE_STRING=5;
36
    public static final int T__16=16;
37
    public static final int T__15=15;
38
    public static final int T__18=18;
39
    public static final int T__17=17;
40
    public static final int T__12=12;
41
    public static final int T__11=11;
42
    public static final int T__14=14;
43
    public static final int T__13=13;
44
    public static final int RULE_INT=6;
45
    public static final int RULE_WS=9;
46
47
    // delegates
48
    // delegators
49
38
50
39
        public InternalUmlTransitionParser(TokenStream input) {
51
        public InternalUmlTransitionParser(TokenStream input) {
40
            super(input);
52
            this(input, new RecognizerSharedState());
53
        }
54
        public InternalUmlTransitionParser(TokenStream input, RecognizerSharedState state) {
55
            super(input, state);
56
             
41
        }
57
        }
42
        
58
        
43
59
44
    public String[] getTokenNames() { return tokenNames; }
60
    public String[] getTokenNames() { return InternalUmlTransitionParser.tokenNames; }
45
    public String getGrammarFileName() { return "../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g"; }
61
    public String getGrammarFileName() { return "../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g"; }
46
62
47
63
48
64
49
     	private UmlTransitionGrammarAccess grammarAccess;
65
     	private UmlTransitionGrammarAccess grammarAccess;
50
     	
66
     	
51
        public InternalUmlTransitionParser(TokenStream input, IAstFactory factory, UmlTransitionGrammarAccess grammarAccess) {
67
        public InternalUmlTransitionParser(TokenStream input, UmlTransitionGrammarAccess grammarAccess) {
52
            this(input);
68
            this(input);
53
            this.factory = factory;
54
            registerRules(grammarAccess.getGrammar());
55
            this.grammarAccess = grammarAccess;
69
            this.grammarAccess = grammarAccess;
56
        }
70
            registerRules(grammarAccess.getGrammar());
57
        
58
        @Override
59
        protected InputStream getTokenFile() {
60
        	ClassLoader classLoader = getClass().getClassLoader();
61
        	return classLoader.getResourceAsStream("org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.tokens");
62
        }
71
        }
63
        
72
        
64
        @Override
73
        @Override
Lines 73-80 Link Here
73
82
74
83
75
84
76
    // $ANTLR start entryRuleTransitionRule
85
    // $ANTLR start "entryRuleTransitionRule"
77
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:78:1: entryRuleTransitionRule returns [EObject current=null] : iv_ruleTransitionRule= ruleTransitionRule EOF ;
86
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:68:1: entryRuleTransitionRule returns [EObject current=null] : iv_ruleTransitionRule= ruleTransitionRule EOF ;
78
    public final EObject entryRuleTransitionRule() throws RecognitionException {
87
    public final EObject entryRuleTransitionRule() throws RecognitionException {
79
        EObject current = null;
88
        EObject current = null;
80
89
Lines 82-94 Link Here
82
91
83
92
84
        try {
93
        try {
85
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:79:2: (iv_ruleTransitionRule= ruleTransitionRule EOF )
94
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:69:2: (iv_ruleTransitionRule= ruleTransitionRule EOF )
86
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:80:2: iv_ruleTransitionRule= ruleTransitionRule EOF
95
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:70:2: iv_ruleTransitionRule= ruleTransitionRule EOF
87
            {
96
            {
88
             currentNode = createCompositeNode(grammarAccess.getTransitionRuleRule(), currentNode); 
97
             newCompositeNode(grammarAccess.getTransitionRuleRule()); 
89
            pushFollow(FOLLOW_ruleTransitionRule_in_entryRuleTransitionRule75);
98
            pushFollow(FOLLOW_ruleTransitionRule_in_entryRuleTransitionRule75);
90
            iv_ruleTransitionRule=ruleTransitionRule();
99
            iv_ruleTransitionRule=ruleTransitionRule();
91
            _fsp--;
100
101
            state._fsp--;
92
102
93
             current =iv_ruleTransitionRule; 
103
             current =iv_ruleTransitionRule; 
94
            match(input,EOF,FOLLOW_EOF_in_entryRuleTransitionRule85); 
104
            match(input,EOF,FOLLOW_EOF_in_entryRuleTransitionRule85); 
Lines 105-118 Link Here
105
        }
115
        }
106
        return current;
116
        return current;
107
    }
117
    }
108
    // $ANTLR end entryRuleTransitionRule
118
    // $ANTLR end "entryRuleTransitionRule"
109
119
110
120
111
    // $ANTLR start ruleTransitionRule
121
    // $ANTLR start "ruleTransitionRule"
112
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:87:1: ruleTransitionRule returns [EObject current=null] : ( ( ( (lv_triggers_0_0= ruleEventRule ) ) ( ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )? ) ;
122
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:77:1: ruleTransitionRule returns [EObject current=null] : ( ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )? ) ;
113
    public final EObject ruleTransitionRule() throws RecognitionException {
123
    public final EObject ruleTransitionRule() throws RecognitionException {
114
        EObject current = null;
124
        EObject current = null;
115
125
126
        Token otherlv_1=null;
116
        EObject lv_triggers_0_0 = null;
127
        EObject lv_triggers_0_0 = null;
117
128
118
        EObject lv_triggers_2_0 = null;
129
        EObject lv_triggers_2_0 = null;
Lines 122-137 Link Here
122
        EObject lv_effect_4_0 = null;
133
        EObject lv_effect_4_0 = null;
123
134
124
135
125
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
136
         enterRule(); 
126
            
137
            
127
        try {
138
        try {
128
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:92:6: ( ( ( ( (lv_triggers_0_0= ruleEventRule ) ) ( ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )? ) )
139
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:80:28: ( ( ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )? ) )
129
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:93:1: ( ( ( (lv_triggers_0_0= ruleEventRule ) ) ( ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )? )
140
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:81:1: ( ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )? )
130
            {
141
            {
131
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:93:1: ( ( ( (lv_triggers_0_0= ruleEventRule ) ) ( ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )? )
142
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:81:1: ( ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )? )
132
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:93:2: ( ( (lv_triggers_0_0= ruleEventRule ) ) ( ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )?
143
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:81:2: ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )?
133
            {
144
            {
134
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:93:2: ( ( (lv_triggers_0_0= ruleEventRule ) ) ( ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )?
145
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:81:2: ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )?
135
            int alt2=2;
146
            int alt2=2;
136
            int LA2_0 = input.LA(1);
147
            int LA2_0 = input.LA(1);
137
148
Lines 140-176 Link Here
140
            }
151
            }
141
            switch (alt2) {
152
            switch (alt2) {
142
                case 1 :
153
                case 1 :
143
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:93:3: ( (lv_triggers_0_0= ruleEventRule ) ) ( ',' ( (lv_triggers_2_0= ruleEventRule ) ) )*
154
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:81:3: ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )*
144
                    {
155
                    {
145
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:93:3: ( (lv_triggers_0_0= ruleEventRule ) )
156
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:81:3: ( (lv_triggers_0_0= ruleEventRule ) )
146
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:94:1: (lv_triggers_0_0= ruleEventRule )
157
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:82:1: (lv_triggers_0_0= ruleEventRule )
147
                    {
158
                    {
148
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:94:1: (lv_triggers_0_0= ruleEventRule )
159
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:82:1: (lv_triggers_0_0= ruleEventRule )
149
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:95:3: lv_triggers_0_0= ruleEventRule
160
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:83:3: lv_triggers_0_0= ruleEventRule
150
                    {
161
                    {
151
                     
162
                     
152
                    	        currentNode=createCompositeNode(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_0_0(), currentNode); 
163
                    	        newCompositeNode(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_0_0()); 
153
                    	    
164
                    	    
154
                    pushFollow(FOLLOW_ruleEventRule_in_ruleTransitionRule132);
165
                    pushFollow(FOLLOW_ruleEventRule_in_ruleTransitionRule132);
155
                    lv_triggers_0_0=ruleEventRule();
166
                    lv_triggers_0_0=ruleEventRule();
156
                    _fsp--;
167
168
                    state._fsp--;
157
169
158
170
159
                    	        if (current==null) {
171
                    	        if (current==null) {
160
                    	            current = factory.create(grammarAccess.getTransitionRuleRule().getType().getClassifier());
172
                    	            current = createModelElementForParent(grammarAccess.getTransitionRuleRule());
161
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
162
                    	        }
163
                    	        try {
164
                    	       		add(
165
                    	       			current, 
166
                    	       			"triggers",
167
                    	        		lv_triggers_0_0, 
168
                    	        		"EventRule", 
169
                    	        		currentNode);
170
                    	        } catch (ValueConverterException vce) {
171
                    				handleValueConverterException(vce);
172
                    	        }
173
                    	        }
173
                    	        currentNode = currentNode.getParent();
174
                           		add(
175
                           			current, 
176
                           			"triggers",
177
                            		lv_triggers_0_0, 
178
                            		"EventRule");
179
                    	        afterParserOrEnumRuleCall();
174
                    	    
180
                    	    
175
181
176
                    }
182
                    }
Lines 178-184 Link Here
178
184
179
                    }
185
                    }
180
186
181
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:117:2: ( ',' ( (lv_triggers_2_0= ruleEventRule ) ) )*
187
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:99:2: (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )*
182
                    loop1:
188
                    loop1:
183
                    do {
189
                    do {
184
                        int alt1=2;
190
                        int alt1=2;
Lines 191-231 Link Here
191
197
192
                        switch (alt1) {
198
                        switch (alt1) {
193
                    	case 1 :
199
                    	case 1 :
194
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:117:4: ',' ( (lv_triggers_2_0= ruleEventRule ) )
200
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:99:4: otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) )
195
                    	    {
201
                    	    {
196
                    	    match(input,11,FOLLOW_11_in_ruleTransitionRule143); 
202
                    	    otherlv_1=(Token)match(input,11,FOLLOW_11_in_ruleTransitionRule145); 
197
203
198
                    	            createLeafNode(grammarAccess.getTransitionRuleAccess().getCommaKeyword_0_1_0(), null); 
204
                    	        	newLeafNode(otherlv_1, grammarAccess.getTransitionRuleAccess().getCommaKeyword_0_1_0());
199
                    	        
205
                    	        
200
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:121:1: ( (lv_triggers_2_0= ruleEventRule ) )
206
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:103:1: ( (lv_triggers_2_0= ruleEventRule ) )
201
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:122:1: (lv_triggers_2_0= ruleEventRule )
207
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:104:1: (lv_triggers_2_0= ruleEventRule )
202
                    	    {
208
                    	    {
203
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:122:1: (lv_triggers_2_0= ruleEventRule )
209
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:104:1: (lv_triggers_2_0= ruleEventRule )
204
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:123:3: lv_triggers_2_0= ruleEventRule
210
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:105:3: lv_triggers_2_0= ruleEventRule
205
                    	    {
211
                    	    {
206
                    	     
212
                    	     
207
                    	    	        currentNode=createCompositeNode(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_1_1_0(), currentNode); 
213
                    	    	        newCompositeNode(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_1_1_0()); 
208
                    	    	    
214
                    	    	    
209
                    	    pushFollow(FOLLOW_ruleEventRule_in_ruleTransitionRule164);
215
                    	    pushFollow(FOLLOW_ruleEventRule_in_ruleTransitionRule166);
210
                    	    lv_triggers_2_0=ruleEventRule();
216
                    	    lv_triggers_2_0=ruleEventRule();
211
                    	    _fsp--;
217
218
                    	    state._fsp--;
212
219
213
220
214
                    	    	        if (current==null) {
221
                    	    	        if (current==null) {
215
                    	    	            current = factory.create(grammarAccess.getTransitionRuleRule().getType().getClassifier());
222
                    	    	            current = createModelElementForParent(grammarAccess.getTransitionRuleRule());
216
                    	    	            associateNodeWithAstElement(currentNode.getParent(), current);
217
                    	    	        }
218
                    	    	        try {
219
                    	    	       		add(
220
                    	    	       			current, 
221
                    	    	       			"triggers",
222
                    	    	        		lv_triggers_2_0, 
223
                    	    	        		"EventRule", 
224
                    	    	        		currentNode);
225
                    	    	        } catch (ValueConverterException vce) {
226
                    	    				handleValueConverterException(vce);
227
                    	    	        }
223
                    	    	        }
228
                    	    	        currentNode = currentNode.getParent();
224
                    	           		add(
225
                    	           			current, 
226
                    	           			"triggers",
227
                    	            		lv_triggers_2_0, 
228
                    	            		"EventRule");
229
                    	    	        afterParserOrEnumRuleCall();
229
                    	    	    
230
                    	    	    
230
231
231
                    	    }
232
                    	    }
Lines 248-254 Link Here
248
249
249
            }
250
            }
250
251
251
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:145:6: ( (lv_guard_3_0= ruleGuardRule ) )?
252
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:121:6: ( (lv_guard_3_0= ruleGuardRule ) )?
252
            int alt3=2;
253
            int alt3=2;
253
            int LA3_0 = input.LA(1);
254
            int LA3_0 = input.LA(1);
254
255
Lines 257-290 Link Here
257
            }
258
            }
258
            switch (alt3) {
259
            switch (alt3) {
259
                case 1 :
260
                case 1 :
260
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:146:1: (lv_guard_3_0= ruleGuardRule )
261
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:122:1: (lv_guard_3_0= ruleGuardRule )
261
                    {
262
                    {
262
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:146:1: (lv_guard_3_0= ruleGuardRule )
263
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:122:1: (lv_guard_3_0= ruleGuardRule )
263
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:147:3: lv_guard_3_0= ruleGuardRule
264
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:123:3: lv_guard_3_0= ruleGuardRule
264
                    {
265
                    {
265
                     
266
                     
266
                    	        currentNode=createCompositeNode(grammarAccess.getTransitionRuleAccess().getGuardGuardRuleParserRuleCall_1_0(), currentNode); 
267
                    	        newCompositeNode(grammarAccess.getTransitionRuleAccess().getGuardGuardRuleParserRuleCall_1_0()); 
267
                    	    
268
                    	    
268
                    pushFollow(FOLLOW_ruleGuardRule_in_ruleTransitionRule189);
269
                    pushFollow(FOLLOW_ruleGuardRule_in_ruleTransitionRule191);
269
                    lv_guard_3_0=ruleGuardRule();
270
                    lv_guard_3_0=ruleGuardRule();
270
                    _fsp--;
271
272
                    state._fsp--;
271
273
272
274
273
                    	        if (current==null) {
275
                    	        if (current==null) {
274
                    	            current = factory.create(grammarAccess.getTransitionRuleRule().getType().getClassifier());
276
                    	            current = createModelElementForParent(grammarAccess.getTransitionRuleRule());
275
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
276
                    	        }
277
                    	        try {
278
                    	       		set(
279
                    	       			current, 
280
                    	       			"guard",
281
                    	        		lv_guard_3_0, 
282
                    	        		"GuardRule", 
283
                    	        		currentNode);
284
                    	        } catch (ValueConverterException vce) {
285
                    				handleValueConverterException(vce);
286
                    	        }
277
                    	        }
287
                    	        currentNode = currentNode.getParent();
278
                           		set(
279
                           			current, 
280
                           			"guard",
281
                            		lv_guard_3_0, 
282
                            		"GuardRule");
283
                    	        afterParserOrEnumRuleCall();
288
                    	    
284
                    	    
289
285
290
                    }
286
                    }
Lines 295-301 Link Here
295
291
296
            }
292
            }
297
293
298
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:169:3: ( (lv_effect_4_0= ruleEffectRule ) )?
294
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:139:3: ( (lv_effect_4_0= ruleEffectRule ) )?
299
            int alt4=2;
295
            int alt4=2;
300
            int LA4_0 = input.LA(1);
296
            int LA4_0 = input.LA(1);
301
297
Lines 304-337 Link Here
304
            }
300
            }
305
            switch (alt4) {
301
            switch (alt4) {
306
                case 1 :
302
                case 1 :
307
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:170:1: (lv_effect_4_0= ruleEffectRule )
303
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:140:1: (lv_effect_4_0= ruleEffectRule )
308
                    {
304
                    {
309
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:170:1: (lv_effect_4_0= ruleEffectRule )
305
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:140:1: (lv_effect_4_0= ruleEffectRule )
310
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:171:3: lv_effect_4_0= ruleEffectRule
306
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:141:3: lv_effect_4_0= ruleEffectRule
311
                    {
307
                    {
312
                     
308
                     
313
                    	        currentNode=createCompositeNode(grammarAccess.getTransitionRuleAccess().getEffectEffectRuleParserRuleCall_2_0(), currentNode); 
309
                    	        newCompositeNode(grammarAccess.getTransitionRuleAccess().getEffectEffectRuleParserRuleCall_2_0()); 
314
                    	    
310
                    	    
315
                    pushFollow(FOLLOW_ruleEffectRule_in_ruleTransitionRule211);
311
                    pushFollow(FOLLOW_ruleEffectRule_in_ruleTransitionRule213);
316
                    lv_effect_4_0=ruleEffectRule();
312
                    lv_effect_4_0=ruleEffectRule();
317
                    _fsp--;
313
314
                    state._fsp--;
318
315
319
316
320
                    	        if (current==null) {
317
                    	        if (current==null) {
321
                    	            current = factory.create(grammarAccess.getTransitionRuleRule().getType().getClassifier());
318
                    	            current = createModelElementForParent(grammarAccess.getTransitionRuleRule());
322
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
323
                    	        }
324
                    	        try {
325
                    	       		set(
326
                    	       			current, 
327
                    	       			"effect",
328
                    	        		lv_effect_4_0, 
329
                    	        		"EffectRule", 
330
                    	        		currentNode);
331
                    	        } catch (ValueConverterException vce) {
332
                    				handleValueConverterException(vce);
333
                    	        }
319
                    	        }
334
                    	        currentNode = currentNode.getParent();
320
                           		set(
321
                           			current, 
322
                           			"effect",
323
                            		lv_effect_4_0, 
324
                            		"EffectRule");
325
                    	        afterParserOrEnumRuleCall();
335
                    	    
326
                    	    
336
327
337
                    }
328
                    }
Lines 348-356 Link Here
348
339
349
            }
340
            }
350
341
351
             resetLookahead(); 
342
             leaveRule(); 
352
                	lastConsumedNode = currentNode;
353
                
354
        }
343
        }
355
         
344
         
356
            catch (RecognitionException re) { 
345
            catch (RecognitionException re) { 
Lines 361-371 Link Here
361
        }
350
        }
362
        return current;
351
        return current;
363
    }
352
    }
364
    // $ANTLR end ruleTransitionRule
353
    // $ANTLR end "ruleTransitionRule"
365
354
366
355
367
    // $ANTLR start entryRuleEventRule
356
    // $ANTLR start "entryRuleEventRule"
368
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:201:1: entryRuleEventRule returns [EObject current=null] : iv_ruleEventRule= ruleEventRule EOF ;
357
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:165:1: entryRuleEventRule returns [EObject current=null] : iv_ruleEventRule= ruleEventRule EOF ;
369
    public final EObject entryRuleEventRule() throws RecognitionException {
358
    public final EObject entryRuleEventRule() throws RecognitionException {
370
        EObject current = null;
359
        EObject current = null;
371
360
Lines 373-388 Link Here
373
362
374
363
375
        try {
364
        try {
376
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:202:2: (iv_ruleEventRule= ruleEventRule EOF )
365
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:166:2: (iv_ruleEventRule= ruleEventRule EOF )
377
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:203:2: iv_ruleEventRule= ruleEventRule EOF
366
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:167:2: iv_ruleEventRule= ruleEventRule EOF
378
            {
367
            {
379
             currentNode = createCompositeNode(grammarAccess.getEventRuleRule(), currentNode); 
368
             newCompositeNode(grammarAccess.getEventRuleRule()); 
380
            pushFollow(FOLLOW_ruleEventRule_in_entryRuleEventRule248);
369
            pushFollow(FOLLOW_ruleEventRule_in_entryRuleEventRule250);
381
            iv_ruleEventRule=ruleEventRule();
370
            iv_ruleEventRule=ruleEventRule();
382
            _fsp--;
371
372
            state._fsp--;
383
373
384
             current =iv_ruleEventRule; 
374
             current =iv_ruleEventRule; 
385
            match(input,EOF,FOLLOW_EOF_in_entryRuleEventRule258); 
375
            match(input,EOF,FOLLOW_EOF_in_entryRuleEventRule260); 
386
376
387
            }
377
            }
388
378
Lines 396-406 Link Here
396
        }
386
        }
397
        return current;
387
        return current;
398
    }
388
    }
399
    // $ANTLR end entryRuleEventRule
389
    // $ANTLR end "entryRuleEventRule"
400
390
401
391
402
    // $ANTLR start ruleEventRule
392
    // $ANTLR start "ruleEventRule"
403
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:210:1: ruleEventRule returns [EObject current=null] : (this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule | this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule | this_ChangeEventRule_3= ruleChangeEventRule ) ;
393
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:174:1: ruleEventRule returns [EObject current=null] : (this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule | this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule | this_ChangeEventRule_3= ruleChangeEventRule ) ;
404
    public final EObject ruleEventRule() throws RecognitionException {
394
    public final EObject ruleEventRule() throws RecognitionException {
405
        EObject current = null;
395
        EObject current = null;
406
396
Lines 413-425 Link Here
413
        EObject this_ChangeEventRule_3 = null;
403
        EObject this_ChangeEventRule_3 = null;
414
404
415
405
416
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
406
         enterRule(); 
417
            
407
            
418
        try {
408
        try {
419
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:215:6: ( (this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule | this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule | this_ChangeEventRule_3= ruleChangeEventRule ) )
409
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:177:28: ( (this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule | this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule | this_ChangeEventRule_3= ruleChangeEventRule ) )
420
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:216:1: (this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule | this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule | this_ChangeEventRule_3= ruleChangeEventRule )
410
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:178:1: (this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule | this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule | this_ChangeEventRule_3= ruleChangeEventRule )
421
            {
411
            {
422
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:216:1: (this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule | this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule | this_ChangeEventRule_3= ruleChangeEventRule )
412
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:178:1: (this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule | this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule | this_ChangeEventRule_3= ruleChangeEventRule )
423
            int alt5=4;
413
            int alt5=4;
424
            switch ( input.LA(1) ) {
414
            switch ( input.LA(1) ) {
425
            case RULE_ID:
415
            case RULE_ID:
Lines 445-520 Link Here
445
                break;
435
                break;
446
            default:
436
            default:
447
                NoViableAltException nvae =
437
                NoViableAltException nvae =
448
                    new NoViableAltException("216:1: (this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule | this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule | this_ChangeEventRule_3= ruleChangeEventRule )", 5, 0, input);
438
                    new NoViableAltException("", 5, 0, input);
449
439
450
                throw nvae;
440
                throw nvae;
451
            }
441
            }
452
442
453
            switch (alt5) {
443
            switch (alt5) {
454
                case 1 :
444
                case 1 :
455
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:217:5: this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule
445
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:179:5: this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule
456
                    {
446
                    {
457
                     
447
                     
458
                            currentNode=createCompositeNode(grammarAccess.getEventRuleAccess().getCallOrSignalEventRuleParserRuleCall_0(), currentNode); 
448
                            newCompositeNode(grammarAccess.getEventRuleAccess().getCallOrSignalEventRuleParserRuleCall_0()); 
459
                        
449
                        
460
                    pushFollow(FOLLOW_ruleCallOrSignalEventRule_in_ruleEventRule305);
450
                    pushFollow(FOLLOW_ruleCallOrSignalEventRule_in_ruleEventRule307);
461
                    this_CallOrSignalEventRule_0=ruleCallOrSignalEventRule();
451
                    this_CallOrSignalEventRule_0=ruleCallOrSignalEventRule();
462
                    _fsp--;
452
453
                    state._fsp--;
463
454
464
                     
455
                     
465
                            current = this_CallOrSignalEventRule_0; 
456
                            current = this_CallOrSignalEventRule_0; 
466
                            currentNode = currentNode.getParent();
457
                            afterParserOrEnumRuleCall();
467
                        
458
                        
468
459
469
                    }
460
                    }
470
                    break;
461
                    break;
471
                case 2 :
462
                case 2 :
472
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:227:5: this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule
463
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:189:5: this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule
473
                    {
464
                    {
474
                     
465
                     
475
                            currentNode=createCompositeNode(grammarAccess.getEventRuleAccess().getAnyReceiveEventRuleParserRuleCall_1(), currentNode); 
466
                            newCompositeNode(grammarAccess.getEventRuleAccess().getAnyReceiveEventRuleParserRuleCall_1()); 
476
                        
467
                        
477
                    pushFollow(FOLLOW_ruleAnyReceiveEventRule_in_ruleEventRule332);
468
                    pushFollow(FOLLOW_ruleAnyReceiveEventRule_in_ruleEventRule334);
478
                    this_AnyReceiveEventRule_1=ruleAnyReceiveEventRule();
469
                    this_AnyReceiveEventRule_1=ruleAnyReceiveEventRule();
479
                    _fsp--;
470
471
                    state._fsp--;
480
472
481
                     
473
                     
482
                            current = this_AnyReceiveEventRule_1; 
474
                            current = this_AnyReceiveEventRule_1; 
483
                            currentNode = currentNode.getParent();
475
                            afterParserOrEnumRuleCall();
484
                        
476
                        
485
477
486
                    }
478
                    }
487
                    break;
479
                    break;
488
                case 3 :
480
                case 3 :
489
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:237:5: this_TimeEventRule_2= ruleTimeEventRule
481
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:199:5: this_TimeEventRule_2= ruleTimeEventRule
490
                    {
482
                    {
491
                     
483
                     
492
                            currentNode=createCompositeNode(grammarAccess.getEventRuleAccess().getTimeEventRuleParserRuleCall_2(), currentNode); 
484
                            newCompositeNode(grammarAccess.getEventRuleAccess().getTimeEventRuleParserRuleCall_2()); 
493
                        
485
                        
494
                    pushFollow(FOLLOW_ruleTimeEventRule_in_ruleEventRule359);
486
                    pushFollow(FOLLOW_ruleTimeEventRule_in_ruleEventRule361);
495
                    this_TimeEventRule_2=ruleTimeEventRule();
487
                    this_TimeEventRule_2=ruleTimeEventRule();
496
                    _fsp--;
488
489
                    state._fsp--;
497
490
498
                     
491
                     
499
                            current = this_TimeEventRule_2; 
492
                            current = this_TimeEventRule_2; 
500
                            currentNode = currentNode.getParent();
493
                            afterParserOrEnumRuleCall();
501
                        
494
                        
502
495
503
                    }
496
                    }
504
                    break;
497
                    break;
505
                case 4 :
498
                case 4 :
506
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:247:5: this_ChangeEventRule_3= ruleChangeEventRule
499
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:209:5: this_ChangeEventRule_3= ruleChangeEventRule
507
                    {
500
                    {
508
                     
501
                     
509
                            currentNode=createCompositeNode(grammarAccess.getEventRuleAccess().getChangeEventRuleParserRuleCall_3(), currentNode); 
502
                            newCompositeNode(grammarAccess.getEventRuleAccess().getChangeEventRuleParserRuleCall_3()); 
510
                        
503
                        
511
                    pushFollow(FOLLOW_ruleChangeEventRule_in_ruleEventRule386);
504
                    pushFollow(FOLLOW_ruleChangeEventRule_in_ruleEventRule388);
512
                    this_ChangeEventRule_3=ruleChangeEventRule();
505
                    this_ChangeEventRule_3=ruleChangeEventRule();
513
                    _fsp--;
506
507
                    state._fsp--;
514
508
515
                     
509
                     
516
                            current = this_ChangeEventRule_3; 
510
                            current = this_ChangeEventRule_3; 
517
                            currentNode = currentNode.getParent();
511
                            afterParserOrEnumRuleCall();
518
                        
512
                        
519
513
520
                    }
514
                    }
Lines 525-533 Link Here
525
519
526
            }
520
            }
527
521
528
             resetLookahead(); 
522
             leaveRule(); 
529
                	lastConsumedNode = currentNode;
530
                
531
        }
523
        }
532
         
524
         
533
            catch (RecognitionException re) { 
525
            catch (RecognitionException re) { 
Lines 538-548 Link Here
538
        }
530
        }
539
        return current;
531
        return current;
540
    }
532
    }
541
    // $ANTLR end ruleEventRule
533
    // $ANTLR end "ruleEventRule"
542
534
543
535
544
    // $ANTLR start entryRuleCallOrSignalEventRule
536
    // $ANTLR start "entryRuleCallOrSignalEventRule"
545
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:263:1: entryRuleCallOrSignalEventRule returns [EObject current=null] : iv_ruleCallOrSignalEventRule= ruleCallOrSignalEventRule EOF ;
537
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:225:1: entryRuleCallOrSignalEventRule returns [EObject current=null] : iv_ruleCallOrSignalEventRule= ruleCallOrSignalEventRule EOF ;
546
    public final EObject entryRuleCallOrSignalEventRule() throws RecognitionException {
538
    public final EObject entryRuleCallOrSignalEventRule() throws RecognitionException {
547
        EObject current = null;
539
        EObject current = null;
548
540
Lines 550-565 Link Here
550
542
551
543
552
        try {
544
        try {
553
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:264:2: (iv_ruleCallOrSignalEventRule= ruleCallOrSignalEventRule EOF )
545
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:226:2: (iv_ruleCallOrSignalEventRule= ruleCallOrSignalEventRule EOF )
554
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:265:2: iv_ruleCallOrSignalEventRule= ruleCallOrSignalEventRule EOF
546
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:227:2: iv_ruleCallOrSignalEventRule= ruleCallOrSignalEventRule EOF
555
            {
547
            {
556
             currentNode = createCompositeNode(grammarAccess.getCallOrSignalEventRuleRule(), currentNode); 
548
             newCompositeNode(grammarAccess.getCallOrSignalEventRuleRule()); 
557
            pushFollow(FOLLOW_ruleCallOrSignalEventRule_in_entryRuleCallOrSignalEventRule421);
549
            pushFollow(FOLLOW_ruleCallOrSignalEventRule_in_entryRuleCallOrSignalEventRule423);
558
            iv_ruleCallOrSignalEventRule=ruleCallOrSignalEventRule();
550
            iv_ruleCallOrSignalEventRule=ruleCallOrSignalEventRule();
559
            _fsp--;
551
552
            state._fsp--;
560
553
561
             current =iv_ruleCallOrSignalEventRule; 
554
             current =iv_ruleCallOrSignalEventRule; 
562
            match(input,EOF,FOLLOW_EOF_in_entryRuleCallOrSignalEventRule431); 
555
            match(input,EOF,FOLLOW_EOF_in_entryRuleCallOrSignalEventRule433); 
563
556
564
            }
557
            }
565
558
Lines 573-607 Link Here
573
        }
566
        }
574
        return current;
567
        return current;
575
    }
568
    }
576
    // $ANTLR end entryRuleCallOrSignalEventRule
569
    // $ANTLR end "entryRuleCallOrSignalEventRule"
577
570
578
571
579
    // $ANTLR start ruleCallOrSignalEventRule
572
    // $ANTLR start "ruleCallOrSignalEventRule"
580
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:272:1: ruleCallOrSignalEventRule returns [EObject current=null] : ( ( RULE_ID ) ) ;
573
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:234:1: ruleCallOrSignalEventRule returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
581
    public final EObject ruleCallOrSignalEventRule() throws RecognitionException {
574
    public final EObject ruleCallOrSignalEventRule() throws RecognitionException {
582
        EObject current = null;
575
        EObject current = null;
583
576
584
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
577
        Token otherlv_0=null;
578
579
         enterRule(); 
585
            
580
            
586
        try {
581
        try {
587
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:277:6: ( ( ( RULE_ID ) ) )
582
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:237:28: ( ( (otherlv_0= RULE_ID ) ) )
588
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:278:1: ( ( RULE_ID ) )
583
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:238:1: ( (otherlv_0= RULE_ID ) )
589
            {
584
            {
590
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:278:1: ( ( RULE_ID ) )
585
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:238:1: ( (otherlv_0= RULE_ID ) )
591
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:279:1: ( RULE_ID )
586
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:239:1: (otherlv_0= RULE_ID )
592
            {
587
            {
593
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:279:1: ( RULE_ID )
588
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:239:1: (otherlv_0= RULE_ID )
594
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:280:3: RULE_ID
589
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:240:3: otherlv_0= RULE_ID
595
            {
590
            {
596
591
597
            			if (current==null) {
592
            			if (current==null) {
598
            	            current = factory.create(grammarAccess.getCallOrSignalEventRuleRule().getType().getClassifier());
593
            	            current = createModelElement(grammarAccess.getCallOrSignalEventRuleRule());
599
            	            associateNodeWithAstElement(currentNode, current);
600
            	        }
594
            	        }
601
                    
595
                    
602
            match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleCallOrSignalEventRule473); 
596
            otherlv_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleCallOrSignalEventRule477); 
603
597
604
            		createLeafNode(grammarAccess.getCallOrSignalEventRuleAccess().getOperationOrSignalNamedElementCrossReference_0(), "operationOrSignal"); 
598
            		newLeafNode(otherlv_0, grammarAccess.getCallOrSignalEventRuleAccess().getOperationOrSignalNamedElementCrossReference_0()); 
605
            	
599
            	
606
600
607
            }
601
            }
Lines 612-620 Link Here
612
606
613
            }
607
            }
614
608
615
             resetLookahead(); 
609
             leaveRule(); 
616
                	lastConsumedNode = currentNode;
617
                
618
        }
610
        }
619
         
611
         
620
            catch (RecognitionException re) { 
612
            catch (RecognitionException re) { 
Lines 625-635 Link Here
625
        }
617
        }
626
        return current;
618
        return current;
627
    }
619
    }
628
    // $ANTLR end ruleCallOrSignalEventRule
620
    // $ANTLR end "ruleCallOrSignalEventRule"
629
621
630
622
631
    // $ANTLR start entryRuleAnyReceiveEventRule
623
    // $ANTLR start "entryRuleAnyReceiveEventRule"
632
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:300:1: entryRuleAnyReceiveEventRule returns [EObject current=null] : iv_ruleAnyReceiveEventRule= ruleAnyReceiveEventRule EOF ;
624
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:259:1: entryRuleAnyReceiveEventRule returns [EObject current=null] : iv_ruleAnyReceiveEventRule= ruleAnyReceiveEventRule EOF ;
633
    public final EObject entryRuleAnyReceiveEventRule() throws RecognitionException {
625
    public final EObject entryRuleAnyReceiveEventRule() throws RecognitionException {
634
        EObject current = null;
626
        EObject current = null;
635
627
Lines 637-652 Link Here
637
629
638
630
639
        try {
631
        try {
640
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:301:2: (iv_ruleAnyReceiveEventRule= ruleAnyReceiveEventRule EOF )
632
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:260:2: (iv_ruleAnyReceiveEventRule= ruleAnyReceiveEventRule EOF )
641
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:302:2: iv_ruleAnyReceiveEventRule= ruleAnyReceiveEventRule EOF
633
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:261:2: iv_ruleAnyReceiveEventRule= ruleAnyReceiveEventRule EOF
642
            {
634
            {
643
             currentNode = createCompositeNode(grammarAccess.getAnyReceiveEventRuleRule(), currentNode); 
635
             newCompositeNode(grammarAccess.getAnyReceiveEventRuleRule()); 
644
            pushFollow(FOLLOW_ruleAnyReceiveEventRule_in_entryRuleAnyReceiveEventRule508);
636
            pushFollow(FOLLOW_ruleAnyReceiveEventRule_in_entryRuleAnyReceiveEventRule512);
645
            iv_ruleAnyReceiveEventRule=ruleAnyReceiveEventRule();
637
            iv_ruleAnyReceiveEventRule=ruleAnyReceiveEventRule();
646
            _fsp--;
638
639
            state._fsp--;
647
640
648
             current =iv_ruleAnyReceiveEventRule; 
641
             current =iv_ruleAnyReceiveEventRule; 
649
            match(input,EOF,FOLLOW_EOF_in_entryRuleAnyReceiveEventRule518); 
642
            match(input,EOF,FOLLOW_EOF_in_entryRuleAnyReceiveEventRule522); 
650
643
651
            }
644
            }
652
645
Lines 660-703 Link Here
660
        }
653
        }
661
        return current;
654
        return current;
662
    }
655
    }
663
    // $ANTLR end entryRuleAnyReceiveEventRule
656
    // $ANTLR end "entryRuleAnyReceiveEventRule"
664
657
665
658
666
    // $ANTLR start ruleAnyReceiveEventRule
659
    // $ANTLR start "ruleAnyReceiveEventRule"
667
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:309:1: ruleAnyReceiveEventRule returns [EObject current=null] : ( (lv_isAReceiveEvent_0_0= 'all' ) ) ;
660
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:268:1: ruleAnyReceiveEventRule returns [EObject current=null] : ( (lv_isAReceiveEvent_0_0= 'all' ) ) ;
668
    public final EObject ruleAnyReceiveEventRule() throws RecognitionException {
661
    public final EObject ruleAnyReceiveEventRule() throws RecognitionException {
669
        EObject current = null;
662
        EObject current = null;
670
663
671
        Token lv_isAReceiveEvent_0_0=null;
664
        Token lv_isAReceiveEvent_0_0=null;
672
665
673
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
666
         enterRule(); 
674
            
667
            
675
        try {
668
        try {
676
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:314:6: ( ( (lv_isAReceiveEvent_0_0= 'all' ) ) )
669
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:271:28: ( ( (lv_isAReceiveEvent_0_0= 'all' ) ) )
677
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:315:1: ( (lv_isAReceiveEvent_0_0= 'all' ) )
670
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:272:1: ( (lv_isAReceiveEvent_0_0= 'all' ) )
678
            {
671
            {
679
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:315:1: ( (lv_isAReceiveEvent_0_0= 'all' ) )
672
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:272:1: ( (lv_isAReceiveEvent_0_0= 'all' ) )
680
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:316:1: (lv_isAReceiveEvent_0_0= 'all' )
673
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:273:1: (lv_isAReceiveEvent_0_0= 'all' )
681
            {
674
            {
682
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:316:1: (lv_isAReceiveEvent_0_0= 'all' )
675
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:273:1: (lv_isAReceiveEvent_0_0= 'all' )
683
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:317:3: lv_isAReceiveEvent_0_0= 'all'
676
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:274:3: lv_isAReceiveEvent_0_0= 'all'
684
            {
677
            {
685
            lv_isAReceiveEvent_0_0=(Token)input.LT(1);
678
            lv_isAReceiveEvent_0_0=(Token)match(input,12,FOLLOW_12_in_ruleAnyReceiveEventRule564); 
686
            match(input,12,FOLLOW_12_in_ruleAnyReceiveEventRule560); 
687
679
688
                    createLeafNode(grammarAccess.getAnyReceiveEventRuleAccess().getIsAReceiveEventAllKeyword_0(), "isAReceiveEvent"); 
680
                    newLeafNode(lv_isAReceiveEvent_0_0, grammarAccess.getAnyReceiveEventRuleAccess().getIsAReceiveEventAllKeyword_0());
689
                
681
                
690
682
691
            	        if (current==null) {
683
            	        if (current==null) {
692
            	            current = factory.create(grammarAccess.getAnyReceiveEventRuleRule().getType().getClassifier());
684
            	            current = createModelElement(grammarAccess.getAnyReceiveEventRuleRule());
693
            	            associateNodeWithAstElement(currentNode, current);
694
            	        }
695
            	        
696
            	        try {
697
            	       		set(current, "isAReceiveEvent", lv_isAReceiveEvent_0_0, "all", lastConsumedNode);
698
            	        } catch (ValueConverterException vce) {
699
            				handleValueConverterException(vce);
700
            	        }
685
            	        }
686
                   		setWithLastConsumed(current, "isAReceiveEvent", lv_isAReceiveEvent_0_0, "all");
701
            	    
687
            	    
702
688
703
            }
689
            }
Lines 708-716 Link Here
708
694
709
            }
695
            }
710
696
711
             resetLookahead(); 
697
             leaveRule(); 
712
                	lastConsumedNode = currentNode;
713
                
714
        }
698
        }
715
         
699
         
716
            catch (RecognitionException re) { 
700
            catch (RecognitionException re) { 
Lines 721-731 Link Here
721
        }
705
        }
722
        return current;
706
        return current;
723
    }
707
    }
724
    // $ANTLR end ruleAnyReceiveEventRule
708
    // $ANTLR end "ruleAnyReceiveEventRule"
725
709
726
710
727
    // $ANTLR start entryRuleTimeEventRule
711
    // $ANTLR start "entryRuleTimeEventRule"
728
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:344:1: entryRuleTimeEventRule returns [EObject current=null] : iv_ruleTimeEventRule= ruleTimeEventRule EOF ;
712
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:295:1: entryRuleTimeEventRule returns [EObject current=null] : iv_ruleTimeEventRule= ruleTimeEventRule EOF ;
729
    public final EObject entryRuleTimeEventRule() throws RecognitionException {
713
    public final EObject entryRuleTimeEventRule() throws RecognitionException {
730
        EObject current = null;
714
        EObject current = null;
731
715
Lines 733-748 Link Here
733
717
734
718
735
        try {
719
        try {
736
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:345:2: (iv_ruleTimeEventRule= ruleTimeEventRule EOF )
720
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:296:2: (iv_ruleTimeEventRule= ruleTimeEventRule EOF )
737
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:346:2: iv_ruleTimeEventRule= ruleTimeEventRule EOF
721
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:297:2: iv_ruleTimeEventRule= ruleTimeEventRule EOF
738
            {
722
            {
739
             currentNode = createCompositeNode(grammarAccess.getTimeEventRuleRule(), currentNode); 
723
             newCompositeNode(grammarAccess.getTimeEventRuleRule()); 
740
            pushFollow(FOLLOW_ruleTimeEventRule_in_entryRuleTimeEventRule608);
724
            pushFollow(FOLLOW_ruleTimeEventRule_in_entryRuleTimeEventRule612);
741
            iv_ruleTimeEventRule=ruleTimeEventRule();
725
            iv_ruleTimeEventRule=ruleTimeEventRule();
742
            _fsp--;
726
727
            state._fsp--;
743
728
744
             current =iv_ruleTimeEventRule; 
729
             current =iv_ruleTimeEventRule; 
745
            match(input,EOF,FOLLOW_EOF_in_entryRuleTimeEventRule618); 
730
            match(input,EOF,FOLLOW_EOF_in_entryRuleTimeEventRule622); 
746
731
747
            }
732
            }
748
733
Lines 756-766 Link Here
756
        }
741
        }
757
        return current;
742
        return current;
758
    }
743
    }
759
    // $ANTLR end entryRuleTimeEventRule
744
    // $ANTLR end "entryRuleTimeEventRule"
760
745
761
746
762
    // $ANTLR start ruleTimeEventRule
747
    // $ANTLR start "ruleTimeEventRule"
763
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:353:1: ruleTimeEventRule returns [EObject current=null] : (this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule | this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule ) ;
748
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:304:1: ruleTimeEventRule returns [EObject current=null] : (this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule | this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule ) ;
764
    public final EObject ruleTimeEventRule() throws RecognitionException {
749
    public final EObject ruleTimeEventRule() throws RecognitionException {
765
        EObject current = null;
750
        EObject current = null;
766
751
Lines 769-781 Link Here
769
        EObject this_AbsoluteTimeEventRule_1 = null;
754
        EObject this_AbsoluteTimeEventRule_1 = null;
770
755
771
756
772
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
757
         enterRule(); 
773
            
758
            
774
        try {
759
        try {
775
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:358:6: ( (this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule | this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule ) )
760
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:307:28: ( (this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule | this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule ) )
776
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:359:1: (this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule | this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule )
761
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:308:1: (this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule | this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule )
777
            {
762
            {
778
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:359:1: (this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule | this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule )
763
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:308:1: (this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule | this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule )
779
            int alt6=2;
764
            int alt6=2;
780
            int LA6_0 = input.LA(1);
765
            int LA6_0 = input.LA(1);
781
766
Lines 787-827 Link Here
787
            }
772
            }
788
            else {
773
            else {
789
                NoViableAltException nvae =
774
                NoViableAltException nvae =
790
                    new NoViableAltException("359:1: (this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule | this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule )", 6, 0, input);
775
                    new NoViableAltException("", 6, 0, input);
791
776
792
                throw nvae;
777
                throw nvae;
793
            }
778
            }
794
            switch (alt6) {
779
            switch (alt6) {
795
                case 1 :
780
                case 1 :
796
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:360:5: this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule
781
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:309:5: this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule
797
                    {
782
                    {
798
                     
783
                     
799
                            currentNode=createCompositeNode(grammarAccess.getTimeEventRuleAccess().getRelativeTimeEventRuleParserRuleCall_0(), currentNode); 
784
                            newCompositeNode(grammarAccess.getTimeEventRuleAccess().getRelativeTimeEventRuleParserRuleCall_0()); 
800
                        
785
                        
801
                    pushFollow(FOLLOW_ruleRelativeTimeEventRule_in_ruleTimeEventRule665);
786
                    pushFollow(FOLLOW_ruleRelativeTimeEventRule_in_ruleTimeEventRule669);
802
                    this_RelativeTimeEventRule_0=ruleRelativeTimeEventRule();
787
                    this_RelativeTimeEventRule_0=ruleRelativeTimeEventRule();
803
                    _fsp--;
788
789
                    state._fsp--;
804
790
805
                     
791
                     
806
                            current = this_RelativeTimeEventRule_0; 
792
                            current = this_RelativeTimeEventRule_0; 
807
                            currentNode = currentNode.getParent();
793
                            afterParserOrEnumRuleCall();
808
                        
794
                        
809
795
810
                    }
796
                    }
811
                    break;
797
                    break;
812
                case 2 :
798
                case 2 :
813
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:370:5: this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule
799
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:319:5: this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule
814
                    {
800
                    {
815
                     
801
                     
816
                            currentNode=createCompositeNode(grammarAccess.getTimeEventRuleAccess().getAbsoluteTimeEventRuleParserRuleCall_1(), currentNode); 
802
                            newCompositeNode(grammarAccess.getTimeEventRuleAccess().getAbsoluteTimeEventRuleParserRuleCall_1()); 
817
                        
803
                        
818
                    pushFollow(FOLLOW_ruleAbsoluteTimeEventRule_in_ruleTimeEventRule692);
804
                    pushFollow(FOLLOW_ruleAbsoluteTimeEventRule_in_ruleTimeEventRule696);
819
                    this_AbsoluteTimeEventRule_1=ruleAbsoluteTimeEventRule();
805
                    this_AbsoluteTimeEventRule_1=ruleAbsoluteTimeEventRule();
820
                    _fsp--;
806
807
                    state._fsp--;
821
808
822
                     
809
                     
823
                            current = this_AbsoluteTimeEventRule_1; 
810
                            current = this_AbsoluteTimeEventRule_1; 
824
                            currentNode = currentNode.getParent();
811
                            afterParserOrEnumRuleCall();
825
                        
812
                        
826
813
827
                    }
814
                    }
Lines 832-840 Link Here
832
819
833
            }
820
            }
834
821
835
             resetLookahead(); 
822
             leaveRule(); 
836
                	lastConsumedNode = currentNode;
837
                
838
        }
823
        }
839
         
824
         
840
            catch (RecognitionException re) { 
825
            catch (RecognitionException re) { 
Lines 845-855 Link Here
845
        }
830
        }
846
        return current;
831
        return current;
847
    }
832
    }
848
    // $ANTLR end ruleTimeEventRule
833
    // $ANTLR end "ruleTimeEventRule"
849
834
850
835
851
    // $ANTLR start entryRuleRelativeTimeEventRule
836
    // $ANTLR start "entryRuleRelativeTimeEventRule"
852
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:386:1: entryRuleRelativeTimeEventRule returns [EObject current=null] : iv_ruleRelativeTimeEventRule= ruleRelativeTimeEventRule EOF ;
837
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:335:1: entryRuleRelativeTimeEventRule returns [EObject current=null] : iv_ruleRelativeTimeEventRule= ruleRelativeTimeEventRule EOF ;
853
    public final EObject entryRuleRelativeTimeEventRule() throws RecognitionException {
838
    public final EObject entryRuleRelativeTimeEventRule() throws RecognitionException {
854
        EObject current = null;
839
        EObject current = null;
855
840
Lines 857-872 Link Here
857
842
858
843
859
        try {
844
        try {
860
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:387:2: (iv_ruleRelativeTimeEventRule= ruleRelativeTimeEventRule EOF )
845
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:336:2: (iv_ruleRelativeTimeEventRule= ruleRelativeTimeEventRule EOF )
861
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:388:2: iv_ruleRelativeTimeEventRule= ruleRelativeTimeEventRule EOF
846
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:337:2: iv_ruleRelativeTimeEventRule= ruleRelativeTimeEventRule EOF
862
            {
847
            {
863
             currentNode = createCompositeNode(grammarAccess.getRelativeTimeEventRuleRule(), currentNode); 
848
             newCompositeNode(grammarAccess.getRelativeTimeEventRuleRule()); 
864
            pushFollow(FOLLOW_ruleRelativeTimeEventRule_in_entryRuleRelativeTimeEventRule727);
849
            pushFollow(FOLLOW_ruleRelativeTimeEventRule_in_entryRuleRelativeTimeEventRule731);
865
            iv_ruleRelativeTimeEventRule=ruleRelativeTimeEventRule();
850
            iv_ruleRelativeTimeEventRule=ruleRelativeTimeEventRule();
866
            _fsp--;
851
852
            state._fsp--;
867
853
868
             current =iv_ruleRelativeTimeEventRule; 
854
             current =iv_ruleRelativeTimeEventRule; 
869
            match(input,EOF,FOLLOW_EOF_in_entryRuleRelativeTimeEventRule737); 
855
            match(input,EOF,FOLLOW_EOF_in_entryRuleRelativeTimeEventRule741); 
870
856
871
            }
857
            }
872
858
Lines 880-934 Link Here
880
        }
866
        }
881
        return current;
867
        return current;
882
    }
868
    }
883
    // $ANTLR end entryRuleRelativeTimeEventRule
869
    // $ANTLR end "entryRuleRelativeTimeEventRule"
884
870
885
871
886
    // $ANTLR start ruleRelativeTimeEventRule
872
    // $ANTLR start "ruleRelativeTimeEventRule"
887
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:395:1: ruleRelativeTimeEventRule returns [EObject current=null] : ( 'after' ( (lv_expr_1_0= RULE_STRING ) ) ) ;
873
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:344:1: ruleRelativeTimeEventRule returns [EObject current=null] : (otherlv_0= 'after' ( (lv_expr_1_0= RULE_STRING ) ) ) ;
888
    public final EObject ruleRelativeTimeEventRule() throws RecognitionException {
874
    public final EObject ruleRelativeTimeEventRule() throws RecognitionException {
889
        EObject current = null;
875
        EObject current = null;
890
876
877
        Token otherlv_0=null;
891
        Token lv_expr_1_0=null;
878
        Token lv_expr_1_0=null;
892
879
893
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
880
         enterRule(); 
894
            
881
            
895
        try {
882
        try {
896
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:400:6: ( ( 'after' ( (lv_expr_1_0= RULE_STRING ) ) ) )
883
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:347:28: ( (otherlv_0= 'after' ( (lv_expr_1_0= RULE_STRING ) ) ) )
897
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:401:1: ( 'after' ( (lv_expr_1_0= RULE_STRING ) ) )
884
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:348:1: (otherlv_0= 'after' ( (lv_expr_1_0= RULE_STRING ) ) )
898
            {
885
            {
899
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:401:1: ( 'after' ( (lv_expr_1_0= RULE_STRING ) ) )
886
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:348:1: (otherlv_0= 'after' ( (lv_expr_1_0= RULE_STRING ) ) )
900
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:401:3: 'after' ( (lv_expr_1_0= RULE_STRING ) )
887
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:348:3: otherlv_0= 'after' ( (lv_expr_1_0= RULE_STRING ) )
901
            {
888
            {
902
            match(input,13,FOLLOW_13_in_ruleRelativeTimeEventRule772); 
889
            otherlv_0=(Token)match(input,13,FOLLOW_13_in_ruleRelativeTimeEventRule778); 
903
890
904
                    createLeafNode(grammarAccess.getRelativeTimeEventRuleAccess().getAfterKeyword_0(), null); 
891
                	newLeafNode(otherlv_0, grammarAccess.getRelativeTimeEventRuleAccess().getAfterKeyword_0());
905
                
892
                
906
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:405:1: ( (lv_expr_1_0= RULE_STRING ) )
893
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:352:1: ( (lv_expr_1_0= RULE_STRING ) )
907
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:406:1: (lv_expr_1_0= RULE_STRING )
894
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:353:1: (lv_expr_1_0= RULE_STRING )
908
            {
895
            {
909
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:406:1: (lv_expr_1_0= RULE_STRING )
896
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:353:1: (lv_expr_1_0= RULE_STRING )
910
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:407:3: lv_expr_1_0= RULE_STRING
897
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:354:3: lv_expr_1_0= RULE_STRING
911
            {
898
            {
912
            lv_expr_1_0=(Token)input.LT(1);
899
            lv_expr_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleRelativeTimeEventRule795); 
913
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleRelativeTimeEventRule789); 
914
900
915
            			createLeafNode(grammarAccess.getRelativeTimeEventRuleAccess().getExprSTRINGTerminalRuleCall_1_0(), "expr"); 
901
            			newLeafNode(lv_expr_1_0, grammarAccess.getRelativeTimeEventRuleAccess().getExprSTRINGTerminalRuleCall_1_0()); 
916
            		
902
            		
917
903
918
            	        if (current==null) {
904
            	        if (current==null) {
919
            	            current = factory.create(grammarAccess.getRelativeTimeEventRuleRule().getType().getClassifier());
905
            	            current = createModelElement(grammarAccess.getRelativeTimeEventRuleRule());
920
            	            associateNodeWithAstElement(currentNode, current);
921
            	        }
922
            	        try {
923
            	       		set(
924
            	       			current, 
925
            	       			"expr",
926
            	        		lv_expr_1_0, 
927
            	        		"STRING", 
928
            	        		lastConsumedNode);
929
            	        } catch (ValueConverterException vce) {
930
            				handleValueConverterException(vce);
931
            	        }
906
            	        }
907
                   		setWithLastConsumed(
908
                   			current, 
909
                   			"expr",
910
                    		lv_expr_1_0, 
911
                    		"STRING");
932
            	    
912
            	    
933
913
934
            }
914
            }
Lines 942-950 Link Here
942
922
943
            }
923
            }
944
924
945
             resetLookahead(); 
925
             leaveRule(); 
946
                	lastConsumedNode = currentNode;
947
                
948
        }
926
        }
949
         
927
         
950
            catch (RecognitionException re) { 
928
            catch (RecognitionException re) { 
Lines 955-965 Link Here
955
        }
933
        }
956
        return current;
934
        return current;
957
    }
935
    }
958
    // $ANTLR end ruleRelativeTimeEventRule
936
    // $ANTLR end "ruleRelativeTimeEventRule"
959
937
960
938
961
    // $ANTLR start entryRuleAbsoluteTimeEventRule
939
    // $ANTLR start "entryRuleAbsoluteTimeEventRule"
962
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:437:1: entryRuleAbsoluteTimeEventRule returns [EObject current=null] : iv_ruleAbsoluteTimeEventRule= ruleAbsoluteTimeEventRule EOF ;
940
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:378:1: entryRuleAbsoluteTimeEventRule returns [EObject current=null] : iv_ruleAbsoluteTimeEventRule= ruleAbsoluteTimeEventRule EOF ;
963
    public final EObject entryRuleAbsoluteTimeEventRule() throws RecognitionException {
941
    public final EObject entryRuleAbsoluteTimeEventRule() throws RecognitionException {
964
        EObject current = null;
942
        EObject current = null;
965
943
Lines 967-982 Link Here
967
945
968
946
969
        try {
947
        try {
970
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:438:2: (iv_ruleAbsoluteTimeEventRule= ruleAbsoluteTimeEventRule EOF )
948
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:379:2: (iv_ruleAbsoluteTimeEventRule= ruleAbsoluteTimeEventRule EOF )
971
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:439:2: iv_ruleAbsoluteTimeEventRule= ruleAbsoluteTimeEventRule EOF
949
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:380:2: iv_ruleAbsoluteTimeEventRule= ruleAbsoluteTimeEventRule EOF
972
            {
950
            {
973
             currentNode = createCompositeNode(grammarAccess.getAbsoluteTimeEventRuleRule(), currentNode); 
951
             newCompositeNode(grammarAccess.getAbsoluteTimeEventRuleRule()); 
974
            pushFollow(FOLLOW_ruleAbsoluteTimeEventRule_in_entryRuleAbsoluteTimeEventRule830);
952
            pushFollow(FOLLOW_ruleAbsoluteTimeEventRule_in_entryRuleAbsoluteTimeEventRule836);
975
            iv_ruleAbsoluteTimeEventRule=ruleAbsoluteTimeEventRule();
953
            iv_ruleAbsoluteTimeEventRule=ruleAbsoluteTimeEventRule();
976
            _fsp--;
954
955
            state._fsp--;
977
956
978
             current =iv_ruleAbsoluteTimeEventRule; 
957
             current =iv_ruleAbsoluteTimeEventRule; 
979
            match(input,EOF,FOLLOW_EOF_in_entryRuleAbsoluteTimeEventRule840); 
958
            match(input,EOF,FOLLOW_EOF_in_entryRuleAbsoluteTimeEventRule846); 
980
959
981
            }
960
            }
982
961
Lines 990-1044 Link Here
990
        }
969
        }
991
        return current;
970
        return current;
992
    }
971
    }
993
    // $ANTLR end entryRuleAbsoluteTimeEventRule
972
    // $ANTLR end "entryRuleAbsoluteTimeEventRule"
994
973
995
974
996
    // $ANTLR start ruleAbsoluteTimeEventRule
975
    // $ANTLR start "ruleAbsoluteTimeEventRule"
997
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:446:1: ruleAbsoluteTimeEventRule returns [EObject current=null] : ( 'at' ( (lv_expr_1_0= RULE_STRING ) ) ) ;
976
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:387:1: ruleAbsoluteTimeEventRule returns [EObject current=null] : (otherlv_0= 'at' ( (lv_expr_1_0= RULE_STRING ) ) ) ;
998
    public final EObject ruleAbsoluteTimeEventRule() throws RecognitionException {
977
    public final EObject ruleAbsoluteTimeEventRule() throws RecognitionException {
999
        EObject current = null;
978
        EObject current = null;
1000
979
980
        Token otherlv_0=null;
1001
        Token lv_expr_1_0=null;
981
        Token lv_expr_1_0=null;
1002
982
1003
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
983
         enterRule(); 
1004
            
984
            
1005
        try {
985
        try {
1006
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:451:6: ( ( 'at' ( (lv_expr_1_0= RULE_STRING ) ) ) )
986
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:390:28: ( (otherlv_0= 'at' ( (lv_expr_1_0= RULE_STRING ) ) ) )
1007
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:452:1: ( 'at' ( (lv_expr_1_0= RULE_STRING ) ) )
987
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:391:1: (otherlv_0= 'at' ( (lv_expr_1_0= RULE_STRING ) ) )
1008
            {
988
            {
1009
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:452:1: ( 'at' ( (lv_expr_1_0= RULE_STRING ) ) )
989
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:391:1: (otherlv_0= 'at' ( (lv_expr_1_0= RULE_STRING ) ) )
1010
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:452:3: 'at' ( (lv_expr_1_0= RULE_STRING ) )
990
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:391:3: otherlv_0= 'at' ( (lv_expr_1_0= RULE_STRING ) )
1011
            {
991
            {
1012
            match(input,14,FOLLOW_14_in_ruleAbsoluteTimeEventRule875); 
992
            otherlv_0=(Token)match(input,14,FOLLOW_14_in_ruleAbsoluteTimeEventRule883); 
1013
993
1014
                    createLeafNode(grammarAccess.getAbsoluteTimeEventRuleAccess().getAtKeyword_0(), null); 
994
                	newLeafNode(otherlv_0, grammarAccess.getAbsoluteTimeEventRuleAccess().getAtKeyword_0());
1015
                
995
                
1016
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:456:1: ( (lv_expr_1_0= RULE_STRING ) )
996
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:395:1: ( (lv_expr_1_0= RULE_STRING ) )
1017
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:457:1: (lv_expr_1_0= RULE_STRING )
997
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:396:1: (lv_expr_1_0= RULE_STRING )
1018
            {
998
            {
1019
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:457:1: (lv_expr_1_0= RULE_STRING )
999
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:396:1: (lv_expr_1_0= RULE_STRING )
1020
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:458:3: lv_expr_1_0= RULE_STRING
1000
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:397:3: lv_expr_1_0= RULE_STRING
1021
            {
1001
            {
1022
            lv_expr_1_0=(Token)input.LT(1);
1002
            lv_expr_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAbsoluteTimeEventRule900); 
1023
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleAbsoluteTimeEventRule892); 
1024
1003
1025
            			createLeafNode(grammarAccess.getAbsoluteTimeEventRuleAccess().getExprSTRINGTerminalRuleCall_1_0(), "expr"); 
1004
            			newLeafNode(lv_expr_1_0, grammarAccess.getAbsoluteTimeEventRuleAccess().getExprSTRINGTerminalRuleCall_1_0()); 
1026
            		
1005
            		
1027
1006
1028
            	        if (current==null) {
1007
            	        if (current==null) {
1029
            	            current = factory.create(grammarAccess.getAbsoluteTimeEventRuleRule().getType().getClassifier());
1008
            	            current = createModelElement(grammarAccess.getAbsoluteTimeEventRuleRule());
1030
            	            associateNodeWithAstElement(currentNode, current);
1031
            	        }
1009
            	        }
1032
            	        try {
1010
                   		setWithLastConsumed(
1033
            	       		set(
1011
                   			current, 
1034
            	       			current, 
1012
                   			"expr",
1035
            	       			"expr",
1013
                    		lv_expr_1_0, 
1036
            	        		lv_expr_1_0, 
1014
                    		"STRING");
1037
            	        		"STRING", 
1038
            	        		lastConsumedNode);
1039
            	        } catch (ValueConverterException vce) {
1040
            				handleValueConverterException(vce);
1041
            	        }
1042
            	    
1015
            	    
1043
1016
1044
            }
1017
            }
Lines 1052-1060 Link Here
1052
1025
1053
            }
1026
            }
1054
1027
1055
             resetLookahead(); 
1028
             leaveRule(); 
1056
                	lastConsumedNode = currentNode;
1057
                
1058
        }
1029
        }
1059
         
1030
         
1060
            catch (RecognitionException re) { 
1031
            catch (RecognitionException re) { 
Lines 1065-1075 Link Here
1065
        }
1036
        }
1066
        return current;
1037
        return current;
1067
    }
1038
    }
1068
    // $ANTLR end ruleAbsoluteTimeEventRule
1039
    // $ANTLR end "ruleAbsoluteTimeEventRule"
1069
1040
1070
1041
1071
    // $ANTLR start entryRuleChangeEventRule
1042
    // $ANTLR start "entryRuleChangeEventRule"
1072
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:488:1: entryRuleChangeEventRule returns [EObject current=null] : iv_ruleChangeEventRule= ruleChangeEventRule EOF ;
1043
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:421:1: entryRuleChangeEventRule returns [EObject current=null] : iv_ruleChangeEventRule= ruleChangeEventRule EOF ;
1073
    public final EObject entryRuleChangeEventRule() throws RecognitionException {
1044
    public final EObject entryRuleChangeEventRule() throws RecognitionException {
1074
        EObject current = null;
1045
        EObject current = null;
1075
1046
Lines 1077-1092 Link Here
1077
1048
1078
1049
1079
        try {
1050
        try {
1080
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:489:2: (iv_ruleChangeEventRule= ruleChangeEventRule EOF )
1051
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:422:2: (iv_ruleChangeEventRule= ruleChangeEventRule EOF )
1081
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:490:2: iv_ruleChangeEventRule= ruleChangeEventRule EOF
1052
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:423:2: iv_ruleChangeEventRule= ruleChangeEventRule EOF
1082
            {
1053
            {
1083
             currentNode = createCompositeNode(grammarAccess.getChangeEventRuleRule(), currentNode); 
1054
             newCompositeNode(grammarAccess.getChangeEventRuleRule()); 
1084
            pushFollow(FOLLOW_ruleChangeEventRule_in_entryRuleChangeEventRule933);
1055
            pushFollow(FOLLOW_ruleChangeEventRule_in_entryRuleChangeEventRule941);
1085
            iv_ruleChangeEventRule=ruleChangeEventRule();
1056
            iv_ruleChangeEventRule=ruleChangeEventRule();
1086
            _fsp--;
1057
1058
            state._fsp--;
1087
1059
1088
             current =iv_ruleChangeEventRule; 
1060
             current =iv_ruleChangeEventRule; 
1089
            match(input,EOF,FOLLOW_EOF_in_entryRuleChangeEventRule943); 
1061
            match(input,EOF,FOLLOW_EOF_in_entryRuleChangeEventRule951); 
1090
1062
1091
            }
1063
            }
1092
1064
Lines 1100-1154 Link Here
1100
        }
1072
        }
1101
        return current;
1073
        return current;
1102
    }
1074
    }
1103
    // $ANTLR end entryRuleChangeEventRule
1075
    // $ANTLR end "entryRuleChangeEventRule"
1104
1076
1105
1077
1106
    // $ANTLR start ruleChangeEventRule
1078
    // $ANTLR start "ruleChangeEventRule"
1107
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:497:1: ruleChangeEventRule returns [EObject current=null] : ( 'when' ( (lv_exp_1_0= RULE_STRING ) ) ) ;
1079
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:430:1: ruleChangeEventRule returns [EObject current=null] : (otherlv_0= 'when' ( (lv_exp_1_0= RULE_STRING ) ) ) ;
1108
    public final EObject ruleChangeEventRule() throws RecognitionException {
1080
    public final EObject ruleChangeEventRule() throws RecognitionException {
1109
        EObject current = null;
1081
        EObject current = null;
1110
1082
1083
        Token otherlv_0=null;
1111
        Token lv_exp_1_0=null;
1084
        Token lv_exp_1_0=null;
1112
1085
1113
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
1086
         enterRule(); 
1114
            
1087
            
1115
        try {
1088
        try {
1116
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:502:6: ( ( 'when' ( (lv_exp_1_0= RULE_STRING ) ) ) )
1089
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:433:28: ( (otherlv_0= 'when' ( (lv_exp_1_0= RULE_STRING ) ) ) )
1117
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:503:1: ( 'when' ( (lv_exp_1_0= RULE_STRING ) ) )
1090
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:434:1: (otherlv_0= 'when' ( (lv_exp_1_0= RULE_STRING ) ) )
1118
            {
1091
            {
1119
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:503:1: ( 'when' ( (lv_exp_1_0= RULE_STRING ) ) )
1092
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:434:1: (otherlv_0= 'when' ( (lv_exp_1_0= RULE_STRING ) ) )
1120
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:503:3: 'when' ( (lv_exp_1_0= RULE_STRING ) )
1093
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:434:3: otherlv_0= 'when' ( (lv_exp_1_0= RULE_STRING ) )
1121
            {
1094
            {
1122
            match(input,15,FOLLOW_15_in_ruleChangeEventRule978); 
1095
            otherlv_0=(Token)match(input,15,FOLLOW_15_in_ruleChangeEventRule988); 
1123
1096
1124
                    createLeafNode(grammarAccess.getChangeEventRuleAccess().getWhenKeyword_0(), null); 
1097
                	newLeafNode(otherlv_0, grammarAccess.getChangeEventRuleAccess().getWhenKeyword_0());
1125
                
1098
                
1126
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:507:1: ( (lv_exp_1_0= RULE_STRING ) )
1099
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:438:1: ( (lv_exp_1_0= RULE_STRING ) )
1127
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:508:1: (lv_exp_1_0= RULE_STRING )
1100
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:439:1: (lv_exp_1_0= RULE_STRING )
1128
            {
1101
            {
1129
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:508:1: (lv_exp_1_0= RULE_STRING )
1102
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:439:1: (lv_exp_1_0= RULE_STRING )
1130
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:509:3: lv_exp_1_0= RULE_STRING
1103
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:440:3: lv_exp_1_0= RULE_STRING
1131
            {
1104
            {
1132
            lv_exp_1_0=(Token)input.LT(1);
1105
            lv_exp_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleChangeEventRule1005); 
1133
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleChangeEventRule995); 
1134
1106
1135
            			createLeafNode(grammarAccess.getChangeEventRuleAccess().getExpSTRINGTerminalRuleCall_1_0(), "exp"); 
1107
            			newLeafNode(lv_exp_1_0, grammarAccess.getChangeEventRuleAccess().getExpSTRINGTerminalRuleCall_1_0()); 
1136
            		
1108
            		
1137
1109
1138
            	        if (current==null) {
1110
            	        if (current==null) {
1139
            	            current = factory.create(grammarAccess.getChangeEventRuleRule().getType().getClassifier());
1111
            	            current = createModelElement(grammarAccess.getChangeEventRuleRule());
1140
            	            associateNodeWithAstElement(currentNode, current);
1141
            	        }
1142
            	        try {
1143
            	       		set(
1144
            	       			current, 
1145
            	       			"exp",
1146
            	        		lv_exp_1_0, 
1147
            	        		"STRING", 
1148
            	        		lastConsumedNode);
1149
            	        } catch (ValueConverterException vce) {
1150
            				handleValueConverterException(vce);
1151
            	        }
1112
            	        }
1113
                   		setWithLastConsumed(
1114
                   			current, 
1115
                   			"exp",
1116
                    		lv_exp_1_0, 
1117
                    		"STRING");
1152
            	    
1118
            	    
1153
1119
1154
            }
1120
            }
Lines 1162-1170 Link Here
1162
1128
1163
            }
1129
            }
1164
1130
1165
             resetLookahead(); 
1131
             leaveRule(); 
1166
                	lastConsumedNode = currentNode;
1167
                
1168
        }
1132
        }
1169
         
1133
         
1170
            catch (RecognitionException re) { 
1134
            catch (RecognitionException re) { 
Lines 1175-1185 Link Here
1175
        }
1139
        }
1176
        return current;
1140
        return current;
1177
    }
1141
    }
1178
    // $ANTLR end ruleChangeEventRule
1142
    // $ANTLR end "ruleChangeEventRule"
1179
1143
1180
1144
1181
    // $ANTLR start entryRuleGuardRule
1145
    // $ANTLR start "entryRuleGuardRule"
1182
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:539:1: entryRuleGuardRule returns [EObject current=null] : iv_ruleGuardRule= ruleGuardRule EOF ;
1146
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:464:1: entryRuleGuardRule returns [EObject current=null] : iv_ruleGuardRule= ruleGuardRule EOF ;
1183
    public final EObject entryRuleGuardRule() throws RecognitionException {
1147
    public final EObject entryRuleGuardRule() throws RecognitionException {
1184
        EObject current = null;
1148
        EObject current = null;
1185
1149
Lines 1187-1202 Link Here
1187
1151
1188
1152
1189
        try {
1153
        try {
1190
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:540:2: (iv_ruleGuardRule= ruleGuardRule EOF )
1154
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:465:2: (iv_ruleGuardRule= ruleGuardRule EOF )
1191
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:541:2: iv_ruleGuardRule= ruleGuardRule EOF
1155
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:466:2: iv_ruleGuardRule= ruleGuardRule EOF
1192
            {
1156
            {
1193
             currentNode = createCompositeNode(grammarAccess.getGuardRuleRule(), currentNode); 
1157
             newCompositeNode(grammarAccess.getGuardRuleRule()); 
1194
            pushFollow(FOLLOW_ruleGuardRule_in_entryRuleGuardRule1036);
1158
            pushFollow(FOLLOW_ruleGuardRule_in_entryRuleGuardRule1046);
1195
            iv_ruleGuardRule=ruleGuardRule();
1159
            iv_ruleGuardRule=ruleGuardRule();
1196
            _fsp--;
1160
1161
            state._fsp--;
1197
1162
1198
             current =iv_ruleGuardRule; 
1163
             current =iv_ruleGuardRule; 
1199
            match(input,EOF,FOLLOW_EOF_in_entryRuleGuardRule1046); 
1164
            match(input,EOF,FOLLOW_EOF_in_entryRuleGuardRule1056); 
1200
1165
1201
            }
1166
            }
1202
1167
Lines 1210-1264 Link Here
1210
        }
1175
        }
1211
        return current;
1176
        return current;
1212
    }
1177
    }
1213
    // $ANTLR end entryRuleGuardRule
1178
    // $ANTLR end "entryRuleGuardRule"
1214
1179
1215
1180
1216
    // $ANTLR start ruleGuardRule
1181
    // $ANTLR start "ruleGuardRule"
1217
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:548:1: ruleGuardRule returns [EObject current=null] : ( '[' ( (lv_constraint_1_0= RULE_STRING ) ) ']' ) ;
1182
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:473:1: ruleGuardRule returns [EObject current=null] : (otherlv_0= '[' ( (lv_constraint_1_0= RULE_STRING ) ) otherlv_2= ']' ) ;
1218
    public final EObject ruleGuardRule() throws RecognitionException {
1183
    public final EObject ruleGuardRule() throws RecognitionException {
1219
        EObject current = null;
1184
        EObject current = null;
1220
1185
1186
        Token otherlv_0=null;
1221
        Token lv_constraint_1_0=null;
1187
        Token lv_constraint_1_0=null;
1188
        Token otherlv_2=null;
1222
1189
1223
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
1190
         enterRule(); 
1224
            
1191
            
1225
        try {
1192
        try {
1226
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:553:6: ( ( '[' ( (lv_constraint_1_0= RULE_STRING ) ) ']' ) )
1193
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:476:28: ( (otherlv_0= '[' ( (lv_constraint_1_0= RULE_STRING ) ) otherlv_2= ']' ) )
1227
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:554:1: ( '[' ( (lv_constraint_1_0= RULE_STRING ) ) ']' )
1194
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:477:1: (otherlv_0= '[' ( (lv_constraint_1_0= RULE_STRING ) ) otherlv_2= ']' )
1228
            {
1195
            {
1229
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:554:1: ( '[' ( (lv_constraint_1_0= RULE_STRING ) ) ']' )
1196
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:477:1: (otherlv_0= '[' ( (lv_constraint_1_0= RULE_STRING ) ) otherlv_2= ']' )
1230
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:554:3: '[' ( (lv_constraint_1_0= RULE_STRING ) ) ']'
1197
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:477:3: otherlv_0= '[' ( (lv_constraint_1_0= RULE_STRING ) ) otherlv_2= ']'
1231
            {
1198
            {
1232
            match(input,16,FOLLOW_16_in_ruleGuardRule1081); 
1199
            otherlv_0=(Token)match(input,16,FOLLOW_16_in_ruleGuardRule1093); 
1233
1200
1234
                    createLeafNode(grammarAccess.getGuardRuleAccess().getLeftSquareBracketKeyword_0(), null); 
1201
                	newLeafNode(otherlv_0, grammarAccess.getGuardRuleAccess().getLeftSquareBracketKeyword_0());
1235
                
1202
                
1236
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:558:1: ( (lv_constraint_1_0= RULE_STRING ) )
1203
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:481:1: ( (lv_constraint_1_0= RULE_STRING ) )
1237
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:559:1: (lv_constraint_1_0= RULE_STRING )
1204
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:482:1: (lv_constraint_1_0= RULE_STRING )
1238
            {
1205
            {
1239
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:559:1: (lv_constraint_1_0= RULE_STRING )
1206
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:482:1: (lv_constraint_1_0= RULE_STRING )
1240
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:560:3: lv_constraint_1_0= RULE_STRING
1207
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:483:3: lv_constraint_1_0= RULE_STRING
1241
            {
1208
            {
1242
            lv_constraint_1_0=(Token)input.LT(1);
1209
            lv_constraint_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleGuardRule1110); 
1243
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleGuardRule1098); 
1244
1210
1245
            			createLeafNode(grammarAccess.getGuardRuleAccess().getConstraintSTRINGTerminalRuleCall_1_0(), "constraint"); 
1211
            			newLeafNode(lv_constraint_1_0, grammarAccess.getGuardRuleAccess().getConstraintSTRINGTerminalRuleCall_1_0()); 
1246
            		
1212
            		
1247
1213
1248
            	        if (current==null) {
1214
            	        if (current==null) {
1249
            	            current = factory.create(grammarAccess.getGuardRuleRule().getType().getClassifier());
1215
            	            current = createModelElement(grammarAccess.getGuardRuleRule());
1250
            	            associateNodeWithAstElement(currentNode, current);
1251
            	        }
1252
            	        try {
1253
            	       		set(
1254
            	       			current, 
1255
            	       			"constraint",
1256
            	        		lv_constraint_1_0, 
1257
            	        		"STRING", 
1258
            	        		lastConsumedNode);
1259
            	        } catch (ValueConverterException vce) {
1260
            				handleValueConverterException(vce);
1261
            	        }
1216
            	        }
1217
                   		setWithLastConsumed(
1218
                   			current, 
1219
                   			"constraint",
1220
                    		lv_constraint_1_0, 
1221
                    		"STRING");
1262
            	    
1222
            	    
1263
1223
1264
            }
1224
            }
Lines 1266-1274 Link Here
1266
1226
1267
            }
1227
            }
1268
1228
1269
            match(input,17,FOLLOW_17_in_ruleGuardRule1113); 
1229
            otherlv_2=(Token)match(input,17,FOLLOW_17_in_ruleGuardRule1127); 
1270
1230
1271
                    createLeafNode(grammarAccess.getGuardRuleAccess().getRightSquareBracketKeyword_2(), null); 
1231
                	newLeafNode(otherlv_2, grammarAccess.getGuardRuleAccess().getRightSquareBracketKeyword_2());
1272
                
1232
                
1273
1233
1274
            }
1234
            }
Lines 1276-1284 Link Here
1276
1236
1277
            }
1237
            }
1278
1238
1279
             resetLookahead(); 
1239
             leaveRule(); 
1280
                	lastConsumedNode = currentNode;
1281
                
1282
        }
1240
        }
1283
         
1241
         
1284
            catch (RecognitionException re) { 
1242
            catch (RecognitionException re) { 
Lines 1289-1299 Link Here
1289
        }
1247
        }
1290
        return current;
1248
        return current;
1291
    }
1249
    }
1292
    // $ANTLR end ruleGuardRule
1250
    // $ANTLR end "ruleGuardRule"
1293
1251
1294
1252
1295
    // $ANTLR start entryRuleEffectRule
1253
    // $ANTLR start "entryRuleEffectRule"
1296
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:594:1: entryRuleEffectRule returns [EObject current=null] : iv_ruleEffectRule= ruleEffectRule EOF ;
1254
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:511:1: entryRuleEffectRule returns [EObject current=null] : iv_ruleEffectRule= ruleEffectRule EOF ;
1297
    public final EObject entryRuleEffectRule() throws RecognitionException {
1255
    public final EObject entryRuleEffectRule() throws RecognitionException {
1298
        EObject current = null;
1256
        EObject current = null;
1299
1257
Lines 1301-1316 Link Here
1301
1259
1302
1260
1303
        try {
1261
        try {
1304
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:595:2: (iv_ruleEffectRule= ruleEffectRule EOF )
1262
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:512:2: (iv_ruleEffectRule= ruleEffectRule EOF )
1305
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:596:2: iv_ruleEffectRule= ruleEffectRule EOF
1263
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:513:2: iv_ruleEffectRule= ruleEffectRule EOF
1306
            {
1264
            {
1307
             currentNode = createCompositeNode(grammarAccess.getEffectRuleRule(), currentNode); 
1265
             newCompositeNode(grammarAccess.getEffectRuleRule()); 
1308
            pushFollow(FOLLOW_ruleEffectRule_in_entryRuleEffectRule1149);
1266
            pushFollow(FOLLOW_ruleEffectRule_in_entryRuleEffectRule1163);
1309
            iv_ruleEffectRule=ruleEffectRule();
1267
            iv_ruleEffectRule=ruleEffectRule();
1310
            _fsp--;
1268
1269
            state._fsp--;
1311
1270
1312
             current =iv_ruleEffectRule; 
1271
             current =iv_ruleEffectRule; 
1313
            match(input,EOF,FOLLOW_EOF_in_entryRuleEffectRule1159); 
1272
            match(input,EOF,FOLLOW_EOF_in_entryRuleEffectRule1173); 
1314
1273
1315
            }
1274
            }
1316
1275
Lines 1324-1383 Link Here
1324
        }
1283
        }
1325
        return current;
1284
        return current;
1326
    }
1285
    }
1327
    // $ANTLR end entryRuleEffectRule
1286
    // $ANTLR end "entryRuleEffectRule"
1328
1287
1329
1288
1330
    // $ANTLR start ruleEffectRule
1289
    // $ANTLR start "ruleEffectRule"
1331
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:603:1: ruleEffectRule returns [EObject current=null] : ( '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) ;
1290
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:520:1: ruleEffectRule returns [EObject current=null] : (otherlv_0= '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) ;
1332
    public final EObject ruleEffectRule() throws RecognitionException {
1291
    public final EObject ruleEffectRule() throws RecognitionException {
1333
        EObject current = null;
1292
        EObject current = null;
1334
1293
1294
        Token otherlv_0=null;
1335
        Token lv_behaviorName_2_0=null;
1295
        Token lv_behaviorName_2_0=null;
1336
        Enumerator lv_kind_1_0 = null;
1296
        Enumerator lv_kind_1_0 = null;
1337
1297
1338
1298
1339
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
1299
         enterRule(); 
1340
            
1300
            
1341
        try {
1301
        try {
1342
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:608:6: ( ( '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) )
1302
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:523:28: ( (otherlv_0= '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) )
1343
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:609:1: ( '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
1303
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:524:1: (otherlv_0= '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
1344
            {
1304
            {
1345
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:609:1: ( '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
1305
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:524:1: (otherlv_0= '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
1346
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:609:3: '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) )
1306
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:524:3: otherlv_0= '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) )
1347
            {
1307
            {
1348
            match(input,18,FOLLOW_18_in_ruleEffectRule1194); 
1308
            otherlv_0=(Token)match(input,18,FOLLOW_18_in_ruleEffectRule1210); 
1349
1309
1350
                    createLeafNode(grammarAccess.getEffectRuleAccess().getSolidusKeyword_0(), null); 
1310
                	newLeafNode(otherlv_0, grammarAccess.getEffectRuleAccess().getSolidusKeyword_0());
1351
                
1311
                
1352
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:613:1: ( (lv_kind_1_0= ruleBehaviorKind ) )
1312
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:528:1: ( (lv_kind_1_0= ruleBehaviorKind ) )
1353
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:614:1: (lv_kind_1_0= ruleBehaviorKind )
1313
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:529:1: (lv_kind_1_0= ruleBehaviorKind )
1354
            {
1314
            {
1355
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:614:1: (lv_kind_1_0= ruleBehaviorKind )
1315
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:529:1: (lv_kind_1_0= ruleBehaviorKind )
1356
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:615:3: lv_kind_1_0= ruleBehaviorKind
1316
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:530:3: lv_kind_1_0= ruleBehaviorKind
1357
            {
1317
            {
1358
             
1318
             
1359
            	        currentNode=createCompositeNode(grammarAccess.getEffectRuleAccess().getKindBehaviorKindEnumRuleCall_1_0(), currentNode); 
1319
            	        newCompositeNode(grammarAccess.getEffectRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
1360
            	    
1320
            	    
1361
            pushFollow(FOLLOW_ruleBehaviorKind_in_ruleEffectRule1215);
1321
            pushFollow(FOLLOW_ruleBehaviorKind_in_ruleEffectRule1231);
1362
            lv_kind_1_0=ruleBehaviorKind();
1322
            lv_kind_1_0=ruleBehaviorKind();
1363
            _fsp--;
1364
1323
1324
            state._fsp--;
1325
1365
1326
1366
            	        if (current==null) {
1327
            	        if (current==null) {
1367
            	            current = factory.create(grammarAccess.getEffectRuleRule().getType().getClassifier());
1328
            	            current = createModelElementForParent(grammarAccess.getEffectRuleRule());
1368
            	            associateNodeWithAstElement(currentNode.getParent(), current);
1369
            	        }
1370
            	        try {
1371
            	       		set(
1372
            	       			current, 
1373
            	       			"kind",
1374
            	        		lv_kind_1_0, 
1375
            	        		"BehaviorKind", 
1376
            	        		currentNode);
1377
            	        } catch (ValueConverterException vce) {
1378
            				handleValueConverterException(vce);
1379
            	        }
1329
            	        }
1380
            	        currentNode = currentNode.getParent();
1330
                   		set(
1331
                   			current, 
1332
                   			"kind",
1333
                    		lv_kind_1_0, 
1334
                    		"BehaviorKind");
1335
            	        afterParserOrEnumRuleCall();
1381
            	    
1336
            	    
1382
1337
1383
            }
1338
            }
Lines 1385-1416 Link Here
1385
1340
1386
            }
1341
            }
1387
1342
1388
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:637:2: ( (lv_behaviorName_2_0= RULE_ID ) )
1343
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:546:2: ( (lv_behaviorName_2_0= RULE_ID ) )
1389
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:638:1: (lv_behaviorName_2_0= RULE_ID )
1344
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:547:1: (lv_behaviorName_2_0= RULE_ID )
1390
            {
1345
            {
1391
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:638:1: (lv_behaviorName_2_0= RULE_ID )
1346
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:547:1: (lv_behaviorName_2_0= RULE_ID )
1392
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:639:3: lv_behaviorName_2_0= RULE_ID
1347
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:548:3: lv_behaviorName_2_0= RULE_ID
1393
            {
1348
            {
1394
            lv_behaviorName_2_0=(Token)input.LT(1);
1349
            lv_behaviorName_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEffectRule1248); 
1395
            match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEffectRule1232); 
1396
1350
1397
            			createLeafNode(grammarAccess.getEffectRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0(), "behaviorName"); 
1351
            			newLeafNode(lv_behaviorName_2_0, grammarAccess.getEffectRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0()); 
1398
            		
1352
            		
1399
1353
1400
            	        if (current==null) {
1354
            	        if (current==null) {
1401
            	            current = factory.create(grammarAccess.getEffectRuleRule().getType().getClassifier());
1355
            	            current = createModelElement(grammarAccess.getEffectRuleRule());
1402
            	            associateNodeWithAstElement(currentNode, current);
1403
            	        }
1404
            	        try {
1405
            	       		set(
1406
            	       			current, 
1407
            	       			"behaviorName",
1408
            	        		lv_behaviorName_2_0, 
1409
            	        		"ID", 
1410
            	        		lastConsumedNode);
1411
            	        } catch (ValueConverterException vce) {
1412
            				handleValueConverterException(vce);
1413
            	        }
1356
            	        }
1357
                   		setWithLastConsumed(
1358
                   			current, 
1359
                   			"behaviorName",
1360
                    		lv_behaviorName_2_0, 
1361
                    		"ID");
1414
            	    
1362
            	    
1415
1363
1416
            }
1364
            }
Lines 1424-1432 Link Here
1424
1372
1425
            }
1373
            }
1426
1374
1427
             resetLookahead(); 
1375
             leaveRule(); 
1428
                	lastConsumedNode = currentNode;
1429
                
1430
        }
1376
        }
1431
         
1377
         
1432
            catch (RecognitionException re) { 
1378
            catch (RecognitionException re) { 
Lines 1437-1456 Link Here
1437
        }
1383
        }
1438
        return current;
1384
        return current;
1439
    }
1385
    }
1440
    // $ANTLR end ruleEffectRule
1386
    // $ANTLR end "ruleEffectRule"
1441
1387
1442
1388
1443
    // $ANTLR start ruleBehaviorKind
1389
    // $ANTLR start "ruleBehaviorKind"
1444
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:669:1: ruleBehaviorKind returns [Enumerator current=null] : ( ( 'Activity' ) | ( 'StateMachine' ) | ( 'OpaqueBehavior' ) ) ;
1390
    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:572:1: ruleBehaviorKind returns [Enumerator current=null] : ( (enumLiteral_0= 'Activity' ) | (enumLiteral_1= 'StateMachine' ) | (enumLiteral_2= 'OpaqueBehavior' ) ) ;
1445
    public final Enumerator ruleBehaviorKind() throws RecognitionException {
1391
    public final Enumerator ruleBehaviorKind() throws RecognitionException {
1446
        Enumerator current = null;
1392
        Enumerator current = null;
1447
1393
1448
         setCurrentLookahead(); resetLookahead(); 
1394
        Token enumLiteral_0=null;
1395
        Token enumLiteral_1=null;
1396
        Token enumLiteral_2=null;
1397
1398
         enterRule(); 
1449
        try {
1399
        try {
1450
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:673:6: ( ( ( 'Activity' ) | ( 'StateMachine' ) | ( 'OpaqueBehavior' ) ) )
1400
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:574:28: ( ( (enumLiteral_0= 'Activity' ) | (enumLiteral_1= 'StateMachine' ) | (enumLiteral_2= 'OpaqueBehavior' ) ) )
1451
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:674:1: ( ( 'Activity' ) | ( 'StateMachine' ) | ( 'OpaqueBehavior' ) )
1401
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:575:1: ( (enumLiteral_0= 'Activity' ) | (enumLiteral_1= 'StateMachine' ) | (enumLiteral_2= 'OpaqueBehavior' ) )
1452
            {
1402
            {
1453
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:674:1: ( ( 'Activity' ) | ( 'StateMachine' ) | ( 'OpaqueBehavior' ) )
1403
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:575:1: ( (enumLiteral_0= 'Activity' ) | (enumLiteral_1= 'StateMachine' ) | (enumLiteral_2= 'OpaqueBehavior' ) )
1454
            int alt7=3;
1404
            int alt7=3;
1455
            switch ( input.LA(1) ) {
1405
            switch ( input.LA(1) ) {
1456
            case 19:
1406
            case 19:
Lines 1470-1491 Link Here
1470
                break;
1420
                break;
1471
            default:
1421
            default:
1472
                NoViableAltException nvae =
1422
                NoViableAltException nvae =
1473
                    new NoViableAltException("674:1: ( ( 'Activity' ) | ( 'StateMachine' ) | ( 'OpaqueBehavior' ) )", 7, 0, input);
1423
                    new NoViableAltException("", 7, 0, input);
1474
1424
1475
                throw nvae;
1425
                throw nvae;
1476
            }
1426
            }
1477
1427
1478
            switch (alt7) {
1428
            switch (alt7) {
1479
                case 1 :
1429
                case 1 :
1480
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:674:2: ( 'Activity' )
1430
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:575:2: (enumLiteral_0= 'Activity' )
1481
                    {
1431
                    {
1482
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:674:2: ( 'Activity' )
1432
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:575:2: (enumLiteral_0= 'Activity' )
1483
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:674:4: 'Activity'
1433
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:575:4: enumLiteral_0= 'Activity'
1484
                    {
1434
                    {
1485
                    match(input,19,FOLLOW_19_in_ruleBehaviorKind1285); 
1435
                    enumLiteral_0=(Token)match(input,19,FOLLOW_19_in_ruleBehaviorKind1303); 
1486
1436
1487
                            current = grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
1437
                            current = grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
1488
                            createLeafNode(grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0(), null); 
1438
                            newLeafNode(enumLiteral_0, grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0()); 
1489
                        
1439
                        
1490
1440
1491
                    }
1441
                    }
Lines 1494-1508 Link Here
1494
                    }
1444
                    }
1495
                    break;
1445
                    break;
1496
                case 2 :
1446
                case 2 :
1497
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:680:6: ( 'StateMachine' )
1447
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:581:6: (enumLiteral_1= 'StateMachine' )
1498
                    {
1448
                    {
1499
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:680:6: ( 'StateMachine' )
1449
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:581:6: (enumLiteral_1= 'StateMachine' )
1500
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:680:8: 'StateMachine'
1450
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:581:8: enumLiteral_1= 'StateMachine'
1501
                    {
1451
                    {
1502
                    match(input,20,FOLLOW_20_in_ruleBehaviorKind1300); 
1452
                    enumLiteral_1=(Token)match(input,20,FOLLOW_20_in_ruleBehaviorKind1320); 
1503
1453
1504
                            current = grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
1454
                            current = grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
1505
                            createLeafNode(grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1(), null); 
1455
                            newLeafNode(enumLiteral_1, grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1()); 
1506
                        
1456
                        
1507
1457
1508
                    }
1458
                    }
Lines 1511-1525 Link Here
1511
                    }
1461
                    }
1512
                    break;
1462
                    break;
1513
                case 3 :
1463
                case 3 :
1514
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:686:6: ( 'OpaqueBehavior' )
1464
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:587:6: (enumLiteral_2= 'OpaqueBehavior' )
1515
                    {
1465
                    {
1516
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:686:6: ( 'OpaqueBehavior' )
1466
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:587:6: (enumLiteral_2= 'OpaqueBehavior' )
1517
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:686:8: 'OpaqueBehavior'
1467
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:587:8: enumLiteral_2= 'OpaqueBehavior'
1518
                    {
1468
                    {
1519
                    match(input,21,FOLLOW_21_in_ruleBehaviorKind1315); 
1469
                    enumLiteral_2=(Token)match(input,21,FOLLOW_21_in_ruleBehaviorKind1337); 
1520
1470
1521
                            current = grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2().getEnumLiteral().getInstance();
1471
                            current = grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2().getEnumLiteral().getInstance();
1522
                            createLeafNode(grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2(), null); 
1472
                            newLeafNode(enumLiteral_2, grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2()); 
1523
                        
1473
                        
1524
1474
1525
                    }
1475
                    }
Lines 1533-1541 Link Here
1533
1483
1534
            }
1484
            }
1535
1485
1536
             resetLookahead(); 
1486
             leaveRule(); 
1537
                	lastConsumedNode = currentNode;
1538
                
1539
        }
1487
        }
1540
         
1488
         
1541
            catch (RecognitionException re) { 
1489
            catch (RecognitionException re) { 
Lines 1546-1603 Link Here
1546
        }
1494
        }
1547
        return current;
1495
        return current;
1548
    }
1496
    }
1549
    // $ANTLR end ruleBehaviorKind
1497
    // $ANTLR end "ruleBehaviorKind"
1550
1498
1499
    // Delegated rules
1500
1551
1501
1552
 
1502
 
1553
1503
1554
    public static final BitSet FOLLOW_ruleTransitionRule_in_entryRuleTransitionRule75 = new BitSet(new long[]{0x0000000000000000L});
1504
    public static final BitSet FOLLOW_ruleTransitionRule_in_entryRuleTransitionRule75 = new BitSet(new long[]{0x0000000000000000L});
1555
    public static final BitSet FOLLOW_EOF_in_entryRuleTransitionRule85 = new BitSet(new long[]{0x0000000000000002L});
1505
    public static final BitSet FOLLOW_EOF_in_entryRuleTransitionRule85 = new BitSet(new long[]{0x0000000000000002L});
1556
    public static final BitSet FOLLOW_ruleEventRule_in_ruleTransitionRule132 = new BitSet(new long[]{0x0000000000050802L});
1506
    public static final BitSet FOLLOW_ruleEventRule_in_ruleTransitionRule132 = new BitSet(new long[]{0x0000000000050802L});
1557
    public static final BitSet FOLLOW_11_in_ruleTransitionRule143 = new BitSet(new long[]{0x000000000000F010L});
1507
    public static final BitSet FOLLOW_11_in_ruleTransitionRule145 = new BitSet(new long[]{0x000000000000F010L});
1558
    public static final BitSet FOLLOW_ruleEventRule_in_ruleTransitionRule164 = new BitSet(new long[]{0x0000000000050802L});
1508
    public static final BitSet FOLLOW_ruleEventRule_in_ruleTransitionRule166 = new BitSet(new long[]{0x0000000000050802L});
1559
    public static final BitSet FOLLOW_ruleGuardRule_in_ruleTransitionRule189 = new BitSet(new long[]{0x0000000000040002L});
1509
    public static final BitSet FOLLOW_ruleGuardRule_in_ruleTransitionRule191 = new BitSet(new long[]{0x0000000000040002L});
1560
    public static final BitSet FOLLOW_ruleEffectRule_in_ruleTransitionRule211 = new BitSet(new long[]{0x0000000000000002L});
1510
    public static final BitSet FOLLOW_ruleEffectRule_in_ruleTransitionRule213 = new BitSet(new long[]{0x0000000000000002L});
1561
    public static final BitSet FOLLOW_ruleEventRule_in_entryRuleEventRule248 = new BitSet(new long[]{0x0000000000000000L});
1511
    public static final BitSet FOLLOW_ruleEventRule_in_entryRuleEventRule250 = new BitSet(new long[]{0x0000000000000000L});
1562
    public static final BitSet FOLLOW_EOF_in_entryRuleEventRule258 = new BitSet(new long[]{0x0000000000000002L});
1512
    public static final BitSet FOLLOW_EOF_in_entryRuleEventRule260 = new BitSet(new long[]{0x0000000000000002L});
1563
    public static final BitSet FOLLOW_ruleCallOrSignalEventRule_in_ruleEventRule305 = new BitSet(new long[]{0x0000000000000002L});
1513
    public static final BitSet FOLLOW_ruleCallOrSignalEventRule_in_ruleEventRule307 = new BitSet(new long[]{0x0000000000000002L});
1564
    public static final BitSet FOLLOW_ruleAnyReceiveEventRule_in_ruleEventRule332 = new BitSet(new long[]{0x0000000000000002L});
1514
    public static final BitSet FOLLOW_ruleAnyReceiveEventRule_in_ruleEventRule334 = new BitSet(new long[]{0x0000000000000002L});
1565
    public static final BitSet FOLLOW_ruleTimeEventRule_in_ruleEventRule359 = new BitSet(new long[]{0x0000000000000002L});
1515
    public static final BitSet FOLLOW_ruleTimeEventRule_in_ruleEventRule361 = new BitSet(new long[]{0x0000000000000002L});
1566
    public static final BitSet FOLLOW_ruleChangeEventRule_in_ruleEventRule386 = new BitSet(new long[]{0x0000000000000002L});
1516
    public static final BitSet FOLLOW_ruleChangeEventRule_in_ruleEventRule388 = new BitSet(new long[]{0x0000000000000002L});
1567
    public static final BitSet FOLLOW_ruleCallOrSignalEventRule_in_entryRuleCallOrSignalEventRule421 = new BitSet(new long[]{0x0000000000000000L});
1517
    public static final BitSet FOLLOW_ruleCallOrSignalEventRule_in_entryRuleCallOrSignalEventRule423 = new BitSet(new long[]{0x0000000000000000L});
1568
    public static final BitSet FOLLOW_EOF_in_entryRuleCallOrSignalEventRule431 = new BitSet(new long[]{0x0000000000000002L});
1518
    public static final BitSet FOLLOW_EOF_in_entryRuleCallOrSignalEventRule433 = new BitSet(new long[]{0x0000000000000002L});
1569
    public static final BitSet FOLLOW_RULE_ID_in_ruleCallOrSignalEventRule473 = new BitSet(new long[]{0x0000000000000002L});
1519
    public static final BitSet FOLLOW_RULE_ID_in_ruleCallOrSignalEventRule477 = new BitSet(new long[]{0x0000000000000002L});
1570
    public static final BitSet FOLLOW_ruleAnyReceiveEventRule_in_entryRuleAnyReceiveEventRule508 = new BitSet(new long[]{0x0000000000000000L});
1520
    public static final BitSet FOLLOW_ruleAnyReceiveEventRule_in_entryRuleAnyReceiveEventRule512 = new BitSet(new long[]{0x0000000000000000L});
1571
    public static final BitSet FOLLOW_EOF_in_entryRuleAnyReceiveEventRule518 = new BitSet(new long[]{0x0000000000000002L});
1521
    public static final BitSet FOLLOW_EOF_in_entryRuleAnyReceiveEventRule522 = new BitSet(new long[]{0x0000000000000002L});
1572
    public static final BitSet FOLLOW_12_in_ruleAnyReceiveEventRule560 = new BitSet(new long[]{0x0000000000000002L});
1522
    public static final BitSet FOLLOW_12_in_ruleAnyReceiveEventRule564 = new BitSet(new long[]{0x0000000000000002L});
1573
    public static final BitSet FOLLOW_ruleTimeEventRule_in_entryRuleTimeEventRule608 = new BitSet(new long[]{0x0000000000000000L});
1523
    public static final BitSet FOLLOW_ruleTimeEventRule_in_entryRuleTimeEventRule612 = new BitSet(new long[]{0x0000000000000000L});
1574
    public static final BitSet FOLLOW_EOF_in_entryRuleTimeEventRule618 = new BitSet(new long[]{0x0000000000000002L});
1524
    public static final BitSet FOLLOW_EOF_in_entryRuleTimeEventRule622 = new BitSet(new long[]{0x0000000000000002L});
1575
    public static final BitSet FOLLOW_ruleRelativeTimeEventRule_in_ruleTimeEventRule665 = new BitSet(new long[]{0x0000000000000002L});
1525
    public static final BitSet FOLLOW_ruleRelativeTimeEventRule_in_ruleTimeEventRule669 = new BitSet(new long[]{0x0000000000000002L});
1576
    public static final BitSet FOLLOW_ruleAbsoluteTimeEventRule_in_ruleTimeEventRule692 = new BitSet(new long[]{0x0000000000000002L});
1526
    public static final BitSet FOLLOW_ruleAbsoluteTimeEventRule_in_ruleTimeEventRule696 = new BitSet(new long[]{0x0000000000000002L});
1577
    public static final BitSet FOLLOW_ruleRelativeTimeEventRule_in_entryRuleRelativeTimeEventRule727 = new BitSet(new long[]{0x0000000000000000L});
1527
    public static final BitSet FOLLOW_ruleRelativeTimeEventRule_in_entryRuleRelativeTimeEventRule731 = new BitSet(new long[]{0x0000000000000000L});
1578
    public static final BitSet FOLLOW_EOF_in_entryRuleRelativeTimeEventRule737 = new BitSet(new long[]{0x0000000000000002L});
1528
    public static final BitSet FOLLOW_EOF_in_entryRuleRelativeTimeEventRule741 = new BitSet(new long[]{0x0000000000000002L});
1579
    public static final BitSet FOLLOW_13_in_ruleRelativeTimeEventRule772 = new BitSet(new long[]{0x0000000000000020L});
1529
    public static final BitSet FOLLOW_13_in_ruleRelativeTimeEventRule778 = new BitSet(new long[]{0x0000000000000020L});
1580
    public static final BitSet FOLLOW_RULE_STRING_in_ruleRelativeTimeEventRule789 = new BitSet(new long[]{0x0000000000000002L});
1530
    public static final BitSet FOLLOW_RULE_STRING_in_ruleRelativeTimeEventRule795 = new BitSet(new long[]{0x0000000000000002L});
1581
    public static final BitSet FOLLOW_ruleAbsoluteTimeEventRule_in_entryRuleAbsoluteTimeEventRule830 = new BitSet(new long[]{0x0000000000000000L});
1531
    public static final BitSet FOLLOW_ruleAbsoluteTimeEventRule_in_entryRuleAbsoluteTimeEventRule836 = new BitSet(new long[]{0x0000000000000000L});
1582
    public static final BitSet FOLLOW_EOF_in_entryRuleAbsoluteTimeEventRule840 = new BitSet(new long[]{0x0000000000000002L});
1532
    public static final BitSet FOLLOW_EOF_in_entryRuleAbsoluteTimeEventRule846 = new BitSet(new long[]{0x0000000000000002L});
1583
    public static final BitSet FOLLOW_14_in_ruleAbsoluteTimeEventRule875 = new BitSet(new long[]{0x0000000000000020L});
1533
    public static final BitSet FOLLOW_14_in_ruleAbsoluteTimeEventRule883 = new BitSet(new long[]{0x0000000000000020L});
1584
    public static final BitSet FOLLOW_RULE_STRING_in_ruleAbsoluteTimeEventRule892 = new BitSet(new long[]{0x0000000000000002L});
1534
    public static final BitSet FOLLOW_RULE_STRING_in_ruleAbsoluteTimeEventRule900 = new BitSet(new long[]{0x0000000000000002L});
1585
    public static final BitSet FOLLOW_ruleChangeEventRule_in_entryRuleChangeEventRule933 = new BitSet(new long[]{0x0000000000000000L});
1535
    public static final BitSet FOLLOW_ruleChangeEventRule_in_entryRuleChangeEventRule941 = new BitSet(new long[]{0x0000000000000000L});
1586
    public static final BitSet FOLLOW_EOF_in_entryRuleChangeEventRule943 = new BitSet(new long[]{0x0000000000000002L});
1536
    public static final BitSet FOLLOW_EOF_in_entryRuleChangeEventRule951 = new BitSet(new long[]{0x0000000000000002L});
1587
    public static final BitSet FOLLOW_15_in_ruleChangeEventRule978 = new BitSet(new long[]{0x0000000000000020L});
1537
    public static final BitSet FOLLOW_15_in_ruleChangeEventRule988 = new BitSet(new long[]{0x0000000000000020L});
1588
    public static final BitSet FOLLOW_RULE_STRING_in_ruleChangeEventRule995 = new BitSet(new long[]{0x0000000000000002L});
1538
    public static final BitSet FOLLOW_RULE_STRING_in_ruleChangeEventRule1005 = new BitSet(new long[]{0x0000000000000002L});
1589
    public static final BitSet FOLLOW_ruleGuardRule_in_entryRuleGuardRule1036 = new BitSet(new long[]{0x0000000000000000L});
1539
    public static final BitSet FOLLOW_ruleGuardRule_in_entryRuleGuardRule1046 = new BitSet(new long[]{0x0000000000000000L});
1590
    public static final BitSet FOLLOW_EOF_in_entryRuleGuardRule1046 = new BitSet(new long[]{0x0000000000000002L});
1540
    public static final BitSet FOLLOW_EOF_in_entryRuleGuardRule1056 = new BitSet(new long[]{0x0000000000000002L});
1591
    public static final BitSet FOLLOW_16_in_ruleGuardRule1081 = new BitSet(new long[]{0x0000000000000020L});
1541
    public static final BitSet FOLLOW_16_in_ruleGuardRule1093 = new BitSet(new long[]{0x0000000000000020L});
1592
    public static final BitSet FOLLOW_RULE_STRING_in_ruleGuardRule1098 = new BitSet(new long[]{0x0000000000020000L});
1542
    public static final BitSet FOLLOW_RULE_STRING_in_ruleGuardRule1110 = new BitSet(new long[]{0x0000000000020000L});
1593
    public static final BitSet FOLLOW_17_in_ruleGuardRule1113 = new BitSet(new long[]{0x0000000000000002L});
1543
    public static final BitSet FOLLOW_17_in_ruleGuardRule1127 = new BitSet(new long[]{0x0000000000000002L});
1594
    public static final BitSet FOLLOW_ruleEffectRule_in_entryRuleEffectRule1149 = new BitSet(new long[]{0x0000000000000000L});
1544
    public static final BitSet FOLLOW_ruleEffectRule_in_entryRuleEffectRule1163 = new BitSet(new long[]{0x0000000000000000L});
1595
    public static final BitSet FOLLOW_EOF_in_entryRuleEffectRule1159 = new BitSet(new long[]{0x0000000000000002L});
1545
    public static final BitSet FOLLOW_EOF_in_entryRuleEffectRule1173 = new BitSet(new long[]{0x0000000000000002L});
1596
    public static final BitSet FOLLOW_18_in_ruleEffectRule1194 = new BitSet(new long[]{0x0000000000380000L});
1546
    public static final BitSet FOLLOW_18_in_ruleEffectRule1210 = new BitSet(new long[]{0x0000000000380000L});
1597
    public static final BitSet FOLLOW_ruleBehaviorKind_in_ruleEffectRule1215 = new BitSet(new long[]{0x0000000000000010L});
1547
    public static final BitSet FOLLOW_ruleBehaviorKind_in_ruleEffectRule1231 = new BitSet(new long[]{0x0000000000000010L});
1598
    public static final BitSet FOLLOW_RULE_ID_in_ruleEffectRule1232 = new BitSet(new long[]{0x0000000000000002L});
1548
    public static final BitSet FOLLOW_RULE_ID_in_ruleEffectRule1248 = new BitSet(new long[]{0x0000000000000002L});
1599
    public static final BitSet FOLLOW_19_in_ruleBehaviorKind1285 = new BitSet(new long[]{0x0000000000000002L});
1549
    public static final BitSet FOLLOW_19_in_ruleBehaviorKind1303 = new BitSet(new long[]{0x0000000000000002L});
1600
    public static final BitSet FOLLOW_20_in_ruleBehaviorKind1300 = new BitSet(new long[]{0x0000000000000002L});
1550
    public static final BitSet FOLLOW_20_in_ruleBehaviorKind1320 = new BitSet(new long[]{0x0000000000000002L});
1601
    public static final BitSet FOLLOW_21_in_ruleBehaviorKind1315 = new BitSet(new long[]{0x0000000000000002L});
1551
    public static final BitSet FOLLOW_21_in_ruleBehaviorKind1337 = new BitSet(new long[]{0x0000000000000002L});
1602
1552
1603
}
1553
}
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.tokens (-3 / +14 lines)
Lines 1-10 Link Here
1
RULE_ID=4
1
RULE_ID=4
2
RULE_STRING=5
3
RULE_ANY_OTHER=10
2
RULE_ANY_OTHER=10
4
RULE_INT=6
3
T__21=21
5
RULE_WS=9
4
T__20=20
6
RULE_SL_COMMENT=8
5
RULE_SL_COMMENT=8
7
RULE_ML_COMMENT=7
6
RULE_ML_COMMENT=7
7
T__19=19
8
RULE_STRING=5
9
T__16=16
10
T__15=15
11
T__18=18
12
T__17=17
13
T__12=12
14
T__11=11
15
T__14=14
16
T__13=13
17
RULE_INT=6
18
RULE_WS=9
8
'after'=13
19
'after'=13
9
'when'=15
20
'when'=15
10
'/'=18
21
'/'=18
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransitionLexer.java (-596 / +468 lines)
Lines 13-256 Link Here
13
@SuppressWarnings("all")
13
@SuppressWarnings("all")
14
public class InternalUmlTransitionLexer extends Lexer {
14
public class InternalUmlTransitionLexer extends Lexer {
15
    public static final int RULE_ID=4;
15
    public static final int RULE_ID=4;
16
    public static final int T__21=21;
16
    public static final int RULE_ANY_OTHER=10;
17
    public static final int RULE_ANY_OTHER=10;
17
    public static final int Tokens=22;
18
    public static final int T__20=20;
18
    public static final int EOF=-1;
19
    public static final int EOF=-1;
19
    public static final int RULE_SL_COMMENT=8;
20
    public static final int RULE_SL_COMMENT=8;
20
    public static final int T21=21;
21
    public static final int T20=20;
22
    public static final int RULE_ML_COMMENT=7;
21
    public static final int RULE_ML_COMMENT=7;
22
    public static final int T__19=19;
23
    public static final int RULE_STRING=5;
23
    public static final int RULE_STRING=5;
24
    public static final int T__16=16;
25
    public static final int T__15=15;
26
    public static final int T__18=18;
27
    public static final int T__17=17;
28
    public static final int T__12=12;
29
    public static final int T__11=11;
30
    public static final int T__14=14;
31
    public static final int T__13=13;
24
    public static final int RULE_INT=6;
32
    public static final int RULE_INT=6;
25
    public static final int T11=11;
26
    public static final int T12=12;
27
    public static final int T13=13;
28
    public static final int T14=14;
29
    public static final int RULE_WS=9;
33
    public static final int RULE_WS=9;
30
    public static final int T15=15;
34
31
    public static final int T16=16;
35
    // delegates
32
    public static final int T17=17;
36
    // delegators
33
    public static final int T18=18;
37
34
    public static final int T19=19;
35
    public InternalUmlTransitionLexer() {;} 
38
    public InternalUmlTransitionLexer() {;} 
36
    public InternalUmlTransitionLexer(CharStream input) {
39
    public InternalUmlTransitionLexer(CharStream input) {
37
        super(input);
40
        this(input, new RecognizerSharedState());
41
    }
42
    public InternalUmlTransitionLexer(CharStream input, RecognizerSharedState state) {
43
        super(input,state);
44
38
    }
45
    }
39
    public String getGrammarFileName() { return "../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g"; }
46
    public String getGrammarFileName() { return "../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g"; }
40
47
41
    // $ANTLR start T11
48
    // $ANTLR start "T__11"
42
    public final void mT11() throws RecognitionException {
49
    public final void mT__11() throws RecognitionException {
43
        try {
50
        try {
44
            int _type = T11;
51
            int _type = T__11;
45
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:10:5: ( ',' )
52
            int _channel = DEFAULT_TOKEN_CHANNEL;
46
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:10:7: ','
53
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:11:7: ( ',' )
54
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:11:9: ','
47
            {
55
            {
48
            match(','); 
56
            match(','); 
49
57
50
            }
58
            }
51
59
52
            this.type = _type;
60
            state.type = _type;
61
            state.channel = _channel;
53
        }
62
        }
54
        finally {
63
        finally {
55
        }
64
        }
56
    }
65
    }
57
    // $ANTLR end T11
66
    // $ANTLR end "T__11"
58
67
59
    // $ANTLR start T12
68
    // $ANTLR start "T__12"
60
    public final void mT12() throws RecognitionException {
69
    public final void mT__12() throws RecognitionException {
61
        try {
70
        try {
62
            int _type = T12;
71
            int _type = T__12;
63
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:11:5: ( 'all' )
72
            int _channel = DEFAULT_TOKEN_CHANNEL;
64
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:11:7: 'all'
73
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:12:7: ( 'all' )
74
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:12:9: 'all'
65
            {
75
            {
66
            match("all"); 
76
            match("all"); 
67
77
68
78
69
            }
79
            }
70
80
71
            this.type = _type;
81
            state.type = _type;
82
            state.channel = _channel;
72
        }
83
        }
73
        finally {
84
        finally {
74
        }
85
        }
75
    }
86
    }
76
    // $ANTLR end T12
87
    // $ANTLR end "T__12"
77
88
78
    // $ANTLR start T13
89
    // $ANTLR start "T__13"
79
    public final void mT13() throws RecognitionException {
90
    public final void mT__13() throws RecognitionException {
80
        try {
91
        try {
81
            int _type = T13;
92
            int _type = T__13;
82
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:12:5: ( 'after' )
93
            int _channel = DEFAULT_TOKEN_CHANNEL;
83
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:12:7: 'after'
94
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:13:7: ( 'after' )
95
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:13:9: 'after'
84
            {
96
            {
85
            match("after"); 
97
            match("after"); 
86
98
87
99
88
            }
100
            }
89
101
90
            this.type = _type;
102
            state.type = _type;
103
            state.channel = _channel;
91
        }
104
        }
92
        finally {
105
        finally {
93
        }
106
        }
94
    }
107
    }
95
    // $ANTLR end T13
108
    // $ANTLR end "T__13"
96
109
97
    // $ANTLR start T14
110
    // $ANTLR start "T__14"
98
    public final void mT14() throws RecognitionException {
111
    public final void mT__14() throws RecognitionException {
99
        try {
112
        try {
100
            int _type = T14;
113
            int _type = T__14;
101
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:13:5: ( 'at' )
114
            int _channel = DEFAULT_TOKEN_CHANNEL;
102
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:13:7: 'at'
115
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:14:7: ( 'at' )
116
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:14:9: 'at'
103
            {
117
            {
104
            match("at"); 
118
            match("at"); 
105
119
106
120
107
            }
121
            }
108
122
109
            this.type = _type;
123
            state.type = _type;
124
            state.channel = _channel;
110
        }
125
        }
111
        finally {
126
        finally {
112
        }
127
        }
113
    }
128
    }
114
    // $ANTLR end T14
129
    // $ANTLR end "T__14"
115
130
116
    // $ANTLR start T15
131
    // $ANTLR start "T__15"
117
    public final void mT15() throws RecognitionException {
132
    public final void mT__15() throws RecognitionException {
118
        try {
133
        try {
119
            int _type = T15;
134
            int _type = T__15;
120
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:14:5: ( 'when' )
135
            int _channel = DEFAULT_TOKEN_CHANNEL;
121
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:14:7: 'when'
136
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:15:7: ( 'when' )
137
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:15:9: 'when'
122
            {
138
            {
123
            match("when"); 
139
            match("when"); 
124
140
125
141
126
            }
142
            }
127
143
128
            this.type = _type;
144
            state.type = _type;
145
            state.channel = _channel;
129
        }
146
        }
130
        finally {
147
        finally {
131
        }
148
        }
132
    }
149
    }
133
    // $ANTLR end T15
150
    // $ANTLR end "T__15"
134
151
135
    // $ANTLR start T16
152
    // $ANTLR start "T__16"
136
    public final void mT16() throws RecognitionException {
153
    public final void mT__16() throws RecognitionException {
137
        try {
154
        try {
138
            int _type = T16;
155
            int _type = T__16;
139
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:15:5: ( '[' )
156
            int _channel = DEFAULT_TOKEN_CHANNEL;
140
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:15:7: '['
157
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:16:7: ( '[' )
158
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:16:9: '['
141
            {
159
            {
142
            match('['); 
160
            match('['); 
143
161
144
            }
162
            }
145
163
146
            this.type = _type;
164
            state.type = _type;
165
            state.channel = _channel;
147
        }
166
        }
148
        finally {
167
        finally {
149
        }
168
        }
150
    }
169
    }
151
    // $ANTLR end T16
170
    // $ANTLR end "T__16"
152
171
153
    // $ANTLR start T17
172
    // $ANTLR start "T__17"
154
    public final void mT17() throws RecognitionException {
173
    public final void mT__17() throws RecognitionException {
155
        try {
174
        try {
156
            int _type = T17;
175
            int _type = T__17;
157
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:16:5: ( ']' )
176
            int _channel = DEFAULT_TOKEN_CHANNEL;
158
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:16:7: ']'
177
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:17:7: ( ']' )
178
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:17:9: ']'
159
            {
179
            {
160
            match(']'); 
180
            match(']'); 
161
181
162
            }
182
            }
163
183
164
            this.type = _type;
184
            state.type = _type;
185
            state.channel = _channel;
165
        }
186
        }
166
        finally {
187
        finally {
167
        }
188
        }
168
    }
189
    }
169
    // $ANTLR end T17
190
    // $ANTLR end "T__17"
170
191
171
    // $ANTLR start T18
192
    // $ANTLR start "T__18"
172
    public final void mT18() throws RecognitionException {
193
    public final void mT__18() throws RecognitionException {
173
        try {
194
        try {
174
            int _type = T18;
195
            int _type = T__18;
175
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:17:5: ( '/' )
196
            int _channel = DEFAULT_TOKEN_CHANNEL;
176
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:17:7: '/'
197
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:18:7: ( '/' )
198
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:18:9: '/'
177
            {
199
            {
178
            match('/'); 
200
            match('/'); 
179
201
180
            }
202
            }
181
203
182
            this.type = _type;
204
            state.type = _type;
205
            state.channel = _channel;
183
        }
206
        }
184
        finally {
207
        finally {
185
        }
208
        }
186
    }
209
    }
187
    // $ANTLR end T18
210
    // $ANTLR end "T__18"
188
211
189
    // $ANTLR start T19
212
    // $ANTLR start "T__19"
190
    public final void mT19() throws RecognitionException {
213
    public final void mT__19() throws RecognitionException {
191
        try {
214
        try {
192
            int _type = T19;
215
            int _type = T__19;
193
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:18:5: ( 'Activity' )
216
            int _channel = DEFAULT_TOKEN_CHANNEL;
194
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:18:7: 'Activity'
217
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:19:7: ( 'Activity' )
218
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:19:9: 'Activity'
195
            {
219
            {
196
            match("Activity"); 
220
            match("Activity"); 
197
221
198
222
199
            }
223
            }
200
224
201
            this.type = _type;
225
            state.type = _type;
226
            state.channel = _channel;
202
        }
227
        }
203
        finally {
228
        finally {
204
        }
229
        }
205
    }
230
    }
206
    // $ANTLR end T19
231
    // $ANTLR end "T__19"
207
232
208
    // $ANTLR start T20
233
    // $ANTLR start "T__20"
209
    public final void mT20() throws RecognitionException {
234
    public final void mT__20() throws RecognitionException {
210
        try {
235
        try {
211
            int _type = T20;
236
            int _type = T__20;
212
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:19:5: ( 'StateMachine' )
237
            int _channel = DEFAULT_TOKEN_CHANNEL;
213
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:19:7: 'StateMachine'
238
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:20:7: ( 'StateMachine' )
239
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:20:9: 'StateMachine'
214
            {
240
            {
215
            match("StateMachine"); 
241
            match("StateMachine"); 
216
242
217
243
218
            }
244
            }
219
245
220
            this.type = _type;
246
            state.type = _type;
247
            state.channel = _channel;
221
        }
248
        }
222
        finally {
249
        finally {
223
        }
250
        }
224
    }
251
    }
225
    // $ANTLR end T20
252
    // $ANTLR end "T__20"
226
253
227
    // $ANTLR start T21
254
    // $ANTLR start "T__21"
228
    public final void mT21() throws RecognitionException {
255
    public final void mT__21() throws RecognitionException {
229
        try {
256
        try {
230
            int _type = T21;
257
            int _type = T__21;
231
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:20:5: ( 'OpaqueBehavior' )
258
            int _channel = DEFAULT_TOKEN_CHANNEL;
232
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:20:7: 'OpaqueBehavior'
259
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:21:7: ( 'OpaqueBehavior' )
260
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:21:9: 'OpaqueBehavior'
233
            {
261
            {
234
            match("OpaqueBehavior"); 
262
            match("OpaqueBehavior"); 
235
263
236
264
237
            }
265
            }
238
266
239
            this.type = _type;
267
            state.type = _type;
268
            state.channel = _channel;
240
        }
269
        }
241
        finally {
270
        finally {
242
        }
271
        }
243
    }
272
    }
244
    // $ANTLR end T21
273
    // $ANTLR end "T__21"
245
274
246
    // $ANTLR start RULE_ID
275
    // $ANTLR start "RULE_ID"
247
    public final void mRULE_ID() throws RecognitionException {
276
    public final void mRULE_ID() throws RecognitionException {
248
        try {
277
        try {
249
            int _type = RULE_ID;
278
            int _type = RULE_ID;
250
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:695:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
279
            int _channel = DEFAULT_TOKEN_CHANNEL;
251
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:695:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
280
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:596:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
281
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:596:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
252
            {
282
            {
253
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:695:11: ( '^' )?
283
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:596:11: ( '^' )?
254
            int alt1=2;
284
            int alt1=2;
255
            int LA1_0 = input.LA(1);
285
            int LA1_0 = input.LA(1);
256
286
Lines 259-265 Link Here
259
            }
289
            }
260
            switch (alt1) {
290
            switch (alt1) {
261
                case 1 :
291
                case 1 :
262
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:695:11: '^'
292
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:596:11: '^'
263
                    {
293
                    {
264
                    match('^'); 
294
                    match('^'); 
265
295
Lines 273-284 Link Here
273
303
274
            }
304
            }
275
            else {
305
            else {
276
                MismatchedSetException mse =
306
                MismatchedSetException mse = new MismatchedSetException(null,input);
277
                    new MismatchedSetException(null,input);
307
                recover(mse);
278
                recover(mse);    throw mse;
308
                throw mse;}
279
            }
280
309
281
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:695:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
310
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:596:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
282
            loop2:
311
            loop2:
283
            do {
312
            do {
284
                int alt2=2;
313
                int alt2=2;
Lines 298-307 Link Here
298
327
299
            	    }
328
            	    }
300
            	    else {
329
            	    else {
301
            	        MismatchedSetException mse =
330
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
302
            	            new MismatchedSetException(null,input);
331
            	        recover(mse);
303
            	        recover(mse);    throw mse;
332
            	        throw mse;}
304
            	    }
305
333
306
334
307
            	    }
335
            	    }
Lines 315-335 Link Here
315
343
316
            }
344
            }
317
345
318
            this.type = _type;
346
            state.type = _type;
347
            state.channel = _channel;
319
        }
348
        }
320
        finally {
349
        finally {
321
        }
350
        }
322
    }
351
    }
323
    // $ANTLR end RULE_ID
352
    // $ANTLR end "RULE_ID"
324
353
325
    // $ANTLR start RULE_INT
354
    // $ANTLR start "RULE_INT"
326
    public final void mRULE_INT() throws RecognitionException {
355
    public final void mRULE_INT() throws RecognitionException {
327
        try {
356
        try {
328
            int _type = RULE_INT;
357
            int _type = RULE_INT;
329
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:697:10: ( ( '0' .. '9' )+ )
358
            int _channel = DEFAULT_TOKEN_CHANNEL;
330
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:697:12: ( '0' .. '9' )+
359
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:598:10: ( ( '0' .. '9' )+ )
360
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:598:12: ( '0' .. '9' )+
331
            {
361
            {
332
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:697:12: ( '0' .. '9' )+
362
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:598:12: ( '0' .. '9' )+
333
            int cnt3=0;
363
            int cnt3=0;
334
            loop3:
364
            loop3:
335
            do {
365
            do {
Lines 343-349 Link Here
343
373
344
                switch (alt3) {
374
                switch (alt3) {
345
            	case 1 :
375
            	case 1 :
346
            	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:697:13: '0' .. '9'
376
            	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:598:13: '0' .. '9'
347
            	    {
377
            	    {
348
            	    matchRange('0','9'); 
378
            	    matchRange('0','9'); 
349
379
Lines 362-382 Link Here
362
392
363
            }
393
            }
364
394
365
            this.type = _type;
395
            state.type = _type;
396
            state.channel = _channel;
366
        }
397
        }
367
        finally {
398
        finally {
368
        }
399
        }
369
    }
400
    }
370
    // $ANTLR end RULE_INT
401
    // $ANTLR end "RULE_INT"
371
402
372
    // $ANTLR start RULE_STRING
403
    // $ANTLR start "RULE_STRING"
373
    public final void mRULE_STRING() throws RecognitionException {
404
    public final void mRULE_STRING() throws RecognitionException {
374
        try {
405
        try {
375
            int _type = RULE_STRING;
406
            int _type = RULE_STRING;
376
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:699:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
407
            int _channel = DEFAULT_TOKEN_CHANNEL;
377
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:699:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
408
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:600:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
409
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:600:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
378
            {
410
            {
379
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:699:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
411
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:600:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
380
            int alt6=2;
412
            int alt6=2;
381
            int LA6_0 = input.LA(1);
413
            int LA6_0 = input.LA(1);
382
414
Lines 388-403 Link Here
388
            }
420
            }
389
            else {
421
            else {
390
                NoViableAltException nvae =
422
                NoViableAltException nvae =
391
                    new NoViableAltException("699:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 6, 0, input);
423
                    new NoViableAltException("", 6, 0, input);
392
424
393
                throw nvae;
425
                throw nvae;
394
            }
426
            }
395
            switch (alt6) {
427
            switch (alt6) {
396
                case 1 :
428
                case 1 :
397
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:699:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
429
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:600:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
398
                    {
430
                    {
399
                    match('\"'); 
431
                    match('\"'); 
400
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:699:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
432
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:600:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
401
                    loop4:
433
                    loop4:
402
                    do {
434
                    do {
403
                        int alt4=3;
435
                        int alt4=3;
Lines 406-446 Link Here
406
                        if ( (LA4_0=='\\') ) {
438
                        if ( (LA4_0=='\\') ) {
407
                            alt4=1;
439
                            alt4=1;
408
                        }
440
                        }
409
                        else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFE')) ) {
441
                        else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) {
410
                            alt4=2;
442
                            alt4=2;
411
                        }
443
                        }
412
444
413
445
414
                        switch (alt4) {
446
                        switch (alt4) {
415
                    	case 1 :
447
                    	case 1 :
416
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:699:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
448
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:600:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
417
                    	    {
449
                    	    {
418
                    	    match('\\'); 
450
                    	    match('\\'); 
419
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
451
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
420
                    	        input.consume();
452
                    	        input.consume();
421
453
422
                    	    }
454
                    	    }
423
                    	    else {
455
                    	    else {
424
                    	        MismatchedSetException mse =
456
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
425
                    	            new MismatchedSetException(null,input);
457
                    	        recover(mse);
426
                    	        recover(mse);    throw mse;
458
                    	        throw mse;}
427
                    	    }
428
459
429
460
430
                    	    }
461
                    	    }
431
                    	    break;
462
                    	    break;
432
                    	case 2 :
463
                    	case 2 :
433
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:699:62: ~ ( ( '\\\\' | '\"' ) )
464
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:600:66: ~ ( ( '\\\\' | '\"' ) )
434
                    	    {
465
                    	    {
435
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
466
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
436
                    	        input.consume();
467
                    	        input.consume();
437
468
438
                    	    }
469
                    	    }
439
                    	    else {
470
                    	    else {
440
                    	        MismatchedSetException mse =
471
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
441
                    	            new MismatchedSetException(null,input);
472
                    	        recover(mse);
442
                    	        recover(mse);    throw mse;
473
                    	        throw mse;}
443
                    	    }
444
474
445
475
446
                    	    }
476
                    	    }
Lines 456-465 Link Here
456
                    }
486
                    }
457
                    break;
487
                    break;
458
                case 2 :
488
                case 2 :
459
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:699:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
489
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:600:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
460
                    {
490
                    {
461
                    match('\''); 
491
                    match('\''); 
462
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:699:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
492
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:600:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
463
                    loop5:
493
                    loop5:
464
                    do {
494
                    do {
465
                        int alt5=3;
495
                        int alt5=3;
Lines 468-508 Link Here
468
                        if ( (LA5_0=='\\') ) {
498
                        if ( (LA5_0=='\\') ) {
469
                            alt5=1;
499
                            alt5=1;
470
                        }
500
                        }
471
                        else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFE')) ) {
501
                        else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) {
472
                            alt5=2;
502
                            alt5=2;
473
                        }
503
                        }
474
504
475
505
476
                        switch (alt5) {
506
                        switch (alt5) {
477
                    	case 1 :
507
                    	case 1 :
478
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:699:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
508
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:600:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
479
                    	    {
509
                    	    {
480
                    	    match('\\'); 
510
                    	    match('\\'); 
481
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
511
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
482
                    	        input.consume();
512
                    	        input.consume();
483
513
484
                    	    }
514
                    	    }
485
                    	    else {
515
                    	    else {
486
                    	        MismatchedSetException mse =
516
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
487
                    	            new MismatchedSetException(null,input);
517
                    	        recover(mse);
488
                    	        recover(mse);    throw mse;
518
                    	        throw mse;}
489
                    	    }
490
519
491
520
492
                    	    }
521
                    	    }
493
                    	    break;
522
                    	    break;
494
                    	case 2 :
523
                    	case 2 :
495
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:699:129: ~ ( ( '\\\\' | '\\'' ) )
524
                    	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:600:137: ~ ( ( '\\\\' | '\\'' ) )
496
                    	    {
525
                    	    {
497
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
526
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
498
                    	        input.consume();
527
                    	        input.consume();
499
528
500
                    	    }
529
                    	    }
501
                    	    else {
530
                    	    else {
502
                    	        MismatchedSetException mse =
531
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
503
                    	            new MismatchedSetException(null,input);
532
                    	        recover(mse);
504
                    	        recover(mse);    throw mse;
533
                    	        throw mse;}
505
                    	    }
506
534
507
535
508
                    	    }
536
                    	    }
Lines 523-545 Link Here
523
551
524
            }
552
            }
525
553
526
            this.type = _type;
554
            state.type = _type;
555
            state.channel = _channel;
527
        }
556
        }
528
        finally {
557
        finally {
529
        }
558
        }
530
    }
559
    }
531
    // $ANTLR end RULE_STRING
560
    // $ANTLR end "RULE_STRING"
532
561
533
    // $ANTLR start RULE_ML_COMMENT
562
    // $ANTLR start "RULE_ML_COMMENT"
534
    public final void mRULE_ML_COMMENT() throws RecognitionException {
563
    public final void mRULE_ML_COMMENT() throws RecognitionException {
535
        try {
564
        try {
536
            int _type = RULE_ML_COMMENT;
565
            int _type = RULE_ML_COMMENT;
537
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:701:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
566
            int _channel = DEFAULT_TOKEN_CHANNEL;
538
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:701:19: '/*' ( options {greedy=false; } : . )* '*/'
567
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:602:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
568
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:602:19: '/*' ( options {greedy=false; } : . )* '*/'
539
            {
569
            {
540
            match("/*"); 
570
            match("/*"); 
541
571
542
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:701:24: ( options {greedy=false; } : . )*
572
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:602:24: ( options {greedy=false; } : . )*
543
            loop7:
573
            loop7:
544
            do {
574
            do {
545
                int alt7=2;
575
                int alt7=2;
Lines 551-570 Link Here
551
                    if ( (LA7_1=='/') ) {
581
                    if ( (LA7_1=='/') ) {
552
                        alt7=2;
582
                        alt7=2;
553
                    }
583
                    }
554
                    else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFE')) ) {
584
                    else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) {
555
                        alt7=1;
585
                        alt7=1;
556
                    }
586
                    }
557
587
558
588
559
                }
589
                }
560
                else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFE')) ) {
590
                else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) {
561
                    alt7=1;
591
                    alt7=1;
562
                }
592
                }
563
593
564
594
565
                switch (alt7) {
595
                switch (alt7) {
566
            	case 1 :
596
            	case 1 :
567
            	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:701:52: .
597
            	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:602:52: .
568
            	    {
598
            	    {
569
            	    matchAny(); 
599
            	    matchAny(); 
570
600
Lines 581-626 Link Here
581
611
582
            }
612
            }
583
613
584
            this.type = _type;
614
            state.type = _type;
615
            state.channel = _channel;
585
        }
616
        }
586
        finally {
617
        finally {
587
        }
618
        }
588
    }
619
    }
589
    // $ANTLR end RULE_ML_COMMENT
620
    // $ANTLR end "RULE_ML_COMMENT"
590
621
591
    // $ANTLR start RULE_SL_COMMENT
622
    // $ANTLR start "RULE_SL_COMMENT"
592
    public final void mRULE_SL_COMMENT() throws RecognitionException {
623
    public final void mRULE_SL_COMMENT() throws RecognitionException {
593
        try {
624
        try {
594
            int _type = RULE_SL_COMMENT;
625
            int _type = RULE_SL_COMMENT;
595
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:703:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
626
            int _channel = DEFAULT_TOKEN_CHANNEL;
596
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:703:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
627
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:604:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
628
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:604:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
597
            {
629
            {
598
            match("//"); 
630
            match("//"); 
599
631
600
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:703:24: (~ ( ( '\\n' | '\\r' ) ) )*
632
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:604:24: (~ ( ( '\\n' | '\\r' ) ) )*
601
            loop8:
633
            loop8:
602
            do {
634
            do {
603
                int alt8=2;
635
                int alt8=2;
604
                int LA8_0 = input.LA(1);
636
                int LA8_0 = input.LA(1);
605
637
606
                if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFE')) ) {
638
                if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) {
607
                    alt8=1;
639
                    alt8=1;
608
                }
640
                }
609
641
610
642
611
                switch (alt8) {
643
                switch (alt8) {
612
            	case 1 :
644
            	case 1 :
613
            	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:703:24: ~ ( ( '\\n' | '\\r' ) )
645
            	    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:604:24: ~ ( ( '\\n' | '\\r' ) )
614
            	    {
646
            	    {
615
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFE') ) {
647
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
616
            	        input.consume();
648
            	        input.consume();
617
649
618
            	    }
650
            	    }
619
            	    else {
651
            	    else {
620
            	        MismatchedSetException mse =
652
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
621
            	            new MismatchedSetException(null,input);
653
            	        recover(mse);
622
            	        recover(mse);    throw mse;
654
            	        throw mse;}
623
            	    }
624
655
625
656
626
            	    }
657
            	    }
Lines 631-637 Link Here
631
                }
662
                }
632
            } while (true);
663
            } while (true);
633
664
634
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:703:40: ( ( '\\r' )? '\\n' )?
665
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:604:40: ( ( '\\r' )? '\\n' )?
635
            int alt10=2;
666
            int alt10=2;
636
            int LA10_0 = input.LA(1);
667
            int LA10_0 = input.LA(1);
637
668
Lines 640-648 Link Here
640
            }
671
            }
641
            switch (alt10) {
672
            switch (alt10) {
642
                case 1 :
673
                case 1 :
643
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:703:41: ( '\\r' )? '\\n'
674
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:604:41: ( '\\r' )? '\\n'
644
                    {
675
                    {
645
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:703:41: ( '\\r' )?
676
                    // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:604:41: ( '\\r' )?
646
                    int alt9=2;
677
                    int alt9=2;
647
                    int LA9_0 = input.LA(1);
678
                    int LA9_0 = input.LA(1);
648
679
Lines 651-657 Link Here
651
                    }
682
                    }
652
                    switch (alt9) {
683
                    switch (alt9) {
653
                        case 1 :
684
                        case 1 :
654
                            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:703:41: '\\r'
685
                            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:604:41: '\\r'
655
                            {
686
                            {
656
                            match('\r'); 
687
                            match('\r'); 
657
688
Lines 670-690 Link Here
670
701
671
            }
702
            }
672
703
673
            this.type = _type;
704
            state.type = _type;
705
            state.channel = _channel;
674
        }
706
        }
675
        finally {
707
        finally {
676
        }
708
        }
677
    }
709
    }
678
    // $ANTLR end RULE_SL_COMMENT
710
    // $ANTLR end "RULE_SL_COMMENT"
679
711
680
    // $ANTLR start RULE_WS
712
    // $ANTLR start "RULE_WS"
681
    public final void mRULE_WS() throws RecognitionException {
713
    public final void mRULE_WS() throws RecognitionException {
682
        try {
714
        try {
683
            int _type = RULE_WS;
715
            int _type = RULE_WS;
684
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:705:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
716
            int _channel = DEFAULT_TOKEN_CHANNEL;
685
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:705:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
717
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:606:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
718
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:606:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
686
            {
719
            {
687
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:705:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
720
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:606:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
688
            int cnt11=0;
721
            int cnt11=0;
689
            loop11:
722
            loop11:
690
            do {
723
            do {
Lines 705-714 Link Here
705
738
706
            	    }
739
            	    }
707
            	    else {
740
            	    else {
708
            	        MismatchedSetException mse =
741
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
709
            	            new MismatchedSetException(null,input);
742
            	        recover(mse);
710
            	        recover(mse);    throw mse;
743
            	        throw mse;}
711
            	    }
712
744
713
745
714
            	    }
746
            	    }
Lines 726-1256 Link Here
726
758
727
            }
759
            }
728
760
729
            this.type = _type;
761
            state.type = _type;
762
            state.channel = _channel;
730
        }
763
        }
731
        finally {
764
        finally {
732
        }
765
        }
733
    }
766
    }
734
    // $ANTLR end RULE_WS
767
    // $ANTLR end "RULE_WS"
735
768
736
    // $ANTLR start RULE_ANY_OTHER
769
    // $ANTLR start "RULE_ANY_OTHER"
737
    public final void mRULE_ANY_OTHER() throws RecognitionException {
770
    public final void mRULE_ANY_OTHER() throws RecognitionException {
738
        try {
771
        try {
739
            int _type = RULE_ANY_OTHER;
772
            int _type = RULE_ANY_OTHER;
740
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:707:16: ( . )
773
            int _channel = DEFAULT_TOKEN_CHANNEL;
741
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:707:18: .
774
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:608:16: ( . )
775
            // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:608:18: .
742
            {
776
            {
743
            matchAny(); 
777
            matchAny(); 
744
778
745
            }
779
            }
746
780
747
            this.type = _type;
781
            state.type = _type;
782
            state.channel = _channel;
748
        }
783
        }
749
        finally {
784
        finally {
750
        }
785
        }
751
    }
786
    }
752
    // $ANTLR end RULE_ANY_OTHER
787
    // $ANTLR end "RULE_ANY_OTHER"
753
788
754
    public void mTokens() throws RecognitionException {
789
    public void mTokens() throws RecognitionException {
755
        // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:8: ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
790
        // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
756
        int alt12=18;
791
        int alt12=18;
757
        int LA12_0 = input.LA(1);
792
        alt12 = dfa12.predict(input);
758
759
        if ( (LA12_0==',') ) {
760
            alt12=1;
761
        }
762
        else if ( (LA12_0=='a') ) {
763
            switch ( input.LA(2) ) {
764
            case 'f':
765
                {
766
                int LA12_18 = input.LA(3);
767
768
                if ( (LA12_18=='t') ) {
769
                    int LA12_34 = input.LA(4);
770
771
                    if ( (LA12_34=='e') ) {
772
                        int LA12_41 = input.LA(5);
773
774
                        if ( (LA12_41=='r') ) {
775
                            int LA12_47 = input.LA(6);
776
777
                            if ( ((LA12_47>='0' && LA12_47<='9')||(LA12_47>='A' && LA12_47<='Z')||LA12_47=='_'||(LA12_47>='a' && LA12_47<='z')) ) {
778
                                alt12=12;
779
                            }
780
                            else {
781
                                alt12=3;}
782
                        }
783
                        else {
784
                            alt12=12;}
785
                    }
786
                    else {
787
                        alt12=12;}
788
                }
789
                else {
790
                    alt12=12;}
791
                }
792
                break;
793
            case 't':
794
                {
795
                int LA12_19 = input.LA(3);
796
797
                if ( ((LA12_19>='0' && LA12_19<='9')||(LA12_19>='A' && LA12_19<='Z')||LA12_19=='_'||(LA12_19>='a' && LA12_19<='z')) ) {
798
                    alt12=12;
799
                }
800
                else {
801
                    alt12=4;}
802
                }
803
                break;
804
            case 'l':
805
                {
806
                int LA12_20 = input.LA(3);
807
808
                if ( (LA12_20=='l') ) {
809
                    int LA12_36 = input.LA(4);
810
811
                    if ( ((LA12_36>='0' && LA12_36<='9')||(LA12_36>='A' && LA12_36<='Z')||LA12_36=='_'||(LA12_36>='a' && LA12_36<='z')) ) {
812
                        alt12=12;
813
                    }
814
                    else {
815
                        alt12=2;}
816
                }
817
                else {
818
                    alt12=12;}
819
                }
820
                break;
821
            default:
822
                alt12=12;}
823
824
        }
825
        else if ( (LA12_0=='w') ) {
826
            int LA12_3 = input.LA(2);
827
828
            if ( (LA12_3=='h') ) {
829
                int LA12_22 = input.LA(3);
830
831
                if ( (LA12_22=='e') ) {
832
                    int LA12_37 = input.LA(4);
833
834
                    if ( (LA12_37=='n') ) {
835
                        int LA12_43 = input.LA(5);
836
837
                        if ( ((LA12_43>='0' && LA12_43<='9')||(LA12_43>='A' && LA12_43<='Z')||LA12_43=='_'||(LA12_43>='a' && LA12_43<='z')) ) {
838
                            alt12=12;
839
                        }
840
                        else {
841
                            alt12=5;}
842
                    }
843
                    else {
844
                        alt12=12;}
845
                }
846
                else {
847
                    alt12=12;}
848
            }
849
            else {
850
                alt12=12;}
851
        }
852
        else if ( (LA12_0=='[') ) {
853
            alt12=6;
854
        }
855
        else if ( (LA12_0==']') ) {
856
            alt12=7;
857
        }
858
        else if ( (LA12_0=='/') ) {
859
            switch ( input.LA(2) ) {
860
            case '*':
861
                {
862
                alt12=15;
863
                }
864
                break;
865
            case '/':
866
                {
867
                alt12=16;
868
                }
869
                break;
870
            default:
871
                alt12=8;}
872
873
        }
874
        else if ( (LA12_0=='A') ) {
875
            int LA12_7 = input.LA(2);
876
877
            if ( (LA12_7=='c') ) {
878
                int LA12_28 = input.LA(3);
879
880
                if ( (LA12_28=='t') ) {
881
                    int LA12_38 = input.LA(4);
882
883
                    if ( (LA12_38=='i') ) {
884
                        int LA12_44 = input.LA(5);
885
886
                        if ( (LA12_44=='v') ) {
887
                            int LA12_49 = input.LA(6);
888
889
                            if ( (LA12_49=='i') ) {
890
                                int LA12_53 = input.LA(7);
891
892
                                if ( (LA12_53=='t') ) {
893
                                    int LA12_56 = input.LA(8);
894
895
                                    if ( (LA12_56=='y') ) {
896
                                        int LA12_59 = input.LA(9);
897
898
                                        if ( ((LA12_59>='0' && LA12_59<='9')||(LA12_59>='A' && LA12_59<='Z')||LA12_59=='_'||(LA12_59>='a' && LA12_59<='z')) ) {
899
                                            alt12=12;
900
                                        }
901
                                        else {
902
                                            alt12=9;}
903
                                    }
904
                                    else {
905
                                        alt12=12;}
906
                                }
907
                                else {
908
                                    alt12=12;}
909
                            }
910
                            else {
911
                                alt12=12;}
912
                        }
913
                        else {
914
                            alt12=12;}
915
                    }
916
                    else {
917
                        alt12=12;}
918
                }
919
                else {
920
                    alt12=12;}
921
            }
922
            else {
923
                alt12=12;}
924
        }
925
        else if ( (LA12_0=='S') ) {
926
            int LA12_8 = input.LA(2);
927
928
            if ( (LA12_8=='t') ) {
929
                int LA12_29 = input.LA(3);
930
931
                if ( (LA12_29=='a') ) {
932
                    int LA12_39 = input.LA(4);
933
934
                    if ( (LA12_39=='t') ) {
935
                        int LA12_45 = input.LA(5);
936
937
                        if ( (LA12_45=='e') ) {
938
                            int LA12_50 = input.LA(6);
939
940
                            if ( (LA12_50=='M') ) {
941
                                int LA12_54 = input.LA(7);
942
943
                                if ( (LA12_54=='a') ) {
944
                                    int LA12_57 = input.LA(8);
945
946
                                    if ( (LA12_57=='c') ) {
947
                                        int LA12_60 = input.LA(9);
948
949
                                        if ( (LA12_60=='h') ) {
950
                                            int LA12_63 = input.LA(10);
951
952
                                            if ( (LA12_63=='i') ) {
953
                                                int LA12_65 = input.LA(11);
954
955
                                                if ( (LA12_65=='n') ) {
956
                                                    int LA12_67 = input.LA(12);
957
958
                                                    if ( (LA12_67=='e') ) {
959
                                                        int LA12_69 = input.LA(13);
960
961
                                                        if ( ((LA12_69>='0' && LA12_69<='9')||(LA12_69>='A' && LA12_69<='Z')||LA12_69=='_'||(LA12_69>='a' && LA12_69<='z')) ) {
962
                                                            alt12=12;
963
                                                        }
964
                                                        else {
965
                                                            alt12=10;}
966
                                                    }
967
                                                    else {
968
                                                        alt12=12;}
969
                                                }
970
                                                else {
971
                                                    alt12=12;}
972
                                            }
973
                                            else {
974
                                                alt12=12;}
975
                                        }
976
                                        else {
977
                                            alt12=12;}
978
                                    }
979
                                    else {
980
                                        alt12=12;}
981
                                }
982
                                else {
983
                                    alt12=12;}
984
                            }
985
                            else {
986
                                alt12=12;}
987
                        }
988
                        else {
989
                            alt12=12;}
990
                    }
991
                    else {
992
                        alt12=12;}
993
                }
994
                else {
995
                    alt12=12;}
996
            }
997
            else {
998
                alt12=12;}
999
        }
1000
        else if ( (LA12_0=='O') ) {
1001
            int LA12_9 = input.LA(2);
1002
1003
            if ( (LA12_9=='p') ) {
1004
                int LA12_30 = input.LA(3);
1005
1006
                if ( (LA12_30=='a') ) {
1007
                    int LA12_40 = input.LA(4);
1008
1009
                    if ( (LA12_40=='q') ) {
1010
                        int LA12_46 = input.LA(5);
1011
1012
                        if ( (LA12_46=='u') ) {
1013
                            int LA12_51 = input.LA(6);
1014
1015
                            if ( (LA12_51=='e') ) {
1016
                                int LA12_55 = input.LA(7);
1017
1018
                                if ( (LA12_55=='B') ) {
1019
                                    int LA12_58 = input.LA(8);
1020
1021
                                    if ( (LA12_58=='e') ) {
1022
                                        int LA12_61 = input.LA(9);
1023
1024
                                        if ( (LA12_61=='h') ) {
1025
                                            int LA12_64 = input.LA(10);
1026
1027
                                            if ( (LA12_64=='a') ) {
1028
                                                int LA12_66 = input.LA(11);
1029
1030
                                                if ( (LA12_66=='v') ) {
1031
                                                    int LA12_68 = input.LA(12);
1032
1033
                                                    if ( (LA12_68=='i') ) {
1034
                                                        int LA12_70 = input.LA(13);
1035
1036
                                                        if ( (LA12_70=='o') ) {
1037
                                                            int LA12_72 = input.LA(14);
1038
1039
                                                            if ( (LA12_72=='r') ) {
1040
                                                                int LA12_73 = input.LA(15);
1041
1042
                                                                if ( ((LA12_73>='0' && LA12_73<='9')||(LA12_73>='A' && LA12_73<='Z')||LA12_73=='_'||(LA12_73>='a' && LA12_73<='z')) ) {
1043
                                                                    alt12=12;
1044
                                                                }
1045
                                                                else {
1046
                                                                    alt12=11;}
1047
                                                            }
1048
                                                            else {
1049
                                                                alt12=12;}
1050
                                                        }
1051
                                                        else {
1052
                                                            alt12=12;}
1053
                                                    }
1054
                                                    else {
1055
                                                        alt12=12;}
1056
                                                }
1057
                                                else {
1058
                                                    alt12=12;}
1059
                                            }
1060
                                            else {
1061
                                                alt12=12;}
1062
                                        }
1063
                                        else {
1064
                                            alt12=12;}
1065
                                    }
1066
                                    else {
1067
                                        alt12=12;}
1068
                                }
1069
                                else {
1070
                                    alt12=12;}
1071
                            }
1072
                            else {
1073
                                alt12=12;}
1074
                        }
1075
                        else {
1076
                            alt12=12;}
1077
                    }
1078
                    else {
1079
                        alt12=12;}
1080
                }
1081
                else {
1082
                    alt12=12;}
1083
            }
1084
            else {
1085
                alt12=12;}
1086
        }
1087
        else if ( (LA12_0=='^') ) {
1088
            int LA12_10 = input.LA(2);
1089
1090
            if ( ((LA12_10>='A' && LA12_10<='Z')||LA12_10=='_'||(LA12_10>='a' && LA12_10<='z')) ) {
1091
                alt12=12;
1092
            }
1093
            else {
1094
                alt12=18;}
1095
        }
1096
        else if ( ((LA12_0>='B' && LA12_0<='N')||(LA12_0>='P' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='b' && LA12_0<='v')||(LA12_0>='x' && LA12_0<='z')) ) {
1097
            alt12=12;
1098
        }
1099
        else if ( ((LA12_0>='0' && LA12_0<='9')) ) {
1100
            alt12=13;
1101
        }
1102
        else if ( (LA12_0=='\"') ) {
1103
            int LA12_13 = input.LA(2);
1104
1105
            if ( ((LA12_13>='\u0000' && LA12_13<='\uFFFE')) ) {
1106
                alt12=14;
1107
            }
1108
            else {
1109
                alt12=18;}
1110
        }
1111
        else if ( (LA12_0=='\'') ) {
1112
            int LA12_14 = input.LA(2);
1113
1114
            if ( ((LA12_14>='\u0000' && LA12_14<='\uFFFE')) ) {
1115
                alt12=14;
1116
            }
1117
            else {
1118
                alt12=18;}
1119
        }
1120
        else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {
1121
            alt12=17;
1122
        }
1123
        else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='+')||(LA12_0>='-' && LA12_0<='.')||(LA12_0>=':' && LA12_0<='@')||LA12_0=='\\'||LA12_0=='`'||(LA12_0>='{' && LA12_0<='\uFFFE')) ) {
1124
            alt12=18;
1125
        }
1126
        else {
1127
            NoViableAltException nvae =
1128
                new NoViableAltException("1:1: Tokens : ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );", 12, 0, input);
1129
1130
            throw nvae;
1131
        }
1132
        switch (alt12) {
793
        switch (alt12) {
1133
            case 1 :
794
            case 1 :
1134
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:10: T11
795
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:10: T__11
1135
                {
796
                {
1136
                mT11(); 
797
                mT__11(); 
1137
798
1138
                }
799
                }
1139
                break;
800
                break;
1140
            case 2 :
801
            case 2 :
1141
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:14: T12
802
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:16: T__12
1142
                {
803
                {
1143
                mT12(); 
804
                mT__12(); 
1144
805
1145
                }
806
                }
1146
                break;
807
                break;
1147
            case 3 :
808
            case 3 :
1148
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:18: T13
809
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:22: T__13
1149
                {
810
                {
1150
                mT13(); 
811
                mT__13(); 
1151
812
1152
                }
813
                }
1153
                break;
814
                break;
1154
            case 4 :
815
            case 4 :
1155
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:22: T14
816
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:28: T__14
1156
                {
817
                {
1157
                mT14(); 
818
                mT__14(); 
1158
819
1159
                }
820
                }
1160
                break;
821
                break;
1161
            case 5 :
822
            case 5 :
1162
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:26: T15
823
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:34: T__15
1163
                {
824
                {
1164
                mT15(); 
825
                mT__15(); 
1165
826
1166
                }
827
                }
1167
                break;
828
                break;
1168
            case 6 :
829
            case 6 :
1169
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:30: T16
830
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:40: T__16
1170
                {
831
                {
1171
                mT16(); 
832
                mT__16(); 
1172
833
1173
                }
834
                }
1174
                break;
835
                break;
1175
            case 7 :
836
            case 7 :
1176
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:34: T17
837
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:46: T__17
1177
                {
838
                {
1178
                mT17(); 
839
                mT__17(); 
1179
840
1180
                }
841
                }
1181
                break;
842
                break;
1182
            case 8 :
843
            case 8 :
1183
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:38: T18
844
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:52: T__18
1184
                {
845
                {
1185
                mT18(); 
846
                mT__18(); 
1186
847
1187
                }
848
                }
1188
                break;
849
                break;
1189
            case 9 :
850
            case 9 :
1190
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:42: T19
851
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:58: T__19
1191
                {
852
                {
1192
                mT19(); 
853
                mT__19(); 
1193
854
1194
                }
855
                }
1195
                break;
856
                break;
1196
            case 10 :
857
            case 10 :
1197
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:46: T20
858
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:64: T__20
1198
                {
859
                {
1199
                mT20(); 
860
                mT__20(); 
1200
861
1201
                }
862
                }
1202
                break;
863
                break;
1203
            case 11 :
864
            case 11 :
1204
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:50: T21
865
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:70: T__21
1205
                {
866
                {
1206
                mT21(); 
867
                mT__21(); 
1207
868
1208
                }
869
                }
1209
                break;
870
                break;
1210
            case 12 :
871
            case 12 :
1211
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:54: RULE_ID
872
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:76: RULE_ID
1212
                {
873
                {
1213
                mRULE_ID(); 
874
                mRULE_ID(); 
1214
875
1215
                }
876
                }
1216
                break;
877
                break;
1217
            case 13 :
878
            case 13 :
1218
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:62: RULE_INT
879
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:84: RULE_INT
1219
                {
880
                {
1220
                mRULE_INT(); 
881
                mRULE_INT(); 
1221
882
1222
                }
883
                }
1223
                break;
884
                break;
1224
            case 14 :
885
            case 14 :
1225
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:71: RULE_STRING
886
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:93: RULE_STRING
1226
                {
887
                {
1227
                mRULE_STRING(); 
888
                mRULE_STRING(); 
1228
889
1229
                }
890
                }
1230
                break;
891
                break;
1231
            case 15 :
892
            case 15 :
1232
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:83: RULE_ML_COMMENT
893
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:105: RULE_ML_COMMENT
1233
                {
894
                {
1234
                mRULE_ML_COMMENT(); 
895
                mRULE_ML_COMMENT(); 
1235
896
1236
                }
897
                }
1237
                break;
898
                break;
1238
            case 16 :
899
            case 16 :
1239
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:99: RULE_SL_COMMENT
900
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:121: RULE_SL_COMMENT
1240
                {
901
                {
1241
                mRULE_SL_COMMENT(); 
902
                mRULE_SL_COMMENT(); 
1242
903
1243
                }
904
                }
1244
                break;
905
                break;
1245
            case 17 :
906
            case 17 :
1246
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:115: RULE_WS
907
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:137: RULE_WS
1247
                {
908
                {
1248
                mRULE_WS(); 
909
                mRULE_WS(); 
1249
910
1250
                }
911
                }
1251
                break;
912
                break;
1252
            case 18 :
913
            case 18 :
1253
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:123: RULE_ANY_OTHER
914
                // ../org.eclipse.papyrus.transition.editor.xtext/src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g:1:145: RULE_ANY_OTHER
1254
                {
915
                {
1255
                mRULE_ANY_OTHER(); 
916
                mRULE_ANY_OTHER(); 
1256
917
Lines 1262-1267 Link Here
1262
    }
923
    }
1263
924
1264
925
926
    protected DFA12 dfa12 = new DFA12(this);
927
    static final String DFA12_eotS =
928
        "\2\uffff\2\25\2\uffff\1\33\3\25\1\20\2\uffff\2\20\3\uffff\2\25"+
929
        "\1\44\1\uffff\1\25\5\uffff\3\25\3\uffff\1\51\1\25\1\uffff\4\25\1"+
930
        "\uffff\1\25\1\60\3\25\1\64\1\uffff\3\25\1\uffff\6\25\1\76\2\25\1"+
931
        "\uffff\6\25\1\107\1\25\1\uffff\1\25\1\112\1\uffff";
932
    static final String DFA12_eofS =
933
        "\113\uffff";
934
    static final String DFA12_minS =
935
        "\1\0\1\uffff\1\146\1\150\2\uffff\1\52\1\143\1\164\1\160\1\101\2"+
936
        "\uffff\2\0\3\uffff\1\154\1\164\1\60\1\uffff\1\145\5\uffff\1\164"+
937
        "\2\141\3\uffff\1\60\1\145\1\uffff\1\156\1\151\1\164\1\161\1\uffff"+
938
        "\1\162\1\60\1\166\1\145\1\165\1\60\1\uffff\1\151\1\115\1\145\1\uffff"+
939
        "\1\164\1\141\1\102\1\171\1\143\1\145\1\60\2\150\1\uffff\1\151\1"+
940
        "\141\1\156\1\166\1\145\1\151\1\60\1\157\1\uffff\1\162\1\60\1\uffff";
941
    static final String DFA12_maxS =
942
        "\1\uffff\1\uffff\1\164\1\150\2\uffff\1\57\1\143\1\164\1\160\1\172"+
943
        "\2\uffff\2\uffff\3\uffff\1\154\1\164\1\172\1\uffff\1\145\5\uffff"+
944
        "\1\164\2\141\3\uffff\1\172\1\145\1\uffff\1\156\1\151\1\164\1\161"+
945
        "\1\uffff\1\162\1\172\1\166\1\145\1\165\1\172\1\uffff\1\151\1\115"+
946
        "\1\145\1\uffff\1\164\1\141\1\102\1\171\1\143\1\145\1\172\2\150\1"+
947
        "\uffff\1\151\1\141\1\156\1\166\1\145\1\151\1\172\1\157\1\uffff\1"+
948
        "\162\1\172\1\uffff";
949
    static final String DFA12_acceptS =
950
        "\1\uffff\1\1\2\uffff\1\6\1\7\5\uffff\1\14\1\15\2\uffff\1\21\1\22"+
951
        "\1\1\3\uffff\1\14\1\uffff\1\6\1\7\1\17\1\20\1\10\3\uffff\1\15\1"+
952
        "\16\1\21\2\uffff\1\4\4\uffff\1\2\6\uffff\1\5\3\uffff\1\3\11\uffff"+
953
        "\1\11\10\uffff\1\12\2\uffff\1\13";
954
    static final String DFA12_specialS =
955
        "\1\1\14\uffff\1\2\1\0\74\uffff}>";
956
    static final String[] DFA12_transitionS = {
957
            "\11\20\2\17\2\20\1\17\22\20\1\17\1\20\1\15\4\20\1\16\4\20\1"+
958
            "\1\2\20\1\6\12\14\7\20\1\7\15\13\1\11\3\13\1\10\7\13\1\4\1\20"+
959
            "\1\5\1\12\1\13\1\20\1\2\25\13\1\3\3\13\uff85\20",
960
            "",
961
            "\1\23\5\uffff\1\22\7\uffff\1\24",
962
            "\1\26",
963
            "",
964
            "",
965
            "\1\31\4\uffff\1\32",
966
            "\1\34",
967
            "\1\35",
968
            "\1\36",
969
            "\32\25\4\uffff\1\25\1\uffff\32\25",
970
            "",
971
            "",
972
            "\0\40",
973
            "\0\40",
974
            "",
975
            "",
976
            "",
977
            "\1\42",
978
            "\1\43",
979
            "\12\25\7\uffff\32\25\4\uffff\1\25\1\uffff\32\25",
980
            "",
981
            "\1\45",
982
            "",
983
            "",
984
            "",
985
            "",
986
            "",
987
            "\1\46",
988
            "\1\47",
989
            "\1\50",
990
            "",
991
            "",
992
            "",
993
            "\12\25\7\uffff\32\25\4\uffff\1\25\1\uffff\32\25",
994
            "\1\52",
995
            "",
996
            "\1\53",
997
            "\1\54",
998
            "\1\55",
999
            "\1\56",
1000
            "",
1001
            "\1\57",
1002
            "\12\25\7\uffff\32\25\4\uffff\1\25\1\uffff\32\25",
1003
            "\1\61",
1004
            "\1\62",
1005
            "\1\63",
1006
            "\12\25\7\uffff\32\25\4\uffff\1\25\1\uffff\32\25",
1007
            "",
1008
            "\1\65",
1009
            "\1\66",
1010
            "\1\67",
1011
            "",
1012
            "\1\70",
1013
            "\1\71",
1014
            "\1\72",
1015
            "\1\73",
1016
            "\1\74",
1017
            "\1\75",
1018
            "\12\25\7\uffff\32\25\4\uffff\1\25\1\uffff\32\25",
1019
            "\1\77",
1020
            "\1\100",
1021
            "",
1022
            "\1\101",
1023
            "\1\102",
1024
            "\1\103",
1025
            "\1\104",
1026
            "\1\105",
1027
            "\1\106",
1028
            "\12\25\7\uffff\32\25\4\uffff\1\25\1\uffff\32\25",
1029
            "\1\110",
1030
            "",
1031
            "\1\111",
1032
            "\12\25\7\uffff\32\25\4\uffff\1\25\1\uffff\32\25",
1033
            ""
1034
    };
1035
1036
    static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS);
1037
    static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS);
1038
    static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS);
1039
    static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS);
1040
    static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS);
1041
    static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS);
1042
    static final short[][] DFA12_transition;
1043
1044
    static {
1045
        int numStates = DFA12_transitionS.length;
1046
        DFA12_transition = new short[numStates][];
1047
        for (int i=0; i<numStates; i++) {
1048
            DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]);
1049
        }
1050
    }
1051
1052
    class DFA12 extends DFA {
1053
1054
        public DFA12(BaseRecognizer recognizer) {
1055
            this.recognizer = recognizer;
1056
            this.decisionNumber = 12;
1057
            this.eot = DFA12_eot;
1058
            this.eof = DFA12_eof;
1059
            this.min = DFA12_min;
1060
            this.max = DFA12_max;
1061
            this.accept = DFA12_accept;
1062
            this.special = DFA12_special;
1063
            this.transition = DFA12_transition;
1064
        }
1065
        public String getDescription() {
1066
            return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
1067
        }
1068
        public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
1069
            IntStream input = _input;
1070
        	int _s = s;
1071
            switch ( s ) {
1072
                    case 0 : 
1073
                        int LA12_14 = input.LA(1);
1074
1075
                        s = -1;
1076
                        if ( ((LA12_14>='\u0000' && LA12_14<='\uFFFF')) ) {s = 32;}
1077
1078
                        else s = 16;
1079
1080
                        if ( s>=0 ) return s;
1081
                        break;
1082
                    case 1 : 
1083
                        int LA12_0 = input.LA(1);
1084
1085
                        s = -1;
1086
                        if ( (LA12_0==',') ) {s = 1;}
1087
1088
                        else if ( (LA12_0=='a') ) {s = 2;}
1089
1090
                        else if ( (LA12_0=='w') ) {s = 3;}
1091
1092
                        else if ( (LA12_0=='[') ) {s = 4;}
1093
1094
                        else if ( (LA12_0==']') ) {s = 5;}
1095
1096
                        else if ( (LA12_0=='/') ) {s = 6;}
1097
1098
                        else if ( (LA12_0=='A') ) {s = 7;}
1099
1100
                        else if ( (LA12_0=='S') ) {s = 8;}
1101
1102
                        else if ( (LA12_0=='O') ) {s = 9;}
1103
1104
                        else if ( (LA12_0=='^') ) {s = 10;}
1105
1106
                        else if ( ((LA12_0>='B' && LA12_0<='N')||(LA12_0>='P' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='b' && LA12_0<='v')||(LA12_0>='x' && LA12_0<='z')) ) {s = 11;}
1107
1108
                        else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 12;}
1109
1110
                        else if ( (LA12_0=='\"') ) {s = 13;}
1111
1112
                        else if ( (LA12_0=='\'') ) {s = 14;}
1113
1114
                        else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 15;}
1115
1116
                        else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='+')||(LA12_0>='-' && LA12_0<='.')||(LA12_0>=':' && LA12_0<='@')||LA12_0=='\\'||LA12_0=='`'||(LA12_0>='{' && LA12_0<='\uFFFF')) ) {s = 16;}
1117
1118
                        if ( s>=0 ) return s;
1119
                        break;
1120
                    case 2 : 
1121
                        int LA12_13 = input.LA(1);
1122
1123
                        s = -1;
1124
                        if ( ((LA12_13>='\u0000' && LA12_13<='\uFFFF')) ) {s = 32;}
1125
1126
                        else s = 16;
1127
1128
                        if ( s>=0 ) return s;
1129
                        break;
1130
            }
1131
            NoViableAltException nvae =
1132
                new NoViableAltException(getDescription(), 12, _s, input);
1133
            error(nvae);
1134
            throw nvae;
1135
        }
1136
    }
1265
 
1137
 
1266
1138
1267
}
1139
}
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.g (-247 / +148 lines)
Lines 19-29 Link Here
19
@parser::header {
19
@parser::header {
20
package org.eclipse.papyrus.transition.editor.xtext.parser.antlr.internal; 
20
package org.eclipse.papyrus.transition.editor.xtext.parser.antlr.internal; 
21
21
22
import java.io.InputStream;
23
import org.eclipse.xtext.*;
22
import org.eclipse.xtext.*;
24
import org.eclipse.xtext.parser.*;
23
import org.eclipse.xtext.parser.*;
25
import org.eclipse.xtext.parser.impl.*;
24
import org.eclipse.xtext.parser.impl.*;
26
import org.eclipse.xtext.parsetree.*;
27
import org.eclipse.emf.ecore.util.EcoreUtil;
25
import org.eclipse.emf.ecore.util.EcoreUtil;
28
import org.eclipse.emf.ecore.EObject;
26
import org.eclipse.emf.ecore.EObject;
29
import org.eclipse.emf.common.util.Enumerator;
27
import org.eclipse.emf.common.util.Enumerator;
Lines 31-37 Link Here
31
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
29
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
32
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
30
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
33
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
31
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
34
import org.eclipse.xtext.conversion.ValueConverterException;
35
import org.eclipse.papyrus.transition.editor.xtext.services.UmlTransitionGrammarAccess;
32
import org.eclipse.papyrus.transition.editor.xtext.services.UmlTransitionGrammarAccess;
36
33
37
}
34
}
Lines 40-56 Link Here
40
37
41
 	private UmlTransitionGrammarAccess grammarAccess;
38
 	private UmlTransitionGrammarAccess grammarAccess;
42
 	
39
 	
43
    public InternalUmlTransitionParser(TokenStream input, IAstFactory factory, UmlTransitionGrammarAccess grammarAccess) {
40
    public InternalUmlTransitionParser(TokenStream input, UmlTransitionGrammarAccess grammarAccess) {
44
        this(input);
41
        this(input);
45
        this.factory = factory;
46
        registerRules(grammarAccess.getGrammar());
47
        this.grammarAccess = grammarAccess;
42
        this.grammarAccess = grammarAccess;
48
    }
43
        registerRules(grammarAccess.getGrammar());
49
    
50
    @Override
51
    protected InputStream getTokenFile() {
52
    	ClassLoader classLoader = getClass().getClassLoader();
53
    	return classLoader.getResourceAsStream("org/eclipse/papyrus/transition/editor/xtext/parser/antlr/internal/InternalUmlTransition.tokens");
54
    }
44
    }
55
    
45
    
56
    @Override
46
    @Override
Lines 77-83 Link Here
77
// Entry rule entryRuleTransitionRule
67
// Entry rule entryRuleTransitionRule
78
entryRuleTransitionRule returns [EObject current=null] 
68
entryRuleTransitionRule returns [EObject current=null] 
79
	:
69
	:
80
	{ currentNode = createCompositeNode(grammarAccess.getTransitionRuleRule(), currentNode); }
70
	{ newCompositeNode(grammarAccess.getTransitionRuleRule()); }
81
	 iv_ruleTransitionRule=ruleTransitionRule 
71
	 iv_ruleTransitionRule=ruleTransitionRule 
82
	 { $current=$iv_ruleTransitionRule.current; } 
72
	 { $current=$iv_ruleTransitionRule.current; } 
83
	 EOF 
73
	 EOF 
Lines 85-192 Link Here
85
75
86
// Rule TransitionRule
76
// Rule TransitionRule
87
ruleTransitionRule returns [EObject current=null] 
77
ruleTransitionRule returns [EObject current=null] 
88
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
78
    @init { enterRule(); 
89
    }
79
    }
90
    @after { resetLookahead(); 
80
    @after { leaveRule(); }:
91
    	lastConsumedNode = currentNode;
92
    }:
93
(((
81
(((
94
(
82
(
95
		{ 
83
		{ 
96
	        currentNode=createCompositeNode(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_0_0(), currentNode); 
84
	        newCompositeNode(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_0_0()); 
97
	    }
85
	    }
98
		lv_triggers_0_0=ruleEventRule		{
86
		lv_triggers_0_0=ruleEventRule		{
99
	        if ($current==null) {
87
	        if ($current==null) {
100
	            $current = factory.create(grammarAccess.getTransitionRuleRule().getType().getClassifier());
88
	            $current = createModelElementForParent(grammarAccess.getTransitionRuleRule());
101
	            associateNodeWithAstElement(currentNode.getParent(), $current);
102
	        }
103
	        try {
104
	       		add(
105
	       			$current, 
106
	       			"triggers",
107
	        		lv_triggers_0_0, 
108
	        		"EventRule", 
109
	        		currentNode);
110
	        } catch (ValueConverterException vce) {
111
				handleValueConverterException(vce);
112
	        }
89
	        }
113
	        currentNode = currentNode.getParent();
90
       		add(
91
       			$current, 
92
       			"triggers",
93
        		lv_triggers_0_0, 
94
        		"EventRule");
95
	        afterParserOrEnumRuleCall();
114
	    }
96
	    }
115
97
116
)
98
)
117
)(	',' 
99
)(	otherlv_1=',' 
118
    {
100
    {
119
        createLeafNode(grammarAccess.getTransitionRuleAccess().getCommaKeyword_0_1_0(), null); 
101
    	newLeafNode(otherlv_1, grammarAccess.getTransitionRuleAccess().getCommaKeyword_0_1_0());
120
    }
102
    }
121
(
103
(
122
(
104
(
123
		{ 
105
		{ 
124
	        currentNode=createCompositeNode(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_1_1_0(), currentNode); 
106
	        newCompositeNode(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_1_1_0()); 
125
	    }
107
	    }
126
		lv_triggers_2_0=ruleEventRule		{
108
		lv_triggers_2_0=ruleEventRule		{
127
	        if ($current==null) {
109
	        if ($current==null) {
128
	            $current = factory.create(grammarAccess.getTransitionRuleRule().getType().getClassifier());
110
	            $current = createModelElementForParent(grammarAccess.getTransitionRuleRule());
129
	            associateNodeWithAstElement(currentNode.getParent(), $current);
130
	        }
131
	        try {
132
	       		add(
133
	       			$current, 
134
	       			"triggers",
135
	        		lv_triggers_2_0, 
136
	        		"EventRule", 
137
	        		currentNode);
138
	        } catch (ValueConverterException vce) {
139
				handleValueConverterException(vce);
140
	        }
111
	        }
141
	        currentNode = currentNode.getParent();
112
       		add(
113
       			$current, 
114
       			"triggers",
115
        		lv_triggers_2_0, 
116
        		"EventRule");
117
	        afterParserOrEnumRuleCall();
142
	    }
118
	    }
143
119
144
)
120
)
145
))*)?(
121
))*)?(
146
(
122
(
147
		{ 
123
		{ 
148
	        currentNode=createCompositeNode(grammarAccess.getTransitionRuleAccess().getGuardGuardRuleParserRuleCall_1_0(), currentNode); 
124
	        newCompositeNode(grammarAccess.getTransitionRuleAccess().getGuardGuardRuleParserRuleCall_1_0()); 
149
	    }
125
	    }
150
		lv_guard_3_0=ruleGuardRule		{
126
		lv_guard_3_0=ruleGuardRule		{
151
	        if ($current==null) {
127
	        if ($current==null) {
152
	            $current = factory.create(grammarAccess.getTransitionRuleRule().getType().getClassifier());
128
	            $current = createModelElementForParent(grammarAccess.getTransitionRuleRule());
153
	            associateNodeWithAstElement(currentNode.getParent(), $current);
154
	        }
155
	        try {
156
	       		set(
157
	       			$current, 
158
	       			"guard",
159
	        		lv_guard_3_0, 
160
	        		"GuardRule", 
161
	        		currentNode);
162
	        } catch (ValueConverterException vce) {
163
				handleValueConverterException(vce);
164
	        }
129
	        }
165
	        currentNode = currentNode.getParent();
130
       		set(
131
       			$current, 
132
       			"guard",
133
        		lv_guard_3_0, 
134
        		"GuardRule");
135
	        afterParserOrEnumRuleCall();
166
	    }
136
	    }
167
137
168
)
138
)
169
)?(
139
)?(
170
(
140
(
171
		{ 
141
		{ 
172
	        currentNode=createCompositeNode(grammarAccess.getTransitionRuleAccess().getEffectEffectRuleParserRuleCall_2_0(), currentNode); 
142
	        newCompositeNode(grammarAccess.getTransitionRuleAccess().getEffectEffectRuleParserRuleCall_2_0()); 
173
	    }
143
	    }
174
		lv_effect_4_0=ruleEffectRule		{
144
		lv_effect_4_0=ruleEffectRule		{
175
	        if ($current==null) {
145
	        if ($current==null) {
176
	            $current = factory.create(grammarAccess.getTransitionRuleRule().getType().getClassifier());
146
	            $current = createModelElementForParent(grammarAccess.getTransitionRuleRule());
177
	            associateNodeWithAstElement(currentNode.getParent(), $current);
178
	        }
179
	        try {
180
	       		set(
181
	       			$current, 
182
	       			"effect",
183
	        		lv_effect_4_0, 
184
	        		"EffectRule", 
185
	        		currentNode);
186
	        } catch (ValueConverterException vce) {
187
				handleValueConverterException(vce);
188
	        }
147
	        }
189
	        currentNode = currentNode.getParent();
148
       		set(
149
       			$current, 
150
       			"effect",
151
        		lv_effect_4_0, 
152
        		"EffectRule");
153
	        afterParserOrEnumRuleCall();
190
	    }
154
	    }
191
155
192
)
156
)
Lines 200-206 Link Here
200
// Entry rule entryRuleEventRule
164
// Entry rule entryRuleEventRule
201
entryRuleEventRule returns [EObject current=null] 
165
entryRuleEventRule returns [EObject current=null] 
202
	:
166
	:
203
	{ currentNode = createCompositeNode(grammarAccess.getEventRuleRule(), currentNode); }
167
	{ newCompositeNode(grammarAccess.getEventRuleRule()); }
204
	 iv_ruleEventRule=ruleEventRule 
168
	 iv_ruleEventRule=ruleEventRule 
205
	 { $current=$iv_ruleEventRule.current; } 
169
	 { $current=$iv_ruleEventRule.current; } 
206
	 EOF 
170
	 EOF 
Lines 208-256 Link Here
208
172
209
// Rule EventRule
173
// Rule EventRule
210
ruleEventRule returns [EObject current=null] 
174
ruleEventRule returns [EObject current=null] 
211
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
175
    @init { enterRule(); 
212
    }
176
    }
213
    @after { resetLookahead(); 
177
    @after { leaveRule(); }:
214
    	lastConsumedNode = currentNode;
215
    }:
216
(
178
(
217
    { 
179
    { 
218
        currentNode=createCompositeNode(grammarAccess.getEventRuleAccess().getCallOrSignalEventRuleParserRuleCall_0(), currentNode); 
180
        newCompositeNode(grammarAccess.getEventRuleAccess().getCallOrSignalEventRuleParserRuleCall_0()); 
219
    }
181
    }
220
    this_CallOrSignalEventRule_0=ruleCallOrSignalEventRule
182
    this_CallOrSignalEventRule_0=ruleCallOrSignalEventRule
221
    { 
183
    { 
222
        $current = $this_CallOrSignalEventRule_0.current; 
184
        $current = $this_CallOrSignalEventRule_0.current; 
223
        currentNode = currentNode.getParent();
185
        afterParserOrEnumRuleCall();
224
    }
186
    }
225
187
226
    |
188
    |
227
    { 
189
    { 
228
        currentNode=createCompositeNode(grammarAccess.getEventRuleAccess().getAnyReceiveEventRuleParserRuleCall_1(), currentNode); 
190
        newCompositeNode(grammarAccess.getEventRuleAccess().getAnyReceiveEventRuleParserRuleCall_1()); 
229
    }
191
    }
230
    this_AnyReceiveEventRule_1=ruleAnyReceiveEventRule
192
    this_AnyReceiveEventRule_1=ruleAnyReceiveEventRule
231
    { 
193
    { 
232
        $current = $this_AnyReceiveEventRule_1.current; 
194
        $current = $this_AnyReceiveEventRule_1.current; 
233
        currentNode = currentNode.getParent();
195
        afterParserOrEnumRuleCall();
234
    }
196
    }
235
197
236
    |
198
    |
237
    { 
199
    { 
238
        currentNode=createCompositeNode(grammarAccess.getEventRuleAccess().getTimeEventRuleParserRuleCall_2(), currentNode); 
200
        newCompositeNode(grammarAccess.getEventRuleAccess().getTimeEventRuleParserRuleCall_2()); 
239
    }
201
    }
240
    this_TimeEventRule_2=ruleTimeEventRule
202
    this_TimeEventRule_2=ruleTimeEventRule
241
    { 
203
    { 
242
        $current = $this_TimeEventRule_2.current; 
204
        $current = $this_TimeEventRule_2.current; 
243
        currentNode = currentNode.getParent();
205
        afterParserOrEnumRuleCall();
244
    }
206
    }
245
207
246
    |
208
    |
247
    { 
209
    { 
248
        currentNode=createCompositeNode(grammarAccess.getEventRuleAccess().getChangeEventRuleParserRuleCall_3(), currentNode); 
210
        newCompositeNode(grammarAccess.getEventRuleAccess().getChangeEventRuleParserRuleCall_3()); 
249
    }
211
    }
250
    this_ChangeEventRule_3=ruleChangeEventRule
212
    this_ChangeEventRule_3=ruleChangeEventRule
251
    { 
213
    { 
252
        $current = $this_ChangeEventRule_3.current; 
214
        $current = $this_ChangeEventRule_3.current; 
253
        currentNode = currentNode.getParent();
215
        afterParserOrEnumRuleCall();
254
    }
216
    }
255
)
217
)
256
;
218
;
Lines 262-268 Link Here
262
// Entry rule entryRuleCallOrSignalEventRule
224
// Entry rule entryRuleCallOrSignalEventRule
263
entryRuleCallOrSignalEventRule returns [EObject current=null] 
225
entryRuleCallOrSignalEventRule returns [EObject current=null] 
264
	:
226
	:
265
	{ currentNode = createCompositeNode(grammarAccess.getCallOrSignalEventRuleRule(), currentNode); }
227
	{ newCompositeNode(grammarAccess.getCallOrSignalEventRuleRule()); }
266
	 iv_ruleCallOrSignalEventRule=ruleCallOrSignalEventRule 
228
	 iv_ruleCallOrSignalEventRule=ruleCallOrSignalEventRule 
267
	 { $current=$iv_ruleCallOrSignalEventRule.current; } 
229
	 { $current=$iv_ruleCallOrSignalEventRule.current; } 
268
	 EOF 
230
	 EOF 
Lines 270-291 Link Here
270
232
271
// Rule CallOrSignalEventRule
233
// Rule CallOrSignalEventRule
272
ruleCallOrSignalEventRule returns [EObject current=null] 
234
ruleCallOrSignalEventRule returns [EObject current=null] 
273
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
235
    @init { enterRule(); 
274
    }
236
    }
275
    @after { resetLookahead(); 
237
    @after { leaveRule(); }:
276
    	lastConsumedNode = currentNode;
277
    }:
278
(
238
(
279
(
239
(
280
		{
240
		{
281
			if ($current==null) {
241
			if ($current==null) {
282
	            $current = factory.create(grammarAccess.getCallOrSignalEventRuleRule().getType().getClassifier());
242
	            $current = createModelElement(grammarAccess.getCallOrSignalEventRuleRule());
283
	            associateNodeWithAstElement(currentNode, $current);
284
	        }
243
	        }
285
        }
244
        }
286
	RULE_ID
245
	otherlv_0=RULE_ID
287
	{
246
	{
288
		createLeafNode(grammarAccess.getCallOrSignalEventRuleAccess().getOperationOrSignalNamedElementCrossReference_0(), "operationOrSignal"); 
247
		newLeafNode(otherlv_0, grammarAccess.getCallOrSignalEventRuleAccess().getOperationOrSignalNamedElementCrossReference_0()); 
289
	}
248
	}
290
249
291
)
250
)
Lines 299-305 Link Here
299
// Entry rule entryRuleAnyReceiveEventRule
258
// Entry rule entryRuleAnyReceiveEventRule
300
entryRuleAnyReceiveEventRule returns [EObject current=null] 
259
entryRuleAnyReceiveEventRule returns [EObject current=null] 
301
	:
260
	:
302
	{ currentNode = createCompositeNode(grammarAccess.getAnyReceiveEventRuleRule(), currentNode); }
261
	{ newCompositeNode(grammarAccess.getAnyReceiveEventRuleRule()); }
303
	 iv_ruleAnyReceiveEventRule=ruleAnyReceiveEventRule 
262
	 iv_ruleAnyReceiveEventRule=ruleAnyReceiveEventRule 
304
	 { $current=$iv_ruleAnyReceiveEventRule.current; } 
263
	 { $current=$iv_ruleAnyReceiveEventRule.current; } 
305
	 EOF 
264
	 EOF 
Lines 307-335 Link Here
307
266
308
// Rule AnyReceiveEventRule
267
// Rule AnyReceiveEventRule
309
ruleAnyReceiveEventRule returns [EObject current=null] 
268
ruleAnyReceiveEventRule returns [EObject current=null] 
310
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
269
    @init { enterRule(); 
311
    }
270
    }
312
    @after { resetLookahead(); 
271
    @after { leaveRule(); }:
313
    	lastConsumedNode = currentNode;
314
    }:
315
(
272
(
316
(
273
(
317
		lv_isAReceiveEvent_0_0=	'all' 
274
		lv_isAReceiveEvent_0_0=	'all' 
318
    {
275
    {
319
        createLeafNode(grammarAccess.getAnyReceiveEventRuleAccess().getIsAReceiveEventAllKeyword_0(), "isAReceiveEvent"); 
276
        newLeafNode(lv_isAReceiveEvent_0_0, grammarAccess.getAnyReceiveEventRuleAccess().getIsAReceiveEventAllKeyword_0());
320
    }
277
    }
321
 
278
 
322
	    {
279
	    {
323
	        if ($current==null) {
280
	        if ($current==null) {
324
	            $current = factory.create(grammarAccess.getAnyReceiveEventRuleRule().getType().getClassifier());
281
	            $current = createModelElement(grammarAccess.getAnyReceiveEventRuleRule());
325
	            associateNodeWithAstElement(currentNode, $current);
326
	        }
327
	        
328
	        try {
329
	       		set($current, "isAReceiveEvent", lv_isAReceiveEvent_0_0, "all", lastConsumedNode);
330
	        } catch (ValueConverterException vce) {
331
				handleValueConverterException(vce);
332
	        }
282
	        }
283
       		setWithLastConsumed($current, "isAReceiveEvent", lv_isAReceiveEvent_0_0, "all");
333
	    }
284
	    }
334
285
335
)
286
)
Lines 343-349 Link Here
343
// Entry rule entryRuleTimeEventRule
294
// Entry rule entryRuleTimeEventRule
344
entryRuleTimeEventRule returns [EObject current=null] 
295
entryRuleTimeEventRule returns [EObject current=null] 
345
	:
296
	:
346
	{ currentNode = createCompositeNode(grammarAccess.getTimeEventRuleRule(), currentNode); }
297
	{ newCompositeNode(grammarAccess.getTimeEventRuleRule()); }
347
	 iv_ruleTimeEventRule=ruleTimeEventRule 
298
	 iv_ruleTimeEventRule=ruleTimeEventRule 
348
	 { $current=$iv_ruleTimeEventRule.current; } 
299
	 { $current=$iv_ruleTimeEventRule.current; } 
349
	 EOF 
300
	 EOF 
Lines 351-379 Link Here
351
302
352
// Rule TimeEventRule
303
// Rule TimeEventRule
353
ruleTimeEventRule returns [EObject current=null] 
304
ruleTimeEventRule returns [EObject current=null] 
354
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
305
    @init { enterRule(); 
355
    }
306
    }
356
    @after { resetLookahead(); 
307
    @after { leaveRule(); }:
357
    	lastConsumedNode = currentNode;
358
    }:
359
(
308
(
360
    { 
309
    { 
361
        currentNode=createCompositeNode(grammarAccess.getTimeEventRuleAccess().getRelativeTimeEventRuleParserRuleCall_0(), currentNode); 
310
        newCompositeNode(grammarAccess.getTimeEventRuleAccess().getRelativeTimeEventRuleParserRuleCall_0()); 
362
    }
311
    }
363
    this_RelativeTimeEventRule_0=ruleRelativeTimeEventRule
312
    this_RelativeTimeEventRule_0=ruleRelativeTimeEventRule
364
    { 
313
    { 
365
        $current = $this_RelativeTimeEventRule_0.current; 
314
        $current = $this_RelativeTimeEventRule_0.current; 
366
        currentNode = currentNode.getParent();
315
        afterParserOrEnumRuleCall();
367
    }
316
    }
368
317
369
    |
318
    |
370
    { 
319
    { 
371
        currentNode=createCompositeNode(grammarAccess.getTimeEventRuleAccess().getAbsoluteTimeEventRuleParserRuleCall_1(), currentNode); 
320
        newCompositeNode(grammarAccess.getTimeEventRuleAccess().getAbsoluteTimeEventRuleParserRuleCall_1()); 
372
    }
321
    }
373
    this_AbsoluteTimeEventRule_1=ruleAbsoluteTimeEventRule
322
    this_AbsoluteTimeEventRule_1=ruleAbsoluteTimeEventRule
374
    { 
323
    { 
375
        $current = $this_AbsoluteTimeEventRule_1.current; 
324
        $current = $this_AbsoluteTimeEventRule_1.current; 
376
        currentNode = currentNode.getParent();
325
        afterParserOrEnumRuleCall();
377
    }
326
    }
378
)
327
)
379
;
328
;
Lines 385-391 Link Here
385
// Entry rule entryRuleRelativeTimeEventRule
334
// Entry rule entryRuleRelativeTimeEventRule
386
entryRuleRelativeTimeEventRule returns [EObject current=null] 
335
entryRuleRelativeTimeEventRule returns [EObject current=null] 
387
	:
336
	:
388
	{ currentNode = createCompositeNode(grammarAccess.getRelativeTimeEventRuleRule(), currentNode); }
337
	{ newCompositeNode(grammarAccess.getRelativeTimeEventRuleRule()); }
389
	 iv_ruleRelativeTimeEventRule=ruleRelativeTimeEventRule 
338
	 iv_ruleRelativeTimeEventRule=ruleRelativeTimeEventRule 
390
	 { $current=$iv_ruleRelativeTimeEventRule.current; } 
339
	 { $current=$iv_ruleRelativeTimeEventRule.current; } 
391
	 EOF 
340
	 EOF 
Lines 393-428 Link Here
393
342
394
// Rule RelativeTimeEventRule
343
// Rule RelativeTimeEventRule
395
ruleRelativeTimeEventRule returns [EObject current=null] 
344
ruleRelativeTimeEventRule returns [EObject current=null] 
396
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
345
    @init { enterRule(); 
397
    }
346
    }
398
    @after { resetLookahead(); 
347
    @after { leaveRule(); }:
399
    	lastConsumedNode = currentNode;
348
(	otherlv_0='after' 
400
    }:
401
(	'after' 
402
    {
349
    {
403
        createLeafNode(grammarAccess.getRelativeTimeEventRuleAccess().getAfterKeyword_0(), null); 
350
    	newLeafNode(otherlv_0, grammarAccess.getRelativeTimeEventRuleAccess().getAfterKeyword_0());
404
    }
351
    }
405
(
352
(
406
(
353
(
407
		lv_expr_1_0=RULE_STRING
354
		lv_expr_1_0=RULE_STRING
408
		{
355
		{
409
			createLeafNode(grammarAccess.getRelativeTimeEventRuleAccess().getExprSTRINGTerminalRuleCall_1_0(), "expr"); 
356
			newLeafNode(lv_expr_1_0, grammarAccess.getRelativeTimeEventRuleAccess().getExprSTRINGTerminalRuleCall_1_0()); 
410
		}
357
		}
411
		{
358
		{
412
	        if ($current==null) {
359
	        if ($current==null) {
413
	            $current = factory.create(grammarAccess.getRelativeTimeEventRuleRule().getType().getClassifier());
360
	            $current = createModelElement(grammarAccess.getRelativeTimeEventRuleRule());
414
	            associateNodeWithAstElement(currentNode, $current);
415
	        }
416
	        try {
417
	       		set(
418
	       			$current, 
419
	       			"expr",
420
	        		lv_expr_1_0, 
421
	        		"STRING", 
422
	        		lastConsumedNode);
423
	        } catch (ValueConverterException vce) {
424
				handleValueConverterException(vce);
425
	        }
361
	        }
362
       		setWithLastConsumed(
363
       			$current, 
364
       			"expr",
365
        		lv_expr_1_0, 
366
        		"STRING");
426
	    }
367
	    }
427
368
428
)
369
)
Lines 436-442 Link Here
436
// Entry rule entryRuleAbsoluteTimeEventRule
377
// Entry rule entryRuleAbsoluteTimeEventRule
437
entryRuleAbsoluteTimeEventRule returns [EObject current=null] 
378
entryRuleAbsoluteTimeEventRule returns [EObject current=null] 
438
	:
379
	:
439
	{ currentNode = createCompositeNode(grammarAccess.getAbsoluteTimeEventRuleRule(), currentNode); }
380
	{ newCompositeNode(grammarAccess.getAbsoluteTimeEventRuleRule()); }
440
	 iv_ruleAbsoluteTimeEventRule=ruleAbsoluteTimeEventRule 
381
	 iv_ruleAbsoluteTimeEventRule=ruleAbsoluteTimeEventRule 
441
	 { $current=$iv_ruleAbsoluteTimeEventRule.current; } 
382
	 { $current=$iv_ruleAbsoluteTimeEventRule.current; } 
442
	 EOF 
383
	 EOF 
Lines 444-479 Link Here
444
385
445
// Rule AbsoluteTimeEventRule
386
// Rule AbsoluteTimeEventRule
446
ruleAbsoluteTimeEventRule returns [EObject current=null] 
387
ruleAbsoluteTimeEventRule returns [EObject current=null] 
447
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
388
    @init { enterRule(); 
448
    }
389
    }
449
    @after { resetLookahead(); 
390
    @after { leaveRule(); }:
450
    	lastConsumedNode = currentNode;
391
(	otherlv_0='at' 
451
    }:
452
(	'at' 
453
    {
392
    {
454
        createLeafNode(grammarAccess.getAbsoluteTimeEventRuleAccess().getAtKeyword_0(), null); 
393
    	newLeafNode(otherlv_0, grammarAccess.getAbsoluteTimeEventRuleAccess().getAtKeyword_0());
455
    }
394
    }
456
(
395
(
457
(
396
(
458
		lv_expr_1_0=RULE_STRING
397
		lv_expr_1_0=RULE_STRING
459
		{
398
		{
460
			createLeafNode(grammarAccess.getAbsoluteTimeEventRuleAccess().getExprSTRINGTerminalRuleCall_1_0(), "expr"); 
399
			newLeafNode(lv_expr_1_0, grammarAccess.getAbsoluteTimeEventRuleAccess().getExprSTRINGTerminalRuleCall_1_0()); 
461
		}
400
		}
462
		{
401
		{
463
	        if ($current==null) {
402
	        if ($current==null) {
464
	            $current = factory.create(grammarAccess.getAbsoluteTimeEventRuleRule().getType().getClassifier());
403
	            $current = createModelElement(grammarAccess.getAbsoluteTimeEventRuleRule());
465
	            associateNodeWithAstElement(currentNode, $current);
466
	        }
467
	        try {
468
	       		set(
469
	       			$current, 
470
	       			"expr",
471
	        		lv_expr_1_0, 
472
	        		"STRING", 
473
	        		lastConsumedNode);
474
	        } catch (ValueConverterException vce) {
475
				handleValueConverterException(vce);
476
	        }
404
	        }
405
       		setWithLastConsumed(
406
       			$current, 
407
       			"expr",
408
        		lv_expr_1_0, 
409
        		"STRING");
477
	    }
410
	    }
478
411
479
)
412
)
Lines 487-493 Link Here
487
// Entry rule entryRuleChangeEventRule
420
// Entry rule entryRuleChangeEventRule
488
entryRuleChangeEventRule returns [EObject current=null] 
421
entryRuleChangeEventRule returns [EObject current=null] 
489
	:
422
	:
490
	{ currentNode = createCompositeNode(grammarAccess.getChangeEventRuleRule(), currentNode); }
423
	{ newCompositeNode(grammarAccess.getChangeEventRuleRule()); }
491
	 iv_ruleChangeEventRule=ruleChangeEventRule 
424
	 iv_ruleChangeEventRule=ruleChangeEventRule 
492
	 { $current=$iv_ruleChangeEventRule.current; } 
425
	 { $current=$iv_ruleChangeEventRule.current; } 
493
	 EOF 
426
	 EOF 
Lines 495-530 Link Here
495
428
496
// Rule ChangeEventRule
429
// Rule ChangeEventRule
497
ruleChangeEventRule returns [EObject current=null] 
430
ruleChangeEventRule returns [EObject current=null] 
498
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
431
    @init { enterRule(); 
499
    }
432
    }
500
    @after { resetLookahead(); 
433
    @after { leaveRule(); }:
501
    	lastConsumedNode = currentNode;
434
(	otherlv_0='when' 
502
    }:
503
(	'when' 
504
    {
435
    {
505
        createLeafNode(grammarAccess.getChangeEventRuleAccess().getWhenKeyword_0(), null); 
436
    	newLeafNode(otherlv_0, grammarAccess.getChangeEventRuleAccess().getWhenKeyword_0());
506
    }
437
    }
507
(
438
(
508
(
439
(
509
		lv_exp_1_0=RULE_STRING
440
		lv_exp_1_0=RULE_STRING
510
		{
441
		{
511
			createLeafNode(grammarAccess.getChangeEventRuleAccess().getExpSTRINGTerminalRuleCall_1_0(), "exp"); 
442
			newLeafNode(lv_exp_1_0, grammarAccess.getChangeEventRuleAccess().getExpSTRINGTerminalRuleCall_1_0()); 
512
		}
443
		}
513
		{
444
		{
514
	        if ($current==null) {
445
	        if ($current==null) {
515
	            $current = factory.create(grammarAccess.getChangeEventRuleRule().getType().getClassifier());
446
	            $current = createModelElement(grammarAccess.getChangeEventRuleRule());
516
	            associateNodeWithAstElement(currentNode, $current);
517
	        }
518
	        try {
519
	       		set(
520
	       			$current, 
521
	       			"exp",
522
	        		lv_exp_1_0, 
523
	        		"STRING", 
524
	        		lastConsumedNode);
525
	        } catch (ValueConverterException vce) {
526
				handleValueConverterException(vce);
527
	        }
447
	        }
448
       		setWithLastConsumed(
449
       			$current, 
450
       			"exp",
451
        		lv_exp_1_0, 
452
        		"STRING");
528
	    }
453
	    }
529
454
530
)
455
)
Lines 538-544 Link Here
538
// Entry rule entryRuleGuardRule
463
// Entry rule entryRuleGuardRule
539
entryRuleGuardRule returns [EObject current=null] 
464
entryRuleGuardRule returns [EObject current=null] 
540
	:
465
	:
541
	{ currentNode = createCompositeNode(grammarAccess.getGuardRuleRule(), currentNode); }
466
	{ newCompositeNode(grammarAccess.getGuardRuleRule()); }
542
	 iv_ruleGuardRule=ruleGuardRule 
467
	 iv_ruleGuardRule=ruleGuardRule 
543
	 { $current=$iv_ruleGuardRule.current; } 
468
	 { $current=$iv_ruleGuardRule.current; } 
544
	 EOF 
469
	 EOF 
Lines 546-587 Link Here
546
471
547
// Rule GuardRule
472
// Rule GuardRule
548
ruleGuardRule returns [EObject current=null] 
473
ruleGuardRule returns [EObject current=null] 
549
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
474
    @init { enterRule(); 
550
    }
475
    }
551
    @after { resetLookahead(); 
476
    @after { leaveRule(); }:
552
    	lastConsumedNode = currentNode;
477
(	otherlv_0='[' 
553
    }:
554
(	'[' 
555
    {
478
    {
556
        createLeafNode(grammarAccess.getGuardRuleAccess().getLeftSquareBracketKeyword_0(), null); 
479
    	newLeafNode(otherlv_0, grammarAccess.getGuardRuleAccess().getLeftSquareBracketKeyword_0());
557
    }
480
    }
558
(
481
(
559
(
482
(
560
		lv_constraint_1_0=RULE_STRING
483
		lv_constraint_1_0=RULE_STRING
561
		{
484
		{
562
			createLeafNode(grammarAccess.getGuardRuleAccess().getConstraintSTRINGTerminalRuleCall_1_0(), "constraint"); 
485
			newLeafNode(lv_constraint_1_0, grammarAccess.getGuardRuleAccess().getConstraintSTRINGTerminalRuleCall_1_0()); 
563
		}
486
		}
564
		{
487
		{
565
	        if ($current==null) {
488
	        if ($current==null) {
566
	            $current = factory.create(grammarAccess.getGuardRuleRule().getType().getClassifier());
489
	            $current = createModelElement(grammarAccess.getGuardRuleRule());
567
	            associateNodeWithAstElement(currentNode, $current);
568
	        }
569
	        try {
570
	       		set(
571
	       			$current, 
572
	       			"constraint",
573
	        		lv_constraint_1_0, 
574
	        		"STRING", 
575
	        		lastConsumedNode);
576
	        } catch (ValueConverterException vce) {
577
				handleValueConverterException(vce);
578
	        }
490
	        }
491
       		setWithLastConsumed(
492
       			$current, 
493
       			"constraint",
494
        		lv_constraint_1_0, 
495
        		"STRING");
579
	    }
496
	    }
580
497
581
)
498
)
582
)	']' 
499
)	otherlv_2=']' 
583
    {
500
    {
584
        createLeafNode(grammarAccess.getGuardRuleAccess().getRightSquareBracketKeyword_2(), null); 
501
    	newLeafNode(otherlv_2, grammarAccess.getGuardRuleAccess().getRightSquareBracketKeyword_2());
585
    }
502
    }
586
)
503
)
587
;
504
;
Lines 593-599 Link Here
593
// Entry rule entryRuleEffectRule
510
// Entry rule entryRuleEffectRule
594
entryRuleEffectRule returns [EObject current=null] 
511
entryRuleEffectRule returns [EObject current=null] 
595
	:
512
	:
596
	{ currentNode = createCompositeNode(grammarAccess.getEffectRuleRule(), currentNode); }
513
	{ newCompositeNode(grammarAccess.getEffectRuleRule()); }
597
	 iv_ruleEffectRule=ruleEffectRule 
514
	 iv_ruleEffectRule=ruleEffectRule 
598
	 { $current=$iv_ruleEffectRule.current; } 
515
	 { $current=$iv_ruleEffectRule.current; } 
599
	 EOF 
516
	 EOF 
Lines 601-636 Link Here
601
518
602
// Rule EffectRule
519
// Rule EffectRule
603
ruleEffectRule returns [EObject current=null] 
520
ruleEffectRule returns [EObject current=null] 
604
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
521
    @init { enterRule(); 
605
    }
522
    }
606
    @after { resetLookahead(); 
523
    @after { leaveRule(); }:
607
    	lastConsumedNode = currentNode;
524
(	otherlv_0='/' 
608
    }:
609
(	'/' 
610
    {
525
    {
611
        createLeafNode(grammarAccess.getEffectRuleAccess().getSolidusKeyword_0(), null); 
526
    	newLeafNode(otherlv_0, grammarAccess.getEffectRuleAccess().getSolidusKeyword_0());
612
    }
527
    }
613
(
528
(
614
(
529
(
615
		{ 
530
		{ 
616
	        currentNode=createCompositeNode(grammarAccess.getEffectRuleAccess().getKindBehaviorKindEnumRuleCall_1_0(), currentNode); 
531
	        newCompositeNode(grammarAccess.getEffectRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
617
	    }
532
	    }
618
		lv_kind_1_0=ruleBehaviorKind		{
533
		lv_kind_1_0=ruleBehaviorKind		{
619
	        if ($current==null) {
534
	        if ($current==null) {
620
	            $current = factory.create(grammarAccess.getEffectRuleRule().getType().getClassifier());
535
	            $current = createModelElementForParent(grammarAccess.getEffectRuleRule());
621
	            associateNodeWithAstElement(currentNode.getParent(), $current);
622
	        }
623
	        try {
624
	       		set(
625
	       			$current, 
626
	       			"kind",
627
	        		lv_kind_1_0, 
628
	        		"BehaviorKind", 
629
	        		currentNode);
630
	        } catch (ValueConverterException vce) {
631
				handleValueConverterException(vce);
632
	        }
536
	        }
633
	        currentNode = currentNode.getParent();
537
       		set(
538
       			$current, 
539
       			"kind",
540
        		lv_kind_1_0, 
541
        		"BehaviorKind");
542
	        afterParserOrEnumRuleCall();
634
	    }
543
	    }
635
544
636
)
545
)
Lines 638-660 Link Here
638
(
547
(
639
		lv_behaviorName_2_0=RULE_ID
548
		lv_behaviorName_2_0=RULE_ID
640
		{
549
		{
641
			createLeafNode(grammarAccess.getEffectRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0(), "behaviorName"); 
550
			newLeafNode(lv_behaviorName_2_0, grammarAccess.getEffectRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0()); 
642
		}
551
		}
643
		{
552
		{
644
	        if ($current==null) {
553
	        if ($current==null) {
645
	            $current = factory.create(grammarAccess.getEffectRuleRule().getType().getClassifier());
554
	            $current = createModelElement(grammarAccess.getEffectRuleRule());
646
	            associateNodeWithAstElement(currentNode, $current);
647
	        }
555
	        }
648
	        try {
556
       		setWithLastConsumed(
649
	       		set(
557
       			$current, 
650
	       			$current, 
558
       			"behaviorName",
651
	       			"behaviorName",
559
        		lv_behaviorName_2_0, 
652
	        		lv_behaviorName_2_0, 
560
        		"ID");
653
	        		"ID", 
654
	        		lastConsumedNode);
655
	        } catch (ValueConverterException vce) {
656
				handleValueConverterException(vce);
657
	        }
658
	    }
561
	    }
659
562
660
)
563
)
Lines 667-692 Link Here
667
570
668
// Rule BehaviorKind
571
// Rule BehaviorKind
669
ruleBehaviorKind returns [Enumerator current=null] 
572
ruleBehaviorKind returns [Enumerator current=null] 
670
    @init { setCurrentLookahead(); resetLookahead(); }
573
    @init { enterRule(); }
671
    @after { resetLookahead(); 
574
    @after { leaveRule(); }:
672
    	lastConsumedNode = currentNode;
575
((	enumLiteral_0='Activity' 
673
    }:
674
((	'Activity' 
675
	{
576
	{
676
        $current = grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
577
        $current = grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
677
        createLeafNode(grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0(), null); 
578
        newLeafNode(enumLiteral_0, grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0()); 
678
    }
579
    }
679
)
580
)
680
    |(	'StateMachine' 
581
    |(	enumLiteral_1='StateMachine' 
681
	{
582
	{
682
        $current = grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
583
        $current = grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
683
        createLeafNode(grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1(), null); 
584
        newLeafNode(enumLiteral_1, grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1()); 
684
    }
585
    }
685
)
586
)
686
    |(	'OpaqueBehavior' 
587
    |(	enumLiteral_2='OpaqueBehavior' 
687
	{
588
	{
688
        $current = grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2().getEnumLiteral().getInstance();
589
        $current = grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2().getEnumLiteral().getInstance();
689
        createLeafNode(grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2(), null); 
590
        newLeafNode(enumLiteral_2, grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2()); 
690
    }
591
    }
691
));
592
));
692
593
Lines 696-702 Link Here
696
597
697
RULE_INT : ('0'..'9')+;
598
RULE_INT : ('0'..'9')+;
698
599
699
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
600
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
700
601
701
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
602
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
702
603
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/validation/AbstractUmlTransitionJavaValidator.java (-1 / +1 lines)
Lines 10-16 Link Here
10
@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class})
10
@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class})
11
public class AbstractUmlTransitionJavaValidator extends AbstractDeclarativeValidator {
11
public class AbstractUmlTransitionJavaValidator extends AbstractDeclarativeValidator {
12
12
13
@Override
13
	@Override
14
	protected List<EPackage> getEPackages() {
14
	protected List<EPackage> getEPackages() {
15
	    List<EPackage> result = new ArrayList<EPackage>();
15
	    List<EPackage> result = new ArrayList<EPackage>();
16
	    result.add(org.eclipse.papyrus.transition.editor.xtext.umlTransition.UmlTransitionPackage.eINSTANCE);
16
	    result.add(org.eclipse.papyrus.transition.editor.xtext.umlTransition.UmlTransitionPackage.eINSTANCE);
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/AbstractUmlTransitionRuntimeModule.java (-2 / +7 lines)
Lines 45-51 Link Here
45
	}
45
	}
46
46
47
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
47
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
48
	public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrParser> bindIAntlrParser() {
48
	public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
49
		return org.eclipse.papyrus.transition.editor.xtext.parser.antlr.UmlTransitionParser.class;
49
		return org.eclipse.papyrus.transition.editor.xtext.parser.antlr.UmlTransitionParser.class;
50
	}
50
	}
51
51
Lines 91-97 Link Here
91
91
92
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
92
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
93
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
93
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
94
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named("org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegate")).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
94
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
95
	}
95
	}
96
96
97
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
97
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
Lines 99-104 Link Here
99
		return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
99
		return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
100
	}
100
	}
101
101
102
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
103
	public void configureIgnoreCaseLinking(com.google.inject.Binder binder) {
104
		binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false);
105
	}
106
102
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
107
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
103
	public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
108
	public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
104
		return org.eclipse.xtext.naming.SimpleNameProvider.class;
109
		return org.eclipse.xtext.naming.SimpleNameProvider.class;
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/umlTransition/util/UmlTransitionSwitch.java (-31 / +12 lines)
Lines 6-15 Link Here
6
 */
6
 */
7
package org.eclipse.papyrus.transition.editor.xtext.umlTransition.util;
7
package org.eclipse.papyrus.transition.editor.xtext.umlTransition.util;
8
8
9
import java.util.List;
10
11
import org.eclipse.emf.ecore.EClass;
12
import org.eclipse.emf.ecore.EObject;
9
import org.eclipse.emf.ecore.EObject;
10
import org.eclipse.emf.ecore.EPackage;
11
12
import org.eclipse.emf.ecore.util.Switch;
13
13
14
import org.eclipse.papyrus.transition.editor.xtext.umlTransition.*;
14
import org.eclipse.papyrus.transition.editor.xtext.umlTransition.*;
15
15
Lines 26-32 Link Here
26
 * @see org.eclipse.papyrus.transition.editor.xtext.umlTransition.UmlTransitionPackage
26
 * @see org.eclipse.papyrus.transition.editor.xtext.umlTransition.UmlTransitionPackage
27
 * @generated
27
 * @generated
28
 */
28
 */
29
public class UmlTransitionSwitch<T>
29
public class UmlTransitionSwitch<T> extends Switch<T>
30
{
30
{
31
  /**
31
  /**
32
   * The cached model package
32
   * The cached model package
Lines 51-88 Link Here
51
  }
51
  }
52
52
53
  /**
53
  /**
54
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
54
   * Checks whether this is a switch for the given package.
55
   * <!-- begin-user-doc -->
56
   * <!-- end-user-doc -->
57
   * @return the first non-null result returned by a <code>caseXXX</code> call.
58
   * @generated
59
   */
60
  public T doSwitch(EObject theEObject)
61
  {
62
    return doSwitch(theEObject.eClass(), theEObject);
63
  }
64
65
  /**
66
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
67
   * <!-- begin-user-doc -->
55
   * <!-- begin-user-doc -->
68
   * <!-- end-user-doc -->
56
   * <!-- end-user-doc -->
69
   * @return the first non-null result returned by a <code>caseXXX</code> call.
57
   * @parameter ePackage the package in question.
58
   * @return whether this is a switch for the given package.
70
   * @generated
59
   * @generated
71
   */
60
   */
72
  protected T doSwitch(EClass theEClass, EObject theEObject)
61
  @Override
62
  protected boolean isSwitchFor(EPackage ePackage)
73
  {
63
  {
74
    if (theEClass.eContainer() == modelPackage)
64
    return ePackage == modelPackage;
75
    {
76
      return doSwitch(theEClass.getClassifierID(), theEObject);
77
    }
78
    else
79
    {
80
      List<EClass> eSuperTypes = theEClass.getESuperTypes();
81
      return
82
        eSuperTypes.isEmpty() ?
83
          defaultCase(theEObject) :
84
          doSwitch(eSuperTypes.get(0), theEObject);
85
    }
86
  }
65
  }
87
66
88
  /**
67
  /**
Lines 92-97 Link Here
92
   * @return the first non-null result returned by a <code>caseXXX</code> call.
71
   * @return the first non-null result returned by a <code>caseXXX</code> call.
93
   * @generated
72
   * @generated
94
   */
73
   */
74
  @Override
95
  protected T doSwitch(int classifierID, EObject theEObject)
75
  protected T doSwitch(int classifierID, EObject theEObject)
96
  {
76
  {
97
    switch (classifierID)
77
    switch (classifierID)
Lines 349-354 Link Here
349
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
329
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
350
   * @generated
330
   * @generated
351
   */
331
   */
332
  @Override
352
  public T defaultCase(EObject object)
333
  public T defaultCase(EObject object)
353
  {
334
  {
354
    return null;
335
    return null;
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/UmlTransitionStandaloneSetupGenerated.java (-1 lines)
Lines 39-44 Link Here
39
39
40
40
41
41
42
43
	}
42
	}
44
}
43
}
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/services/UmlTransitionGrammarAccess.java (-2 / +2 lines)
Lines 500-507 Link Here
500
	} 
500
	} 
501
501
502
	//terminal STRING:
502
	//terminal STRING:
503
	//	"\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" | "n" |
503
	//	"\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" |
504
	//	"f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
504
	//	"n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
505
	public TerminalRule getSTRINGRule() {
505
	public TerminalRule getSTRINGRule() {
506
		return gaTerminals.getSTRINGRule();
506
		return gaTerminals.getSTRINGRule();
507
	} 
507
	} 
(-)src/org/eclipse/papyrus/transition/editor/xtext/GenerateUmlTransition.mwe2 (-2 / +1 lines)
Lines 88-95 Link Here
88
			fragment = labeling.LabelProviderFragment {}
88
			fragment = labeling.LabelProviderFragment {}
89
89
90
			// outline API 
90
			// outline API 
91
			fragment = outline.TransformerFragment {}
91
			fragment = outline.OutlineTreeProviderFragment {}
92
			fragment = outline.OutlineNodeAdapterFactoryFragment {}
93
			fragment = outline.QuickOutlineFragment {}
92
			fragment = outline.QuickOutlineFragment {}
94
93
95
			// quickfix API 
94
			// quickfix API 
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/validation/AbstractUmlPropertyJavaValidator.java (-1 / +1 lines)
Lines 10-16 Link Here
10
@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class})
10
@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class})
11
public class AbstractUmlPropertyJavaValidator extends AbstractDeclarativeValidator {
11
public class AbstractUmlPropertyJavaValidator extends AbstractDeclarativeValidator {
12
12
13
@Override
13
	@Override
14
	protected List<EPackage> getEPackages() {
14
	protected List<EPackage> getEPackages() {
15
	    List<EPackage> result = new ArrayList<EPackage>();
15
	    List<EPackage> result = new ArrayList<EPackage>();
16
	    result.add(org.eclipse.papyrus.property.editor.xtext.umlProperty.UmlPropertyPackage.eINSTANCE);
16
	    result.add(org.eclipse.papyrus.property.editor.xtext.umlProperty.UmlPropertyPackage.eINSTANCE);
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.xmi (+2 lines)
Lines 307-312 Link Here
307
                <elements xsi:type="xtext:Keyword" value="n"/>
307
                <elements xsi:type="xtext:Keyword" value="n"/>
308
                <elements xsi:type="xtext:Keyword" value="f"/>
308
                <elements xsi:type="xtext:Keyword" value="f"/>
309
                <elements xsi:type="xtext:Keyword" value="r"/>
309
                <elements xsi:type="xtext:Keyword" value="r"/>
310
                <elements xsi:type="xtext:Keyword" value="u"/>
310
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
311
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
311
                <elements xsi:type="xtext:Keyword" value="'"/>
312
                <elements xsi:type="xtext:Keyword" value="'"/>
312
                <elements xsi:type="xtext:Keyword" value="\"/>
313
                <elements xsi:type="xtext:Keyword" value="\"/>
Lines 332-337 Link Here
332
                <elements xsi:type="xtext:Keyword" value="n"/>
333
                <elements xsi:type="xtext:Keyword" value="n"/>
333
                <elements xsi:type="xtext:Keyword" value="f"/>
334
                <elements xsi:type="xtext:Keyword" value="f"/>
334
                <elements xsi:type="xtext:Keyword" value="r"/>
335
                <elements xsi:type="xtext:Keyword" value="r"/>
336
                <elements xsi:type="xtext:Keyword" value="u"/>
335
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
337
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
336
                <elements xsi:type="xtext:Keyword" value="'"/>
338
                <elements xsi:type="xtext:Keyword" value="'"/>
337
                <elements xsi:type="xtext:Keyword" value="\"/>
339
                <elements xsi:type="xtext:Keyword" value="\"/>
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/UmlPropertyStandaloneSetupGenerated.java (-1 lines)
Lines 39-44 Link Here
39
39
40
40
41
41
42
43
	}
42
	}
44
}
43
}
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/services/UmlPropertyGrammarAccess.java (-2 / +2 lines)
Lines 651-658 Link Here
651
	} 
651
	} 
652
652
653
	//terminal STRING:
653
	//terminal STRING:
654
	//	"\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" | "n" |
654
	//	"\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" |
655
	//	"f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
655
	//	"n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
656
	public TerminalRule getSTRINGRule() {
656
	public TerminalRule getSTRINGRule() {
657
		return gaTerminals.getSTRINGRule();
657
		return gaTerminals.getSTRINGRule();
658
	} 
658
	} 
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/AbstractUmlPropertyRuntimeModule.java (-3 / +8 lines)
Lines 45-51 Link Here
45
	}
45
	}
46
46
47
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
47
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
48
	public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrParser> bindIAntlrParser() {
48
	public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
49
		return org.eclipse.papyrus.property.editor.xtext.parser.antlr.UmlPropertyParser.class;
49
		return org.eclipse.papyrus.property.editor.xtext.parser.antlr.UmlPropertyParser.class;
50
	}
50
	}
51
51
Lines 91-97 Link Here
91
91
92
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
92
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
93
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
93
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
94
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named("org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegate")).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
94
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
95
	}
95
	}
96
96
97
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
97
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
Lines 99-104 Link Here
99
		return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
99
		return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
100
	}
100
	}
101
101
102
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
103
	public void configureIgnoreCaseLinking(com.google.inject.Binder binder) {
104
		binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false);
105
	}
106
102
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
107
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
103
	public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
108
	public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
104
		return org.eclipse.xtext.naming.SimpleNameProvider.class;
109
		return org.eclipse.xtext.naming.SimpleNameProvider.class;
Lines 126-132 Link Here
126
131
127
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
132
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
128
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
133
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
129
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
134
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
130
	}
135
	}
131
136
132
}
137
}
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore (-16 / +18 lines)
Lines 4-19 Link Here
4
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="umlProperty"
4
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="umlProperty"
5
    nsURI="http://www.eclipse.org/papyrus/property/editor/xtext/UmlProperty" nsPrefix="umlProperty">
5
    nsURI="http://www.eclipse.org/papyrus/property/editor/xtext/UmlProperty" nsPrefix="umlProperty">
6
  <eClassifiers xsi:type="ecore:EClass" name="PropertyRule">
6
  <eClassifiers xsi:type="ecore:EClass" name="PropertyRule">
7
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="visibility" eType="#//VisibilityKind"/>
7
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="visibility" eType="ecore:EEnum platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//VisibilityKind"/>
8
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="isDerived" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
8
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="isDerived" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
9
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
9
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
10
    <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//TypeRule"
10
    <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//TypeRule"
11
        containment="true"/>
11
        containment="true"/>
12
    <eStructuralFeatures xsi:type="ecore:EReference" name="multiplicity" eType="#//MultiplicityRule"
12
    <eStructuralFeatures xsi:type="ecore:EReference" name="multiplicity" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//MultiplicityRule"
13
        containment="true"/>
13
        containment="true"/>
14
    <eStructuralFeatures xsi:type="ecore:EReference" name="modifiers" eType="#//ModifiersRule"
14
    <eStructuralFeatures xsi:type="ecore:EReference" name="modifiers" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//ModifiersRule"
15
        containment="true"/>
15
        containment="true"/>
16
    <eStructuralFeatures xsi:type="ecore:EReference" name="default" eType="#//DefaultValueRule"
16
    <eStructuralFeatures xsi:type="ecore:EReference" name="default" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//DefaultValueRule"
17
        containment="true"/>
17
        containment="true"/>
18
  </eClassifiers>
18
  </eClassifiers>
19
  <eClassifiers xsi:type="ecore:EEnum" name="VisibilityKind">
19
  <eClassifiers xsi:type="ecore:EEnum" name="VisibilityKind">
Lines 23-53 Link Here
23
    <eLiterals name="package" value="3" literal="~"/>
23
    <eLiterals name="package" value="3" literal="~"/>
24
  </eClassifiers>
24
  </eClassifiers>
25
  <eClassifiers xsi:type="ecore:EClass" name="TypeRule">
25
  <eClassifiers xsi:type="ecore:EClass" name="TypeRule">
26
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="#//QualifiedName"
26
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//QualifiedName"
27
        containment="true"/>
27
        containment="true"/>
28
    <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="ecore:EClass ../../../../../../../model/UML.ecore#//Classifier"/>
28
    <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.property.editor.xtext/model/UML.ecore#//Classifier"/>
29
  </eClassifiers>
29
  </eClassifiers>
30
  <eClassifiers xsi:type="ecore:EClass" name="QualifiedName">
30
  <eClassifiers xsi:type="ecore:EClass" name="QualifiedName">
31
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="ecore:EClass ../../../../../../../model/UML.ecore#//Namespace"/>
31
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.property.editor.xtext/model/UML.ecore#//Namespace"/>
32
    <eStructuralFeatures xsi:type="ecore:EReference" name="remaining" eType="#//QualifiedName"
32
    <eStructuralFeatures xsi:type="ecore:EReference" name="remaining" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//QualifiedName"
33
        containment="true"/>
33
        containment="true"/>
34
  </eClassifiers>
34
  </eClassifiers>
35
  <eClassifiers xsi:type="ecore:EClass" name="MultiplicityRule">
35
  <eClassifiers xsi:type="ecore:EClass" name="MultiplicityRule">
36
    <eStructuralFeatures xsi:type="ecore:EReference" name="bounds" upperBound="-1"
36
    <eStructuralFeatures xsi:type="ecore:EReference" name="bounds" upperBound="-1"
37
        eType="#//BoundSpecification" containment="true"/>
37
        eType="ecore:EClass platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//BoundSpecification"
38
        containment="true"/>
38
  </eClassifiers>
39
  </eClassifiers>
39
  <eClassifiers xsi:type="ecore:EClass" name="BoundSpecification">
40
  <eClassifiers xsi:type="ecore:EClass" name="BoundSpecification">
40
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
41
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
41
  </eClassifiers>
42
  </eClassifiers>
42
  <eClassifiers xsi:type="ecore:EClass" name="ModifiersRule">
43
  <eClassifiers xsi:type="ecore:EClass" name="ModifiersRule">
43
    <eStructuralFeatures xsi:type="ecore:EReference" name="values" upperBound="-1"
44
    <eStructuralFeatures xsi:type="ecore:EReference" name="values" upperBound="-1"
44
        eType="#//ModifierSpecification" containment="true"/>
45
        eType="ecore:EClass platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//ModifierSpecification"
46
        containment="true"/>
45
  </eClassifiers>
47
  </eClassifiers>
46
  <eClassifiers xsi:type="ecore:EClass" name="ModifierSpecification">
48
  <eClassifiers xsi:type="ecore:EClass" name="ModifierSpecification">
47
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="#//ModifierKind"/>
49
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EEnum platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//ModifierKind"/>
48
    <eStructuralFeatures xsi:type="ecore:EReference" name="redefines" eType="#//RedefinesRule"
50
    <eStructuralFeatures xsi:type="ecore:EReference" name="redefines" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//RedefinesRule"
49
        containment="true"/>
51
        containment="true"/>
50
    <eStructuralFeatures xsi:type="ecore:EReference" name="subsets" eType="#//SubsetsRule"
52
    <eStructuralFeatures xsi:type="ecore:EReference" name="subsets" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//SubsetsRule"
51
        containment="true"/>
53
        containment="true"/>
52
  </eClassifiers>
54
  </eClassifiers>
53
  <eClassifiers xsi:type="ecore:EEnum" name="ModifierKind">
55
  <eClassifiers xsi:type="ecore:EEnum" name="ModifierKind">
Lines 57-66 Link Here
57
    <eLiterals name="unique" value="3" literal="unique"/>
59
    <eLiterals name="unique" value="3" literal="unique"/>
58
  </eClassifiers>
60
  </eClassifiers>
59
  <eClassifiers xsi:type="ecore:EClass" name="RedefinesRule">
61
  <eClassifiers xsi:type="ecore:EClass" name="RedefinesRule">
60
    <eStructuralFeatures xsi:type="ecore:EReference" name="property" eType="ecore:EClass ../../../../../../../model/UML.ecore#//Property"/>
62
    <eStructuralFeatures xsi:type="ecore:EReference" name="property" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.property.editor.xtext/model/UML.ecore#//Property"/>
61
  </eClassifiers>
63
  </eClassifiers>
62
  <eClassifiers xsi:type="ecore:EClass" name="SubsetsRule">
64
  <eClassifiers xsi:type="ecore:EClass" name="SubsetsRule">
63
    <eStructuralFeatures xsi:type="ecore:EReference" name="property" eType="ecore:EClass ../../../../../../../model/UML.ecore#//Property"/>
65
    <eStructuralFeatures xsi:type="ecore:EReference" name="property" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.property.editor.xtext/model/UML.ecore#//Property"/>
64
  </eClassifiers>
66
  </eClassifiers>
65
  <eClassifiers xsi:type="ecore:EClass" name="DefaultValueRule">
67
  <eClassifiers xsi:type="ecore:EClass" name="DefaultValueRule">
66
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="default" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
68
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="default" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.genmodel (-42 / +42 lines)
Lines 6-65 Link Here
6
    modelPluginID="org.eclipse.papyrus.property.editor.xtext" forceOverwrite="true"
6
    modelPluginID="org.eclipse.papyrus.property.editor.xtext" forceOverwrite="true"
7
    modelName="UmlProperty" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
7
    modelName="UmlProperty" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.property.editor.xtext.edit"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.property.editor.xtext.edit"
9
    editorPluginID="org.eclipse.papyrus.property.editor.xtext.editor" usedGenPackages="../../../../../../../model/UML.genmodel#//uml">
9
    editorPluginID="org.eclipse.papyrus.property.editor.xtext.editor" usedGenPackages="platform:/resource/org.eclipse.papyrus.property.editor.xtext/model/UML.genmodel#//uml">
10
  <genPackages prefix="UmlProperty" basePackage="org.eclipse.papyrus.property.editor.xtext"
10
  <genPackages prefix="UmlProperty" basePackage="org.eclipse.papyrus.property.editor.xtext"
11
      resource="XML" disposableProviderFactory="true" ecorePackage="UmlProperty.ecore#/">
11
      resource="XML" disposableProviderFactory="true" ecorePackage="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#/">
12
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="UmlProperty.ecore#//VisibilityKind">
12
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//VisibilityKind">
13
      <genEnumLiterals ecoreEnumLiteral="UmlProperty.ecore#//VisibilityKind/public"/>
13
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//VisibilityKind/public"/>
14
      <genEnumLiterals ecoreEnumLiteral="UmlProperty.ecore#//VisibilityKind/private"/>
14
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//VisibilityKind/private"/>
15
      <genEnumLiterals ecoreEnumLiteral="UmlProperty.ecore#//VisibilityKind/protected"/>
15
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//VisibilityKind/protected"/>
16
      <genEnumLiterals ecoreEnumLiteral="UmlProperty.ecore#//VisibilityKind/package"/>
16
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//VisibilityKind/package"/>
17
    </genEnums>
17
    </genEnums>
18
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="UmlProperty.ecore#//ModifierKind">
18
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//ModifierKind">
19
      <genEnumLiterals ecoreEnumLiteral="UmlProperty.ecore#//ModifierKind/readOnly"/>
19
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//ModifierKind/readOnly"/>
20
      <genEnumLiterals ecoreEnumLiteral="UmlProperty.ecore#//ModifierKind/union"/>
20
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//ModifierKind/union"/>
21
      <genEnumLiterals ecoreEnumLiteral="UmlProperty.ecore#//ModifierKind/ordered"/>
21
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//ModifierKind/ordered"/>
22
      <genEnumLiterals ecoreEnumLiteral="UmlProperty.ecore#//ModifierKind/unique"/>
22
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//ModifierKind/unique"/>
23
    </genEnums>
23
    </genEnums>
24
    <genClasses ecoreClass="UmlProperty.ecore#//PropertyRule">
24
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//PropertyRule">
25
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlProperty.ecore#//PropertyRule/visibility"/>
25
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//PropertyRule/visibility"/>
26
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlProperty.ecore#//PropertyRule/isDerived"/>
26
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//PropertyRule/isDerived"/>
27
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlProperty.ecore#//PropertyRule/name"/>
27
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//PropertyRule/name"/>
28
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlProperty.ecore#//PropertyRule/type"/>
28
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//PropertyRule/type"/>
29
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlProperty.ecore#//PropertyRule/multiplicity"/>
29
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//PropertyRule/multiplicity"/>
30
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlProperty.ecore#//PropertyRule/modifiers"/>
30
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//PropertyRule/modifiers"/>
31
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlProperty.ecore#//PropertyRule/default"/>
31
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//PropertyRule/default"/>
32
    </genClasses>
32
    </genClasses>
33
    <genClasses ecoreClass="UmlProperty.ecore#//TypeRule">
33
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//TypeRule">
34
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlProperty.ecore#//TypeRule/path"/>
34
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//TypeRule/path"/>
35
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UmlProperty.ecore#//TypeRule/type"/>
35
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//TypeRule/type"/>
36
    </genClasses>
36
    </genClasses>
37
    <genClasses ecoreClass="UmlProperty.ecore#//QualifiedName">
37
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//QualifiedName">
38
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UmlProperty.ecore#//QualifiedName/path"/>
38
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//QualifiedName/path"/>
39
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlProperty.ecore#//QualifiedName/remaining"/>
39
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//QualifiedName/remaining"/>
40
    </genClasses>
40
    </genClasses>
41
    <genClasses ecoreClass="UmlProperty.ecore#//MultiplicityRule">
41
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//MultiplicityRule">
42
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlProperty.ecore#//MultiplicityRule/bounds"/>
42
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//MultiplicityRule/bounds"/>
43
    </genClasses>
43
    </genClasses>
44
    <genClasses ecoreClass="UmlProperty.ecore#//BoundSpecification">
44
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//BoundSpecification">
45
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlProperty.ecore#//BoundSpecification/value"/>
45
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//BoundSpecification/value"/>
46
    </genClasses>
46
    </genClasses>
47
    <genClasses ecoreClass="UmlProperty.ecore#//ModifiersRule">
47
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//ModifiersRule">
48
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlProperty.ecore#//ModifiersRule/values"/>
48
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//ModifiersRule/values"/>
49
    </genClasses>
49
    </genClasses>
50
    <genClasses ecoreClass="UmlProperty.ecore#//ModifierSpecification">
50
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//ModifierSpecification">
51
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlProperty.ecore#//ModifierSpecification/value"/>
51
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//ModifierSpecification/value"/>
52
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlProperty.ecore#//ModifierSpecification/redefines"/>
52
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//ModifierSpecification/redefines"/>
53
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlProperty.ecore#//ModifierSpecification/subsets"/>
53
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//ModifierSpecification/subsets"/>
54
    </genClasses>
54
    </genClasses>
55
    <genClasses ecoreClass="UmlProperty.ecore#//RedefinesRule">
55
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//RedefinesRule">
56
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UmlProperty.ecore#//RedefinesRule/property"/>
56
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//RedefinesRule/property"/>
57
    </genClasses>
57
    </genClasses>
58
    <genClasses ecoreClass="UmlProperty.ecore#//SubsetsRule">
58
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//SubsetsRule">
59
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UmlProperty.ecore#//SubsetsRule/property"/>
59
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//SubsetsRule/property"/>
60
    </genClasses>
60
    </genClasses>
61
    <genClasses ecoreClass="UmlProperty.ecore#//DefaultValueRule">
61
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//DefaultValueRule">
62
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlProperty.ecore#//DefaultValueRule/default"/>
62
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/UmlProperty.ecore#//DefaultValueRule/default"/>
63
    </genClasses>
63
    </genClasses>
64
  </genPackages>
64
  </genPackages>
65
</genmodel:GenModel>
65
</genmodel:GenModel>
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/umlProperty/util/UmlPropertySwitch.java (-31 / +12 lines)
Lines 6-15 Link Here
6
 */
6
 */
7
package org.eclipse.papyrus.property.editor.xtext.umlProperty.util;
7
package org.eclipse.papyrus.property.editor.xtext.umlProperty.util;
8
8
9
import java.util.List;
10
11
import org.eclipse.emf.ecore.EClass;
12
import org.eclipse.emf.ecore.EObject;
9
import org.eclipse.emf.ecore.EObject;
10
import org.eclipse.emf.ecore.EPackage;
11
12
import org.eclipse.emf.ecore.util.Switch;
13
13
14
import org.eclipse.papyrus.property.editor.xtext.umlProperty.*;
14
import org.eclipse.papyrus.property.editor.xtext.umlProperty.*;
15
15
Lines 26-32 Link Here
26
 * @see org.eclipse.papyrus.property.editor.xtext.umlProperty.UmlPropertyPackage
26
 * @see org.eclipse.papyrus.property.editor.xtext.umlProperty.UmlPropertyPackage
27
 * @generated
27
 * @generated
28
 */
28
 */
29
public class UmlPropertySwitch<T>
29
public class UmlPropertySwitch<T> extends Switch<T>
30
{
30
{
31
  /**
31
  /**
32
   * The cached model package
32
   * The cached model package
Lines 51-88 Link Here
51
  }
51
  }
52
52
53
  /**
53
  /**
54
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
54
   * Checks whether this is a switch for the given package.
55
   * <!-- begin-user-doc -->
56
   * <!-- end-user-doc -->
57
   * @return the first non-null result returned by a <code>caseXXX</code> call.
58
   * @generated
59
   */
60
  public T doSwitch(EObject theEObject)
61
  {
62
    return doSwitch(theEObject.eClass(), theEObject);
63
  }
64
65
  /**
66
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
67
   * <!-- begin-user-doc -->
55
   * <!-- begin-user-doc -->
68
   * <!-- end-user-doc -->
56
   * <!-- end-user-doc -->
69
   * @return the first non-null result returned by a <code>caseXXX</code> call.
57
   * @parameter ePackage the package in question.
58
   * @return whether this is a switch for the given package.
70
   * @generated
59
   * @generated
71
   */
60
   */
72
  protected T doSwitch(EClass theEClass, EObject theEObject)
61
  @Override
62
  protected boolean isSwitchFor(EPackage ePackage)
73
  {
63
  {
74
    if (theEClass.eContainer() == modelPackage)
64
    return ePackage == modelPackage;
75
    {
76
      return doSwitch(theEClass.getClassifierID(), theEObject);
77
    }
78
    else
79
    {
80
      List<EClass> eSuperTypes = theEClass.getESuperTypes();
81
      return
82
        eSuperTypes.isEmpty() ?
83
          defaultCase(theEObject) :
84
          doSwitch(eSuperTypes.get(0), theEObject);
85
    }
86
  }
65
  }
87
66
88
  /**
67
  /**
Lines 92-97 Link Here
92
   * @return the first non-null result returned by a <code>caseXXX</code> call.
71
   * @return the first non-null result returned by a <code>caseXXX</code> call.
93
   * @generated
72
   * @generated
94
   */
73
   */
74
  @Override
95
  protected T doSwitch(int classifierID, EObject theEObject)
75
  protected T doSwitch(int classifierID, EObject theEObject)
96
  {
76
  {
97
    switch (classifierID)
77
    switch (classifierID)
Lines 341-346 Link Here
341
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
321
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
342
   * @generated
322
   * @generated
343
   */
323
   */
324
  @Override
344
  public T defaultCase(EObject object)
325
  public T defaultCase(EObject object)
345
  {
326
  {
346
    return null;
327
    return null;
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g (-371 / +225 lines)
Lines 19-29 Link Here
19
@parser::header {
19
@parser::header {
20
package org.eclipse.papyrus.property.editor.xtext.parser.antlr.internal; 
20
package org.eclipse.papyrus.property.editor.xtext.parser.antlr.internal; 
21
21
22
import java.io.InputStream;
23
import org.eclipse.xtext.*;
22
import org.eclipse.xtext.*;
24
import org.eclipse.xtext.parser.*;
23
import org.eclipse.xtext.parser.*;
25
import org.eclipse.xtext.parser.impl.*;
24
import org.eclipse.xtext.parser.impl.*;
26
import org.eclipse.xtext.parsetree.*;
27
import org.eclipse.emf.ecore.util.EcoreUtil;
25
import org.eclipse.emf.ecore.util.EcoreUtil;
28
import org.eclipse.emf.ecore.EObject;
26
import org.eclipse.emf.ecore.EObject;
29
import org.eclipse.emf.common.util.Enumerator;
27
import org.eclipse.emf.common.util.Enumerator;
Lines 31-37 Link Here
31
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
29
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
32
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
30
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
33
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
31
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
34
import org.eclipse.xtext.conversion.ValueConverterException;
35
import org.eclipse.papyrus.property.editor.xtext.services.UmlPropertyGrammarAccess;
32
import org.eclipse.papyrus.property.editor.xtext.services.UmlPropertyGrammarAccess;
36
33
37
}
34
}
Lines 40-56 Link Here
40
37
41
 	private UmlPropertyGrammarAccess grammarAccess;
38
 	private UmlPropertyGrammarAccess grammarAccess;
42
 	
39
 	
43
    public InternalUmlPropertyParser(TokenStream input, IAstFactory factory, UmlPropertyGrammarAccess grammarAccess) {
40
    public InternalUmlPropertyParser(TokenStream input, UmlPropertyGrammarAccess grammarAccess) {
44
        this(input);
41
        this(input);
45
        this.factory = factory;
46
        registerRules(grammarAccess.getGrammar());
47
        this.grammarAccess = grammarAccess;
42
        this.grammarAccess = grammarAccess;
48
    }
43
        registerRules(grammarAccess.getGrammar());
49
    
50
    @Override
51
    protected InputStream getTokenFile() {
52
    	ClassLoader classLoader = getClass().getClassLoader();
53
    	return classLoader.getResourceAsStream("org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.tokens");
54
    }
44
    }
55
    
45
    
56
    @Override
46
    @Override
Lines 77-83 Link Here
77
// Entry rule entryRulePropertyRule
67
// Entry rule entryRulePropertyRule
78
entryRulePropertyRule returns [EObject current=null] 
68
entryRulePropertyRule returns [EObject current=null] 
79
	:
69
	:
80
	{ currentNode = createCompositeNode(grammarAccess.getPropertyRuleRule(), currentNode); }
70
	{ newCompositeNode(grammarAccess.getPropertyRuleRule()); }
81
	 iv_rulePropertyRule=rulePropertyRule 
71
	 iv_rulePropertyRule=rulePropertyRule 
82
	 { $current=$iv_rulePropertyRule.current; } 
72
	 { $current=$iv_rulePropertyRule.current; } 
83
	 EOF 
73
	 EOF 
Lines 85-116 Link Here
85
75
86
// Rule PropertyRule
76
// Rule PropertyRule
87
rulePropertyRule returns [EObject current=null] 
77
rulePropertyRule returns [EObject current=null] 
88
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
78
    @init { enterRule(); 
89
    }
79
    }
90
    @after { resetLookahead(); 
80
    @after { leaveRule(); }:
91
    	lastConsumedNode = currentNode;
92
    }:
93
((
81
((
94
(
82
(
95
		{ 
83
		{ 
96
	        currentNode=createCompositeNode(grammarAccess.getPropertyRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0(), currentNode); 
84
	        newCompositeNode(grammarAccess.getPropertyRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); 
97
	    }
85
	    }
98
		lv_visibility_0_0=ruleVisibilityKind		{
86
		lv_visibility_0_0=ruleVisibilityKind		{
99
	        if ($current==null) {
87
	        if ($current==null) {
100
	            $current = factory.create(grammarAccess.getPropertyRuleRule().getType().getClassifier());
88
	            $current = createModelElementForParent(grammarAccess.getPropertyRuleRule());
101
	            associateNodeWithAstElement(currentNode.getParent(), $current);
102
	        }
103
	        try {
104
	       		set(
105
	       			$current, 
106
	       			"visibility",
107
	        		lv_visibility_0_0, 
108
	        		"VisibilityKind", 
109
	        		currentNode);
110
	        } catch (ValueConverterException vce) {
111
				handleValueConverterException(vce);
112
	        }
89
	        }
113
	        currentNode = currentNode.getParent();
90
       		set(
91
       			$current, 
92
       			"visibility",
93
        		lv_visibility_0_0, 
94
        		"VisibilityKind");
95
	        afterParserOrEnumRuleCall();
114
	    }
96
	    }
115
97
116
)
98
)
Lines 118-137 Link Here
118
(
100
(
119
		lv_isDerived_1_0=	'/' 
101
		lv_isDerived_1_0=	'/' 
120
    {
102
    {
121
        createLeafNode(grammarAccess.getPropertyRuleAccess().getIsDerivedSolidusKeyword_1_0(), "isDerived"); 
103
        newLeafNode(lv_isDerived_1_0, grammarAccess.getPropertyRuleAccess().getIsDerivedSolidusKeyword_1_0());
122
    }
104
    }
123
 
105
 
124
	    {
106
	    {
125
	        if ($current==null) {
107
	        if ($current==null) {
126
	            $current = factory.create(grammarAccess.getPropertyRuleRule().getType().getClassifier());
108
	            $current = createModelElement(grammarAccess.getPropertyRuleRule());
127
	            associateNodeWithAstElement(currentNode, $current);
128
	        }
129
	        
130
	        try {
131
	       		set($current, "isDerived", lv_isDerived_1_0, "/", lastConsumedNode);
132
	        } catch (ValueConverterException vce) {
133
				handleValueConverterException(vce);
134
	        }
109
	        }
110
       		setWithLastConsumed($current, "isDerived", lv_isDerived_1_0, "/");
135
	    }
111
	    }
136
112
137
)
113
)
Lines 139-266 Link Here
139
(
115
(
140
		lv_name_2_0=RULE_ID
116
		lv_name_2_0=RULE_ID
141
		{
117
		{
142
			createLeafNode(grammarAccess.getPropertyRuleAccess().getNameIDTerminalRuleCall_2_0(), "name"); 
118
			newLeafNode(lv_name_2_0, grammarAccess.getPropertyRuleAccess().getNameIDTerminalRuleCall_2_0()); 
143
		}
119
		}
144
		{
120
		{
145
	        if ($current==null) {
121
	        if ($current==null) {
146
	            $current = factory.create(grammarAccess.getPropertyRuleRule().getType().getClassifier());
122
	            $current = createModelElement(grammarAccess.getPropertyRuleRule());
147
	            associateNodeWithAstElement(currentNode, $current);
148
	        }
123
	        }
149
	        try {
124
       		setWithLastConsumed(
150
	       		set(
125
       			$current, 
151
	       			$current, 
126
       			"name",
152
	       			"name",
127
        		lv_name_2_0, 
153
	        		lv_name_2_0, 
128
        		"ID");
154
	        		"ID", 
155
	        		lastConsumedNode);
156
	        } catch (ValueConverterException vce) {
157
				handleValueConverterException(vce);
158
	        }
159
	    }
129
	    }
160
130
161
)
131
)
162
)	':' 
132
)	otherlv_3=':' 
163
    {
133
    {
164
        createLeafNode(grammarAccess.getPropertyRuleAccess().getColonKeyword_3(), null); 
134
    	newLeafNode(otherlv_3, grammarAccess.getPropertyRuleAccess().getColonKeyword_3());
165
    }
135
    }
166
((
136
((
167
(
137
(
168
		{ 
138
		{ 
169
	        currentNode=createCompositeNode(grammarAccess.getPropertyRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0(), currentNode); 
139
	        newCompositeNode(grammarAccess.getPropertyRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0()); 
170
	    }
140
	    }
171
		lv_type_4_0=ruleTypeRule		{
141
		lv_type_4_0=ruleTypeRule		{
172
	        if ($current==null) {
142
	        if ($current==null) {
173
	            $current = factory.create(grammarAccess.getPropertyRuleRule().getType().getClassifier());
143
	            $current = createModelElementForParent(grammarAccess.getPropertyRuleRule());
174
	            associateNodeWithAstElement(currentNode.getParent(), $current);
175
	        }
176
	        try {
177
	       		set(
178
	       			$current, 
179
	       			"type",
180
	        		lv_type_4_0, 
181
	        		"TypeRule", 
182
	        		currentNode);
183
	        } catch (ValueConverterException vce) {
184
				handleValueConverterException(vce);
185
	        }
144
	        }
186
	        currentNode = currentNode.getParent();
145
       		set(
146
       			$current, 
147
       			"type",
148
        		lv_type_4_0, 
149
        		"TypeRule");
150
	        afterParserOrEnumRuleCall();
187
	    }
151
	    }
188
152
189
)
153
)
190
)
154
)
191
    |	'<Undefined>' 
155
    |	otherlv_5='<Undefined>' 
192
    {
156
    {
193
        createLeafNode(grammarAccess.getPropertyRuleAccess().getUndefinedKeyword_4_1(), null); 
157
    	newLeafNode(otherlv_5, grammarAccess.getPropertyRuleAccess().getUndefinedKeyword_4_1());
194
    }
158
    }
195
)(
159
)(
196
(
160
(
197
		{ 
161
		{ 
198
	        currentNode=createCompositeNode(grammarAccess.getPropertyRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0(), currentNode); 
162
	        newCompositeNode(grammarAccess.getPropertyRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0()); 
199
	    }
163
	    }
200
		lv_multiplicity_6_0=ruleMultiplicityRule		{
164
		lv_multiplicity_6_0=ruleMultiplicityRule		{
201
	        if ($current==null) {
165
	        if ($current==null) {
202
	            $current = factory.create(grammarAccess.getPropertyRuleRule().getType().getClassifier());
166
	            $current = createModelElementForParent(grammarAccess.getPropertyRuleRule());
203
	            associateNodeWithAstElement(currentNode.getParent(), $current);
204
	        }
205
	        try {
206
	       		set(
207
	       			$current, 
208
	       			"multiplicity",
209
	        		lv_multiplicity_6_0, 
210
	        		"MultiplicityRule", 
211
	        		currentNode);
212
	        } catch (ValueConverterException vce) {
213
				handleValueConverterException(vce);
214
	        }
167
	        }
215
	        currentNode = currentNode.getParent();
168
       		set(
169
       			$current, 
170
       			"multiplicity",
171
        		lv_multiplicity_6_0, 
172
        		"MultiplicityRule");
173
	        afterParserOrEnumRuleCall();
216
	    }
174
	    }
217
175
218
)
176
)
219
)?(
177
)?(
220
(
178
(
221
		{ 
179
		{ 
222
	        currentNode=createCompositeNode(grammarAccess.getPropertyRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0(), currentNode); 
180
	        newCompositeNode(grammarAccess.getPropertyRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0()); 
223
	    }
181
	    }
224
		lv_modifiers_7_0=ruleModifiersRule		{
182
		lv_modifiers_7_0=ruleModifiersRule		{
225
	        if ($current==null) {
183
	        if ($current==null) {
226
	            $current = factory.create(grammarAccess.getPropertyRuleRule().getType().getClassifier());
184
	            $current = createModelElementForParent(grammarAccess.getPropertyRuleRule());
227
	            associateNodeWithAstElement(currentNode.getParent(), $current);
228
	        }
185
	        }
229
	        try {
186
       		set(
230
	       		set(
187
       			$current, 
231
	       			$current, 
188
       			"modifiers",
232
	       			"modifiers",
189
        		lv_modifiers_7_0, 
233
	        		lv_modifiers_7_0, 
190
        		"ModifiersRule");
234
	        		"ModifiersRule", 
191
	        afterParserOrEnumRuleCall();
235
	        		currentNode);
236
	        } catch (ValueConverterException vce) {
237
				handleValueConverterException(vce);
238
	        }
239
	        currentNode = currentNode.getParent();
240
	    }
192
	    }
241
193
242
)
194
)
243
)?(
195
)?(
244
(
196
(
245
		{ 
197
		{ 
246
	        currentNode=createCompositeNode(grammarAccess.getPropertyRuleAccess().getDefaultDefaultValueRuleParserRuleCall_7_0(), currentNode); 
198
	        newCompositeNode(grammarAccess.getPropertyRuleAccess().getDefaultDefaultValueRuleParserRuleCall_7_0()); 
247
	    }
199
	    }
248
		lv_default_8_0=ruleDefaultValueRule		{
200
		lv_default_8_0=ruleDefaultValueRule		{
249
	        if ($current==null) {
201
	        if ($current==null) {
250
	            $current = factory.create(grammarAccess.getPropertyRuleRule().getType().getClassifier());
202
	            $current = createModelElementForParent(grammarAccess.getPropertyRuleRule());
251
	            associateNodeWithAstElement(currentNode.getParent(), $current);
252
	        }
203
	        }
253
	        try {
204
       		set(
254
	       		set(
205
       			$current, 
255
	       			$current, 
206
       			"default",
256
	       			"default",
207
        		lv_default_8_0, 
257
	        		lv_default_8_0, 
208
        		"DefaultValueRule");
258
	        		"DefaultValueRule", 
209
	        afterParserOrEnumRuleCall();
259
	        		currentNode);
260
	        } catch (ValueConverterException vce) {
261
				handleValueConverterException(vce);
262
	        }
263
	        currentNode = currentNode.getParent();
264
	    }
210
	    }
265
211
266
)
212
)
Lines 274-280 Link Here
274
// Entry rule entryRuleTypeRule
220
// Entry rule entryRuleTypeRule
275
entryRuleTypeRule returns [EObject current=null] 
221
entryRuleTypeRule returns [EObject current=null] 
276
	:
222
	:
277
	{ currentNode = createCompositeNode(grammarAccess.getTypeRuleRule(), currentNode); }
223
	{ newCompositeNode(grammarAccess.getTypeRuleRule()); }
278
	 iv_ruleTypeRule=ruleTypeRule 
224
	 iv_ruleTypeRule=ruleTypeRule 
279
	 { $current=$iv_ruleTypeRule.current; } 
225
	 { $current=$iv_ruleTypeRule.current; } 
280
	 EOF 
226
	 EOF 
Lines 282-313 Link Here
282
228
283
// Rule TypeRule
229
// Rule TypeRule
284
ruleTypeRule returns [EObject current=null] 
230
ruleTypeRule returns [EObject current=null] 
285
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
231
    @init { enterRule(); 
286
    }
232
    }
287
    @after { resetLookahead(); 
233
    @after { leaveRule(); }:
288
    	lastConsumedNode = currentNode;
289
    }:
290
((
234
((
291
(
235
(
292
		{ 
236
		{ 
293
	        currentNode=createCompositeNode(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); 
237
	        newCompositeNode(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
294
	    }
238
	    }
295
		lv_path_0_0=ruleQualifiedName		{
239
		lv_path_0_0=ruleQualifiedName		{
296
	        if ($current==null) {
240
	        if ($current==null) {
297
	            $current = factory.create(grammarAccess.getTypeRuleRule().getType().getClassifier());
241
	            $current = createModelElementForParent(grammarAccess.getTypeRuleRule());
298
	            associateNodeWithAstElement(currentNode.getParent(), $current);
299
	        }
242
	        }
300
	        try {
243
       		set(
301
	       		set(
244
       			$current, 
302
	       			$current, 
245
       			"path",
303
	       			"path",
246
        		lv_path_0_0, 
304
	        		lv_path_0_0, 
247
        		"QualifiedName");
305
	        		"QualifiedName", 
248
	        afterParserOrEnumRuleCall();
306
	        		currentNode);
307
	        } catch (ValueConverterException vce) {
308
				handleValueConverterException(vce);
309
	        }
310
	        currentNode = currentNode.getParent();
311
	    }
249
	    }
312
250
313
)
251
)
Lines 315-327 Link Here
315
(
253
(
316
		{
254
		{
317
			if ($current==null) {
255
			if ($current==null) {
318
	            $current = factory.create(grammarAccess.getTypeRuleRule().getType().getClassifier());
256
	            $current = createModelElement(grammarAccess.getTypeRuleRule());
319
	            associateNodeWithAstElement(currentNode, $current);
320
	        }
257
	        }
321
        }
258
        }
322
	RULE_ID
259
	otherlv_1=RULE_ID
323
	{
260
	{
324
		createLeafNode(grammarAccess.getTypeRuleAccess().getTypeClassifierCrossReference_1_0(), "type"); 
261
		newLeafNode(otherlv_1, grammarAccess.getTypeRuleAccess().getTypeClassifierCrossReference_1_0()); 
325
	}
262
	}
326
263
327
)
264
)
Lines 335-341 Link Here
335
// Entry rule entryRuleQualifiedName
272
// Entry rule entryRuleQualifiedName
336
entryRuleQualifiedName returns [EObject current=null] 
273
entryRuleQualifiedName returns [EObject current=null] 
337
	:
274
	:
338
	{ currentNode = createCompositeNode(grammarAccess.getQualifiedNameRule(), currentNode); }
275
	{ newCompositeNode(grammarAccess.getQualifiedNameRule()); }
339
	 iv_ruleQualifiedName=ruleQualifiedName 
276
	 iv_ruleQualifiedName=ruleQualifiedName 
340
	 { $current=$iv_ruleQualifiedName.current; } 
277
	 { $current=$iv_ruleQualifiedName.current; } 
341
	 EOF 
278
	 EOF 
Lines 343-392 Link Here
343
280
344
// Rule QualifiedName
281
// Rule QualifiedName
345
ruleQualifiedName returns [EObject current=null] 
282
ruleQualifiedName returns [EObject current=null] 
346
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
283
    @init { enterRule(); 
347
    }
284
    }
348
    @after { resetLookahead(); 
285
    @after { leaveRule(); }:
349
    	lastConsumedNode = currentNode;
350
    }:
351
((
286
((
352
(
287
(
353
		{
288
		{
354
			if ($current==null) {
289
			if ($current==null) {
355
	            $current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
290
	            $current = createModelElement(grammarAccess.getQualifiedNameRule());
356
	            associateNodeWithAstElement(currentNode, $current);
357
	        }
291
	        }
358
        }
292
        }
359
	RULE_ID
293
	otherlv_0=RULE_ID
360
	{
294
	{
361
		createLeafNode(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(), "path"); 
295
		newLeafNode(otherlv_0, grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); 
362
	}
296
	}
363
297
364
)
298
)
365
)	'::' 
299
)	otherlv_1='::' 
366
    {
300
    {
367
        createLeafNode(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1(), null); 
301
    	newLeafNode(otherlv_1, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
368
    }
302
    }
369
(
303
(
370
(
304
(
371
		{ 
305
		{ 
372
	        currentNode=createCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(), currentNode); 
306
	        newCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
373
	    }
307
	    }
374
		lv_remaining_2_0=ruleQualifiedName		{
308
		lv_remaining_2_0=ruleQualifiedName		{
375
	        if ($current==null) {
309
	        if ($current==null) {
376
	            $current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
310
	            $current = createModelElementForParent(grammarAccess.getQualifiedNameRule());
377
	            associateNodeWithAstElement(currentNode.getParent(), $current);
378
	        }
311
	        }
379
	        try {
312
       		set(
380
	       		set(
313
       			$current, 
381
	       			$current, 
314
       			"remaining",
382
	       			"remaining",
315
        		lv_remaining_2_0, 
383
	        		lv_remaining_2_0, 
316
        		"QualifiedName");
384
	        		"QualifiedName", 
317
	        afterParserOrEnumRuleCall();
385
	        		currentNode);
386
	        } catch (ValueConverterException vce) {
387
				handleValueConverterException(vce);
388
	        }
389
	        currentNode = currentNode.getParent();
390
	    }
318
	    }
391
319
392
)
320
)
Lines 400-406 Link Here
400
// Entry rule entryRuleMultiplicityRule
328
// Entry rule entryRuleMultiplicityRule
401
entryRuleMultiplicityRule returns [EObject current=null] 
329
entryRuleMultiplicityRule returns [EObject current=null] 
402
	:
330
	:
403
	{ currentNode = createCompositeNode(grammarAccess.getMultiplicityRuleRule(), currentNode); }
331
	{ newCompositeNode(grammarAccess.getMultiplicityRuleRule()); }
404
	 iv_ruleMultiplicityRule=ruleMultiplicityRule 
332
	 iv_ruleMultiplicityRule=ruleMultiplicityRule 
405
	 { $current=$iv_ruleMultiplicityRule.current; } 
333
	 { $current=$iv_ruleMultiplicityRule.current; } 
406
	 EOF 
334
	 EOF 
Lines 408-477 Link Here
408
336
409
// Rule MultiplicityRule
337
// Rule MultiplicityRule
410
ruleMultiplicityRule returns [EObject current=null] 
338
ruleMultiplicityRule returns [EObject current=null] 
411
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
339
    @init { enterRule(); 
412
    }
340
    }
413
    @after { resetLookahead(); 
341
    @after { leaveRule(); }:
414
    	lastConsumedNode = currentNode;
342
(	otherlv_0='[' 
415
    }:
416
(	'[' 
417
    {
343
    {
418
        createLeafNode(grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0(), null); 
344
    	newLeafNode(otherlv_0, grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0());
419
    }
345
    }
420
(
346
(
421
(
347
(
422
		{ 
348
		{ 
423
	        currentNode=createCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0(), currentNode); 
349
	        newCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0()); 
424
	    }
350
	    }
425
		lv_bounds_1_0=ruleBoundSpecification		{
351
		lv_bounds_1_0=ruleBoundSpecification		{
426
	        if ($current==null) {
352
	        if ($current==null) {
427
	            $current = factory.create(grammarAccess.getMultiplicityRuleRule().getType().getClassifier());
353
	            $current = createModelElementForParent(grammarAccess.getMultiplicityRuleRule());
428
	            associateNodeWithAstElement(currentNode.getParent(), $current);
429
	        }
430
	        try {
431
	       		add(
432
	       			$current, 
433
	       			"bounds",
434
	        		lv_bounds_1_0, 
435
	        		"BoundSpecification", 
436
	        		currentNode);
437
	        } catch (ValueConverterException vce) {
438
				handleValueConverterException(vce);
439
	        }
354
	        }
440
	        currentNode = currentNode.getParent();
355
       		add(
356
       			$current, 
357
       			"bounds",
358
        		lv_bounds_1_0, 
359
        		"BoundSpecification");
360
	        afterParserOrEnumRuleCall();
441
	    }
361
	    }
442
362
443
)
363
)
444
)(	'..' 
364
)(	otherlv_2='..' 
445
    {
365
    {
446
        createLeafNode(grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0(), null); 
366
    	newLeafNode(otherlv_2, grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0());
447
    }
367
    }
448
(
368
(
449
(
369
(
450
		{ 
370
		{ 
451
	        currentNode=createCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0(), currentNode); 
371
	        newCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0()); 
452
	    }
372
	    }
453
		lv_bounds_3_0=ruleBoundSpecification		{
373
		lv_bounds_3_0=ruleBoundSpecification		{
454
	        if ($current==null) {
374
	        if ($current==null) {
455
	            $current = factory.create(grammarAccess.getMultiplicityRuleRule().getType().getClassifier());
375
	            $current = createModelElementForParent(grammarAccess.getMultiplicityRuleRule());
456
	            associateNodeWithAstElement(currentNode.getParent(), $current);
457
	        }
458
	        try {
459
	       		add(
460
	       			$current, 
461
	       			"bounds",
462
	        		lv_bounds_3_0, 
463
	        		"BoundSpecification", 
464
	        		currentNode);
465
	        } catch (ValueConverterException vce) {
466
				handleValueConverterException(vce);
467
	        }
376
	        }
468
	        currentNode = currentNode.getParent();
377
       		add(
378
       			$current, 
379
       			"bounds",
380
        		lv_bounds_3_0, 
381
        		"BoundSpecification");
382
	        afterParserOrEnumRuleCall();
469
	    }
383
	    }
470
384
471
)
385
)
472
))?	']' 
386
))?	otherlv_4=']' 
473
    {
387
    {
474
        createLeafNode(grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3(), null); 
388
    	newLeafNode(otherlv_4, grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3());
475
    }
389
    }
476
)
390
)
477
;
391
;
Lines 483-489 Link Here
483
// Entry rule entryRuleBoundSpecification
397
// Entry rule entryRuleBoundSpecification
484
entryRuleBoundSpecification returns [EObject current=null] 
398
entryRuleBoundSpecification returns [EObject current=null] 
485
	:
399
	:
486
	{ currentNode = createCompositeNode(grammarAccess.getBoundSpecificationRule(), currentNode); }
400
	{ newCompositeNode(grammarAccess.getBoundSpecificationRule()); }
487
	 iv_ruleBoundSpecification=ruleBoundSpecification 
401
	 iv_ruleBoundSpecification=ruleBoundSpecification 
488
	 { $current=$iv_ruleBoundSpecification.current; } 
402
	 { $current=$iv_ruleBoundSpecification.current; } 
489
	 EOF 
403
	 EOF 
Lines 491-522 Link Here
491
405
492
// Rule BoundSpecification
406
// Rule BoundSpecification
493
ruleBoundSpecification returns [EObject current=null] 
407
ruleBoundSpecification returns [EObject current=null] 
494
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
408
    @init { enterRule(); 
495
    }
409
    }
496
    @after { resetLookahead(); 
410
    @after { leaveRule(); }:
497
    	lastConsumedNode = currentNode;
498
    }:
499
(
411
(
500
(
412
(
501
		lv_value_0_0=RULE_UNLIMITEDLITERAL
413
		lv_value_0_0=RULE_UNLIMITEDLITERAL
502
		{
414
		{
503
			createLeafNode(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0(), "value"); 
415
			newLeafNode(lv_value_0_0, grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0()); 
504
		}
416
		}
505
		{
417
		{
506
	        if ($current==null) {
418
	        if ($current==null) {
507
	            $current = factory.create(grammarAccess.getBoundSpecificationRule().getType().getClassifier());
419
	            $current = createModelElement(grammarAccess.getBoundSpecificationRule());
508
	            associateNodeWithAstElement(currentNode, $current);
509
	        }
420
	        }
510
	        try {
421
       		setWithLastConsumed(
511
	       		set(
422
       			$current, 
512
	       			$current, 
423
       			"value",
513
	       			"value",
424
        		lv_value_0_0, 
514
	        		lv_value_0_0, 
425
        		"UnlimitedLiteral");
515
	        		"UnlimitedLiteral", 
516
	        		lastConsumedNode);
517
	        } catch (ValueConverterException vce) {
518
				handleValueConverterException(vce);
519
	        }
520
	    }
426
	    }
521
427
522
)
428
)
Lines 530-536 Link Here
530
// Entry rule entryRuleModifiersRule
436
// Entry rule entryRuleModifiersRule
531
entryRuleModifiersRule returns [EObject current=null] 
437
entryRuleModifiersRule returns [EObject current=null] 
532
	:
438
	:
533
	{ currentNode = createCompositeNode(grammarAccess.getModifiersRuleRule(), currentNode); }
439
	{ newCompositeNode(grammarAccess.getModifiersRuleRule()); }
534
	 iv_ruleModifiersRule=ruleModifiersRule 
440
	 iv_ruleModifiersRule=ruleModifiersRule 
535
	 { $current=$iv_ruleModifiersRule.current; } 
441
	 { $current=$iv_ruleModifiersRule.current; } 
536
	 EOF 
442
	 EOF 
Lines 538-607 Link Here
538
444
539
// Rule ModifiersRule
445
// Rule ModifiersRule
540
ruleModifiersRule returns [EObject current=null] 
446
ruleModifiersRule returns [EObject current=null] 
541
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
447
    @init { enterRule(); 
542
    }
448
    }
543
    @after { resetLookahead(); 
449
    @after { leaveRule(); }:
544
    	lastConsumedNode = currentNode;
450
(	otherlv_0='{' 
545
    }:
546
(	'{' 
547
    {
451
    {
548
        createLeafNode(grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0(), null); 
452
    	newLeafNode(otherlv_0, grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0());
549
    }
453
    }
550
(
454
(
551
(
455
(
552
		{ 
456
		{ 
553
	        currentNode=createCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0(), currentNode); 
457
	        newCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0()); 
554
	    }
458
	    }
555
		lv_values_1_0=ruleModifierSpecification		{
459
		lv_values_1_0=ruleModifierSpecification		{
556
	        if ($current==null) {
460
	        if ($current==null) {
557
	            $current = factory.create(grammarAccess.getModifiersRuleRule().getType().getClassifier());
461
	            $current = createModelElementForParent(grammarAccess.getModifiersRuleRule());
558
	            associateNodeWithAstElement(currentNode.getParent(), $current);
559
	        }
462
	        }
560
	        try {
463
       		add(
561
	       		add(
464
       			$current, 
562
	       			$current, 
465
       			"values",
563
	       			"values",
466
        		lv_values_1_0, 
564
	        		lv_values_1_0, 
467
        		"ModifierSpecification");
565
	        		"ModifierSpecification", 
468
	        afterParserOrEnumRuleCall();
566
	        		currentNode);
567
	        } catch (ValueConverterException vce) {
568
				handleValueConverterException(vce);
569
	        }
570
	        currentNode = currentNode.getParent();
571
	    }
469
	    }
572
470
573
)
471
)
574
)(	',' 
472
)(	otherlv_2=',' 
575
    {
473
    {
576
        createLeafNode(grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0(), null); 
474
    	newLeafNode(otherlv_2, grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0());
577
    }
475
    }
578
(
476
(
579
(
477
(
580
		{ 
478
		{ 
581
	        currentNode=createCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0(), currentNode); 
479
	        newCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0()); 
582
	    }
480
	    }
583
		lv_values_3_0=ruleModifierSpecification		{
481
		lv_values_3_0=ruleModifierSpecification		{
584
	        if ($current==null) {
482
	        if ($current==null) {
585
	            $current = factory.create(grammarAccess.getModifiersRuleRule().getType().getClassifier());
483
	            $current = createModelElementForParent(grammarAccess.getModifiersRuleRule());
586
	            associateNodeWithAstElement(currentNode.getParent(), $current);
587
	        }
484
	        }
588
	        try {
485
       		add(
589
	       		add(
486
       			$current, 
590
	       			$current, 
487
       			"values",
591
	       			"values",
488
        		lv_values_3_0, 
592
	        		lv_values_3_0, 
489
        		"ModifierSpecification");
593
	        		"ModifierSpecification", 
490
	        afterParserOrEnumRuleCall();
594
	        		currentNode);
595
	        } catch (ValueConverterException vce) {
596
				handleValueConverterException(vce);
597
	        }
598
	        currentNode = currentNode.getParent();
599
	    }
491
	    }
600
492
601
)
493
)
602
))*	'}' 
494
))*	otherlv_4='}' 
603
    {
495
    {
604
        createLeafNode(grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3(), null); 
496
    	newLeafNode(otherlv_4, grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3());
605
    }
497
    }
606
)
498
)
607
;
499
;
Lines 613-619 Link Here
613
// Entry rule entryRuleModifierSpecification
505
// Entry rule entryRuleModifierSpecification
614
entryRuleModifierSpecification returns [EObject current=null] 
506
entryRuleModifierSpecification returns [EObject current=null] 
615
	:
507
	:
616
	{ currentNode = createCompositeNode(grammarAccess.getModifierSpecificationRule(), currentNode); }
508
	{ newCompositeNode(grammarAccess.getModifierSpecificationRule()); }
617
	 iv_ruleModifierSpecification=ruleModifierSpecification 
509
	 iv_ruleModifierSpecification=ruleModifierSpecification 
618
	 { $current=$iv_ruleModifierSpecification.current; } 
510
	 { $current=$iv_ruleModifierSpecification.current; } 
619
	 EOF 
511
	 EOF 
Lines 621-652 Link Here
621
513
622
// Rule ModifierSpecification
514
// Rule ModifierSpecification
623
ruleModifierSpecification returns [EObject current=null] 
515
ruleModifierSpecification returns [EObject current=null] 
624
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
516
    @init { enterRule(); 
625
    }
517
    }
626
    @after { resetLookahead(); 
518
    @after { leaveRule(); }:
627
    	lastConsumedNode = currentNode;
628
    }:
629
((
519
((
630
(
520
(
631
		{ 
521
		{ 
632
	        currentNode=createCompositeNode(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0_0(), currentNode); 
522
	        newCompositeNode(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0_0()); 
633
	    }
523
	    }
634
		lv_value_0_0=ruleModifierKind		{
524
		lv_value_0_0=ruleModifierKind		{
635
	        if ($current==null) {
525
	        if ($current==null) {
636
	            $current = factory.create(grammarAccess.getModifierSpecificationRule().getType().getClassifier());
526
	            $current = createModelElementForParent(grammarAccess.getModifierSpecificationRule());
637
	            associateNodeWithAstElement(currentNode.getParent(), $current);
638
	        }
527
	        }
639
	        try {
528
       		set(
640
	       		set(
529
       			$current, 
641
	       			$current, 
530
       			"value",
642
	       			"value",
531
        		lv_value_0_0, 
643
	        		lv_value_0_0, 
532
        		"ModifierKind");
644
	        		"ModifierKind", 
533
	        afterParserOrEnumRuleCall();
645
	        		currentNode);
646
	        } catch (ValueConverterException vce) {
647
				handleValueConverterException(vce);
648
	        }
649
	        currentNode = currentNode.getParent();
650
	    }
534
	    }
651
535
652
)
536
)
Lines 654-677 Link Here
654
    |(
538
    |(
655
(
539
(
656
		{ 
540
		{ 
657
	        currentNode=createCompositeNode(grammarAccess.getModifierSpecificationAccess().getRedefinesRedefinesRuleParserRuleCall_1_0(), currentNode); 
541
	        newCompositeNode(grammarAccess.getModifierSpecificationAccess().getRedefinesRedefinesRuleParserRuleCall_1_0()); 
658
	    }
542
	    }
659
		lv_redefines_1_0=ruleRedefinesRule		{
543
		lv_redefines_1_0=ruleRedefinesRule		{
660
	        if ($current==null) {
544
	        if ($current==null) {
661
	            $current = factory.create(grammarAccess.getModifierSpecificationRule().getType().getClassifier());
545
	            $current = createModelElementForParent(grammarAccess.getModifierSpecificationRule());
662
	            associateNodeWithAstElement(currentNode.getParent(), $current);
663
	        }
546
	        }
664
	        try {
547
       		set(
665
	       		set(
548
       			$current, 
666
	       			$current, 
549
       			"redefines",
667
	       			"redefines",
550
        		lv_redefines_1_0, 
668
	        		lv_redefines_1_0, 
551
        		"RedefinesRule");
669
	        		"RedefinesRule", 
552
	        afterParserOrEnumRuleCall();
670
	        		currentNode);
671
	        } catch (ValueConverterException vce) {
672
				handleValueConverterException(vce);
673
	        }
674
	        currentNode = currentNode.getParent();
675
	    }
553
	    }
676
554
677
)
555
)
Lines 679-702 Link Here
679
    |(
557
    |(
680
(
558
(
681
		{ 
559
		{ 
682
	        currentNode=createCompositeNode(grammarAccess.getModifierSpecificationAccess().getSubsetsSubsetsRuleParserRuleCall_2_0(), currentNode); 
560
	        newCompositeNode(grammarAccess.getModifierSpecificationAccess().getSubsetsSubsetsRuleParserRuleCall_2_0()); 
683
	    }
561
	    }
684
		lv_subsets_2_0=ruleSubsetsRule		{
562
		lv_subsets_2_0=ruleSubsetsRule		{
685
	        if ($current==null) {
563
	        if ($current==null) {
686
	            $current = factory.create(grammarAccess.getModifierSpecificationRule().getType().getClassifier());
564
	            $current = createModelElementForParent(grammarAccess.getModifierSpecificationRule());
687
	            associateNodeWithAstElement(currentNode.getParent(), $current);
688
	        }
565
	        }
689
	        try {
566
       		set(
690
	       		set(
567
       			$current, 
691
	       			$current, 
568
       			"subsets",
692
	       			"subsets",
569
        		lv_subsets_2_0, 
693
	        		lv_subsets_2_0, 
570
        		"SubsetsRule");
694
	        		"SubsetsRule", 
571
	        afterParserOrEnumRuleCall();
695
	        		currentNode);
696
	        } catch (ValueConverterException vce) {
697
				handleValueConverterException(vce);
698
	        }
699
	        currentNode = currentNode.getParent();
700
	    }
572
	    }
701
573
702
)
574
)
Lines 710-716 Link Here
710
// Entry rule entryRuleRedefinesRule
582
// Entry rule entryRuleRedefinesRule
711
entryRuleRedefinesRule returns [EObject current=null] 
583
entryRuleRedefinesRule returns [EObject current=null] 
712
	:
584
	:
713
	{ currentNode = createCompositeNode(grammarAccess.getRedefinesRuleRule(), currentNode); }
585
	{ newCompositeNode(grammarAccess.getRedefinesRuleRule()); }
714
	 iv_ruleRedefinesRule=ruleRedefinesRule 
586
	 iv_ruleRedefinesRule=ruleRedefinesRule 
715
	 { $current=$iv_ruleRedefinesRule.current; } 
587
	 { $current=$iv_ruleRedefinesRule.current; } 
716
	 EOF 
588
	 EOF 
Lines 718-743 Link Here
718
590
719
// Rule RedefinesRule
591
// Rule RedefinesRule
720
ruleRedefinesRule returns [EObject current=null] 
592
ruleRedefinesRule returns [EObject current=null] 
721
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
593
    @init { enterRule(); 
722
    }
594
    }
723
    @after { resetLookahead(); 
595
    @after { leaveRule(); }:
724
    	lastConsumedNode = currentNode;
596
(	otherlv_0='redefines' 
725
    }:
726
(	'redefines' 
727
    {
597
    {
728
        createLeafNode(grammarAccess.getRedefinesRuleAccess().getRedefinesKeyword_0(), null); 
598
    	newLeafNode(otherlv_0, grammarAccess.getRedefinesRuleAccess().getRedefinesKeyword_0());
729
    }
599
    }
730
(
600
(
731
(
601
(
732
		{
602
		{
733
			if ($current==null) {
603
			if ($current==null) {
734
	            $current = factory.create(grammarAccess.getRedefinesRuleRule().getType().getClassifier());
604
	            $current = createModelElement(grammarAccess.getRedefinesRuleRule());
735
	            associateNodeWithAstElement(currentNode, $current);
736
	        }
605
	        }
737
        }
606
        }
738
	RULE_ID
607
	otherlv_1=RULE_ID
739
	{
608
	{
740
		createLeafNode(grammarAccess.getRedefinesRuleAccess().getPropertyPropertyCrossReference_1_0(), "property"); 
609
		newLeafNode(otherlv_1, grammarAccess.getRedefinesRuleAccess().getPropertyPropertyCrossReference_1_0()); 
741
	}
610
	}
742
611
743
)
612
)
Lines 751-757 Link Here
751
// Entry rule entryRuleSubsetsRule
620
// Entry rule entryRuleSubsetsRule
752
entryRuleSubsetsRule returns [EObject current=null] 
621
entryRuleSubsetsRule returns [EObject current=null] 
753
	:
622
	:
754
	{ currentNode = createCompositeNode(grammarAccess.getSubsetsRuleRule(), currentNode); }
623
	{ newCompositeNode(grammarAccess.getSubsetsRuleRule()); }
755
	 iv_ruleSubsetsRule=ruleSubsetsRule 
624
	 iv_ruleSubsetsRule=ruleSubsetsRule 
756
	 { $current=$iv_ruleSubsetsRule.current; } 
625
	 { $current=$iv_ruleSubsetsRule.current; } 
757
	 EOF 
626
	 EOF 
Lines 759-784 Link Here
759
628
760
// Rule SubsetsRule
629
// Rule SubsetsRule
761
ruleSubsetsRule returns [EObject current=null] 
630
ruleSubsetsRule returns [EObject current=null] 
762
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
631
    @init { enterRule(); 
763
    }
632
    }
764
    @after { resetLookahead(); 
633
    @after { leaveRule(); }:
765
    	lastConsumedNode = currentNode;
634
(	otherlv_0='subsets' 
766
    }:
767
(	'subsets' 
768
    {
635
    {
769
        createLeafNode(grammarAccess.getSubsetsRuleAccess().getSubsetsKeyword_0(), null); 
636
    	newLeafNode(otherlv_0, grammarAccess.getSubsetsRuleAccess().getSubsetsKeyword_0());
770
    }
637
    }
771
(
638
(
772
(
639
(
773
		{
640
		{
774
			if ($current==null) {
641
			if ($current==null) {
775
	            $current = factory.create(grammarAccess.getSubsetsRuleRule().getType().getClassifier());
642
	            $current = createModelElement(grammarAccess.getSubsetsRuleRule());
776
	            associateNodeWithAstElement(currentNode, $current);
777
	        }
643
	        }
778
        }
644
        }
779
	RULE_ID
645
	otherlv_1=RULE_ID
780
	{
646
	{
781
		createLeafNode(grammarAccess.getSubsetsRuleAccess().getPropertyPropertyCrossReference_1_0(), "property"); 
647
		newLeafNode(otherlv_1, grammarAccess.getSubsetsRuleAccess().getPropertyPropertyCrossReference_1_0()); 
782
	}
648
	}
783
649
784
)
650
)
Lines 792-798 Link Here
792
// Entry rule entryRuleDefaultValueRule
658
// Entry rule entryRuleDefaultValueRule
793
entryRuleDefaultValueRule returns [EObject current=null] 
659
entryRuleDefaultValueRule returns [EObject current=null] 
794
	:
660
	:
795
	{ currentNode = createCompositeNode(grammarAccess.getDefaultValueRuleRule(), currentNode); }
661
	{ newCompositeNode(grammarAccess.getDefaultValueRuleRule()); }
796
	 iv_ruleDefaultValueRule=ruleDefaultValueRule 
662
	 iv_ruleDefaultValueRule=ruleDefaultValueRule 
797
	 { $current=$iv_ruleDefaultValueRule.current; } 
663
	 { $current=$iv_ruleDefaultValueRule.current; } 
798
	 EOF 
664
	 EOF 
Lines 800-835 Link Here
800
666
801
// Rule DefaultValueRule
667
// Rule DefaultValueRule
802
ruleDefaultValueRule returns [EObject current=null] 
668
ruleDefaultValueRule returns [EObject current=null] 
803
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
669
    @init { enterRule(); 
804
    }
670
    }
805
    @after { resetLookahead(); 
671
    @after { leaveRule(); }:
806
    	lastConsumedNode = currentNode;
672
(	otherlv_0='=' 
807
    }:
808
(	'=' 
809
    {
673
    {
810
        createLeafNode(grammarAccess.getDefaultValueRuleAccess().getEqualsSignKeyword_0(), null); 
674
    	newLeafNode(otherlv_0, grammarAccess.getDefaultValueRuleAccess().getEqualsSignKeyword_0());
811
    }
675
    }
812
(
676
(
813
(
677
(
814
		lv_default_1_0=RULE_STRING
678
		lv_default_1_0=RULE_STRING
815
		{
679
		{
816
			createLeafNode(grammarAccess.getDefaultValueRuleAccess().getDefaultSTRINGTerminalRuleCall_1_0(), "default"); 
680
			newLeafNode(lv_default_1_0, grammarAccess.getDefaultValueRuleAccess().getDefaultSTRINGTerminalRuleCall_1_0()); 
817
		}
681
		}
818
		{
682
		{
819
	        if ($current==null) {
683
	        if ($current==null) {
820
	            $current = factory.create(grammarAccess.getDefaultValueRuleRule().getType().getClassifier());
684
	            $current = createModelElement(grammarAccess.getDefaultValueRuleRule());
821
	            associateNodeWithAstElement(currentNode, $current);
822
	        }
685
	        }
823
	        try {
686
       		setWithLastConsumed(
824
	       		set(
687
       			$current, 
825
	       			$current, 
688
       			"default",
826
	       			"default",
689
        		lv_default_1_0, 
827
	        		lv_default_1_0, 
690
        		"STRING");
828
	        		"STRING", 
829
	        		lastConsumedNode);
830
	        } catch (ValueConverterException vce) {
831
				handleValueConverterException(vce);
832
	        }
833
	    }
691
	    }
834
692
835
)
693
)
Lines 842-873 Link Here
842
700
843
// Rule VisibilityKind
701
// Rule VisibilityKind
844
ruleVisibilityKind returns [Enumerator current=null] 
702
ruleVisibilityKind returns [Enumerator current=null] 
845
    @init { setCurrentLookahead(); resetLookahead(); }
703
    @init { enterRule(); }
846
    @after { resetLookahead(); 
704
    @after { leaveRule(); }:
847
    	lastConsumedNode = currentNode;
705
((	enumLiteral_0='+' 
848
    }:
849
((	'+' 
850
	{
706
	{
851
        $current = grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
707
        $current = grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
852
        createLeafNode(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0(), null); 
708
        newLeafNode(enumLiteral_0, grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0()); 
853
    }
709
    }
854
)
710
)
855
    |(	'-' 
711
    |(	enumLiteral_1='-' 
856
	{
712
	{
857
        $current = grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
713
        $current = grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
858
        createLeafNode(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1(), null); 
714
        newLeafNode(enumLiteral_1, grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1()); 
859
    }
715
    }
860
)
716
)
861
    |(	'#' 
717
    |(	enumLiteral_2='#' 
862
	{
718
	{
863
        $current = grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
719
        $current = grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
864
        createLeafNode(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2(), null); 
720
        newLeafNode(enumLiteral_2, grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2()); 
865
    }
721
    }
866
)
722
)
867
    |(	'~' 
723
    |(	enumLiteral_3='~' 
868
	{
724
	{
869
        $current = grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
725
        $current = grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
870
        createLeafNode(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3(), null); 
726
        newLeafNode(enumLiteral_3, grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3()); 
871
    }
727
    }
872
));
728
));
873
729
Lines 875-906 Link Here
875
731
876
// Rule ModifierKind
732
// Rule ModifierKind
877
ruleModifierKind returns [Enumerator current=null] 
733
ruleModifierKind returns [Enumerator current=null] 
878
    @init { setCurrentLookahead(); resetLookahead(); }
734
    @init { enterRule(); }
879
    @after { resetLookahead(); 
735
    @after { leaveRule(); }:
880
    	lastConsumedNode = currentNode;
736
((	enumLiteral_0='readOnly' 
881
    }:
882
((	'readOnly' 
883
	{
737
	{
884
        $current = grammarAccess.getModifierKindAccess().getReadOnlyEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
738
        $current = grammarAccess.getModifierKindAccess().getReadOnlyEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
885
        createLeafNode(grammarAccess.getModifierKindAccess().getReadOnlyEnumLiteralDeclaration_0(), null); 
739
        newLeafNode(enumLiteral_0, grammarAccess.getModifierKindAccess().getReadOnlyEnumLiteralDeclaration_0()); 
886
    }
740
    }
887
)
741
)
888
    |(	'union' 
742
    |(	enumLiteral_1='union' 
889
	{
743
	{
890
        $current = grammarAccess.getModifierKindAccess().getUnionEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
744
        $current = grammarAccess.getModifierKindAccess().getUnionEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
891
        createLeafNode(grammarAccess.getModifierKindAccess().getUnionEnumLiteralDeclaration_1(), null); 
745
        newLeafNode(enumLiteral_1, grammarAccess.getModifierKindAccess().getUnionEnumLiteralDeclaration_1()); 
892
    }
746
    }
893
)
747
)
894
    |(	'ordered' 
748
    |(	enumLiteral_2='ordered' 
895
	{
749
	{
896
        $current = grammarAccess.getModifierKindAccess().getOrderedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
750
        $current = grammarAccess.getModifierKindAccess().getOrderedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
897
        createLeafNode(grammarAccess.getModifierKindAccess().getOrderedEnumLiteralDeclaration_2(), null); 
751
        newLeafNode(enumLiteral_2, grammarAccess.getModifierKindAccess().getOrderedEnumLiteralDeclaration_2()); 
898
    }
752
    }
899
)
753
)
900
    |(	'unique' 
754
    |(	enumLiteral_3='unique' 
901
	{
755
	{
902
        $current = grammarAccess.getModifierKindAccess().getUniqueEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
756
        $current = grammarAccess.getModifierKindAccess().getUniqueEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
903
        createLeafNode(grammarAccess.getModifierKindAccess().getUniqueEnumLiteralDeclaration_3(), null); 
757
        newLeafNode(enumLiteral_3, grammarAccess.getModifierKindAccess().getUniqueEnumLiteralDeclaration_3()); 
904
    }
758
    }
905
));
759
));
906
760
Lines 912-918 Link Here
912
766
913
RULE_INT : ('0'..'9')+;
767
RULE_INT : ('0'..'9')+;
914
768
915
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
769
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
916
770
917
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
771
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
918
772
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlPropertyLexer.java (-357 / +502 lines)
Lines 13-449 Link Here
13
@SuppressWarnings("all")
13
@SuppressWarnings("all")
14
public class InternalUmlPropertyLexer extends Lexer {
14
public class InternalUmlPropertyLexer extends Lexer {
15
    public static final int RULE_ID=4;
15
    public static final int RULE_ID=4;
16
    public static final int T__29=29;
16
    public static final int RULE_UNLIMITEDLITERAL=5;
17
    public static final int RULE_UNLIMITEDLITERAL=5;
18
    public static final int T__28=28;
19
    public static final int T__27=27;
20
    public static final int T__26=26;
21
    public static final int T__25=25;
22
    public static final int T__24=24;
23
    public static final int T__23=23;
24
    public static final int T__22=22;
17
    public static final int RULE_ANY_OTHER=11;
25
    public static final int RULE_ANY_OTHER=11;
18
    public static final int T29=29;
26
    public static final int T__21=21;
19
    public static final int T28=28;
27
    public static final int T__20=20;
20
    public static final int T27=27;
21
    public static final int T26=26;
22
    public static final int T25=25;
23
    public static final int Tokens=33;
24
    public static final int T24=24;
25
    public static final int EOF=-1;
28
    public static final int EOF=-1;
26
    public static final int RULE_SL_COMMENT=9;
29
    public static final int RULE_SL_COMMENT=9;
27
    public static final int T23=23;
28
    public static final int T22=22;
29
    public static final int T21=21;
30
    public static final int T20=20;
31
    public static final int RULE_ML_COMMENT=8;
30
    public static final int RULE_ML_COMMENT=8;
31
    public static final int T__19=19;
32
    public static final int T__30=30;
33
    public static final int T__31=31;
34
    public static final int T__32=32;
32
    public static final int RULE_STRING=6;
35
    public static final int RULE_STRING=6;
36
    public static final int T__16=16;
37
    public static final int T__15=15;
38
    public static final int T__18=18;
39
    public static final int T__17=17;
40
    public static final int T__12=12;
41
    public static final int T__14=14;
42
    public static final int T__13=13;
33
    public static final int RULE_INT=7;
43
    public static final int RULE_INT=7;
34
    public static final int T12=12;
35
    public static final int T13=13;
36
    public static final int T14=14;
37
    public static final int RULE_WS=10;
44
    public static final int RULE_WS=10;
38
    public static final int T15=15;
45
39
    public static final int T16=16;
46
    // delegates
40
    public static final int T17=17;
47
    // delegators
41
    public static final int T18=18;
48
42
    public static final int T30=30;
43
    public static final int T19=19;
44
    public static final int T32=32;
45
    public static final int T31=31;
46
    public InternalUmlPropertyLexer() {;} 
49
    public InternalUmlPropertyLexer() {;} 
47
    public InternalUmlPropertyLexer(CharStream input) {
50
    public InternalUmlPropertyLexer(CharStream input) {
48
        super(input);
51
        this(input, new RecognizerSharedState());
52
    }
53
    public InternalUmlPropertyLexer(CharStream input, RecognizerSharedState state) {
54
        super(input,state);
55
49
    }
56
    }
50
    public String getGrammarFileName() { return "../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g"; }
57
    public String getGrammarFileName() { return "../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g"; }
51
58
52
    // $ANTLR start T12
59
    // $ANTLR start "T__12"
53
    public final void mT12() throws RecognitionException {
60
    public final void mT__12() throws RecognitionException {
54
        try {
61
        try {
55
            int _type = T12;
62
            int _type = T__12;
56
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:10:5: ( '/' )
63
            int _channel = DEFAULT_TOKEN_CHANNEL;
57
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:10:7: '/'
64
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:11:7: ( '/' )
65
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:11:9: '/'
58
            {
66
            {
59
            match('/'); 
67
            match('/'); 
60
68
61
            }
69
            }
62
70
63
            this.type = _type;
71
            state.type = _type;
72
            state.channel = _channel;
64
        }
73
        }
65
        finally {
74
        finally {
66
        }
75
        }
67
    }
76
    }
68
    // $ANTLR end T12
77
    // $ANTLR end "T__12"
69
78
70
    // $ANTLR start T13
79
    // $ANTLR start "T__13"
71
    public final void mT13() throws RecognitionException {
80
    public final void mT__13() throws RecognitionException {
72
        try {
81
        try {
73
            int _type = T13;
82
            int _type = T__13;
74
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:11:5: ( ':' )
83
            int _channel = DEFAULT_TOKEN_CHANNEL;
75
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:11:7: ':'
84
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:12:7: ( ':' )
85
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:12:9: ':'
76
            {
86
            {
77
            match(':'); 
87
            match(':'); 
78
88
79
            }
89
            }
80
90
81
            this.type = _type;
91
            state.type = _type;
92
            state.channel = _channel;
82
        }
93
        }
83
        finally {
94
        finally {
84
        }
95
        }
85
    }
96
    }
86
    // $ANTLR end T13
97
    // $ANTLR end "T__13"
87
98
88
    // $ANTLR start T14
99
    // $ANTLR start "T__14"
89
    public final void mT14() throws RecognitionException {
100
    public final void mT__14() throws RecognitionException {
90
        try {
101
        try {
91
            int _type = T14;
102
            int _type = T__14;
92
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:12:5: ( '<Undefined>' )
103
            int _channel = DEFAULT_TOKEN_CHANNEL;
93
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:12:7: '<Undefined>'
104
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:13:7: ( '<Undefined>' )
105
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:13:9: '<Undefined>'
94
            {
106
            {
95
            match("<Undefined>"); 
107
            match("<Undefined>"); 
96
108
97
109
98
            }
110
            }
99
111
100
            this.type = _type;
112
            state.type = _type;
113
            state.channel = _channel;
101
        }
114
        }
102
        finally {
115
        finally {
103
        }
116
        }
104
    }
117
    }
105
    // $ANTLR end T14
118
    // $ANTLR end "T__14"
106
119
107
    // $ANTLR start T15
120
    // $ANTLR start "T__15"
108
    public final void mT15() throws RecognitionException {
121
    public final void mT__15() throws RecognitionException {
109
        try {
122
        try {
110
            int _type = T15;
123
            int _type = T__15;
111
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:13:5: ( '::' )
124
            int _channel = DEFAULT_TOKEN_CHANNEL;
112
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:13:7: '::'
125
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:14:7: ( '::' )
126
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:14:9: '::'
113
            {
127
            {
114
            match("::"); 
128
            match("::"); 
115
129
116
130
117
            }
131
            }
118
132
119
            this.type = _type;
133
            state.type = _type;
134
            state.channel = _channel;
120
        }
135
        }
121
        finally {
136
        finally {
122
        }
137
        }
123
    }
138
    }
124
    // $ANTLR end T15
139
    // $ANTLR end "T__15"
125
140
126
    // $ANTLR start T16
141
    // $ANTLR start "T__16"
127
    public final void mT16() throws RecognitionException {
142
    public final void mT__16() throws RecognitionException {
128
        try {
143
        try {
129
            int _type = T16;
144
            int _type = T__16;
130
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:14:5: ( '[' )
145
            int _channel = DEFAULT_TOKEN_CHANNEL;
131
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:14:7: '['
146
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:15:7: ( '[' )
147
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:15:9: '['
132
            {
148
            {
133
            match('['); 
149
            match('['); 
134
150
135
            }
151
            }
136
152
137
            this.type = _type;
153
            state.type = _type;
154
            state.channel = _channel;
138
        }
155
        }
139
        finally {
156
        finally {
140
        }
157
        }
141
    }
158
    }
142
    // $ANTLR end T16
159
    // $ANTLR end "T__16"
143
160
144
    // $ANTLR start T17
161
    // $ANTLR start "T__17"
145
    public final void mT17() throws RecognitionException {
162
    public final void mT__17() throws RecognitionException {
146
        try {
163
        try {
147
            int _type = T17;
164
            int _type = T__17;
148
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:15:5: ( '..' )
165
            int _channel = DEFAULT_TOKEN_CHANNEL;
149
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:15:7: '..'
166
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:16:7: ( '..' )
167
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:16:9: '..'
150
            {
168
            {
151
            match(".."); 
169
            match(".."); 
152
170
153
171
154
            }
172
            }
155
173
156
            this.type = _type;
174
            state.type = _type;
175
            state.channel = _channel;
157
        }
176
        }
158
        finally {
177
        finally {
159
        }
178
        }
160
    }
179
    }
161
    // $ANTLR end T17
180
    // $ANTLR end "T__17"
162
181
163
    // $ANTLR start T18
182
    // $ANTLR start "T__18"
164
    public final void mT18() throws RecognitionException {
183
    public final void mT__18() throws RecognitionException {
165
        try {
184
        try {
166
            int _type = T18;
185
            int _type = T__18;
167
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:16:5: ( ']' )
186
            int _channel = DEFAULT_TOKEN_CHANNEL;
168
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:16:7: ']'
187
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:17:7: ( ']' )
188
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:17:9: ']'
169
            {
189
            {
170
            match(']'); 
190
            match(']'); 
171
191
172
            }
192
            }
173
193
174
            this.type = _type;
194
            state.type = _type;
195
            state.channel = _channel;
175
        }
196
        }
176
        finally {
197
        finally {
177
        }
198
        }
178
    }
199
    }
179
    // $ANTLR end T18
200
    // $ANTLR end "T__18"
180
201
181
    // $ANTLR start T19
202
    // $ANTLR start "T__19"
182
    public final void mT19() throws RecognitionException {
203
    public final void mT__19() throws RecognitionException {
183
        try {
204
        try {
184
            int _type = T19;
205
            int _type = T__19;
185
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:17:5: ( '{' )
206
            int _channel = DEFAULT_TOKEN_CHANNEL;
186
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:17:7: '{'
207
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:18:7: ( '{' )
208
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:18:9: '{'
187
            {
209
            {
188
            match('{'); 
210
            match('{'); 
189
211
190
            }
212
            }
191
213
192
            this.type = _type;
214
            state.type = _type;
215
            state.channel = _channel;
193
        }
216
        }
194
        finally {
217
        finally {
195
        }
218
        }
196
    }
219
    }
197
    // $ANTLR end T19
220
    // $ANTLR end "T__19"
198
221
199
    // $ANTLR start T20
222
    // $ANTLR start "T__20"
200
    public final void mT20() throws RecognitionException {
223
    public final void mT__20() throws RecognitionException {
201
        try {
224
        try {
202
            int _type = T20;
225
            int _type = T__20;
203
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:18:5: ( ',' )
226
            int _channel = DEFAULT_TOKEN_CHANNEL;
204
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:18:7: ','
227
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:19:7: ( ',' )
228
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:19:9: ','
205
            {
229
            {
206
            match(','); 
230
            match(','); 
207
231
208
            }
232
            }
209
233
210
            this.type = _type;
234
            state.type = _type;
235
            state.channel = _channel;
211
        }
236
        }
212
        finally {
237
        finally {
213
        }
238
        }
214
    }
239
    }
215
    // $ANTLR end T20
240
    // $ANTLR end "T__20"
216
241
217
    // $ANTLR start T21
242
    // $ANTLR start "T__21"
218
    public final void mT21() throws RecognitionException {
243
    public final void mT__21() throws RecognitionException {
219
        try {
244
        try {
220
            int _type = T21;
245
            int _type = T__21;
221
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:19:5: ( '}' )
246
            int _channel = DEFAULT_TOKEN_CHANNEL;
222
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:19:7: '}'
247
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:20:7: ( '}' )
248
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:20:9: '}'
223
            {
249
            {
224
            match('}'); 
250
            match('}'); 
225
251
226
            }
252
            }
227
253
228
            this.type = _type;
254
            state.type = _type;
255
            state.channel = _channel;
229
        }
256
        }
230
        finally {
257
        finally {
231
        }
258
        }
232
    }
259
    }
233
    // $ANTLR end T21
260
    // $ANTLR end "T__21"
234
261
235
    // $ANTLR start T22
262
    // $ANTLR start "T__22"
236
    public final void mT22() throws RecognitionException {
263
    public final void mT__22() throws RecognitionException {
237
        try {
264
        try {
238
            int _type = T22;
265
            int _type = T__22;
239
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:20:5: ( 'redefines' )
266
            int _channel = DEFAULT_TOKEN_CHANNEL;
240
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:20:7: 'redefines'
267
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:21:7: ( 'redefines' )
268
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:21:9: 'redefines'
241
            {
269
            {
242
            match("redefines"); 
270
            match("redefines"); 
243
271
244
272
245
            }
273
            }
246
274
247
            this.type = _type;
275
            state.type = _type;
276
            state.channel = _channel;
248
        }
277
        }
249
        finally {
278
        finally {
250
        }
279
        }
251
    }
280
    }
252
    // $ANTLR end T22
281
    // $ANTLR end "T__22"
253
282
254
    // $ANTLR start T23
283
    // $ANTLR start "T__23"
255
    public final void mT23() throws RecognitionException {
284
    public final void mT__23() throws RecognitionException {
256
        try {
285
        try {
257
            int _type = T23;
286
            int _type = T__23;
258
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:21:5: ( 'subsets' )
287
            int _channel = DEFAULT_TOKEN_CHANNEL;
259
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:21:7: 'subsets'
288
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:22:7: ( 'subsets' )
289
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:22:9: 'subsets'
260
            {
290
            {
261
            match("subsets"); 
291
            match("subsets"); 
262
292
263
293
264
            }
294
            }
265
295
266
            this.type = _type;
296
            state.type = _type;
297
            state.channel = _channel;
267
        }
298
        }
268
        finally {
299
        finally {
269
        }
300
        }
270
    }
301
    }
271
    // $ANTLR end T23
302
    // $ANTLR end "T__23"
272
303
273
    // $ANTLR start T24
304
    // $ANTLR start "T__24"
274
    public final void mT24() throws RecognitionException {
305
    public final void mT__24() throws RecognitionException {
275
        try {
306
        try {
276
            int _type = T24;
307
            int _type = T__24;
277
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:22:5: ( '=' )
308
            int _channel = DEFAULT_TOKEN_CHANNEL;
278
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:22:7: '='
309
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:23:7: ( '=' )
310
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:23:9: '='
279
            {
311
            {
280
            match('='); 
312
            match('='); 
281
313
282
            }
314
            }
283
315
284
            this.type = _type;
316
            state.type = _type;
317
            state.channel = _channel;
285
        }
318
        }
286
        finally {
319
        finally {
287
        }
320
        }
288
    }
321
    }
289
    // $ANTLR end T24
322
    // $ANTLR end "T__24"
290
323
291
    // $ANTLR start T25
324
    // $ANTLR start "T__25"
292
    public final void mT25() throws RecognitionException {
325
    public final void mT__25() throws RecognitionException {
293
        try {
326
        try {
294
            int _type = T25;
327
            int _type = T__25;
295
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:23:5: ( '+' )
328
            int _channel = DEFAULT_TOKEN_CHANNEL;
296
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:23:7: '+'
329
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:24:7: ( '+' )
330
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:24:9: '+'
297
            {
331
            {
298
            match('+'); 
332
            match('+'); 
299
333
300
            }
334
            }
301
335
302
            this.type = _type;
336
            state.type = _type;
337
            state.channel = _channel;
303
        }
338
        }
304
        finally {
339
        finally {
305
        }
340
        }
306
    }
341
    }
307
    // $ANTLR end T25
342
    // $ANTLR end "T__25"
308
343
309
    // $ANTLR start T26
344
    // $ANTLR start "T__26"
310
    public final void mT26() throws RecognitionException {
345
    public final void mT__26() throws RecognitionException {
311
        try {
346
        try {
312
            int _type = T26;
347
            int _type = T__26;
313
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:24:5: ( '-' )
348
            int _channel = DEFAULT_TOKEN_CHANNEL;
314
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:24:7: '-'
349
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:25:7: ( '-' )
350
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:25:9: '-'
315
            {
351
            {
316
            match('-'); 
352
            match('-'); 
317
353
318
            }
354
            }
319
355
320
            this.type = _type;
356
            state.type = _type;
357
            state.channel = _channel;
321
        }
358
        }
322
        finally {
359
        finally {
323
        }
360
        }
324
    }
361
    }
325
    // $ANTLR end T26
362
    // $ANTLR end "T__26"
326
363
327
    // $ANTLR start T27
364
    // $ANTLR start "T__27"
328
    public final void mT27() throws RecognitionException {
365
    public final void mT__27() throws RecognitionException {
329
        try {
366
        try {
330
            int _type = T27;
367
            int _type = T__27;
331
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:25:5: ( '#' )
368
            int _channel = DEFAULT_TOKEN_CHANNEL;
332
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:25:7: '#'
369
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:26:7: ( '#' )
370
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:26:9: '#'
333
            {
371
            {
334
            match('#'); 
372
            match('#'); 
335
373
336
            }
374
            }
337
375
338
            this.type = _type;
376
            state.type = _type;
377
            state.channel = _channel;
339
        }
378
        }
340
        finally {
379
        finally {
341
        }
380
        }
342
    }
381
    }
343
    // $ANTLR end T27
382
    // $ANTLR end "T__27"
344
383
345
    // $ANTLR start T28
384
    // $ANTLR start "T__28"
346
    public final void mT28() throws RecognitionException {
385
    public final void mT__28() throws RecognitionException {
347
        try {
386
        try {
348
            int _type = T28;
387
            int _type = T__28;
349
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:26:5: ( '~' )
388
            int _channel = DEFAULT_TOKEN_CHANNEL;
350
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:26:7: '~'
389
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:27:7: ( '~' )
390
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:27:9: '~'
351
            {
391
            {
352
            match('~'); 
392
            match('~'); 
353
393
354
            }
394
            }
355
395
356
            this.type = _type;
396
            state.type = _type;
397
            state.channel = _channel;
357
        }
398
        }
358
        finally {
399
        finally {
359
        }
400
        }
360
    }
401
    }
361
    // $ANTLR end T28
402
    // $ANTLR end "T__28"
362
403
363
    // $ANTLR start T29
404
    // $ANTLR start "T__29"
364
    public final void mT29() throws RecognitionException {
405
    public final void mT__29() throws RecognitionException {
365
        try {
406
        try {
366
            int _type = T29;
407
            int _type = T__29;
367
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:27:5: ( 'readOnly' )
408
            int _channel = DEFAULT_TOKEN_CHANNEL;
368
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:27:7: 'readOnly'
409
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:28:7: ( 'readOnly' )
410
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:28:9: 'readOnly'
369
            {
411
            {
370
            match("readOnly"); 
412
            match("readOnly"); 
371
413
372
414
373
            }
415
            }
374
416
375
            this.type = _type;
417
            state.type = _type;
418
            state.channel = _channel;
376
        }
419
        }
377
        finally {
420
        finally {
378
        }
421
        }
379
    }
422
    }
380
    // $ANTLR end T29
423
    // $ANTLR end "T__29"
381
424
382
    // $ANTLR start T30
425
    // $ANTLR start "T__30"
383
    public final void mT30() throws RecognitionException {
426
    public final void mT__30() throws RecognitionException {
384
        try {
427
        try {
385
            int _type = T30;
428
            int _type = T__30;
386
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:28:5: ( 'union' )
429
            int _channel = DEFAULT_TOKEN_CHANNEL;
387
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:28:7: 'union'
430
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:29:7: ( 'union' )
431
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:29:9: 'union'
388
            {
432
            {
389
            match("union"); 
433
            match("union"); 
390
434
391
435
392
            }
436
            }
393
437
394
            this.type = _type;
438
            state.type = _type;
439
            state.channel = _channel;
395
        }
440
        }
396
        finally {
441
        finally {
397
        }
442
        }
398
    }
443
    }
399
    // $ANTLR end T30
444
    // $ANTLR end "T__30"
400
445
401
    // $ANTLR start T31
446
    // $ANTLR start "T__31"
402
    public final void mT31() throws RecognitionException {
447
    public final void mT__31() throws RecognitionException {
403
        try {
448
        try {
404
            int _type = T31;
449
            int _type = T__31;
405
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:29:5: ( 'ordered' )
450
            int _channel = DEFAULT_TOKEN_CHANNEL;
406
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:29:7: 'ordered'
451
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:30:7: ( 'ordered' )
452
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:30:9: 'ordered'
407
            {
453
            {
408
            match("ordered"); 
454
            match("ordered"); 
409
455
410
456
411
            }
457
            }
412
458
413
            this.type = _type;
459
            state.type = _type;
460
            state.channel = _channel;
414
        }
461
        }
415
        finally {
462
        finally {
416
        }
463
        }
417
    }
464
    }
418
    // $ANTLR end T31
465
    // $ANTLR end "T__31"
419
466
420
    // $ANTLR start T32
467
    // $ANTLR start "T__32"
421
    public final void mT32() throws RecognitionException {
468
    public final void mT__32() throws RecognitionException {
422
        try {
469
        try {
423
            int _type = T32;
470
            int _type = T__32;
424
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:30:5: ( 'unique' )
471
            int _channel = DEFAULT_TOKEN_CHANNEL;
425
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:30:7: 'unique'
472
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:31:7: ( 'unique' )
473
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:31:9: 'unique'
426
            {
474
            {
427
            match("unique"); 
475
            match("unique"); 
428
476
429
477
430
            }
478
            }
431
479
432
            this.type = _type;
480
            state.type = _type;
481
            state.channel = _channel;
433
        }
482
        }
434
        finally {
483
        finally {
435
        }
484
        }
436
    }
485
    }
437
    // $ANTLR end T32
486
    // $ANTLR end "T__32"
438
487
439
    // $ANTLR start RULE_UNLIMITEDLITERAL
488
    // $ANTLR start "RULE_UNLIMITEDLITERAL"
440
    public final void mRULE_UNLIMITEDLITERAL() throws RecognitionException {
489
    public final void mRULE_UNLIMITEDLITERAL() throws RecognitionException {
441
        try {
490
        try {
442
            int _type = RULE_UNLIMITEDLITERAL;
491
            int _type = RULE_UNLIMITEDLITERAL;
443
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:909:23: ( ( '0' .. '9' ( '0' .. '9' )* | '*' ) )
492
            int _channel = DEFAULT_TOKEN_CHANNEL;
444
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:909:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
493
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:763:23: ( ( '0' .. '9' ( '0' .. '9' )* | '*' ) )
494
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:763:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
445
            {
495
            {
446
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:909:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
496
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:763:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
447
            int alt2=2;
497
            int alt2=2;
448
            int LA2_0 = input.LA(1);
498
            int LA2_0 = input.LA(1);
449
499
Lines 455-470 Link Here
455
            }
505
            }
456
            else {
506
            else {
457
                NoViableAltException nvae =
507
                NoViableAltException nvae =
458
                    new NoViableAltException("909:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )", 2, 0, input);
508
                    new NoViableAltException("", 2, 0, input);
459
509
460
                throw nvae;
510
                throw nvae;
461
            }
511
            }
462
            switch (alt2) {
512
            switch (alt2) {
463
                case 1 :
513
                case 1 :
464
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:909:26: '0' .. '9' ( '0' .. '9' )*
514
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:763:26: '0' .. '9' ( '0' .. '9' )*
465
                    {
515
                    {
466
                    matchRange('0','9'); 
516
                    matchRange('0','9'); 
467
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:909:35: ( '0' .. '9' )*
517
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:763:35: ( '0' .. '9' )*
468
                    loop1:
518
                    loop1:
469
                    do {
519
                    do {
470
                        int alt1=2;
520
                        int alt1=2;
Lines 477-483 Link Here
477
527
478
                        switch (alt1) {
528
                        switch (alt1) {
479
                    	case 1 :
529
                    	case 1 :
480
                    	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:909:36: '0' .. '9'
530
                    	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:763:36: '0' .. '9'
481
                    	    {
531
                    	    {
482
                    	    matchRange('0','9'); 
532
                    	    matchRange('0','9'); 
483
533
Lines 493-499 Link Here
493
                    }
543
                    }
494
                    break;
544
                    break;
495
                case 2 :
545
                case 2 :
496
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:909:47: '*'
546
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:763:47: '*'
497
                    {
547
                    {
498
                    match('*'); 
548
                    match('*'); 
499
549
Lines 505-525 Link Here
505
555
506
            }
556
            }
507
557
508
            this.type = _type;
558
            state.type = _type;
559
            state.channel = _channel;
509
        }
560
        }
510
        finally {
561
        finally {
511
        }
562
        }
512
    }
563
    }
513
    // $ANTLR end RULE_UNLIMITEDLITERAL
564
    // $ANTLR end "RULE_UNLIMITEDLITERAL"
514
565
515
    // $ANTLR start RULE_ID
566
    // $ANTLR start "RULE_ID"
516
    public final void mRULE_ID() throws RecognitionException {
567
    public final void mRULE_ID() throws RecognitionException {
517
        try {
568
        try {
518
            int _type = RULE_ID;
569
            int _type = RULE_ID;
519
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:911:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
570
            int _channel = DEFAULT_TOKEN_CHANNEL;
520
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:911:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
571
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:765:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
572
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:765:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
521
            {
573
            {
522
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:911:11: ( '^' )?
574
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:765:11: ( '^' )?
523
            int alt3=2;
575
            int alt3=2;
524
            int LA3_0 = input.LA(1);
576
            int LA3_0 = input.LA(1);
525
577
Lines 528-534 Link Here
528
            }
580
            }
529
            switch (alt3) {
581
            switch (alt3) {
530
                case 1 :
582
                case 1 :
531
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:911:11: '^'
583
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:765:11: '^'
532
                    {
584
                    {
533
                    match('^'); 
585
                    match('^'); 
534
586
Lines 542-553 Link Here
542
594
543
            }
595
            }
544
            else {
596
            else {
545
                MismatchedSetException mse =
597
                MismatchedSetException mse = new MismatchedSetException(null,input);
546
                    new MismatchedSetException(null,input);
598
                recover(mse);
547
                recover(mse);    throw mse;
599
                throw mse;}
548
            }
549
600
550
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:911:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
601
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:765:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
551
            loop4:
602
            loop4:
552
            do {
603
            do {
553
                int alt4=2;
604
                int alt4=2;
Lines 567-576 Link Here
567
618
568
            	    }
619
            	    }
569
            	    else {
620
            	    else {
570
            	        MismatchedSetException mse =
621
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
571
            	            new MismatchedSetException(null,input);
622
            	        recover(mse);
572
            	        recover(mse);    throw mse;
623
            	        throw mse;}
573
            	    }
574
624
575
625
576
            	    }
626
            	    }
Lines 584-604 Link Here
584
634
585
            }
635
            }
586
636
587
            this.type = _type;
637
            state.type = _type;
638
            state.channel = _channel;
588
        }
639
        }
589
        finally {
640
        finally {
590
        }
641
        }
591
    }
642
    }
592
    // $ANTLR end RULE_ID
643
    // $ANTLR end "RULE_ID"
593
644
594
    // $ANTLR start RULE_INT
645
    // $ANTLR start "RULE_INT"
595
    public final void mRULE_INT() throws RecognitionException {
646
    public final void mRULE_INT() throws RecognitionException {
596
        try {
647
        try {
597
            int _type = RULE_INT;
648
            int _type = RULE_INT;
598
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:913:10: ( ( '0' .. '9' )+ )
649
            int _channel = DEFAULT_TOKEN_CHANNEL;
599
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:913:12: ( '0' .. '9' )+
650
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:767:10: ( ( '0' .. '9' )+ )
651
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:767:12: ( '0' .. '9' )+
600
            {
652
            {
601
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:913:12: ( '0' .. '9' )+
653
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:767:12: ( '0' .. '9' )+
602
            int cnt5=0;
654
            int cnt5=0;
603
            loop5:
655
            loop5:
604
            do {
656
            do {
Lines 612-618 Link Here
612
664
613
                switch (alt5) {
665
                switch (alt5) {
614
            	case 1 :
666
            	case 1 :
615
            	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:913:13: '0' .. '9'
667
            	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:767:13: '0' .. '9'
616
            	    {
668
            	    {
617
            	    matchRange('0','9'); 
669
            	    matchRange('0','9'); 
618
670
Lines 631-651 Link Here
631
683
632
            }
684
            }
633
685
634
            this.type = _type;
686
            state.type = _type;
687
            state.channel = _channel;
635
        }
688
        }
636
        finally {
689
        finally {
637
        }
690
        }
638
    }
691
    }
639
    // $ANTLR end RULE_INT
692
    // $ANTLR end "RULE_INT"
640
693
641
    // $ANTLR start RULE_STRING
694
    // $ANTLR start "RULE_STRING"
642
    public final void mRULE_STRING() throws RecognitionException {
695
    public final void mRULE_STRING() throws RecognitionException {
643
        try {
696
        try {
644
            int _type = RULE_STRING;
697
            int _type = RULE_STRING;
645
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:915:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
698
            int _channel = DEFAULT_TOKEN_CHANNEL;
646
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:915:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
699
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:769:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
700
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:769:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
647
            {
701
            {
648
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:915:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
702
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:769:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
649
            int alt8=2;
703
            int alt8=2;
650
            int LA8_0 = input.LA(1);
704
            int LA8_0 = input.LA(1);
651
705
Lines 657-672 Link Here
657
            }
711
            }
658
            else {
712
            else {
659
                NoViableAltException nvae =
713
                NoViableAltException nvae =
660
                    new NoViableAltException("915:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 8, 0, input);
714
                    new NoViableAltException("", 8, 0, input);
661
715
662
                throw nvae;
716
                throw nvae;
663
            }
717
            }
664
            switch (alt8) {
718
            switch (alt8) {
665
                case 1 :
719
                case 1 :
666
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:915:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
720
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:769:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
667
                    {
721
                    {
668
                    match('\"'); 
722
                    match('\"'); 
669
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:915:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
723
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:769:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
670
                    loop6:
724
                    loop6:
671
                    do {
725
                    do {
672
                        int alt6=3;
726
                        int alt6=3;
Lines 675-715 Link Here
675
                        if ( (LA6_0=='\\') ) {
729
                        if ( (LA6_0=='\\') ) {
676
                            alt6=1;
730
                            alt6=1;
677
                        }
731
                        }
678
                        else if ( ((LA6_0>='\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFE')) ) {
732
                        else if ( ((LA6_0>='\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) {
679
                            alt6=2;
733
                            alt6=2;
680
                        }
734
                        }
681
735
682
736
683
                        switch (alt6) {
737
                        switch (alt6) {
684
                    	case 1 :
738
                    	case 1 :
685
                    	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:915:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
739
                    	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:769:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
686
                    	    {
740
                    	    {
687
                    	    match('\\'); 
741
                    	    match('\\'); 
688
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
742
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
689
                    	        input.consume();
743
                    	        input.consume();
690
744
691
                    	    }
745
                    	    }
692
                    	    else {
746
                    	    else {
693
                    	        MismatchedSetException mse =
747
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
694
                    	            new MismatchedSetException(null,input);
748
                    	        recover(mse);
695
                    	        recover(mse);    throw mse;
749
                    	        throw mse;}
696
                    	    }
697
750
698
751
699
                    	    }
752
                    	    }
700
                    	    break;
753
                    	    break;
701
                    	case 2 :
754
                    	case 2 :
702
                    	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:915:62: ~ ( ( '\\\\' | '\"' ) )
755
                    	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:769:66: ~ ( ( '\\\\' | '\"' ) )
703
                    	    {
756
                    	    {
704
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
757
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
705
                    	        input.consume();
758
                    	        input.consume();
706
759
707
                    	    }
760
                    	    }
708
                    	    else {
761
                    	    else {
709
                    	        MismatchedSetException mse =
762
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
710
                    	            new MismatchedSetException(null,input);
763
                    	        recover(mse);
711
                    	        recover(mse);    throw mse;
764
                    	        throw mse;}
712
                    	    }
713
765
714
766
715
                    	    }
767
                    	    }
Lines 725-734 Link Here
725
                    }
777
                    }
726
                    break;
778
                    break;
727
                case 2 :
779
                case 2 :
728
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:915:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
780
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:769:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
729
                    {
781
                    {
730
                    match('\''); 
782
                    match('\''); 
731
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:915:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
783
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:769:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
732
                    loop7:
784
                    loop7:
733
                    do {
785
                    do {
734
                        int alt7=3;
786
                        int alt7=3;
Lines 737-777 Link Here
737
                        if ( (LA7_0=='\\') ) {
789
                        if ( (LA7_0=='\\') ) {
738
                            alt7=1;
790
                            alt7=1;
739
                        }
791
                        }
740
                        else if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFE')) ) {
792
                        else if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) {
741
                            alt7=2;
793
                            alt7=2;
742
                        }
794
                        }
743
795
744
796
745
                        switch (alt7) {
797
                        switch (alt7) {
746
                    	case 1 :
798
                    	case 1 :
747
                    	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:915:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
799
                    	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:769:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
748
                    	    {
800
                    	    {
749
                    	    match('\\'); 
801
                    	    match('\\'); 
750
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
802
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
751
                    	        input.consume();
803
                    	        input.consume();
752
804
753
                    	    }
805
                    	    }
754
                    	    else {
806
                    	    else {
755
                    	        MismatchedSetException mse =
807
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
756
                    	            new MismatchedSetException(null,input);
808
                    	        recover(mse);
757
                    	        recover(mse);    throw mse;
809
                    	        throw mse;}
758
                    	    }
759
810
760
811
761
                    	    }
812
                    	    }
762
                    	    break;
813
                    	    break;
763
                    	case 2 :
814
                    	case 2 :
764
                    	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:915:129: ~ ( ( '\\\\' | '\\'' ) )
815
                    	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:769:137: ~ ( ( '\\\\' | '\\'' ) )
765
                    	    {
816
                    	    {
766
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
817
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
767
                    	        input.consume();
818
                    	        input.consume();
768
819
769
                    	    }
820
                    	    }
770
                    	    else {
821
                    	    else {
771
                    	        MismatchedSetException mse =
822
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
772
                    	            new MismatchedSetException(null,input);
823
                    	        recover(mse);
773
                    	        recover(mse);    throw mse;
824
                    	        throw mse;}
774
                    	    }
775
825
776
826
777
                    	    }
827
                    	    }
Lines 792-814 Link Here
792
842
793
            }
843
            }
794
844
795
            this.type = _type;
845
            state.type = _type;
846
            state.channel = _channel;
796
        }
847
        }
797
        finally {
848
        finally {
798
        }
849
        }
799
    }
850
    }
800
    // $ANTLR end RULE_STRING
851
    // $ANTLR end "RULE_STRING"
801
852
802
    // $ANTLR start RULE_ML_COMMENT
853
    // $ANTLR start "RULE_ML_COMMENT"
803
    public final void mRULE_ML_COMMENT() throws RecognitionException {
854
    public final void mRULE_ML_COMMENT() throws RecognitionException {
804
        try {
855
        try {
805
            int _type = RULE_ML_COMMENT;
856
            int _type = RULE_ML_COMMENT;
806
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:917:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
857
            int _channel = DEFAULT_TOKEN_CHANNEL;
807
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:917:19: '/*' ( options {greedy=false; } : . )* '*/'
858
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:771:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
859
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:771:19: '/*' ( options {greedy=false; } : . )* '*/'
808
            {
860
            {
809
            match("/*"); 
861
            match("/*"); 
810
862
811
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:917:24: ( options {greedy=false; } : . )*
863
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:771:24: ( options {greedy=false; } : . )*
812
            loop9:
864
            loop9:
813
            do {
865
            do {
814
                int alt9=2;
866
                int alt9=2;
Lines 820-839 Link Here
820
                    if ( (LA9_1=='/') ) {
872
                    if ( (LA9_1=='/') ) {
821
                        alt9=2;
873
                        alt9=2;
822
                    }
874
                    }
823
                    else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFE')) ) {
875
                    else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) {
824
                        alt9=1;
876
                        alt9=1;
825
                    }
877
                    }
826
878
827
879
828
                }
880
                }
829
                else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFE')) ) {
881
                else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) {
830
                    alt9=1;
882
                    alt9=1;
831
                }
883
                }
832
884
833
885
834
                switch (alt9) {
886
                switch (alt9) {
835
            	case 1 :
887
            	case 1 :
836
            	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:917:52: .
888
            	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:771:52: .
837
            	    {
889
            	    {
838
            	    matchAny(); 
890
            	    matchAny(); 
839
891
Lines 850-895 Link Here
850
902
851
            }
903
            }
852
904
853
            this.type = _type;
905
            state.type = _type;
906
            state.channel = _channel;
854
        }
907
        }
855
        finally {
908
        finally {
856
        }
909
        }
857
    }
910
    }
858
    // $ANTLR end RULE_ML_COMMENT
911
    // $ANTLR end "RULE_ML_COMMENT"
859
912
860
    // $ANTLR start RULE_SL_COMMENT
913
    // $ANTLR start "RULE_SL_COMMENT"
861
    public final void mRULE_SL_COMMENT() throws RecognitionException {
914
    public final void mRULE_SL_COMMENT() throws RecognitionException {
862
        try {
915
        try {
863
            int _type = RULE_SL_COMMENT;
916
            int _type = RULE_SL_COMMENT;
864
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:919:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
917
            int _channel = DEFAULT_TOKEN_CHANNEL;
865
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:919:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
918
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:773:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
919
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:773:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
866
            {
920
            {
867
            match("//"); 
921
            match("//"); 
868
922
869
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:919:24: (~ ( ( '\\n' | '\\r' ) ) )*
923
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:773:24: (~ ( ( '\\n' | '\\r' ) ) )*
870
            loop10:
924
            loop10:
871
            do {
925
            do {
872
                int alt10=2;
926
                int alt10=2;
873
                int LA10_0 = input.LA(1);
927
                int LA10_0 = input.LA(1);
874
928
875
                if ( ((LA10_0>='\u0000' && LA10_0<='\t')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\uFFFE')) ) {
929
                if ( ((LA10_0>='\u0000' && LA10_0<='\t')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\uFFFF')) ) {
876
                    alt10=1;
930
                    alt10=1;
877
                }
931
                }
878
932
879
933
880
                switch (alt10) {
934
                switch (alt10) {
881
            	case 1 :
935
            	case 1 :
882
            	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:919:24: ~ ( ( '\\n' | '\\r' ) )
936
            	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:773:24: ~ ( ( '\\n' | '\\r' ) )
883
            	    {
937
            	    {
884
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFE') ) {
938
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
885
            	        input.consume();
939
            	        input.consume();
886
940
887
            	    }
941
            	    }
888
            	    else {
942
            	    else {
889
            	        MismatchedSetException mse =
943
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
890
            	            new MismatchedSetException(null,input);
944
            	        recover(mse);
891
            	        recover(mse);    throw mse;
945
            	        throw mse;}
892
            	    }
893
946
894
947
895
            	    }
948
            	    }
Lines 900-906 Link Here
900
                }
953
                }
901
            } while (true);
954
            } while (true);
902
955
903
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:919:40: ( ( '\\r' )? '\\n' )?
956
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:773:40: ( ( '\\r' )? '\\n' )?
904
            int alt12=2;
957
            int alt12=2;
905
            int LA12_0 = input.LA(1);
958
            int LA12_0 = input.LA(1);
906
959
Lines 909-917 Link Here
909
            }
962
            }
910
            switch (alt12) {
963
            switch (alt12) {
911
                case 1 :
964
                case 1 :
912
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:919:41: ( '\\r' )? '\\n'
965
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:773:41: ( '\\r' )? '\\n'
913
                    {
966
                    {
914
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:919:41: ( '\\r' )?
967
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:773:41: ( '\\r' )?
915
                    int alt11=2;
968
                    int alt11=2;
916
                    int LA11_0 = input.LA(1);
969
                    int LA11_0 = input.LA(1);
917
970
Lines 920-926 Link Here
920
                    }
973
                    }
921
                    switch (alt11) {
974
                    switch (alt11) {
922
                        case 1 :
975
                        case 1 :
923
                            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:919:41: '\\r'
976
                            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:773:41: '\\r'
924
                            {
977
                            {
925
                            match('\r'); 
978
                            match('\r'); 
926
979
Lines 939-959 Link Here
939
992
940
            }
993
            }
941
994
942
            this.type = _type;
995
            state.type = _type;
996
            state.channel = _channel;
943
        }
997
        }
944
        finally {
998
        finally {
945
        }
999
        }
946
    }
1000
    }
947
    // $ANTLR end RULE_SL_COMMENT
1001
    // $ANTLR end "RULE_SL_COMMENT"
948
1002
949
    // $ANTLR start RULE_WS
1003
    // $ANTLR start "RULE_WS"
950
    public final void mRULE_WS() throws RecognitionException {
1004
    public final void mRULE_WS() throws RecognitionException {
951
        try {
1005
        try {
952
            int _type = RULE_WS;
1006
            int _type = RULE_WS;
953
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:921:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
1007
            int _channel = DEFAULT_TOKEN_CHANNEL;
954
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:921:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1008
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:775:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
1009
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:775:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
955
            {
1010
            {
956
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:921:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1011
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:775:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
957
            int cnt13=0;
1012
            int cnt13=0;
958
            loop13:
1013
            loop13:
959
            do {
1014
            do {
Lines 974-983 Link Here
974
1029
975
            	    }
1030
            	    }
976
            	    else {
1031
            	    else {
977
            	        MismatchedSetException mse =
1032
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
978
            	            new MismatchedSetException(null,input);
1033
            	        recover(mse);
979
            	        recover(mse);    throw mse;
1034
            	        throw mse;}
980
            	    }
981
1035
982
1036
983
            	    }
1037
            	    }
Lines 995-1228 Link Here
995
1049
996
            }
1050
            }
997
1051
998
            this.type = _type;
1052
            state.type = _type;
1053
            state.channel = _channel;
999
        }
1054
        }
1000
        finally {
1055
        finally {
1001
        }
1056
        }
1002
    }
1057
    }
1003
    // $ANTLR end RULE_WS
1058
    // $ANTLR end "RULE_WS"
1004
1059
1005
    // $ANTLR start RULE_ANY_OTHER
1060
    // $ANTLR start "RULE_ANY_OTHER"
1006
    public final void mRULE_ANY_OTHER() throws RecognitionException {
1061
    public final void mRULE_ANY_OTHER() throws RecognitionException {
1007
        try {
1062
        try {
1008
            int _type = RULE_ANY_OTHER;
1063
            int _type = RULE_ANY_OTHER;
1009
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:923:16: ( . )
1064
            int _channel = DEFAULT_TOKEN_CHANNEL;
1010
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:923:18: .
1065
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:777:16: ( . )
1066
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:777:18: .
1011
            {
1067
            {
1012
            matchAny(); 
1068
            matchAny(); 
1013
1069
1014
            }
1070
            }
1015
1071
1016
            this.type = _type;
1072
            state.type = _type;
1073
            state.channel = _channel;
1017
        }
1074
        }
1018
        finally {
1075
        finally {
1019
        }
1076
        }
1020
    }
1077
    }
1021
    // $ANTLR end RULE_ANY_OTHER
1078
    // $ANTLR end "RULE_ANY_OTHER"
1022
1079
1023
    public void mTokens() throws RecognitionException {
1080
    public void mTokens() throws RecognitionException {
1024
        // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:8: ( T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
1081
        // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
1025
        int alt14=29;
1082
        int alt14=29;
1026
        alt14 = dfa14.predict(input);
1083
        alt14 = dfa14.predict(input);
1027
        switch (alt14) {
1084
        switch (alt14) {
1028
            case 1 :
1085
            case 1 :
1029
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:10: T12
1086
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:10: T__12
1030
                {
1087
                {
1031
                mT12(); 
1088
                mT__12(); 
1032
1089
1033
                }
1090
                }
1034
                break;
1091
                break;
1035
            case 2 :
1092
            case 2 :
1036
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:14: T13
1093
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:16: T__13
1037
                {
1094
                {
1038
                mT13(); 
1095
                mT__13(); 
1039
1096
1040
                }
1097
                }
1041
                break;
1098
                break;
1042
            case 3 :
1099
            case 3 :
1043
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:18: T14
1100
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:22: T__14
1044
                {
1101
                {
1045
                mT14(); 
1102
                mT__14(); 
1046
1103
1047
                }
1104
                }
1048
                break;
1105
                break;
1049
            case 4 :
1106
            case 4 :
1050
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:22: T15
1107
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:28: T__15
1051
                {
1108
                {
1052
                mT15(); 
1109
                mT__15(); 
1053
1110
1054
                }
1111
                }
1055
                break;
1112
                break;
1056
            case 5 :
1113
            case 5 :
1057
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:26: T16
1114
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:34: T__16
1058
                {
1115
                {
1059
                mT16(); 
1116
                mT__16(); 
1060
1117
1061
                }
1118
                }
1062
                break;
1119
                break;
1063
            case 6 :
1120
            case 6 :
1064
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:30: T17
1121
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:40: T__17
1065
                {
1122
                {
1066
                mT17(); 
1123
                mT__17(); 
1067
1124
1068
                }
1125
                }
1069
                break;
1126
                break;
1070
            case 7 :
1127
            case 7 :
1071
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:34: T18
1128
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:46: T__18
1072
                {
1129
                {
1073
                mT18(); 
1130
                mT__18(); 
1074
1131
1075
                }
1132
                }
1076
                break;
1133
                break;
1077
            case 8 :
1134
            case 8 :
1078
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:38: T19
1135
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:52: T__19
1079
                {
1136
                {
1080
                mT19(); 
1137
                mT__19(); 
1081
1138
1082
                }
1139
                }
1083
                break;
1140
                break;
1084
            case 9 :
1141
            case 9 :
1085
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:42: T20
1142
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:58: T__20
1086
                {
1143
                {
1087
                mT20(); 
1144
                mT__20(); 
1088
1145
1089
                }
1146
                }
1090
                break;
1147
                break;
1091
            case 10 :
1148
            case 10 :
1092
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:46: T21
1149
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:64: T__21
1093
                {
1150
                {
1094
                mT21(); 
1151
                mT__21(); 
1095
1152
1096
                }
1153
                }
1097
                break;
1154
                break;
1098
            case 11 :
1155
            case 11 :
1099
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:50: T22
1156
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:70: T__22
1100
                {
1157
                {
1101
                mT22(); 
1158
                mT__22(); 
1102
1159
1103
                }
1160
                }
1104
                break;
1161
                break;
1105
            case 12 :
1162
            case 12 :
1106
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:54: T23
1163
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:76: T__23
1107
                {
1164
                {
1108
                mT23(); 
1165
                mT__23(); 
1109
1166
1110
                }
1167
                }
1111
                break;
1168
                break;
1112
            case 13 :
1169
            case 13 :
1113
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:58: T24
1170
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:82: T__24
1114
                {
1171
                {
1115
                mT24(); 
1172
                mT__24(); 
1116
1173
1117
                }
1174
                }
1118
                break;
1175
                break;
1119
            case 14 :
1176
            case 14 :
1120
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:62: T25
1177
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:88: T__25
1121
                {
1178
                {
1122
                mT25(); 
1179
                mT__25(); 
1123
1180
1124
                }
1181
                }
1125
                break;
1182
                break;
1126
            case 15 :
1183
            case 15 :
1127
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:66: T26
1184
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:94: T__26
1128
                {
1185
                {
1129
                mT26(); 
1186
                mT__26(); 
1130
1187
1131
                }
1188
                }
1132
                break;
1189
                break;
1133
            case 16 :
1190
            case 16 :
1134
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:70: T27
1191
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:100: T__27
1135
                {
1192
                {
1136
                mT27(); 
1193
                mT__27(); 
1137
1194
1138
                }
1195
                }
1139
                break;
1196
                break;
1140
            case 17 :
1197
            case 17 :
1141
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:74: T28
1198
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:106: T__28
1142
                {
1199
                {
1143
                mT28(); 
1200
                mT__28(); 
1144
1201
1145
                }
1202
                }
1146
                break;
1203
                break;
1147
            case 18 :
1204
            case 18 :
1148
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:78: T29
1205
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:112: T__29
1149
                {
1206
                {
1150
                mT29(); 
1207
                mT__29(); 
1151
1208
1152
                }
1209
                }
1153
                break;
1210
                break;
1154
            case 19 :
1211
            case 19 :
1155
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:82: T30
1212
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:118: T__30
1156
                {
1213
                {
1157
                mT30(); 
1214
                mT__30(); 
1158
1215
1159
                }
1216
                }
1160
                break;
1217
                break;
1161
            case 20 :
1218
            case 20 :
1162
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:86: T31
1219
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:124: T__31
1163
                {
1220
                {
1164
                mT31(); 
1221
                mT__31(); 
1165
1222
1166
                }
1223
                }
1167
                break;
1224
                break;
1168
            case 21 :
1225
            case 21 :
1169
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:90: T32
1226
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:130: T__32
1170
                {
1227
                {
1171
                mT32(); 
1228
                mT__32(); 
1172
1229
1173
                }
1230
                }
1174
                break;
1231
                break;
1175
            case 22 :
1232
            case 22 :
1176
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:94: RULE_UNLIMITEDLITERAL
1233
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:136: RULE_UNLIMITEDLITERAL
1177
                {
1234
                {
1178
                mRULE_UNLIMITEDLITERAL(); 
1235
                mRULE_UNLIMITEDLITERAL(); 
1179
1236
1180
                }
1237
                }
1181
                break;
1238
                break;
1182
            case 23 :
1239
            case 23 :
1183
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:116: RULE_ID
1240
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:158: RULE_ID
1184
                {
1241
                {
1185
                mRULE_ID(); 
1242
                mRULE_ID(); 
1186
1243
1187
                }
1244
                }
1188
                break;
1245
                break;
1189
            case 24 :
1246
            case 24 :
1190
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:124: RULE_INT
1247
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:166: RULE_INT
1191
                {
1248
                {
1192
                mRULE_INT(); 
1249
                mRULE_INT(); 
1193
1250
1194
                }
1251
                }
1195
                break;
1252
                break;
1196
            case 25 :
1253
            case 25 :
1197
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:133: RULE_STRING
1254
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:175: RULE_STRING
1198
                {
1255
                {
1199
                mRULE_STRING(); 
1256
                mRULE_STRING(); 
1200
1257
1201
                }
1258
                }
1202
                break;
1259
                break;
1203
            case 26 :
1260
            case 26 :
1204
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:145: RULE_ML_COMMENT
1261
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:187: RULE_ML_COMMENT
1205
                {
1262
                {
1206
                mRULE_ML_COMMENT(); 
1263
                mRULE_ML_COMMENT(); 
1207
1264
1208
                }
1265
                }
1209
                break;
1266
                break;
1210
            case 27 :
1267
            case 27 :
1211
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:161: RULE_SL_COMMENT
1268
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:203: RULE_SL_COMMENT
1212
                {
1269
                {
1213
                mRULE_SL_COMMENT(); 
1270
                mRULE_SL_COMMENT(); 
1214
1271
1215
                }
1272
                }
1216
                break;
1273
                break;
1217
            case 28 :
1274
            case 28 :
1218
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:177: RULE_WS
1275
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:219: RULE_WS
1219
                {
1276
                {
1220
                mRULE_WS(); 
1277
                mRULE_WS(); 
1221
1278
1222
                }
1279
                }
1223
                break;
1280
                break;
1224
            case 29 :
1281
            case 29 :
1225
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:185: RULE_ANY_OTHER
1282
                // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:1:227: RULE_ANY_OTHER
1226
                {
1283
                {
1227
                mRULE_ANY_OTHER(); 
1284
                mRULE_ANY_OTHER(); 
1228
1285
Lines 1236-1244 Link Here
1236
1293
1237
    protected DFA14 dfa14 = new DFA14(this);
1294
    protected DFA14 dfa14 = new DFA14(this);
1238
    static final String DFA14_eotS =
1295
    static final String DFA14_eotS =
1239
        "\1\uffff\1\35\1\37\1\32\1\uffff\1\32\4\uffff\2\50\5\uffff\2\50\1"+
1296
        "\1\uffff\1\35\1\37\1\32\1\uffff\1\32\4\uffff\2\50\5\uffff\2\50"+
1240
        "\61\1\uffff\1\32\1\uffff\2\32\16\uffff\1\50\1\uffff\1\50\5\uffff"+
1297
        "\1\61\1\uffff\1\32\1\uffff\2\32\16\uffff\1\50\1\uffff\1\50\5\uffff"+
1241
        "\2\50\1\uffff\1\61\2\uffff\17\50\1\112\4\50\1\117\1\uffff\3\50\1"+
1298
        "\2\50\1\uffff\1\61\2\uffff\16\50\1\111\5\50\1\uffff\1\117\3\50\1"+
1242
        "\123\1\uffff\1\124\1\50\1\126\2\uffff\1\127\2\uffff";
1299
        "\123\1\uffff\1\124\1\50\1\126\2\uffff\1\127\2\uffff";
1243
    static final String DFA14_eofS =
1300
    static final String DFA14_eofS =
1244
        "\130\uffff";
1301
        "\130\uffff";
Lines 1246-1274 Link Here
1246
        "\1\0\1\52\1\72\1\125\1\uffff\1\56\4\uffff\1\145\1\165\5\uffff\1"+
1303
        "\1\0\1\52\1\72\1\125\1\uffff\1\56\4\uffff\1\145\1\165\5\uffff\1"+
1247
        "\156\1\162\1\60\1\uffff\1\101\1\uffff\2\0\16\uffff\1\141\1\uffff"+
1304
        "\156\1\162\1\60\1\uffff\1\101\1\uffff\2\0\16\uffff\1\141\1\uffff"+
1248
        "\1\142\5\uffff\1\151\1\144\1\uffff\1\60\2\uffff\1\145\1\144\1\163"+
1305
        "\1\142\5\uffff\1\151\1\144\1\uffff\1\60\2\uffff\1\145\1\144\1\163"+
1249
        "\1\157\1\145\1\146\1\117\1\145\1\165\1\156\1\162\1\151\1\156\1\164"+
1306
        "\1\157\1\145\1\146\1\117\1\145\1\156\1\165\1\162\1\151\1\156\1\164"+
1250
        "\1\145\1\60\1\145\1\156\1\154\1\163\1\60\1\uffff\1\144\1\145\1\171"+
1307
        "\1\60\2\145\1\156\1\154\1\163\1\uffff\1\60\1\144\1\145\1\171\1\60"+
1251
        "\1\60\1\uffff\1\60\1\163\1\60\2\uffff\1\60\2\uffff";
1308
        "\1\uffff\1\60\1\163\1\60\2\uffff\1\60\2\uffff";
1252
    static final String DFA14_maxS =
1309
    static final String DFA14_maxS =
1253
        "\1\ufffe\1\57\1\72\1\125\1\uffff\1\56\4\uffff\1\145\1\165\5\uffff"+
1310
        "\1\uffff\1\57\1\72\1\125\1\uffff\1\56\4\uffff\1\145\1\165\5\uffff"+
1254
        "\1\156\1\162\1\71\1\uffff\1\172\1\uffff\2\ufffe\16\uffff\1\144\1"+
1311
        "\1\156\1\162\1\71\1\uffff\1\172\1\uffff\2\uffff\16\uffff\1\144\1"+
1255
        "\uffff\1\142\5\uffff\1\151\1\144\1\uffff\1\71\2\uffff\1\145\1\144"+
1312
        "\uffff\1\142\5\uffff\1\151\1\144\1\uffff\1\71\2\uffff\1\145\1\144"+
1256
        "\1\163\1\161\1\145\1\146\1\117\1\145\1\165\1\156\1\162\1\151\1\156"+
1313
        "\1\163\1\161\1\145\1\146\1\117\1\145\1\156\1\165\1\162\1\151\1\156"+
1257
        "\1\164\1\145\1\172\1\145\1\156\1\154\1\163\1\172\1\uffff\1\144\1"+
1314
        "\1\164\1\172\2\145\1\156\1\154\1\163\1\uffff\1\172\1\144\1\145\1"+
1258
        "\145\1\171\1\172\1\uffff\1\172\1\163\1\172\2\uffff\1\172\2\uffff";
1315
        "\171\1\172\1\uffff\1\172\1\163\1\172\2\uffff\1\172\2\uffff";
1259
    static final String DFA14_acceptS =
1316
    static final String DFA14_acceptS =
1260
        "\4\uffff\1\5\1\uffff\1\7\1\10\1\11\1\12\2\uffff\1\15\1\16\1\17\1"+
1317
        "\4\uffff\1\5\1\uffff\1\7\1\10\1\11\1\12\2\uffff\1\15\1\16\1\17"+
1261
        "\20\1\21\3\uffff\1\26\1\uffff\1\27\2\uffff\1\34\1\35\1\32\1\33\1"+
1318
        "\1\20\1\21\3\uffff\1\26\1\uffff\1\27\2\uffff\1\34\1\35\1\32\1\33"+
1262
        "\1\1\4\1\2\1\3\1\5\1\6\1\7\1\10\1\11\1\12\1\uffff\1\27\1\uffff\1"+
1319
        "\1\1\1\4\1\2\1\3\1\5\1\6\1\7\1\10\1\11\1\12\1\uffff\1\27\1\uffff"+
1263
        "\15\1\16\1\17\1\20\1\21\2\uffff\1\26\1\uffff\1\31\1\34\25\uffff"+
1320
        "\1\15\1\16\1\17\1\20\1\21\2\uffff\1\26\1\uffff\1\31\1\34\24\uffff"+
1264
        "\1\23\4\uffff\1\25\3\uffff\1\14\1\24\1\uffff\1\22\1\13";
1321
        "\1\23\5\uffff\1\25\3\uffff\1\14\1\24\1\uffff\1\22\1\13";
1265
    static final String DFA14_specialS =
1322
    static final String DFA14_specialS =
1266
        "\130\uffff}>";
1323
        "\1\1\26\uffff\1\0\1\2\77\uffff}>";
1267
    static final String[] DFA14_transitionS = {
1324
    static final String[] DFA14_transitionS = {
1268
            "\11\32\2\31\2\32\1\31\22\32\1\31\1\32\1\27\1\17\3\32\1\30\2"+
1325
            "\11\32\2\31\2\32\1\31\22\32\1\31\1\32\1\27\1\17\3\32\1\30\2"+
1269
            "\32\1\24\1\15\1\10\1\16\1\5\1\1\12\23\1\2\1\32\1\3\1\14\3\32"+
1326
            "\32\1\24\1\15\1\10\1\16\1\5\1\1\12\23\1\2\1\32\1\3\1\14\3\32"+
1270
            "\32\26\1\4\1\32\1\6\1\25\1\26\1\32\16\26\1\22\2\26\1\12\1\13"+
1327
            "\32\26\1\4\1\32\1\6\1\25\1\26\1\32\16\26\1\22\2\26\1\12\1\13"+
1271
            "\1\26\1\21\5\26\1\7\1\32\1\11\1\20\uff80\32",
1328
            "\1\26\1\21\5\26\1\7\1\32\1\11\1\20\uff81\32",
1272
            "\1\33\4\uffff\1\34",
1329
            "\1\33\4\uffff\1\34",
1273
            "\1\36",
1330
            "\1\36",
1274
            "\1\40",
1331
            "\1\40",
Lines 1291-1298 Link Here
1291
            "",
1348
            "",
1292
            "\32\50\4\uffff\1\50\1\uffff\32\50",
1349
            "\32\50\4\uffff\1\50\1\uffff\32\50",
1293
            "",
1350
            "",
1294
            "\uffff\63",
1351
            "\0\63",
1295
            "\uffff\63",
1352
            "\0\63",
1296
            "",
1353
            "",
1297
            "",
1354
            "",
1298
            "",
1355
            "",
Lines 1324-1330 Link Here
1324
            "\1\72",
1381
            "\1\72",
1325
            "\1\73",
1382
            "\1\73",
1326
            "\1\74",
1383
            "\1\74",
1327
            "\1\76\1\uffff\1\75",
1384
            "\1\75\1\uffff\1\76",
1328
            "\1\77",
1385
            "\1\77",
1329
            "\1\100",
1386
            "\1\100",
1330
            "\1\101",
1387
            "\1\101",
Lines 1335-1348 Link Here
1335
            "\1\106",
1392
            "\1\106",
1336
            "\1\107",
1393
            "\1\107",
1337
            "\1\110",
1394
            "\1\110",
1338
            "\1\111",
1339
            "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
1395
            "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
1396
            "\1\112",
1340
            "\1\113",
1397
            "\1\113",
1341
            "\1\114",
1398
            "\1\114",
1342
            "\1\115",
1399
            "\1\115",
1343
            "\1\116",
1400
            "\1\116",
1344
            "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
1345
            "",
1401
            "",
1402
            "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50",
1346
            "\1\120",
1403
            "\1\120",
1347
            "\1\121",
1404
            "\1\121",
1348
            "\1\122",
1405
            "\1\122",
Lines 1388-1394 Link Here
1388
            this.transition = DFA14_transition;
1445
            this.transition = DFA14_transition;
1389
        }
1446
        }
1390
        public String getDescription() {
1447
        public String getDescription() {
1391
            return "1:1: Tokens : ( T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
1448
            return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
1449
        }
1450
        public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
1451
            IntStream input = _input;
1452
        	int _s = s;
1453
            switch ( s ) {
1454
                    case 0 : 
1455
                        int LA14_23 = input.LA(1);
1456
1457
                        s = -1;
1458
                        if ( ((LA14_23>='\u0000' && LA14_23<='\uFFFF')) ) {s = 51;}
1459
1460
                        else s = 26;
1461
1462
                        if ( s>=0 ) return s;
1463
                        break;
1464
                    case 1 : 
1465
                        int LA14_0 = input.LA(1);
1466
1467
                        s = -1;
1468
                        if ( (LA14_0=='/') ) {s = 1;}
1469
1470
                        else if ( (LA14_0==':') ) {s = 2;}
1471
1472
                        else if ( (LA14_0=='<') ) {s = 3;}
1473
1474
                        else if ( (LA14_0=='[') ) {s = 4;}
1475
1476
                        else if ( (LA14_0=='.') ) {s = 5;}
1477
1478
                        else if ( (LA14_0==']') ) {s = 6;}
1479
1480
                        else if ( (LA14_0=='{') ) {s = 7;}
1481
1482
                        else if ( (LA14_0==',') ) {s = 8;}
1483
1484
                        else if ( (LA14_0=='}') ) {s = 9;}
1485
1486
                        else if ( (LA14_0=='r') ) {s = 10;}
1487
1488
                        else if ( (LA14_0=='s') ) {s = 11;}
1489
1490
                        else if ( (LA14_0=='=') ) {s = 12;}
1491
1492
                        else if ( (LA14_0=='+') ) {s = 13;}
1493
1494
                        else if ( (LA14_0=='-') ) {s = 14;}
1495
1496
                        else if ( (LA14_0=='#') ) {s = 15;}
1497
1498
                        else if ( (LA14_0=='~') ) {s = 16;}
1499
1500
                        else if ( (LA14_0=='u') ) {s = 17;}
1501
1502
                        else if ( (LA14_0=='o') ) {s = 18;}
1503
1504
                        else if ( ((LA14_0>='0' && LA14_0<='9')) ) {s = 19;}
1505
1506
                        else if ( (LA14_0=='*') ) {s = 20;}
1507
1508
                        else if ( (LA14_0=='^') ) {s = 21;}
1509
1510
                        else if ( ((LA14_0>='A' && LA14_0<='Z')||LA14_0=='_'||(LA14_0>='a' && LA14_0<='n')||(LA14_0>='p' && LA14_0<='q')||LA14_0=='t'||(LA14_0>='v' && LA14_0<='z')) ) {s = 22;}
1511
1512
                        else if ( (LA14_0=='\"') ) {s = 23;}
1513
1514
                        else if ( (LA14_0=='\'') ) {s = 24;}
1515
1516
                        else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 25;}
1517
1518
                        else if ( ((LA14_0>='\u0000' && LA14_0<='\b')||(LA14_0>='\u000B' && LA14_0<='\f')||(LA14_0>='\u000E' && LA14_0<='\u001F')||LA14_0=='!'||(LA14_0>='$' && LA14_0<='&')||(LA14_0>='(' && LA14_0<=')')||LA14_0==';'||(LA14_0>='>' && LA14_0<='@')||LA14_0=='\\'||LA14_0=='`'||LA14_0=='|'||(LA14_0>='\u007F' && LA14_0<='\uFFFF')) ) {s = 26;}
1519
1520
                        if ( s>=0 ) return s;
1521
                        break;
1522
                    case 2 : 
1523
                        int LA14_24 = input.LA(1);
1524
1525
                        s = -1;
1526
                        if ( ((LA14_24>='\u0000' && LA14_24<='\uFFFF')) ) {s = 51;}
1527
1528
                        else s = 26;
1529
1530
                        if ( s>=0 ) return s;
1531
                        break;
1532
            }
1533
            NoViableAltException nvae =
1534
                new NoViableAltException(getDescription(), 14, _s, input);
1535
            error(nvae);
1536
            throw nvae;
1392
        }
1537
        }
1393
    }
1538
    }
1394
 
1539
 
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.tokens (-3 / +24 lines)
Lines 1-11 Link Here
1
RULE_ID=4
1
RULE_ID=4
2
RULE_STRING=6
3
RULE_UNLIMITEDLITERAL=5
2
RULE_UNLIMITEDLITERAL=5
3
T__29=29
4
T__28=28
5
T__27=27
6
T__26=26
7
T__25=25
8
T__24=24
9
T__23=23
10
T__22=22
4
RULE_ANY_OTHER=11
11
RULE_ANY_OTHER=11
5
RULE_INT=7
12
T__21=21
6
RULE_WS=10
13
T__20=20
7
RULE_SL_COMMENT=9
14
RULE_SL_COMMENT=9
8
RULE_ML_COMMENT=8
15
RULE_ML_COMMENT=8
16
T__30=30
17
T__19=19
18
T__31=31
19
RULE_STRING=6
20
T__32=32
21
T__16=16
22
T__15=15
23
T__18=18
24
T__17=17
25
T__12=12
26
T__14=14
27
T__13=13
28
RULE_INT=7
29
RULE_WS=10
9
'..'=17
30
'..'=17
10
'ordered'=31
31
'ordered'=31
11
'#'=27
32
'#'=27
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlPropertyParser.java (-750 / +683 lines)
Lines 1-10 Link Here
1
package org.eclipse.papyrus.property.editor.xtext.parser.antlr.internal; 
1
package org.eclipse.papyrus.property.editor.xtext.parser.antlr.internal; 
2
2
3
import java.io.InputStream;
4
import org.eclipse.xtext.*;
3
import org.eclipse.xtext.*;
5
import org.eclipse.xtext.parser.*;
4
import org.eclipse.xtext.parser.*;
6
import org.eclipse.xtext.parser.impl.*;
5
import org.eclipse.xtext.parser.impl.*;
7
import org.eclipse.xtext.parsetree.*;
8
import org.eclipse.emf.ecore.util.EcoreUtil;
6
import org.eclipse.emf.ecore.util.EcoreUtil;
9
import org.eclipse.emf.ecore.EObject;
7
import org.eclipse.emf.ecore.EObject;
10
import org.eclipse.emf.common.util.Enumerator;
8
import org.eclipse.emf.common.util.Enumerator;
Lines 12-18 Link Here
12
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
10
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
13
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
11
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
14
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
12
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
15
import org.eclipse.xtext.conversion.ValueConverterException;
16
import org.eclipse.papyrus.property.editor.xtext.services.UmlPropertyGrammarAccess;
13
import org.eclipse.papyrus.property.editor.xtext.services.UmlPropertyGrammarAccess;
17
14
18
15
Lines 28-65 Link Here
28
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_UNLIMITEDLITERAL", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'/'", "':'", "'<Undefined>'", "'::'", "'['", "'..'", "']'", "'{'", "','", "'}'", "'redefines'", "'subsets'", "'='", "'+'", "'-'", "'#'", "'~'", "'readOnly'", "'union'", "'ordered'", "'unique'"
25
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_UNLIMITEDLITERAL", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'/'", "':'", "'<Undefined>'", "'::'", "'['", "'..'", "']'", "'{'", "','", "'}'", "'redefines'", "'subsets'", "'='", "'+'", "'-'", "'#'", "'~'", "'readOnly'", "'union'", "'ordered'", "'unique'"
29
    };
26
    };
30
    public static final int RULE_ID=4;
27
    public static final int RULE_ID=4;
31
    public static final int RULE_STRING=6;
32
    public static final int RULE_UNLIMITEDLITERAL=5;
28
    public static final int RULE_UNLIMITEDLITERAL=5;
29
    public static final int T__29=29;
30
    public static final int T__28=28;
31
    public static final int T__27=27;
32
    public static final int T__26=26;
33
    public static final int T__25=25;
34
    public static final int T__24=24;
35
    public static final int T__23=23;
36
    public static final int T__22=22;
33
    public static final int RULE_ANY_OTHER=11;
37
    public static final int RULE_ANY_OTHER=11;
34
    public static final int RULE_INT=7;
38
    public static final int T__21=21;
35
    public static final int RULE_WS=10;
39
    public static final int T__20=20;
36
    public static final int RULE_SL_COMMENT=9;
40
    public static final int RULE_SL_COMMENT=9;
37
    public static final int EOF=-1;
41
    public static final int EOF=-1;
38
    public static final int RULE_ML_COMMENT=8;
42
    public static final int RULE_ML_COMMENT=8;
43
    public static final int T__30=30;
44
    public static final int T__19=19;
45
    public static final int T__31=31;
46
    public static final int RULE_STRING=6;
47
    public static final int T__32=32;
48
    public static final int T__16=16;
49
    public static final int T__15=15;
50
    public static final int T__18=18;
51
    public static final int T__17=17;
52
    public static final int T__12=12;
53
    public static final int T__14=14;
54
    public static final int T__13=13;
55
    public static final int RULE_INT=7;
56
    public static final int RULE_WS=10;
57
58
    // delegates
59
    // delegators
60
39
61
40
        public InternalUmlPropertyParser(TokenStream input) {
62
        public InternalUmlPropertyParser(TokenStream input) {
41
            super(input);
63
            this(input, new RecognizerSharedState());
64
        }
65
        public InternalUmlPropertyParser(TokenStream input, RecognizerSharedState state) {
66
            super(input, state);
67
             
42
        }
68
        }
43
        
69
        
44
70
45
    public String[] getTokenNames() { return tokenNames; }
71
    public String[] getTokenNames() { return InternalUmlPropertyParser.tokenNames; }
46
    public String getGrammarFileName() { return "../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g"; }
72
    public String getGrammarFileName() { return "../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g"; }
47
73
48
74
49
75
50
     	private UmlPropertyGrammarAccess grammarAccess;
76
     	private UmlPropertyGrammarAccess grammarAccess;
51
     	
77
     	
52
        public InternalUmlPropertyParser(TokenStream input, IAstFactory factory, UmlPropertyGrammarAccess grammarAccess) {
78
        public InternalUmlPropertyParser(TokenStream input, UmlPropertyGrammarAccess grammarAccess) {
53
            this(input);
79
            this(input);
54
            this.factory = factory;
55
            registerRules(grammarAccess.getGrammar());
56
            this.grammarAccess = grammarAccess;
80
            this.grammarAccess = grammarAccess;
57
        }
81
            registerRules(grammarAccess.getGrammar());
58
        
59
        @Override
60
        protected InputStream getTokenFile() {
61
        	ClassLoader classLoader = getClass().getClassLoader();
62
        	return classLoader.getResourceAsStream("org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.tokens");
63
        }
82
        }
64
        
83
        
65
        @Override
84
        @Override
Lines 74-81 Link Here
74
93
75
94
76
95
77
    // $ANTLR start entryRulePropertyRule
96
    // $ANTLR start "entryRulePropertyRule"
78
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:78:1: entryRulePropertyRule returns [EObject current=null] : iv_rulePropertyRule= rulePropertyRule EOF ;
97
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:68:1: entryRulePropertyRule returns [EObject current=null] : iv_rulePropertyRule= rulePropertyRule EOF ;
79
    public final EObject entryRulePropertyRule() throws RecognitionException {
98
    public final EObject entryRulePropertyRule() throws RecognitionException {
80
        EObject current = null;
99
        EObject current = null;
81
100
Lines 83-95 Link Here
83
102
84
103
85
        try {
104
        try {
86
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:79:2: (iv_rulePropertyRule= rulePropertyRule EOF )
105
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:69:2: (iv_rulePropertyRule= rulePropertyRule EOF )
87
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:80:2: iv_rulePropertyRule= rulePropertyRule EOF
106
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:70:2: iv_rulePropertyRule= rulePropertyRule EOF
88
            {
107
            {
89
             currentNode = createCompositeNode(grammarAccess.getPropertyRuleRule(), currentNode); 
108
             newCompositeNode(grammarAccess.getPropertyRuleRule()); 
90
            pushFollow(FOLLOW_rulePropertyRule_in_entryRulePropertyRule75);
109
            pushFollow(FOLLOW_rulePropertyRule_in_entryRulePropertyRule75);
91
            iv_rulePropertyRule=rulePropertyRule();
110
            iv_rulePropertyRule=rulePropertyRule();
92
            _fsp--;
111
112
            state._fsp--;
93
113
94
             current =iv_rulePropertyRule; 
114
             current =iv_rulePropertyRule; 
95
            match(input,EOF,FOLLOW_EOF_in_entryRulePropertyRule85); 
115
            match(input,EOF,FOLLOW_EOF_in_entryRulePropertyRule85); 
Lines 106-121 Link Here
106
        }
126
        }
107
        return current;
127
        return current;
108
    }
128
    }
109
    // $ANTLR end entryRulePropertyRule
129
    // $ANTLR end "entryRulePropertyRule"
110
130
111
131
112
    // $ANTLR start rulePropertyRule
132
    // $ANTLR start "rulePropertyRule"
113
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:87:1: rulePropertyRule returns [EObject current=null] : ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_isDerived_1_0= '/' ) )? ( (lv_name_2_0= RULE_ID ) ) ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_default_8_0= ruleDefaultValueRule ) )? ) ;
133
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:77:1: rulePropertyRule returns [EObject current=null] : ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_isDerived_1_0= '/' ) )? ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | otherlv_5= '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_default_8_0= ruleDefaultValueRule ) )? ) ;
114
    public final EObject rulePropertyRule() throws RecognitionException {
134
    public final EObject rulePropertyRule() throws RecognitionException {
115
        EObject current = null;
135
        EObject current = null;
116
136
117
        Token lv_isDerived_1_0=null;
137
        Token lv_isDerived_1_0=null;
118
        Token lv_name_2_0=null;
138
        Token lv_name_2_0=null;
139
        Token otherlv_3=null;
140
        Token otherlv_5=null;
119
        Enumerator lv_visibility_0_0 = null;
141
        Enumerator lv_visibility_0_0 = null;
120
142
121
        EObject lv_type_4_0 = null;
143
        EObject lv_type_4_0 = null;
Lines 127-170 Link Here
127
        EObject lv_default_8_0 = null;
149
        EObject lv_default_8_0 = null;
128
150
129
151
130
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
152
         enterRule(); 
131
            
153
            
132
        try {
154
        try {
133
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:92:6: ( ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_isDerived_1_0= '/' ) )? ( (lv_name_2_0= RULE_ID ) ) ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_default_8_0= ruleDefaultValueRule ) )? ) )
155
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:80:28: ( ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_isDerived_1_0= '/' ) )? ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | otherlv_5= '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_default_8_0= ruleDefaultValueRule ) )? ) )
134
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:93:1: ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_isDerived_1_0= '/' ) )? ( (lv_name_2_0= RULE_ID ) ) ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_default_8_0= ruleDefaultValueRule ) )? )
156
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:81:1: ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_isDerived_1_0= '/' ) )? ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | otherlv_5= '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_default_8_0= ruleDefaultValueRule ) )? )
135
            {
157
            {
136
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:93:1: ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_isDerived_1_0= '/' ) )? ( (lv_name_2_0= RULE_ID ) ) ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_default_8_0= ruleDefaultValueRule ) )? )
158
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:81:1: ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_isDerived_1_0= '/' ) )? ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | otherlv_5= '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_default_8_0= ruleDefaultValueRule ) )? )
137
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:93:2: ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_isDerived_1_0= '/' ) )? ( (lv_name_2_0= RULE_ID ) ) ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_default_8_0= ruleDefaultValueRule ) )?
159
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:81:2: ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_isDerived_1_0= '/' ) )? ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | otherlv_5= '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_default_8_0= ruleDefaultValueRule ) )?
138
            {
160
            {
139
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:93:2: ( (lv_visibility_0_0= ruleVisibilityKind ) )
161
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:81:2: ( (lv_visibility_0_0= ruleVisibilityKind ) )
140
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:94:1: (lv_visibility_0_0= ruleVisibilityKind )
162
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:82:1: (lv_visibility_0_0= ruleVisibilityKind )
141
            {
163
            {
142
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:94:1: (lv_visibility_0_0= ruleVisibilityKind )
164
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:82:1: (lv_visibility_0_0= ruleVisibilityKind )
143
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:95:3: lv_visibility_0_0= ruleVisibilityKind
165
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:83:3: lv_visibility_0_0= ruleVisibilityKind
144
            {
166
            {
145
             
167
             
146
            	        currentNode=createCompositeNode(grammarAccess.getPropertyRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0(), currentNode); 
168
            	        newCompositeNode(grammarAccess.getPropertyRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); 
147
            	    
169
            	    
148
            pushFollow(FOLLOW_ruleVisibilityKind_in_rulePropertyRule131);
170
            pushFollow(FOLLOW_ruleVisibilityKind_in_rulePropertyRule131);
149
            lv_visibility_0_0=ruleVisibilityKind();
171
            lv_visibility_0_0=ruleVisibilityKind();
150
            _fsp--;
172
173
            state._fsp--;
151
174
152
175
153
            	        if (current==null) {
176
            	        if (current==null) {
154
            	            current = factory.create(grammarAccess.getPropertyRuleRule().getType().getClassifier());
177
            	            current = createModelElementForParent(grammarAccess.getPropertyRuleRule());
155
            	            associateNodeWithAstElement(currentNode.getParent(), current);
156
            	        }
157
            	        try {
158
            	       		set(
159
            	       			current, 
160
            	       			"visibility",
161
            	        		lv_visibility_0_0, 
162
            	        		"VisibilityKind", 
163
            	        		currentNode);
164
            	        } catch (ValueConverterException vce) {
165
            				handleValueConverterException(vce);
166
            	        }
178
            	        }
167
            	        currentNode = currentNode.getParent();
179
                   		set(
180
                   			current, 
181
                   			"visibility",
182
                    		lv_visibility_0_0, 
183
                    		"VisibilityKind");
184
            	        afterParserOrEnumRuleCall();
168
            	    
185
            	    
169
186
170
            }
187
            }
Lines 172-178 Link Here
172
189
173
            }
190
            }
174
191
175
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:117:2: ( (lv_isDerived_1_0= '/' ) )?
192
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:99:2: ( (lv_isDerived_1_0= '/' ) )?
176
            int alt1=2;
193
            int alt1=2;
177
            int LA1_0 = input.LA(1);
194
            int LA1_0 = input.LA(1);
178
195
Lines 181-207 Link Here
181
            }
198
            }
182
            switch (alt1) {
199
            switch (alt1) {
183
                case 1 :
200
                case 1 :
184
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:118:1: (lv_isDerived_1_0= '/' )
201
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:100:1: (lv_isDerived_1_0= '/' )
185
                    {
202
                    {
186
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:118:1: (lv_isDerived_1_0= '/' )
203
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:100:1: (lv_isDerived_1_0= '/' )
187
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:119:3: lv_isDerived_1_0= '/'
204
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:101:3: lv_isDerived_1_0= '/'
188
                    {
205
                    {
189
                    lv_isDerived_1_0=(Token)input.LT(1);
206
                    lv_isDerived_1_0=(Token)match(input,12,FOLLOW_12_in_rulePropertyRule149); 
190
                    match(input,12,FOLLOW_12_in_rulePropertyRule149); 
191
207
192
                            createLeafNode(grammarAccess.getPropertyRuleAccess().getIsDerivedSolidusKeyword_1_0(), "isDerived"); 
208
                            newLeafNode(lv_isDerived_1_0, grammarAccess.getPropertyRuleAccess().getIsDerivedSolidusKeyword_1_0());
193
                        
209
                        
194
210
195
                    	        if (current==null) {
211
                    	        if (current==null) {
196
                    	            current = factory.create(grammarAccess.getPropertyRuleRule().getType().getClassifier());
212
                    	            current = createModelElement(grammarAccess.getPropertyRuleRule());
197
                    	            associateNodeWithAstElement(currentNode, current);
198
                    	        }
213
                    	        }
199
                    	        
214
                           		setWithLastConsumed(current, "isDerived", lv_isDerived_1_0, "/");
200
                    	        try {
201
                    	       		set(current, "isDerived", lv_isDerived_1_0, "/", lastConsumedNode);
202
                    	        } catch (ValueConverterException vce) {
203
                    				handleValueConverterException(vce);
204
                    	        }
205
                    	    
215
                    	    
206
216
207
                    }
217
                    }
Lines 212-243 Link Here
212
222
213
            }
223
            }
214
224
215
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:138:3: ( (lv_name_2_0= RULE_ID ) )
225
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:114:3: ( (lv_name_2_0= RULE_ID ) )
216
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:139:1: (lv_name_2_0= RULE_ID )
226
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:115:1: (lv_name_2_0= RULE_ID )
217
            {
227
            {
218
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:139:1: (lv_name_2_0= RULE_ID )
228
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:115:1: (lv_name_2_0= RULE_ID )
219
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:140:3: lv_name_2_0= RULE_ID
229
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:116:3: lv_name_2_0= RULE_ID
220
            {
230
            {
221
            lv_name_2_0=(Token)input.LT(1);
231
            lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePropertyRule180); 
222
            match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePropertyRule180); 
223
232
224
            			createLeafNode(grammarAccess.getPropertyRuleAccess().getNameIDTerminalRuleCall_2_0(), "name"); 
233
            			newLeafNode(lv_name_2_0, grammarAccess.getPropertyRuleAccess().getNameIDTerminalRuleCall_2_0()); 
225
            		
234
            		
226
235
227
            	        if (current==null) {
236
            	        if (current==null) {
228
            	            current = factory.create(grammarAccess.getPropertyRuleRule().getType().getClassifier());
237
            	            current = createModelElement(grammarAccess.getPropertyRuleRule());
229
            	            associateNodeWithAstElement(currentNode, current);
230
            	        }
238
            	        }
231
            	        try {
239
                   		setWithLastConsumed(
232
            	       		set(
240
                   			current, 
233
            	       			current, 
241
                   			"name",
234
            	       			"name",
242
                    		lv_name_2_0, 
235
            	        		lv_name_2_0, 
243
                    		"ID");
236
            	        		"ID", 
237
            	        		lastConsumedNode);
238
            	        } catch (ValueConverterException vce) {
239
            				handleValueConverterException(vce);
240
            	        }
241
            	    
244
            	    
242
245
243
            }
246
            }
Lines 245-255 Link Here
245
248
246
            }
249
            }
247
250
248
            match(input,13,FOLLOW_13_in_rulePropertyRule195); 
251
            otherlv_3=(Token)match(input,13,FOLLOW_13_in_rulePropertyRule197); 
249
252
250
                    createLeafNode(grammarAccess.getPropertyRuleAccess().getColonKeyword_3(), null); 
253
                	newLeafNode(otherlv_3, grammarAccess.getPropertyRuleAccess().getColonKeyword_3());
251
                
254
                
252
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:166:1: ( ( (lv_type_4_0= ruleTypeRule ) ) | '<Undefined>' )
255
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:136:1: ( ( (lv_type_4_0= ruleTypeRule ) ) | otherlv_5= '<Undefined>' )
253
            int alt2=2;
256
            int alt2=2;
254
            int LA2_0 = input.LA(1);
257
            int LA2_0 = input.LA(1);
255
258
Lines 261-303 Link Here
261
            }
264
            }
262
            else {
265
            else {
263
                NoViableAltException nvae =
266
                NoViableAltException nvae =
264
                    new NoViableAltException("166:1: ( ( (lv_type_4_0= ruleTypeRule ) ) | '<Undefined>' )", 2, 0, input);
267
                    new NoViableAltException("", 2, 0, input);
265
268
266
                throw nvae;
269
                throw nvae;
267
            }
270
            }
268
            switch (alt2) {
271
            switch (alt2) {
269
                case 1 :
272
                case 1 :
270
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:166:2: ( (lv_type_4_0= ruleTypeRule ) )
273
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:136:2: ( (lv_type_4_0= ruleTypeRule ) )
271
                    {
274
                    {
272
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:166:2: ( (lv_type_4_0= ruleTypeRule ) )
275
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:136:2: ( (lv_type_4_0= ruleTypeRule ) )
273
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:167:1: (lv_type_4_0= ruleTypeRule )
276
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:137:1: (lv_type_4_0= ruleTypeRule )
274
                    {
277
                    {
275
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:167:1: (lv_type_4_0= ruleTypeRule )
278
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:137:1: (lv_type_4_0= ruleTypeRule )
276
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:168:3: lv_type_4_0= ruleTypeRule
279
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:138:3: lv_type_4_0= ruleTypeRule
277
                    {
280
                    {
278
                     
281
                     
279
                    	        currentNode=createCompositeNode(grammarAccess.getPropertyRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0(), currentNode); 
282
                    	        newCompositeNode(grammarAccess.getPropertyRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0()); 
280
                    	    
283
                    	    
281
                    pushFollow(FOLLOW_ruleTypeRule_in_rulePropertyRule217);
284
                    pushFollow(FOLLOW_ruleTypeRule_in_rulePropertyRule219);
282
                    lv_type_4_0=ruleTypeRule();
285
                    lv_type_4_0=ruleTypeRule();
283
                    _fsp--;
284
286
287
                    state._fsp--;
288
285
289
286
                    	        if (current==null) {
290
                    	        if (current==null) {
287
                    	            current = factory.create(grammarAccess.getPropertyRuleRule().getType().getClassifier());
291
                    	            current = createModelElementForParent(grammarAccess.getPropertyRuleRule());
288
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
289
                    	        }
292
                    	        }
290
                    	        try {
293
                           		set(
291
                    	       		set(
294
                           			current, 
292
                    	       			current, 
295
                           			"type",
293
                    	       			"type",
296
                            		lv_type_4_0, 
294
                    	        		lv_type_4_0, 
297
                            		"TypeRule");
295
                    	        		"TypeRule", 
298
                    	        afterParserOrEnumRuleCall();
296
                    	        		currentNode);
297
                    	        } catch (ValueConverterException vce) {
298
                    				handleValueConverterException(vce);
299
                    	        }
300
                    	        currentNode = currentNode.getParent();
301
                    	    
299
                    	    
302
300
303
                    }
301
                    }
Lines 309-319 Link Here
309
                    }
307
                    }
310
                    break;
308
                    break;
311
                case 2 :
309
                case 2 :
312
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:191:7: '<Undefined>'
310
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:155:7: otherlv_5= '<Undefined>'
313
                    {
311
                    {
314
                    match(input,14,FOLLOW_14_in_rulePropertyRule233); 
312
                    otherlv_5=(Token)match(input,14,FOLLOW_14_in_rulePropertyRule237); 
315
313
316
                            createLeafNode(grammarAccess.getPropertyRuleAccess().getUndefinedKeyword_4_1(), null); 
314
                        	newLeafNode(otherlv_5, grammarAccess.getPropertyRuleAccess().getUndefinedKeyword_4_1());
317
                        
315
                        
318
316
319
                    }
317
                    }
Lines 321-327 Link Here
321
319
322
            }
320
            }
323
321
324
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:195:2: ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )?
322
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:159:2: ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )?
325
            int alt3=2;
323
            int alt3=2;
326
            int LA3_0 = input.LA(1);
324
            int LA3_0 = input.LA(1);
327
325
Lines 330-363 Link Here
330
            }
328
            }
331
            switch (alt3) {
329
            switch (alt3) {
332
                case 1 :
330
                case 1 :
333
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:196:1: (lv_multiplicity_6_0= ruleMultiplicityRule )
331
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:160:1: (lv_multiplicity_6_0= ruleMultiplicityRule )
334
                    {
332
                    {
335
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:196:1: (lv_multiplicity_6_0= ruleMultiplicityRule )
333
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:160:1: (lv_multiplicity_6_0= ruleMultiplicityRule )
336
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:197:3: lv_multiplicity_6_0= ruleMultiplicityRule
334
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:161:3: lv_multiplicity_6_0= ruleMultiplicityRule
337
                    {
335
                    {
338
                     
336
                     
339
                    	        currentNode=createCompositeNode(grammarAccess.getPropertyRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0(), currentNode); 
337
                    	        newCompositeNode(grammarAccess.getPropertyRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0()); 
340
                    	    
338
                    	    
341
                    pushFollow(FOLLOW_ruleMultiplicityRule_in_rulePropertyRule255);
339
                    pushFollow(FOLLOW_ruleMultiplicityRule_in_rulePropertyRule259);
342
                    lv_multiplicity_6_0=ruleMultiplicityRule();
340
                    lv_multiplicity_6_0=ruleMultiplicityRule();
343
                    _fsp--;
344
341
342
                    state._fsp--;
343
345
344
346
                    	        if (current==null) {
345
                    	        if (current==null) {
347
                    	            current = factory.create(grammarAccess.getPropertyRuleRule().getType().getClassifier());
346
                    	            current = createModelElementForParent(grammarAccess.getPropertyRuleRule());
348
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
349
                    	        }
347
                    	        }
350
                    	        try {
348
                           		set(
351
                    	       		set(
349
                           			current, 
352
                    	       			current, 
350
                           			"multiplicity",
353
                    	       			"multiplicity",
351
                            		lv_multiplicity_6_0, 
354
                    	        		lv_multiplicity_6_0, 
352
                            		"MultiplicityRule");
355
                    	        		"MultiplicityRule", 
353
                    	        afterParserOrEnumRuleCall();
356
                    	        		currentNode);
357
                    	        } catch (ValueConverterException vce) {
358
                    				handleValueConverterException(vce);
359
                    	        }
360
                    	        currentNode = currentNode.getParent();
361
                    	    
354
                    	    
362
355
363
                    }
356
                    }
Lines 368-374 Link Here
368
361
369
            }
362
            }
370
363
371
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:219:3: ( (lv_modifiers_7_0= ruleModifiersRule ) )?
364
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:177:3: ( (lv_modifiers_7_0= ruleModifiersRule ) )?
372
            int alt4=2;
365
            int alt4=2;
373
            int LA4_0 = input.LA(1);
366
            int LA4_0 = input.LA(1);
374
367
Lines 377-410 Link Here
377
            }
370
            }
378
            switch (alt4) {
371
            switch (alt4) {
379
                case 1 :
372
                case 1 :
380
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:220:1: (lv_modifiers_7_0= ruleModifiersRule )
373
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:178:1: (lv_modifiers_7_0= ruleModifiersRule )
381
                    {
374
                    {
382
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:220:1: (lv_modifiers_7_0= ruleModifiersRule )
375
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:178:1: (lv_modifiers_7_0= ruleModifiersRule )
383
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:221:3: lv_modifiers_7_0= ruleModifiersRule
376
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:179:3: lv_modifiers_7_0= ruleModifiersRule
384
                    {
377
                    {
385
                     
378
                     
386
                    	        currentNode=createCompositeNode(grammarAccess.getPropertyRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0(), currentNode); 
379
                    	        newCompositeNode(grammarAccess.getPropertyRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0()); 
387
                    	    
380
                    	    
388
                    pushFollow(FOLLOW_ruleModifiersRule_in_rulePropertyRule277);
381
                    pushFollow(FOLLOW_ruleModifiersRule_in_rulePropertyRule281);
389
                    lv_modifiers_7_0=ruleModifiersRule();
382
                    lv_modifiers_7_0=ruleModifiersRule();
390
                    _fsp--;
391
383
384
                    state._fsp--;
385
392
386
393
                    	        if (current==null) {
387
                    	        if (current==null) {
394
                    	            current = factory.create(grammarAccess.getPropertyRuleRule().getType().getClassifier());
388
                    	            current = createModelElementForParent(grammarAccess.getPropertyRuleRule());
395
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
396
                    	        }
397
                    	        try {
398
                    	       		set(
399
                    	       			current, 
400
                    	       			"modifiers",
401
                    	        		lv_modifiers_7_0, 
402
                    	        		"ModifiersRule", 
403
                    	        		currentNode);
404
                    	        } catch (ValueConverterException vce) {
405
                    				handleValueConverterException(vce);
406
                    	        }
389
                    	        }
407
                    	        currentNode = currentNode.getParent();
390
                           		set(
391
                           			current, 
392
                           			"modifiers",
393
                            		lv_modifiers_7_0, 
394
                            		"ModifiersRule");
395
                    	        afterParserOrEnumRuleCall();
408
                    	    
396
                    	    
409
397
410
                    }
398
                    }
Lines 415-421 Link Here
415
403
416
            }
404
            }
417
405
418
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:243:3: ( (lv_default_8_0= ruleDefaultValueRule ) )?
406
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:195:3: ( (lv_default_8_0= ruleDefaultValueRule ) )?
419
            int alt5=2;
407
            int alt5=2;
420
            int LA5_0 = input.LA(1);
408
            int LA5_0 = input.LA(1);
421
409
Lines 424-457 Link Here
424
            }
412
            }
425
            switch (alt5) {
413
            switch (alt5) {
426
                case 1 :
414
                case 1 :
427
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:244:1: (lv_default_8_0= ruleDefaultValueRule )
415
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:196:1: (lv_default_8_0= ruleDefaultValueRule )
428
                    {
416
                    {
429
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:244:1: (lv_default_8_0= ruleDefaultValueRule )
417
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:196:1: (lv_default_8_0= ruleDefaultValueRule )
430
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:245:3: lv_default_8_0= ruleDefaultValueRule
418
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:197:3: lv_default_8_0= ruleDefaultValueRule
431
                    {
419
                    {
432
                     
420
                     
433
                    	        currentNode=createCompositeNode(grammarAccess.getPropertyRuleAccess().getDefaultDefaultValueRuleParserRuleCall_7_0(), currentNode); 
421
                    	        newCompositeNode(grammarAccess.getPropertyRuleAccess().getDefaultDefaultValueRuleParserRuleCall_7_0()); 
434
                    	    
422
                    	    
435
                    pushFollow(FOLLOW_ruleDefaultValueRule_in_rulePropertyRule299);
423
                    pushFollow(FOLLOW_ruleDefaultValueRule_in_rulePropertyRule303);
436
                    lv_default_8_0=ruleDefaultValueRule();
424
                    lv_default_8_0=ruleDefaultValueRule();
437
                    _fsp--;
425
426
                    state._fsp--;
438
427
439
428
440
                    	        if (current==null) {
429
                    	        if (current==null) {
441
                    	            current = factory.create(grammarAccess.getPropertyRuleRule().getType().getClassifier());
430
                    	            current = createModelElementForParent(grammarAccess.getPropertyRuleRule());
442
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
443
                    	        }
444
                    	        try {
445
                    	       		set(
446
                    	       			current, 
447
                    	       			"default",
448
                    	        		lv_default_8_0, 
449
                    	        		"DefaultValueRule", 
450
                    	        		currentNode);
451
                    	        } catch (ValueConverterException vce) {
452
                    				handleValueConverterException(vce);
453
                    	        }
431
                    	        }
454
                    	        currentNode = currentNode.getParent();
432
                           		set(
433
                           			current, 
434
                           			"default",
435
                            		lv_default_8_0, 
436
                            		"DefaultValueRule");
437
                    	        afterParserOrEnumRuleCall();
455
                    	    
438
                    	    
456
439
457
                    }
440
                    }
Lines 468-476 Link Here
468
451
469
            }
452
            }
470
453
471
             resetLookahead(); 
454
             leaveRule(); 
472
                	lastConsumedNode = currentNode;
473
                
474
        }
455
        }
475
         
456
         
476
            catch (RecognitionException re) { 
457
            catch (RecognitionException re) { 
Lines 481-491 Link Here
481
        }
462
        }
482
        return current;
463
        return current;
483
    }
464
    }
484
    // $ANTLR end rulePropertyRule
465
    // $ANTLR end "rulePropertyRule"
485
466
486
467
487
    // $ANTLR start entryRuleTypeRule
468
    // $ANTLR start "entryRuleTypeRule"
488
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:275:1: entryRuleTypeRule returns [EObject current=null] : iv_ruleTypeRule= ruleTypeRule EOF ;
469
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:221:1: entryRuleTypeRule returns [EObject current=null] : iv_ruleTypeRule= ruleTypeRule EOF ;
489
    public final EObject entryRuleTypeRule() throws RecognitionException {
470
    public final EObject entryRuleTypeRule() throws RecognitionException {
490
        EObject current = null;
471
        EObject current = null;
491
472
Lines 493-508 Link Here
493
474
494
475
495
        try {
476
        try {
496
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:276:2: (iv_ruleTypeRule= ruleTypeRule EOF )
477
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:222:2: (iv_ruleTypeRule= ruleTypeRule EOF )
497
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:277:2: iv_ruleTypeRule= ruleTypeRule EOF
478
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:223:2: iv_ruleTypeRule= ruleTypeRule EOF
498
            {
479
            {
499
             currentNode = createCompositeNode(grammarAccess.getTypeRuleRule(), currentNode); 
480
             newCompositeNode(grammarAccess.getTypeRuleRule()); 
500
            pushFollow(FOLLOW_ruleTypeRule_in_entryRuleTypeRule336);
481
            pushFollow(FOLLOW_ruleTypeRule_in_entryRuleTypeRule340);
501
            iv_ruleTypeRule=ruleTypeRule();
482
            iv_ruleTypeRule=ruleTypeRule();
502
            _fsp--;
483
484
            state._fsp--;
503
485
504
             current =iv_ruleTypeRule; 
486
             current =iv_ruleTypeRule; 
505
            match(input,EOF,FOLLOW_EOF_in_entryRuleTypeRule346); 
487
            match(input,EOF,FOLLOW_EOF_in_entryRuleTypeRule350); 
506
488
507
            }
489
            }
508
490
Lines 516-542 Link Here
516
        }
498
        }
517
        return current;
499
        return current;
518
    }
500
    }
519
    // $ANTLR end entryRuleTypeRule
501
    // $ANTLR end "entryRuleTypeRule"
520
502
521
503
522
    // $ANTLR start ruleTypeRule
504
    // $ANTLR start "ruleTypeRule"
523
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:284:1: ruleTypeRule returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) ;
505
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:230:1: ruleTypeRule returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) ) ;
524
    public final EObject ruleTypeRule() throws RecognitionException {
506
    public final EObject ruleTypeRule() throws RecognitionException {
525
        EObject current = null;
507
        EObject current = null;
526
508
509
        Token otherlv_1=null;
527
        EObject lv_path_0_0 = null;
510
        EObject lv_path_0_0 = null;
528
511
529
512
530
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
513
         enterRule(); 
531
            
514
            
532
        try {
515
        try {
533
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:289:6: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) )
516
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:233:28: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) ) )
534
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:290:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) )
517
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:234:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) )
535
            {
518
            {
536
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:290:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) )
519
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:234:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) )
537
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:290:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) )
520
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:234:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) )
538
            {
521
            {
539
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:290:2: ( (lv_path_0_0= ruleQualifiedName ) )?
522
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:234:2: ( (lv_path_0_0= ruleQualifiedName ) )?
540
            int alt6=2;
523
            int alt6=2;
541
            int LA6_0 = input.LA(1);
524
            int LA6_0 = input.LA(1);
542
525
Lines 549-582 Link Here
549
            }
532
            }
550
            switch (alt6) {
533
            switch (alt6) {
551
                case 1 :
534
                case 1 :
552
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:291:1: (lv_path_0_0= ruleQualifiedName )
535
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:235:1: (lv_path_0_0= ruleQualifiedName )
553
                    {
536
                    {
554
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:291:1: (lv_path_0_0= ruleQualifiedName )
537
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:235:1: (lv_path_0_0= ruleQualifiedName )
555
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:292:3: lv_path_0_0= ruleQualifiedName
538
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:236:3: lv_path_0_0= ruleQualifiedName
556
                    {
539
                    {
557
                     
540
                     
558
                    	        currentNode=createCompositeNode(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); 
541
                    	        newCompositeNode(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
559
                    	    
542
                    	    
560
                    pushFollow(FOLLOW_ruleQualifiedName_in_ruleTypeRule392);
543
                    pushFollow(FOLLOW_ruleQualifiedName_in_ruleTypeRule396);
561
                    lv_path_0_0=ruleQualifiedName();
544
                    lv_path_0_0=ruleQualifiedName();
562
                    _fsp--;
563
545
546
                    state._fsp--;
547
564
548
565
                    	        if (current==null) {
549
                    	        if (current==null) {
566
                    	            current = factory.create(grammarAccess.getTypeRuleRule().getType().getClassifier());
550
                    	            current = createModelElementForParent(grammarAccess.getTypeRuleRule());
567
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
568
                    	        }
551
                    	        }
569
                    	        try {
552
                           		set(
570
                    	       		set(
553
                           			current, 
571
                    	       			current, 
554
                           			"path",
572
                    	       			"path",
555
                            		lv_path_0_0, 
573
                    	        		lv_path_0_0, 
556
                            		"QualifiedName");
574
                    	        		"QualifiedName", 
557
                    	        afterParserOrEnumRuleCall();
575
                    	        		currentNode);
576
                    	        } catch (ValueConverterException vce) {
577
                    				handleValueConverterException(vce);
578
                    	        }
579
                    	        currentNode = currentNode.getParent();
580
                    	    
558
                    	    
581
559
582
                    }
560
                    }
Lines 587-607 Link Here
587
565
588
            }
566
            }
589
567
590
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:314:3: ( ( RULE_ID ) )
568
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:252:3: ( (otherlv_1= RULE_ID ) )
591
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:315:1: ( RULE_ID )
569
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:253:1: (otherlv_1= RULE_ID )
592
            {
570
            {
593
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:315:1: ( RULE_ID )
571
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:253:1: (otherlv_1= RULE_ID )
594
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:316:3: RULE_ID
572
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:254:3: otherlv_1= RULE_ID
595
            {
573
            {
596
574
597
            			if (current==null) {
575
            			if (current==null) {
598
            	            current = factory.create(grammarAccess.getTypeRuleRule().getType().getClassifier());
576
            	            current = createModelElement(grammarAccess.getTypeRuleRule());
599
            	            associateNodeWithAstElement(currentNode, current);
600
            	        }
577
            	        }
601
                    
578
                    
602
            match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTypeRule411); 
579
            otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTypeRule417); 
603
580
604
            		createLeafNode(grammarAccess.getTypeRuleAccess().getTypeClassifierCrossReference_1_0(), "type"); 
581
            		newLeafNode(otherlv_1, grammarAccess.getTypeRuleAccess().getTypeClassifierCrossReference_1_0()); 
605
            	
582
            	
606
583
607
            }
584
            }
Lines 615-623 Link Here
615
592
616
            }
593
            }
617
594
618
             resetLookahead(); 
595
             leaveRule(); 
619
                	lastConsumedNode = currentNode;
620
                
621
        }
596
        }
622
         
597
         
623
            catch (RecognitionException re) { 
598
            catch (RecognitionException re) { 
Lines 628-638 Link Here
628
        }
603
        }
629
        return current;
604
        return current;
630
    }
605
    }
631
    // $ANTLR end ruleTypeRule
606
    // $ANTLR end "ruleTypeRule"
632
607
633
608
634
    // $ANTLR start entryRuleQualifiedName
609
    // $ANTLR start "entryRuleQualifiedName"
635
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:336:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
610
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:273:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
636
    public final EObject entryRuleQualifiedName() throws RecognitionException {
611
    public final EObject entryRuleQualifiedName() throws RecognitionException {
637
        EObject current = null;
612
        EObject current = null;
638
613
Lines 640-655 Link Here
640
615
641
616
642
        try {
617
        try {
643
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:337:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
618
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:274:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
644
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:338:2: iv_ruleQualifiedName= ruleQualifiedName EOF
619
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:275:2: iv_ruleQualifiedName= ruleQualifiedName EOF
645
            {
620
            {
646
             currentNode = createCompositeNode(grammarAccess.getQualifiedNameRule(), currentNode); 
621
             newCompositeNode(grammarAccess.getQualifiedNameRule()); 
647
            pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName447);
622
            pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName453);
648
            iv_ruleQualifiedName=ruleQualifiedName();
623
            iv_ruleQualifiedName=ruleQualifiedName();
649
            _fsp--;
624
625
            state._fsp--;
650
626
651
             current =iv_ruleQualifiedName; 
627
             current =iv_ruleQualifiedName; 
652
            match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName457); 
628
            match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName463); 
653
629
654
            }
630
            }
655
631
Lines 663-703 Link Here
663
        }
639
        }
664
        return current;
640
        return current;
665
    }
641
    }
666
    // $ANTLR end entryRuleQualifiedName
642
    // $ANTLR end "entryRuleQualifiedName"
667
643
668
644
669
    // $ANTLR start ruleQualifiedName
645
    // $ANTLR start "ruleQualifiedName"
670
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:345:1: ruleQualifiedName returns [EObject current=null] : ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) ;
646
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:282:1: ruleQualifiedName returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) ;
671
    public final EObject ruleQualifiedName() throws RecognitionException {
647
    public final EObject ruleQualifiedName() throws RecognitionException {
672
        EObject current = null;
648
        EObject current = null;
673
649
650
        Token otherlv_0=null;
651
        Token otherlv_1=null;
674
        EObject lv_remaining_2_0 = null;
652
        EObject lv_remaining_2_0 = null;
675
653
676
654
677
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
655
         enterRule(); 
678
            
656
            
679
        try {
657
        try {
680
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:350:6: ( ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) )
658
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:285:28: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) )
681
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:351:1: ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
659
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:286:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
682
            {
660
            {
683
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:351:1: ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
661
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:286:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
684
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:351:2: ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )?
662
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:286:2: ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )?
685
            {
663
            {
686
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:351:2: ( ( RULE_ID ) )
664
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:286:2: ( (otherlv_0= RULE_ID ) )
687
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:352:1: ( RULE_ID )
665
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:287:1: (otherlv_0= RULE_ID )
688
            {
666
            {
689
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:352:1: ( RULE_ID )
667
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:287:1: (otherlv_0= RULE_ID )
690
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:353:3: RULE_ID
668
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:288:3: otherlv_0= RULE_ID
691
            {
669
            {
692
670
693
            			if (current==null) {
671
            			if (current==null) {
694
            	            current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
672
            	            current = createModelElement(grammarAccess.getQualifiedNameRule());
695
            	            associateNodeWithAstElement(currentNode, current);
696
            	        }
673
            	        }
697
                    
674
                    
698
            match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName500); 
675
            otherlv_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName508); 
699
676
700
            		createLeafNode(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(), "path"); 
677
            		newLeafNode(otherlv_0, grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); 
701
            	
678
            	
702
679
703
            }
680
            }
Lines 705-715 Link Here
705
682
706
            }
683
            }
707
684
708
            match(input,15,FOLLOW_15_in_ruleQualifiedName510); 
685
            otherlv_1=(Token)match(input,15,FOLLOW_15_in_ruleQualifiedName520); 
709
686
710
                    createLeafNode(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1(), null); 
687
                	newLeafNode(otherlv_1, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
711
                
688
                
712
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:369:1: ( (lv_remaining_2_0= ruleQualifiedName ) )?
689
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:303:1: ( (lv_remaining_2_0= ruleQualifiedName ) )?
713
            int alt7=2;
690
            int alt7=2;
714
            int LA7_0 = input.LA(1);
691
            int LA7_0 = input.LA(1);
715
692
Lines 722-755 Link Here
722
            }
699
            }
723
            switch (alt7) {
700
            switch (alt7) {
724
                case 1 :
701
                case 1 :
725
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:370:1: (lv_remaining_2_0= ruleQualifiedName )
702
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:304:1: (lv_remaining_2_0= ruleQualifiedName )
726
                    {
703
                    {
727
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:370:1: (lv_remaining_2_0= ruleQualifiedName )
704
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:304:1: (lv_remaining_2_0= ruleQualifiedName )
728
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:371:3: lv_remaining_2_0= ruleQualifiedName
705
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:305:3: lv_remaining_2_0= ruleQualifiedName
729
                    {
706
                    {
730
                     
707
                     
731
                    	        currentNode=createCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(), currentNode); 
708
                    	        newCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
732
                    	    
709
                    	    
733
                    pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedName531);
710
                    pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedName541);
734
                    lv_remaining_2_0=ruleQualifiedName();
711
                    lv_remaining_2_0=ruleQualifiedName();
735
                    _fsp--;
712
713
                    state._fsp--;
736
714
737
715
738
                    	        if (current==null) {
716
                    	        if (current==null) {
739
                    	            current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
717
                    	            current = createModelElementForParent(grammarAccess.getQualifiedNameRule());
740
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
741
                    	        }
742
                    	        try {
743
                    	       		set(
744
                    	       			current, 
745
                    	       			"remaining",
746
                    	        		lv_remaining_2_0, 
747
                    	        		"QualifiedName", 
748
                    	        		currentNode);
749
                    	        } catch (ValueConverterException vce) {
750
                    				handleValueConverterException(vce);
751
                    	        }
718
                    	        }
752
                    	        currentNode = currentNode.getParent();
719
                           		set(
720
                           			current, 
721
                           			"remaining",
722
                            		lv_remaining_2_0, 
723
                            		"QualifiedName");
724
                    	        afterParserOrEnumRuleCall();
753
                    	    
725
                    	    
754
726
755
                    }
727
                    }
Lines 766-774 Link Here
766
738
767
            }
739
            }
768
740
769
             resetLookahead(); 
741
             leaveRule(); 
770
                	lastConsumedNode = currentNode;
771
                
772
        }
742
        }
773
         
743
         
774
            catch (RecognitionException re) { 
744
            catch (RecognitionException re) { 
Lines 779-789 Link Here
779
        }
749
        }
780
        return current;
750
        return current;
781
    }
751
    }
782
    // $ANTLR end ruleQualifiedName
752
    // $ANTLR end "ruleQualifiedName"
783
753
784
754
785
    // $ANTLR start entryRuleMultiplicityRule
755
    // $ANTLR start "entryRuleMultiplicityRule"
786
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:401:1: entryRuleMultiplicityRule returns [EObject current=null] : iv_ruleMultiplicityRule= ruleMultiplicityRule EOF ;
756
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:329:1: entryRuleMultiplicityRule returns [EObject current=null] : iv_ruleMultiplicityRule= ruleMultiplicityRule EOF ;
787
    public final EObject entryRuleMultiplicityRule() throws RecognitionException {
757
    public final EObject entryRuleMultiplicityRule() throws RecognitionException {
788
        EObject current = null;
758
        EObject current = null;
789
759
Lines 791-806 Link Here
791
761
792
762
793
        try {
763
        try {
794
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:402:2: (iv_ruleMultiplicityRule= ruleMultiplicityRule EOF )
764
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:330:2: (iv_ruleMultiplicityRule= ruleMultiplicityRule EOF )
795
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:403:2: iv_ruleMultiplicityRule= ruleMultiplicityRule EOF
765
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:331:2: iv_ruleMultiplicityRule= ruleMultiplicityRule EOF
796
            {
766
            {
797
             currentNode = createCompositeNode(grammarAccess.getMultiplicityRuleRule(), currentNode); 
767
             newCompositeNode(grammarAccess.getMultiplicityRuleRule()); 
798
            pushFollow(FOLLOW_ruleMultiplicityRule_in_entryRuleMultiplicityRule568);
768
            pushFollow(FOLLOW_ruleMultiplicityRule_in_entryRuleMultiplicityRule578);
799
            iv_ruleMultiplicityRule=ruleMultiplicityRule();
769
            iv_ruleMultiplicityRule=ruleMultiplicityRule();
800
            _fsp--;
770
771
            state._fsp--;
801
772
802
             current =iv_ruleMultiplicityRule; 
773
             current =iv_ruleMultiplicityRule; 
803
            match(input,EOF,FOLLOW_EOF_in_entryRuleMultiplicityRule578); 
774
            match(input,EOF,FOLLOW_EOF_in_entryRuleMultiplicityRule588); 
804
775
805
            }
776
            }
806
777
Lines 814-874 Link Here
814
        }
785
        }
815
        return current;
786
        return current;
816
    }
787
    }
817
    // $ANTLR end entryRuleMultiplicityRule
788
    // $ANTLR end "entryRuleMultiplicityRule"
818
789
819
790
820
    // $ANTLR start ruleMultiplicityRule
791
    // $ANTLR start "ruleMultiplicityRule"
821
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:410:1: ruleMultiplicityRule returns [EObject current=null] : ( '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) ( '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? ']' ) ;
792
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:338:1: ruleMultiplicityRule returns [EObject current=null] : (otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']' ) ;
822
    public final EObject ruleMultiplicityRule() throws RecognitionException {
793
    public final EObject ruleMultiplicityRule() throws RecognitionException {
823
        EObject current = null;
794
        EObject current = null;
824
795
796
        Token otherlv_0=null;
797
        Token otherlv_2=null;
798
        Token otherlv_4=null;
825
        EObject lv_bounds_1_0 = null;
799
        EObject lv_bounds_1_0 = null;
826
800
827
        EObject lv_bounds_3_0 = null;
801
        EObject lv_bounds_3_0 = null;
828
802
829
803
830
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
804
         enterRule(); 
831
            
805
            
832
        try {
806
        try {
833
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:415:6: ( ( '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) ( '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? ']' ) )
807
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:341:28: ( (otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']' ) )
834
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:416:1: ( '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) ( '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? ']' )
808
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:342:1: (otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']' )
835
            {
809
            {
836
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:416:1: ( '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) ( '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? ']' )
810
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:342:1: (otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']' )
837
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:416:3: '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) ( '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? ']'
811
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:342:3: otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']'
838
            {
812
            {
839
            match(input,16,FOLLOW_16_in_ruleMultiplicityRule613); 
813
            otherlv_0=(Token)match(input,16,FOLLOW_16_in_ruleMultiplicityRule625); 
840
814
841
                    createLeafNode(grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0(), null); 
815
                	newLeafNode(otherlv_0, grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0());
842
                
816
                
843
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:420:1: ( (lv_bounds_1_0= ruleBoundSpecification ) )
817
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:346:1: ( (lv_bounds_1_0= ruleBoundSpecification ) )
844
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:421:1: (lv_bounds_1_0= ruleBoundSpecification )
818
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:347:1: (lv_bounds_1_0= ruleBoundSpecification )
845
            {
819
            {
846
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:421:1: (lv_bounds_1_0= ruleBoundSpecification )
820
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:347:1: (lv_bounds_1_0= ruleBoundSpecification )
847
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:422:3: lv_bounds_1_0= ruleBoundSpecification
821
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:348:3: lv_bounds_1_0= ruleBoundSpecification
848
            {
822
            {
849
             
823
             
850
            	        currentNode=createCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0(), currentNode); 
824
            	        newCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0()); 
851
            	    
825
            	    
852
            pushFollow(FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule634);
826
            pushFollow(FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule646);
853
            lv_bounds_1_0=ruleBoundSpecification();
827
            lv_bounds_1_0=ruleBoundSpecification();
854
            _fsp--;
855
828
829
            state._fsp--;
830
856
831
857
            	        if (current==null) {
832
            	        if (current==null) {
858
            	            current = factory.create(grammarAccess.getMultiplicityRuleRule().getType().getClassifier());
833
            	            current = createModelElementForParent(grammarAccess.getMultiplicityRuleRule());
859
            	            associateNodeWithAstElement(currentNode.getParent(), current);
860
            	        }
834
            	        }
861
            	        try {
835
                   		add(
862
            	       		add(
836
                   			current, 
863
            	       			current, 
837
                   			"bounds",
864
            	       			"bounds",
838
                    		lv_bounds_1_0, 
865
            	        		lv_bounds_1_0, 
839
                    		"BoundSpecification");
866
            	        		"BoundSpecification", 
840
            	        afterParserOrEnumRuleCall();
867
            	        		currentNode);
868
            	        } catch (ValueConverterException vce) {
869
            				handleValueConverterException(vce);
870
            	        }
871
            	        currentNode = currentNode.getParent();
872
            	    
841
            	    
873
842
874
            }
843
            }
Lines 876-882 Link Here
876
845
877
            }
846
            }
878
847
879
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:444:2: ( '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )?
848
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:364:2: (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )?
880
            int alt8=2;
849
            int alt8=2;
881
            int LA8_0 = input.LA(1);
850
            int LA8_0 = input.LA(1);
882
851
Lines 885-925 Link Here
885
            }
854
            }
886
            switch (alt8) {
855
            switch (alt8) {
887
                case 1 :
856
                case 1 :
888
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:444:4: '..' ( (lv_bounds_3_0= ruleBoundSpecification ) )
857
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:364:4: otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) )
889
                    {
858
                    {
890
                    match(input,17,FOLLOW_17_in_ruleMultiplicityRule645); 
859
                    otherlv_2=(Token)match(input,17,FOLLOW_17_in_ruleMultiplicityRule659); 
891
860
892
                            createLeafNode(grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0(), null); 
861
                        	newLeafNode(otherlv_2, grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0());
893
                        
862
                        
894
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:448:1: ( (lv_bounds_3_0= ruleBoundSpecification ) )
863
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:368:1: ( (lv_bounds_3_0= ruleBoundSpecification ) )
895
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:449:1: (lv_bounds_3_0= ruleBoundSpecification )
864
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:369:1: (lv_bounds_3_0= ruleBoundSpecification )
896
                    {
865
                    {
897
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:449:1: (lv_bounds_3_0= ruleBoundSpecification )
866
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:369:1: (lv_bounds_3_0= ruleBoundSpecification )
898
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:450:3: lv_bounds_3_0= ruleBoundSpecification
867
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:370:3: lv_bounds_3_0= ruleBoundSpecification
899
                    {
868
                    {
900
                     
869
                     
901
                    	        currentNode=createCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0(), currentNode); 
870
                    	        newCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0()); 
902
                    	    
871
                    	    
903
                    pushFollow(FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule666);
872
                    pushFollow(FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule680);
904
                    lv_bounds_3_0=ruleBoundSpecification();
873
                    lv_bounds_3_0=ruleBoundSpecification();
905
                    _fsp--;
906
874
875
                    state._fsp--;
876
907
877
908
                    	        if (current==null) {
878
                    	        if (current==null) {
909
                    	            current = factory.create(grammarAccess.getMultiplicityRuleRule().getType().getClassifier());
879
                    	            current = createModelElementForParent(grammarAccess.getMultiplicityRuleRule());
910
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
911
                    	        }
912
                    	        try {
913
                    	       		add(
914
                    	       			current, 
915
                    	       			"bounds",
916
                    	        		lv_bounds_3_0, 
917
                    	        		"BoundSpecification", 
918
                    	        		currentNode);
919
                    	        } catch (ValueConverterException vce) {
920
                    				handleValueConverterException(vce);
921
                    	        }
880
                    	        }
922
                    	        currentNode = currentNode.getParent();
881
                           		add(
882
                           			current, 
883
                           			"bounds",
884
                            		lv_bounds_3_0, 
885
                            		"BoundSpecification");
886
                    	        afterParserOrEnumRuleCall();
923
                    	    
887
                    	    
924
888
925
                    }
889
                    }
Lines 933-941 Link Here
933
897
934
            }
898
            }
935
899
936
            match(input,18,FOLLOW_18_in_ruleMultiplicityRule678); 
900
            otherlv_4=(Token)match(input,18,FOLLOW_18_in_ruleMultiplicityRule694); 
937
901
938
                    createLeafNode(grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3(), null); 
902
                	newLeafNode(otherlv_4, grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3());
939
                
903
                
940
904
941
            }
905
            }
Lines 943-951 Link Here
943
907
944
            }
908
            }
945
909
946
             resetLookahead(); 
910
             leaveRule(); 
947
                	lastConsumedNode = currentNode;
948
                
949
        }
911
        }
950
         
912
         
951
            catch (RecognitionException re) { 
913
            catch (RecognitionException re) { 
Lines 956-966 Link Here
956
        }
918
        }
957
        return current;
919
        return current;
958
    }
920
    }
959
    // $ANTLR end ruleMultiplicityRule
921
    // $ANTLR end "ruleMultiplicityRule"
960
922
961
923
962
    // $ANTLR start entryRuleBoundSpecification
924
    // $ANTLR start "entryRuleBoundSpecification"
963
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:484:1: entryRuleBoundSpecification returns [EObject current=null] : iv_ruleBoundSpecification= ruleBoundSpecification EOF ;
925
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:398:1: entryRuleBoundSpecification returns [EObject current=null] : iv_ruleBoundSpecification= ruleBoundSpecification EOF ;
964
    public final EObject entryRuleBoundSpecification() throws RecognitionException {
926
    public final EObject entryRuleBoundSpecification() throws RecognitionException {
965
        EObject current = null;
927
        EObject current = null;
966
928
Lines 968-983 Link Here
968
930
969
931
970
        try {
932
        try {
971
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:485:2: (iv_ruleBoundSpecification= ruleBoundSpecification EOF )
933
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:399:2: (iv_ruleBoundSpecification= ruleBoundSpecification EOF )
972
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:486:2: iv_ruleBoundSpecification= ruleBoundSpecification EOF
934
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:400:2: iv_ruleBoundSpecification= ruleBoundSpecification EOF
973
            {
935
            {
974
             currentNode = createCompositeNode(grammarAccess.getBoundSpecificationRule(), currentNode); 
936
             newCompositeNode(grammarAccess.getBoundSpecificationRule()); 
975
            pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification714);
937
            pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification730);
976
            iv_ruleBoundSpecification=ruleBoundSpecification();
938
            iv_ruleBoundSpecification=ruleBoundSpecification();
977
            _fsp--;
939
940
            state._fsp--;
978
941
979
             current =iv_ruleBoundSpecification; 
942
             current =iv_ruleBoundSpecification; 
980
            match(input,EOF,FOLLOW_EOF_in_entryRuleBoundSpecification724); 
943
            match(input,EOF,FOLLOW_EOF_in_entryRuleBoundSpecification740); 
981
944
982
            }
945
            }
983
946
Lines 991-1038 Link Here
991
        }
954
        }
992
        return current;
955
        return current;
993
    }
956
    }
994
    // $ANTLR end entryRuleBoundSpecification
957
    // $ANTLR end "entryRuleBoundSpecification"
995
958
996
959
997
    // $ANTLR start ruleBoundSpecification
960
    // $ANTLR start "ruleBoundSpecification"
998
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:493:1: ruleBoundSpecification returns [EObject current=null] : ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) ) ;
961
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:407:1: ruleBoundSpecification returns [EObject current=null] : ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) ) ;
999
    public final EObject ruleBoundSpecification() throws RecognitionException {
962
    public final EObject ruleBoundSpecification() throws RecognitionException {
1000
        EObject current = null;
963
        EObject current = null;
1001
964
1002
        Token lv_value_0_0=null;
965
        Token lv_value_0_0=null;
1003
966
1004
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
967
         enterRule(); 
1005
            
968
            
1006
        try {
969
        try {
1007
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:498:6: ( ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) ) )
970
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:410:28: ( ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) ) )
1008
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:499:1: ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) )
971
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:411:1: ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) )
1009
            {
972
            {
1010
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:499:1: ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) )
973
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:411:1: ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) )
1011
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:500:1: (lv_value_0_0= RULE_UNLIMITEDLITERAL )
974
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:412:1: (lv_value_0_0= RULE_UNLIMITEDLITERAL )
1012
            {
975
            {
1013
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:500:1: (lv_value_0_0= RULE_UNLIMITEDLITERAL )
976
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:412:1: (lv_value_0_0= RULE_UNLIMITEDLITERAL )
1014
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:501:3: lv_value_0_0= RULE_UNLIMITEDLITERAL
977
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:413:3: lv_value_0_0= RULE_UNLIMITEDLITERAL
1015
            {
978
            {
1016
            lv_value_0_0=(Token)input.LT(1);
979
            lv_value_0_0=(Token)match(input,RULE_UNLIMITEDLITERAL,FOLLOW_RULE_UNLIMITEDLITERAL_in_ruleBoundSpecification781); 
1017
            match(input,RULE_UNLIMITEDLITERAL,FOLLOW_RULE_UNLIMITEDLITERAL_in_ruleBoundSpecification765); 
1018
980
1019
            			createLeafNode(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0(), "value"); 
981
            			newLeafNode(lv_value_0_0, grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0()); 
1020
            		
982
            		
1021
983
1022
            	        if (current==null) {
984
            	        if (current==null) {
1023
            	            current = factory.create(grammarAccess.getBoundSpecificationRule().getType().getClassifier());
985
            	            current = createModelElement(grammarAccess.getBoundSpecificationRule());
1024
            	            associateNodeWithAstElement(currentNode, current);
1025
            	        }
986
            	        }
1026
            	        try {
987
                   		setWithLastConsumed(
1027
            	       		set(
988
                   			current, 
1028
            	       			current, 
989
                   			"value",
1029
            	       			"value",
990
                    		lv_value_0_0, 
1030
            	        		lv_value_0_0, 
991
                    		"UnlimitedLiteral");
1031
            	        		"UnlimitedLiteral", 
1032
            	        		lastConsumedNode);
1033
            	        } catch (ValueConverterException vce) {
1034
            				handleValueConverterException(vce);
1035
            	        }
1036
            	    
992
            	    
1037
993
1038
            }
994
            }
Lines 1043-1051 Link Here
1043
999
1044
            }
1000
            }
1045
1001
1046
             resetLookahead(); 
1002
             leaveRule(); 
1047
                	lastConsumedNode = currentNode;
1048
                
1049
        }
1003
        }
1050
         
1004
         
1051
            catch (RecognitionException re) { 
1005
            catch (RecognitionException re) { 
Lines 1056-1066 Link Here
1056
        }
1010
        }
1057
        return current;
1011
        return current;
1058
    }
1012
    }
1059
    // $ANTLR end ruleBoundSpecification
1013
    // $ANTLR end "ruleBoundSpecification"
1060
1014
1061
1015
1062
    // $ANTLR start entryRuleModifiersRule
1016
    // $ANTLR start "entryRuleModifiersRule"
1063
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:531:1: entryRuleModifiersRule returns [EObject current=null] : iv_ruleModifiersRule= ruleModifiersRule EOF ;
1017
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:437:1: entryRuleModifiersRule returns [EObject current=null] : iv_ruleModifiersRule= ruleModifiersRule EOF ;
1064
    public final EObject entryRuleModifiersRule() throws RecognitionException {
1018
    public final EObject entryRuleModifiersRule() throws RecognitionException {
1065
        EObject current = null;
1019
        EObject current = null;
1066
1020
Lines 1068-1083 Link Here
1068
1022
1069
1023
1070
        try {
1024
        try {
1071
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:532:2: (iv_ruleModifiersRule= ruleModifiersRule EOF )
1025
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:438:2: (iv_ruleModifiersRule= ruleModifiersRule EOF )
1072
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:533:2: iv_ruleModifiersRule= ruleModifiersRule EOF
1026
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:439:2: iv_ruleModifiersRule= ruleModifiersRule EOF
1073
            {
1027
            {
1074
             currentNode = createCompositeNode(grammarAccess.getModifiersRuleRule(), currentNode); 
1028
             newCompositeNode(grammarAccess.getModifiersRuleRule()); 
1075
            pushFollow(FOLLOW_ruleModifiersRule_in_entryRuleModifiersRule805);
1029
            pushFollow(FOLLOW_ruleModifiersRule_in_entryRuleModifiersRule821);
1076
            iv_ruleModifiersRule=ruleModifiersRule();
1030
            iv_ruleModifiersRule=ruleModifiersRule();
1077
            _fsp--;
1031
1032
            state._fsp--;
1078
1033
1079
             current =iv_ruleModifiersRule; 
1034
             current =iv_ruleModifiersRule; 
1080
            match(input,EOF,FOLLOW_EOF_in_entryRuleModifiersRule815); 
1035
            match(input,EOF,FOLLOW_EOF_in_entryRuleModifiersRule831); 
1081
1036
1082
            }
1037
            }
1083
1038
Lines 1091-1151 Link Here
1091
        }
1046
        }
1092
        return current;
1047
        return current;
1093
    }
1048
    }
1094
    // $ANTLR end entryRuleModifiersRule
1049
    // $ANTLR end "entryRuleModifiersRule"
1095
1050
1096
1051
1097
    // $ANTLR start ruleModifiersRule
1052
    // $ANTLR start "ruleModifiersRule"
1098
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:540:1: ruleModifiersRule returns [EObject current=null] : ( '{' ( (lv_values_1_0= ruleModifierSpecification ) ) ( ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* '}' ) ;
1053
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:446:1: ruleModifiersRule returns [EObject current=null] : (otherlv_0= '{' ( (lv_values_1_0= ruleModifierSpecification ) ) (otherlv_2= ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* otherlv_4= '}' ) ;
1099
    public final EObject ruleModifiersRule() throws RecognitionException {
1054
    public final EObject ruleModifiersRule() throws RecognitionException {
1100
        EObject current = null;
1055
        EObject current = null;
1101
1056
1057
        Token otherlv_0=null;
1058
        Token otherlv_2=null;
1059
        Token otherlv_4=null;
1102
        EObject lv_values_1_0 = null;
1060
        EObject lv_values_1_0 = null;
1103
1061
1104
        EObject lv_values_3_0 = null;
1062
        EObject lv_values_3_0 = null;
1105
1063
1106
1064
1107
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
1065
         enterRule(); 
1108
            
1066
            
1109
        try {
1067
        try {
1110
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:545:6: ( ( '{' ( (lv_values_1_0= ruleModifierSpecification ) ) ( ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* '}' ) )
1068
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:449:28: ( (otherlv_0= '{' ( (lv_values_1_0= ruleModifierSpecification ) ) (otherlv_2= ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* otherlv_4= '}' ) )
1111
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:546:1: ( '{' ( (lv_values_1_0= ruleModifierSpecification ) ) ( ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* '}' )
1069
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:450:1: (otherlv_0= '{' ( (lv_values_1_0= ruleModifierSpecification ) ) (otherlv_2= ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* otherlv_4= '}' )
1112
            {
1070
            {
1113
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:546:1: ( '{' ( (lv_values_1_0= ruleModifierSpecification ) ) ( ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* '}' )
1071
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:450:1: (otherlv_0= '{' ( (lv_values_1_0= ruleModifierSpecification ) ) (otherlv_2= ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* otherlv_4= '}' )
1114
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:546:3: '{' ( (lv_values_1_0= ruleModifierSpecification ) ) ( ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* '}'
1072
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:450:3: otherlv_0= '{' ( (lv_values_1_0= ruleModifierSpecification ) ) (otherlv_2= ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* otherlv_4= '}'
1115
            {
1073
            {
1116
            match(input,19,FOLLOW_19_in_ruleModifiersRule850); 
1074
            otherlv_0=(Token)match(input,19,FOLLOW_19_in_ruleModifiersRule868); 
1117
1075
1118
                    createLeafNode(grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0(), null); 
1076
                	newLeafNode(otherlv_0, grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0());
1119
                
1077
                
1120
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:550:1: ( (lv_values_1_0= ruleModifierSpecification ) )
1078
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:454:1: ( (lv_values_1_0= ruleModifierSpecification ) )
1121
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:551:1: (lv_values_1_0= ruleModifierSpecification )
1079
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:455:1: (lv_values_1_0= ruleModifierSpecification )
1122
            {
1080
            {
1123
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:551:1: (lv_values_1_0= ruleModifierSpecification )
1081
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:455:1: (lv_values_1_0= ruleModifierSpecification )
1124
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:552:3: lv_values_1_0= ruleModifierSpecification
1082
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:456:3: lv_values_1_0= ruleModifierSpecification
1125
            {
1083
            {
1126
             
1084
             
1127
            	        currentNode=createCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0(), currentNode); 
1085
            	        newCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0()); 
1128
            	    
1086
            	    
1129
            pushFollow(FOLLOW_ruleModifierSpecification_in_ruleModifiersRule871);
1087
            pushFollow(FOLLOW_ruleModifierSpecification_in_ruleModifiersRule889);
1130
            lv_values_1_0=ruleModifierSpecification();
1088
            lv_values_1_0=ruleModifierSpecification();
1131
            _fsp--;
1132
1089
1090
            state._fsp--;
1091
1133
1092
1134
            	        if (current==null) {
1093
            	        if (current==null) {
1135
            	            current = factory.create(grammarAccess.getModifiersRuleRule().getType().getClassifier());
1094
            	            current = createModelElementForParent(grammarAccess.getModifiersRuleRule());
1136
            	            associateNodeWithAstElement(currentNode.getParent(), current);
1137
            	        }
1095
            	        }
1138
            	        try {
1096
                   		add(
1139
            	       		add(
1097
                   			current, 
1140
            	       			current, 
1098
                   			"values",
1141
            	       			"values",
1099
                    		lv_values_1_0, 
1142
            	        		lv_values_1_0, 
1100
                    		"ModifierSpecification");
1143
            	        		"ModifierSpecification", 
1101
            	        afterParserOrEnumRuleCall();
1144
            	        		currentNode);
1145
            	        } catch (ValueConverterException vce) {
1146
            				handleValueConverterException(vce);
1147
            	        }
1148
            	        currentNode = currentNode.getParent();
1149
            	    
1102
            	    
1150
1103
1151
            }
1104
            }
Lines 1153-1159 Link Here
1153
1106
1154
            }
1107
            }
1155
1108
1156
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:574:2: ( ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )*
1109
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:472:2: (otherlv_2= ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )*
1157
            loop9:
1110
            loop9:
1158
            do {
1111
            do {
1159
                int alt9=2;
1112
                int alt9=2;
Lines 1166-1206 Link Here
1166
1119
1167
                switch (alt9) {
1120
                switch (alt9) {
1168
            	case 1 :
1121
            	case 1 :
1169
            	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:574:4: ',' ( (lv_values_3_0= ruleModifierSpecification ) )
1122
            	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:472:4: otherlv_2= ',' ( (lv_values_3_0= ruleModifierSpecification ) )
1170
            	    {
1123
            	    {
1171
            	    match(input,20,FOLLOW_20_in_ruleModifiersRule882); 
1124
            	    otherlv_2=(Token)match(input,20,FOLLOW_20_in_ruleModifiersRule902); 
1172
1125
1173
            	            createLeafNode(grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0(), null); 
1126
            	        	newLeafNode(otherlv_2, grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0());
1174
            	        
1127
            	        
1175
            	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:578:1: ( (lv_values_3_0= ruleModifierSpecification ) )
1128
            	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:476:1: ( (lv_values_3_0= ruleModifierSpecification ) )
1176
            	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:579:1: (lv_values_3_0= ruleModifierSpecification )
1129
            	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:477:1: (lv_values_3_0= ruleModifierSpecification )
1177
            	    {
1130
            	    {
1178
            	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:579:1: (lv_values_3_0= ruleModifierSpecification )
1131
            	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:477:1: (lv_values_3_0= ruleModifierSpecification )
1179
            	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:580:3: lv_values_3_0= ruleModifierSpecification
1132
            	    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:478:3: lv_values_3_0= ruleModifierSpecification
1180
            	    {
1133
            	    {
1181
            	     
1134
            	     
1182
            	    	        currentNode=createCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0(), currentNode); 
1135
            	    	        newCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0()); 
1183
            	    	    
1136
            	    	    
1184
            	    pushFollow(FOLLOW_ruleModifierSpecification_in_ruleModifiersRule903);
1137
            	    pushFollow(FOLLOW_ruleModifierSpecification_in_ruleModifiersRule923);
1185
            	    lv_values_3_0=ruleModifierSpecification();
1138
            	    lv_values_3_0=ruleModifierSpecification();
1186
            	    _fsp--;
1187
1139
1140
            	    state._fsp--;
1141
1188
1142
1189
            	    	        if (current==null) {
1143
            	    	        if (current==null) {
1190
            	    	            current = factory.create(grammarAccess.getModifiersRuleRule().getType().getClassifier());
1144
            	    	            current = createModelElementForParent(grammarAccess.getModifiersRuleRule());
1191
            	    	            associateNodeWithAstElement(currentNode.getParent(), current);
1192
            	    	        }
1145
            	    	        }
1193
            	    	        try {
1146
            	           		add(
1194
            	    	       		add(
1147
            	           			current, 
1195
            	    	       			current, 
1148
            	           			"values",
1196
            	    	       			"values",
1149
            	            		lv_values_3_0, 
1197
            	    	        		lv_values_3_0, 
1150
            	            		"ModifierSpecification");
1198
            	    	        		"ModifierSpecification", 
1151
            	    	        afterParserOrEnumRuleCall();
1199
            	    	        		currentNode);
1200
            	    	        } catch (ValueConverterException vce) {
1201
            	    				handleValueConverterException(vce);
1202
            	    	        }
1203
            	    	        currentNode = currentNode.getParent();
1204
            	    	    
1152
            	    	    
1205
1153
1206
            	    }
1154
            	    }
Lines 1217-1225 Link Here
1217
                }
1165
                }
1218
            } while (true);
1166
            } while (true);
1219
1167
1220
            match(input,21,FOLLOW_21_in_ruleModifiersRule915); 
1168
            otherlv_4=(Token)match(input,21,FOLLOW_21_in_ruleModifiersRule937); 
1221
1169
1222
                    createLeafNode(grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3(), null); 
1170
                	newLeafNode(otherlv_4, grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3());
1223
                
1171
                
1224
1172
1225
            }
1173
            }
Lines 1227-1235 Link Here
1227
1175
1228
            }
1176
            }
1229
1177
1230
             resetLookahead(); 
1178
             leaveRule(); 
1231
                	lastConsumedNode = currentNode;
1232
                
1233
        }
1179
        }
1234
         
1180
         
1235
            catch (RecognitionException re) { 
1181
            catch (RecognitionException re) { 
Lines 1240-1250 Link Here
1240
        }
1186
        }
1241
        return current;
1187
        return current;
1242
    }
1188
    }
1243
    // $ANTLR end ruleModifiersRule
1189
    // $ANTLR end "ruleModifiersRule"
1244
1190
1245
1191
1246
    // $ANTLR start entryRuleModifierSpecification
1192
    // $ANTLR start "entryRuleModifierSpecification"
1247
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:614:1: entryRuleModifierSpecification returns [EObject current=null] : iv_ruleModifierSpecification= ruleModifierSpecification EOF ;
1193
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:506:1: entryRuleModifierSpecification returns [EObject current=null] : iv_ruleModifierSpecification= ruleModifierSpecification EOF ;
1248
    public final EObject entryRuleModifierSpecification() throws RecognitionException {
1194
    public final EObject entryRuleModifierSpecification() throws RecognitionException {
1249
        EObject current = null;
1195
        EObject current = null;
1250
1196
Lines 1252-1267 Link Here
1252
1198
1253
1199
1254
        try {
1200
        try {
1255
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:615:2: (iv_ruleModifierSpecification= ruleModifierSpecification EOF )
1201
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:507:2: (iv_ruleModifierSpecification= ruleModifierSpecification EOF )
1256
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:616:2: iv_ruleModifierSpecification= ruleModifierSpecification EOF
1202
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:508:2: iv_ruleModifierSpecification= ruleModifierSpecification EOF
1257
            {
1203
            {
1258
             currentNode = createCompositeNode(grammarAccess.getModifierSpecificationRule(), currentNode); 
1204
             newCompositeNode(grammarAccess.getModifierSpecificationRule()); 
1259
            pushFollow(FOLLOW_ruleModifierSpecification_in_entryRuleModifierSpecification951);
1205
            pushFollow(FOLLOW_ruleModifierSpecification_in_entryRuleModifierSpecification973);
1260
            iv_ruleModifierSpecification=ruleModifierSpecification();
1206
            iv_ruleModifierSpecification=ruleModifierSpecification();
1261
            _fsp--;
1207
1208
            state._fsp--;
1262
1209
1263
             current =iv_ruleModifierSpecification; 
1210
             current =iv_ruleModifierSpecification; 
1264
            match(input,EOF,FOLLOW_EOF_in_entryRuleModifierSpecification961); 
1211
            match(input,EOF,FOLLOW_EOF_in_entryRuleModifierSpecification983); 
1265
1212
1266
            }
1213
            }
1267
1214
Lines 1275-1285 Link Here
1275
        }
1222
        }
1276
        return current;
1223
        return current;
1277
    }
1224
    }
1278
    // $ANTLR end entryRuleModifierSpecification
1225
    // $ANTLR end "entryRuleModifierSpecification"
1279
1226
1280
1227
1281
    // $ANTLR start ruleModifierSpecification
1228
    // $ANTLR start "ruleModifierSpecification"
1282
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:623:1: ruleModifierSpecification returns [EObject current=null] : ( ( (lv_value_0_0= ruleModifierKind ) ) | ( (lv_redefines_1_0= ruleRedefinesRule ) ) | ( (lv_subsets_2_0= ruleSubsetsRule ) ) ) ;
1229
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:515:1: ruleModifierSpecification returns [EObject current=null] : ( ( (lv_value_0_0= ruleModifierKind ) ) | ( (lv_redefines_1_0= ruleRedefinesRule ) ) | ( (lv_subsets_2_0= ruleSubsetsRule ) ) ) ;
1283
    public final EObject ruleModifierSpecification() throws RecognitionException {
1230
    public final EObject ruleModifierSpecification() throws RecognitionException {
1284
        EObject current = null;
1231
        EObject current = null;
1285
1232
Lines 1290-1302 Link Here
1290
        EObject lv_subsets_2_0 = null;
1237
        EObject lv_subsets_2_0 = null;
1291
1238
1292
1239
1293
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
1240
         enterRule(); 
1294
            
1241
            
1295
        try {
1242
        try {
1296
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:628:6: ( ( ( (lv_value_0_0= ruleModifierKind ) ) | ( (lv_redefines_1_0= ruleRedefinesRule ) ) | ( (lv_subsets_2_0= ruleSubsetsRule ) ) ) )
1243
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:518:28: ( ( ( (lv_value_0_0= ruleModifierKind ) ) | ( (lv_redefines_1_0= ruleRedefinesRule ) ) | ( (lv_subsets_2_0= ruleSubsetsRule ) ) ) )
1297
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:629:1: ( ( (lv_value_0_0= ruleModifierKind ) ) | ( (lv_redefines_1_0= ruleRedefinesRule ) ) | ( (lv_subsets_2_0= ruleSubsetsRule ) ) )
1244
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:519:1: ( ( (lv_value_0_0= ruleModifierKind ) ) | ( (lv_redefines_1_0= ruleRedefinesRule ) ) | ( (lv_subsets_2_0= ruleSubsetsRule ) ) )
1298
            {
1245
            {
1299
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:629:1: ( ( (lv_value_0_0= ruleModifierKind ) ) | ( (lv_redefines_1_0= ruleRedefinesRule ) ) | ( (lv_subsets_2_0= ruleSubsetsRule ) ) )
1246
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:519:1: ( ( (lv_value_0_0= ruleModifierKind ) ) | ( (lv_redefines_1_0= ruleRedefinesRule ) ) | ( (lv_subsets_2_0= ruleSubsetsRule ) ) )
1300
            int alt10=3;
1247
            int alt10=3;
1301
            switch ( input.LA(1) ) {
1248
            switch ( input.LA(1) ) {
1302
            case 29:
1249
            case 29:
Lines 1319-1362 Link Here
1319
                break;
1266
                break;
1320
            default:
1267
            default:
1321
                NoViableAltException nvae =
1268
                NoViableAltException nvae =
1322
                    new NoViableAltException("629:1: ( ( (lv_value_0_0= ruleModifierKind ) ) | ( (lv_redefines_1_0= ruleRedefinesRule ) ) | ( (lv_subsets_2_0= ruleSubsetsRule ) ) )", 10, 0, input);
1269
                    new NoViableAltException("", 10, 0, input);
1323
1270
1324
                throw nvae;
1271
                throw nvae;
1325
            }
1272
            }
1326
1273
1327
            switch (alt10) {
1274
            switch (alt10) {
1328
                case 1 :
1275
                case 1 :
1329
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:629:2: ( (lv_value_0_0= ruleModifierKind ) )
1276
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:519:2: ( (lv_value_0_0= ruleModifierKind ) )
1330
                    {
1277
                    {
1331
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:629:2: ( (lv_value_0_0= ruleModifierKind ) )
1278
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:519:2: ( (lv_value_0_0= ruleModifierKind ) )
1332
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:630:1: (lv_value_0_0= ruleModifierKind )
1279
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:520:1: (lv_value_0_0= ruleModifierKind )
1333
                    {
1280
                    {
1334
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:630:1: (lv_value_0_0= ruleModifierKind )
1281
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:520:1: (lv_value_0_0= ruleModifierKind )
1335
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:631:3: lv_value_0_0= ruleModifierKind
1282
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:521:3: lv_value_0_0= ruleModifierKind
1336
                    {
1283
                    {
1337
                     
1284
                     
1338
                    	        currentNode=createCompositeNode(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0_0(), currentNode); 
1285
                    	        newCompositeNode(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0_0()); 
1339
                    	    
1286
                    	    
1340
                    pushFollow(FOLLOW_ruleModifierKind_in_ruleModifierSpecification1007);
1287
                    pushFollow(FOLLOW_ruleModifierKind_in_ruleModifierSpecification1029);
1341
                    lv_value_0_0=ruleModifierKind();
1288
                    lv_value_0_0=ruleModifierKind();
1342
                    _fsp--;
1289
1290
                    state._fsp--;
1343
1291
1344
1292
1345
                    	        if (current==null) {
1293
                    	        if (current==null) {
1346
                    	            current = factory.create(grammarAccess.getModifierSpecificationRule().getType().getClassifier());
1294
                    	            current = createModelElementForParent(grammarAccess.getModifierSpecificationRule());
1347
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
1348
                    	        }
1349
                    	        try {
1350
                    	       		set(
1351
                    	       			current, 
1352
                    	       			"value",
1353
                    	        		lv_value_0_0, 
1354
                    	        		"ModifierKind", 
1355
                    	        		currentNode);
1356
                    	        } catch (ValueConverterException vce) {
1357
                    				handleValueConverterException(vce);
1358
                    	        }
1295
                    	        }
1359
                    	        currentNode = currentNode.getParent();
1296
                           		set(
1297
                           			current, 
1298
                           			"value",
1299
                            		lv_value_0_0, 
1300
                            		"ModifierKind");
1301
                    	        afterParserOrEnumRuleCall();
1360
                    	    
1302
                    	    
1361
1303
1362
                    }
1304
                    }
Lines 1368-1404 Link Here
1368
                    }
1310
                    }
1369
                    break;
1311
                    break;
1370
                case 2 :
1312
                case 2 :
1371
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:654:6: ( (lv_redefines_1_0= ruleRedefinesRule ) )
1313
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:538:6: ( (lv_redefines_1_0= ruleRedefinesRule ) )
1372
                    {
1314
                    {
1373
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:654:6: ( (lv_redefines_1_0= ruleRedefinesRule ) )
1315
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:538:6: ( (lv_redefines_1_0= ruleRedefinesRule ) )
1374
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:655:1: (lv_redefines_1_0= ruleRedefinesRule )
1316
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:539:1: (lv_redefines_1_0= ruleRedefinesRule )
1375
                    {
1317
                    {
1376
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:655:1: (lv_redefines_1_0= ruleRedefinesRule )
1318
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:539:1: (lv_redefines_1_0= ruleRedefinesRule )
1377
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:656:3: lv_redefines_1_0= ruleRedefinesRule
1319
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:540:3: lv_redefines_1_0= ruleRedefinesRule
1378
                    {
1320
                    {
1379
                     
1321
                     
1380
                    	        currentNode=createCompositeNode(grammarAccess.getModifierSpecificationAccess().getRedefinesRedefinesRuleParserRuleCall_1_0(), currentNode); 
1322
                    	        newCompositeNode(grammarAccess.getModifierSpecificationAccess().getRedefinesRedefinesRuleParserRuleCall_1_0()); 
1381
                    	    
1323
                    	    
1382
                    pushFollow(FOLLOW_ruleRedefinesRule_in_ruleModifierSpecification1034);
1324
                    pushFollow(FOLLOW_ruleRedefinesRule_in_ruleModifierSpecification1056);
1383
                    lv_redefines_1_0=ruleRedefinesRule();
1325
                    lv_redefines_1_0=ruleRedefinesRule();
1384
                    _fsp--;
1385
1326
1327
                    state._fsp--;
1328
1386
1329
1387
                    	        if (current==null) {
1330
                    	        if (current==null) {
1388
                    	            current = factory.create(grammarAccess.getModifierSpecificationRule().getType().getClassifier());
1331
                    	            current = createModelElementForParent(grammarAccess.getModifierSpecificationRule());
1389
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
1390
                    	        }
1332
                    	        }
1391
                    	        try {
1333
                           		set(
1392
                    	       		set(
1334
                           			current, 
1393
                    	       			current, 
1335
                           			"redefines",
1394
                    	       			"redefines",
1336
                            		lv_redefines_1_0, 
1395
                    	        		lv_redefines_1_0, 
1337
                            		"RedefinesRule");
1396
                    	        		"RedefinesRule", 
1338
                    	        afterParserOrEnumRuleCall();
1397
                    	        		currentNode);
1398
                    	        } catch (ValueConverterException vce) {
1399
                    				handleValueConverterException(vce);
1400
                    	        }
1401
                    	        currentNode = currentNode.getParent();
1402
                    	    
1339
                    	    
1403
1340
1404
                    }
1341
                    }
Lines 1410-1446 Link Here
1410
                    }
1347
                    }
1411
                    break;
1348
                    break;
1412
                case 3 :
1349
                case 3 :
1413
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:679:6: ( (lv_subsets_2_0= ruleSubsetsRule ) )
1350
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:557:6: ( (lv_subsets_2_0= ruleSubsetsRule ) )
1414
                    {
1351
                    {
1415
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:679:6: ( (lv_subsets_2_0= ruleSubsetsRule ) )
1352
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:557:6: ( (lv_subsets_2_0= ruleSubsetsRule ) )
1416
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:680:1: (lv_subsets_2_0= ruleSubsetsRule )
1353
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:558:1: (lv_subsets_2_0= ruleSubsetsRule )
1417
                    {
1354
                    {
1418
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:680:1: (lv_subsets_2_0= ruleSubsetsRule )
1355
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:558:1: (lv_subsets_2_0= ruleSubsetsRule )
1419
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:681:3: lv_subsets_2_0= ruleSubsetsRule
1356
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:559:3: lv_subsets_2_0= ruleSubsetsRule
1420
                    {
1357
                    {
1421
                     
1358
                     
1422
                    	        currentNode=createCompositeNode(grammarAccess.getModifierSpecificationAccess().getSubsetsSubsetsRuleParserRuleCall_2_0(), currentNode); 
1359
                    	        newCompositeNode(grammarAccess.getModifierSpecificationAccess().getSubsetsSubsetsRuleParserRuleCall_2_0()); 
1423
                    	    
1360
                    	    
1424
                    pushFollow(FOLLOW_ruleSubsetsRule_in_ruleModifierSpecification1061);
1361
                    pushFollow(FOLLOW_ruleSubsetsRule_in_ruleModifierSpecification1083);
1425
                    lv_subsets_2_0=ruleSubsetsRule();
1362
                    lv_subsets_2_0=ruleSubsetsRule();
1426
                    _fsp--;
1427
1363
1364
                    state._fsp--;
1365
1428
1366
1429
                    	        if (current==null) {
1367
                    	        if (current==null) {
1430
                    	            current = factory.create(grammarAccess.getModifierSpecificationRule().getType().getClassifier());
1368
                    	            current = createModelElementForParent(grammarAccess.getModifierSpecificationRule());
1431
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
1432
                    	        }
1369
                    	        }
1433
                    	        try {
1370
                           		set(
1434
                    	       		set(
1371
                           			current, 
1435
                    	       			current, 
1372
                           			"subsets",
1436
                    	       			"subsets",
1373
                            		lv_subsets_2_0, 
1437
                    	        		lv_subsets_2_0, 
1374
                            		"SubsetsRule");
1438
                    	        		"SubsetsRule", 
1375
                    	        afterParserOrEnumRuleCall();
1439
                    	        		currentNode);
1440
                    	        } catch (ValueConverterException vce) {
1441
                    				handleValueConverterException(vce);
1442
                    	        }
1443
                    	        currentNode = currentNode.getParent();
1444
                    	    
1376
                    	    
1445
1377
1446
                    }
1378
                    }
Lines 1457-1465 Link Here
1457
1389
1458
            }
1390
            }
1459
1391
1460
             resetLookahead(); 
1392
             leaveRule(); 
1461
                	lastConsumedNode = currentNode;
1462
                
1463
        }
1393
        }
1464
         
1394
         
1465
            catch (RecognitionException re) { 
1395
            catch (RecognitionException re) { 
Lines 1470-1480 Link Here
1470
        }
1400
        }
1471
        return current;
1401
        return current;
1472
    }
1402
    }
1473
    // $ANTLR end ruleModifierSpecification
1403
    // $ANTLR end "ruleModifierSpecification"
1474
1404
1475
1405
1476
    // $ANTLR start entryRuleRedefinesRule
1406
    // $ANTLR start "entryRuleRedefinesRule"
1477
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:711:1: entryRuleRedefinesRule returns [EObject current=null] : iv_ruleRedefinesRule= ruleRedefinesRule EOF ;
1407
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:583:1: entryRuleRedefinesRule returns [EObject current=null] : iv_ruleRedefinesRule= ruleRedefinesRule EOF ;
1478
    public final EObject entryRuleRedefinesRule() throws RecognitionException {
1408
    public final EObject entryRuleRedefinesRule() throws RecognitionException {
1479
        EObject current = null;
1409
        EObject current = null;
1480
1410
Lines 1482-1497 Link Here
1482
1412
1483
1413
1484
        try {
1414
        try {
1485
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:712:2: (iv_ruleRedefinesRule= ruleRedefinesRule EOF )
1415
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:584:2: (iv_ruleRedefinesRule= ruleRedefinesRule EOF )
1486
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:713:2: iv_ruleRedefinesRule= ruleRedefinesRule EOF
1416
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:585:2: iv_ruleRedefinesRule= ruleRedefinesRule EOF
1487
            {
1417
            {
1488
             currentNode = createCompositeNode(grammarAccess.getRedefinesRuleRule(), currentNode); 
1418
             newCompositeNode(grammarAccess.getRedefinesRuleRule()); 
1489
            pushFollow(FOLLOW_ruleRedefinesRule_in_entryRuleRedefinesRule1097);
1419
            pushFollow(FOLLOW_ruleRedefinesRule_in_entryRuleRedefinesRule1119);
1490
            iv_ruleRedefinesRule=ruleRedefinesRule();
1420
            iv_ruleRedefinesRule=ruleRedefinesRule();
1491
            _fsp--;
1421
1422
            state._fsp--;
1492
1423
1493
             current =iv_ruleRedefinesRule; 
1424
             current =iv_ruleRedefinesRule; 
1494
            match(input,EOF,FOLLOW_EOF_in_entryRuleRedefinesRule1107); 
1425
            match(input,EOF,FOLLOW_EOF_in_entryRuleRedefinesRule1129); 
1495
1426
1496
            }
1427
            }
1497
1428
Lines 1505-1546 Link Here
1505
        }
1436
        }
1506
        return current;
1437
        return current;
1507
    }
1438
    }
1508
    // $ANTLR end entryRuleRedefinesRule
1439
    // $ANTLR end "entryRuleRedefinesRule"
1509
1440
1510
1441
1511
    // $ANTLR start ruleRedefinesRule
1442
    // $ANTLR start "ruleRedefinesRule"
1512
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:720:1: ruleRedefinesRule returns [EObject current=null] : ( 'redefines' ( ( RULE_ID ) ) ) ;
1443
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:592:1: ruleRedefinesRule returns [EObject current=null] : (otherlv_0= 'redefines' ( (otherlv_1= RULE_ID ) ) ) ;
1513
    public final EObject ruleRedefinesRule() throws RecognitionException {
1444
    public final EObject ruleRedefinesRule() throws RecognitionException {
1514
        EObject current = null;
1445
        EObject current = null;
1515
1446
1516
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
1447
        Token otherlv_0=null;
1448
        Token otherlv_1=null;
1449
1450
         enterRule(); 
1517
            
1451
            
1518
        try {
1452
        try {
1519
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:725:6: ( ( 'redefines' ( ( RULE_ID ) ) ) )
1453
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:595:28: ( (otherlv_0= 'redefines' ( (otherlv_1= RULE_ID ) ) ) )
1520
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:726:1: ( 'redefines' ( ( RULE_ID ) ) )
1454
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:596:1: (otherlv_0= 'redefines' ( (otherlv_1= RULE_ID ) ) )
1521
            {
1455
            {
1522
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:726:1: ( 'redefines' ( ( RULE_ID ) ) )
1456
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:596:1: (otherlv_0= 'redefines' ( (otherlv_1= RULE_ID ) ) )
1523
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:726:3: 'redefines' ( ( RULE_ID ) )
1457
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:596:3: otherlv_0= 'redefines' ( (otherlv_1= RULE_ID ) )
1524
            {
1458
            {
1525
            match(input,22,FOLLOW_22_in_ruleRedefinesRule1142); 
1459
            otherlv_0=(Token)match(input,22,FOLLOW_22_in_ruleRedefinesRule1166); 
1526
1460
1527
                    createLeafNode(grammarAccess.getRedefinesRuleAccess().getRedefinesKeyword_0(), null); 
1461
                	newLeafNode(otherlv_0, grammarAccess.getRedefinesRuleAccess().getRedefinesKeyword_0());
1528
                
1462
                
1529
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:730:1: ( ( RULE_ID ) )
1463
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:600:1: ( (otherlv_1= RULE_ID ) )
1530
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:731:1: ( RULE_ID )
1464
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:601:1: (otherlv_1= RULE_ID )
1531
            {
1465
            {
1532
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:731:1: ( RULE_ID )
1466
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:601:1: (otherlv_1= RULE_ID )
1533
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:732:3: RULE_ID
1467
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:602:3: otherlv_1= RULE_ID
1534
            {
1468
            {
1535
1469
1536
            			if (current==null) {
1470
            			if (current==null) {
1537
            	            current = factory.create(grammarAccess.getRedefinesRuleRule().getType().getClassifier());
1471
            	            current = createModelElement(grammarAccess.getRedefinesRuleRule());
1538
            	            associateNodeWithAstElement(currentNode, current);
1539
            	        }
1472
            	        }
1540
                    
1473
                    
1541
            match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRedefinesRule1160); 
1474
            otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRedefinesRule1186); 
1542
1475
1543
            		createLeafNode(grammarAccess.getRedefinesRuleAccess().getPropertyPropertyCrossReference_1_0(), "property"); 
1476
            		newLeafNode(otherlv_1, grammarAccess.getRedefinesRuleAccess().getPropertyPropertyCrossReference_1_0()); 
1544
            	
1477
            	
1545
1478
1546
            }
1479
            }
Lines 1554-1562 Link Here
1554
1487
1555
            }
1488
            }
1556
1489
1557
             resetLookahead(); 
1490
             leaveRule(); 
1558
                	lastConsumedNode = currentNode;
1559
                
1560
        }
1491
        }
1561
         
1492
         
1562
            catch (RecognitionException re) { 
1493
            catch (RecognitionException re) { 
Lines 1567-1577 Link Here
1567
        }
1498
        }
1568
        return current;
1499
        return current;
1569
    }
1500
    }
1570
    // $ANTLR end ruleRedefinesRule
1501
    // $ANTLR end "ruleRedefinesRule"
1571
1502
1572
1503
1573
    // $ANTLR start entryRuleSubsetsRule
1504
    // $ANTLR start "entryRuleSubsetsRule"
1574
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:752:1: entryRuleSubsetsRule returns [EObject current=null] : iv_ruleSubsetsRule= ruleSubsetsRule EOF ;
1505
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:621:1: entryRuleSubsetsRule returns [EObject current=null] : iv_ruleSubsetsRule= ruleSubsetsRule EOF ;
1575
    public final EObject entryRuleSubsetsRule() throws RecognitionException {
1506
    public final EObject entryRuleSubsetsRule() throws RecognitionException {
1576
        EObject current = null;
1507
        EObject current = null;
1577
1508
Lines 1579-1594 Link Here
1579
1510
1580
1511
1581
        try {
1512
        try {
1582
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:753:2: (iv_ruleSubsetsRule= ruleSubsetsRule EOF )
1513
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:622:2: (iv_ruleSubsetsRule= ruleSubsetsRule EOF )
1583
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:754:2: iv_ruleSubsetsRule= ruleSubsetsRule EOF
1514
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:623:2: iv_ruleSubsetsRule= ruleSubsetsRule EOF
1584
            {
1515
            {
1585
             currentNode = createCompositeNode(grammarAccess.getSubsetsRuleRule(), currentNode); 
1516
             newCompositeNode(grammarAccess.getSubsetsRuleRule()); 
1586
            pushFollow(FOLLOW_ruleSubsetsRule_in_entryRuleSubsetsRule1196);
1517
            pushFollow(FOLLOW_ruleSubsetsRule_in_entryRuleSubsetsRule1222);
1587
            iv_ruleSubsetsRule=ruleSubsetsRule();
1518
            iv_ruleSubsetsRule=ruleSubsetsRule();
1588
            _fsp--;
1519
1520
            state._fsp--;
1589
1521
1590
             current =iv_ruleSubsetsRule; 
1522
             current =iv_ruleSubsetsRule; 
1591
            match(input,EOF,FOLLOW_EOF_in_entryRuleSubsetsRule1206); 
1523
            match(input,EOF,FOLLOW_EOF_in_entryRuleSubsetsRule1232); 
1592
1524
1593
            }
1525
            }
1594
1526
Lines 1602-1643 Link Here
1602
        }
1534
        }
1603
        return current;
1535
        return current;
1604
    }
1536
    }
1605
    // $ANTLR end entryRuleSubsetsRule
1537
    // $ANTLR end "entryRuleSubsetsRule"
1606
1538
1607
1539
1608
    // $ANTLR start ruleSubsetsRule
1540
    // $ANTLR start "ruleSubsetsRule"
1609
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:761:1: ruleSubsetsRule returns [EObject current=null] : ( 'subsets' ( ( RULE_ID ) ) ) ;
1541
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:630:1: ruleSubsetsRule returns [EObject current=null] : (otherlv_0= 'subsets' ( (otherlv_1= RULE_ID ) ) ) ;
1610
    public final EObject ruleSubsetsRule() throws RecognitionException {
1542
    public final EObject ruleSubsetsRule() throws RecognitionException {
1611
        EObject current = null;
1543
        EObject current = null;
1612
1544
1613
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
1545
        Token otherlv_0=null;
1546
        Token otherlv_1=null;
1547
1548
         enterRule(); 
1614
            
1549
            
1615
        try {
1550
        try {
1616
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:766:6: ( ( 'subsets' ( ( RULE_ID ) ) ) )
1551
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:633:28: ( (otherlv_0= 'subsets' ( (otherlv_1= RULE_ID ) ) ) )
1617
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:767:1: ( 'subsets' ( ( RULE_ID ) ) )
1552
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:634:1: (otherlv_0= 'subsets' ( (otherlv_1= RULE_ID ) ) )
1618
            {
1553
            {
1619
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:767:1: ( 'subsets' ( ( RULE_ID ) ) )
1554
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:634:1: (otherlv_0= 'subsets' ( (otherlv_1= RULE_ID ) ) )
1620
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:767:3: 'subsets' ( ( RULE_ID ) )
1555
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:634:3: otherlv_0= 'subsets' ( (otherlv_1= RULE_ID ) )
1621
            {
1556
            {
1622
            match(input,23,FOLLOW_23_in_ruleSubsetsRule1241); 
1557
            otherlv_0=(Token)match(input,23,FOLLOW_23_in_ruleSubsetsRule1269); 
1623
1558
1624
                    createLeafNode(grammarAccess.getSubsetsRuleAccess().getSubsetsKeyword_0(), null); 
1559
                	newLeafNode(otherlv_0, grammarAccess.getSubsetsRuleAccess().getSubsetsKeyword_0());
1625
                
1560
                
1626
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:771:1: ( ( RULE_ID ) )
1561
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:638:1: ( (otherlv_1= RULE_ID ) )
1627
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:772:1: ( RULE_ID )
1562
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:639:1: (otherlv_1= RULE_ID )
1628
            {
1563
            {
1629
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:772:1: ( RULE_ID )
1564
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:639:1: (otherlv_1= RULE_ID )
1630
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:773:3: RULE_ID
1565
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:640:3: otherlv_1= RULE_ID
1631
            {
1566
            {
1632
1567
1633
            			if (current==null) {
1568
            			if (current==null) {
1634
            	            current = factory.create(grammarAccess.getSubsetsRuleRule().getType().getClassifier());
1569
            	            current = createModelElement(grammarAccess.getSubsetsRuleRule());
1635
            	            associateNodeWithAstElement(currentNode, current);
1636
            	        }
1570
            	        }
1637
                    
1571
                    
1638
            match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSubsetsRule1259); 
1572
            otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSubsetsRule1289); 
1639
1573
1640
            		createLeafNode(grammarAccess.getSubsetsRuleAccess().getPropertyPropertyCrossReference_1_0(), "property"); 
1574
            		newLeafNode(otherlv_1, grammarAccess.getSubsetsRuleAccess().getPropertyPropertyCrossReference_1_0()); 
1641
            	
1575
            	
1642
1576
1643
            }
1577
            }
Lines 1651-1659 Link Here
1651
1585
1652
            }
1586
            }
1653
1587
1654
             resetLookahead(); 
1588
             leaveRule(); 
1655
                	lastConsumedNode = currentNode;
1656
                
1657
        }
1589
        }
1658
         
1590
         
1659
            catch (RecognitionException re) { 
1591
            catch (RecognitionException re) { 
Lines 1664-1674 Link Here
1664
        }
1596
        }
1665
        return current;
1597
        return current;
1666
    }
1598
    }
1667
    // $ANTLR end ruleSubsetsRule
1599
    // $ANTLR end "ruleSubsetsRule"
1668
1600
1669
1601
1670
    // $ANTLR start entryRuleDefaultValueRule
1602
    // $ANTLR start "entryRuleDefaultValueRule"
1671
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:793:1: entryRuleDefaultValueRule returns [EObject current=null] : iv_ruleDefaultValueRule= ruleDefaultValueRule EOF ;
1603
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:659:1: entryRuleDefaultValueRule returns [EObject current=null] : iv_ruleDefaultValueRule= ruleDefaultValueRule EOF ;
1672
    public final EObject entryRuleDefaultValueRule() throws RecognitionException {
1604
    public final EObject entryRuleDefaultValueRule() throws RecognitionException {
1673
        EObject current = null;
1605
        EObject current = null;
1674
1606
Lines 1676-1691 Link Here
1676
1608
1677
1609
1678
        try {
1610
        try {
1679
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:794:2: (iv_ruleDefaultValueRule= ruleDefaultValueRule EOF )
1611
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:660:2: (iv_ruleDefaultValueRule= ruleDefaultValueRule EOF )
1680
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:795:2: iv_ruleDefaultValueRule= ruleDefaultValueRule EOF
1612
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:661:2: iv_ruleDefaultValueRule= ruleDefaultValueRule EOF
1681
            {
1613
            {
1682
             currentNode = createCompositeNode(grammarAccess.getDefaultValueRuleRule(), currentNode); 
1614
             newCompositeNode(grammarAccess.getDefaultValueRuleRule()); 
1683
            pushFollow(FOLLOW_ruleDefaultValueRule_in_entryRuleDefaultValueRule1295);
1615
            pushFollow(FOLLOW_ruleDefaultValueRule_in_entryRuleDefaultValueRule1325);
1684
            iv_ruleDefaultValueRule=ruleDefaultValueRule();
1616
            iv_ruleDefaultValueRule=ruleDefaultValueRule();
1685
            _fsp--;
1617
1618
            state._fsp--;
1686
1619
1687
             current =iv_ruleDefaultValueRule; 
1620
             current =iv_ruleDefaultValueRule; 
1688
            match(input,EOF,FOLLOW_EOF_in_entryRuleDefaultValueRule1305); 
1621
            match(input,EOF,FOLLOW_EOF_in_entryRuleDefaultValueRule1335); 
1689
1622
1690
            }
1623
            }
1691
1624
Lines 1699-1753 Link Here
1699
        }
1632
        }
1700
        return current;
1633
        return current;
1701
    }
1634
    }
1702
    // $ANTLR end entryRuleDefaultValueRule
1635
    // $ANTLR end "entryRuleDefaultValueRule"
1703
1636
1704
1637
1705
    // $ANTLR start ruleDefaultValueRule
1638
    // $ANTLR start "ruleDefaultValueRule"
1706
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:802:1: ruleDefaultValueRule returns [EObject current=null] : ( '=' ( (lv_default_1_0= RULE_STRING ) ) ) ;
1639
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:668:1: ruleDefaultValueRule returns [EObject current=null] : (otherlv_0= '=' ( (lv_default_1_0= RULE_STRING ) ) ) ;
1707
    public final EObject ruleDefaultValueRule() throws RecognitionException {
1640
    public final EObject ruleDefaultValueRule() throws RecognitionException {
1708
        EObject current = null;
1641
        EObject current = null;
1709
1642
1643
        Token otherlv_0=null;
1710
        Token lv_default_1_0=null;
1644
        Token lv_default_1_0=null;
1711
1645
1712
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
1646
         enterRule(); 
1713
            
1647
            
1714
        try {
1648
        try {
1715
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:807:6: ( ( '=' ( (lv_default_1_0= RULE_STRING ) ) ) )
1649
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:671:28: ( (otherlv_0= '=' ( (lv_default_1_0= RULE_STRING ) ) ) )
1716
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:808:1: ( '=' ( (lv_default_1_0= RULE_STRING ) ) )
1650
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:672:1: (otherlv_0= '=' ( (lv_default_1_0= RULE_STRING ) ) )
1717
            {
1651
            {
1718
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:808:1: ( '=' ( (lv_default_1_0= RULE_STRING ) ) )
1652
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:672:1: (otherlv_0= '=' ( (lv_default_1_0= RULE_STRING ) ) )
1719
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:808:3: '=' ( (lv_default_1_0= RULE_STRING ) )
1653
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:672:3: otherlv_0= '=' ( (lv_default_1_0= RULE_STRING ) )
1720
            {
1654
            {
1721
            match(input,24,FOLLOW_24_in_ruleDefaultValueRule1340); 
1655
            otherlv_0=(Token)match(input,24,FOLLOW_24_in_ruleDefaultValueRule1372); 
1722
1656
1723
                    createLeafNode(grammarAccess.getDefaultValueRuleAccess().getEqualsSignKeyword_0(), null); 
1657
                	newLeafNode(otherlv_0, grammarAccess.getDefaultValueRuleAccess().getEqualsSignKeyword_0());
1724
                
1658
                
1725
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:812:1: ( (lv_default_1_0= RULE_STRING ) )
1659
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:676:1: ( (lv_default_1_0= RULE_STRING ) )
1726
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:813:1: (lv_default_1_0= RULE_STRING )
1660
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:677:1: (lv_default_1_0= RULE_STRING )
1727
            {
1661
            {
1728
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:813:1: (lv_default_1_0= RULE_STRING )
1662
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:677:1: (lv_default_1_0= RULE_STRING )
1729
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:814:3: lv_default_1_0= RULE_STRING
1663
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:678:3: lv_default_1_0= RULE_STRING
1730
            {
1664
            {
1731
            lv_default_1_0=(Token)input.LT(1);
1665
            lv_default_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDefaultValueRule1389); 
1732
            match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDefaultValueRule1357); 
1733
1666
1734
            			createLeafNode(grammarAccess.getDefaultValueRuleAccess().getDefaultSTRINGTerminalRuleCall_1_0(), "default"); 
1667
            			newLeafNode(lv_default_1_0, grammarAccess.getDefaultValueRuleAccess().getDefaultSTRINGTerminalRuleCall_1_0()); 
1735
            		
1668
            		
1736
1669
1737
            	        if (current==null) {
1670
            	        if (current==null) {
1738
            	            current = factory.create(grammarAccess.getDefaultValueRuleRule().getType().getClassifier());
1671
            	            current = createModelElement(grammarAccess.getDefaultValueRuleRule());
1739
            	            associateNodeWithAstElement(currentNode, current);
1740
            	        }
1672
            	        }
1741
            	        try {
1673
                   		setWithLastConsumed(
1742
            	       		set(
1674
                   			current, 
1743
            	       			current, 
1675
                   			"default",
1744
            	       			"default",
1676
                    		lv_default_1_0, 
1745
            	        		lv_default_1_0, 
1677
                    		"STRING");
1746
            	        		"STRING", 
1747
            	        		lastConsumedNode);
1748
            	        } catch (ValueConverterException vce) {
1749
            				handleValueConverterException(vce);
1750
            	        }
1751
            	    
1678
            	    
1752
1679
1753
            }
1680
            }
Lines 1761-1769 Link Here
1761
1688
1762
            }
1689
            }
1763
1690
1764
             resetLookahead(); 
1691
             leaveRule(); 
1765
                	lastConsumedNode = currentNode;
1766
                
1767
        }
1692
        }
1768
         
1693
         
1769
            catch (RecognitionException re) { 
1694
            catch (RecognitionException re) { 
Lines 1774-1793 Link Here
1774
        }
1699
        }
1775
        return current;
1700
        return current;
1776
    }
1701
    }
1777
    // $ANTLR end ruleDefaultValueRule
1702
    // $ANTLR end "ruleDefaultValueRule"
1778
1703
1779
1704
1780
    // $ANTLR start ruleVisibilityKind
1705
    // $ANTLR start "ruleVisibilityKind"
1781
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:844:1: ruleVisibilityKind returns [Enumerator current=null] : ( ( '+' ) | ( '-' ) | ( '#' ) | ( '~' ) ) ;
1706
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:702:1: ruleVisibilityKind returns [Enumerator current=null] : ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) ) ;
1782
    public final Enumerator ruleVisibilityKind() throws RecognitionException {
1707
    public final Enumerator ruleVisibilityKind() throws RecognitionException {
1783
        Enumerator current = null;
1708
        Enumerator current = null;
1784
1709
1785
         setCurrentLookahead(); resetLookahead(); 
1710
        Token enumLiteral_0=null;
1711
        Token enumLiteral_1=null;
1712
        Token enumLiteral_2=null;
1713
        Token enumLiteral_3=null;
1714
1715
         enterRule(); 
1786
        try {
1716
        try {
1787
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:848:6: ( ( ( '+' ) | ( '-' ) | ( '#' ) | ( '~' ) ) )
1717
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:704:28: ( ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) ) )
1788
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:849:1: ( ( '+' ) | ( '-' ) | ( '#' ) | ( '~' ) )
1718
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:705:1: ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) )
1789
            {
1719
            {
1790
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:849:1: ( ( '+' ) | ( '-' ) | ( '#' ) | ( '~' ) )
1720
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:705:1: ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) )
1791
            int alt11=4;
1721
            int alt11=4;
1792
            switch ( input.LA(1) ) {
1722
            switch ( input.LA(1) ) {
1793
            case 25:
1723
            case 25:
Lines 1812-1833 Link Here
1812
                break;
1742
                break;
1813
            default:
1743
            default:
1814
                NoViableAltException nvae =
1744
                NoViableAltException nvae =
1815
                    new NoViableAltException("849:1: ( ( '+' ) | ( '-' ) | ( '#' ) | ( '~' ) )", 11, 0, input);
1745
                    new NoViableAltException("", 11, 0, input);
1816
1746
1817
                throw nvae;
1747
                throw nvae;
1818
            }
1748
            }
1819
1749
1820
            switch (alt11) {
1750
            switch (alt11) {
1821
                case 1 :
1751
                case 1 :
1822
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:849:2: ( '+' )
1752
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:705:2: (enumLiteral_0= '+' )
1823
                    {
1753
                    {
1824
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:849:2: ( '+' )
1754
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:705:2: (enumLiteral_0= '+' )
1825
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:849:4: '+'
1755
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:705:4: enumLiteral_0= '+'
1826
                    {
1756
                    {
1827
                    match(input,25,FOLLOW_25_in_ruleVisibilityKind1410); 
1757
                    enumLiteral_0=(Token)match(input,25,FOLLOW_25_in_ruleVisibilityKind1444); 
1828
1758
1829
                            current = grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
1759
                            current = grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
1830
                            createLeafNode(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0(), null); 
1760
                            newLeafNode(enumLiteral_0, grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0()); 
1831
                        
1761
                        
1832
1762
1833
                    }
1763
                    }
Lines 1836-1850 Link Here
1836
                    }
1766
                    }
1837
                    break;
1767
                    break;
1838
                case 2 :
1768
                case 2 :
1839
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:855:6: ( '-' )
1769
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:711:6: (enumLiteral_1= '-' )
1840
                    {
1770
                    {
1841
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:855:6: ( '-' )
1771
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:711:6: (enumLiteral_1= '-' )
1842
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:855:8: '-'
1772
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:711:8: enumLiteral_1= '-'
1843
                    {
1773
                    {
1844
                    match(input,26,FOLLOW_26_in_ruleVisibilityKind1425); 
1774
                    enumLiteral_1=(Token)match(input,26,FOLLOW_26_in_ruleVisibilityKind1461); 
1845
1775
1846
                            current = grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
1776
                            current = grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
1847
                            createLeafNode(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1(), null); 
1777
                            newLeafNode(enumLiteral_1, grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1()); 
1848
                        
1778
                        
1849
1779
1850
                    }
1780
                    }
Lines 1853-1867 Link Here
1853
                    }
1783
                    }
1854
                    break;
1784
                    break;
1855
                case 3 :
1785
                case 3 :
1856
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:861:6: ( '#' )
1786
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:717:6: (enumLiteral_2= '#' )
1857
                    {
1787
                    {
1858
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:861:6: ( '#' )
1788
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:717:6: (enumLiteral_2= '#' )
1859
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:861:8: '#'
1789
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:717:8: enumLiteral_2= '#'
1860
                    {
1790
                    {
1861
                    match(input,27,FOLLOW_27_in_ruleVisibilityKind1440); 
1791
                    enumLiteral_2=(Token)match(input,27,FOLLOW_27_in_ruleVisibilityKind1478); 
1862
1792
1863
                            current = grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
1793
                            current = grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
1864
                            createLeafNode(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2(), null); 
1794
                            newLeafNode(enumLiteral_2, grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2()); 
1865
                        
1795
                        
1866
1796
1867
                    }
1797
                    }
Lines 1870-1884 Link Here
1870
                    }
1800
                    }
1871
                    break;
1801
                    break;
1872
                case 4 :
1802
                case 4 :
1873
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:867:6: ( '~' )
1803
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:723:6: (enumLiteral_3= '~' )
1874
                    {
1804
                    {
1875
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:867:6: ( '~' )
1805
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:723:6: (enumLiteral_3= '~' )
1876
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:867:8: '~'
1806
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:723:8: enumLiteral_3= '~'
1877
                    {
1807
                    {
1878
                    match(input,28,FOLLOW_28_in_ruleVisibilityKind1455); 
1808
                    enumLiteral_3=(Token)match(input,28,FOLLOW_28_in_ruleVisibilityKind1495); 
1879
1809
1880
                            current = grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
1810
                            current = grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
1881
                            createLeafNode(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3(), null); 
1811
                            newLeafNode(enumLiteral_3, grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3()); 
1882
                        
1812
                        
1883
1813
1884
                    }
1814
                    }
Lines 1892-1900 Link Here
1892
1822
1893
            }
1823
            }
1894
1824
1895
             resetLookahead(); 
1825
             leaveRule(); 
1896
                	lastConsumedNode = currentNode;
1897
                
1898
        }
1826
        }
1899
         
1827
         
1900
            catch (RecognitionException re) { 
1828
            catch (RecognitionException re) { 
Lines 1905-1924 Link Here
1905
        }
1833
        }
1906
        return current;
1834
        return current;
1907
    }
1835
    }
1908
    // $ANTLR end ruleVisibilityKind
1836
    // $ANTLR end "ruleVisibilityKind"
1909
1837
1910
1838
1911
    // $ANTLR start ruleModifierKind
1839
    // $ANTLR start "ruleModifierKind"
1912
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:877:1: ruleModifierKind returns [Enumerator current=null] : ( ( 'readOnly' ) | ( 'union' ) | ( 'ordered' ) | ( 'unique' ) ) ;
1840
    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:733:1: ruleModifierKind returns [Enumerator current=null] : ( (enumLiteral_0= 'readOnly' ) | (enumLiteral_1= 'union' ) | (enumLiteral_2= 'ordered' ) | (enumLiteral_3= 'unique' ) ) ;
1913
    public final Enumerator ruleModifierKind() throws RecognitionException {
1841
    public final Enumerator ruleModifierKind() throws RecognitionException {
1914
        Enumerator current = null;
1842
        Enumerator current = null;
1915
1843
1916
         setCurrentLookahead(); resetLookahead(); 
1844
        Token enumLiteral_0=null;
1845
        Token enumLiteral_1=null;
1846
        Token enumLiteral_2=null;
1847
        Token enumLiteral_3=null;
1848
1849
         enterRule(); 
1917
        try {
1850
        try {
1918
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:881:6: ( ( ( 'readOnly' ) | ( 'union' ) | ( 'ordered' ) | ( 'unique' ) ) )
1851
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:735:28: ( ( (enumLiteral_0= 'readOnly' ) | (enumLiteral_1= 'union' ) | (enumLiteral_2= 'ordered' ) | (enumLiteral_3= 'unique' ) ) )
1919
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:882:1: ( ( 'readOnly' ) | ( 'union' ) | ( 'ordered' ) | ( 'unique' ) )
1852
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:736:1: ( (enumLiteral_0= 'readOnly' ) | (enumLiteral_1= 'union' ) | (enumLiteral_2= 'ordered' ) | (enumLiteral_3= 'unique' ) )
1920
            {
1853
            {
1921
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:882:1: ( ( 'readOnly' ) | ( 'union' ) | ( 'ordered' ) | ( 'unique' ) )
1854
            // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:736:1: ( (enumLiteral_0= 'readOnly' ) | (enumLiteral_1= 'union' ) | (enumLiteral_2= 'ordered' ) | (enumLiteral_3= 'unique' ) )
1922
            int alt12=4;
1855
            int alt12=4;
1923
            switch ( input.LA(1) ) {
1856
            switch ( input.LA(1) ) {
1924
            case 29:
1857
            case 29:
Lines 1943-1964 Link Here
1943
                break;
1876
                break;
1944
            default:
1877
            default:
1945
                NoViableAltException nvae =
1878
                NoViableAltException nvae =
1946
                    new NoViableAltException("882:1: ( ( 'readOnly' ) | ( 'union' ) | ( 'ordered' ) | ( 'unique' ) )", 12, 0, input);
1879
                    new NoViableAltException("", 12, 0, input);
1947
1880
1948
                throw nvae;
1881
                throw nvae;
1949
            }
1882
            }
1950
1883
1951
            switch (alt12) {
1884
            switch (alt12) {
1952
                case 1 :
1885
                case 1 :
1953
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:882:2: ( 'readOnly' )
1886
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:736:2: (enumLiteral_0= 'readOnly' )
1954
                    {
1887
                    {
1955
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:882:2: ( 'readOnly' )
1888
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:736:2: (enumLiteral_0= 'readOnly' )
1956
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:882:4: 'readOnly'
1889
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:736:4: enumLiteral_0= 'readOnly'
1957
                    {
1890
                    {
1958
                    match(input,29,FOLLOW_29_in_ruleModifierKind1498); 
1891
                    enumLiteral_0=(Token)match(input,29,FOLLOW_29_in_ruleModifierKind1540); 
1959
1892
1960
                            current = grammarAccess.getModifierKindAccess().getReadOnlyEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
1893
                            current = grammarAccess.getModifierKindAccess().getReadOnlyEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
1961
                            createLeafNode(grammarAccess.getModifierKindAccess().getReadOnlyEnumLiteralDeclaration_0(), null); 
1894
                            newLeafNode(enumLiteral_0, grammarAccess.getModifierKindAccess().getReadOnlyEnumLiteralDeclaration_0()); 
1962
                        
1895
                        
1963
1896
1964
                    }
1897
                    }
Lines 1967-1981 Link Here
1967
                    }
1900
                    }
1968
                    break;
1901
                    break;
1969
                case 2 :
1902
                case 2 :
1970
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:888:6: ( 'union' )
1903
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:742:6: (enumLiteral_1= 'union' )
1971
                    {
1904
                    {
1972
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:888:6: ( 'union' )
1905
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:742:6: (enumLiteral_1= 'union' )
1973
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:888:8: 'union'
1906
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:742:8: enumLiteral_1= 'union'
1974
                    {
1907
                    {
1975
                    match(input,30,FOLLOW_30_in_ruleModifierKind1513); 
1908
                    enumLiteral_1=(Token)match(input,30,FOLLOW_30_in_ruleModifierKind1557); 
1976
1909
1977
                            current = grammarAccess.getModifierKindAccess().getUnionEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
1910
                            current = grammarAccess.getModifierKindAccess().getUnionEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
1978
                            createLeafNode(grammarAccess.getModifierKindAccess().getUnionEnumLiteralDeclaration_1(), null); 
1911
                            newLeafNode(enumLiteral_1, grammarAccess.getModifierKindAccess().getUnionEnumLiteralDeclaration_1()); 
1979
                        
1912
                        
1980
1913
1981
                    }
1914
                    }
Lines 1984-1998 Link Here
1984
                    }
1917
                    }
1985
                    break;
1918
                    break;
1986
                case 3 :
1919
                case 3 :
1987
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:894:6: ( 'ordered' )
1920
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:748:6: (enumLiteral_2= 'ordered' )
1988
                    {
1921
                    {
1989
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:894:6: ( 'ordered' )
1922
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:748:6: (enumLiteral_2= 'ordered' )
1990
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:894:8: 'ordered'
1923
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:748:8: enumLiteral_2= 'ordered'
1991
                    {
1924
                    {
1992
                    match(input,31,FOLLOW_31_in_ruleModifierKind1528); 
1925
                    enumLiteral_2=(Token)match(input,31,FOLLOW_31_in_ruleModifierKind1574); 
1993
1926
1994
                            current = grammarAccess.getModifierKindAccess().getOrderedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
1927
                            current = grammarAccess.getModifierKindAccess().getOrderedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
1995
                            createLeafNode(grammarAccess.getModifierKindAccess().getOrderedEnumLiteralDeclaration_2(), null); 
1928
                            newLeafNode(enumLiteral_2, grammarAccess.getModifierKindAccess().getOrderedEnumLiteralDeclaration_2()); 
1996
                        
1929
                        
1997
1930
1998
                    }
1931
                    }
Lines 2001-2015 Link Here
2001
                    }
1934
                    }
2002
                    break;
1935
                    break;
2003
                case 4 :
1936
                case 4 :
2004
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:900:6: ( 'unique' )
1937
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:754:6: (enumLiteral_3= 'unique' )
2005
                    {
1938
                    {
2006
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:900:6: ( 'unique' )
1939
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:754:6: (enumLiteral_3= 'unique' )
2007
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:900:8: 'unique'
1940
                    // ../org.eclipse.papyrus.property.editor.xtext/src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/internal/InternalUmlProperty.g:754:8: enumLiteral_3= 'unique'
2008
                    {
1941
                    {
2009
                    match(input,32,FOLLOW_32_in_ruleModifierKind1543); 
1942
                    enumLiteral_3=(Token)match(input,32,FOLLOW_32_in_ruleModifierKind1591); 
2010
1943
2011
                            current = grammarAccess.getModifierKindAccess().getUniqueEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
1944
                            current = grammarAccess.getModifierKindAccess().getUniqueEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
2012
                            createLeafNode(grammarAccess.getModifierKindAccess().getUniqueEnumLiteralDeclaration_3(), null); 
1945
                            newLeafNode(enumLiteral_3, grammarAccess.getModifierKindAccess().getUniqueEnumLiteralDeclaration_3()); 
2013
                        
1946
                        
2014
1947
2015
                    }
1948
                    }
Lines 2023-2031 Link Here
2023
1956
2024
            }
1957
            }
2025
1958
2026
             resetLookahead(); 
1959
             leaveRule(); 
2027
                	lastConsumedNode = currentNode;
2028
                
2029
        }
1960
        }
2030
         
1961
         
2031
            catch (RecognitionException re) { 
1962
            catch (RecognitionException re) { 
Lines 2036-2043 Link Here
2036
        }
1967
        }
2037
        return current;
1968
        return current;
2038
    }
1969
    }
2039
    // $ANTLR end ruleModifierKind
1970
    // $ANTLR end "ruleModifierKind"
2040
1971
1972
    // Delegated rules
1973
2041
1974
2042
 
1975
 
2043
1976
Lines 2046-2107 Link Here
2046
    public static final BitSet FOLLOW_ruleVisibilityKind_in_rulePropertyRule131 = new BitSet(new long[]{0x0000000000001010L});
1979
    public static final BitSet FOLLOW_ruleVisibilityKind_in_rulePropertyRule131 = new BitSet(new long[]{0x0000000000001010L});
2047
    public static final BitSet FOLLOW_12_in_rulePropertyRule149 = new BitSet(new long[]{0x0000000000000010L});
1980
    public static final BitSet FOLLOW_12_in_rulePropertyRule149 = new BitSet(new long[]{0x0000000000000010L});
2048
    public static final BitSet FOLLOW_RULE_ID_in_rulePropertyRule180 = new BitSet(new long[]{0x0000000000002000L});
1981
    public static final BitSet FOLLOW_RULE_ID_in_rulePropertyRule180 = new BitSet(new long[]{0x0000000000002000L});
2049
    public static final BitSet FOLLOW_13_in_rulePropertyRule195 = new BitSet(new long[]{0x0000000000004010L});
1982
    public static final BitSet FOLLOW_13_in_rulePropertyRule197 = new BitSet(new long[]{0x0000000000004010L});
2050
    public static final BitSet FOLLOW_ruleTypeRule_in_rulePropertyRule217 = new BitSet(new long[]{0x0000000001090002L});
1983
    public static final BitSet FOLLOW_ruleTypeRule_in_rulePropertyRule219 = new BitSet(new long[]{0x0000000001090002L});
2051
    public static final BitSet FOLLOW_14_in_rulePropertyRule233 = new BitSet(new long[]{0x0000000001090002L});
1984
    public static final BitSet FOLLOW_14_in_rulePropertyRule237 = new BitSet(new long[]{0x0000000001090002L});
2052
    public static final BitSet FOLLOW_ruleMultiplicityRule_in_rulePropertyRule255 = new BitSet(new long[]{0x0000000001080002L});
1985
    public static final BitSet FOLLOW_ruleMultiplicityRule_in_rulePropertyRule259 = new BitSet(new long[]{0x0000000001080002L});
2053
    public static final BitSet FOLLOW_ruleModifiersRule_in_rulePropertyRule277 = new BitSet(new long[]{0x0000000001000002L});
1986
    public static final BitSet FOLLOW_ruleModifiersRule_in_rulePropertyRule281 = new BitSet(new long[]{0x0000000001000002L});
2054
    public static final BitSet FOLLOW_ruleDefaultValueRule_in_rulePropertyRule299 = new BitSet(new long[]{0x0000000000000002L});
1987
    public static final BitSet FOLLOW_ruleDefaultValueRule_in_rulePropertyRule303 = new BitSet(new long[]{0x0000000000000002L});
2055
    public static final BitSet FOLLOW_ruleTypeRule_in_entryRuleTypeRule336 = new BitSet(new long[]{0x0000000000000000L});
1988
    public static final BitSet FOLLOW_ruleTypeRule_in_entryRuleTypeRule340 = new BitSet(new long[]{0x0000000000000000L});
2056
    public static final BitSet FOLLOW_EOF_in_entryRuleTypeRule346 = new BitSet(new long[]{0x0000000000000002L});
1989
    public static final BitSet FOLLOW_EOF_in_entryRuleTypeRule350 = new BitSet(new long[]{0x0000000000000002L});
2057
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleTypeRule392 = new BitSet(new long[]{0x0000000000000010L});
1990
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleTypeRule396 = new BitSet(new long[]{0x0000000000000010L});
2058
    public static final BitSet FOLLOW_RULE_ID_in_ruleTypeRule411 = new BitSet(new long[]{0x0000000000000002L});
1991
    public static final BitSet FOLLOW_RULE_ID_in_ruleTypeRule417 = new BitSet(new long[]{0x0000000000000002L});
2059
    public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName447 = new BitSet(new long[]{0x0000000000000000L});
1992
    public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName453 = new BitSet(new long[]{0x0000000000000000L});
2060
    public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName457 = new BitSet(new long[]{0x0000000000000002L});
1993
    public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName463 = new BitSet(new long[]{0x0000000000000002L});
2061
    public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName500 = new BitSet(new long[]{0x0000000000008000L});
1994
    public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName508 = new BitSet(new long[]{0x0000000000008000L});
2062
    public static final BitSet FOLLOW_15_in_ruleQualifiedName510 = new BitSet(new long[]{0x0000000000000012L});
1995
    public static final BitSet FOLLOW_15_in_ruleQualifiedName520 = new BitSet(new long[]{0x0000000000000012L});
2063
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedName531 = new BitSet(new long[]{0x0000000000000002L});
1996
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedName541 = new BitSet(new long[]{0x0000000000000002L});
2064
    public static final BitSet FOLLOW_ruleMultiplicityRule_in_entryRuleMultiplicityRule568 = new BitSet(new long[]{0x0000000000000000L});
1997
    public static final BitSet FOLLOW_ruleMultiplicityRule_in_entryRuleMultiplicityRule578 = new BitSet(new long[]{0x0000000000000000L});
2065
    public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityRule578 = new BitSet(new long[]{0x0000000000000002L});
1998
    public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityRule588 = new BitSet(new long[]{0x0000000000000002L});
2066
    public static final BitSet FOLLOW_16_in_ruleMultiplicityRule613 = new BitSet(new long[]{0x0000000000000020L});
1999
    public static final BitSet FOLLOW_16_in_ruleMultiplicityRule625 = new BitSet(new long[]{0x0000000000000020L});
2067
    public static final BitSet FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule634 = new BitSet(new long[]{0x0000000000060000L});
2000
    public static final BitSet FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule646 = new BitSet(new long[]{0x0000000000060000L});
2068
    public static final BitSet FOLLOW_17_in_ruleMultiplicityRule645 = new BitSet(new long[]{0x0000000000000020L});
2001
    public static final BitSet FOLLOW_17_in_ruleMultiplicityRule659 = new BitSet(new long[]{0x0000000000000020L});
2069
    public static final BitSet FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule666 = new BitSet(new long[]{0x0000000000040000L});
2002
    public static final BitSet FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule680 = new BitSet(new long[]{0x0000000000040000L});
2070
    public static final BitSet FOLLOW_18_in_ruleMultiplicityRule678 = new BitSet(new long[]{0x0000000000000002L});
2003
    public static final BitSet FOLLOW_18_in_ruleMultiplicityRule694 = new BitSet(new long[]{0x0000000000000002L});
2071
    public static final BitSet FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification714 = new BitSet(new long[]{0x0000000000000000L});
2004
    public static final BitSet FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification730 = new BitSet(new long[]{0x0000000000000000L});
2072
    public static final BitSet FOLLOW_EOF_in_entryRuleBoundSpecification724 = new BitSet(new long[]{0x0000000000000002L});
2005
    public static final BitSet FOLLOW_EOF_in_entryRuleBoundSpecification740 = new BitSet(new long[]{0x0000000000000002L});
2073
    public static final BitSet FOLLOW_RULE_UNLIMITEDLITERAL_in_ruleBoundSpecification765 = new BitSet(new long[]{0x0000000000000002L});
2006
    public static final BitSet FOLLOW_RULE_UNLIMITEDLITERAL_in_ruleBoundSpecification781 = new BitSet(new long[]{0x0000000000000002L});
2074
    public static final BitSet FOLLOW_ruleModifiersRule_in_entryRuleModifiersRule805 = new BitSet(new long[]{0x0000000000000000L});
2007
    public static final BitSet FOLLOW_ruleModifiersRule_in_entryRuleModifiersRule821 = new BitSet(new long[]{0x0000000000000000L});
2075
    public static final BitSet FOLLOW_EOF_in_entryRuleModifiersRule815 = new BitSet(new long[]{0x0000000000000002L});
2008
    public static final BitSet FOLLOW_EOF_in_entryRuleModifiersRule831 = new BitSet(new long[]{0x0000000000000002L});
2076
    public static final BitSet FOLLOW_19_in_ruleModifiersRule850 = new BitSet(new long[]{0x00000001E0C00000L});
2009
    public static final BitSet FOLLOW_19_in_ruleModifiersRule868 = new BitSet(new long[]{0x00000001E0C00000L});
2077
    public static final BitSet FOLLOW_ruleModifierSpecification_in_ruleModifiersRule871 = new BitSet(new long[]{0x0000000000300000L});
2010
    public static final BitSet FOLLOW_ruleModifierSpecification_in_ruleModifiersRule889 = new BitSet(new long[]{0x0000000000300000L});
2078
    public static final BitSet FOLLOW_20_in_ruleModifiersRule882 = new BitSet(new long[]{0x00000001E0C00000L});
2011
    public static final BitSet FOLLOW_20_in_ruleModifiersRule902 = new BitSet(new long[]{0x00000001E0C00000L});
2079
    public static final BitSet FOLLOW_ruleModifierSpecification_in_ruleModifiersRule903 = new BitSet(new long[]{0x0000000000300000L});
2012
    public static final BitSet FOLLOW_ruleModifierSpecification_in_ruleModifiersRule923 = new BitSet(new long[]{0x0000000000300000L});
2080
    public static final BitSet FOLLOW_21_in_ruleModifiersRule915 = new BitSet(new long[]{0x0000000000000002L});
2013
    public static final BitSet FOLLOW_21_in_ruleModifiersRule937 = new BitSet(new long[]{0x0000000000000002L});
2081
    public static final BitSet FOLLOW_ruleModifierSpecification_in_entryRuleModifierSpecification951 = new BitSet(new long[]{0x0000000000000000L});
2014
    public static final BitSet FOLLOW_ruleModifierSpecification_in_entryRuleModifierSpecification973 = new BitSet(new long[]{0x0000000000000000L});
2082
    public static final BitSet FOLLOW_EOF_in_entryRuleModifierSpecification961 = new BitSet(new long[]{0x0000000000000002L});
2015
    public static final BitSet FOLLOW_EOF_in_entryRuleModifierSpecification983 = new BitSet(new long[]{0x0000000000000002L});
2083
    public static final BitSet FOLLOW_ruleModifierKind_in_ruleModifierSpecification1007 = new BitSet(new long[]{0x0000000000000002L});
2016
    public static final BitSet FOLLOW_ruleModifierKind_in_ruleModifierSpecification1029 = new BitSet(new long[]{0x0000000000000002L});
2084
    public static final BitSet FOLLOW_ruleRedefinesRule_in_ruleModifierSpecification1034 = new BitSet(new long[]{0x0000000000000002L});
2017
    public static final BitSet FOLLOW_ruleRedefinesRule_in_ruleModifierSpecification1056 = new BitSet(new long[]{0x0000000000000002L});
2085
    public static final BitSet FOLLOW_ruleSubsetsRule_in_ruleModifierSpecification1061 = new BitSet(new long[]{0x0000000000000002L});
2018
    public static final BitSet FOLLOW_ruleSubsetsRule_in_ruleModifierSpecification1083 = new BitSet(new long[]{0x0000000000000002L});
2086
    public static final BitSet FOLLOW_ruleRedefinesRule_in_entryRuleRedefinesRule1097 = new BitSet(new long[]{0x0000000000000000L});
2019
    public static final BitSet FOLLOW_ruleRedefinesRule_in_entryRuleRedefinesRule1119 = new BitSet(new long[]{0x0000000000000000L});
2087
    public static final BitSet FOLLOW_EOF_in_entryRuleRedefinesRule1107 = new BitSet(new long[]{0x0000000000000002L});
2020
    public static final BitSet FOLLOW_EOF_in_entryRuleRedefinesRule1129 = new BitSet(new long[]{0x0000000000000002L});
2088
    public static final BitSet FOLLOW_22_in_ruleRedefinesRule1142 = new BitSet(new long[]{0x0000000000000010L});
2021
    public static final BitSet FOLLOW_22_in_ruleRedefinesRule1166 = new BitSet(new long[]{0x0000000000000010L});
2089
    public static final BitSet FOLLOW_RULE_ID_in_ruleRedefinesRule1160 = new BitSet(new long[]{0x0000000000000002L});
2022
    public static final BitSet FOLLOW_RULE_ID_in_ruleRedefinesRule1186 = new BitSet(new long[]{0x0000000000000002L});
2090
    public static final BitSet FOLLOW_ruleSubsetsRule_in_entryRuleSubsetsRule1196 = new BitSet(new long[]{0x0000000000000000L});
2023
    public static final BitSet FOLLOW_ruleSubsetsRule_in_entryRuleSubsetsRule1222 = new BitSet(new long[]{0x0000000000000000L});
2091
    public static final BitSet FOLLOW_EOF_in_entryRuleSubsetsRule1206 = new BitSet(new long[]{0x0000000000000002L});
2024
    public static final BitSet FOLLOW_EOF_in_entryRuleSubsetsRule1232 = new BitSet(new long[]{0x0000000000000002L});
2092
    public static final BitSet FOLLOW_23_in_ruleSubsetsRule1241 = new BitSet(new long[]{0x0000000000000010L});
2025
    public static final BitSet FOLLOW_23_in_ruleSubsetsRule1269 = new BitSet(new long[]{0x0000000000000010L});
2093
    public static final BitSet FOLLOW_RULE_ID_in_ruleSubsetsRule1259 = new BitSet(new long[]{0x0000000000000002L});
2026
    public static final BitSet FOLLOW_RULE_ID_in_ruleSubsetsRule1289 = new BitSet(new long[]{0x0000000000000002L});
2094
    public static final BitSet FOLLOW_ruleDefaultValueRule_in_entryRuleDefaultValueRule1295 = new BitSet(new long[]{0x0000000000000000L});
2027
    public static final BitSet FOLLOW_ruleDefaultValueRule_in_entryRuleDefaultValueRule1325 = new BitSet(new long[]{0x0000000000000000L});
2095
    public static final BitSet FOLLOW_EOF_in_entryRuleDefaultValueRule1305 = new BitSet(new long[]{0x0000000000000002L});
2028
    public static final BitSet FOLLOW_EOF_in_entryRuleDefaultValueRule1335 = new BitSet(new long[]{0x0000000000000002L});
2096
    public static final BitSet FOLLOW_24_in_ruleDefaultValueRule1340 = new BitSet(new long[]{0x0000000000000040L});
2029
    public static final BitSet FOLLOW_24_in_ruleDefaultValueRule1372 = new BitSet(new long[]{0x0000000000000040L});
2097
    public static final BitSet FOLLOW_RULE_STRING_in_ruleDefaultValueRule1357 = new BitSet(new long[]{0x0000000000000002L});
2030
    public static final BitSet FOLLOW_RULE_STRING_in_ruleDefaultValueRule1389 = new BitSet(new long[]{0x0000000000000002L});
2098
    public static final BitSet FOLLOW_25_in_ruleVisibilityKind1410 = new BitSet(new long[]{0x0000000000000002L});
2031
    public static final BitSet FOLLOW_25_in_ruleVisibilityKind1444 = new BitSet(new long[]{0x0000000000000002L});
2099
    public static final BitSet FOLLOW_26_in_ruleVisibilityKind1425 = new BitSet(new long[]{0x0000000000000002L});
2032
    public static final BitSet FOLLOW_26_in_ruleVisibilityKind1461 = new BitSet(new long[]{0x0000000000000002L});
2100
    public static final BitSet FOLLOW_27_in_ruleVisibilityKind1440 = new BitSet(new long[]{0x0000000000000002L});
2033
    public static final BitSet FOLLOW_27_in_ruleVisibilityKind1478 = new BitSet(new long[]{0x0000000000000002L});
2101
    public static final BitSet FOLLOW_28_in_ruleVisibilityKind1455 = new BitSet(new long[]{0x0000000000000002L});
2034
    public static final BitSet FOLLOW_28_in_ruleVisibilityKind1495 = new BitSet(new long[]{0x0000000000000002L});
2102
    public static final BitSet FOLLOW_29_in_ruleModifierKind1498 = new BitSet(new long[]{0x0000000000000002L});
2035
    public static final BitSet FOLLOW_29_in_ruleModifierKind1540 = new BitSet(new long[]{0x0000000000000002L});
2103
    public static final BitSet FOLLOW_30_in_ruleModifierKind1513 = new BitSet(new long[]{0x0000000000000002L});
2036
    public static final BitSet FOLLOW_30_in_ruleModifierKind1557 = new BitSet(new long[]{0x0000000000000002L});
2104
    public static final BitSet FOLLOW_31_in_ruleModifierKind1528 = new BitSet(new long[]{0x0000000000000002L});
2037
    public static final BitSet FOLLOW_31_in_ruleModifierKind1574 = new BitSet(new long[]{0x0000000000000002L});
2105
    public static final BitSet FOLLOW_32_in_ruleModifierKind1543 = new BitSet(new long[]{0x0000000000000002L});
2038
    public static final BitSet FOLLOW_32_in_ruleModifierKind1591 = new BitSet(new long[]{0x0000000000000002L});
2106
2039
2107
}
2040
}
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/parser/antlr/UmlPropertyParser.java (-21 / +4 lines)
Lines 3-16 Link Here
3
*/
3
*/
4
package org.eclipse.papyrus.property.editor.xtext.parser.antlr;
4
package org.eclipse.papyrus.property.editor.xtext.parser.antlr;
5
5
6
import org.antlr.runtime.CharStream;
7
import org.antlr.runtime.TokenSource;
8
import org.eclipse.xtext.parser.IParseResult;
9
import org.eclipse.xtext.parser.ParseException;
10
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
11
12
import com.google.inject.Inject;
6
import com.google.inject.Inject;
13
7
8
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
14
import org.eclipse.papyrus.property.editor.xtext.services.UmlPropertyGrammarAccess;
9
import org.eclipse.papyrus.property.editor.xtext.services.UmlPropertyGrammarAccess;
15
10
16
public class UmlPropertyParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
11
public class UmlPropertyParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
Lines 19-43 Link Here
19
	private UmlPropertyGrammarAccess grammarAccess;
14
	private UmlPropertyGrammarAccess grammarAccess;
20
	
15
	
21
	@Override
16
	@Override
22
	protected IParseResult parse(String ruleName, CharStream in) {
17
	protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
23
		TokenSource tokenSource = createLexer(in);
24
		XtextTokenStream tokenStream = createTokenStream(tokenSource);
25
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
18
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
26
		org.eclipse.papyrus.property.editor.xtext.parser.antlr.internal.InternalUmlPropertyParser parser = createParser(tokenStream);
27
		parser.setTokenTypeMap(getTokenDefProvider().getTokenDefMap());
28
		parser.setSyntaxErrorProvider(getSyntaxErrorProvider());
29
		parser.setUnorderedGroupHelper(getUnorderedGroupHelper().get());
30
		try {
31
			if(ruleName != null)
32
				return parser.parse(ruleName);
33
			return parser.parse();
34
		} catch (Exception re) {
35
			throw new ParseException(re.getMessage(),re);
36
		}
37
	}
19
	}
38
	
20
	
21
	@Override
39
	protected org.eclipse.papyrus.property.editor.xtext.parser.antlr.internal.InternalUmlPropertyParser createParser(XtextTokenStream stream) {
22
	protected org.eclipse.papyrus.property.editor.xtext.parser.antlr.internal.InternalUmlPropertyParser createParser(XtextTokenStream stream) {
40
		return new org.eclipse.papyrus.property.editor.xtext.parser.antlr.internal.InternalUmlPropertyParser(stream, getElementFactory(), getGrammarAccess());
23
		return new org.eclipse.papyrus.property.editor.xtext.parser.antlr.internal.InternalUmlPropertyParser(stream, getGrammarAccess());
41
	}
24
	}
42
	
25
	
43
	@Override 
26
	@Override 
(-)plugin.xml_gen (-1 lines)
Lines 14-18 Link Here
14
14
15
15
16
16
17
18
</plugin>
17
</plugin>
(-)src/org/eclipse/papyrus/property/editor/xtext/validation/UmlPropertyJavaValidator.java (-6 / +12 lines)
Lines 80-86 Link Here
80
				upperValue = rule.getBounds().get(1).getValue().equals("*") ? -1 : Integer.valueOf(rule.getBounds().get(1).getValue()) ;
80
				upperValue = rule.getBounds().get(1).getValue().equals("*") ? -1 : Integer.valueOf(rule.getBounds().get(1).getValue()) ;
81
				if ((lowerValue == -1 && upperValue != -1) ||
81
				if ((lowerValue == -1 && upperValue != -1) ||
82
					(lowerValue > upperValue && upperValue != -1)) {
82
					(lowerValue > upperValue && upperValue != -1)) {
83
					error(errorMessage, rule, UmlPropertyPackage.BOUND_SPECIFICATION__VALUE) ;
83
					error(errorMessage, UmlPropertyPackage.eINSTANCE.getBoundSpecification_Value()) ;
84
					//error(errorMessage, rule, UmlPropertyPackage.BOUND_SPECIFICATION__VALUE) ;
84
					valid_MultiplicityRule = false ;
85
					valid_MultiplicityRule = false ;
85
				}
86
				}
86
				else {
87
				else {
Lines 118-124 Link Here
118
119
119
			valid_RedefinesRule = typeOfRedefiningProperty.conformsTo(redefinedProperty.getType()) ;
120
			valid_RedefinesRule = typeOfRedefiningProperty.conformsTo(redefinedProperty.getType()) ;
120
			if (! valid_RedefinesRule) {
121
			if (! valid_RedefinesRule) {
121
				error(typeErrorMessage, rule, UmlPropertyPackage.REDEFINES_RULE__PROPERTY) ;
122
				error(typeErrorMessage, UmlPropertyPackage.eINSTANCE.getRedefinesRule_Property()) ;
123
				//error(typeErrorMessage, rule, UmlPropertyPackage.REDEFINES_RULE__PROPERTY) ;
122
				return ;
124
				return ;
123
			}
125
			}
124
126
Lines 149-162 Link Here
149
			}
151
			}
150
152
151
			if (! valid_RedefinesRule) {
153
			if (! valid_RedefinesRule) {
152
				error(multiplicityErrorMessage, rule, UmlPropertyPackage.REDEFINES_RULE__PROPERTY) ;
154
				error(multiplicityErrorMessage, UmlPropertyPackage.eINSTANCE.getRedefinesRule_Property()) ;
155
				//error(multiplicityErrorMessage, rule, UmlPropertyPackage.REDEFINES_RULE__PROPERTY) ;
153
				return ;
156
				return ;
154
			}
157
			}
155
			
158
			
156
			if (redefinedProperty.isDerived() && !isRedefiningPropertyDerived)
159
			if (redefinedProperty.isDerived() && !isRedefiningPropertyDerived)
157
				valid_RedefinesRule = false ;
160
				valid_RedefinesRule = false ;
158
			if (! valid_RedefinesRule) {
161
			if (! valid_RedefinesRule) {
159
				error(isDerivedErrorMessage, rule, UmlPropertyPackage.REDEFINES_RULE__PROPERTY) ;
162
				error(multiplicityErrorMessage, UmlPropertyPackage.eINSTANCE.getRedefinesRule_Property()) ;
163
				//error(isDerivedErrorMessage, rule, UmlPropertyPackage.REDEFINES_RULE__PROPERTY) ;
160
				return ;
164
				return ;
161
			}
165
			}
162
166
Lines 189-195 Link Here
189
193
190
			valid_SubsetsRule = typeOfSubsettingProperty.conformsTo(subsettedProperty.getType()) ;
194
			valid_SubsetsRule = typeOfSubsettingProperty.conformsTo(subsettedProperty.getType()) ;
191
			if (! valid_SubsetsRule) {
195
			if (! valid_SubsetsRule) {
192
				error(typeErrorMessage, rule, UmlPropertyPackage.SUBSETS_RULE__PROPERTY) ;
196
				error(multiplicityErrorMessage, UmlPropertyPackage.eINSTANCE.getSubsetsRule_Property()) ;
197
				//error(typeErrorMessage, rule, UmlPropertyPackage.SUBSETS_RULE__PROPERTY) ;
193
				return ;
198
				return ;
194
			}
199
			}
195
200
Lines 220-226 Link Here
220
			}
225
			}
221
226
222
			if (! valid_SubsetsRule) {
227
			if (! valid_SubsetsRule) {
223
				error(multiplicityErrorMessage, rule, UmlPropertyPackage.SUBSETS_RULE__PROPERTY) ;
228
				error(multiplicityErrorMessage, UmlPropertyPackage.eINSTANCE.getSubsetsRule_Property()) ;
229
				//error(multiplicityErrorMessage, rule, UmlPropertyPackage.SUBSETS_RULE__PROPERTY) ;
224
				return ;
230
				return ;
225
			}
231
			}
226
			
232
			
(-)src/org/eclipse/papyrus/property/editor/xtext/GenerateUmlProperty.mwe2 (-7 / +14 lines)
Lines 62-68 Link Here
62
			}
62
			}
63
				
63
				
64
			// the following fragment tries to use the Antlr Generator fragment which can be installed via update manager from http://download.itemis.com/updates/
64
			// the following fragment tries to use the Antlr Generator fragment which can be installed via update manager from http://download.itemis.com/updates/
65
			fragment = AntlrDelegatingFragment {}
65
			//fragment = AntlrDelegatingFragment {}
66
			// The antlr parser generator fragment.
67
			fragment = parser.antlr.XtextAntlrGeneratorFragment {
68
			//  options = {
69
			//		backtrack = true
70
			//	}
71
			}
66
			
72
			
67
			/*
73
			/*
68
			If you don't want to use the Antlr fragment for some reason, remove the antlr fragment and uncomment the packrat parser fragment below.
74
			If you don't want to use the Antlr fragment for some reason, remove the antlr fragment and uncomment the packrat parser fragment below.
Lines 99-106 Link Here
99
			fragment = labeling.LabelProviderFragment {}
105
			fragment = labeling.LabelProviderFragment {}
100
106
101
			// outline API 
107
			// outline API 
102
			fragment = outline.TransformerFragment {}
108
			fragment = outline.OutlineTreeProviderFragment {}
103
			fragment = outline.OutlineNodeAdapterFactoryFragment {}
104
			fragment = outline.QuickOutlineFragment {}
109
			fragment = outline.QuickOutlineFragment {}
105
110
106
			// java-based API for content assistance 
111
			// java-based API for content assistance 
Lines 109-118 Link Here
109
			// the following fragment tries to use the Antlr based content assist 
114
			// the following fragment tries to use the Antlr based content assist 
110
			//     fragment which can be downloaded from http://www.itemis.com 
115
			//     fragment which can be downloaded from http://www.itemis.com 
111
			//     and will be ignored if it's not available. 
116
			//     and will be ignored if it's not available. 
112
			fragment = DelegatingGeneratorFragment { 
117
			//fragment = DelegatingGeneratorFragment { 
113
				delegate = "de.itemis.xtext.antlr.XtextAntlrUiGeneratorFragment"
118
			//	delegate = "de.itemis.xtext.antlr.XtextAntlrUiGeneratorFragment"
114
				message="You are generating without ANTLR. It is highly recommended to download and use the plugin \'de.itemis.xtext.antlr\' \n\t using the update site http://download.itemis.com/updates/."
119
			//	message="You are generating without ANTLR. It is highly recommended to download and use the plugin \'de.itemis.xtext.antlr\' \n\t using the update site http://download.itemis.com/updates/."
115
			}
120
			//}
121
			
122
			fragment = parser.antlr.XtextAntlrUiGeneratorFragment {}
116
123
117
			fragment = builder.BuilderIntegrationFragment {}
124
			fragment = builder.BuilderIntegrationFragment {}
118
125
(-)META-INF/MANIFEST.MF (-2 / +2 lines)
Lines 16-26 Link Here
16
 org.antlr.runtime,
16
 org.antlr.runtime,
17
 org.eclipse.uml2.uml;bundle-version="3.1.0",
17
 org.eclipse.uml2.uml;bundle-version="3.1.0",
18
 org.eclipse.papyrus.extensionpoints.editors;bundle-version="0.8.0",
18
 org.eclipse.papyrus.extensionpoints.editors;bundle-version="0.8.0",
19
 org.eclipse.xtext.gmf.glue;bundle-version="1.0.0",
20
 org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.4.0",
19
 org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.4.0",
21
 org.eclipse.papyrus.core;bundle-version="0.8.0",
20
 org.eclipse.papyrus.core;bundle-version="0.8.0",
22
 org.eclipse.papyrus.properties.runtime;bundle-version="0.8.0",
21
 org.eclipse.papyrus.properties.runtime;bundle-version="0.8.0",
23
 org.eclipse.core.expressions;bundle-version="3.4.200"
22
 org.eclipse.core.expressions;bundle-version="3.4.200",
23
 org.eclipse.xtext.gmf.glue;bundle-version="0.8.0"
24
Import-Package: org.apache.log4j
24
Import-Package: org.apache.log4j
25
Bundle-RequiredExecutionEnvironment: J2SE-1.5
25
Bundle-RequiredExecutionEnvironment: J2SE-1.5
26
Export-Package: org.eclipse.papyrus.transition.editor.xtext.ui,
26
Export-Package: org.eclipse.papyrus.transition.editor.xtext.ui,
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/UmlTransitionExecutableExtensionFactory.java (-3 / +2 lines)
Lines 1-8 Link Here
1
2
/*
1
/*
3
 * generated by Xtext
2
 * generated by Xtext
4
 */
3
 */
5
 
6
package org.eclipse.papyrus.transition.editor.xtext.ui;
4
package org.eclipse.papyrus.transition.editor.xtext.ui;
7
5
8
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
6
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
Lines 11-17 Link Here
11
import com.google.inject.Injector;
9
import com.google.inject.Injector;
12
10
13
/**
11
/**
14
 *@generated
12
 * This class was generated. Customizations should only happen in a newly
13
 * introduced subclass. 
15
 */
14
 */
16
public class UmlTransitionExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
15
public class UmlTransitionExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
17
16
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/AbstractUmlTransitionUiModule.java (-16 / +11 lines)
Lines 24-44 Link Here
24
	}
24
	}
25
25
26
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
26
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
27
	public Class<? extends org.eclipse.jface.text.rules.ITokenScanner> bindITokenScanner() {
28
		return org.eclipse.xtext.ui.editor.syntaxcoloring.antlr.AntlrTokenScanner.class;
29
	}
30
31
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
32
	public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
27
	public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
33
		return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
28
		return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
34
	}
29
	}
35
30
36
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
31
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
37
	public Class<? extends org.eclipse.xtext.ui.editor.IDamagerRepairer> bindIDamagerRepairer() {
38
		return org.eclipse.xtext.ui.editor.XtextDamagerRepairer.class;
39
	}
40
41
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
42
	public void configureHighlightingLexer(com.google.inject.Binder binder) {
32
	public void configureHighlightingLexer(com.google.inject.Binder binder) {
43
		binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.transition.editor.xtext.parser.antlr.internal.InternalUmlTransitionLexer.class);
33
		binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.transition.editor.xtext.parser.antlr.internal.InternalUmlTransitionLexer.class);
44
	}
34
	}
Lines 48-53 Link Here
48
		binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
38
		binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
49
	}
39
	}
50
40
41
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
42
	public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() {
43
		return org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator.Null.class;
44
	}
45
51
	// contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
46
	// contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
52
	public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
47
	public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
53
		return org.eclipse.papyrus.transition.editor.xtext.ui.labeling.UmlTransitionLabelProvider.class;
48
		return org.eclipse.papyrus.transition.editor.xtext.ui.labeling.UmlTransitionLabelProvider.class;
Lines 58-71 Link Here
58
		binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.transition.editor.xtext.ui.labeling.UmlTransitionDescriptionLabelProvider.class);
53
		binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.transition.editor.xtext.ui.labeling.UmlTransitionDescriptionLabelProvider.class);
59
	}
54
	}
60
55
61
	// contributed by org.eclipse.xtext.ui.generator.outline.TransformerFragment
56
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
62
	public Class<? extends org.eclipse.xtext.ui.editor.outline.transformer.ISemanticModelTransformer> bindISemanticModelTransformer() {
57
	public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() {
63
		return org.eclipse.papyrus.transition.editor.xtext.ui.outline.UmlTransitionTransformer.class;
58
		return org.eclipse.papyrus.transition.editor.xtext.ui.outline.UmlTransitionOutlineTreeProvider.class;
64
	}
59
	}
65
60
66
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineNodeAdapterFactoryFragment
61
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
67
	public Class<? extends org.eclipse.xtext.ui.editor.outline.actions.IContentOutlineNodeAdapterFactory> bindIContentOutlineNodeAdapterFactory() {
62
	public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
68
		return org.eclipse.papyrus.transition.editor.xtext.ui.outline.UmlTransitionOutlineNodeAdapterFactory.class;
63
		return org.eclipse.papyrus.transition.editor.xtext.ui.outline.UmlTransitionOutlineTreeProvider.class;
69
	}
64
	}
70
65
71
	// contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
66
	// contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/internal/UmlTransitionActivator.java (-10 / +19 lines)
Lines 1-24 Link Here
1
2
/*
1
/*
3
 * generated by Xtext
2
 * generated by Xtext
4
 */
3
 */
5
package org.eclipse.papyrus.transition.editor.xtext.ui.internal;
4
package org.eclipse.papyrus.transition.editor.xtext.ui.internal;
6
5
6
import static com.google.inject.util.Modules.override;
7
import static com.google.inject.Guice.createInjector;
8
7
import org.apache.log4j.Logger;
9
import org.apache.log4j.Logger;
8
10
9
import org.eclipse.ui.plugin.AbstractUIPlugin;
11
import org.eclipse.ui.plugin.AbstractUIPlugin;
10
import org.osgi.framework.BundleContext;
12
import org.osgi.framework.BundleContext;
11
13
12
import com.google.inject.Guice;
13
import com.google.inject.Injector;
14
import com.google.inject.Injector;
14
import com.google.inject.Module;
15
import com.google.inject.Module;
15
import com.google.inject.util.Modules;
16
16
17
import java.util.Map;
17
import java.util.Map;
18
import java.util.HashMap;
18
import java.util.HashMap;
19
19
20
/**
20
/**
21
 * Generated
21
 * This class was generated. Customizations should only happen in a newly
22
 * introduced subclass. 
22
 */
23
 */
23
public class UmlTransitionActivator extends AbstractUIPlugin {
24
public class UmlTransitionActivator extends AbstractUIPlugin {
24
25
Lines 34-43 Link Here
34
		super.start(context);
35
		super.start(context);
35
		INSTANCE = this;
36
		INSTANCE = this;
36
		try {
37
		try {
37
			
38
			registerInjectorFor("org.eclipse.papyrus.transition.editor.xtext.UmlTransition");
38
			injectors.put("org.eclipse.papyrus.transition.editor.xtext.UmlTransition", Guice.createInjector(
39
				Modules.override(Modules.override(getRuntimeModule("org.eclipse.papyrus.transition.editor.xtext.UmlTransition")).with(getUiModule("org.eclipse.papyrus.transition.editor.xtext.UmlTransition"))).with(getSharedStateModule())
40
			));
41
			
39
			
42
		} catch (Exception e) {
40
		} catch (Exception e) {
43
			Logger.getLogger(getClass()).error(e.getMessage(), e);
41
			Logger.getLogger(getClass()).error(e.getMessage(), e);
Lines 45-64 Link Here
45
		}
43
		}
46
	}
44
	}
47
	
45
	
46
	protected void registerInjectorFor(String language) throws Exception {
47
		injectors.put(language, createInjector(
48
		  override(override(getRuntimeModule(language)).with(getSharedStateModule())).with(getUiModule(language))));
49
	}
50
	
51
	@Override
52
	public void stop(BundleContext context) throws Exception {
53
		injectors.clear();
54
		INSTANCE = null;
55
		super.stop(context);
56
	}
57
	
48
	public static UmlTransitionActivator getInstance() {
58
	public static UmlTransitionActivator getInstance() {
49
		return INSTANCE;
59
		return INSTANCE;
50
	}
60
	}
51
	
61
	
52
	protected Module getRuntimeModule(String grammar) {
62
	protected Module getRuntimeModule(String grammar) {
53
		
54
		if ("org.eclipse.papyrus.transition.editor.xtext.UmlTransition".equals(grammar)) {
63
		if ("org.eclipse.papyrus.transition.editor.xtext.UmlTransition".equals(grammar)) {
55
		  return new org.eclipse.papyrus.transition.editor.xtext.UmlTransitionRuntimeModule();
64
		  return new org.eclipse.papyrus.transition.editor.xtext.UmlTransitionRuntimeModule();
56
		}
65
		}
57
		
66
		
58
		throw new IllegalArgumentException(grammar);
67
		throw new IllegalArgumentException(grammar);
59
	}
68
	}
69
	
60
	protected Module getUiModule(String grammar) {
70
	protected Module getUiModule(String grammar) {
61
		
62
		if ("org.eclipse.papyrus.transition.editor.xtext.UmlTransition".equals(grammar)) {
71
		if ("org.eclipse.papyrus.transition.editor.xtext.UmlTransition".equals(grammar)) {
63
		  return new org.eclipse.papyrus.transition.editor.xtext.ui.UmlTransitionUiModule(this);
72
		  return new org.eclipse.papyrus.transition.editor.xtext.ui.UmlTransitionUiModule(this);
64
		}
73
		}
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g (-1 / +1 lines)
Lines 1239-1245 Link Here
1239
1239
1240
RULE_INT : ('0'..'9')+;
1240
RULE_INT : ('0'..'9')+;
1241
1241
1242
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
1242
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
1243
1243
1244
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
1244
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
1245
1245
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransitionParser.java (-234 / +329 lines)
Lines 26-45 Link Here
26
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'Activity'", "'StateMachine'", "'OpaqueBehavior'", "','", "'after'", "'at'", "'when'", "'['", "']'", "'/'", "'all'"
26
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'Activity'", "'StateMachine'", "'OpaqueBehavior'", "','", "'after'", "'at'", "'when'", "'['", "']'", "'/'", "'all'"
27
    };
27
    };
28
    public static final int RULE_ID=4;
28
    public static final int RULE_ID=4;
29
    public static final int RULE_STRING=5;
30
    public static final int RULE_ANY_OTHER=10;
29
    public static final int RULE_ANY_OTHER=10;
31
    public static final int RULE_INT=6;
30
    public static final int T__21=21;
32
    public static final int RULE_WS=9;
31
    public static final int T__20=20;
33
    public static final int RULE_SL_COMMENT=8;
34
    public static final int EOF=-1;
32
    public static final int EOF=-1;
33
    public static final int RULE_SL_COMMENT=8;
35
    public static final int RULE_ML_COMMENT=7;
34
    public static final int RULE_ML_COMMENT=7;
35
    public static final int T__19=19;
36
    public static final int RULE_STRING=5;
37
    public static final int T__16=16;
38
    public static final int T__15=15;
39
    public static final int T__18=18;
40
    public static final int T__17=17;
41
    public static final int T__12=12;
42
    public static final int T__11=11;
43
    public static final int T__14=14;
44
    public static final int T__13=13;
45
    public static final int RULE_INT=6;
46
    public static final int RULE_WS=9;
47
48
    // delegates
49
    // delegators
50
36
51
37
        public InternalUmlTransitionParser(TokenStream input) {
52
        public InternalUmlTransitionParser(TokenStream input) {
38
            super(input);
53
            this(input, new RecognizerSharedState());
54
        }
55
        public InternalUmlTransitionParser(TokenStream input, RecognizerSharedState state) {
56
            super(input, state);
57
             
39
        }
58
        }
40
        
59
        
41
60
42
    public String[] getTokenNames() { return tokenNames; }
61
    public String[] getTokenNames() { return InternalUmlTransitionParser.tokenNames; }
43
    public String getGrammarFileName() { return "../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g"; }
62
    public String getGrammarFileName() { return "../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g"; }
44
63
45
64
Lines 63-69 Link Here
63
82
64
83
65
84
66
    // $ANTLR start entryRuleTransitionRule
85
    // $ANTLR start "entryRuleTransitionRule"
67
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:61:1: entryRuleTransitionRule : ruleTransitionRule EOF ;
86
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:61:1: entryRuleTransitionRule : ruleTransitionRule EOF ;
68
    public final void entryRuleTransitionRule() throws RecognitionException {
87
    public final void entryRuleTransitionRule() throws RecognitionException {
69
        try {
88
        try {
Lines 73-79 Link Here
73
             before(grammarAccess.getTransitionRuleRule()); 
92
             before(grammarAccess.getTransitionRuleRule()); 
74
            pushFollow(FOLLOW_ruleTransitionRule_in_entryRuleTransitionRule61);
93
            pushFollow(FOLLOW_ruleTransitionRule_in_entryRuleTransitionRule61);
75
            ruleTransitionRule();
94
            ruleTransitionRule();
76
            _fsp--;
95
96
            state._fsp--;
77
97
78
             after(grammarAccess.getTransitionRuleRule()); 
98
             after(grammarAccess.getTransitionRuleRule()); 
79
            match(input,EOF,FOLLOW_EOF_in_entryRuleTransitionRule68); 
99
            match(input,EOF,FOLLOW_EOF_in_entryRuleTransitionRule68); 
Lines 89-98 Link Here
89
        }
109
        }
90
        return ;
110
        return ;
91
    }
111
    }
92
    // $ANTLR end entryRuleTransitionRule
112
    // $ANTLR end "entryRuleTransitionRule"
93
113
94
114
95
    // $ANTLR start ruleTransitionRule
115
    // $ANTLR start "ruleTransitionRule"
96
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:70:1: ruleTransitionRule : ( ( rule__TransitionRule__Group__0 ) ) ;
116
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:70:1: ruleTransitionRule : ( ( rule__TransitionRule__Group__0 ) ) ;
97
    public final void ruleTransitionRule() throws RecognitionException {
117
    public final void ruleTransitionRule() throws RecognitionException {
98
118
Lines 111-118 Link Here
111
            {
131
            {
112
            pushFollow(FOLLOW_rule__TransitionRule__Group__0_in_ruleTransitionRule94);
132
            pushFollow(FOLLOW_rule__TransitionRule__Group__0_in_ruleTransitionRule94);
113
            rule__TransitionRule__Group__0();
133
            rule__TransitionRule__Group__0();
114
            _fsp--;
115
134
135
            state._fsp--;
136
116
137
117
            }
138
            }
118
139
Lines 135-144 Link Here
135
        }
156
        }
136
        return ;
157
        return ;
137
    }
158
    }
138
    // $ANTLR end ruleTransitionRule
159
    // $ANTLR end "ruleTransitionRule"
139
160
140
161
141
    // $ANTLR start entryRuleEventRule
162
    // $ANTLR start "entryRuleEventRule"
142
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:89:1: entryRuleEventRule : ruleEventRule EOF ;
163
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:89:1: entryRuleEventRule : ruleEventRule EOF ;
143
    public final void entryRuleEventRule() throws RecognitionException {
164
    public final void entryRuleEventRule() throws RecognitionException {
144
        try {
165
        try {
Lines 148-154 Link Here
148
             before(grammarAccess.getEventRuleRule()); 
169
             before(grammarAccess.getEventRuleRule()); 
149
            pushFollow(FOLLOW_ruleEventRule_in_entryRuleEventRule121);
170
            pushFollow(FOLLOW_ruleEventRule_in_entryRuleEventRule121);
150
            ruleEventRule();
171
            ruleEventRule();
151
            _fsp--;
172
173
            state._fsp--;
152
174
153
             after(grammarAccess.getEventRuleRule()); 
175
             after(grammarAccess.getEventRuleRule()); 
154
            match(input,EOF,FOLLOW_EOF_in_entryRuleEventRule128); 
176
            match(input,EOF,FOLLOW_EOF_in_entryRuleEventRule128); 
Lines 164-173 Link Here
164
        }
186
        }
165
        return ;
187
        return ;
166
    }
188
    }
167
    // $ANTLR end entryRuleEventRule
189
    // $ANTLR end "entryRuleEventRule"
168
190
169
191
170
    // $ANTLR start ruleEventRule
192
    // $ANTLR start "ruleEventRule"
171
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:98:1: ruleEventRule : ( ( rule__EventRule__Alternatives ) ) ;
193
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:98:1: ruleEventRule : ( ( rule__EventRule__Alternatives ) ) ;
172
    public final void ruleEventRule() throws RecognitionException {
194
    public final void ruleEventRule() throws RecognitionException {
173
195
Lines 186-192 Link Here
186
            {
208
            {
187
            pushFollow(FOLLOW_rule__EventRule__Alternatives_in_ruleEventRule154);
209
            pushFollow(FOLLOW_rule__EventRule__Alternatives_in_ruleEventRule154);
188
            rule__EventRule__Alternatives();
210
            rule__EventRule__Alternatives();
189
            _fsp--;
211
212
            state._fsp--;
190
213
191
214
192
            }
215
            }
Lines 210-219 Link Here
210
        }
233
        }
211
        return ;
234
        return ;
212
    }
235
    }
213
    // $ANTLR end ruleEventRule
236
    // $ANTLR end "ruleEventRule"
214
237
215
238
216
    // $ANTLR start entryRuleCallOrSignalEventRule
239
    // $ANTLR start "entryRuleCallOrSignalEventRule"
217
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:117:1: entryRuleCallOrSignalEventRule : ruleCallOrSignalEventRule EOF ;
240
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:117:1: entryRuleCallOrSignalEventRule : ruleCallOrSignalEventRule EOF ;
218
    public final void entryRuleCallOrSignalEventRule() throws RecognitionException {
241
    public final void entryRuleCallOrSignalEventRule() throws RecognitionException {
219
        try {
242
        try {
Lines 223-229 Link Here
223
             before(grammarAccess.getCallOrSignalEventRuleRule()); 
246
             before(grammarAccess.getCallOrSignalEventRuleRule()); 
224
            pushFollow(FOLLOW_ruleCallOrSignalEventRule_in_entryRuleCallOrSignalEventRule181);
247
            pushFollow(FOLLOW_ruleCallOrSignalEventRule_in_entryRuleCallOrSignalEventRule181);
225
            ruleCallOrSignalEventRule();
248
            ruleCallOrSignalEventRule();
226
            _fsp--;
249
250
            state._fsp--;
227
251
228
             after(grammarAccess.getCallOrSignalEventRuleRule()); 
252
             after(grammarAccess.getCallOrSignalEventRuleRule()); 
229
            match(input,EOF,FOLLOW_EOF_in_entryRuleCallOrSignalEventRule188); 
253
            match(input,EOF,FOLLOW_EOF_in_entryRuleCallOrSignalEventRule188); 
Lines 239-248 Link Here
239
        }
263
        }
240
        return ;
264
        return ;
241
    }
265
    }
242
    // $ANTLR end entryRuleCallOrSignalEventRule
266
    // $ANTLR end "entryRuleCallOrSignalEventRule"
243
267
244
268
245
    // $ANTLR start ruleCallOrSignalEventRule
269
    // $ANTLR start "ruleCallOrSignalEventRule"
246
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:126:1: ruleCallOrSignalEventRule : ( ( rule__CallOrSignalEventRule__OperationOrSignalAssignment ) ) ;
270
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:126:1: ruleCallOrSignalEventRule : ( ( rule__CallOrSignalEventRule__OperationOrSignalAssignment ) ) ;
247
    public final void ruleCallOrSignalEventRule() throws RecognitionException {
271
    public final void ruleCallOrSignalEventRule() throws RecognitionException {
248
272
Lines 261-268 Link Here
261
            {
285
            {
262
            pushFollow(FOLLOW_rule__CallOrSignalEventRule__OperationOrSignalAssignment_in_ruleCallOrSignalEventRule214);
286
            pushFollow(FOLLOW_rule__CallOrSignalEventRule__OperationOrSignalAssignment_in_ruleCallOrSignalEventRule214);
263
            rule__CallOrSignalEventRule__OperationOrSignalAssignment();
287
            rule__CallOrSignalEventRule__OperationOrSignalAssignment();
264
            _fsp--;
265
288
289
            state._fsp--;
290
266
291
267
            }
292
            }
268
293
Lines 285-294 Link Here
285
        }
310
        }
286
        return ;
311
        return ;
287
    }
312
    }
288
    // $ANTLR end ruleCallOrSignalEventRule
313
    // $ANTLR end "ruleCallOrSignalEventRule"
289
314
290
315
291
    // $ANTLR start entryRuleAnyReceiveEventRule
316
    // $ANTLR start "entryRuleAnyReceiveEventRule"
292
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:145:1: entryRuleAnyReceiveEventRule : ruleAnyReceiveEventRule EOF ;
317
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:145:1: entryRuleAnyReceiveEventRule : ruleAnyReceiveEventRule EOF ;
293
    public final void entryRuleAnyReceiveEventRule() throws RecognitionException {
318
    public final void entryRuleAnyReceiveEventRule() throws RecognitionException {
294
        try {
319
        try {
Lines 298-304 Link Here
298
             before(grammarAccess.getAnyReceiveEventRuleRule()); 
323
             before(grammarAccess.getAnyReceiveEventRuleRule()); 
299
            pushFollow(FOLLOW_ruleAnyReceiveEventRule_in_entryRuleAnyReceiveEventRule241);
324
            pushFollow(FOLLOW_ruleAnyReceiveEventRule_in_entryRuleAnyReceiveEventRule241);
300
            ruleAnyReceiveEventRule();
325
            ruleAnyReceiveEventRule();
301
            _fsp--;
326
327
            state._fsp--;
302
328
303
             after(grammarAccess.getAnyReceiveEventRuleRule()); 
329
             after(grammarAccess.getAnyReceiveEventRuleRule()); 
304
            match(input,EOF,FOLLOW_EOF_in_entryRuleAnyReceiveEventRule248); 
330
            match(input,EOF,FOLLOW_EOF_in_entryRuleAnyReceiveEventRule248); 
Lines 314-323 Link Here
314
        }
340
        }
315
        return ;
341
        return ;
316
    }
342
    }
317
    // $ANTLR end entryRuleAnyReceiveEventRule
343
    // $ANTLR end "entryRuleAnyReceiveEventRule"
318
344
319
345
320
    // $ANTLR start ruleAnyReceiveEventRule
346
    // $ANTLR start "ruleAnyReceiveEventRule"
321
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:154:1: ruleAnyReceiveEventRule : ( ( rule__AnyReceiveEventRule__IsAReceiveEventAssignment ) ) ;
347
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:154:1: ruleAnyReceiveEventRule : ( ( rule__AnyReceiveEventRule__IsAReceiveEventAssignment ) ) ;
322
    public final void ruleAnyReceiveEventRule() throws RecognitionException {
348
    public final void ruleAnyReceiveEventRule() throws RecognitionException {
323
349
Lines 336-343 Link Here
336
            {
362
            {
337
            pushFollow(FOLLOW_rule__AnyReceiveEventRule__IsAReceiveEventAssignment_in_ruleAnyReceiveEventRule274);
363
            pushFollow(FOLLOW_rule__AnyReceiveEventRule__IsAReceiveEventAssignment_in_ruleAnyReceiveEventRule274);
338
            rule__AnyReceiveEventRule__IsAReceiveEventAssignment();
364
            rule__AnyReceiveEventRule__IsAReceiveEventAssignment();
339
            _fsp--;
340
365
366
            state._fsp--;
367
341
368
342
            }
369
            }
343
370
Lines 360-369 Link Here
360
        }
387
        }
361
        return ;
388
        return ;
362
    }
389
    }
363
    // $ANTLR end ruleAnyReceiveEventRule
390
    // $ANTLR end "ruleAnyReceiveEventRule"
364
391
365
392
366
    // $ANTLR start entryRuleTimeEventRule
393
    // $ANTLR start "entryRuleTimeEventRule"
367
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:173:1: entryRuleTimeEventRule : ruleTimeEventRule EOF ;
394
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:173:1: entryRuleTimeEventRule : ruleTimeEventRule EOF ;
368
    public final void entryRuleTimeEventRule() throws RecognitionException {
395
    public final void entryRuleTimeEventRule() throws RecognitionException {
369
        try {
396
        try {
Lines 373-379 Link Here
373
             before(grammarAccess.getTimeEventRuleRule()); 
400
             before(grammarAccess.getTimeEventRuleRule()); 
374
            pushFollow(FOLLOW_ruleTimeEventRule_in_entryRuleTimeEventRule301);
401
            pushFollow(FOLLOW_ruleTimeEventRule_in_entryRuleTimeEventRule301);
375
            ruleTimeEventRule();
402
            ruleTimeEventRule();
376
            _fsp--;
403
404
            state._fsp--;
377
405
378
             after(grammarAccess.getTimeEventRuleRule()); 
406
             after(grammarAccess.getTimeEventRuleRule()); 
379
            match(input,EOF,FOLLOW_EOF_in_entryRuleTimeEventRule308); 
407
            match(input,EOF,FOLLOW_EOF_in_entryRuleTimeEventRule308); 
Lines 389-398 Link Here
389
        }
417
        }
390
        return ;
418
        return ;
391
    }
419
    }
392
    // $ANTLR end entryRuleTimeEventRule
420
    // $ANTLR end "entryRuleTimeEventRule"
393
421
394
422
395
    // $ANTLR start ruleTimeEventRule
423
    // $ANTLR start "ruleTimeEventRule"
396
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:182:1: ruleTimeEventRule : ( ( rule__TimeEventRule__Alternatives ) ) ;
424
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:182:1: ruleTimeEventRule : ( ( rule__TimeEventRule__Alternatives ) ) ;
397
    public final void ruleTimeEventRule() throws RecognitionException {
425
    public final void ruleTimeEventRule() throws RecognitionException {
398
426
Lines 411-418 Link Here
411
            {
439
            {
412
            pushFollow(FOLLOW_rule__TimeEventRule__Alternatives_in_ruleTimeEventRule334);
440
            pushFollow(FOLLOW_rule__TimeEventRule__Alternatives_in_ruleTimeEventRule334);
413
            rule__TimeEventRule__Alternatives();
441
            rule__TimeEventRule__Alternatives();
414
            _fsp--;
415
442
443
            state._fsp--;
444
416
445
417
            }
446
            }
418
447
Lines 435-444 Link Here
435
        }
464
        }
436
        return ;
465
        return ;
437
    }
466
    }
438
    // $ANTLR end ruleTimeEventRule
467
    // $ANTLR end "ruleTimeEventRule"
439
468
440
469
441
    // $ANTLR start entryRuleRelativeTimeEventRule
470
    // $ANTLR start "entryRuleRelativeTimeEventRule"
442
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:201:1: entryRuleRelativeTimeEventRule : ruleRelativeTimeEventRule EOF ;
471
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:201:1: entryRuleRelativeTimeEventRule : ruleRelativeTimeEventRule EOF ;
443
    public final void entryRuleRelativeTimeEventRule() throws RecognitionException {
472
    public final void entryRuleRelativeTimeEventRule() throws RecognitionException {
444
        try {
473
        try {
Lines 448-454 Link Here
448
             before(grammarAccess.getRelativeTimeEventRuleRule()); 
477
             before(grammarAccess.getRelativeTimeEventRuleRule()); 
449
            pushFollow(FOLLOW_ruleRelativeTimeEventRule_in_entryRuleRelativeTimeEventRule361);
478
            pushFollow(FOLLOW_ruleRelativeTimeEventRule_in_entryRuleRelativeTimeEventRule361);
450
            ruleRelativeTimeEventRule();
479
            ruleRelativeTimeEventRule();
451
            _fsp--;
480
481
            state._fsp--;
452
482
453
             after(grammarAccess.getRelativeTimeEventRuleRule()); 
483
             after(grammarAccess.getRelativeTimeEventRuleRule()); 
454
            match(input,EOF,FOLLOW_EOF_in_entryRuleRelativeTimeEventRule368); 
484
            match(input,EOF,FOLLOW_EOF_in_entryRuleRelativeTimeEventRule368); 
Lines 464-473 Link Here
464
        }
494
        }
465
        return ;
495
        return ;
466
    }
496
    }
467
    // $ANTLR end entryRuleRelativeTimeEventRule
497
    // $ANTLR end "entryRuleRelativeTimeEventRule"
468
498
469
499
470
    // $ANTLR start ruleRelativeTimeEventRule
500
    // $ANTLR start "ruleRelativeTimeEventRule"
471
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:210:1: ruleRelativeTimeEventRule : ( ( rule__RelativeTimeEventRule__Group__0 ) ) ;
501
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:210:1: ruleRelativeTimeEventRule : ( ( rule__RelativeTimeEventRule__Group__0 ) ) ;
472
    public final void ruleRelativeTimeEventRule() throws RecognitionException {
502
    public final void ruleRelativeTimeEventRule() throws RecognitionException {
473
503
Lines 486-493 Link Here
486
            {
516
            {
487
            pushFollow(FOLLOW_rule__RelativeTimeEventRule__Group__0_in_ruleRelativeTimeEventRule394);
517
            pushFollow(FOLLOW_rule__RelativeTimeEventRule__Group__0_in_ruleRelativeTimeEventRule394);
488
            rule__RelativeTimeEventRule__Group__0();
518
            rule__RelativeTimeEventRule__Group__0();
489
            _fsp--;
490
519
520
            state._fsp--;
521
491
522
492
            }
523
            }
493
524
Lines 510-519 Link Here
510
        }
541
        }
511
        return ;
542
        return ;
512
    }
543
    }
513
    // $ANTLR end ruleRelativeTimeEventRule
544
    // $ANTLR end "ruleRelativeTimeEventRule"
514
545
515
546
516
    // $ANTLR start entryRuleAbsoluteTimeEventRule
547
    // $ANTLR start "entryRuleAbsoluteTimeEventRule"
517
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:229:1: entryRuleAbsoluteTimeEventRule : ruleAbsoluteTimeEventRule EOF ;
548
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:229:1: entryRuleAbsoluteTimeEventRule : ruleAbsoluteTimeEventRule EOF ;
518
    public final void entryRuleAbsoluteTimeEventRule() throws RecognitionException {
549
    public final void entryRuleAbsoluteTimeEventRule() throws RecognitionException {
519
        try {
550
        try {
Lines 523-529 Link Here
523
             before(grammarAccess.getAbsoluteTimeEventRuleRule()); 
554
             before(grammarAccess.getAbsoluteTimeEventRuleRule()); 
524
            pushFollow(FOLLOW_ruleAbsoluteTimeEventRule_in_entryRuleAbsoluteTimeEventRule421);
555
            pushFollow(FOLLOW_ruleAbsoluteTimeEventRule_in_entryRuleAbsoluteTimeEventRule421);
525
            ruleAbsoluteTimeEventRule();
556
            ruleAbsoluteTimeEventRule();
526
            _fsp--;
557
558
            state._fsp--;
527
559
528
             after(grammarAccess.getAbsoluteTimeEventRuleRule()); 
560
             after(grammarAccess.getAbsoluteTimeEventRuleRule()); 
529
            match(input,EOF,FOLLOW_EOF_in_entryRuleAbsoluteTimeEventRule428); 
561
            match(input,EOF,FOLLOW_EOF_in_entryRuleAbsoluteTimeEventRule428); 
Lines 539-548 Link Here
539
        }
571
        }
540
        return ;
572
        return ;
541
    }
573
    }
542
    // $ANTLR end entryRuleAbsoluteTimeEventRule
574
    // $ANTLR end "entryRuleAbsoluteTimeEventRule"
543
575
544
576
545
    // $ANTLR start ruleAbsoluteTimeEventRule
577
    // $ANTLR start "ruleAbsoluteTimeEventRule"
546
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:238:1: ruleAbsoluteTimeEventRule : ( ( rule__AbsoluteTimeEventRule__Group__0 ) ) ;
578
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:238:1: ruleAbsoluteTimeEventRule : ( ( rule__AbsoluteTimeEventRule__Group__0 ) ) ;
547
    public final void ruleAbsoluteTimeEventRule() throws RecognitionException {
579
    public final void ruleAbsoluteTimeEventRule() throws RecognitionException {
548
580
Lines 561-567 Link Here
561
            {
593
            {
562
            pushFollow(FOLLOW_rule__AbsoluteTimeEventRule__Group__0_in_ruleAbsoluteTimeEventRule454);
594
            pushFollow(FOLLOW_rule__AbsoluteTimeEventRule__Group__0_in_ruleAbsoluteTimeEventRule454);
563
            rule__AbsoluteTimeEventRule__Group__0();
595
            rule__AbsoluteTimeEventRule__Group__0();
564
            _fsp--;
596
597
            state._fsp--;
565
598
566
599
567
            }
600
            }
Lines 585-594 Link Here
585
        }
618
        }
586
        return ;
619
        return ;
587
    }
620
    }
588
    // $ANTLR end ruleAbsoluteTimeEventRule
621
    // $ANTLR end "ruleAbsoluteTimeEventRule"
589
622
590
623
591
    // $ANTLR start entryRuleChangeEventRule
624
    // $ANTLR start "entryRuleChangeEventRule"
592
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:257:1: entryRuleChangeEventRule : ruleChangeEventRule EOF ;
625
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:257:1: entryRuleChangeEventRule : ruleChangeEventRule EOF ;
593
    public final void entryRuleChangeEventRule() throws RecognitionException {
626
    public final void entryRuleChangeEventRule() throws RecognitionException {
594
        try {
627
        try {
Lines 598-604 Link Here
598
             before(grammarAccess.getChangeEventRuleRule()); 
631
             before(grammarAccess.getChangeEventRuleRule()); 
599
            pushFollow(FOLLOW_ruleChangeEventRule_in_entryRuleChangeEventRule481);
632
            pushFollow(FOLLOW_ruleChangeEventRule_in_entryRuleChangeEventRule481);
600
            ruleChangeEventRule();
633
            ruleChangeEventRule();
601
            _fsp--;
634
635
            state._fsp--;
602
636
603
             after(grammarAccess.getChangeEventRuleRule()); 
637
             after(grammarAccess.getChangeEventRuleRule()); 
604
            match(input,EOF,FOLLOW_EOF_in_entryRuleChangeEventRule488); 
638
            match(input,EOF,FOLLOW_EOF_in_entryRuleChangeEventRule488); 
Lines 614-623 Link Here
614
        }
648
        }
615
        return ;
649
        return ;
616
    }
650
    }
617
    // $ANTLR end entryRuleChangeEventRule
651
    // $ANTLR end "entryRuleChangeEventRule"
618
652
619
653
620
    // $ANTLR start ruleChangeEventRule
654
    // $ANTLR start "ruleChangeEventRule"
621
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:266:1: ruleChangeEventRule : ( ( rule__ChangeEventRule__Group__0 ) ) ;
655
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:266:1: ruleChangeEventRule : ( ( rule__ChangeEventRule__Group__0 ) ) ;
622
    public final void ruleChangeEventRule() throws RecognitionException {
656
    public final void ruleChangeEventRule() throws RecognitionException {
623
657
Lines 636-643 Link Here
636
            {
670
            {
637
            pushFollow(FOLLOW_rule__ChangeEventRule__Group__0_in_ruleChangeEventRule514);
671
            pushFollow(FOLLOW_rule__ChangeEventRule__Group__0_in_ruleChangeEventRule514);
638
            rule__ChangeEventRule__Group__0();
672
            rule__ChangeEventRule__Group__0();
639
            _fsp--;
640
673
674
            state._fsp--;
675
641
676
642
            }
677
            }
643
678
Lines 660-669 Link Here
660
        }
695
        }
661
        return ;
696
        return ;
662
    }
697
    }
663
    // $ANTLR end ruleChangeEventRule
698
    // $ANTLR end "ruleChangeEventRule"
664
699
665
700
666
    // $ANTLR start entryRuleGuardRule
701
    // $ANTLR start "entryRuleGuardRule"
667
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:285:1: entryRuleGuardRule : ruleGuardRule EOF ;
702
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:285:1: entryRuleGuardRule : ruleGuardRule EOF ;
668
    public final void entryRuleGuardRule() throws RecognitionException {
703
    public final void entryRuleGuardRule() throws RecognitionException {
669
        try {
704
        try {
Lines 673-679 Link Here
673
             before(grammarAccess.getGuardRuleRule()); 
708
             before(grammarAccess.getGuardRuleRule()); 
674
            pushFollow(FOLLOW_ruleGuardRule_in_entryRuleGuardRule541);
709
            pushFollow(FOLLOW_ruleGuardRule_in_entryRuleGuardRule541);
675
            ruleGuardRule();
710
            ruleGuardRule();
676
            _fsp--;
711
712
            state._fsp--;
677
713
678
             after(grammarAccess.getGuardRuleRule()); 
714
             after(grammarAccess.getGuardRuleRule()); 
679
            match(input,EOF,FOLLOW_EOF_in_entryRuleGuardRule548); 
715
            match(input,EOF,FOLLOW_EOF_in_entryRuleGuardRule548); 
Lines 689-698 Link Here
689
        }
725
        }
690
        return ;
726
        return ;
691
    }
727
    }
692
    // $ANTLR end entryRuleGuardRule
728
    // $ANTLR end "entryRuleGuardRule"
693
729
694
730
695
    // $ANTLR start ruleGuardRule
731
    // $ANTLR start "ruleGuardRule"
696
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:294:1: ruleGuardRule : ( ( rule__GuardRule__Group__0 ) ) ;
732
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:294:1: ruleGuardRule : ( ( rule__GuardRule__Group__0 ) ) ;
697
    public final void ruleGuardRule() throws RecognitionException {
733
    public final void ruleGuardRule() throws RecognitionException {
698
734
Lines 711-718 Link Here
711
            {
747
            {
712
            pushFollow(FOLLOW_rule__GuardRule__Group__0_in_ruleGuardRule574);
748
            pushFollow(FOLLOW_rule__GuardRule__Group__0_in_ruleGuardRule574);
713
            rule__GuardRule__Group__0();
749
            rule__GuardRule__Group__0();
714
            _fsp--;
715
750
751
            state._fsp--;
752
716
753
717
            }
754
            }
718
755
Lines 735-744 Link Here
735
        }
772
        }
736
        return ;
773
        return ;
737
    }
774
    }
738
    // $ANTLR end ruleGuardRule
775
    // $ANTLR end "ruleGuardRule"
739
776
740
777
741
    // $ANTLR start entryRuleEffectRule
778
    // $ANTLR start "entryRuleEffectRule"
742
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:313:1: entryRuleEffectRule : ruleEffectRule EOF ;
779
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:313:1: entryRuleEffectRule : ruleEffectRule EOF ;
743
    public final void entryRuleEffectRule() throws RecognitionException {
780
    public final void entryRuleEffectRule() throws RecognitionException {
744
        try {
781
        try {
Lines 748-754 Link Here
748
             before(grammarAccess.getEffectRuleRule()); 
785
             before(grammarAccess.getEffectRuleRule()); 
749
            pushFollow(FOLLOW_ruleEffectRule_in_entryRuleEffectRule601);
786
            pushFollow(FOLLOW_ruleEffectRule_in_entryRuleEffectRule601);
750
            ruleEffectRule();
787
            ruleEffectRule();
751
            _fsp--;
788
789
            state._fsp--;
752
790
753
             after(grammarAccess.getEffectRuleRule()); 
791
             after(grammarAccess.getEffectRuleRule()); 
754
            match(input,EOF,FOLLOW_EOF_in_entryRuleEffectRule608); 
792
            match(input,EOF,FOLLOW_EOF_in_entryRuleEffectRule608); 
Lines 764-773 Link Here
764
        }
802
        }
765
        return ;
803
        return ;
766
    }
804
    }
767
    // $ANTLR end entryRuleEffectRule
805
    // $ANTLR end "entryRuleEffectRule"
768
806
769
807
770
    // $ANTLR start ruleEffectRule
808
    // $ANTLR start "ruleEffectRule"
771
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:322:1: ruleEffectRule : ( ( rule__EffectRule__Group__0 ) ) ;
809
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:322:1: ruleEffectRule : ( ( rule__EffectRule__Group__0 ) ) ;
772
    public final void ruleEffectRule() throws RecognitionException {
810
    public final void ruleEffectRule() throws RecognitionException {
773
811
Lines 786-793 Link Here
786
            {
824
            {
787
            pushFollow(FOLLOW_rule__EffectRule__Group__0_in_ruleEffectRule634);
825
            pushFollow(FOLLOW_rule__EffectRule__Group__0_in_ruleEffectRule634);
788
            rule__EffectRule__Group__0();
826
            rule__EffectRule__Group__0();
789
            _fsp--;
790
827
828
            state._fsp--;
829
791
830
792
            }
831
            }
793
832
Lines 810-819 Link Here
810
        }
849
        }
811
        return ;
850
        return ;
812
    }
851
    }
813
    // $ANTLR end ruleEffectRule
852
    // $ANTLR end "ruleEffectRule"
814
853
815
854
816
    // $ANTLR start ruleBehaviorKind
855
    // $ANTLR start "ruleBehaviorKind"
817
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:342:1: ruleBehaviorKind : ( ( rule__BehaviorKind__Alternatives ) ) ;
856
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:342:1: ruleBehaviorKind : ( ( rule__BehaviorKind__Alternatives ) ) ;
818
    public final void ruleBehaviorKind() throws RecognitionException {
857
    public final void ruleBehaviorKind() throws RecognitionException {
819
858
Lines 832-839 Link Here
832
            {
871
            {
833
            pushFollow(FOLLOW_rule__BehaviorKind__Alternatives_in_ruleBehaviorKind671);
872
            pushFollow(FOLLOW_rule__BehaviorKind__Alternatives_in_ruleBehaviorKind671);
834
            rule__BehaviorKind__Alternatives();
873
            rule__BehaviorKind__Alternatives();
835
            _fsp--;
836
874
875
            state._fsp--;
876
837
877
838
            }
878
            }
839
879
Lines 856-865 Link Here
856
        }
896
        }
857
        return ;
897
        return ;
858
    }
898
    }
859
    // $ANTLR end ruleBehaviorKind
899
    // $ANTLR end "ruleBehaviorKind"
860
900
861
901
862
    // $ANTLR start rule__EventRule__Alternatives
902
    // $ANTLR start "rule__EventRule__Alternatives"
863
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:360:1: rule__EventRule__Alternatives : ( ( ruleCallOrSignalEventRule ) | ( ruleAnyReceiveEventRule ) | ( ruleTimeEventRule ) | ( ruleChangeEventRule ) );
903
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:360:1: rule__EventRule__Alternatives : ( ( ruleCallOrSignalEventRule ) | ( ruleAnyReceiveEventRule ) | ( ruleTimeEventRule ) | ( ruleChangeEventRule ) );
864
    public final void rule__EventRule__Alternatives() throws RecognitionException {
904
    public final void rule__EventRule__Alternatives() throws RecognitionException {
865
905
Lines 892-898 Link Here
892
                break;
932
                break;
893
            default:
933
            default:
894
                NoViableAltException nvae =
934
                NoViableAltException nvae =
895
                    new NoViableAltException("360:1: rule__EventRule__Alternatives : ( ( ruleCallOrSignalEventRule ) | ( ruleAnyReceiveEventRule ) | ( ruleTimeEventRule ) | ( ruleChangeEventRule ) );", 1, 0, input);
935
                    new NoViableAltException("", 1, 0, input);
896
936
897
                throw nvae;
937
                throw nvae;
898
            }
938
            }
Lines 907-913 Link Here
907
                     before(grammarAccess.getEventRuleAccess().getCallOrSignalEventRuleParserRuleCall_0()); 
947
                     before(grammarAccess.getEventRuleAccess().getCallOrSignalEventRuleParserRuleCall_0()); 
908
                    pushFollow(FOLLOW_ruleCallOrSignalEventRule_in_rule__EventRule__Alternatives706);
948
                    pushFollow(FOLLOW_ruleCallOrSignalEventRule_in_rule__EventRule__Alternatives706);
909
                    ruleCallOrSignalEventRule();
949
                    ruleCallOrSignalEventRule();
910
                    _fsp--;
950
951
                    state._fsp--;
911
952
912
                     after(grammarAccess.getEventRuleAccess().getCallOrSignalEventRuleParserRuleCall_0()); 
953
                     after(grammarAccess.getEventRuleAccess().getCallOrSignalEventRuleParserRuleCall_0()); 
913
954
Lines 925-931 Link Here
925
                     before(grammarAccess.getEventRuleAccess().getAnyReceiveEventRuleParserRuleCall_1()); 
966
                     before(grammarAccess.getEventRuleAccess().getAnyReceiveEventRuleParserRuleCall_1()); 
926
                    pushFollow(FOLLOW_ruleAnyReceiveEventRule_in_rule__EventRule__Alternatives723);
967
                    pushFollow(FOLLOW_ruleAnyReceiveEventRule_in_rule__EventRule__Alternatives723);
927
                    ruleAnyReceiveEventRule();
968
                    ruleAnyReceiveEventRule();
928
                    _fsp--;
969
970
                    state._fsp--;
929
971
930
                     after(grammarAccess.getEventRuleAccess().getAnyReceiveEventRuleParserRuleCall_1()); 
972
                     after(grammarAccess.getEventRuleAccess().getAnyReceiveEventRuleParserRuleCall_1()); 
931
973
Lines 943-949 Link Here
943
                     before(grammarAccess.getEventRuleAccess().getTimeEventRuleParserRuleCall_2()); 
985
                     before(grammarAccess.getEventRuleAccess().getTimeEventRuleParserRuleCall_2()); 
944
                    pushFollow(FOLLOW_ruleTimeEventRule_in_rule__EventRule__Alternatives740);
986
                    pushFollow(FOLLOW_ruleTimeEventRule_in_rule__EventRule__Alternatives740);
945
                    ruleTimeEventRule();
987
                    ruleTimeEventRule();
946
                    _fsp--;
988
989
                    state._fsp--;
947
990
948
                     after(grammarAccess.getEventRuleAccess().getTimeEventRuleParserRuleCall_2()); 
991
                     after(grammarAccess.getEventRuleAccess().getTimeEventRuleParserRuleCall_2()); 
949
992
Lines 961-967 Link Here
961
                     before(grammarAccess.getEventRuleAccess().getChangeEventRuleParserRuleCall_3()); 
1004
                     before(grammarAccess.getEventRuleAccess().getChangeEventRuleParserRuleCall_3()); 
962
                    pushFollow(FOLLOW_ruleChangeEventRule_in_rule__EventRule__Alternatives757);
1005
                    pushFollow(FOLLOW_ruleChangeEventRule_in_rule__EventRule__Alternatives757);
963
                    ruleChangeEventRule();
1006
                    ruleChangeEventRule();
964
                    _fsp--;
1007
1008
                    state._fsp--;
965
1009
966
                     after(grammarAccess.getEventRuleAccess().getChangeEventRuleParserRuleCall_3()); 
1010
                     after(grammarAccess.getEventRuleAccess().getChangeEventRuleParserRuleCall_3()); 
967
1011
Lines 984-993 Link Here
984
        }
1028
        }
985
        return ;
1029
        return ;
986
    }
1030
    }
987
    // $ANTLR end rule__EventRule__Alternatives
1031
    // $ANTLR end "rule__EventRule__Alternatives"
988
1032
989
1033
990
    // $ANTLR start rule__TimeEventRule__Alternatives
1034
    // $ANTLR start "rule__TimeEventRule__Alternatives"
991
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:394:1: rule__TimeEventRule__Alternatives : ( ( ruleRelativeTimeEventRule ) | ( ruleAbsoluteTimeEventRule ) );
1035
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:394:1: rule__TimeEventRule__Alternatives : ( ( ruleRelativeTimeEventRule ) | ( ruleAbsoluteTimeEventRule ) );
992
    public final void rule__TimeEventRule__Alternatives() throws RecognitionException {
1036
    public final void rule__TimeEventRule__Alternatives() throws RecognitionException {
993
1037
Lines 1006-1012 Link Here
1006
            }
1050
            }
1007
            else {
1051
            else {
1008
                NoViableAltException nvae =
1052
                NoViableAltException nvae =
1009
                    new NoViableAltException("394:1: rule__TimeEventRule__Alternatives : ( ( ruleRelativeTimeEventRule ) | ( ruleAbsoluteTimeEventRule ) );", 2, 0, input);
1053
                    new NoViableAltException("", 2, 0, input);
1010
1054
1011
                throw nvae;
1055
                throw nvae;
1012
            }
1056
            }
Lines 1020-1026 Link Here
1020
                     before(grammarAccess.getTimeEventRuleAccess().getRelativeTimeEventRuleParserRuleCall_0()); 
1064
                     before(grammarAccess.getTimeEventRuleAccess().getRelativeTimeEventRuleParserRuleCall_0()); 
1021
                    pushFollow(FOLLOW_ruleRelativeTimeEventRule_in_rule__TimeEventRule__Alternatives789);
1065
                    pushFollow(FOLLOW_ruleRelativeTimeEventRule_in_rule__TimeEventRule__Alternatives789);
1022
                    ruleRelativeTimeEventRule();
1066
                    ruleRelativeTimeEventRule();
1023
                    _fsp--;
1067
1068
                    state._fsp--;
1024
1069
1025
                     after(grammarAccess.getTimeEventRuleAccess().getRelativeTimeEventRuleParserRuleCall_0()); 
1070
                     after(grammarAccess.getTimeEventRuleAccess().getRelativeTimeEventRuleParserRuleCall_0()); 
1026
1071
Lines 1038-1044 Link Here
1038
                     before(grammarAccess.getTimeEventRuleAccess().getAbsoluteTimeEventRuleParserRuleCall_1()); 
1083
                     before(grammarAccess.getTimeEventRuleAccess().getAbsoluteTimeEventRuleParserRuleCall_1()); 
1039
                    pushFollow(FOLLOW_ruleAbsoluteTimeEventRule_in_rule__TimeEventRule__Alternatives806);
1084
                    pushFollow(FOLLOW_ruleAbsoluteTimeEventRule_in_rule__TimeEventRule__Alternatives806);
1040
                    ruleAbsoluteTimeEventRule();
1085
                    ruleAbsoluteTimeEventRule();
1041
                    _fsp--;
1086
1087
                    state._fsp--;
1042
1088
1043
                     after(grammarAccess.getTimeEventRuleAccess().getAbsoluteTimeEventRuleParserRuleCall_1()); 
1089
                     after(grammarAccess.getTimeEventRuleAccess().getAbsoluteTimeEventRuleParserRuleCall_1()); 
1044
1090
Lines 1061-1070 Link Here
1061
        }
1107
        }
1062
        return ;
1108
        return ;
1063
    }
1109
    }
1064
    // $ANTLR end rule__TimeEventRule__Alternatives
1110
    // $ANTLR end "rule__TimeEventRule__Alternatives"
1065
1111
1066
1112
1067
    // $ANTLR start rule__BehaviorKind__Alternatives
1113
    // $ANTLR start "rule__BehaviorKind__Alternatives"
1068
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:416:1: rule__BehaviorKind__Alternatives : ( ( ( 'Activity' ) ) | ( ( 'StateMachine' ) ) | ( ( 'OpaqueBehavior' ) ) );
1114
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:416:1: rule__BehaviorKind__Alternatives : ( ( ( 'Activity' ) ) | ( ( 'StateMachine' ) ) | ( ( 'OpaqueBehavior' ) ) );
1069
    public final void rule__BehaviorKind__Alternatives() throws RecognitionException {
1115
    public final void rule__BehaviorKind__Alternatives() throws RecognitionException {
1070
1116
Lines 1091-1097 Link Here
1091
                break;
1137
                break;
1092
            default:
1138
            default:
1093
                NoViableAltException nvae =
1139
                NoViableAltException nvae =
1094
                    new NoViableAltException("416:1: rule__BehaviorKind__Alternatives : ( ( ( 'Activity' ) ) | ( ( 'StateMachine' ) ) | ( ( 'OpaqueBehavior' ) ) );", 3, 0, input);
1140
                    new NoViableAltException("", 3, 0, input);
1095
1141
1096
                throw nvae;
1142
                throw nvae;
1097
            }
1143
            }
Lines 1174-1183 Link Here
1174
        }
1220
        }
1175
        return ;
1221
        return ;
1176
    }
1222
    }
1177
    // $ANTLR end rule__BehaviorKind__Alternatives
1223
    // $ANTLR end "rule__BehaviorKind__Alternatives"
1178
1224
1179
1225
1180
    // $ANTLR start rule__TransitionRule__Group__0
1226
    // $ANTLR start "rule__TransitionRule__Group__0"
1181
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:449:1: rule__TransitionRule__Group__0 : rule__TransitionRule__Group__0__Impl rule__TransitionRule__Group__1 ;
1227
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:449:1: rule__TransitionRule__Group__0 : rule__TransitionRule__Group__0__Impl rule__TransitionRule__Group__1 ;
1182
    public final void rule__TransitionRule__Group__0() throws RecognitionException {
1228
    public final void rule__TransitionRule__Group__0() throws RecognitionException {
1183
1229
Lines 1189-1200 Link Here
1189
            {
1235
            {
1190
            pushFollow(FOLLOW_rule__TransitionRule__Group__0__Impl_in_rule__TransitionRule__Group__0914);
1236
            pushFollow(FOLLOW_rule__TransitionRule__Group__0__Impl_in_rule__TransitionRule__Group__0914);
1191
            rule__TransitionRule__Group__0__Impl();
1237
            rule__TransitionRule__Group__0__Impl();
1192
            _fsp--;
1238
1239
            state._fsp--;
1193
1240
1194
            pushFollow(FOLLOW_rule__TransitionRule__Group__1_in_rule__TransitionRule__Group__0917);
1241
            pushFollow(FOLLOW_rule__TransitionRule__Group__1_in_rule__TransitionRule__Group__0917);
1195
            rule__TransitionRule__Group__1();
1242
            rule__TransitionRule__Group__1();
1196
            _fsp--;
1197
1243
1244
            state._fsp--;
1245
1198
1246
1199
            }
1247
            }
1200
1248
Lines 1210-1219 Link Here
1210
        }
1258
        }
1211
        return ;
1259
        return ;
1212
    }
1260
    }
1213
    // $ANTLR end rule__TransitionRule__Group__0
1261
    // $ANTLR end "rule__TransitionRule__Group__0"
1214
1262
1215
1263
1216
    // $ANTLR start rule__TransitionRule__Group__0__Impl
1264
    // $ANTLR start "rule__TransitionRule__Group__0__Impl"
1217
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:461:1: rule__TransitionRule__Group__0__Impl : ( ( rule__TransitionRule__Group_0__0 )? ) ;
1265
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:461:1: rule__TransitionRule__Group__0__Impl : ( ( rule__TransitionRule__Group_0__0 )? ) ;
1218
    public final void rule__TransitionRule__Group__0__Impl() throws RecognitionException {
1266
    public final void rule__TransitionRule__Group__0__Impl() throws RecognitionException {
1219
1267
Lines 1240-1247 Link Here
1240
                    {
1288
                    {
1241
                    pushFollow(FOLLOW_rule__TransitionRule__Group_0__0_in_rule__TransitionRule__Group__0__Impl944);
1289
                    pushFollow(FOLLOW_rule__TransitionRule__Group_0__0_in_rule__TransitionRule__Group__0__Impl944);
1242
                    rule__TransitionRule__Group_0__0();
1290
                    rule__TransitionRule__Group_0__0();
1243
                    _fsp--;
1244
1291
1292
                    state._fsp--;
1293
1245
1294
1246
                    }
1295
                    }
1247
                    break;
1296
                    break;
Lines 1267-1276 Link Here
1267
        }
1316
        }
1268
        return ;
1317
        return ;
1269
    }
1318
    }
1270
    // $ANTLR end rule__TransitionRule__Group__0__Impl
1319
    // $ANTLR end "rule__TransitionRule__Group__0__Impl"
1271
1320
1272
1321
1273
    // $ANTLR start rule__TransitionRule__Group__1
1322
    // $ANTLR start "rule__TransitionRule__Group__1"
1274
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:478:1: rule__TransitionRule__Group__1 : rule__TransitionRule__Group__1__Impl rule__TransitionRule__Group__2 ;
1323
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:478:1: rule__TransitionRule__Group__1 : rule__TransitionRule__Group__1__Impl rule__TransitionRule__Group__2 ;
1275
    public final void rule__TransitionRule__Group__1() throws RecognitionException {
1324
    public final void rule__TransitionRule__Group__1() throws RecognitionException {
1276
1325
Lines 1282-1292 Link Here
1282
            {
1331
            {
1283
            pushFollow(FOLLOW_rule__TransitionRule__Group__1__Impl_in_rule__TransitionRule__Group__1975);
1332
            pushFollow(FOLLOW_rule__TransitionRule__Group__1__Impl_in_rule__TransitionRule__Group__1975);
1284
            rule__TransitionRule__Group__1__Impl();
1333
            rule__TransitionRule__Group__1__Impl();
1285
            _fsp--;
1334
1335
            state._fsp--;
1286
1336
1287
            pushFollow(FOLLOW_rule__TransitionRule__Group__2_in_rule__TransitionRule__Group__1978);
1337
            pushFollow(FOLLOW_rule__TransitionRule__Group__2_in_rule__TransitionRule__Group__1978);
1288
            rule__TransitionRule__Group__2();
1338
            rule__TransitionRule__Group__2();
1289
            _fsp--;
1339
1340
            state._fsp--;
1290
1341
1291
1342
1292
            }
1343
            }
Lines 1303-1312 Link Here
1303
        }
1354
        }
1304
        return ;
1355
        return ;
1305
    }
1356
    }
1306
    // $ANTLR end rule__TransitionRule__Group__1
1357
    // $ANTLR end "rule__TransitionRule__Group__1"
1307
1358
1308
1359
1309
    // $ANTLR start rule__TransitionRule__Group__1__Impl
1360
    // $ANTLR start "rule__TransitionRule__Group__1__Impl"
1310
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:490:1: rule__TransitionRule__Group__1__Impl : ( ( rule__TransitionRule__GuardAssignment_1 )? ) ;
1361
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:490:1: rule__TransitionRule__Group__1__Impl : ( ( rule__TransitionRule__GuardAssignment_1 )? ) ;
1311
    public final void rule__TransitionRule__Group__1__Impl() throws RecognitionException {
1362
    public final void rule__TransitionRule__Group__1__Impl() throws RecognitionException {
1312
1363
Lines 1333-1339 Link Here
1333
                    {
1384
                    {
1334
                    pushFollow(FOLLOW_rule__TransitionRule__GuardAssignment_1_in_rule__TransitionRule__Group__1__Impl1005);
1385
                    pushFollow(FOLLOW_rule__TransitionRule__GuardAssignment_1_in_rule__TransitionRule__Group__1__Impl1005);
1335
                    rule__TransitionRule__GuardAssignment_1();
1386
                    rule__TransitionRule__GuardAssignment_1();
1336
                    _fsp--;
1387
1388
                    state._fsp--;
1337
1389
1338
1390
1339
                    }
1391
                    }
Lines 1360-1369 Link Here
1360
        }
1412
        }
1361
        return ;
1413
        return ;
1362
    }
1414
    }
1363
    // $ANTLR end rule__TransitionRule__Group__1__Impl
1415
    // $ANTLR end "rule__TransitionRule__Group__1__Impl"
1364
1416
1365
1417
1366
    // $ANTLR start rule__TransitionRule__Group__2
1418
    // $ANTLR start "rule__TransitionRule__Group__2"
1367
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:507:1: rule__TransitionRule__Group__2 : rule__TransitionRule__Group__2__Impl ;
1419
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:507:1: rule__TransitionRule__Group__2 : rule__TransitionRule__Group__2__Impl ;
1368
    public final void rule__TransitionRule__Group__2() throws RecognitionException {
1420
    public final void rule__TransitionRule__Group__2() throws RecognitionException {
1369
1421
Lines 1375-1382 Link Here
1375
            {
1427
            {
1376
            pushFollow(FOLLOW_rule__TransitionRule__Group__2__Impl_in_rule__TransitionRule__Group__21036);
1428
            pushFollow(FOLLOW_rule__TransitionRule__Group__2__Impl_in_rule__TransitionRule__Group__21036);
1377
            rule__TransitionRule__Group__2__Impl();
1429
            rule__TransitionRule__Group__2__Impl();
1378
            _fsp--;
1379
1430
1431
            state._fsp--;
1432
1380
1433
1381
            }
1434
            }
1382
1435
Lines 1392-1401 Link Here
1392
        }
1445
        }
1393
        return ;
1446
        return ;
1394
    }
1447
    }
1395
    // $ANTLR end rule__TransitionRule__Group__2
1448
    // $ANTLR end "rule__TransitionRule__Group__2"
1396
1449
1397
1450
1398
    // $ANTLR start rule__TransitionRule__Group__2__Impl
1451
    // $ANTLR start "rule__TransitionRule__Group__2__Impl"
1399
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:518:1: rule__TransitionRule__Group__2__Impl : ( ( rule__TransitionRule__EffectAssignment_2 )? ) ;
1452
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:518:1: rule__TransitionRule__Group__2__Impl : ( ( rule__TransitionRule__EffectAssignment_2 )? ) ;
1400
    public final void rule__TransitionRule__Group__2__Impl() throws RecognitionException {
1453
    public final void rule__TransitionRule__Group__2__Impl() throws RecognitionException {
1401
1454
Lines 1422-1428 Link Here
1422
                    {
1475
                    {
1423
                    pushFollow(FOLLOW_rule__TransitionRule__EffectAssignment_2_in_rule__TransitionRule__Group__2__Impl1063);
1476
                    pushFollow(FOLLOW_rule__TransitionRule__EffectAssignment_2_in_rule__TransitionRule__Group__2__Impl1063);
1424
                    rule__TransitionRule__EffectAssignment_2();
1477
                    rule__TransitionRule__EffectAssignment_2();
1425
                    _fsp--;
1478
1479
                    state._fsp--;
1426
1480
1427
1481
1428
                    }
1482
                    }
Lines 1449-1458 Link Here
1449
        }
1503
        }
1450
        return ;
1504
        return ;
1451
    }
1505
    }
1452
    // $ANTLR end rule__TransitionRule__Group__2__Impl
1506
    // $ANTLR end "rule__TransitionRule__Group__2__Impl"
1453
1507
1454
1508
1455
    // $ANTLR start rule__TransitionRule__Group_0__0
1509
    // $ANTLR start "rule__TransitionRule__Group_0__0"
1456
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:541:1: rule__TransitionRule__Group_0__0 : rule__TransitionRule__Group_0__0__Impl rule__TransitionRule__Group_0__1 ;
1510
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:541:1: rule__TransitionRule__Group_0__0 : rule__TransitionRule__Group_0__0__Impl rule__TransitionRule__Group_0__1 ;
1457
    public final void rule__TransitionRule__Group_0__0() throws RecognitionException {
1511
    public final void rule__TransitionRule__Group_0__0() throws RecognitionException {
1458
1512
Lines 1464-1475 Link Here
1464
            {
1518
            {
1465
            pushFollow(FOLLOW_rule__TransitionRule__Group_0__0__Impl_in_rule__TransitionRule__Group_0__01100);
1519
            pushFollow(FOLLOW_rule__TransitionRule__Group_0__0__Impl_in_rule__TransitionRule__Group_0__01100);
1466
            rule__TransitionRule__Group_0__0__Impl();
1520
            rule__TransitionRule__Group_0__0__Impl();
1467
            _fsp--;
1521
1522
            state._fsp--;
1468
1523
1469
            pushFollow(FOLLOW_rule__TransitionRule__Group_0__1_in_rule__TransitionRule__Group_0__01103);
1524
            pushFollow(FOLLOW_rule__TransitionRule__Group_0__1_in_rule__TransitionRule__Group_0__01103);
1470
            rule__TransitionRule__Group_0__1();
1525
            rule__TransitionRule__Group_0__1();
1471
            _fsp--;
1472
1526
1527
            state._fsp--;
1528
1473
1529
1474
            }
1530
            }
1475
1531
Lines 1485-1494 Link Here
1485
        }
1541
        }
1486
        return ;
1542
        return ;
1487
    }
1543
    }
1488
    // $ANTLR end rule__TransitionRule__Group_0__0
1544
    // $ANTLR end "rule__TransitionRule__Group_0__0"
1489
1545
1490
1546
1491
    // $ANTLR start rule__TransitionRule__Group_0__0__Impl
1547
    // $ANTLR start "rule__TransitionRule__Group_0__0__Impl"
1492
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:553:1: rule__TransitionRule__Group_0__0__Impl : ( ( rule__TransitionRule__TriggersAssignment_0_0 ) ) ;
1548
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:553:1: rule__TransitionRule__Group_0__0__Impl : ( ( rule__TransitionRule__TriggersAssignment_0_0 ) ) ;
1493
    public final void rule__TransitionRule__Group_0__0__Impl() throws RecognitionException {
1549
    public final void rule__TransitionRule__Group_0__0__Impl() throws RecognitionException {
1494
1550
Lines 1507-1514 Link Here
1507
            {
1563
            {
1508
            pushFollow(FOLLOW_rule__TransitionRule__TriggersAssignment_0_0_in_rule__TransitionRule__Group_0__0__Impl1130);
1564
            pushFollow(FOLLOW_rule__TransitionRule__TriggersAssignment_0_0_in_rule__TransitionRule__Group_0__0__Impl1130);
1509
            rule__TransitionRule__TriggersAssignment_0_0();
1565
            rule__TransitionRule__TriggersAssignment_0_0();
1510
            _fsp--;
1511
1566
1567
            state._fsp--;
1568
1512
1569
1513
            }
1570
            }
1514
1571
Lines 1531-1540 Link Here
1531
        }
1588
        }
1532
        return ;
1589
        return ;
1533
    }
1590
    }
1534
    // $ANTLR end rule__TransitionRule__Group_0__0__Impl
1591
    // $ANTLR end "rule__TransitionRule__Group_0__0__Impl"
1535
1592
1536
1593
1537
    // $ANTLR start rule__TransitionRule__Group_0__1
1594
    // $ANTLR start "rule__TransitionRule__Group_0__1"
1538
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:570:1: rule__TransitionRule__Group_0__1 : rule__TransitionRule__Group_0__1__Impl ;
1595
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:570:1: rule__TransitionRule__Group_0__1 : rule__TransitionRule__Group_0__1__Impl ;
1539
    public final void rule__TransitionRule__Group_0__1() throws RecognitionException {
1596
    public final void rule__TransitionRule__Group_0__1() throws RecognitionException {
1540
1597
Lines 1546-1553 Link Here
1546
            {
1603
            {
1547
            pushFollow(FOLLOW_rule__TransitionRule__Group_0__1__Impl_in_rule__TransitionRule__Group_0__11160);
1604
            pushFollow(FOLLOW_rule__TransitionRule__Group_0__1__Impl_in_rule__TransitionRule__Group_0__11160);
1548
            rule__TransitionRule__Group_0__1__Impl();
1605
            rule__TransitionRule__Group_0__1__Impl();
1549
            _fsp--;
1550
1606
1607
            state._fsp--;
1608
1551
1609
1552
            }
1610
            }
1553
1611
Lines 1563-1572 Link Here
1563
        }
1621
        }
1564
        return ;
1622
        return ;
1565
    }
1623
    }
1566
    // $ANTLR end rule__TransitionRule__Group_0__1
1624
    // $ANTLR end "rule__TransitionRule__Group_0__1"
1567
1625
1568
1626
1569
    // $ANTLR start rule__TransitionRule__Group_0__1__Impl
1627
    // $ANTLR start "rule__TransitionRule__Group_0__1__Impl"
1570
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:581:1: rule__TransitionRule__Group_0__1__Impl : ( ( rule__TransitionRule__Group_0_1__0 )* ) ;
1628
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:581:1: rule__TransitionRule__Group_0__1__Impl : ( ( rule__TransitionRule__Group_0_1__0 )* ) ;
1571
    public final void rule__TransitionRule__Group_0__1__Impl() throws RecognitionException {
1629
    public final void rule__TransitionRule__Group_0__1__Impl() throws RecognitionException {
1572
1630
Lines 1597-1604 Link Here
1597
            	    {
1655
            	    {
1598
            	    pushFollow(FOLLOW_rule__TransitionRule__Group_0_1__0_in_rule__TransitionRule__Group_0__1__Impl1187);
1656
            	    pushFollow(FOLLOW_rule__TransitionRule__Group_0_1__0_in_rule__TransitionRule__Group_0__1__Impl1187);
1599
            	    rule__TransitionRule__Group_0_1__0();
1657
            	    rule__TransitionRule__Group_0_1__0();
1600
            	    _fsp--;
1601
1658
1659
            	    state._fsp--;
1660
1602
1661
1603
            	    }
1662
            	    }
1604
            	    break;
1663
            	    break;
Lines 1627-1636 Link Here
1627
        }
1686
        }
1628
        return ;
1687
        return ;
1629
    }
1688
    }
1630
    // $ANTLR end rule__TransitionRule__Group_0__1__Impl
1689
    // $ANTLR end "rule__TransitionRule__Group_0__1__Impl"
1631
1690
1632
1691
1633
    // $ANTLR start rule__TransitionRule__Group_0_1__0
1692
    // $ANTLR start "rule__TransitionRule__Group_0_1__0"
1634
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:602:1: rule__TransitionRule__Group_0_1__0 : rule__TransitionRule__Group_0_1__0__Impl rule__TransitionRule__Group_0_1__1 ;
1693
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:602:1: rule__TransitionRule__Group_0_1__0 : rule__TransitionRule__Group_0_1__0__Impl rule__TransitionRule__Group_0_1__1 ;
1635
    public final void rule__TransitionRule__Group_0_1__0() throws RecognitionException {
1694
    public final void rule__TransitionRule__Group_0_1__0() throws RecognitionException {
1636
1695
Lines 1642-1653 Link Here
1642
            {
1701
            {
1643
            pushFollow(FOLLOW_rule__TransitionRule__Group_0_1__0__Impl_in_rule__TransitionRule__Group_0_1__01222);
1702
            pushFollow(FOLLOW_rule__TransitionRule__Group_0_1__0__Impl_in_rule__TransitionRule__Group_0_1__01222);
1644
            rule__TransitionRule__Group_0_1__0__Impl();
1703
            rule__TransitionRule__Group_0_1__0__Impl();
1645
            _fsp--;
1704
1705
            state._fsp--;
1646
1706
1647
            pushFollow(FOLLOW_rule__TransitionRule__Group_0_1__1_in_rule__TransitionRule__Group_0_1__01225);
1707
            pushFollow(FOLLOW_rule__TransitionRule__Group_0_1__1_in_rule__TransitionRule__Group_0_1__01225);
1648
            rule__TransitionRule__Group_0_1__1();
1708
            rule__TransitionRule__Group_0_1__1();
1649
            _fsp--;
1650
1709
1710
            state._fsp--;
1711
1651
1712
1652
            }
1713
            }
1653
1714
Lines 1663-1672 Link Here
1663
        }
1724
        }
1664
        return ;
1725
        return ;
1665
    }
1726
    }
1666
    // $ANTLR end rule__TransitionRule__Group_0_1__0
1727
    // $ANTLR end "rule__TransitionRule__Group_0_1__0"
1667
1728
1668
1729
1669
    // $ANTLR start rule__TransitionRule__Group_0_1__0__Impl
1730
    // $ANTLR start "rule__TransitionRule__Group_0_1__0__Impl"
1670
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:614:1: rule__TransitionRule__Group_0_1__0__Impl : ( ',' ) ;
1731
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:614:1: rule__TransitionRule__Group_0_1__0__Impl : ( ',' ) ;
1671
    public final void rule__TransitionRule__Group_0_1__0__Impl() throws RecognitionException {
1732
    public final void rule__TransitionRule__Group_0_1__0__Impl() throws RecognitionException {
1672
1733
Lines 1700-1709 Link Here
1700
        }
1761
        }
1701
        return ;
1762
        return ;
1702
    }
1763
    }
1703
    // $ANTLR end rule__TransitionRule__Group_0_1__0__Impl
1764
    // $ANTLR end "rule__TransitionRule__Group_0_1__0__Impl"
1704
1765
1705
1766
1706
    // $ANTLR start rule__TransitionRule__Group_0_1__1
1767
    // $ANTLR start "rule__TransitionRule__Group_0_1__1"
1707
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:633:1: rule__TransitionRule__Group_0_1__1 : rule__TransitionRule__Group_0_1__1__Impl ;
1768
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:633:1: rule__TransitionRule__Group_0_1__1 : rule__TransitionRule__Group_0_1__1__Impl ;
1708
    public final void rule__TransitionRule__Group_0_1__1() throws RecognitionException {
1769
    public final void rule__TransitionRule__Group_0_1__1() throws RecognitionException {
1709
1770
Lines 1715-1721 Link Here
1715
            {
1776
            {
1716
            pushFollow(FOLLOW_rule__TransitionRule__Group_0_1__1__Impl_in_rule__TransitionRule__Group_0_1__11284);
1777
            pushFollow(FOLLOW_rule__TransitionRule__Group_0_1__1__Impl_in_rule__TransitionRule__Group_0_1__11284);
1717
            rule__TransitionRule__Group_0_1__1__Impl();
1778
            rule__TransitionRule__Group_0_1__1__Impl();
1718
            _fsp--;
1779
1780
            state._fsp--;
1719
1781
1720
1782
1721
            }
1783
            }
Lines 1732-1741 Link Here
1732
        }
1794
        }
1733
        return ;
1795
        return ;
1734
    }
1796
    }
1735
    // $ANTLR end rule__TransitionRule__Group_0_1__1
1797
    // $ANTLR end "rule__TransitionRule__Group_0_1__1"
1736
1798
1737
1799
1738
    // $ANTLR start rule__TransitionRule__Group_0_1__1__Impl
1800
    // $ANTLR start "rule__TransitionRule__Group_0_1__1__Impl"
1739
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:644:1: rule__TransitionRule__Group_0_1__1__Impl : ( ( rule__TransitionRule__TriggersAssignment_0_1_1 ) ) ;
1801
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:644:1: rule__TransitionRule__Group_0_1__1__Impl : ( ( rule__TransitionRule__TriggersAssignment_0_1_1 ) ) ;
1740
    public final void rule__TransitionRule__Group_0_1__1__Impl() throws RecognitionException {
1802
    public final void rule__TransitionRule__Group_0_1__1__Impl() throws RecognitionException {
1741
1803
Lines 1754-1760 Link Here
1754
            {
1816
            {
1755
            pushFollow(FOLLOW_rule__TransitionRule__TriggersAssignment_0_1_1_in_rule__TransitionRule__Group_0_1__1__Impl1311);
1817
            pushFollow(FOLLOW_rule__TransitionRule__TriggersAssignment_0_1_1_in_rule__TransitionRule__Group_0_1__1__Impl1311);
1756
            rule__TransitionRule__TriggersAssignment_0_1_1();
1818
            rule__TransitionRule__TriggersAssignment_0_1_1();
1757
            _fsp--;
1819
1820
            state._fsp--;
1758
1821
1759
1822
1760
            }
1823
            }
Lines 1778-1787 Link Here
1778
        }
1841
        }
1779
        return ;
1842
        return ;
1780
    }
1843
    }
1781
    // $ANTLR end rule__TransitionRule__Group_0_1__1__Impl
1844
    // $ANTLR end "rule__TransitionRule__Group_0_1__1__Impl"
1782
1845
1783
1846
1784
    // $ANTLR start rule__RelativeTimeEventRule__Group__0
1847
    // $ANTLR start "rule__RelativeTimeEventRule__Group__0"
1785
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:665:1: rule__RelativeTimeEventRule__Group__0 : rule__RelativeTimeEventRule__Group__0__Impl rule__RelativeTimeEventRule__Group__1 ;
1848
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:665:1: rule__RelativeTimeEventRule__Group__0 : rule__RelativeTimeEventRule__Group__0__Impl rule__RelativeTimeEventRule__Group__1 ;
1786
    public final void rule__RelativeTimeEventRule__Group__0() throws RecognitionException {
1849
    public final void rule__RelativeTimeEventRule__Group__0() throws RecognitionException {
1787
1850
Lines 1793-1803 Link Here
1793
            {
1856
            {
1794
            pushFollow(FOLLOW_rule__RelativeTimeEventRule__Group__0__Impl_in_rule__RelativeTimeEventRule__Group__01345);
1857
            pushFollow(FOLLOW_rule__RelativeTimeEventRule__Group__0__Impl_in_rule__RelativeTimeEventRule__Group__01345);
1795
            rule__RelativeTimeEventRule__Group__0__Impl();
1858
            rule__RelativeTimeEventRule__Group__0__Impl();
1796
            _fsp--;
1859
1860
            state._fsp--;
1797
1861
1798
            pushFollow(FOLLOW_rule__RelativeTimeEventRule__Group__1_in_rule__RelativeTimeEventRule__Group__01348);
1862
            pushFollow(FOLLOW_rule__RelativeTimeEventRule__Group__1_in_rule__RelativeTimeEventRule__Group__01348);
1799
            rule__RelativeTimeEventRule__Group__1();
1863
            rule__RelativeTimeEventRule__Group__1();
1800
            _fsp--;
1864
1865
            state._fsp--;
1801
1866
1802
1867
1803
            }
1868
            }
Lines 1814-1823 Link Here
1814
        }
1879
        }
1815
        return ;
1880
        return ;
1816
    }
1881
    }
1817
    // $ANTLR end rule__RelativeTimeEventRule__Group__0
1882
    // $ANTLR end "rule__RelativeTimeEventRule__Group__0"
1818
1883
1819
1884
1820
    // $ANTLR start rule__RelativeTimeEventRule__Group__0__Impl
1885
    // $ANTLR start "rule__RelativeTimeEventRule__Group__0__Impl"
1821
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:677:1: rule__RelativeTimeEventRule__Group__0__Impl : ( 'after' ) ;
1886
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:677:1: rule__RelativeTimeEventRule__Group__0__Impl : ( 'after' ) ;
1822
    public final void rule__RelativeTimeEventRule__Group__0__Impl() throws RecognitionException {
1887
    public final void rule__RelativeTimeEventRule__Group__0__Impl() throws RecognitionException {
1823
1888
Lines 1851-1860 Link Here
1851
        }
1916
        }
1852
        return ;
1917
        return ;
1853
    }
1918
    }
1854
    // $ANTLR end rule__RelativeTimeEventRule__Group__0__Impl
1919
    // $ANTLR end "rule__RelativeTimeEventRule__Group__0__Impl"
1855
1920
1856
1921
1857
    // $ANTLR start rule__RelativeTimeEventRule__Group__1
1922
    // $ANTLR start "rule__RelativeTimeEventRule__Group__1"
1858
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:696:1: rule__RelativeTimeEventRule__Group__1 : rule__RelativeTimeEventRule__Group__1__Impl ;
1923
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:696:1: rule__RelativeTimeEventRule__Group__1 : rule__RelativeTimeEventRule__Group__1__Impl ;
1859
    public final void rule__RelativeTimeEventRule__Group__1() throws RecognitionException {
1924
    public final void rule__RelativeTimeEventRule__Group__1() throws RecognitionException {
1860
1925
Lines 1866-1872 Link Here
1866
            {
1931
            {
1867
            pushFollow(FOLLOW_rule__RelativeTimeEventRule__Group__1__Impl_in_rule__RelativeTimeEventRule__Group__11407);
1932
            pushFollow(FOLLOW_rule__RelativeTimeEventRule__Group__1__Impl_in_rule__RelativeTimeEventRule__Group__11407);
1868
            rule__RelativeTimeEventRule__Group__1__Impl();
1933
            rule__RelativeTimeEventRule__Group__1__Impl();
1869
            _fsp--;
1934
1935
            state._fsp--;
1870
1936
1871
1937
1872
            }
1938
            }
Lines 1883-1892 Link Here
1883
        }
1949
        }
1884
        return ;
1950
        return ;
1885
    }
1951
    }
1886
    // $ANTLR end rule__RelativeTimeEventRule__Group__1
1952
    // $ANTLR end "rule__RelativeTimeEventRule__Group__1"
1887
1953
1888
1954
1889
    // $ANTLR start rule__RelativeTimeEventRule__Group__1__Impl
1955
    // $ANTLR start "rule__RelativeTimeEventRule__Group__1__Impl"
1890
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:707:1: rule__RelativeTimeEventRule__Group__1__Impl : ( ( rule__RelativeTimeEventRule__ExprAssignment_1 ) ) ;
1956
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:707:1: rule__RelativeTimeEventRule__Group__1__Impl : ( ( rule__RelativeTimeEventRule__ExprAssignment_1 ) ) ;
1891
    public final void rule__RelativeTimeEventRule__Group__1__Impl() throws RecognitionException {
1957
    public final void rule__RelativeTimeEventRule__Group__1__Impl() throws RecognitionException {
1892
1958
Lines 1905-1912 Link Here
1905
            {
1971
            {
1906
            pushFollow(FOLLOW_rule__RelativeTimeEventRule__ExprAssignment_1_in_rule__RelativeTimeEventRule__Group__1__Impl1434);
1972
            pushFollow(FOLLOW_rule__RelativeTimeEventRule__ExprAssignment_1_in_rule__RelativeTimeEventRule__Group__1__Impl1434);
1907
            rule__RelativeTimeEventRule__ExprAssignment_1();
1973
            rule__RelativeTimeEventRule__ExprAssignment_1();
1908
            _fsp--;
1909
1974
1975
            state._fsp--;
1976
1910
1977
1911
            }
1978
            }
1912
1979
Lines 1929-1938 Link Here
1929
        }
1996
        }
1930
        return ;
1997
        return ;
1931
    }
1998
    }
1932
    // $ANTLR end rule__RelativeTimeEventRule__Group__1__Impl
1999
    // $ANTLR end "rule__RelativeTimeEventRule__Group__1__Impl"
1933
2000
1934
2001
1935
    // $ANTLR start rule__AbsoluteTimeEventRule__Group__0
2002
    // $ANTLR start "rule__AbsoluteTimeEventRule__Group__0"
1936
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:728:1: rule__AbsoluteTimeEventRule__Group__0 : rule__AbsoluteTimeEventRule__Group__0__Impl rule__AbsoluteTimeEventRule__Group__1 ;
2003
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:728:1: rule__AbsoluteTimeEventRule__Group__0 : rule__AbsoluteTimeEventRule__Group__0__Impl rule__AbsoluteTimeEventRule__Group__1 ;
1937
    public final void rule__AbsoluteTimeEventRule__Group__0() throws RecognitionException {
2004
    public final void rule__AbsoluteTimeEventRule__Group__0() throws RecognitionException {
1938
2005
Lines 1944-1955 Link Here
1944
            {
2011
            {
1945
            pushFollow(FOLLOW_rule__AbsoluteTimeEventRule__Group__0__Impl_in_rule__AbsoluteTimeEventRule__Group__01468);
2012
            pushFollow(FOLLOW_rule__AbsoluteTimeEventRule__Group__0__Impl_in_rule__AbsoluteTimeEventRule__Group__01468);
1946
            rule__AbsoluteTimeEventRule__Group__0__Impl();
2013
            rule__AbsoluteTimeEventRule__Group__0__Impl();
1947
            _fsp--;
2014
2015
            state._fsp--;
1948
2016
1949
            pushFollow(FOLLOW_rule__AbsoluteTimeEventRule__Group__1_in_rule__AbsoluteTimeEventRule__Group__01471);
2017
            pushFollow(FOLLOW_rule__AbsoluteTimeEventRule__Group__1_in_rule__AbsoluteTimeEventRule__Group__01471);
1950
            rule__AbsoluteTimeEventRule__Group__1();
2018
            rule__AbsoluteTimeEventRule__Group__1();
1951
            _fsp--;
1952
2019
2020
            state._fsp--;
2021
1953
2022
1954
            }
2023
            }
1955
2024
Lines 1965-1974 Link Here
1965
        }
2034
        }
1966
        return ;
2035
        return ;
1967
    }
2036
    }
1968
    // $ANTLR end rule__AbsoluteTimeEventRule__Group__0
2037
    // $ANTLR end "rule__AbsoluteTimeEventRule__Group__0"
1969
2038
1970
2039
1971
    // $ANTLR start rule__AbsoluteTimeEventRule__Group__0__Impl
2040
    // $ANTLR start "rule__AbsoluteTimeEventRule__Group__0__Impl"
1972
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:740:1: rule__AbsoluteTimeEventRule__Group__0__Impl : ( 'at' ) ;
2041
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:740:1: rule__AbsoluteTimeEventRule__Group__0__Impl : ( 'at' ) ;
1973
    public final void rule__AbsoluteTimeEventRule__Group__0__Impl() throws RecognitionException {
2042
    public final void rule__AbsoluteTimeEventRule__Group__0__Impl() throws RecognitionException {
1974
2043
Lines 2002-2011 Link Here
2002
        }
2071
        }
2003
        return ;
2072
        return ;
2004
    }
2073
    }
2005
    // $ANTLR end rule__AbsoluteTimeEventRule__Group__0__Impl
2074
    // $ANTLR end "rule__AbsoluteTimeEventRule__Group__0__Impl"
2006
2075
2007
2076
2008
    // $ANTLR start rule__AbsoluteTimeEventRule__Group__1
2077
    // $ANTLR start "rule__AbsoluteTimeEventRule__Group__1"
2009
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:759:1: rule__AbsoluteTimeEventRule__Group__1 : rule__AbsoluteTimeEventRule__Group__1__Impl ;
2078
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:759:1: rule__AbsoluteTimeEventRule__Group__1 : rule__AbsoluteTimeEventRule__Group__1__Impl ;
2010
    public final void rule__AbsoluteTimeEventRule__Group__1() throws RecognitionException {
2079
    public final void rule__AbsoluteTimeEventRule__Group__1() throws RecognitionException {
2011
2080
Lines 2017-2024 Link Here
2017
            {
2086
            {
2018
            pushFollow(FOLLOW_rule__AbsoluteTimeEventRule__Group__1__Impl_in_rule__AbsoluteTimeEventRule__Group__11530);
2087
            pushFollow(FOLLOW_rule__AbsoluteTimeEventRule__Group__1__Impl_in_rule__AbsoluteTimeEventRule__Group__11530);
2019
            rule__AbsoluteTimeEventRule__Group__1__Impl();
2088
            rule__AbsoluteTimeEventRule__Group__1__Impl();
2020
            _fsp--;
2021
2089
2090
            state._fsp--;
2091
2022
2092
2023
            }
2093
            }
2024
2094
Lines 2034-2043 Link Here
2034
        }
2104
        }
2035
        return ;
2105
        return ;
2036
    }
2106
    }
2037
    // $ANTLR end rule__AbsoluteTimeEventRule__Group__1
2107
    // $ANTLR end "rule__AbsoluteTimeEventRule__Group__1"
2038
2108
2039
2109
2040
    // $ANTLR start rule__AbsoluteTimeEventRule__Group__1__Impl
2110
    // $ANTLR start "rule__AbsoluteTimeEventRule__Group__1__Impl"
2041
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:770:1: rule__AbsoluteTimeEventRule__Group__1__Impl : ( ( rule__AbsoluteTimeEventRule__ExprAssignment_1 ) ) ;
2111
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:770:1: rule__AbsoluteTimeEventRule__Group__1__Impl : ( ( rule__AbsoluteTimeEventRule__ExprAssignment_1 ) ) ;
2042
    public final void rule__AbsoluteTimeEventRule__Group__1__Impl() throws RecognitionException {
2112
    public final void rule__AbsoluteTimeEventRule__Group__1__Impl() throws RecognitionException {
2043
2113
Lines 2056-2063 Link Here
2056
            {
2126
            {
2057
            pushFollow(FOLLOW_rule__AbsoluteTimeEventRule__ExprAssignment_1_in_rule__AbsoluteTimeEventRule__Group__1__Impl1557);
2127
            pushFollow(FOLLOW_rule__AbsoluteTimeEventRule__ExprAssignment_1_in_rule__AbsoluteTimeEventRule__Group__1__Impl1557);
2058
            rule__AbsoluteTimeEventRule__ExprAssignment_1();
2128
            rule__AbsoluteTimeEventRule__ExprAssignment_1();
2059
            _fsp--;
2060
2129
2130
            state._fsp--;
2131
2061
2132
2062
            }
2133
            }
2063
2134
Lines 2080-2089 Link Here
2080
        }
2151
        }
2081
        return ;
2152
        return ;
2082
    }
2153
    }
2083
    // $ANTLR end rule__AbsoluteTimeEventRule__Group__1__Impl
2154
    // $ANTLR end "rule__AbsoluteTimeEventRule__Group__1__Impl"
2084
2155
2085
2156
2086
    // $ANTLR start rule__ChangeEventRule__Group__0
2157
    // $ANTLR start "rule__ChangeEventRule__Group__0"
2087
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:791:1: rule__ChangeEventRule__Group__0 : rule__ChangeEventRule__Group__0__Impl rule__ChangeEventRule__Group__1 ;
2158
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:791:1: rule__ChangeEventRule__Group__0 : rule__ChangeEventRule__Group__0__Impl rule__ChangeEventRule__Group__1 ;
2088
    public final void rule__ChangeEventRule__Group__0() throws RecognitionException {
2159
    public final void rule__ChangeEventRule__Group__0() throws RecognitionException {
2089
2160
Lines 2095-2106 Link Here
2095
            {
2166
            {
2096
            pushFollow(FOLLOW_rule__ChangeEventRule__Group__0__Impl_in_rule__ChangeEventRule__Group__01591);
2167
            pushFollow(FOLLOW_rule__ChangeEventRule__Group__0__Impl_in_rule__ChangeEventRule__Group__01591);
2097
            rule__ChangeEventRule__Group__0__Impl();
2168
            rule__ChangeEventRule__Group__0__Impl();
2098
            _fsp--;
2169
2170
            state._fsp--;
2099
2171
2100
            pushFollow(FOLLOW_rule__ChangeEventRule__Group__1_in_rule__ChangeEventRule__Group__01594);
2172
            pushFollow(FOLLOW_rule__ChangeEventRule__Group__1_in_rule__ChangeEventRule__Group__01594);
2101
            rule__ChangeEventRule__Group__1();
2173
            rule__ChangeEventRule__Group__1();
2102
            _fsp--;
2103
2174
2175
            state._fsp--;
2176
2104
2177
2105
            }
2178
            }
2106
2179
Lines 2116-2125 Link Here
2116
        }
2189
        }
2117
        return ;
2190
        return ;
2118
    }
2191
    }
2119
    // $ANTLR end rule__ChangeEventRule__Group__0
2192
    // $ANTLR end "rule__ChangeEventRule__Group__0"
2120
2193
2121
2194
2122
    // $ANTLR start rule__ChangeEventRule__Group__0__Impl
2195
    // $ANTLR start "rule__ChangeEventRule__Group__0__Impl"
2123
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:803:1: rule__ChangeEventRule__Group__0__Impl : ( 'when' ) ;
2196
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:803:1: rule__ChangeEventRule__Group__0__Impl : ( 'when' ) ;
2124
    public final void rule__ChangeEventRule__Group__0__Impl() throws RecognitionException {
2197
    public final void rule__ChangeEventRule__Group__0__Impl() throws RecognitionException {
2125
2198
Lines 2153-2162 Link Here
2153
        }
2226
        }
2154
        return ;
2227
        return ;
2155
    }
2228
    }
2156
    // $ANTLR end rule__ChangeEventRule__Group__0__Impl
2229
    // $ANTLR end "rule__ChangeEventRule__Group__0__Impl"
2157
2230
2158
2231
2159
    // $ANTLR start rule__ChangeEventRule__Group__1
2232
    // $ANTLR start "rule__ChangeEventRule__Group__1"
2160
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:822:1: rule__ChangeEventRule__Group__1 : rule__ChangeEventRule__Group__1__Impl ;
2233
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:822:1: rule__ChangeEventRule__Group__1 : rule__ChangeEventRule__Group__1__Impl ;
2161
    public final void rule__ChangeEventRule__Group__1() throws RecognitionException {
2234
    public final void rule__ChangeEventRule__Group__1() throws RecognitionException {
2162
2235
Lines 2168-2175 Link Here
2168
            {
2241
            {
2169
            pushFollow(FOLLOW_rule__ChangeEventRule__Group__1__Impl_in_rule__ChangeEventRule__Group__11653);
2242
            pushFollow(FOLLOW_rule__ChangeEventRule__Group__1__Impl_in_rule__ChangeEventRule__Group__11653);
2170
            rule__ChangeEventRule__Group__1__Impl();
2243
            rule__ChangeEventRule__Group__1__Impl();
2171
            _fsp--;
2172
2244
2245
            state._fsp--;
2246
2173
2247
2174
            }
2248
            }
2175
2249
Lines 2185-2194 Link Here
2185
        }
2259
        }
2186
        return ;
2260
        return ;
2187
    }
2261
    }
2188
    // $ANTLR end rule__ChangeEventRule__Group__1
2262
    // $ANTLR end "rule__ChangeEventRule__Group__1"
2189
2263
2190
2264
2191
    // $ANTLR start rule__ChangeEventRule__Group__1__Impl
2265
    // $ANTLR start "rule__ChangeEventRule__Group__1__Impl"
2192
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:833:1: rule__ChangeEventRule__Group__1__Impl : ( ( rule__ChangeEventRule__ExpAssignment_1 ) ) ;
2266
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:833:1: rule__ChangeEventRule__Group__1__Impl : ( ( rule__ChangeEventRule__ExpAssignment_1 ) ) ;
2193
    public final void rule__ChangeEventRule__Group__1__Impl() throws RecognitionException {
2267
    public final void rule__ChangeEventRule__Group__1__Impl() throws RecognitionException {
2194
2268
Lines 2207-2214 Link Here
2207
            {
2281
            {
2208
            pushFollow(FOLLOW_rule__ChangeEventRule__ExpAssignment_1_in_rule__ChangeEventRule__Group__1__Impl1680);
2282
            pushFollow(FOLLOW_rule__ChangeEventRule__ExpAssignment_1_in_rule__ChangeEventRule__Group__1__Impl1680);
2209
            rule__ChangeEventRule__ExpAssignment_1();
2283
            rule__ChangeEventRule__ExpAssignment_1();
2210
            _fsp--;
2211
2284
2285
            state._fsp--;
2286
2212
2287
2213
            }
2288
            }
2214
2289
Lines 2231-2240 Link Here
2231
        }
2306
        }
2232
        return ;
2307
        return ;
2233
    }
2308
    }
2234
    // $ANTLR end rule__ChangeEventRule__Group__1__Impl
2309
    // $ANTLR end "rule__ChangeEventRule__Group__1__Impl"
2235
2310
2236
2311
2237
    // $ANTLR start rule__GuardRule__Group__0
2312
    // $ANTLR start "rule__GuardRule__Group__0"
2238
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:854:1: rule__GuardRule__Group__0 : rule__GuardRule__Group__0__Impl rule__GuardRule__Group__1 ;
2313
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:854:1: rule__GuardRule__Group__0 : rule__GuardRule__Group__0__Impl rule__GuardRule__Group__1 ;
2239
    public final void rule__GuardRule__Group__0() throws RecognitionException {
2314
    public final void rule__GuardRule__Group__0() throws RecognitionException {
2240
2315
Lines 2246-2256 Link Here
2246
            {
2321
            {
2247
            pushFollow(FOLLOW_rule__GuardRule__Group__0__Impl_in_rule__GuardRule__Group__01714);
2322
            pushFollow(FOLLOW_rule__GuardRule__Group__0__Impl_in_rule__GuardRule__Group__01714);
2248
            rule__GuardRule__Group__0__Impl();
2323
            rule__GuardRule__Group__0__Impl();
2249
            _fsp--;
2324
2325
            state._fsp--;
2250
2326
2251
            pushFollow(FOLLOW_rule__GuardRule__Group__1_in_rule__GuardRule__Group__01717);
2327
            pushFollow(FOLLOW_rule__GuardRule__Group__1_in_rule__GuardRule__Group__01717);
2252
            rule__GuardRule__Group__1();
2328
            rule__GuardRule__Group__1();
2253
            _fsp--;
2329
2330
            state._fsp--;
2254
2331
2255
2332
2256
            }
2333
            }
Lines 2267-2276 Link Here
2267
        }
2344
        }
2268
        return ;
2345
        return ;
2269
    }
2346
    }
2270
    // $ANTLR end rule__GuardRule__Group__0
2347
    // $ANTLR end "rule__GuardRule__Group__0"
2271
2348
2272
2349
2273
    // $ANTLR start rule__GuardRule__Group__0__Impl
2350
    // $ANTLR start "rule__GuardRule__Group__0__Impl"
2274
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:866:1: rule__GuardRule__Group__0__Impl : ( '[' ) ;
2351
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:866:1: rule__GuardRule__Group__0__Impl : ( '[' ) ;
2275
    public final void rule__GuardRule__Group__0__Impl() throws RecognitionException {
2352
    public final void rule__GuardRule__Group__0__Impl() throws RecognitionException {
2276
2353
Lines 2304-2313 Link Here
2304
        }
2381
        }
2305
        return ;
2382
        return ;
2306
    }
2383
    }
2307
    // $ANTLR end rule__GuardRule__Group__0__Impl
2384
    // $ANTLR end "rule__GuardRule__Group__0__Impl"
2308
2385
2309
2386
2310
    // $ANTLR start rule__GuardRule__Group__1
2387
    // $ANTLR start "rule__GuardRule__Group__1"
2311
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:885:1: rule__GuardRule__Group__1 : rule__GuardRule__Group__1__Impl rule__GuardRule__Group__2 ;
2388
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:885:1: rule__GuardRule__Group__1 : rule__GuardRule__Group__1__Impl rule__GuardRule__Group__2 ;
2312
    public final void rule__GuardRule__Group__1() throws RecognitionException {
2389
    public final void rule__GuardRule__Group__1() throws RecognitionException {
2313
2390
Lines 2319-2330 Link Here
2319
            {
2396
            {
2320
            pushFollow(FOLLOW_rule__GuardRule__Group__1__Impl_in_rule__GuardRule__Group__11776);
2397
            pushFollow(FOLLOW_rule__GuardRule__Group__1__Impl_in_rule__GuardRule__Group__11776);
2321
            rule__GuardRule__Group__1__Impl();
2398
            rule__GuardRule__Group__1__Impl();
2322
            _fsp--;
2399
2400
            state._fsp--;
2323
2401
2324
            pushFollow(FOLLOW_rule__GuardRule__Group__2_in_rule__GuardRule__Group__11779);
2402
            pushFollow(FOLLOW_rule__GuardRule__Group__2_in_rule__GuardRule__Group__11779);
2325
            rule__GuardRule__Group__2();
2403
            rule__GuardRule__Group__2();
2326
            _fsp--;
2327
2404
2405
            state._fsp--;
2406
2328
2407
2329
            }
2408
            }
2330
2409
Lines 2340-2349 Link Here
2340
        }
2419
        }
2341
        return ;
2420
        return ;
2342
    }
2421
    }
2343
    // $ANTLR end rule__GuardRule__Group__1
2422
    // $ANTLR end "rule__GuardRule__Group__1"
2344
2423
2345
2424
2346
    // $ANTLR start rule__GuardRule__Group__1__Impl
2425
    // $ANTLR start "rule__GuardRule__Group__1__Impl"
2347
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:897:1: rule__GuardRule__Group__1__Impl : ( ( rule__GuardRule__ConstraintAssignment_1 ) ) ;
2426
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:897:1: rule__GuardRule__Group__1__Impl : ( ( rule__GuardRule__ConstraintAssignment_1 ) ) ;
2348
    public final void rule__GuardRule__Group__1__Impl() throws RecognitionException {
2427
    public final void rule__GuardRule__Group__1__Impl() throws RecognitionException {
2349
2428
Lines 2362-2369 Link Here
2362
            {
2441
            {
2363
            pushFollow(FOLLOW_rule__GuardRule__ConstraintAssignment_1_in_rule__GuardRule__Group__1__Impl1806);
2442
            pushFollow(FOLLOW_rule__GuardRule__ConstraintAssignment_1_in_rule__GuardRule__Group__1__Impl1806);
2364
            rule__GuardRule__ConstraintAssignment_1();
2443
            rule__GuardRule__ConstraintAssignment_1();
2365
            _fsp--;
2366
2444
2445
            state._fsp--;
2446
2367
2447
2368
            }
2448
            }
2369
2449
Lines 2386-2395 Link Here
2386
        }
2466
        }
2387
        return ;
2467
        return ;
2388
    }
2468
    }
2389
    // $ANTLR end rule__GuardRule__Group__1__Impl
2469
    // $ANTLR end "rule__GuardRule__Group__1__Impl"
2390
2470
2391
2471
2392
    // $ANTLR start rule__GuardRule__Group__2
2472
    // $ANTLR start "rule__GuardRule__Group__2"
2393
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:914:1: rule__GuardRule__Group__2 : rule__GuardRule__Group__2__Impl ;
2473
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:914:1: rule__GuardRule__Group__2 : rule__GuardRule__Group__2__Impl ;
2394
    public final void rule__GuardRule__Group__2() throws RecognitionException {
2474
    public final void rule__GuardRule__Group__2() throws RecognitionException {
2395
2475
Lines 2401-2408 Link Here
2401
            {
2481
            {
2402
            pushFollow(FOLLOW_rule__GuardRule__Group__2__Impl_in_rule__GuardRule__Group__21836);
2482
            pushFollow(FOLLOW_rule__GuardRule__Group__2__Impl_in_rule__GuardRule__Group__21836);
2403
            rule__GuardRule__Group__2__Impl();
2483
            rule__GuardRule__Group__2__Impl();
2404
            _fsp--;
2405
2484
2485
            state._fsp--;
2486
2406
2487
2407
            }
2488
            }
2408
2489
Lines 2418-2427 Link Here
2418
        }
2499
        }
2419
        return ;
2500
        return ;
2420
    }
2501
    }
2421
    // $ANTLR end rule__GuardRule__Group__2
2502
    // $ANTLR end "rule__GuardRule__Group__2"
2422
2503
2423
2504
2424
    // $ANTLR start rule__GuardRule__Group__2__Impl
2505
    // $ANTLR start "rule__GuardRule__Group__2__Impl"
2425
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:925:1: rule__GuardRule__Group__2__Impl : ( ']' ) ;
2506
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:925:1: rule__GuardRule__Group__2__Impl : ( ']' ) ;
2426
    public final void rule__GuardRule__Group__2__Impl() throws RecognitionException {
2507
    public final void rule__GuardRule__Group__2__Impl() throws RecognitionException {
2427
2508
Lines 2455-2464 Link Here
2455
        }
2536
        }
2456
        return ;
2537
        return ;
2457
    }
2538
    }
2458
    // $ANTLR end rule__GuardRule__Group__2__Impl
2539
    // $ANTLR end "rule__GuardRule__Group__2__Impl"
2459
2540
2460
2541
2461
    // $ANTLR start rule__EffectRule__Group__0
2542
    // $ANTLR start "rule__EffectRule__Group__0"
2462
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:950:1: rule__EffectRule__Group__0 : rule__EffectRule__Group__0__Impl rule__EffectRule__Group__1 ;
2543
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:950:1: rule__EffectRule__Group__0 : rule__EffectRule__Group__0__Impl rule__EffectRule__Group__1 ;
2463
    public final void rule__EffectRule__Group__0() throws RecognitionException {
2544
    public final void rule__EffectRule__Group__0() throws RecognitionException {
2464
2545
Lines 2470-2481 Link Here
2470
            {
2551
            {
2471
            pushFollow(FOLLOW_rule__EffectRule__Group__0__Impl_in_rule__EffectRule__Group__01901);
2552
            pushFollow(FOLLOW_rule__EffectRule__Group__0__Impl_in_rule__EffectRule__Group__01901);
2472
            rule__EffectRule__Group__0__Impl();
2553
            rule__EffectRule__Group__0__Impl();
2473
            _fsp--;
2554
2555
            state._fsp--;
2474
2556
2475
            pushFollow(FOLLOW_rule__EffectRule__Group__1_in_rule__EffectRule__Group__01904);
2557
            pushFollow(FOLLOW_rule__EffectRule__Group__1_in_rule__EffectRule__Group__01904);
2476
            rule__EffectRule__Group__1();
2558
            rule__EffectRule__Group__1();
2477
            _fsp--;
2478
2559
2560
            state._fsp--;
2561
2479
2562
2480
            }
2563
            }
2481
2564
Lines 2491-2500 Link Here
2491
        }
2574
        }
2492
        return ;
2575
        return ;
2493
    }
2576
    }
2494
    // $ANTLR end rule__EffectRule__Group__0
2577
    // $ANTLR end "rule__EffectRule__Group__0"
2495
2578
2496
2579
2497
    // $ANTLR start rule__EffectRule__Group__0__Impl
2580
    // $ANTLR start "rule__EffectRule__Group__0__Impl"
2498
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:962:1: rule__EffectRule__Group__0__Impl : ( '/' ) ;
2581
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:962:1: rule__EffectRule__Group__0__Impl : ( '/' ) ;
2499
    public final void rule__EffectRule__Group__0__Impl() throws RecognitionException {
2582
    public final void rule__EffectRule__Group__0__Impl() throws RecognitionException {
2500
2583
Lines 2528-2537 Link Here
2528
        }
2611
        }
2529
        return ;
2612
        return ;
2530
    }
2613
    }
2531
    // $ANTLR end rule__EffectRule__Group__0__Impl
2614
    // $ANTLR end "rule__EffectRule__Group__0__Impl"
2532
2615
2533
2616
2534
    // $ANTLR start rule__EffectRule__Group__1
2617
    // $ANTLR start "rule__EffectRule__Group__1"
2535
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:981:1: rule__EffectRule__Group__1 : rule__EffectRule__Group__1__Impl rule__EffectRule__Group__2 ;
2618
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:981:1: rule__EffectRule__Group__1 : rule__EffectRule__Group__1__Impl rule__EffectRule__Group__2 ;
2536
    public final void rule__EffectRule__Group__1() throws RecognitionException {
2619
    public final void rule__EffectRule__Group__1() throws RecognitionException {
2537
2620
Lines 2543-2554 Link Here
2543
            {
2626
            {
2544
            pushFollow(FOLLOW_rule__EffectRule__Group__1__Impl_in_rule__EffectRule__Group__11963);
2627
            pushFollow(FOLLOW_rule__EffectRule__Group__1__Impl_in_rule__EffectRule__Group__11963);
2545
            rule__EffectRule__Group__1__Impl();
2628
            rule__EffectRule__Group__1__Impl();
2546
            _fsp--;
2629
2630
            state._fsp--;
2547
2631
2548
            pushFollow(FOLLOW_rule__EffectRule__Group__2_in_rule__EffectRule__Group__11966);
2632
            pushFollow(FOLLOW_rule__EffectRule__Group__2_in_rule__EffectRule__Group__11966);
2549
            rule__EffectRule__Group__2();
2633
            rule__EffectRule__Group__2();
2550
            _fsp--;
2551
2634
2635
            state._fsp--;
2636
2552
2637
2553
            }
2638
            }
2554
2639
Lines 2564-2573 Link Here
2564
        }
2649
        }
2565
        return ;
2650
        return ;
2566
    }
2651
    }
2567
    // $ANTLR end rule__EffectRule__Group__1
2652
    // $ANTLR end "rule__EffectRule__Group__1"
2568
2653
2569
2654
2570
    // $ANTLR start rule__EffectRule__Group__1__Impl
2655
    // $ANTLR start "rule__EffectRule__Group__1__Impl"
2571
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:993:1: rule__EffectRule__Group__1__Impl : ( ( rule__EffectRule__KindAssignment_1 ) ) ;
2656
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:993:1: rule__EffectRule__Group__1__Impl : ( ( rule__EffectRule__KindAssignment_1 ) ) ;
2572
    public final void rule__EffectRule__Group__1__Impl() throws RecognitionException {
2657
    public final void rule__EffectRule__Group__1__Impl() throws RecognitionException {
2573
2658
Lines 2586-2593 Link Here
2586
            {
2671
            {
2587
            pushFollow(FOLLOW_rule__EffectRule__KindAssignment_1_in_rule__EffectRule__Group__1__Impl1993);
2672
            pushFollow(FOLLOW_rule__EffectRule__KindAssignment_1_in_rule__EffectRule__Group__1__Impl1993);
2588
            rule__EffectRule__KindAssignment_1();
2673
            rule__EffectRule__KindAssignment_1();
2589
            _fsp--;
2590
2674
2675
            state._fsp--;
2676
2591
2677
2592
            }
2678
            }
2593
2679
Lines 2610-2619 Link Here
2610
        }
2696
        }
2611
        return ;
2697
        return ;
2612
    }
2698
    }
2613
    // $ANTLR end rule__EffectRule__Group__1__Impl
2699
    // $ANTLR end "rule__EffectRule__Group__1__Impl"
2614
2700
2615
2701
2616
    // $ANTLR start rule__EffectRule__Group__2
2702
    // $ANTLR start "rule__EffectRule__Group__2"
2617
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1010:1: rule__EffectRule__Group__2 : rule__EffectRule__Group__2__Impl ;
2703
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1010:1: rule__EffectRule__Group__2 : rule__EffectRule__Group__2__Impl ;
2618
    public final void rule__EffectRule__Group__2() throws RecognitionException {
2704
    public final void rule__EffectRule__Group__2() throws RecognitionException {
2619
2705
Lines 2625-2632 Link Here
2625
            {
2711
            {
2626
            pushFollow(FOLLOW_rule__EffectRule__Group__2__Impl_in_rule__EffectRule__Group__22023);
2712
            pushFollow(FOLLOW_rule__EffectRule__Group__2__Impl_in_rule__EffectRule__Group__22023);
2627
            rule__EffectRule__Group__2__Impl();
2713
            rule__EffectRule__Group__2__Impl();
2628
            _fsp--;
2629
2714
2715
            state._fsp--;
2716
2630
2717
2631
            }
2718
            }
2632
2719
Lines 2642-2651 Link Here
2642
        }
2729
        }
2643
        return ;
2730
        return ;
2644
    }
2731
    }
2645
    // $ANTLR end rule__EffectRule__Group__2
2732
    // $ANTLR end "rule__EffectRule__Group__2"
2646
2733
2647
2734
2648
    // $ANTLR start rule__EffectRule__Group__2__Impl
2735
    // $ANTLR start "rule__EffectRule__Group__2__Impl"
2649
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1021:1: rule__EffectRule__Group__2__Impl : ( ( rule__EffectRule__BehaviorNameAssignment_2 ) ) ;
2736
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1021:1: rule__EffectRule__Group__2__Impl : ( ( rule__EffectRule__BehaviorNameAssignment_2 ) ) ;
2650
    public final void rule__EffectRule__Group__2__Impl() throws RecognitionException {
2737
    public final void rule__EffectRule__Group__2__Impl() throws RecognitionException {
2651
2738
Lines 2664-2671 Link Here
2664
            {
2751
            {
2665
            pushFollow(FOLLOW_rule__EffectRule__BehaviorNameAssignment_2_in_rule__EffectRule__Group__2__Impl2050);
2752
            pushFollow(FOLLOW_rule__EffectRule__BehaviorNameAssignment_2_in_rule__EffectRule__Group__2__Impl2050);
2666
            rule__EffectRule__BehaviorNameAssignment_2();
2753
            rule__EffectRule__BehaviorNameAssignment_2();
2667
            _fsp--;
2668
2754
2755
            state._fsp--;
2756
2669
2757
2670
            }
2758
            }
2671
2759
Lines 2688-2697 Link Here
2688
        }
2776
        }
2689
        return ;
2777
        return ;
2690
    }
2778
    }
2691
    // $ANTLR end rule__EffectRule__Group__2__Impl
2779
    // $ANTLR end "rule__EffectRule__Group__2__Impl"
2692
2780
2693
2781
2694
    // $ANTLR start rule__TransitionRule__TriggersAssignment_0_0
2782
    // $ANTLR start "rule__TransitionRule__TriggersAssignment_0_0"
2695
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1045:1: rule__TransitionRule__TriggersAssignment_0_0 : ( ruleEventRule ) ;
2783
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1045:1: rule__TransitionRule__TriggersAssignment_0_0 : ( ruleEventRule ) ;
2696
    public final void rule__TransitionRule__TriggersAssignment_0_0() throws RecognitionException {
2784
    public final void rule__TransitionRule__TriggersAssignment_0_0() throws RecognitionException {
2697
2785
Lines 2707-2713 Link Here
2707
             before(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_0_0()); 
2795
             before(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_0_0()); 
2708
            pushFollow(FOLLOW_ruleEventRule_in_rule__TransitionRule__TriggersAssignment_0_02091);
2796
            pushFollow(FOLLOW_ruleEventRule_in_rule__TransitionRule__TriggersAssignment_0_02091);
2709
            ruleEventRule();
2797
            ruleEventRule();
2710
            _fsp--;
2798
2799
            state._fsp--;
2711
2800
2712
             after(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_0_0()); 
2801
             after(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_0_0()); 
2713
2802
Lines 2728-2737 Link Here
2728
        }
2817
        }
2729
        return ;
2818
        return ;
2730
    }
2819
    }
2731
    // $ANTLR end rule__TransitionRule__TriggersAssignment_0_0
2820
    // $ANTLR end "rule__TransitionRule__TriggersAssignment_0_0"
2732
2821
2733
2822
2734
    // $ANTLR start rule__TransitionRule__TriggersAssignment_0_1_1
2823
    // $ANTLR start "rule__TransitionRule__TriggersAssignment_0_1_1"
2735
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1060:1: rule__TransitionRule__TriggersAssignment_0_1_1 : ( ruleEventRule ) ;
2824
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1060:1: rule__TransitionRule__TriggersAssignment_0_1_1 : ( ruleEventRule ) ;
2736
    public final void rule__TransitionRule__TriggersAssignment_0_1_1() throws RecognitionException {
2825
    public final void rule__TransitionRule__TriggersAssignment_0_1_1() throws RecognitionException {
2737
2826
Lines 2747-2753 Link Here
2747
             before(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_1_1_0()); 
2836
             before(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_1_1_0()); 
2748
            pushFollow(FOLLOW_ruleEventRule_in_rule__TransitionRule__TriggersAssignment_0_1_12122);
2837
            pushFollow(FOLLOW_ruleEventRule_in_rule__TransitionRule__TriggersAssignment_0_1_12122);
2749
            ruleEventRule();
2838
            ruleEventRule();
2750
            _fsp--;
2839
2840
            state._fsp--;
2751
2841
2752
             after(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_1_1_0()); 
2842
             after(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_1_1_0()); 
2753
2843
Lines 2768-2777 Link Here
2768
        }
2858
        }
2769
        return ;
2859
        return ;
2770
    }
2860
    }
2771
    // $ANTLR end rule__TransitionRule__TriggersAssignment_0_1_1
2861
    // $ANTLR end "rule__TransitionRule__TriggersAssignment_0_1_1"
2772
2862
2773
2863
2774
    // $ANTLR start rule__TransitionRule__GuardAssignment_1
2864
    // $ANTLR start "rule__TransitionRule__GuardAssignment_1"
2775
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1075:1: rule__TransitionRule__GuardAssignment_1 : ( ruleGuardRule ) ;
2865
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1075:1: rule__TransitionRule__GuardAssignment_1 : ( ruleGuardRule ) ;
2776
    public final void rule__TransitionRule__GuardAssignment_1() throws RecognitionException {
2866
    public final void rule__TransitionRule__GuardAssignment_1() throws RecognitionException {
2777
2867
Lines 2787-2793 Link Here
2787
             before(grammarAccess.getTransitionRuleAccess().getGuardGuardRuleParserRuleCall_1_0()); 
2877
             before(grammarAccess.getTransitionRuleAccess().getGuardGuardRuleParserRuleCall_1_0()); 
2788
            pushFollow(FOLLOW_ruleGuardRule_in_rule__TransitionRule__GuardAssignment_12153);
2878
            pushFollow(FOLLOW_ruleGuardRule_in_rule__TransitionRule__GuardAssignment_12153);
2789
            ruleGuardRule();
2879
            ruleGuardRule();
2790
            _fsp--;
2880
2881
            state._fsp--;
2791
2882
2792
             after(grammarAccess.getTransitionRuleAccess().getGuardGuardRuleParserRuleCall_1_0()); 
2883
             after(grammarAccess.getTransitionRuleAccess().getGuardGuardRuleParserRuleCall_1_0()); 
2793
2884
Lines 2808-2817 Link Here
2808
        }
2899
        }
2809
        return ;
2900
        return ;
2810
    }
2901
    }
2811
    // $ANTLR end rule__TransitionRule__GuardAssignment_1
2902
    // $ANTLR end "rule__TransitionRule__GuardAssignment_1"
2812
2903
2813
2904
2814
    // $ANTLR start rule__TransitionRule__EffectAssignment_2
2905
    // $ANTLR start "rule__TransitionRule__EffectAssignment_2"
2815
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1090:1: rule__TransitionRule__EffectAssignment_2 : ( ruleEffectRule ) ;
2906
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1090:1: rule__TransitionRule__EffectAssignment_2 : ( ruleEffectRule ) ;
2816
    public final void rule__TransitionRule__EffectAssignment_2() throws RecognitionException {
2907
    public final void rule__TransitionRule__EffectAssignment_2() throws RecognitionException {
2817
2908
Lines 2827-2833 Link Here
2827
             before(grammarAccess.getTransitionRuleAccess().getEffectEffectRuleParserRuleCall_2_0()); 
2918
             before(grammarAccess.getTransitionRuleAccess().getEffectEffectRuleParserRuleCall_2_0()); 
2828
            pushFollow(FOLLOW_ruleEffectRule_in_rule__TransitionRule__EffectAssignment_22184);
2919
            pushFollow(FOLLOW_ruleEffectRule_in_rule__TransitionRule__EffectAssignment_22184);
2829
            ruleEffectRule();
2920
            ruleEffectRule();
2830
            _fsp--;
2921
2922
            state._fsp--;
2831
2923
2832
             after(grammarAccess.getTransitionRuleAccess().getEffectEffectRuleParserRuleCall_2_0()); 
2924
             after(grammarAccess.getTransitionRuleAccess().getEffectEffectRuleParserRuleCall_2_0()); 
2833
2925
Lines 2848-2857 Link Here
2848
        }
2940
        }
2849
        return ;
2941
        return ;
2850
    }
2942
    }
2851
    // $ANTLR end rule__TransitionRule__EffectAssignment_2
2943
    // $ANTLR end "rule__TransitionRule__EffectAssignment_2"
2852
2944
2853
2945
2854
    // $ANTLR start rule__CallOrSignalEventRule__OperationOrSignalAssignment
2946
    // $ANTLR start "rule__CallOrSignalEventRule__OperationOrSignalAssignment"
2855
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1105:1: rule__CallOrSignalEventRule__OperationOrSignalAssignment : ( ( RULE_ID ) ) ;
2947
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1105:1: rule__CallOrSignalEventRule__OperationOrSignalAssignment : ( ( RULE_ID ) ) ;
2856
    public final void rule__CallOrSignalEventRule__OperationOrSignalAssignment() throws RecognitionException {
2948
    public final void rule__CallOrSignalEventRule__OperationOrSignalAssignment() throws RecognitionException {
2857
2949
Lines 2893-2902 Link Here
2893
        }
2985
        }
2894
        return ;
2986
        return ;
2895
    }
2987
    }
2896
    // $ANTLR end rule__CallOrSignalEventRule__OperationOrSignalAssignment
2988
    // $ANTLR end "rule__CallOrSignalEventRule__OperationOrSignalAssignment"
2897
2989
2898
2990
2899
    // $ANTLR start rule__AnyReceiveEventRule__IsAReceiveEventAssignment
2991
    // $ANTLR start "rule__AnyReceiveEventRule__IsAReceiveEventAssignment"
2900
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1124:1: rule__AnyReceiveEventRule__IsAReceiveEventAssignment : ( ( 'all' ) ) ;
2992
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1124:1: rule__AnyReceiveEventRule__IsAReceiveEventAssignment : ( ( 'all' ) ) ;
2901
    public final void rule__AnyReceiveEventRule__IsAReceiveEventAssignment() throws RecognitionException {
2993
    public final void rule__AnyReceiveEventRule__IsAReceiveEventAssignment() throws RecognitionException {
2902
2994
Lines 2938-2947 Link Here
2938
        }
3030
        }
2939
        return ;
3031
        return ;
2940
    }
3032
    }
2941
    // $ANTLR end rule__AnyReceiveEventRule__IsAReceiveEventAssignment
3033
    // $ANTLR end "rule__AnyReceiveEventRule__IsAReceiveEventAssignment"
2942
3034
2943
3035
2944
    // $ANTLR start rule__RelativeTimeEventRule__ExprAssignment_1
3036
    // $ANTLR start "rule__RelativeTimeEventRule__ExprAssignment_1"
2945
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1147:1: rule__RelativeTimeEventRule__ExprAssignment_1 : ( RULE_STRING ) ;
3037
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1147:1: rule__RelativeTimeEventRule__ExprAssignment_1 : ( RULE_STRING ) ;
2946
    public final void rule__RelativeTimeEventRule__ExprAssignment_1() throws RecognitionException {
3038
    public final void rule__RelativeTimeEventRule__ExprAssignment_1() throws RecognitionException {
2947
3039
Lines 2975-2984 Link Here
2975
        }
3067
        }
2976
        return ;
3068
        return ;
2977
    }
3069
    }
2978
    // $ANTLR end rule__RelativeTimeEventRule__ExprAssignment_1
3070
    // $ANTLR end "rule__RelativeTimeEventRule__ExprAssignment_1"
2979
3071
2980
3072
2981
    // $ANTLR start rule__AbsoluteTimeEventRule__ExprAssignment_1
3073
    // $ANTLR start "rule__AbsoluteTimeEventRule__ExprAssignment_1"
2982
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1162:1: rule__AbsoluteTimeEventRule__ExprAssignment_1 : ( RULE_STRING ) ;
3074
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1162:1: rule__AbsoluteTimeEventRule__ExprAssignment_1 : ( RULE_STRING ) ;
2983
    public final void rule__AbsoluteTimeEventRule__ExprAssignment_1() throws RecognitionException {
3075
    public final void rule__AbsoluteTimeEventRule__ExprAssignment_1() throws RecognitionException {
2984
3076
Lines 3012-3021 Link Here
3012
        }
3104
        }
3013
        return ;
3105
        return ;
3014
    }
3106
    }
3015
    // $ANTLR end rule__AbsoluteTimeEventRule__ExprAssignment_1
3107
    // $ANTLR end "rule__AbsoluteTimeEventRule__ExprAssignment_1"
3016
3108
3017
3109
3018
    // $ANTLR start rule__ChangeEventRule__ExpAssignment_1
3110
    // $ANTLR start "rule__ChangeEventRule__ExpAssignment_1"
3019
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1177:1: rule__ChangeEventRule__ExpAssignment_1 : ( RULE_STRING ) ;
3111
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1177:1: rule__ChangeEventRule__ExpAssignment_1 : ( RULE_STRING ) ;
3020
    public final void rule__ChangeEventRule__ExpAssignment_1() throws RecognitionException {
3112
    public final void rule__ChangeEventRule__ExpAssignment_1() throws RecognitionException {
3021
3113
Lines 3049-3058 Link Here
3049
        }
3141
        }
3050
        return ;
3142
        return ;
3051
    }
3143
    }
3052
    // $ANTLR end rule__ChangeEventRule__ExpAssignment_1
3144
    // $ANTLR end "rule__ChangeEventRule__ExpAssignment_1"
3053
3145
3054
3146
3055
    // $ANTLR start rule__GuardRule__ConstraintAssignment_1
3147
    // $ANTLR start "rule__GuardRule__ConstraintAssignment_1"
3056
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1192:1: rule__GuardRule__ConstraintAssignment_1 : ( RULE_STRING ) ;
3148
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1192:1: rule__GuardRule__ConstraintAssignment_1 : ( RULE_STRING ) ;
3057
    public final void rule__GuardRule__ConstraintAssignment_1() throws RecognitionException {
3149
    public final void rule__GuardRule__ConstraintAssignment_1() throws RecognitionException {
3058
3150
Lines 3086-3095 Link Here
3086
        }
3178
        }
3087
        return ;
3179
        return ;
3088
    }
3180
    }
3089
    // $ANTLR end rule__GuardRule__ConstraintAssignment_1
3181
    // $ANTLR end "rule__GuardRule__ConstraintAssignment_1"
3090
3182
3091
3183
3092
    // $ANTLR start rule__EffectRule__KindAssignment_1
3184
    // $ANTLR start "rule__EffectRule__KindAssignment_1"
3093
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1207:1: rule__EffectRule__KindAssignment_1 : ( ruleBehaviorKind ) ;
3185
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1207:1: rule__EffectRule__KindAssignment_1 : ( ruleBehaviorKind ) ;
3094
    public final void rule__EffectRule__KindAssignment_1() throws RecognitionException {
3186
    public final void rule__EffectRule__KindAssignment_1() throws RecognitionException {
3095
3187
Lines 3105-3111 Link Here
3105
             before(grammarAccess.getEffectRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
3197
             before(grammarAccess.getEffectRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
3106
            pushFollow(FOLLOW_ruleBehaviorKind_in_rule__EffectRule__KindAssignment_12422);
3198
            pushFollow(FOLLOW_ruleBehaviorKind_in_rule__EffectRule__KindAssignment_12422);
3107
            ruleBehaviorKind();
3199
            ruleBehaviorKind();
3108
            _fsp--;
3200
3201
            state._fsp--;
3109
3202
3110
             after(grammarAccess.getEffectRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
3203
             after(grammarAccess.getEffectRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
3111
3204
Lines 3126-3135 Link Here
3126
        }
3219
        }
3127
        return ;
3220
        return ;
3128
    }
3221
    }
3129
    // $ANTLR end rule__EffectRule__KindAssignment_1
3222
    // $ANTLR end "rule__EffectRule__KindAssignment_1"
3130
3223
3131
3224
3132
    // $ANTLR start rule__EffectRule__BehaviorNameAssignment_2
3225
    // $ANTLR start "rule__EffectRule__BehaviorNameAssignment_2"
3133
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1222:1: rule__EffectRule__BehaviorNameAssignment_2 : ( RULE_ID ) ;
3226
    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1222:1: rule__EffectRule__BehaviorNameAssignment_2 : ( RULE_ID ) ;
3134
    public final void rule__EffectRule__BehaviorNameAssignment_2() throws RecognitionException {
3227
    public final void rule__EffectRule__BehaviorNameAssignment_2() throws RecognitionException {
3135
3228
Lines 3163-3170 Link Here
3163
        }
3256
        }
3164
        return ;
3257
        return ;
3165
    }
3258
    }
3166
    // $ANTLR end rule__EffectRule__BehaviorNameAssignment_2
3259
    // $ANTLR end "rule__EffectRule__BehaviorNameAssignment_2"
3167
3260
3261
    // Delegated rules
3262
3168
3263
3169
 
3264
 
3170
3265
Lines 3208-3222 Link Here
3208
    public static final BitSet FOLLOW_11_in_rule__BehaviorKind__Alternatives839 = new BitSet(new long[]{0x0000000000000002L});
3303
    public static final BitSet FOLLOW_11_in_rule__BehaviorKind__Alternatives839 = new BitSet(new long[]{0x0000000000000002L});
3209
    public static final BitSet FOLLOW_12_in_rule__BehaviorKind__Alternatives860 = new BitSet(new long[]{0x0000000000000002L});
3304
    public static final BitSet FOLLOW_12_in_rule__BehaviorKind__Alternatives860 = new BitSet(new long[]{0x0000000000000002L});
3210
    public static final BitSet FOLLOW_13_in_rule__BehaviorKind__Alternatives881 = new BitSet(new long[]{0x0000000000000002L});
3305
    public static final BitSet FOLLOW_13_in_rule__BehaviorKind__Alternatives881 = new BitSet(new long[]{0x0000000000000002L});
3211
    public static final BitSet FOLLOW_rule__TransitionRule__Group__0__Impl_in_rule__TransitionRule__Group__0914 = new BitSet(new long[]{0x0000000000140002L});
3306
    public static final BitSet FOLLOW_rule__TransitionRule__Group__0__Impl_in_rule__TransitionRule__Group__0914 = new BitSet(new long[]{0x0000000000140000L});
3212
    public static final BitSet FOLLOW_rule__TransitionRule__Group__1_in_rule__TransitionRule__Group__0917 = new BitSet(new long[]{0x0000000000000002L});
3307
    public static final BitSet FOLLOW_rule__TransitionRule__Group__1_in_rule__TransitionRule__Group__0917 = new BitSet(new long[]{0x0000000000000002L});
3213
    public static final BitSet FOLLOW_rule__TransitionRule__Group_0__0_in_rule__TransitionRule__Group__0__Impl944 = new BitSet(new long[]{0x0000000000000002L});
3308
    public static final BitSet FOLLOW_rule__TransitionRule__Group_0__0_in_rule__TransitionRule__Group__0__Impl944 = new BitSet(new long[]{0x0000000000000002L});
3214
    public static final BitSet FOLLOW_rule__TransitionRule__Group__1__Impl_in_rule__TransitionRule__Group__1975 = new BitSet(new long[]{0x0000000000100002L});
3309
    public static final BitSet FOLLOW_rule__TransitionRule__Group__1__Impl_in_rule__TransitionRule__Group__1975 = new BitSet(new long[]{0x0000000000140000L});
3215
    public static final BitSet FOLLOW_rule__TransitionRule__Group__2_in_rule__TransitionRule__Group__1978 = new BitSet(new long[]{0x0000000000000002L});
3310
    public static final BitSet FOLLOW_rule__TransitionRule__Group__2_in_rule__TransitionRule__Group__1978 = new BitSet(new long[]{0x0000000000000002L});
3216
    public static final BitSet FOLLOW_rule__TransitionRule__GuardAssignment_1_in_rule__TransitionRule__Group__1__Impl1005 = new BitSet(new long[]{0x0000000000000002L});
3311
    public static final BitSet FOLLOW_rule__TransitionRule__GuardAssignment_1_in_rule__TransitionRule__Group__1__Impl1005 = new BitSet(new long[]{0x0000000000000002L});
3217
    public static final BitSet FOLLOW_rule__TransitionRule__Group__2__Impl_in_rule__TransitionRule__Group__21036 = new BitSet(new long[]{0x0000000000000002L});
3312
    public static final BitSet FOLLOW_rule__TransitionRule__Group__2__Impl_in_rule__TransitionRule__Group__21036 = new BitSet(new long[]{0x0000000000000002L});
3218
    public static final BitSet FOLLOW_rule__TransitionRule__EffectAssignment_2_in_rule__TransitionRule__Group__2__Impl1063 = new BitSet(new long[]{0x0000000000000002L});
3313
    public static final BitSet FOLLOW_rule__TransitionRule__EffectAssignment_2_in_rule__TransitionRule__Group__2__Impl1063 = new BitSet(new long[]{0x0000000000000002L});
3219
    public static final BitSet FOLLOW_rule__TransitionRule__Group_0__0__Impl_in_rule__TransitionRule__Group_0__01100 = new BitSet(new long[]{0x0000000000004002L});
3314
    public static final BitSet FOLLOW_rule__TransitionRule__Group_0__0__Impl_in_rule__TransitionRule__Group_0__01100 = new BitSet(new long[]{0x0000000000004000L});
3220
    public static final BitSet FOLLOW_rule__TransitionRule__Group_0__1_in_rule__TransitionRule__Group_0__01103 = new BitSet(new long[]{0x0000000000000002L});
3315
    public static final BitSet FOLLOW_rule__TransitionRule__Group_0__1_in_rule__TransitionRule__Group_0__01103 = new BitSet(new long[]{0x0000000000000002L});
3221
    public static final BitSet FOLLOW_rule__TransitionRule__TriggersAssignment_0_0_in_rule__TransitionRule__Group_0__0__Impl1130 = new BitSet(new long[]{0x0000000000000002L});
3316
    public static final BitSet FOLLOW_rule__TransitionRule__TriggersAssignment_0_0_in_rule__TransitionRule__Group_0__0__Impl1130 = new BitSet(new long[]{0x0000000000000002L});
3222
    public static final BitSet FOLLOW_rule__TransitionRule__Group_0__1__Impl_in_rule__TransitionRule__Group_0__11160 = new BitSet(new long[]{0x0000000000000002L});
3317
    public static final BitSet FOLLOW_rule__TransitionRule__Group_0__1__Impl_in_rule__TransitionRule__Group_0__11160 = new BitSet(new long[]{0x0000000000000002L});
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransitionLexer.java (-570 / +443 lines)
Lines 13-252 Link Here
13
@SuppressWarnings("all")
13
@SuppressWarnings("all")
14
public class InternalUmlTransitionLexer extends Lexer {
14
public class InternalUmlTransitionLexer extends Lexer {
15
    public static final int RULE_ID=4;
15
    public static final int RULE_ID=4;
16
    public static final int T__21=21;
16
    public static final int RULE_ANY_OTHER=10;
17
    public static final int RULE_ANY_OTHER=10;
17
    public static final int Tokens=22;
18
    public static final int T__20=20;
18
    public static final int EOF=-1;
19
    public static final int EOF=-1;
19
    public static final int RULE_SL_COMMENT=8;
20
    public static final int RULE_SL_COMMENT=8;
20
    public static final int T21=21;
21
    public static final int T20=20;
22
    public static final int RULE_ML_COMMENT=7;
21
    public static final int RULE_ML_COMMENT=7;
22
    public static final int T__19=19;
23
    public static final int RULE_STRING=5;
23
    public static final int RULE_STRING=5;
24
    public static final int T__16=16;
25
    public static final int T__15=15;
26
    public static final int T__18=18;
27
    public static final int T__17=17;
28
    public static final int T__12=12;
29
    public static final int T__11=11;
30
    public static final int T__14=14;
31
    public static final int T__13=13;
24
    public static final int RULE_INT=6;
32
    public static final int RULE_INT=6;
25
    public static final int T11=11;
26
    public static final int T12=12;
27
    public static final int T13=13;
28
    public static final int T14=14;
29
    public static final int RULE_WS=9;
33
    public static final int RULE_WS=9;
30
    public static final int T15=15;
34
31
    public static final int T16=16;
35
    // delegates
32
    public static final int T17=17;
36
    // delegators
33
    public static final int T18=18;
37
34
    public static final int T19=19;
35
    public InternalUmlTransitionLexer() {;} 
38
    public InternalUmlTransitionLexer() {;} 
36
    public InternalUmlTransitionLexer(CharStream input) {
39
    public InternalUmlTransitionLexer(CharStream input) {
37
        super(input);
40
        this(input, new RecognizerSharedState());
41
    }
42
    public InternalUmlTransitionLexer(CharStream input, RecognizerSharedState state) {
43
        super(input,state);
44
38
    }
45
    }
39
    public String getGrammarFileName() { return "../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g"; }
46
    public String getGrammarFileName() { return "../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g"; }
40
47
41
    // $ANTLR start T11
48
    // $ANTLR start "T__11"
42
    public final void mT11() throws RecognitionException {
49
    public final void mT__11() throws RecognitionException {
43
        try {
50
        try {
44
            int _type = T11;
51
            int _type = T__11;
45
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:10:5: ( 'Activity' )
52
            int _channel = DEFAULT_TOKEN_CHANNEL;
46
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:10:7: 'Activity'
53
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:11:7: ( 'Activity' )
54
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:11:9: 'Activity'
47
            {
55
            {
48
            match("Activity"); 
56
            match("Activity"); 
49
57
50
58
51
            }
59
            }
52
60
53
            this.type = _type;
61
            state.type = _type;
62
            state.channel = _channel;
54
        }
63
        }
55
        finally {
64
        finally {
56
        }
65
        }
57
    }
66
    }
58
    // $ANTLR end T11
67
    // $ANTLR end "T__11"
59
68
60
    // $ANTLR start T12
69
    // $ANTLR start "T__12"
61
    public final void mT12() throws RecognitionException {
70
    public final void mT__12() throws RecognitionException {
62
        try {
71
        try {
63
            int _type = T12;
72
            int _type = T__12;
64
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:11:5: ( 'StateMachine' )
73
            int _channel = DEFAULT_TOKEN_CHANNEL;
65
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:11:7: 'StateMachine'
74
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:12:7: ( 'StateMachine' )
75
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:12:9: 'StateMachine'
66
            {
76
            {
67
            match("StateMachine"); 
77
            match("StateMachine"); 
68
78
69
79
70
            }
80
            }
71
81
72
            this.type = _type;
82
            state.type = _type;
83
            state.channel = _channel;
73
        }
84
        }
74
        finally {
85
        finally {
75
        }
86
        }
76
    }
87
    }
77
    // $ANTLR end T12
88
    // $ANTLR end "T__12"
78
89
79
    // $ANTLR start T13
90
    // $ANTLR start "T__13"
80
    public final void mT13() throws RecognitionException {
91
    public final void mT__13() throws RecognitionException {
81
        try {
92
        try {
82
            int _type = T13;
93
            int _type = T__13;
83
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:12:5: ( 'OpaqueBehavior' )
94
            int _channel = DEFAULT_TOKEN_CHANNEL;
84
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:12:7: 'OpaqueBehavior'
95
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:13:7: ( 'OpaqueBehavior' )
96
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:13:9: 'OpaqueBehavior'
85
            {
97
            {
86
            match("OpaqueBehavior"); 
98
            match("OpaqueBehavior"); 
87
99
88
100
89
            }
101
            }
90
102
91
            this.type = _type;
103
            state.type = _type;
104
            state.channel = _channel;
92
        }
105
        }
93
        finally {
106
        finally {
94
        }
107
        }
95
    }
108
    }
96
    // $ANTLR end T13
109
    // $ANTLR end "T__13"
97
110
98
    // $ANTLR start T14
111
    // $ANTLR start "T__14"
99
    public final void mT14() throws RecognitionException {
112
    public final void mT__14() throws RecognitionException {
100
        try {
113
        try {
101
            int _type = T14;
114
            int _type = T__14;
102
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:13:5: ( ',' )
115
            int _channel = DEFAULT_TOKEN_CHANNEL;
103
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:13:7: ','
116
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:14:7: ( ',' )
117
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:14:9: ','
104
            {
118
            {
105
            match(','); 
119
            match(','); 
106
120
107
            }
121
            }
108
122
109
            this.type = _type;
123
            state.type = _type;
124
            state.channel = _channel;
110
        }
125
        }
111
        finally {
126
        finally {
112
        }
127
        }
113
    }
128
    }
114
    // $ANTLR end T14
129
    // $ANTLR end "T__14"
115
130
116
    // $ANTLR start T15
131
    // $ANTLR start "T__15"
117
    public final void mT15() throws RecognitionException {
132
    public final void mT__15() throws RecognitionException {
118
        try {
133
        try {
119
            int _type = T15;
134
            int _type = T__15;
120
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:14:5: ( 'after' )
135
            int _channel = DEFAULT_TOKEN_CHANNEL;
121
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:14:7: 'after'
136
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:15:7: ( 'after' )
137
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:15:9: 'after'
122
            {
138
            {
123
            match("after"); 
139
            match("after"); 
124
140
125
141
126
            }
142
            }
127
143
128
            this.type = _type;
144
            state.type = _type;
145
            state.channel = _channel;
129
        }
146
        }
130
        finally {
147
        finally {
131
        }
148
        }
132
    }
149
    }
133
    // $ANTLR end T15
150
    // $ANTLR end "T__15"
134
151
135
    // $ANTLR start T16
152
    // $ANTLR start "T__16"
136
    public final void mT16() throws RecognitionException {
153
    public final void mT__16() throws RecognitionException {
137
        try {
154
        try {
138
            int _type = T16;
155
            int _type = T__16;
139
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:15:5: ( 'at' )
156
            int _channel = DEFAULT_TOKEN_CHANNEL;
140
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:15:7: 'at'
157
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:16:7: ( 'at' )
158
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:16:9: 'at'
141
            {
159
            {
142
            match("at"); 
160
            match("at"); 
143
161
144
162
145
            }
163
            }
146
164
147
            this.type = _type;
165
            state.type = _type;
166
            state.channel = _channel;
148
        }
167
        }
149
        finally {
168
        finally {
150
        }
169
        }
151
    }
170
    }
152
    // $ANTLR end T16
171
    // $ANTLR end "T__16"
153
172
154
    // $ANTLR start T17
173
    // $ANTLR start "T__17"
155
    public final void mT17() throws RecognitionException {
174
    public final void mT__17() throws RecognitionException {
156
        try {
175
        try {
157
            int _type = T17;
176
            int _type = T__17;
158
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:16:5: ( 'when' )
177
            int _channel = DEFAULT_TOKEN_CHANNEL;
159
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:16:7: 'when'
178
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:17:7: ( 'when' )
179
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:17:9: 'when'
160
            {
180
            {
161
            match("when"); 
181
            match("when"); 
162
182
163
183
164
            }
184
            }
165
185
166
            this.type = _type;
186
            state.type = _type;
187
            state.channel = _channel;
167
        }
188
        }
168
        finally {
189
        finally {
169
        }
190
        }
170
    }
191
    }
171
    // $ANTLR end T17
192
    // $ANTLR end "T__17"
172
193
173
    // $ANTLR start T18
194
    // $ANTLR start "T__18"
174
    public final void mT18() throws RecognitionException {
195
    public final void mT__18() throws RecognitionException {
175
        try {
196
        try {
176
            int _type = T18;
197
            int _type = T__18;
177
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:17:5: ( '[' )
198
            int _channel = DEFAULT_TOKEN_CHANNEL;
178
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:17:7: '['
199
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:18:7: ( '[' )
200
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:18:9: '['
179
            {
201
            {
180
            match('['); 
202
            match('['); 
181
203
182
            }
204
            }
183
205
184
            this.type = _type;
206
            state.type = _type;
207
            state.channel = _channel;
185
        }
208
        }
186
        finally {
209
        finally {
187
        }
210
        }
188
    }
211
    }
189
    // $ANTLR end T18
212
    // $ANTLR end "T__18"
190
213
191
    // $ANTLR start T19
214
    // $ANTLR start "T__19"
192
    public final void mT19() throws RecognitionException {
215
    public final void mT__19() throws RecognitionException {
193
        try {
216
        try {
194
            int _type = T19;
217
            int _type = T__19;
195
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:18:5: ( ']' )
218
            int _channel = DEFAULT_TOKEN_CHANNEL;
196
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:18:7: ']'
219
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:19:7: ( ']' )
220
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:19:9: ']'
197
            {
221
            {
198
            match(']'); 
222
            match(']'); 
199
223
200
            }
224
            }
201
225
202
            this.type = _type;
226
            state.type = _type;
227
            state.channel = _channel;
203
        }
228
        }
204
        finally {
229
        finally {
205
        }
230
        }
206
    }
231
    }
207
    // $ANTLR end T19
232
    // $ANTLR end "T__19"
208
233
209
    // $ANTLR start T20
234
    // $ANTLR start "T__20"
210
    public final void mT20() throws RecognitionException {
235
    public final void mT__20() throws RecognitionException {
211
        try {
236
        try {
212
            int _type = T20;
237
            int _type = T__20;
213
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:19:5: ( '/' )
238
            int _channel = DEFAULT_TOKEN_CHANNEL;
214
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:19:7: '/'
239
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:20:7: ( '/' )
240
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:20:9: '/'
215
            {
241
            {
216
            match('/'); 
242
            match('/'); 
217
243
218
            }
244
            }
219
245
220
            this.type = _type;
246
            state.type = _type;
247
            state.channel = _channel;
221
        }
248
        }
222
        finally {
249
        finally {
223
        }
250
        }
224
    }
251
    }
225
    // $ANTLR end T20
252
    // $ANTLR end "T__20"
226
253
227
    // $ANTLR start T21
254
    // $ANTLR start "T__21"
228
    public final void mT21() throws RecognitionException {
255
    public final void mT__21() throws RecognitionException {
229
        try {
256
        try {
230
            int _type = T21;
257
            int _type = T__21;
231
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:20:5: ( 'all' )
258
            int _channel = DEFAULT_TOKEN_CHANNEL;
232
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:20:7: 'all'
259
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:21:7: ( 'all' )
260
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:21:9: 'all'
233
            {
261
            {
234
            match("all"); 
262
            match("all"); 
235
263
236
264
237
            }
265
            }
238
266
239
            this.type = _type;
267
            state.type = _type;
268
            state.channel = _channel;
240
        }
269
        }
241
        finally {
270
        finally {
242
        }
271
        }
243
    }
272
    }
244
    // $ANTLR end T21
273
    // $ANTLR end "T__21"
245
274
246
    // $ANTLR start RULE_ID
275
    // $ANTLR start "RULE_ID"
247
    public final void mRULE_ID() throws RecognitionException {
276
    public final void mRULE_ID() throws RecognitionException {
248
        try {
277
        try {
249
            int _type = RULE_ID;
278
            int _type = RULE_ID;
279
            int _channel = DEFAULT_TOKEN_CHANNEL;
250
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1238:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
280
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1238:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
251
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1238:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
281
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1238:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
252
            {
282
            {
Lines 273-282 Link Here
273
303
274
            }
304
            }
275
            else {
305
            else {
276
                MismatchedSetException mse =
306
                MismatchedSetException mse = new MismatchedSetException(null,input);
277
                    new MismatchedSetException(null,input);
307
                recover(mse);
278
                recover(mse);    throw mse;
308
                throw mse;}
279
            }
280
309
281
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1238:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
310
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1238:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
282
            loop2:
311
            loop2:
Lines 298-307 Link Here
298
327
299
            	    }
328
            	    }
300
            	    else {
329
            	    else {
301
            	        MismatchedSetException mse =
330
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
302
            	            new MismatchedSetException(null,input);
331
            	        recover(mse);
303
            	        recover(mse);    throw mse;
332
            	        throw mse;}
304
            	    }
305
333
306
334
307
            	    }
335
            	    }
Lines 315-331 Link Here
315
343
316
            }
344
            }
317
345
318
            this.type = _type;
346
            state.type = _type;
347
            state.channel = _channel;
319
        }
348
        }
320
        finally {
349
        finally {
321
        }
350
        }
322
    }
351
    }
323
    // $ANTLR end RULE_ID
352
    // $ANTLR end "RULE_ID"
324
353
325
    // $ANTLR start RULE_INT
354
    // $ANTLR start "RULE_INT"
326
    public final void mRULE_INT() throws RecognitionException {
355
    public final void mRULE_INT() throws RecognitionException {
327
        try {
356
        try {
328
            int _type = RULE_INT;
357
            int _type = RULE_INT;
358
            int _channel = DEFAULT_TOKEN_CHANNEL;
329
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1240:10: ( ( '0' .. '9' )+ )
359
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1240:10: ( ( '0' .. '9' )+ )
330
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1240:12: ( '0' .. '9' )+
360
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1240:12: ( '0' .. '9' )+
331
            {
361
            {
Lines 362-382 Link Here
362
392
363
            }
393
            }
364
394
365
            this.type = _type;
395
            state.type = _type;
396
            state.channel = _channel;
366
        }
397
        }
367
        finally {
398
        finally {
368
        }
399
        }
369
    }
400
    }
370
    // $ANTLR end RULE_INT
401
    // $ANTLR end "RULE_INT"
371
402
372
    // $ANTLR start RULE_STRING
403
    // $ANTLR start "RULE_STRING"
373
    public final void mRULE_STRING() throws RecognitionException {
404
    public final void mRULE_STRING() throws RecognitionException {
374
        try {
405
        try {
375
            int _type = RULE_STRING;
406
            int _type = RULE_STRING;
376
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
407
            int _channel = DEFAULT_TOKEN_CHANNEL;
377
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
408
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
409
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
378
            {
410
            {
379
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
411
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
380
            int alt6=2;
412
            int alt6=2;
381
            int LA6_0 = input.LA(1);
413
            int LA6_0 = input.LA(1);
382
414
Lines 388-403 Link Here
388
            }
420
            }
389
            else {
421
            else {
390
                NoViableAltException nvae =
422
                NoViableAltException nvae =
391
                    new NoViableAltException("1242:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 6, 0, input);
423
                    new NoViableAltException("", 6, 0, input);
392
424
393
                throw nvae;
425
                throw nvae;
394
            }
426
            }
395
            switch (alt6) {
427
            switch (alt6) {
396
                case 1 :
428
                case 1 :
397
                    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
429
                    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
398
                    {
430
                    {
399
                    match('\"'); 
431
                    match('\"'); 
400
                    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
432
                    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
401
                    loop4:
433
                    loop4:
402
                    do {
434
                    do {
403
                        int alt4=3;
435
                        int alt4=3;
Lines 406-446 Link Here
406
                        if ( (LA4_0=='\\') ) {
438
                        if ( (LA4_0=='\\') ) {
407
                            alt4=1;
439
                            alt4=1;
408
                        }
440
                        }
409
                        else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFE')) ) {
441
                        else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) {
410
                            alt4=2;
442
                            alt4=2;
411
                        }
443
                        }
412
444
413
445
414
                        switch (alt4) {
446
                        switch (alt4) {
415
                    	case 1 :
447
                    	case 1 :
416
                    	    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
448
                    	    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
417
                    	    {
449
                    	    {
418
                    	    match('\\'); 
450
                    	    match('\\'); 
419
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
451
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
420
                    	        input.consume();
452
                    	        input.consume();
421
453
422
                    	    }
454
                    	    }
423
                    	    else {
455
                    	    else {
424
                    	        MismatchedSetException mse =
456
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
425
                    	            new MismatchedSetException(null,input);
457
                    	        recover(mse);
426
                    	        recover(mse);    throw mse;
458
                    	        throw mse;}
427
                    	    }
428
459
429
460
430
                    	    }
461
                    	    }
431
                    	    break;
462
                    	    break;
432
                    	case 2 :
463
                    	case 2 :
433
                    	    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:62: ~ ( ( '\\\\' | '\"' ) )
464
                    	    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:66: ~ ( ( '\\\\' | '\"' ) )
434
                    	    {
465
                    	    {
435
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
466
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
436
                    	        input.consume();
467
                    	        input.consume();
437
468
438
                    	    }
469
                    	    }
439
                    	    else {
470
                    	    else {
440
                    	        MismatchedSetException mse =
471
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
441
                    	            new MismatchedSetException(null,input);
472
                    	        recover(mse);
442
                    	        recover(mse);    throw mse;
473
                    	        throw mse;}
443
                    	    }
444
474
445
475
446
                    	    }
476
                    	    }
Lines 456-465 Link Here
456
                    }
486
                    }
457
                    break;
487
                    break;
458
                case 2 :
488
                case 2 :
459
                    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
489
                    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
460
                    {
490
                    {
461
                    match('\''); 
491
                    match('\''); 
462
                    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
492
                    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
463
                    loop5:
493
                    loop5:
464
                    do {
494
                    do {
465
                        int alt5=3;
495
                        int alt5=3;
Lines 468-508 Link Here
468
                        if ( (LA5_0=='\\') ) {
498
                        if ( (LA5_0=='\\') ) {
469
                            alt5=1;
499
                            alt5=1;
470
                        }
500
                        }
471
                        else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFE')) ) {
501
                        else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) {
472
                            alt5=2;
502
                            alt5=2;
473
                        }
503
                        }
474
504
475
505
476
                        switch (alt5) {
506
                        switch (alt5) {
477
                    	case 1 :
507
                    	case 1 :
478
                    	    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
508
                    	    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
479
                    	    {
509
                    	    {
480
                    	    match('\\'); 
510
                    	    match('\\'); 
481
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
511
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
482
                    	        input.consume();
512
                    	        input.consume();
483
513
484
                    	    }
514
                    	    }
485
                    	    else {
515
                    	    else {
486
                    	        MismatchedSetException mse =
516
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
487
                    	            new MismatchedSetException(null,input);
517
                    	        recover(mse);
488
                    	        recover(mse);    throw mse;
518
                    	        throw mse;}
489
                    	    }
490
519
491
520
492
                    	    }
521
                    	    }
493
                    	    break;
522
                    	    break;
494
                    	case 2 :
523
                    	case 2 :
495
                    	    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:129: ~ ( ( '\\\\' | '\\'' ) )
524
                    	    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1242:137: ~ ( ( '\\\\' | '\\'' ) )
496
                    	    {
525
                    	    {
497
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
526
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
498
                    	        input.consume();
527
                    	        input.consume();
499
528
500
                    	    }
529
                    	    }
501
                    	    else {
530
                    	    else {
502
                    	        MismatchedSetException mse =
531
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
503
                    	            new MismatchedSetException(null,input);
532
                    	        recover(mse);
504
                    	        recover(mse);    throw mse;
533
                    	        throw mse;}
505
                    	    }
506
534
507
535
508
                    	    }
536
                    	    }
Lines 523-539 Link Here
523
551
524
            }
552
            }
525
553
526
            this.type = _type;
554
            state.type = _type;
555
            state.channel = _channel;
527
        }
556
        }
528
        finally {
557
        finally {
529
        }
558
        }
530
    }
559
    }
531
    // $ANTLR end RULE_STRING
560
    // $ANTLR end "RULE_STRING"
532
561
533
    // $ANTLR start RULE_ML_COMMENT
562
    // $ANTLR start "RULE_ML_COMMENT"
534
    public final void mRULE_ML_COMMENT() throws RecognitionException {
563
    public final void mRULE_ML_COMMENT() throws RecognitionException {
535
        try {
564
        try {
536
            int _type = RULE_ML_COMMENT;
565
            int _type = RULE_ML_COMMENT;
566
            int _channel = DEFAULT_TOKEN_CHANNEL;
537
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1244:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
567
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1244:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
538
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1244:19: '/*' ( options {greedy=false; } : . )* '*/'
568
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1244:19: '/*' ( options {greedy=false; } : . )* '*/'
539
            {
569
            {
Lines 551-563 Link Here
551
                    if ( (LA7_1=='/') ) {
581
                    if ( (LA7_1=='/') ) {
552
                        alt7=2;
582
                        alt7=2;
553
                    }
583
                    }
554
                    else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFE')) ) {
584
                    else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) {
555
                        alt7=1;
585
                        alt7=1;
556
                    }
586
                    }
557
587
558
588
559
                }
589
                }
560
                else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFE')) ) {
590
                else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) {
561
                    alt7=1;
591
                    alt7=1;
562
                }
592
                }
563
593
Lines 581-597 Link Here
581
611
582
            }
612
            }
583
613
584
            this.type = _type;
614
            state.type = _type;
615
            state.channel = _channel;
585
        }
616
        }
586
        finally {
617
        finally {
587
        }
618
        }
588
    }
619
    }
589
    // $ANTLR end RULE_ML_COMMENT
620
    // $ANTLR end "RULE_ML_COMMENT"
590
621
591
    // $ANTLR start RULE_SL_COMMENT
622
    // $ANTLR start "RULE_SL_COMMENT"
592
    public final void mRULE_SL_COMMENT() throws RecognitionException {
623
    public final void mRULE_SL_COMMENT() throws RecognitionException {
593
        try {
624
        try {
594
            int _type = RULE_SL_COMMENT;
625
            int _type = RULE_SL_COMMENT;
626
            int _channel = DEFAULT_TOKEN_CHANNEL;
595
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1246:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
627
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1246:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
596
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1246:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
628
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1246:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
597
            {
629
            {
Lines 603-609 Link Here
603
                int alt8=2;
635
                int alt8=2;
604
                int LA8_0 = input.LA(1);
636
                int LA8_0 = input.LA(1);
605
637
606
                if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFE')) ) {
638
                if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) {
607
                    alt8=1;
639
                    alt8=1;
608
                }
640
                }
609
641
Lines 612-626 Link Here
612
            	case 1 :
644
            	case 1 :
613
            	    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1246:24: ~ ( ( '\\n' | '\\r' ) )
645
            	    // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1246:24: ~ ( ( '\\n' | '\\r' ) )
614
            	    {
646
            	    {
615
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFE') ) {
647
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
616
            	        input.consume();
648
            	        input.consume();
617
649
618
            	    }
650
            	    }
619
            	    else {
651
            	    else {
620
            	        MismatchedSetException mse =
652
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
621
            	            new MismatchedSetException(null,input);
653
            	        recover(mse);
622
            	        recover(mse);    throw mse;
654
            	        throw mse;}
623
            	    }
624
655
625
656
626
            	    }
657
            	    }
Lines 670-686 Link Here
670
701
671
            }
702
            }
672
703
673
            this.type = _type;
704
            state.type = _type;
705
            state.channel = _channel;
674
        }
706
        }
675
        finally {
707
        finally {
676
        }
708
        }
677
    }
709
    }
678
    // $ANTLR end RULE_SL_COMMENT
710
    // $ANTLR end "RULE_SL_COMMENT"
679
711
680
    // $ANTLR start RULE_WS
712
    // $ANTLR start "RULE_WS"
681
    public final void mRULE_WS() throws RecognitionException {
713
    public final void mRULE_WS() throws RecognitionException {
682
        try {
714
        try {
683
            int _type = RULE_WS;
715
            int _type = RULE_WS;
716
            int _channel = DEFAULT_TOKEN_CHANNEL;
684
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1248:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
717
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1248:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
685
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1248:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
718
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1248:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
686
            {
719
            {
Lines 705-714 Link Here
705
738
706
            	    }
739
            	    }
707
            	    else {
740
            	    else {
708
            	        MismatchedSetException mse =
741
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
709
            	            new MismatchedSetException(null,input);
742
            	        recover(mse);
710
            	        recover(mse);    throw mse;
743
            	        throw mse;}
711
            	    }
712
744
713
745
714
            	    }
746
            	    }
Lines 726-742 Link Here
726
758
727
            }
759
            }
728
760
729
            this.type = _type;
761
            state.type = _type;
762
            state.channel = _channel;
730
        }
763
        }
731
        finally {
764
        finally {
732
        }
765
        }
733
    }
766
    }
734
    // $ANTLR end RULE_WS
767
    // $ANTLR end "RULE_WS"
735
768
736
    // $ANTLR start RULE_ANY_OTHER
769
    // $ANTLR start "RULE_ANY_OTHER"
737
    public final void mRULE_ANY_OTHER() throws RecognitionException {
770
    public final void mRULE_ANY_OTHER() throws RecognitionException {
738
        try {
771
        try {
739
            int _type = RULE_ANY_OTHER;
772
            int _type = RULE_ANY_OTHER;
773
            int _channel = DEFAULT_TOKEN_CHANNEL;
740
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1250:16: ( . )
774
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1250:16: ( . )
741
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1250:18: .
775
            // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1250:18: .
742
            {
776
            {
Lines 744-1256 Link Here
744
778
745
            }
779
            }
746
780
747
            this.type = _type;
781
            state.type = _type;
782
            state.channel = _channel;
748
        }
783
        }
749
        finally {
784
        finally {
750
        }
785
        }
751
    }
786
    }
752
    // $ANTLR end RULE_ANY_OTHER
787
    // $ANTLR end "RULE_ANY_OTHER"
753
788
754
    public void mTokens() throws RecognitionException {
789
    public void mTokens() throws RecognitionException {
755
        // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:8: ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
790
        // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
756
        int alt12=18;
791
        int alt12=18;
757
        int LA12_0 = input.LA(1);
792
        alt12 = dfa12.predict(input);
758
759
        if ( (LA12_0=='A') ) {
760
            int LA12_1 = input.LA(2);
761
762
            if ( (LA12_1=='c') ) {
763
                int LA12_17 = input.LA(3);
764
765
                if ( (LA12_17=='t') ) {
766
                    int LA12_34 = input.LA(4);
767
768
                    if ( (LA12_34=='i') ) {
769
                        int LA12_41 = input.LA(5);
770
771
                        if ( (LA12_41=='v') ) {
772
                            int LA12_47 = input.LA(6);
773
774
                            if ( (LA12_47=='i') ) {
775
                                int LA12_52 = input.LA(7);
776
777
                                if ( (LA12_52=='t') ) {
778
                                    int LA12_56 = input.LA(8);
779
780
                                    if ( (LA12_56=='y') ) {
781
                                        int LA12_59 = input.LA(9);
782
783
                                        if ( ((LA12_59>='0' && LA12_59<='9')||(LA12_59>='A' && LA12_59<='Z')||LA12_59=='_'||(LA12_59>='a' && LA12_59<='z')) ) {
784
                                            alt12=12;
785
                                        }
786
                                        else {
787
                                            alt12=1;}
788
                                    }
789
                                    else {
790
                                        alt12=12;}
791
                                }
792
                                else {
793
                                    alt12=12;}
794
                            }
795
                            else {
796
                                alt12=12;}
797
                        }
798
                        else {
799
                            alt12=12;}
800
                    }
801
                    else {
802
                        alt12=12;}
803
                }
804
                else {
805
                    alt12=12;}
806
            }
807
            else {
808
                alt12=12;}
809
        }
810
        else if ( (LA12_0=='S') ) {
811
            int LA12_2 = input.LA(2);
812
813
            if ( (LA12_2=='t') ) {
814
                int LA12_19 = input.LA(3);
815
816
                if ( (LA12_19=='a') ) {
817
                    int LA12_35 = input.LA(4);
818
819
                    if ( (LA12_35=='t') ) {
820
                        int LA12_42 = input.LA(5);
821
822
                        if ( (LA12_42=='e') ) {
823
                            int LA12_48 = input.LA(6);
824
825
                            if ( (LA12_48=='M') ) {
826
                                int LA12_53 = input.LA(7);
827
828
                                if ( (LA12_53=='a') ) {
829
                                    int LA12_57 = input.LA(8);
830
831
                                    if ( (LA12_57=='c') ) {
832
                                        int LA12_60 = input.LA(9);
833
834
                                        if ( (LA12_60=='h') ) {
835
                                            int LA12_63 = input.LA(10);
836
837
                                            if ( (LA12_63=='i') ) {
838
                                                int LA12_65 = input.LA(11);
839
840
                                                if ( (LA12_65=='n') ) {
841
                                                    int LA12_67 = input.LA(12);
842
843
                                                    if ( (LA12_67=='e') ) {
844
                                                        int LA12_69 = input.LA(13);
845
846
                                                        if ( ((LA12_69>='0' && LA12_69<='9')||(LA12_69>='A' && LA12_69<='Z')||LA12_69=='_'||(LA12_69>='a' && LA12_69<='z')) ) {
847
                                                            alt12=12;
848
                                                        }
849
                                                        else {
850
                                                            alt12=2;}
851
                                                    }
852
                                                    else {
853
                                                        alt12=12;}
854
                                                }
855
                                                else {
856
                                                    alt12=12;}
857
                                            }
858
                                            else {
859
                                                alt12=12;}
860
                                        }
861
                                        else {
862
                                            alt12=12;}
863
                                    }
864
                                    else {
865
                                        alt12=12;}
866
                                }
867
                                else {
868
                                    alt12=12;}
869
                            }
870
                            else {
871
                                alt12=12;}
872
                        }
873
                        else {
874
                            alt12=12;}
875
                    }
876
                    else {
877
                        alt12=12;}
878
                }
879
                else {
880
                    alt12=12;}
881
            }
882
            else {
883
                alt12=12;}
884
        }
885
        else if ( (LA12_0=='O') ) {
886
            int LA12_3 = input.LA(2);
887
888
            if ( (LA12_3=='p') ) {
889
                int LA12_20 = input.LA(3);
890
891
                if ( (LA12_20=='a') ) {
892
                    int LA12_36 = input.LA(4);
893
894
                    if ( (LA12_36=='q') ) {
895
                        int LA12_43 = input.LA(5);
896
897
                        if ( (LA12_43=='u') ) {
898
                            int LA12_49 = input.LA(6);
899
900
                            if ( (LA12_49=='e') ) {
901
                                int LA12_54 = input.LA(7);
902
903
                                if ( (LA12_54=='B') ) {
904
                                    int LA12_58 = input.LA(8);
905
906
                                    if ( (LA12_58=='e') ) {
907
                                        int LA12_61 = input.LA(9);
908
909
                                        if ( (LA12_61=='h') ) {
910
                                            int LA12_64 = input.LA(10);
911
912
                                            if ( (LA12_64=='a') ) {
913
                                                int LA12_66 = input.LA(11);
914
915
                                                if ( (LA12_66=='v') ) {
916
                                                    int LA12_68 = input.LA(12);
917
918
                                                    if ( (LA12_68=='i') ) {
919
                                                        int LA12_70 = input.LA(13);
920
921
                                                        if ( (LA12_70=='o') ) {
922
                                                            int LA12_72 = input.LA(14);
923
924
                                                            if ( (LA12_72=='r') ) {
925
                                                                int LA12_73 = input.LA(15);
926
927
                                                                if ( ((LA12_73>='0' && LA12_73<='9')||(LA12_73>='A' && LA12_73<='Z')||LA12_73=='_'||(LA12_73>='a' && LA12_73<='z')) ) {
928
                                                                    alt12=12;
929
                                                                }
930
                                                                else {
931
                                                                    alt12=3;}
932
                                                            }
933
                                                            else {
934
                                                                alt12=12;}
935
                                                        }
936
                                                        else {
937
                                                            alt12=12;}
938
                                                    }
939
                                                    else {
940
                                                        alt12=12;}
941
                                                }
942
                                                else {
943
                                                    alt12=12;}
944
                                            }
945
                                            else {
946
                                                alt12=12;}
947
                                        }
948
                                        else {
949
                                            alt12=12;}
950
                                    }
951
                                    else {
952
                                        alt12=12;}
953
                                }
954
                                else {
955
                                    alt12=12;}
956
                            }
957
                            else {
958
                                alt12=12;}
959
                        }
960
                        else {
961
                            alt12=12;}
962
                    }
963
                    else {
964
                        alt12=12;}
965
                }
966
                else {
967
                    alt12=12;}
968
            }
969
            else {
970
                alt12=12;}
971
        }
972
        else if ( (LA12_0==',') ) {
973
            alt12=4;
974
        }
975
        else if ( (LA12_0=='a') ) {
976
            switch ( input.LA(2) ) {
977
            case 'f':
978
                {
979
                int LA12_22 = input.LA(3);
980
981
                if ( (LA12_22=='t') ) {
982
                    int LA12_37 = input.LA(4);
983
984
                    if ( (LA12_37=='e') ) {
985
                        int LA12_44 = input.LA(5);
986
987
                        if ( (LA12_44=='r') ) {
988
                            int LA12_50 = input.LA(6);
989
990
                            if ( ((LA12_50>='0' && LA12_50<='9')||(LA12_50>='A' && LA12_50<='Z')||LA12_50=='_'||(LA12_50>='a' && LA12_50<='z')) ) {
991
                                alt12=12;
992
                            }
993
                            else {
994
                                alt12=5;}
995
                        }
996
                        else {
997
                            alt12=12;}
998
                    }
999
                    else {
1000
                        alt12=12;}
1001
                }
1002
                else {
1003
                    alt12=12;}
1004
                }
1005
                break;
1006
            case 't':
1007
                {
1008
                int LA12_23 = input.LA(3);
1009
1010
                if ( ((LA12_23>='0' && LA12_23<='9')||(LA12_23>='A' && LA12_23<='Z')||LA12_23=='_'||(LA12_23>='a' && LA12_23<='z')) ) {
1011
                    alt12=12;
1012
                }
1013
                else {
1014
                    alt12=6;}
1015
                }
1016
                break;
1017
            case 'l':
1018
                {
1019
                int LA12_24 = input.LA(3);
1020
1021
                if ( (LA12_24=='l') ) {
1022
                    int LA12_39 = input.LA(4);
1023
1024
                    if ( ((LA12_39>='0' && LA12_39<='9')||(LA12_39>='A' && LA12_39<='Z')||LA12_39=='_'||(LA12_39>='a' && LA12_39<='z')) ) {
1025
                        alt12=12;
1026
                    }
1027
                    else {
1028
                        alt12=11;}
1029
                }
1030
                else {
1031
                    alt12=12;}
1032
                }
1033
                break;
1034
            default:
1035
                alt12=12;}
1036
1037
        }
1038
        else if ( (LA12_0=='w') ) {
1039
            int LA12_6 = input.LA(2);
1040
1041
            if ( (LA12_6=='h') ) {
1042
                int LA12_25 = input.LA(3);
1043
1044
                if ( (LA12_25=='e') ) {
1045
                    int LA12_40 = input.LA(4);
1046
1047
                    if ( (LA12_40=='n') ) {
1048
                        int LA12_46 = input.LA(5);
1049
1050
                        if ( ((LA12_46>='0' && LA12_46<='9')||(LA12_46>='A' && LA12_46<='Z')||LA12_46=='_'||(LA12_46>='a' && LA12_46<='z')) ) {
1051
                            alt12=12;
1052
                        }
1053
                        else {
1054
                            alt12=7;}
1055
                    }
1056
                    else {
1057
                        alt12=12;}
1058
                }
1059
                else {
1060
                    alt12=12;}
1061
            }
1062
            else {
1063
                alt12=12;}
1064
        }
1065
        else if ( (LA12_0=='[') ) {
1066
            alt12=8;
1067
        }
1068
        else if ( (LA12_0==']') ) {
1069
            alt12=9;
1070
        }
1071
        else if ( (LA12_0=='/') ) {
1072
            switch ( input.LA(2) ) {
1073
            case '*':
1074
                {
1075
                alt12=15;
1076
                }
1077
                break;
1078
            case '/':
1079
                {
1080
                alt12=16;
1081
                }
1082
                break;
1083
            default:
1084
                alt12=10;}
1085
1086
        }
1087
        else if ( (LA12_0=='^') ) {
1088
            int LA12_10 = input.LA(2);
1089
1090
            if ( ((LA12_10>='A' && LA12_10<='Z')||LA12_10=='_'||(LA12_10>='a' && LA12_10<='z')) ) {
1091
                alt12=12;
1092
            }
1093
            else {
1094
                alt12=18;}
1095
        }
1096
        else if ( ((LA12_0>='B' && LA12_0<='N')||(LA12_0>='P' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='b' && LA12_0<='v')||(LA12_0>='x' && LA12_0<='z')) ) {
1097
            alt12=12;
1098
        }
1099
        else if ( ((LA12_0>='0' && LA12_0<='9')) ) {
1100
            alt12=13;
1101
        }
1102
        else if ( (LA12_0=='\"') ) {
1103
            int LA12_13 = input.LA(2);
1104
1105
            if ( ((LA12_13>='\u0000' && LA12_13<='\uFFFE')) ) {
1106
                alt12=14;
1107
            }
1108
            else {
1109
                alt12=18;}
1110
        }
1111
        else if ( (LA12_0=='\'') ) {
1112
            int LA12_14 = input.LA(2);
1113
1114
            if ( ((LA12_14>='\u0000' && LA12_14<='\uFFFE')) ) {
1115
                alt12=14;
1116
            }
1117
            else {
1118
                alt12=18;}
1119
        }
1120
        else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {
1121
            alt12=17;
1122
        }
1123
        else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='+')||(LA12_0>='-' && LA12_0<='.')||(LA12_0>=':' && LA12_0<='@')||LA12_0=='\\'||LA12_0=='`'||(LA12_0>='{' && LA12_0<='\uFFFE')) ) {
1124
            alt12=18;
1125
        }
1126
        else {
1127
            NoViableAltException nvae =
1128
                new NoViableAltException("1:1: Tokens : ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );", 12, 0, input);
1129
1130
            throw nvae;
1131
        }
1132
        switch (alt12) {
793
        switch (alt12) {
1133
            case 1 :
794
            case 1 :
1134
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:10: T11
795
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:10: T__11
1135
                {
796
                {
1136
                mT11(); 
797
                mT__11(); 
1137
798
1138
                }
799
                }
1139
                break;
800
                break;
1140
            case 2 :
801
            case 2 :
1141
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:14: T12
802
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:16: T__12
1142
                {
803
                {
1143
                mT12(); 
804
                mT__12(); 
1144
805
1145
                }
806
                }
1146
                break;
807
                break;
1147
            case 3 :
808
            case 3 :
1148
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:18: T13
809
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:22: T__13
1149
                {
810
                {
1150
                mT13(); 
811
                mT__13(); 
1151
812
1152
                }
813
                }
1153
                break;
814
                break;
1154
            case 4 :
815
            case 4 :
1155
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:22: T14
816
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:28: T__14
1156
                {
817
                {
1157
                mT14(); 
818
                mT__14(); 
1158
819
1159
                }
820
                }
1160
                break;
821
                break;
1161
            case 5 :
822
            case 5 :
1162
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:26: T15
823
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:34: T__15
1163
                {
824
                {
1164
                mT15(); 
825
                mT__15(); 
1165
826
1166
                }
827
                }
1167
                break;
828
                break;
1168
            case 6 :
829
            case 6 :
1169
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:30: T16
830
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:40: T__16
1170
                {
831
                {
1171
                mT16(); 
832
                mT__16(); 
1172
833
1173
                }
834
                }
1174
                break;
835
                break;
1175
            case 7 :
836
            case 7 :
1176
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:34: T17
837
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:46: T__17
1177
                {
838
                {
1178
                mT17(); 
839
                mT__17(); 
1179
840
1180
                }
841
                }
1181
                break;
842
                break;
1182
            case 8 :
843
            case 8 :
1183
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:38: T18
844
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:52: T__18
1184
                {
845
                {
1185
                mT18(); 
846
                mT__18(); 
1186
847
1187
                }
848
                }
1188
                break;
849
                break;
1189
            case 9 :
850
            case 9 :
1190
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:42: T19
851
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:58: T__19
1191
                {
852
                {
1192
                mT19(); 
853
                mT__19(); 
1193
854
1194
                }
855
                }
1195
                break;
856
                break;
1196
            case 10 :
857
            case 10 :
1197
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:46: T20
858
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:64: T__20
1198
                {
859
                {
1199
                mT20(); 
860
                mT__20(); 
1200
861
1201
                }
862
                }
1202
                break;
863
                break;
1203
            case 11 :
864
            case 11 :
1204
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:50: T21
865
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:70: T__21
1205
                {
866
                {
1206
                mT21(); 
867
                mT__21(); 
1207
868
1208
                }
869
                }
1209
                break;
870
                break;
1210
            case 12 :
871
            case 12 :
1211
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:54: RULE_ID
872
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:76: RULE_ID
1212
                {
873
                {
1213
                mRULE_ID(); 
874
                mRULE_ID(); 
1214
875
1215
                }
876
                }
1216
                break;
877
                break;
1217
            case 13 :
878
            case 13 :
1218
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:62: RULE_INT
879
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:84: RULE_INT
1219
                {
880
                {
1220
                mRULE_INT(); 
881
                mRULE_INT(); 
1221
882
1222
                }
883
                }
1223
                break;
884
                break;
1224
            case 14 :
885
            case 14 :
1225
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:71: RULE_STRING
886
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:93: RULE_STRING
1226
                {
887
                {
1227
                mRULE_STRING(); 
888
                mRULE_STRING(); 
1228
889
1229
                }
890
                }
1230
                break;
891
                break;
1231
            case 15 :
892
            case 15 :
1232
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:83: RULE_ML_COMMENT
893
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:105: RULE_ML_COMMENT
1233
                {
894
                {
1234
                mRULE_ML_COMMENT(); 
895
                mRULE_ML_COMMENT(); 
1235
896
1236
                }
897
                }
1237
                break;
898
                break;
1238
            case 16 :
899
            case 16 :
1239
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:99: RULE_SL_COMMENT
900
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:121: RULE_SL_COMMENT
1240
                {
901
                {
1241
                mRULE_SL_COMMENT(); 
902
                mRULE_SL_COMMENT(); 
1242
903
1243
                }
904
                }
1244
                break;
905
                break;
1245
            case 17 :
906
            case 17 :
1246
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:115: RULE_WS
907
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:137: RULE_WS
1247
                {
908
                {
1248
                mRULE_WS(); 
909
                mRULE_WS(); 
1249
910
1250
                }
911
                }
1251
                break;
912
                break;
1252
            case 18 :
913
            case 18 :
1253
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:123: RULE_ANY_OTHER
914
                // ../org.eclipse.papyrus.transition.editor.xtext.ui/src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.g:1:145: RULE_ANY_OTHER
1254
                {
915
                {
1255
                mRULE_ANY_OTHER(); 
916
                mRULE_ANY_OTHER(); 
1256
917
Lines 1262-1267 Link Here
1262
    }
923
    }
1263
924
1264
925
926
    protected DFA12 dfa12 = new DFA12(this);
927
    static final String DFA12_eotS =
928
        "\1\uffff\3\22\1\uffff\2\22\2\uffff\1\36\1\20\2\uffff\2\20\2\uffff"+
929
        "\1\22\1\uffff\2\22\1\uffff\1\22\1\46\2\22\10\uffff\4\22\1\uffff"+
930
        "\1\55\5\22\1\uffff\1\63\3\22\1\67\1\uffff\3\22\1\uffff\3\22\1\76"+
931
        "\2\22\1\uffff\6\22\1\107\1\22\1\uffff\1\22\1\112\1\uffff";
932
    static final String DFA12_eofS =
933
        "\113\uffff";
934
    static final String DFA12_minS =
935
        "\1\0\1\143\1\164\1\160\1\uffff\1\146\1\150\2\uffff\1\52\1\101\2"+
936
        "\uffff\2\0\2\uffff\1\164\1\uffff\2\141\1\uffff\1\164\1\60\1\154"+
937
        "\1\145\10\uffff\1\151\1\164\1\161\1\145\1\uffff\1\60\1\156\1\166"+
938
        "\1\145\1\165\1\162\1\uffff\1\60\1\151\1\115\1\145\1\60\1\uffff\1"+
939
        "\164\1\141\1\102\1\uffff\1\171\1\143\1\145\1\60\2\150\1\uffff\1"+
940
        "\151\1\141\1\156\1\166\1\145\1\151\1\60\1\157\1\uffff\1\162\1\60"+
941
        "\1\uffff";
942
    static final String DFA12_maxS =
943
        "\1\uffff\1\143\1\164\1\160\1\uffff\1\164\1\150\2\uffff\1\57\1\172"+
944
        "\2\uffff\2\uffff\2\uffff\1\164\1\uffff\2\141\1\uffff\1\164\1\172"+
945
        "\1\154\1\145\10\uffff\1\151\1\164\1\161\1\145\1\uffff\1\172\1\156"+
946
        "\1\166\1\145\1\165\1\162\1\uffff\1\172\1\151\1\115\1\145\1\172\1"+
947
        "\uffff\1\164\1\141\1\102\1\uffff\1\171\1\143\1\145\1\172\2\150\1"+
948
        "\uffff\1\151\1\141\1\156\1\166\1\145\1\151\1\172\1\157\1\uffff\1"+
949
        "\162\1\172\1\uffff";
950
    static final String DFA12_acceptS =
951
        "\4\uffff\1\4\2\uffff\1\10\1\11\2\uffff\1\14\1\15\2\uffff\1\21\1"+
952
        "\22\1\uffff\1\14\2\uffff\1\4\4\uffff\1\10\1\11\1\17\1\20\1\12\1"+
953
        "\15\1\16\1\21\4\uffff\1\6\6\uffff\1\13\5\uffff\1\7\3\uffff\1\5\6"+
954
        "\uffff\1\1\10\uffff\1\2\2\uffff\1\3";
955
    static final String DFA12_specialS =
956
        "\1\1\14\uffff\1\2\1\0\74\uffff}>";
957
    static final String[] DFA12_transitionS = {
958
            "\11\20\2\17\2\20\1\17\22\20\1\17\1\20\1\15\4\20\1\16\4\20\1"+
959
            "\4\2\20\1\11\12\14\7\20\1\1\15\13\1\3\3\13\1\2\7\13\1\7\1\20"+
960
            "\1\10\1\12\1\13\1\20\1\5\25\13\1\6\3\13\uff85\20",
961
            "\1\21",
962
            "\1\23",
963
            "\1\24",
964
            "",
965
            "\1\26\5\uffff\1\30\7\uffff\1\27",
966
            "\1\31",
967
            "",
968
            "",
969
            "\1\34\4\uffff\1\35",
970
            "\32\22\4\uffff\1\22\1\uffff\32\22",
971
            "",
972
            "",
973
            "\0\40",
974
            "\0\40",
975
            "",
976
            "",
977
            "\1\42",
978
            "",
979
            "\1\43",
980
            "\1\44",
981
            "",
982
            "\1\45",
983
            "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22",
984
            "\1\47",
985
            "\1\50",
986
            "",
987
            "",
988
            "",
989
            "",
990
            "",
991
            "",
992
            "",
993
            "",
994
            "\1\51",
995
            "\1\52",
996
            "\1\53",
997
            "\1\54",
998
            "",
999
            "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22",
1000
            "\1\56",
1001
            "\1\57",
1002
            "\1\60",
1003
            "\1\61",
1004
            "\1\62",
1005
            "",
1006
            "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22",
1007
            "\1\64",
1008
            "\1\65",
1009
            "\1\66",
1010
            "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22",
1011
            "",
1012
            "\1\70",
1013
            "\1\71",
1014
            "\1\72",
1015
            "",
1016
            "\1\73",
1017
            "\1\74",
1018
            "\1\75",
1019
            "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22",
1020
            "\1\77",
1021
            "\1\100",
1022
            "",
1023
            "\1\101",
1024
            "\1\102",
1025
            "\1\103",
1026
            "\1\104",
1027
            "\1\105",
1028
            "\1\106",
1029
            "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22",
1030
            "\1\110",
1031
            "",
1032
            "\1\111",
1033
            "\12\22\7\uffff\32\22\4\uffff\1\22\1\uffff\32\22",
1034
            ""
1035
    };
1036
1037
    static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS);
1038
    static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS);
1039
    static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS);
1040
    static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS);
1041
    static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS);
1042
    static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS);
1043
    static final short[][] DFA12_transition;
1044
1045
    static {
1046
        int numStates = DFA12_transitionS.length;
1047
        DFA12_transition = new short[numStates][];
1048
        for (int i=0; i<numStates; i++) {
1049
            DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]);
1050
        }
1051
    }
1052
1053
    class DFA12 extends DFA {
1054
1055
        public DFA12(BaseRecognizer recognizer) {
1056
            this.recognizer = recognizer;
1057
            this.decisionNumber = 12;
1058
            this.eot = DFA12_eot;
1059
            this.eof = DFA12_eof;
1060
            this.min = DFA12_min;
1061
            this.max = DFA12_max;
1062
            this.accept = DFA12_accept;
1063
            this.special = DFA12_special;
1064
            this.transition = DFA12_transition;
1065
        }
1066
        public String getDescription() {
1067
            return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
1068
        }
1069
        public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
1070
            IntStream input = _input;
1071
        	int _s = s;
1072
            switch ( s ) {
1073
                    case 0 : 
1074
                        int LA12_14 = input.LA(1);
1075
1076
                        s = -1;
1077
                        if ( ((LA12_14>='\u0000' && LA12_14<='\uFFFF')) ) {s = 32;}
1078
1079
                        else s = 16;
1080
1081
                        if ( s>=0 ) return s;
1082
                        break;
1083
                    case 1 : 
1084
                        int LA12_0 = input.LA(1);
1085
1086
                        s = -1;
1087
                        if ( (LA12_0=='A') ) {s = 1;}
1088
1089
                        else if ( (LA12_0=='S') ) {s = 2;}
1090
1091
                        else if ( (LA12_0=='O') ) {s = 3;}
1092
1093
                        else if ( (LA12_0==',') ) {s = 4;}
1094
1095
                        else if ( (LA12_0=='a') ) {s = 5;}
1096
1097
                        else if ( (LA12_0=='w') ) {s = 6;}
1098
1099
                        else if ( (LA12_0=='[') ) {s = 7;}
1100
1101
                        else if ( (LA12_0==']') ) {s = 8;}
1102
1103
                        else if ( (LA12_0=='/') ) {s = 9;}
1104
1105
                        else if ( (LA12_0=='^') ) {s = 10;}
1106
1107
                        else if ( ((LA12_0>='B' && LA12_0<='N')||(LA12_0>='P' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='b' && LA12_0<='v')||(LA12_0>='x' && LA12_0<='z')) ) {s = 11;}
1108
1109
                        else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 12;}
1110
1111
                        else if ( (LA12_0=='\"') ) {s = 13;}
1112
1113
                        else if ( (LA12_0=='\'') ) {s = 14;}
1114
1115
                        else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 15;}
1116
1117
                        else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='+')||(LA12_0>='-' && LA12_0<='.')||(LA12_0>=':' && LA12_0<='@')||LA12_0=='\\'||LA12_0=='`'||(LA12_0>='{' && LA12_0<='\uFFFF')) ) {s = 16;}
1118
1119
                        if ( s>=0 ) return s;
1120
                        break;
1121
                    case 2 : 
1122
                        int LA12_13 = input.LA(1);
1123
1124
                        s = -1;
1125
                        if ( ((LA12_13>='\u0000' && LA12_13<='\uFFFF')) ) {s = 32;}
1126
1127
                        else s = 16;
1128
1129
                        if ( s>=0 ) return s;
1130
                        break;
1131
            }
1132
            NoViableAltException nvae =
1133
                new NoViableAltException(getDescription(), 12, _s, input);
1134
            error(nvae);
1135
            throw nvae;
1136
        }
1137
    }
1265
 
1138
 
1266
1139
1267
}
1140
}
(-)src-gen/org/eclipse/papyrus/transition/editor/xtext/ui/contentassist/antlr/internal/InternalUmlTransition.tokens (-3 / +14 lines)
Lines 1-10 Link Here
1
RULE_ID=4
1
RULE_ID=4
2
RULE_STRING=5
3
RULE_ANY_OTHER=10
2
RULE_ANY_OTHER=10
4
RULE_INT=6
3
T__21=21
5
RULE_WS=9
4
T__20=20
6
RULE_SL_COMMENT=8
5
RULE_SL_COMMENT=8
7
RULE_ML_COMMENT=7
6
RULE_ML_COMMENT=7
7
T__19=19
8
RULE_STRING=5
9
T__16=16
10
T__15=15
11
T__18=18
12
T__17=17
13
T__12=12
14
T__11=11
15
T__14=14
16
T__13=13
17
RULE_INT=6
18
RULE_WS=9
8
'after'=15
19
'after'=15
9
'when'=17
20
'when'=17
10
'/'=20
21
'/'=20
(-)src/org/eclipse/papyrus/transition/editor/xtext/ui/outline/UmlTransitionOutlineNodeAdapterFactory.java (-22 lines)
Lines 1-22 Link Here
1
/*
2
* generated by Xtext
3
*/
4
package org.eclipse.papyrus.transition.editor.xtext.ui.outline;
5
6
import org.eclipse.xtext.ui.editor.outline.actions.DefaultContentOutlineNodeAdapterFactory;
7
8
public class UmlTransitionOutlineNodeAdapterFactory extends DefaultContentOutlineNodeAdapterFactory {
9
10
	private static final Class<?>[] types = { 
11
		// provide list of classes to adapt to, e.g.:
12
		// Entity.class
13
		// Service.class
14
	};
15
16
	@Override
17
	public Class<?>[] getAdapterList() {
18
		return types;
19
	}
20
21
}
22
(-)src/org/eclipse/papyrus/transition/editor/xtext/ui/outline/UmlTransitionOutlineTreeProvider.java (+14 lines)
Line 0 Link Here
1
/*
2
* generated by Xtext
3
*/
4
package org.eclipse.papyrus.transition.editor.xtext.ui.outline;
5
6
import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;
7
8
/**
9
 * customization of the default outline structure
10
 * 
11
 */
12
public class UmlTransitionOutlineTreeProvider extends DefaultOutlineTreeProvider {
13
	
14
}
(-)src/org/eclipse/papyrus/transition/editor/xtext/ui/outline/UmlTransitionTransformer.java (-14 lines)
Lines 1-14 Link Here
1
/*
2
* generated by Xtext
3
*/
4
package org.eclipse.papyrus.transition.editor.xtext.ui.outline;
5
6
import org.eclipse.xtext.ui.editor.outline.transformer.AbstractDeclarativeSemanticModelTransformer;
7
8
/**
9
 * customization of the default outline structure
10
 * 
11
 */
12
public class UmlTransitionTransformer extends AbstractDeclarativeSemanticModelTransformer {
13
	
14
}
(-)plugin.xml_gen (-1 lines)
Lines 139-145 Link Here
139
139
140
140
141
141
142
143
	<!-- Quick Outline -->
142
	<!-- Quick Outline -->
144
	<extension
143
	<extension
145
		point="org.eclipse.ui.handlers">
144
		point="org.eclipse.ui.handlers">
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/AbstractUmlParameterUiModule.java (-20 / +16 lines)
Lines 1-3 Link Here
1
1
/*
2
/*
2
 * generated by Xtext
3
 * generated by Xtext
3
 */
4
 */
Lines 11-43 Link Here
11
 */
12
 */
12
@SuppressWarnings("all")
13
@SuppressWarnings("all")
13
public abstract class AbstractUmlParameterUiModule extends DefaultUiModule {
14
public abstract class AbstractUmlParameterUiModule extends DefaultUiModule {
14
15
	
15
	public AbstractUmlParameterUiModule(AbstractUIPlugin plugin) {
16
	public AbstractUmlParameterUiModule(AbstractUIPlugin plugin) {
16
		super(plugin);
17
		super(plugin);
17
	}
18
	}
18
19
	
19
20
	
20
	// contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment
21
	// contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment
21
	public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() {
22
	public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() {
22
		return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState();
23
		return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState();
23
	}
24
	}
24
25
25
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
26
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
26
	public Class<? extends org.eclipse.jface.text.rules.ITokenScanner> bindITokenScanner() {
27
		return org.eclipse.xtext.ui.editor.syntaxcoloring.antlr.AntlrTokenScanner.class;
28
	}
29
30
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
31
	public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
27
	public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
32
		return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
28
		return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
33
	}
29
	}
34
30
35
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
31
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
36
	public Class<? extends org.eclipse.xtext.ui.editor.IDamagerRepairer> bindIDamagerRepairer() {
37
		return org.eclipse.xtext.ui.editor.FastDamagerRepairer.class;
38
	}
39
40
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
41
	public void configureHighlightingLexer(com.google.inject.Binder binder) {
32
	public void configureHighlightingLexer(com.google.inject.Binder binder) {
42
		binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.parameter.editor.xtext.parser.antlr.internal.InternalUmlParameterLexer.class);
33
		binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.parameter.editor.xtext.parser.antlr.internal.InternalUmlParameterLexer.class);
43
	}
34
	}
Lines 47-55 Link Here
47
		binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
38
		binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
48
	}
39
	}
49
40
41
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
42
	public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() {
43
		return org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator.Null.class;
44
	}
45
50
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
46
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
51
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
47
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
52
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.builderState.ShadowingResourceDescriptions.class);
48
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class);
53
	}
49
	}
54
50
55
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
51
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
Lines 77-90 Link Here
77
		binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.parameter.editor.xtext.ui.labeling.UmlParameterDescriptionLabelProvider.class);
73
		binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.parameter.editor.xtext.ui.labeling.UmlParameterDescriptionLabelProvider.class);
78
	}
74
	}
79
75
80
	// contributed by org.eclipse.xtext.ui.generator.outline.TransformerFragment
76
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
81
	public Class<? extends org.eclipse.xtext.ui.editor.outline.transformer.ISemanticModelTransformer> bindISemanticModelTransformer() {
77
	public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() {
82
		return org.eclipse.papyrus.parameter.editor.xtext.ui.outline.UmlParameterTransformer.class;
78
		return org.eclipse.papyrus.parameter.editor.xtext.ui.outline.UmlParameterOutlineTreeProvider.class;
83
	}
79
	}
84
80
85
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineNodeAdapterFactoryFragment
81
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
86
	public Class<? extends org.eclipse.xtext.ui.editor.outline.actions.IContentOutlineNodeAdapterFactory> bindIContentOutlineNodeAdapterFactory() {
82
	public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
87
		return org.eclipse.papyrus.parameter.editor.xtext.ui.outline.UmlParameterOutlineNodeAdapterFactory.class;
83
		return org.eclipse.papyrus.parameter.editor.xtext.ui.outline.UmlParameterOutlineTreeProvider.class;
88
	}
84
	}
89
85
90
	// contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
86
	// contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/UmlParameterExecutableExtensionFactory.java (-4 / +4 lines)
Lines 1-7 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
 * generated by Xtext
3
 */
3
 */
4
5
package org.eclipse.papyrus.parameter.editor.xtext.ui;
4
package org.eclipse.papyrus.parameter.editor.xtext.ui;
6
5
7
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
6
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
Lines 10-16 Link Here
10
import com.google.inject.Injector;
9
import com.google.inject.Injector;
11
10
12
/**
11
/**
13
 * @generated
12
 * This class was generated. Customizations should only happen in a newly
13
 * introduced subclass. 
14
 */
14
 */
15
public class UmlParameterExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
15
public class UmlParameterExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
16
16
Lines 18-27 Link Here
18
	protected Bundle getBundle() {
18
	protected Bundle getBundle() {
19
		return org.eclipse.papyrus.parameter.editor.xtext.ui.internal.UmlParameterActivator.getInstance().getBundle();
19
		return org.eclipse.papyrus.parameter.editor.xtext.ui.internal.UmlParameterActivator.getInstance().getBundle();
20
	}
20
	}
21
21
	
22
	@Override
22
	@Override
23
	protected Injector getInjector() {
23
	protected Injector getInjector() {
24
		return org.eclipse.papyrus.parameter.editor.xtext.ui.internal.UmlParameterActivator.getInstance().getInjector("org.eclipse.papyrus.parameter.editor.xtext.UmlParameter");
24
		return org.eclipse.papyrus.parameter.editor.xtext.ui.internal.UmlParameterActivator.getInstance().getInjector("org.eclipse.papyrus.parameter.editor.xtext.UmlParameter");
25
	}
25
	}
26
26
	
27
}
27
}
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/AbstractUmlParameterProposalProvider.java (-20 / +6 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
package org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist;
4
package org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist;
5
5
6
import org.eclipse.emf.ecore.EObject;
6
import org.eclipse.emf.ecore.EObject;
Lines 11-82 Link Here
11
11
12
/**
12
/**
13
 * Represents a generated, default implementation of interface {@link IProposalProvider}.
13
 * Represents a generated, default implementation of interface {@link IProposalProvider}.
14
 * Methods are dynamically dispatched on the first parameter, i.e., you can override them
14
 * Methods are dynamically dispatched on the first parameter, i.e., you can override them 
15
 * with a more concrete subtype.
15
 * with a more concrete subtype. 
16
 */
16
 */
17
@SuppressWarnings("all")
17
@SuppressWarnings("all")
18
public class AbstractUmlParameterProposalProvider extends UmlCommonProposalProvider {
18
public class AbstractUmlParameterProposalProvider extends UmlCommonProposalProvider {
19
19
		
20
	public void completeParameterRule_Visibility(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
20
	public void completeParameterRule_Visibility(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
21
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
21
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
22
	}
22
	}
23
24
	public void completeParameterRule_Direction(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
23
	public void completeParameterRule_Direction(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
25
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
24
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
26
	}
25
	}
27
28
	public void completeParameterRule_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
26
	public void completeParameterRule_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
29
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
27
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
30
	}
28
	}
31
32
	public void completeParameterRule_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
29
	public void completeParameterRule_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
33
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
30
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
34
	}
31
	}
35
36
	public void completeParameterRule_Multiplicity(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
32
	public void completeParameterRule_Multiplicity(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
37
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
33
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
38
	}
34
	}
39
40
	public void completeParameterRule_Modifiers(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
35
	public void completeParameterRule_Modifiers(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
41
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
36
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
42
	}
37
	}
43
44
	public void completeParameterRule_Effect(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
38
	public void completeParameterRule_Effect(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
45
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
39
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
46
	}
40
	}
47
48
	public void completeModifiersRule_Values(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
41
	public void completeModifiersRule_Values(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
49
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
42
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
50
	}
43
	}
51
52
	public void completeModifierSpecification_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
44
	public void completeModifierSpecification_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
53
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
45
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
54
	}
46
	}
55
56
	public void completeEffectRule_EffectKind(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
47
	public void completeEffectRule_EffectKind(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
57
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
48
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
58
	}
49
	}
59
50
    
60
	public void complete_ParameterRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
51
	public void complete_ParameterRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
61
		// subclasses may override
52
		// subclasses may override
62
	}
53
	}
63
64
	public void complete_ModifiersRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
54
	public void complete_ModifiersRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
65
		// subclasses may override
55
		// subclasses may override
66
	}
56
	}
67
68
	public void complete_ModifierSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
57
	public void complete_ModifierSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
69
		// subclasses may override
58
		// subclasses may override
70
	}
59
	}
71
72
	public void complete_ModifierKind(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
60
	public void complete_ModifierKind(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
73
		// subclasses may override
61
		// subclasses may override
74
	}
62
	}
75
76
	public void complete_EffectKind(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
63
	public void complete_EffectKind(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
77
		// subclasses may override
64
		// subclasses may override
78
	}
65
	}
79
80
	public void complete_EffectRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
66
	public void complete_EffectRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
81
		// subclasses may override
67
		// subclasses may override
82
	}
68
	}
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/UmlParameterParser.java (-16 / +15 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
package org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist.antlr;
4
package org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist.antlr;
5
5
6
import java.util.Collection;
6
import java.util.Collection;
Lines 18-41 Link Here
18
import org.eclipse.papyrus.parameter.editor.xtext.services.UmlParameterGrammarAccess;
18
import org.eclipse.papyrus.parameter.editor.xtext.services.UmlParameterGrammarAccess;
19
19
20
public class UmlParameterParser extends AbstractContentAssistParser {
20
public class UmlParameterParser extends AbstractContentAssistParser {
21
21
	
22
	@Inject
22
	@Inject
23
	private UmlParameterGrammarAccess grammarAccess;
23
	private UmlParameterGrammarAccess grammarAccess;
24
24
	
25
	private Map<AbstractElement, String> nameMappings;
25
	private Map<AbstractElement, String> nameMappings;
26
26
	
27
	@Override
27
	@Override
28
	protected org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist.antlr.internal.InternalUmlParameterParser createParser() {
28
	protected org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist.antlr.internal.InternalUmlParameterParser createParser() {
29
		org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist.antlr.internal.InternalUmlParameterParser result = new org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist.antlr.internal.InternalUmlParameterParser(null);
29
		org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist.antlr.internal.InternalUmlParameterParser result = new org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist.antlr.internal.InternalUmlParameterParser(null);
30
		result.setGrammarAccess(grammarAccess);
30
		result.setGrammarAccess(grammarAccess);
31
		return result;
31
		return result;
32
	}
32
	}
33
33
	
34
	@Override
34
	@Override
35
	protected String getRuleName(AbstractElement element) {
35
	protected String getRuleName(AbstractElement element) {
36
		if(nameMappings == null) {
36
		if (nameMappings == null) {
37
			nameMappings = new HashMap<AbstractElement, String>() {
37
			nameMappings = new HashMap<AbstractElement, String>() {
38
39
				private static final long serialVersionUID = 1L;
38
				private static final long serialVersionUID = 1L;
40
				{
39
				{
41
					put(grammarAccess.getParameterRuleAccess().getAlternatives_4(), "rule__ParameterRule__Alternatives_4");
40
					put(grammarAccess.getParameterRuleAccess().getAlternatives_4(), "rule__ParameterRule__Alternatives_4");
Lines 74-100 Link Here
74
		}
73
		}
75
		return nameMappings.get(element);
74
		return nameMappings.get(element);
76
	}
75
	}
77
76
	
78
	@Override
77
	@Override
79
	protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
78
	protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
80
		try {
79
		try {
81
			org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist.antlr.internal.InternalUmlParameterParser typedParser = (org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist.antlr.internal.InternalUmlParameterParser)parser;
80
			org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist.antlr.internal.InternalUmlParameterParser typedParser = (org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist.antlr.internal.InternalUmlParameterParser) parser;
82
			typedParser.entryRuleParameterRule();
81
			typedParser.entryRuleParameterRule();
83
			return typedParser.getFollowElements();
82
			return typedParser.getFollowElements();
84
		} catch (RecognitionException ex) {
83
		} catch(RecognitionException ex) {
85
			throw new RuntimeException(ex);
84
			throw new RuntimeException(ex);
86
		}
85
		}		
87
	}
86
	}
88
87
	
89
	@Override
88
	@Override
90
	protected String[] getInitialHiddenTokens() {
89
	protected String[] getInitialHiddenTokens() {
91
		return new String[]{ "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" };
90
		return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" };
92
	}
91
	}
93
92
	
94
	public UmlParameterGrammarAccess getGrammarAccess() {
93
	public UmlParameterGrammarAccess getGrammarAccess() {
95
		return this.grammarAccess;
94
		return this.grammarAccess;
96
	}
95
	}
97
96
	
98
	public void setGrammarAccess(UmlParameterGrammarAccess grammarAccess) {
97
	public void setGrammarAccess(UmlParameterGrammarAccess grammarAccess) {
99
		this.grammarAccess = grammarAccess;
98
		this.grammarAccess = grammarAccess;
100
	}
99
	}
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameterLexer.java (-1151 / +1423 lines)
Lines 1-22 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist.antlr.internal;
1
package org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist.antlr.internal;
15
2
16
// Hack: Use our own Lexer superclass by means of import. 
3
// Hack: Use our own Lexer superclass by means of import. 
17
// Currently there is no other way to specify the superclass for the lexer.
4
// Currently there is no other way to specify the superclass for the lexer.
18
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
5
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
19
6
7
20
import org.antlr.runtime.*;
8
import org.antlr.runtime.*;
21
import java.util.Stack;
9
import java.util.Stack;
22
import java.util.List;
10
import java.util.List;
Lines 24-1461 Link Here
24
12
25
@SuppressWarnings("all")
13
@SuppressWarnings("all")
26
public class InternalUmlParameterLexer extends Lexer {
14
public class InternalUmlParameterLexer extends Lexer {
27
15
    public static final int RULE_ID=4;
28
	public static final int RULE_ID = 4;
16
    public static final int T__29=29;
29
17
    public static final int RULE_UNLIMITEDLITERAL=5;
30
	public static final int RULE_UNLIMITEDLITERAL = 5;
18
    public static final int T__28=28;
31
19
    public static final int T__27=27;
32
	public static final int RULE_ANY_OTHER = 11;
20
    public static final int T__26=26;
33
21
    public static final int T__25=25;
34
	public static final int T29 = 29;
22
    public static final int T__24=24;
35
23
    public static final int T__23=23;
36
	public static final int T28 = 28;
24
    public static final int T__22=22;
37
25
    public static final int RULE_ANY_OTHER=11;
38
	public static final int T27 = 27;
26
    public static final int T__21=21;
39
27
    public static final int T__20=20;
40
	public static final int T26 = 26;
28
    public static final int EOF=-1;
41
29
    public static final int RULE_SL_COMMENT=9;
42
	public static final int T25 = 25;
30
    public static final int RULE_ML_COMMENT=8;
43
31
    public static final int T__19=19;
44
	public static final int Tokens = 38;
32
    public static final int T__30=30;
45
33
    public static final int T__31=31;
46
	public static final int T24 = 24;
34
    public static final int T__32=32;
47
35
    public static final int RULE_STRING=7;
48
	public static final int EOF = -1;
36
    public static final int T__16=16;
49
37
    public static final int T__33=33;
50
	public static final int RULE_SL_COMMENT = 9;
38
    public static final int T__15=15;
51
39
    public static final int T__34=34;
52
	public static final int T23 = 23;
40
    public static final int T__18=18;
53
41
    public static final int T__35=35;
54
	public static final int T22 = 22;
42
    public static final int T__17=17;
55
43
    public static final int T__36=36;
56
	public static final int T21 = 21;
44
    public static final int T__12=12;
57
45
    public static final int T__37=37;
58
	public static final int T20 = 20;
46
    public static final int T__14=14;
59
47
    public static final int T__13=13;
60
	public static final int RULE_ML_COMMENT = 8;
48
    public static final int RULE_INT=6;
61
49
    public static final int RULE_WS=10;
62
	public static final int RULE_STRING = 7;
63
64
	public static final int RULE_INT = 6;
65
66
	public static final int T37 = 37;
67
68
	public static final int T12 = 12;
69
70
	public static final int T13 = 13;
71
72
	public static final int T14 = 14;
73
74
	public static final int T34 = 34;
75
76
	public static final int RULE_WS = 10;
77
78
	public static final int T15 = 15;
79
80
	public static final int T33 = 33;
81
50
82
	public static final int T16 = 16;
51
    // delegates
52
    // delegators
83
53
84
	public static final int T36 = 36;
54
    public InternalUmlParameterLexer() {;} 
55
    public InternalUmlParameterLexer(CharStream input) {
56
        this(input, new RecognizerSharedState());
57
    }
58
    public InternalUmlParameterLexer(CharStream input, RecognizerSharedState state) {
59
        super(input,state);
85
60
86
	public static final int T17 = 17;
61
    }
62
    public String getGrammarFileName() { return "../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g"; }
87
63
88
	public static final int T35 = 35;
64
    // $ANTLR start "T__12"
65
    public final void mT__12() throws RecognitionException {
66
        try {
67
            int _type = T__12;
68
            int _channel = DEFAULT_TOKEN_CHANNEL;
69
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:11:7: ( '<Undefined>' )
70
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:11:9: '<Undefined>'
71
            {
72
            match("<Undefined>"); 
89
73
90
	public static final int T18 = 18;
91
74
92
	public static final int T30 = 30;
75
            }
93
76
94
	public static final int T19 = 19;
77
            state.type = _type;
78
            state.channel = _channel;
79
        }
80
        finally {
81
        }
82
    }
83
    // $ANTLR end "T__12"
95
84
96
	public static final int T32 = 32;
85
    // $ANTLR start "T__13"
86
    public final void mT__13() throws RecognitionException {
87
        try {
88
            int _type = T__13;
89
            int _channel = DEFAULT_TOKEN_CHANNEL;
90
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:12:7: ( 'exception' )
91
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:12:9: 'exception'
92
            {
93
            match("exception"); 
97
94
98
	public static final int T31 = 31;
99
95
100
	public InternalUmlParameterLexer() {
96
            }
101
		;
102
	}
103
97
104
	public InternalUmlParameterLexer(CharStream input) {
98
            state.type = _type;
105
		super(input);
99
            state.channel = _channel;
106
	}
100
        }
101
        finally {
102
        }
103
    }
104
    // $ANTLR end "T__13"
107
105
108
	public String getGrammarFileName() {
106
    // $ANTLR start "T__14"
109
		return "../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g";
107
    public final void mT__14() throws RecognitionException {
110
	}
108
        try {
109
            int _type = T__14;
110
            int _channel = DEFAULT_TOKEN_CHANNEL;
111
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:13:7: ( 'stream' )
112
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:13:9: 'stream'
113
            {
114
            match("stream"); 
111
115
112
	// $ANTLR start T12
113
	public final void mT12() throws RecognitionException {
114
		try {
115
			int _type = T12;
116
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:10:5: ( '<Undefined>' )
117
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:10:7: '<Undefined>'
118
			{
119
				match("<Undefined>");
120
116
117
            }
121
118
122
			}
119
            state.type = _type;
120
            state.channel = _channel;
121
        }
122
        finally {
123
        }
124
    }
125
    // $ANTLR end "T__14"
123
126
124
			this.type = _type;
127
    // $ANTLR start "T__15"
125
		} finally {
128
    public final void mT__15() throws RecognitionException {
126
		}
129
        try {
127
	}
130
            int _type = T__15;
131
            int _channel = DEFAULT_TOKEN_CHANNEL;
132
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:14:7: ( 'ordered' )
133
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:14:9: 'ordered'
134
            {
135
            match("ordered"); 
128
136
129
	// $ANTLR end T12
130
137
131
	// $ANTLR start T13
138
            }
132
	public final void mT13() throws RecognitionException {
133
		try {
134
			int _type = T13;
135
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:11:5: ( 'exception' )
136
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:11:7: 'exception'
137
			{
138
				match("exception");
139
139
140
            state.type = _type;
141
            state.channel = _channel;
142
        }
143
        finally {
144
        }
145
    }
146
    // $ANTLR end "T__15"
140
147
141
			}
148
    // $ANTLR start "T__16"
149
    public final void mT__16() throws RecognitionException {
150
        try {
151
            int _type = T__16;
152
            int _channel = DEFAULT_TOKEN_CHANNEL;
153
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:15:7: ( 'unique' )
154
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:15:9: 'unique'
155
            {
156
            match("unique"); 
142
157
143
			this.type = _type;
144
		} finally {
145
		}
146
	}
147
158
148
	// $ANTLR end T13
159
            }
149
160
150
	// $ANTLR start T14
161
            state.type = _type;
151
	public final void mT14() throws RecognitionException {
162
            state.channel = _channel;
152
		try {
163
        }
153
			int _type = T14;
164
        finally {
154
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:12:5: ( 'stream' )
165
        }
155
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:12:7: 'stream'
166
    }
156
			{
167
    // $ANTLR end "T__16"
157
				match("stream");
158
168
169
    // $ANTLR start "T__17"
170
    public final void mT__17() throws RecognitionException {
171
        try {
172
            int _type = T__17;
173
            int _channel = DEFAULT_TOKEN_CHANNEL;
174
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:16:7: ( 'create' )
175
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:16:9: 'create'
176
            {
177
            match("create"); 
159
178
160
			}
161
179
162
			this.type = _type;
180
            }
163
		} finally {
164
		}
165
	}
166
181
167
	// $ANTLR end T14
182
            state.type = _type;
183
            state.channel = _channel;
184
        }
185
        finally {
186
        }
187
    }
188
    // $ANTLR end "T__17"
168
189
169
	// $ANTLR start T15
190
    // $ANTLR start "T__18"
170
	public final void mT15() throws RecognitionException {
191
    public final void mT__18() throws RecognitionException {
171
		try {
192
        try {
172
			int _type = T15;
193
            int _type = T__18;
173
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:13:5: ( 'ordered' )
194
            int _channel = DEFAULT_TOKEN_CHANNEL;
174
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:13:7: 'ordered'
195
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:17:7: ( 'read' )
175
			{
196
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:17:9: 'read'
176
				match("ordered");
197
            {
198
            match("read"); 
177
199
178
200
179
			}
201
            }
180
202
181
			this.type = _type;
203
            state.type = _type;
182
		} finally {
204
            state.channel = _channel;
183
		}
205
        }
184
	}
206
        finally {
207
        }
208
    }
209
    // $ANTLR end "T__18"
185
210
186
	// $ANTLR end T15
211
    // $ANTLR start "T__19"
212
    public final void mT__19() throws RecognitionException {
213
        try {
214
            int _type = T__19;
215
            int _channel = DEFAULT_TOKEN_CHANNEL;
216
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:18:7: ( 'update' )
217
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:18:9: 'update'
218
            {
219
            match("update"); 
187
220
188
	// $ANTLR start T16
189
	public final void mT16() throws RecognitionException {
190
		try {
191
			int _type = T16;
192
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:14:5: ( 'unique' )
193
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:14:7: 'unique'
194
			{
195
				match("unique");
196
221
222
            }
197
223
198
			}
224
            state.type = _type;
225
            state.channel = _channel;
226
        }
227
        finally {
228
        }
229
    }
230
    // $ANTLR end "T__19"
199
231
200
			this.type = _type;
232
    // $ANTLR start "T__20"
201
		} finally {
233
    public final void mT__20() throws RecognitionException {
202
		}
234
        try {
203
	}
235
            int _type = T__20;
236
            int _channel = DEFAULT_TOKEN_CHANNEL;
237
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:19:7: ( 'delete' )
238
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:19:9: 'delete'
239
            {
240
            match("delete"); 
204
241
205
	// $ANTLR end T16
206
242
207
	// $ANTLR start T17
243
            }
208
	public final void mT17() throws RecognitionException {
209
		try {
210
			int _type = T17;
211
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:15:5: ( 'create' )
212
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:15:7: 'create'
213
			{
214
				match("create");
215
244
245
            state.type = _type;
246
            state.channel = _channel;
247
        }
248
        finally {
249
        }
250
    }
251
    // $ANTLR end "T__20"
216
252
217
			}
253
    // $ANTLR start "T__21"
254
    public final void mT__21() throws RecognitionException {
255
        try {
256
            int _type = T__21;
257
            int _channel = DEFAULT_TOKEN_CHANNEL;
258
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:20:7: ( '+' )
259
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:20:9: '+'
260
            {
261
            match('+'); 
218
262
219
			this.type = _type;
263
            }
220
		} finally {
221
		}
222
	}
223
264
224
	// $ANTLR end T17
265
            state.type = _type;
266
            state.channel = _channel;
267
        }
268
        finally {
269
        }
270
    }
271
    // $ANTLR end "T__21"
225
272
226
	// $ANTLR start T18
273
    // $ANTLR start "T__22"
227
	public final void mT18() throws RecognitionException {
274
    public final void mT__22() throws RecognitionException {
228
		try {
275
        try {
229
			int _type = T18;
276
            int _type = T__22;
230
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:16:5: ( 'read' )
277
            int _channel = DEFAULT_TOKEN_CHANNEL;
231
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:16:7: 'read'
278
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:21:7: ( '-' )
232
			{
279
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:21:9: '-'
233
				match("read");
280
            {
281
            match('-'); 
234
282
283
            }
235
284
236
			}
285
            state.type = _type;
286
            state.channel = _channel;
287
        }
288
        finally {
289
        }
290
    }
291
    // $ANTLR end "T__22"
237
292
238
			this.type = _type;
293
    // $ANTLR start "T__23"
239
		} finally {
294
    public final void mT__23() throws RecognitionException {
240
		}
295
        try {
241
	}
296
            int _type = T__23;
297
            int _channel = DEFAULT_TOKEN_CHANNEL;
298
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:22:7: ( '#' )
299
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:22:9: '#'
300
            {
301
            match('#'); 
242
302
243
	// $ANTLR end T18
303
            }
244
304
245
	// $ANTLR start T19
305
            state.type = _type;
246
	public final void mT19() throws RecognitionException {
306
            state.channel = _channel;
247
		try {
307
        }
248
			int _type = T19;
308
        finally {
249
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:17:5: ( 'update' )
309
        }
250
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:17:7: 'update'
310
    }
251
			{
311
    // $ANTLR end "T__23"
252
				match("update");
253
312
313
    // $ANTLR start "T__24"
314
    public final void mT__24() throws RecognitionException {
315
        try {
316
            int _type = T__24;
317
            int _channel = DEFAULT_TOKEN_CHANNEL;
318
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:23:7: ( '~' )
319
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:23:9: '~'
320
            {
321
            match('~'); 
254
322
255
			}
323
            }
256
324
257
			this.type = _type;
325
            state.type = _type;
258
		} finally {
326
            state.channel = _channel;
259
		}
327
        }
260
	}
328
        finally {
329
        }
330
    }
331
    // $ANTLR end "T__24"
261
332
262
	// $ANTLR end T19
333
    // $ANTLR start "T__25"
334
    public final void mT__25() throws RecognitionException {
335
        try {
336
            int _type = T__25;
337
            int _channel = DEFAULT_TOKEN_CHANNEL;
338
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:24:7: ( 'in' )
339
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:24:9: 'in'
340
            {
341
            match("in"); 
263
342
264
	// $ANTLR start T20
265
	public final void mT20() throws RecognitionException {
266
		try {
267
			int _type = T20;
268
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:18:5: ( 'delete' )
269
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:18:7: 'delete'
270
			{
271
				match("delete");
272
343
344
            }
273
345
274
			}
346
            state.type = _type;
347
            state.channel = _channel;
348
        }
349
        finally {
350
        }
351
    }
352
    // $ANTLR end "T__25"
275
353
276
			this.type = _type;
354
    // $ANTLR start "T__26"
277
		} finally {
355
    public final void mT__26() throws RecognitionException {
278
		}
356
        try {
279
	}
357
            int _type = T__26;
358
            int _channel = DEFAULT_TOKEN_CHANNEL;
359
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:25:7: ( 'out' )
360
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:25:9: 'out'
361
            {
362
            match("out"); 
280
363
281
	// $ANTLR end T20
282
364
283
	// $ANTLR start T21
365
            }
284
	public final void mT21() throws RecognitionException {
285
		try {
286
			int _type = T21;
287
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:19:5: ( '+' )
288
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:19:7: '+'
289
			{
290
				match('+');
291
366
292
			}
367
            state.type = _type;
368
            state.channel = _channel;
369
        }
370
        finally {
371
        }
372
    }
373
    // $ANTLR end "T__26"
293
374
294
			this.type = _type;
375
    // $ANTLR start "T__27"
295
		} finally {
376
    public final void mT__27() throws RecognitionException {
296
		}
377
        try {
297
	}
378
            int _type = T__27;
379
            int _channel = DEFAULT_TOKEN_CHANNEL;
380
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:26:7: ( 'inout' )
381
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:26:9: 'inout'
382
            {
383
            match("inout"); 
298
384
299
	// $ANTLR end T21
300
385
301
	// $ANTLR start T22
386
            }
302
	public final void mT22() throws RecognitionException {
303
		try {
304
			int _type = T22;
305
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:20:5: ( '-' )
306
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:20:7: '-'
307
			{
308
				match('-');
309
387
310
			}
388
            state.type = _type;
389
            state.channel = _channel;
390
        }
391
        finally {
392
        }
393
    }
394
    // $ANTLR end "T__27"
311
395
312
			this.type = _type;
396
    // $ANTLR start "T__28"
313
		} finally {
397
    public final void mT__28() throws RecognitionException {
314
		}
398
        try {
315
	}
399
            int _type = T__28;
400
            int _channel = DEFAULT_TOKEN_CHANNEL;
401
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:27:7: ( 'return' )
402
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:27:9: 'return'
403
            {
404
            match("return"); 
316
405
317
	// $ANTLR end T22
318
406
319
	// $ANTLR start T23
407
            }
320
	public final void mT23() throws RecognitionException {
321
		try {
322
			int _type = T23;
323
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:21:5: ( '#' )
324
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:21:7: '#'
325
			{
326
				match('#');
327
408
328
			}
409
            state.type = _type;
410
            state.channel = _channel;
411
        }
412
        finally {
413
        }
414
    }
415
    // $ANTLR end "T__28"
329
416
330
			this.type = _type;
417
    // $ANTLR start "T__29"
331
		} finally {
418
    public final void mT__29() throws RecognitionException {
332
		}
419
        try {
333
	}
420
            int _type = T__29;
421
            int _channel = DEFAULT_TOKEN_CHANNEL;
422
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:28:7: ( ':' )
423
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:28:9: ':'
424
            {
425
            match(':'); 
334
426
335
	// $ANTLR end T23
427
            }
336
428
337
	// $ANTLR start T24
429
            state.type = _type;
338
	public final void mT24() throws RecognitionException {
430
            state.channel = _channel;
339
		try {
431
        }
340
			int _type = T24;
432
        finally {
341
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:22:5: ( '~' )
433
        }
342
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:22:7: '~'
434
    }
343
			{
435
    // $ANTLR end "T__29"
344
				match('~');
345
436
346
			}
437
    // $ANTLR start "T__30"
438
    public final void mT__30() throws RecognitionException {
439
        try {
440
            int _type = T__30;
441
            int _channel = DEFAULT_TOKEN_CHANNEL;
442
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:29:7: ( '{' )
443
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:29:9: '{'
444
            {
445
            match('{'); 
347
446
348
			this.type = _type;
447
            }
349
		} finally {
350
		}
351
	}
352
448
353
	// $ANTLR end T24
449
            state.type = _type;
450
            state.channel = _channel;
451
        }
452
        finally {
453
        }
454
    }
455
    // $ANTLR end "T__30"
354
456
355
	// $ANTLR start T25
457
    // $ANTLR start "T__31"
356
	public final void mT25() throws RecognitionException {
458
    public final void mT__31() throws RecognitionException {
357
		try {
459
        try {
358
			int _type = T25;
460
            int _type = T__31;
359
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:23:5: ( 'in' )
461
            int _channel = DEFAULT_TOKEN_CHANNEL;
360
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:23:7: 'in'
462
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:30:7: ( '}' )
361
			{
463
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:30:9: '}'
362
				match("in");
464
            {
465
            match('}'); 
363
466
467
            }
364
468
365
			}
469
            state.type = _type;
470
            state.channel = _channel;
471
        }
472
        finally {
473
        }
474
    }
475
    // $ANTLR end "T__31"
366
476
367
			this.type = _type;
477
    // $ANTLR start "T__32"
368
		} finally {
478
    public final void mT__32() throws RecognitionException {
369
		}
479
        try {
370
	}
480
            int _type = T__32;
481
            int _channel = DEFAULT_TOKEN_CHANNEL;
482
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:31:7: ( ',' )
483
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:31:9: ','
484
            {
485
            match(','); 
371
486
372
	// $ANTLR end T25
487
            }
373
488
374
	// $ANTLR start T26
489
            state.type = _type;
375
	public final void mT26() throws RecognitionException {
490
            state.channel = _channel;
376
		try {
491
        }
377
			int _type = T26;
492
        finally {
378
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:24:5: ( 'out' )
493
        }
379
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:24:7: 'out'
494
    }
380
			{
495
    // $ANTLR end "T__32"
381
				match("out");
382
496
497
    // $ANTLR start "T__33"
498
    public final void mT__33() throws RecognitionException {
499
        try {
500
            int _type = T__33;
501
            int _channel = DEFAULT_TOKEN_CHANNEL;
502
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:32:7: ( 'effect: ' )
503
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:32:9: 'effect: '
504
            {
505
            match("effect: "); 
383
506
384
			}
385
507
386
			this.type = _type;
508
            }
387
		} finally {
388
		}
389
	}
390
509
391
	// $ANTLR end T26
510
            state.type = _type;
511
            state.channel = _channel;
512
        }
513
        finally {
514
        }
515
    }
516
    // $ANTLR end "T__33"
392
517
393
	// $ANTLR start T27
518
    // $ANTLR start "T__34"
394
	public final void mT27() throws RecognitionException {
519
    public final void mT__34() throws RecognitionException {
395
		try {
520
        try {
396
			int _type = T27;
521
            int _type = T__34;
397
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:25:5: ( 'inout' )
522
            int _channel = DEFAULT_TOKEN_CHANNEL;
398
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:25:7: 'inout'
523
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:33:7: ( '::' )
399
			{
524
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:33:9: '::'
400
				match("inout");
525
            {
526
            match("::"); 
401
527
402
528
403
			}
529
            }
404
530
405
			this.type = _type;
531
            state.type = _type;
406
		} finally {
532
            state.channel = _channel;
407
		}
533
        }
408
	}
534
        finally {
535
        }
536
    }
537
    // $ANTLR end "T__34"
409
538
410
	// $ANTLR end T27
539
    // $ANTLR start "T__35"
540
    public final void mT__35() throws RecognitionException {
541
        try {
542
            int _type = T__35;
543
            int _channel = DEFAULT_TOKEN_CHANNEL;
544
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:34:7: ( '[' )
545
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:34:9: '['
546
            {
547
            match('['); 
411
548
412
	// $ANTLR start T28
549
            }
413
	public final void mT28() throws RecognitionException {
414
		try {
415
			int _type = T28;
416
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:26:5: ( 'return' )
417
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:26:7: 'return'
418
			{
419
				match("return");
420
550
551
            state.type = _type;
552
            state.channel = _channel;
553
        }
554
        finally {
555
        }
556
    }
557
    // $ANTLR end "T__35"
421
558
422
			}
559
    // $ANTLR start "T__36"
560
    public final void mT__36() throws RecognitionException {
561
        try {
562
            int _type = T__36;
563
            int _channel = DEFAULT_TOKEN_CHANNEL;
564
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:35:7: ( ']' )
565
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:35:9: ']'
566
            {
567
            match(']'); 
423
568
424
			this.type = _type;
569
            }
425
		} finally {
426
		}
427
	}
428
570
429
	// $ANTLR end T28
571
            state.type = _type;
572
            state.channel = _channel;
573
        }
574
        finally {
575
        }
576
    }
577
    // $ANTLR end "T__36"
430
578
431
	// $ANTLR start T29
579
    // $ANTLR start "T__37"
432
	public final void mT29() throws RecognitionException {
580
    public final void mT__37() throws RecognitionException {
433
		try {
581
        try {
434
			int _type = T29;
582
            int _type = T__37;
435
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:27:5: ( ':' )
583
            int _channel = DEFAULT_TOKEN_CHANNEL;
436
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:27:7: ':'
584
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:36:7: ( '..' )
437
			{
585
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:36:9: '..'
438
				match(':');
586
            {
587
            match(".."); 
439
588
440
			}
441
589
442
			this.type = _type;
590
            }
443
		} finally {
444
		}
445
	}
446
591
447
	// $ANTLR end T29
592
            state.type = _type;
593
            state.channel = _channel;
594
        }
595
        finally {
596
        }
597
    }
598
    // $ANTLR end "T__37"
448
599
449
	// $ANTLR start T30
600
    // $ANTLR start "RULE_UNLIMITEDLITERAL"
450
	public final void mT30() throws RecognitionException {
601
    public final void mRULE_UNLIMITEDLITERAL() throws RecognitionException {
451
		try {
602
        try {
452
			int _type = T30;
603
            int _type = RULE_UNLIMITEDLITERAL;
453
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:28:5: ( '{' )
604
            int _channel = DEFAULT_TOKEN_CHANNEL;
454
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:28:7: '{'
605
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1732:23: ( ( '0' .. '9' ( '0' .. '9' )* | '*' ) )
455
			{
606
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1732:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
456
				match('{');
607
            {
608
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1732:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
609
            int alt2=2;
610
            int LA2_0 = input.LA(1);
457
611
458
			}
612
            if ( ((LA2_0>='0' && LA2_0<='9')) ) {
613
                alt2=1;
614
            }
615
            else if ( (LA2_0=='*') ) {
616
                alt2=2;
617
            }
618
            else {
619
                NoViableAltException nvae =
620
                    new NoViableAltException("", 2, 0, input);
459
621
460
			this.type = _type;
622
                throw nvae;
461
		} finally {
623
            }
462
		}
624
            switch (alt2) {
463
	}
625
                case 1 :
626
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1732:26: '0' .. '9' ( '0' .. '9' )*
627
                    {
628
                    matchRange('0','9'); 
629
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1732:35: ( '0' .. '9' )*
630
                    loop1:
631
                    do {
632
                        int alt1=2;
633
                        int LA1_0 = input.LA(1);
464
634
465
	// $ANTLR end T30
635
                        if ( ((LA1_0>='0' && LA1_0<='9')) ) {
636
                            alt1=1;
637
                        }
466
638
467
	// $ANTLR start T31
468
	public final void mT31() throws RecognitionException {
469
		try {
470
			int _type = T31;
471
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:29:5: ( '}' )
472
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:29:7: '}'
473
			{
474
				match('}');
475
639
476
			}
640
                        switch (alt1) {
641
                    	case 1 :
642
                    	    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1732:36: '0' .. '9'
643
                    	    {
644
                    	    matchRange('0','9'); 
477
645
478
			this.type = _type;
646
                    	    }
479
		} finally {
647
                    	    break;
480
		}
481
	}
482
648
483
	// $ANTLR end T31
649
                    	default :
650
                    	    break loop1;
651
                        }
652
                    } while (true);
484
653
485
	// $ANTLR start T32
486
	public final void mT32() throws RecognitionException {
487
		try {
488
			int _type = T32;
489
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:30:5: ( ',' )
490
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:30:7: ','
491
			{
492
				match(',');
493
654
494
			}
655
                    }
656
                    break;
657
                case 2 :
658
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1732:47: '*'
659
                    {
660
                    match('*'); 
495
661
496
			this.type = _type;
662
                    }
497
		} finally {
663
                    break;
498
		}
499
	}
500
664
501
	// $ANTLR end T32
665
            }
502
666
503
	// $ANTLR start T33
504
	public final void mT33() throws RecognitionException {
505
		try {
506
			int _type = T33;
507
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:31:5: ( 'effect: ' )
508
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:31:7: 'effect: '
509
			{
510
				match("effect: ");
511
667
668
            }
512
669
513
			}
670
            state.type = _type;
671
            state.channel = _channel;
672
        }
673
        finally {
674
        }
675
    }
676
    // $ANTLR end "RULE_UNLIMITEDLITERAL"
514
677
515
			this.type = _type;
678
    // $ANTLR start "RULE_ID"
516
		} finally {
679
    public final void mRULE_ID() throws RecognitionException {
517
		}
680
        try {
518
	}
681
            int _type = RULE_ID;
682
            int _channel = DEFAULT_TOKEN_CHANNEL;
683
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1734:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
684
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1734:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
685
            {
686
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1734:11: ( '^' )?
687
            int alt3=2;
688
            int LA3_0 = input.LA(1);
519
689
520
	// $ANTLR end T33
690
            if ( (LA3_0=='^') ) {
691
                alt3=1;
692
            }
693
            switch (alt3) {
694
                case 1 :
695
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1734:11: '^'
696
                    {
697
                    match('^'); 
521
698
522
	// $ANTLR start T34
699
                    }
523
	public final void mT34() throws RecognitionException {
700
                    break;
524
		try {
525
			int _type = T34;
526
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:32:5: ( '::' )
527
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:32:7: '::'
528
			{
529
				match("::");
530
701
702
            }
531
703
532
			}
704
            if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
705
                input.consume();
533
706
534
			this.type = _type;
707
            }
535
		} finally {
708
            else {
536
		}
709
                MismatchedSetException mse = new MismatchedSetException(null,input);
537
	}
710
                recover(mse);
711
                throw mse;}
538
712
539
	// $ANTLR end T34
713
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1734:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
714
            loop4:
715
            do {
716
                int alt4=2;
717
                int LA4_0 = input.LA(1);
540
718
541
	// $ANTLR start T35
719
                if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {
542
	public final void mT35() throws RecognitionException {
720
                    alt4=1;
543
		try {
721
                }
544
			int _type = T35;
545
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:33:5: ( '[' )
546
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:33:7: '['
547
			{
548
				match('[');
549
722
550
			}
551
723
552
			this.type = _type;
724
                switch (alt4) {
553
		} finally {
725
            	case 1 :
554
		}
726
            	    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:
555
	}
727
            	    {
728
            	    if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
729
            	        input.consume();
556
730
557
	// $ANTLR end T35
731
            	    }
732
            	    else {
733
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
734
            	        recover(mse);
735
            	        throw mse;}
558
736
559
	// $ANTLR start T36
560
	public final void mT36() throws RecognitionException {
561
		try {
562
			int _type = T36;
563
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:34:5: ( ']' )
564
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:34:7: ']'
565
			{
566
				match(']');
567
737
568
			}
738
            	    }
739
            	    break;
569
740
570
			this.type = _type;
741
            	default :
571
		} finally {
742
            	    break loop4;
572
		}
743
                }
573
	}
744
            } while (true);
574
745
575
	// $ANTLR end T36
576
746
577
	// $ANTLR start T37
747
            }
578
	public final void mT37() throws RecognitionException {
579
		try {
580
			int _type = T37;
581
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:35:5: ( '..' )
582
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:35:7: '..'
583
			{
584
				match("..");
585
748
749
            state.type = _type;
750
            state.channel = _channel;
751
        }
752
        finally {
753
        }
754
    }
755
    // $ANTLR end "RULE_ID"
586
756
587
			}
757
    // $ANTLR start "RULE_INT"
758
    public final void mRULE_INT() throws RecognitionException {
759
        try {
760
            int _type = RULE_INT;
761
            int _channel = DEFAULT_TOKEN_CHANNEL;
762
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1736:10: ( ( '0' .. '9' )+ )
763
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1736:12: ( '0' .. '9' )+
764
            {
765
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1736:12: ( '0' .. '9' )+
766
            int cnt5=0;
767
            loop5:
768
            do {
769
                int alt5=2;
770
                int LA5_0 = input.LA(1);
588
771
589
			this.type = _type;
772
                if ( ((LA5_0>='0' && LA5_0<='9')) ) {
590
		} finally {
773
                    alt5=1;
591
		}
774
                }
592
	}
593
775
594
	// $ANTLR end T37
595
776
596
	// $ANTLR start RULE_UNLIMITEDLITERAL
777
                switch (alt5) {
597
	public final void mRULE_UNLIMITEDLITERAL() throws RecognitionException {
778
            	case 1 :
598
		try {
779
            	    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1736:13: '0' .. '9'
599
			int _type = RULE_UNLIMITEDLITERAL;
780
            	    {
600
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1732:23: ( ( '0' .. '9' ( '0' .. '9' )* | '*' ) )
781
            	    matchRange('0','9'); 
601
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1732:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
602
			{
603
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1732:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
604
				int alt2 = 2;
605
				int LA2_0 = input.LA(1);
606
782
607
				if(((LA2_0 >= '0' && LA2_0 <= '9'))) {
783
            	    }
608
					alt2 = 1;
784
            	    break;
609
				} else if((LA2_0 == '*')) {
610
					alt2 = 2;
611
				} else {
612
					NoViableAltException nvae = new NoViableAltException("1732:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )", 2, 0, input);
613
785
614
					throw nvae;
786
            	default :
615
				}
787
            	    if ( cnt5 >= 1 ) break loop5;
616
				switch(alt2) {
788
                        EarlyExitException eee =
617
				case 1:
789
                            new EarlyExitException(5, input);
618
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1732:26: '0' .. '9' ( '0' .. '9' )*
790
                        throw eee;
619
				{
791
                }
620
					matchRange('0', '9');
792
                cnt5++;
621
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1732:35: ( '0' .. '9' )*
793
            } while (true);
622
					loop1: do {
623
						int alt1 = 2;
624
						int LA1_0 = input.LA(1);
625
794
626
						if(((LA1_0 >= '0' && LA1_0 <= '9'))) {
627
							alt1 = 1;
628
						}
629
795
796
            }
630
797
631
						switch(alt1) {
798
            state.type = _type;
632
						case 1:
799
            state.channel = _channel;
633
							// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1732:36: '0' .. '9'
800
        }
634
						{
801
        finally {
635
							matchRange('0', '9');
802
        }
803
    }
804
    // $ANTLR end "RULE_INT"
636
805
637
						}
806
    // $ANTLR start "RULE_STRING"
638
							break;
807
    public final void mRULE_STRING() throws RecognitionException {
808
        try {
809
            int _type = RULE_STRING;
810
            int _channel = DEFAULT_TOKEN_CHANNEL;
811
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
812
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
813
            {
814
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
815
            int alt8=2;
816
            int LA8_0 = input.LA(1);
639
817
640
						default:
818
            if ( (LA8_0=='\"') ) {
641
							break loop1;
819
                alt8=1;
642
						}
820
            }
643
					} while(true);
821
            else if ( (LA8_0=='\'') ) {
822
                alt8=2;
823
            }
824
            else {
825
                NoViableAltException nvae =
826
                    new NoViableAltException("", 8, 0, input);
644
827
828
                throw nvae;
829
            }
830
            switch (alt8) {
831
                case 1 :
832
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
833
                    {
834
                    match('\"'); 
835
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
836
                    loop6:
837
                    do {
838
                        int alt6=3;
839
                        int LA6_0 = input.LA(1);
645
840
646
				}
841
                        if ( (LA6_0=='\\') ) {
647
					break;
842
                            alt6=1;
648
				case 2:
843
                        }
649
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1732:47: '*'
844
                        else if ( ((LA6_0>='\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) {
650
				{
845
                            alt6=2;
651
					match('*');
846
                        }
652
847
653
				}
654
					break;
655
848
656
				}
849
                        switch (alt6) {
850
                    	case 1 :
851
                    	    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
852
                    	    {
853
                    	    match('\\'); 
854
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
855
                    	        input.consume();
657
856
857
                    	    }
858
                    	    else {
859
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
860
                    	        recover(mse);
861
                    	        throw mse;}
658
862
659
			}
660
863
661
			this.type = _type;
864
                    	    }
662
		} finally {
865
                    	    break;
663
		}
866
                    	case 2 :
664
	}
867
                    	    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:66: ~ ( ( '\\\\' | '\"' ) )
868
                    	    {
869
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
870
                    	        input.consume();
665
871
666
	// $ANTLR end RULE_UNLIMITEDLITERAL
872
                    	    }
873
                    	    else {
874
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
875
                    	        recover(mse);
876
                    	        throw mse;}
667
877
668
	// $ANTLR start RULE_ID
669
	public final void mRULE_ID() throws RecognitionException {
670
		try {
671
			int _type = RULE_ID;
672
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1734:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
673
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1734:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
674
			{
675
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1734:11: ( '^' )?
676
				int alt3 = 2;
677
				int LA3_0 = input.LA(1);
678
878
679
				if((LA3_0 == '^')) {
879
                    	    }
680
					alt3 = 1;
880
                    	    break;
681
				}
682
				switch(alt3) {
683
				case 1:
684
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1734:11: '^'
685
				{
686
					match('^');
687
881
688
				}
882
                    	default :
689
					break;
883
                    	    break loop6;
884
                        }
885
                    } while (true);
690
886
691
				}
887
                    match('\"'); 
692
888
693
				if((input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
889
                    }
694
					input.consume();
890
                    break;
891
                case 2 :
892
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
893
                    {
894
                    match('\''); 
895
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
896
                    loop7:
897
                    do {
898
                        int alt7=3;
899
                        int LA7_0 = input.LA(1);
695
900
696
				} else {
901
                        if ( (LA7_0=='\\') ) {
697
					MismatchedSetException mse = new MismatchedSetException(null, input);
902
                            alt7=1;
698
					recover(mse);
903
                        }
699
					throw mse;
904
                        else if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) {
700
				}
905
                            alt7=2;
906
                        }
701
907
702
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1734:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
703
				loop4: do {
704
					int alt4 = 2;
705
					int LA4_0 = input.LA(1);
706
908
707
					if(((LA4_0 >= '0' && LA4_0 <= '9') || (LA4_0 >= 'A' && LA4_0 <= 'Z') || LA4_0 == '_' || (LA4_0 >= 'a' && LA4_0 <= 'z'))) {
909
                        switch (alt7) {
708
						alt4 = 1;
910
                    	case 1 :
709
					}
911
                    	    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
912
                    	    {
913
                    	    match('\\'); 
914
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
915
                    	        input.consume();
710
916
917
                    	    }
918
                    	    else {
919
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
920
                    	        recover(mse);
921
                    	        throw mse;}
711
922
712
					switch(alt4) {
713
					case 1:
714
						// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:
715
					{
716
						if((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
717
							input.consume();
718
923
719
						} else {
924
                    	    }
720
							MismatchedSetException mse = new MismatchedSetException(null, input);
925
                    	    break;
721
							recover(mse);
926
                    	case 2 :
722
							throw mse;
927
                    	    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:137: ~ ( ( '\\\\' | '\\'' ) )
723
						}
928
                    	    {
929
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
930
                    	        input.consume();
724
931
932
                    	    }
933
                    	    else {
934
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
935
                    	        recover(mse);
936
                    	        throw mse;}
725
937
726
					}
727
						break;
728
938
729
					default:
939
                    	    }
730
						break loop4;
940
                    	    break;
731
					}
732
				} while(true);
733
941
942
                    	default :
943
                    	    break loop7;
944
                        }
945
                    } while (true);
734
946
735
			}
947
                    match('\''); 
736
948
737
			this.type = _type;
949
                    }
738
		} finally {
950
                    break;
739
		}
740
	}
741
951
742
	// $ANTLR end RULE_ID
952
            }
743
953
744
	// $ANTLR start RULE_INT
745
	public final void mRULE_INT() throws RecognitionException {
746
		try {
747
			int _type = RULE_INT;
748
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1736:10: ( ( '0' .. '9' )+ )
749
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1736:12: ( '0' .. '9' )+
750
			{
751
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1736:12: ( '0' .. '9' )+
752
				int cnt5 = 0;
753
				loop5: do {
754
					int alt5 = 2;
755
					int LA5_0 = input.LA(1);
756
954
757
					if(((LA5_0 >= '0' && LA5_0 <= '9'))) {
955
            }
758
						alt5 = 1;
759
					}
760
956
957
            state.type = _type;
958
            state.channel = _channel;
959
        }
960
        finally {
961
        }
962
    }
963
    // $ANTLR end "RULE_STRING"
761
964
762
					switch(alt5) {
965
    // $ANTLR start "RULE_ML_COMMENT"
763
					case 1:
966
    public final void mRULE_ML_COMMENT() throws RecognitionException {
764
						// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1736:13: '0' .. '9'
967
        try {
765
					{
968
            int _type = RULE_ML_COMMENT;
766
						matchRange('0', '9');
969
            int _channel = DEFAULT_TOKEN_CHANNEL;
970
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1740:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
971
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1740:19: '/*' ( options {greedy=false; } : . )* '*/'
972
            {
973
            match("/*"); 
767
974
768
					}
975
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1740:24: ( options {greedy=false; } : . )*
769
						break;
976
            loop9:
977
            do {
978
                int alt9=2;
979
                int LA9_0 = input.LA(1);
770
980
771
					default:
981
                if ( (LA9_0=='*') ) {
772
						if(cnt5 >= 1)
982
                    int LA9_1 = input.LA(2);
773
							break loop5;
774
						EarlyExitException eee = new EarlyExitException(5, input);
775
						throw eee;
776
					}
777
					cnt5++;
778
				} while(true);
779
983
984
                    if ( (LA9_1=='/') ) {
985
                        alt9=2;
986
                    }
987
                    else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) {
988
                        alt9=1;
989
                    }
780
990
781
			}
782
991
783
			this.type = _type;
992
                }
784
		} finally {
993
                else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) {
785
		}
994
                    alt9=1;
786
	}
995
                }
787
996
788
	// $ANTLR end RULE_INT
789
997
790
	// $ANTLR start RULE_STRING
998
                switch (alt9) {
791
	public final void mRULE_STRING() throws RecognitionException {
999
            	case 1 :
792
		try {
1000
            	    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1740:52: .
793
			int _type = RULE_STRING;
1001
            	    {
794
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
1002
            	    matchAny(); 
795
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
796
			{
797
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
798
				int alt8 = 2;
799
				int LA8_0 = input.LA(1);
800
1003
801
				if((LA8_0 == '\"')) {
1004
            	    }
802
					alt8 = 1;
1005
            	    break;
803
				} else if((LA8_0 == '\'')) {
804
					alt8 = 2;
805
				} else {
806
					NoViableAltException nvae = new NoViableAltException("1738:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 8, 0, input);
807
1006
808
					throw nvae;
1007
            	default :
809
				}
1008
            	    break loop9;
810
				switch(alt8) {
1009
                }
811
				case 1:
1010
            } while (true);
812
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
813
				{
814
					match('\"');
815
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
816
					loop6: do {
817
						int alt6 = 3;
818
						int LA6_0 = input.LA(1);
819
1011
820
						if((LA6_0 == '\\')) {
1012
            match("*/"); 
821
							alt6 = 1;
822
						} else if(((LA6_0 >= '\u0000' && LA6_0 <= '!') || (LA6_0 >= '#' && LA6_0 <= '[') || (LA6_0 >= ']' && LA6_0 <= '\uFFFE'))) {
823
							alt6 = 2;
824
						}
825
1013
826
1014
827
						switch(alt6) {
1015
            }
828
						case 1:
829
							// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
830
						{
831
							match('\\');
832
							if(input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
833
								input.consume();
834
1016
835
							} else {
1017
            state.type = _type;
836
								MismatchedSetException mse = new MismatchedSetException(null, input);
1018
            state.channel = _channel;
837
								recover(mse);
1019
        }
838
								throw mse;
1020
        finally {
839
							}
1021
        }
1022
    }
1023
    // $ANTLR end "RULE_ML_COMMENT"
840
1024
1025
    // $ANTLR start "RULE_SL_COMMENT"
1026
    public final void mRULE_SL_COMMENT() throws RecognitionException {
1027
        try {
1028
            int _type = RULE_SL_COMMENT;
1029
            int _channel = DEFAULT_TOKEN_CHANNEL;
1030
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1742:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
1031
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1742:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
1032
            {
1033
            match("//"); 
841
1034
842
						}
1035
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1742:24: (~ ( ( '\\n' | '\\r' ) ) )*
843
							break;
1036
            loop10:
844
						case 2:
1037
            do {
845
							// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:62: ~ ( ( '\\\\' | '\"' ) )
1038
                int alt10=2;
846
						{
1039
                int LA10_0 = input.LA(1);
847
							if((input.LA(1) >= '\u0000' && input.LA(1) <= '!') || (input.LA(1) >= '#' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFE')) {
848
								input.consume();
849
1040
850
							} else {
1041
                if ( ((LA10_0>='\u0000' && LA10_0<='\t')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\uFFFF')) ) {
851
								MismatchedSetException mse = new MismatchedSetException(null, input);
1042
                    alt10=1;
852
								recover(mse);
1043
                }
853
								throw mse;
854
							}
855
1044
856
1045
857
						}
1046
                switch (alt10) {
858
							break;
1047
            	case 1 :
1048
            	    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1742:24: ~ ( ( '\\n' | '\\r' ) )
1049
            	    {
1050
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
1051
            	        input.consume();
859
1052
860
						default:
1053
            	    }
861
							break loop6;
1054
            	    else {
862
						}
1055
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
863
					} while(true);
1056
            	        recover(mse);
1057
            	        throw mse;}
864
1058
865
					match('\"');
866
1059
867
				}
1060
            	    }
868
					break;
1061
            	    break;
869
				case 2:
870
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
871
				{
872
					match('\'');
873
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
874
					loop7: do {
875
						int alt7 = 3;
876
						int LA7_0 = input.LA(1);
877
1062
878
						if((LA7_0 == '\\')) {
1063
            	default :
879
							alt7 = 1;
1064
            	    break loop10;
880
						} else if(((LA7_0 >= '\u0000' && LA7_0 <= '&') || (LA7_0 >= '(' && LA7_0 <= '[') || (LA7_0 >= ']' && LA7_0 <= '\uFFFE'))) {
1065
                }
881
							alt7 = 2;
1066
            } while (true);
882
						}
883
1067
1068
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1742:40: ( ( '\\r' )? '\\n' )?
1069
            int alt12=2;
1070
            int LA12_0 = input.LA(1);
884
1071
885
						switch(alt7) {
1072
            if ( (LA12_0=='\n'||LA12_0=='\r') ) {
886
						case 1:
1073
                alt12=1;
887
							// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
1074
            }
888
						{
1075
            switch (alt12) {
889
							match('\\');
1076
                case 1 :
890
							if(input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
1077
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1742:41: ( '\\r' )? '\\n'
891
								input.consume();
1078
                    {
1079
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1742:41: ( '\\r' )?
1080
                    int alt11=2;
1081
                    int LA11_0 = input.LA(1);
892
1082
893
							} else {
1083
                    if ( (LA11_0=='\r') ) {
894
								MismatchedSetException mse = new MismatchedSetException(null, input);
1084
                        alt11=1;
895
								recover(mse);
1085
                    }
896
								throw mse;
1086
                    switch (alt11) {
897
							}
1087
                        case 1 :
1088
                            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1742:41: '\\r'
1089
                            {
1090
                            match('\r'); 
898
1091
1092
                            }
1093
                            break;
899
1094
900
						}
1095
                    }
901
							break;
902
						case 2:
903
							// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1738:129: ~ ( ( '\\\\' | '\\'' ) )
904
						{
905
							if((input.LA(1) >= '\u0000' && input.LA(1) <= '&') || (input.LA(1) >= '(' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFE')) {
906
								input.consume();
907
1096
908
							} else {
1097
                    match('\n'); 
909
								MismatchedSetException mse = new MismatchedSetException(null, input);
910
								recover(mse);
911
								throw mse;
912
							}
913
1098
1099
                    }
1100
                    break;
914
1101
915
						}
1102
            }
916
							break;
917
1103
918
						default:
919
							break loop7;
920
						}
921
					} while(true);
922
1104
923
					match('\'');
1105
            }
924
1106
925
				}
1107
            state.type = _type;
926
					break;
1108
            state.channel = _channel;
1109
        }
1110
        finally {
1111
        }
1112
    }
1113
    // $ANTLR end "RULE_SL_COMMENT"
927
1114
928
				}
1115
    // $ANTLR start "RULE_WS"
1116
    public final void mRULE_WS() throws RecognitionException {
1117
        try {
1118
            int _type = RULE_WS;
1119
            int _channel = DEFAULT_TOKEN_CHANNEL;
1120
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1744:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
1121
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1744:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1122
            {
1123
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1744:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1124
            int cnt13=0;
1125
            loop13:
1126
            do {
1127
                int alt13=2;
1128
                int LA13_0 = input.LA(1);
929
1129
1130
                if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) {
1131
                    alt13=1;
1132
                }
930
1133
931
			}
932
1134
933
			this.type = _type;
1135
                switch (alt13) {
934
		} finally {
1136
            	case 1 :
935
		}
1137
            	    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:
936
	}
1138
            	    {
1139
            	    if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
1140
            	        input.consume();
937
1141
938
	// $ANTLR end RULE_STRING
1142
            	    }
1143
            	    else {
1144
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
1145
            	        recover(mse);
1146
            	        throw mse;}
939
1147
940
	// $ANTLR start RULE_ML_COMMENT
941
	public final void mRULE_ML_COMMENT() throws RecognitionException {
942
		try {
943
			int _type = RULE_ML_COMMENT;
944
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1740:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
945
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1740:19: '/*' ( options {greedy=false; } : . )* '*/'
946
			{
947
				match("/*");
948
1148
949
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1740:24: ( options {greedy=false; } : . )*
1149
            	    }
950
				loop9: do {
1150
            	    break;
951
					int alt9 = 2;
952
					int LA9_0 = input.LA(1);
953
1151
954
					if((LA9_0 == '*')) {
1152
            	default :
955
						int LA9_1 = input.LA(2);
1153
            	    if ( cnt13 >= 1 ) break loop13;
1154
                        EarlyExitException eee =
1155
                            new EarlyExitException(13, input);
1156
                        throw eee;
1157
                }
1158
                cnt13++;
1159
            } while (true);
956
1160
957
						if((LA9_1 == '/')) {
958
							alt9 = 2;
959
						} else if(((LA9_1 >= '\u0000' && LA9_1 <= '.') || (LA9_1 >= '0' && LA9_1 <= '\uFFFE'))) {
960
							alt9 = 1;
961
						}
962
1161
1162
            }
963
1163
964
					} else if(((LA9_0 >= '\u0000' && LA9_0 <= ')') || (LA9_0 >= '+' && LA9_0 <= '\uFFFE'))) {
1164
            state.type = _type;
965
						alt9 = 1;
1165
            state.channel = _channel;
966
					}
1166
        }
1167
        finally {
1168
        }
1169
    }
1170
    // $ANTLR end "RULE_WS"
967
1171
1172
    // $ANTLR start "RULE_ANY_OTHER"
1173
    public final void mRULE_ANY_OTHER() throws RecognitionException {
1174
        try {
1175
            int _type = RULE_ANY_OTHER;
1176
            int _channel = DEFAULT_TOKEN_CHANNEL;
1177
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1746:16: ( . )
1178
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1746:18: .
1179
            {
1180
            matchAny(); 
968
1181
969
					switch(alt9) {
1182
            }
970
					case 1:
971
						// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1740:52: .
972
					{
973
						matchAny();
974
1183
975
					}
1184
            state.type = _type;
976
						break;
1185
            state.channel = _channel;
1186
        }
1187
        finally {
1188
        }
1189
    }
1190
    // $ANTLR end "RULE_ANY_OTHER"
977
1191
978
					default:
1192
    public void mTokens() throws RecognitionException {
979
						break loop9;
1193
        // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
980
					}
1194
        int alt14=34;
981
				} while(true);
1195
        alt14 = dfa14.predict(input);
1196
        switch (alt14) {
1197
            case 1 :
1198
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:10: T__12
1199
                {
1200
                mT__12(); 
982
1201
983
				match("*/");
1202
                }
1203
                break;
1204
            case 2 :
1205
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:16: T__13
1206
                {
1207
                mT__13(); 
984
1208
1209
                }
1210
                break;
1211
            case 3 :
1212
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:22: T__14
1213
                {
1214
                mT__14(); 
985
1215
986
			}
1216
                }
1217
                break;
1218
            case 4 :
1219
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:28: T__15
1220
                {
1221
                mT__15(); 
987
1222
988
			this.type = _type;
1223
                }
989
		} finally {
1224
                break;
990
		}
1225
            case 5 :
991
	}
1226
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:34: T__16
1227
                {
1228
                mT__16(); 
992
1229
993
	// $ANTLR end RULE_ML_COMMENT
1230
                }
1231
                break;
1232
            case 6 :
1233
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:40: T__17
1234
                {
1235
                mT__17(); 
994
1236
995
	// $ANTLR start RULE_SL_COMMENT
1237
                }
996
	public final void mRULE_SL_COMMENT() throws RecognitionException {
1238
                break;
997
		try {
1239
            case 7 :
998
			int _type = RULE_SL_COMMENT;
1240
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:46: T__18
999
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1742:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
1241
                {
1000
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1742:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
1242
                mT__18(); 
1001
			{
1002
				match("//");
1003
1243
1004
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1742:24: (~ ( ( '\\n' | '\\r' ) ) )*
1244
                }
1005
				loop10: do {
1245
                break;
1006
					int alt10 = 2;
1246
            case 8 :
1007
					int LA10_0 = input.LA(1);
1247
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:52: T__19
1248
                {
1249
                mT__19(); 
1008
1250
1009
					if(((LA10_0 >= '\u0000' && LA10_0 <= '\t') || (LA10_0 >= '\u000B' && LA10_0 <= '\f') || (LA10_0 >= '\u000E' && LA10_0 <= '\uFFFE'))) {
1251
                }
1010
						alt10 = 1;
1252
                break;
1011
					}
1253
            case 9 :
1254
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:58: T__20
1255
                {
1256
                mT__20(); 
1012
1257
1258
                }
1259
                break;
1260
            case 10 :
1261
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:64: T__21
1262
                {
1263
                mT__21(); 
1013
1264
1014
					switch(alt10) {
1265
                }
1015
					case 1:
1266
                break;
1016
						// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1742:24: ~ ( ( '\\n' | '\\r' ) )
1267
            case 11 :
1017
					{
1268
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:70: T__22
1018
						if((input.LA(1) >= '\u0000' && input.LA(1) <= '\t') || (input.LA(1) >= '\u000B' && input.LA(1) <= '\f') || (input.LA(1) >= '\u000E' && input.LA(1) <= '\uFFFE')) {
1269
                {
1019
							input.consume();
1270
                mT__22(); 
1020
1271
1021
						} else {
1272
                }
1022
							MismatchedSetException mse = new MismatchedSetException(null, input);
1273
                break;
1023
							recover(mse);
1274
            case 12 :
1024
							throw mse;
1275
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:76: T__23
1025
						}
1276
                {
1277
                mT__23(); 
1026
1278
1279
                }
1280
                break;
1281
            case 13 :
1282
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:82: T__24
1283
                {
1284
                mT__24(); 
1027
1285
1028
					}
1286
                }
1029
						break;
1287
                break;
1288
            case 14 :
1289
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:88: T__25
1290
                {
1291
                mT__25(); 
1030
1292
1031
					default:
1293
                }
1032
						break loop10;
1294
                break;
1033
					}
1295
            case 15 :
1034
				} while(true);
1296
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:94: T__26
1297
                {
1298
                mT__26(); 
1035
1299
1036
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1742:40: ( ( '\\r' )? '\\n' )?
1300
                }
1037
				int alt12 = 2;
1301
                break;
1038
				int LA12_0 = input.LA(1);
1302
            case 16 :
1303
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:100: T__27
1304
                {
1305
                mT__27(); 
1039
1306
1040
				if((LA12_0 == '\n' || LA12_0 == '\r')) {
1307
                }
1041
					alt12 = 1;
1308
                break;
1042
				}
1309
            case 17 :
1043
				switch(alt12) {
1310
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:106: T__28
1044
				case 1:
1311
                {
1045
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1742:41: ( '\\r' )? '\\n'
1312
                mT__28(); 
1046
				{
1047
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1742:41: ( '\\r' )?
1048
					int alt11 = 2;
1049
					int LA11_0 = input.LA(1);
1050
1313
1051
					if((LA11_0 == '\r')) {
1314
                }
1052
						alt11 = 1;
1315
                break;
1053
					}
1316
            case 18 :
1054
					switch(alt11) {
1317
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:112: T__29
1055
					case 1:
1318
                {
1056
						// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1742:41: '\\r'
1319
                mT__29(); 
1057
					{
1058
						match('\r');
1059
1320
1060
					}
1321
                }
1061
						break;
1322
                break;
1323
            case 19 :
1324
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:118: T__30
1325
                {
1326
                mT__30(); 
1062
1327
1063
					}
1328
                }
1329
                break;
1330
            case 20 :
1331
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:124: T__31
1332
                {
1333
                mT__31(); 
1064
1334
1065
					match('\n');
1335
                }
1336
                break;
1337
            case 21 :
1338
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:130: T__32
1339
                {
1340
                mT__32(); 
1066
1341
1067
				}
1342
                }
1068
					break;
1343
                break;
1344
            case 22 :
1345
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:136: T__33
1346
                {
1347
                mT__33(); 
1069
1348
1070
				}
1349
                }
1350
                break;
1351
            case 23 :
1352
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:142: T__34
1353
                {
1354
                mT__34(); 
1071
1355
1356
                }
1357
                break;
1358
            case 24 :
1359
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:148: T__35
1360
                {
1361
                mT__35(); 
1072
1362
1073
			}
1363
                }
1364
                break;
1365
            case 25 :
1366
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:154: T__36
1367
                {
1368
                mT__36(); 
1074
1369
1075
			this.type = _type;
1370
                }
1076
		} finally {
1371
                break;
1077
		}
1372
            case 26 :
1078
	}
1373
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:160: T__37
1374
                {
1375
                mT__37(); 
1079
1376
1080
	// $ANTLR end RULE_SL_COMMENT
1377
                }
1378
                break;
1379
            case 27 :
1380
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:166: RULE_UNLIMITEDLITERAL
1381
                {
1382
                mRULE_UNLIMITEDLITERAL(); 
1081
1383
1082
	// $ANTLR start RULE_WS
1384
                }
1083
	public final void mRULE_WS() throws RecognitionException {
1385
                break;
1084
		try {
1386
            case 28 :
1085
			int _type = RULE_WS;
1387
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:188: RULE_ID
1086
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1744:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
1388
                {
1087
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1744:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1389
                mRULE_ID(); 
1088
			{
1089
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1744:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1090
				int cnt13 = 0;
1091
				loop13: do {
1092
					int alt13 = 2;
1093
					int LA13_0 = input.LA(1);
1094
1390
1095
					if(((LA13_0 >= '\t' && LA13_0 <= '\n') || LA13_0 == '\r' || LA13_0 == ' ')) {
1391
                }
1096
						alt13 = 1;
1392
                break;
1097
					}
1393
            case 29 :
1394
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:196: RULE_INT
1395
                {
1396
                mRULE_INT(); 
1098
1397
1398
                }
1399
                break;
1400
            case 30 :
1401
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:205: RULE_STRING
1402
                {
1403
                mRULE_STRING(); 
1099
1404
1100
					switch(alt13) {
1405
                }
1101
					case 1:
1406
                break;
1102
						// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:
1407
            case 31 :
1103
					{
1408
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:217: RULE_ML_COMMENT
1104
						if((input.LA(1) >= '\t' && input.LA(1) <= '\n') || input.LA(1) == '\r' || input.LA(1) == ' ') {
1409
                {
1105
							input.consume();
1410
                mRULE_ML_COMMENT(); 
1106
1411
1107
						} else {
1412
                }
1108
							MismatchedSetException mse = new MismatchedSetException(null, input);
1413
                break;
1109
							recover(mse);
1414
            case 32 :
1110
							throw mse;
1415
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:233: RULE_SL_COMMENT
1111
						}
1416
                {
1417
                mRULE_SL_COMMENT(); 
1112
1418
1419
                }
1420
                break;
1421
            case 33 :
1422
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:249: RULE_WS
1423
                {
1424
                mRULE_WS(); 
1113
1425
1114
					}
1426
                }
1115
						break;
1427
                break;
1428
            case 34 :
1429
                // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:257: RULE_ANY_OTHER
1430
                {
1431
                mRULE_ANY_OTHER(); 
1116
1432
1117
					default:
1433
                }
1118
						if(cnt13 >= 1)
1434
                break;
1119
							break loop13;
1120
						EarlyExitException eee = new EarlyExitException(13, input);
1121
						throw eee;
1122
					}
1123
					cnt13++;
1124
				} while(true);
1125
1435
1436
        }
1126
1437
1127
			}
1438
    }
1128
1439
1129
			this.type = _type;
1130
		} finally {
1131
		}
1132
	}
1133
1440
1134
	// $ANTLR end RULE_WS
1441
    protected DFA14 dfa14 = new DFA14(this);
1442
    static final String DFA14_eotS =
1443
        "\1\uffff\1\35\7\41\4\uffff\1\41\1\60\5\uffff\1\35\1\67\1\uffff"+
1444
        "\1\35\1\uffff\3\35\3\uffff\2\41\1\uffff\10\41\4\uffff\1\111\11\uffff"+
1445
        "\1\67\4\uffff\4\41\1\116\7\41\1\uffff\4\41\1\uffff\3\41\1\135\12"+
1446
        "\41\1\uffff\2\41\1\152\2\41\1\155\1\41\1\157\1\160\1\161\1\162\1"+
1447
        "\163\1\uffff\1\41\2\uffff\1\165\5\uffff\1\41\1\uffff\1\167\1\uffff";
1448
    static final String DFA14_eofS =
1449
        "\170\uffff";
1450
    static final String DFA14_minS =
1451
        "\1\0\1\125\1\146\1\164\1\162\1\156\1\162\2\145\4\uffff\1\156\1"+
1452
        "\72\5\uffff\1\56\1\60\1\uffff\1\101\1\uffff\2\0\1\52\3\uffff\1\143"+
1453
        "\1\146\1\uffff\1\162\1\144\1\164\1\151\1\144\1\145\1\141\1\154\4"+
1454
        "\uffff\1\60\11\uffff\1\60\4\uffff\4\145\1\60\1\161\2\141\1\144\1"+
1455
        "\165\1\145\1\165\1\uffff\1\160\1\143\1\141\1\162\1\uffff\1\165\2"+
1456
        "\164\1\60\1\162\4\164\1\155\4\145\1\uffff\1\156\1\145\1\60\1\151"+
1457
        "\1\72\1\60\1\144\5\60\1\uffff\1\157\2\uffff\1\60\5\uffff\1\156\1"+
1458
        "\uffff\1\60\1\uffff";
1459
    static final String DFA14_maxS =
1460
        "\1\uffff\1\125\1\170\1\164\1\165\1\160\1\162\2\145\4\uffff\1\156"+
1461
        "\1\72\5\uffff\1\56\1\71\1\uffff\1\172\1\uffff\2\uffff\1\57\3\uffff"+
1462
        "\1\143\1\146\1\uffff\1\162\1\144\1\164\1\151\1\144\1\145\1\164\1"+
1463
        "\154\4\uffff\1\172\11\uffff\1\71\4\uffff\4\145\1\172\1\161\2\141"+
1464
        "\1\144\1\165\1\145\1\165\1\uffff\1\160\1\143\1\141\1\162\1\uffff"+
1465
        "\1\165\2\164\1\172\1\162\4\164\1\155\4\145\1\uffff\1\156\1\145\1"+
1466
        "\172\1\151\1\72\1\172\1\144\5\172\1\uffff\1\157\2\uffff\1\172\5"+
1467
        "\uffff\1\156\1\uffff\1\172\1\uffff";
1468
    static final String DFA14_acceptS =
1469
        "\11\uffff\1\12\1\13\1\14\1\15\2\uffff\1\23\1\24\1\25\1\30\1\31"+
1470
        "\2\uffff\1\33\1\uffff\1\34\3\uffff\1\41\1\42\1\1\2\uffff\1\34\10"+
1471
        "\uffff\1\12\1\13\1\14\1\15\1\uffff\1\27\1\22\1\23\1\24\1\25\1\30"+
1472
        "\1\31\1\32\1\33\1\uffff\1\36\1\37\1\40\1\41\14\uffff\1\16\4\uffff"+
1473
        "\1\17\16\uffff\1\7\14\uffff\1\20\1\uffff\1\26\1\3\1\uffff\1\5\1"+
1474
        "\10\1\6\1\21\1\11\1\uffff\1\4\1\uffff\1\2";
1475
    static final String DFA14_specialS =
1476
        "\1\0\30\uffff\1\2\1\1\135\uffff}>";
1477
    static final String[] DFA14_transitionS = {
1478
            "\11\35\2\34\2\35\1\34\22\35\1\34\1\35\1\31\1\13\3\35\1\32\2"+
1479
            "\35\1\26\1\11\1\21\1\12\1\24\1\33\12\25\1\16\1\35\1\1\4\35\32"+
1480
            "\30\1\22\1\35\1\23\1\27\1\30\1\35\2\30\1\6\1\10\1\2\3\30\1\15"+
1481
            "\5\30\1\4\2\30\1\7\1\3\1\30\1\5\5\30\1\17\1\35\1\20\1\14\uff81"+
1482
            "\35",
1483
            "\1\36",
1484
            "\1\40\21\uffff\1\37",
1485
            "\1\42",
1486
            "\1\43\2\uffff\1\44",
1487
            "\1\45\1\uffff\1\46",
1488
            "\1\47",
1489
            "\1\50",
1490
            "\1\51",
1491
            "",
1492
            "",
1493
            "",
1494
            "",
1495
            "\1\56",
1496
            "\1\57",
1497
            "",
1498
            "",
1499
            "",
1500
            "",
1501
            "",
1502
            "\1\66",
1503
            "\12\70",
1504
            "",
1505
            "\32\41\4\uffff\1\41\1\uffff\32\41",
1506
            "",
1507
            "\0\71",
1508
            "\0\71",
1509
            "\1\72\4\uffff\1\73",
1510
            "",
1511
            "",
1512
            "",
1513
            "\1\75",
1514
            "\1\76",
1515
            "",
1516
            "\1\77",
1517
            "\1\100",
1518
            "\1\101",
1519
            "\1\102",
1520
            "\1\103",
1521
            "\1\104",
1522
            "\1\105\22\uffff\1\106",
1523
            "\1\107",
1524
            "",
1525
            "",
1526
            "",
1527
            "",
1528
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\16\41\1\110\13\41",
1529
            "",
1530
            "",
1531
            "",
1532
            "",
1533
            "",
1534
            "",
1535
            "",
1536
            "",
1537
            "",
1538
            "\12\70",
1539
            "",
1540
            "",
1541
            "",
1542
            "",
1543
            "\1\112",
1544
            "\1\113",
1545
            "\1\114",
1546
            "\1\115",
1547
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1548
            "\1\117",
1549
            "\1\120",
1550
            "\1\121",
1551
            "\1\122",
1552
            "\1\123",
1553
            "\1\124",
1554
            "\1\125",
1555
            "",
1556
            "\1\126",
1557
            "\1\127",
1558
            "\1\130",
1559
            "\1\131",
1560
            "",
1561
            "\1\132",
1562
            "\1\133",
1563
            "\1\134",
1564
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1565
            "\1\136",
1566
            "\1\137",
1567
            "\1\140",
1568
            "\1\141",
1569
            "\1\142",
1570
            "\1\143",
1571
            "\1\144",
1572
            "\1\145",
1573
            "\1\146",
1574
            "\1\147",
1575
            "",
1576
            "\1\150",
1577
            "\1\151",
1578
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1579
            "\1\153",
1580
            "\1\154",
1581
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1582
            "\1\156",
1583
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1584
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1585
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1586
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1587
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1588
            "",
1589
            "\1\164",
1590
            "",
1591
            "",
1592
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1593
            "",
1594
            "",
1595
            "",
1596
            "",
1597
            "",
1598
            "\1\166",
1599
            "",
1600
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1601
            ""
1602
    };
1135
1603
1136
	// $ANTLR start RULE_ANY_OTHER
1604
    static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS);
1137
	public final void mRULE_ANY_OTHER() throws RecognitionException {
1605
    static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS);
1138
		try {
1606
    static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS);
1139
			int _type = RULE_ANY_OTHER;
1607
    static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS);
1140
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1746:16: ( . )
1608
    static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS);
1141
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1746:18: .
1609
    static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS);
1142
			{
1610
    static final short[][] DFA14_transition;
1143
				matchAny();
1144
1611
1145
			}
1612
    static {
1613
        int numStates = DFA14_transitionS.length;
1614
        DFA14_transition = new short[numStates][];
1615
        for (int i=0; i<numStates; i++) {
1616
            DFA14_transition[i] = DFA.unpackEncodedString(DFA14_transitionS[i]);
1617
        }
1618
    }
1146
1619
1147
			this.type = _type;
1620
    class DFA14 extends DFA {
1148
		} finally {
1149
		}
1150
	}
1151
1621
1152
	// $ANTLR end RULE_ANY_OTHER
1622
        public DFA14(BaseRecognizer recognizer) {
1623
            this.recognizer = recognizer;
1624
            this.decisionNumber = 14;
1625
            this.eot = DFA14_eot;
1626
            this.eof = DFA14_eof;
1627
            this.min = DFA14_min;
1628
            this.max = DFA14_max;
1629
            this.accept = DFA14_accept;
1630
            this.special = DFA14_special;
1631
            this.transition = DFA14_transition;
1632
        }
1633
        public String getDescription() {
1634
            return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
1635
        }
1636
        public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
1637
            IntStream input = _input;
1638
        	int _s = s;
1639
            switch ( s ) {
1640
                    case 0 : 
1641
                        int LA14_0 = input.LA(1);
1153
1642
1154
	public void mTokens() throws RecognitionException {
1643
                        s = -1;
1155
		// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:8: ( T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
1644
                        if ( (LA14_0=='<') ) {s = 1;}
1156
		int alt14 = 34;
1157
		alt14 = dfa14.predict(input);
1158
		switch(alt14) {
1159
		case 1:
1160
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:10: T12
1161
		{
1162
			mT12();
1163
1645
1164
		}
1646
                        else if ( (LA14_0=='e') ) {s = 2;}
1165
			break;
1166
		case 2:
1167
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:14: T13
1168
		{
1169
			mT13();
1170
1647
1171
		}
1648
                        else if ( (LA14_0=='s') ) {s = 3;}
1172
			break;
1173
		case 3:
1174
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:18: T14
1175
		{
1176
			mT14();
1177
1649
1178
		}
1650
                        else if ( (LA14_0=='o') ) {s = 4;}
1179
			break;
1180
		case 4:
1181
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:22: T15
1182
		{
1183
			mT15();
1184
1651
1185
		}
1652
                        else if ( (LA14_0=='u') ) {s = 5;}
1186
			break;
1187
		case 5:
1188
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:26: T16
1189
		{
1190
			mT16();
1191
1653
1192
		}
1654
                        else if ( (LA14_0=='c') ) {s = 6;}
1193
			break;
1194
		case 6:
1195
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:30: T17
1196
		{
1197
			mT17();
1198
1655
1199
		}
1656
                        else if ( (LA14_0=='r') ) {s = 7;}
1200
			break;
1201
		case 7:
1202
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:34: T18
1203
		{
1204
			mT18();
1205
1657
1206
		}
1658
                        else if ( (LA14_0=='d') ) {s = 8;}
1207
			break;
1208
		case 8:
1209
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:38: T19
1210
		{
1211
			mT19();
1212
1659
1213
		}
1660
                        else if ( (LA14_0=='+') ) {s = 9;}
1214
			break;
1215
		case 9:
1216
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:42: T20
1217
		{
1218
			mT20();
1219
1661
1220
		}
1662
                        else if ( (LA14_0=='-') ) {s = 10;}
1221
			break;
1222
		case 10:
1223
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:46: T21
1224
		{
1225
			mT21();
1226
1663
1227
		}
1664
                        else if ( (LA14_0=='#') ) {s = 11;}
1228
			break;
1229
		case 11:
1230
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:50: T22
1231
		{
1232
			mT22();
1233
1665
1234
		}
1666
                        else if ( (LA14_0=='~') ) {s = 12;}
1235
			break;
1236
		case 12:
1237
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:54: T23
1238
		{
1239
			mT23();
1240
1667
1241
		}
1668
                        else if ( (LA14_0=='i') ) {s = 13;}
1242
			break;
1243
		case 13:
1244
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:58: T24
1245
		{
1246
			mT24();
1247
1669
1248
		}
1670
                        else if ( (LA14_0==':') ) {s = 14;}
1249
			break;
1250
		case 14:
1251
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:62: T25
1252
		{
1253
			mT25();
1254
1671
1255
		}
1672
                        else if ( (LA14_0=='{') ) {s = 15;}
1256
			break;
1257
		case 15:
1258
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:66: T26
1259
		{
1260
			mT26();
1261
1673
1262
		}
1674
                        else if ( (LA14_0=='}') ) {s = 16;}
1263
			break;
1264
		case 16:
1265
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:70: T27
1266
		{
1267
			mT27();
1268
1675
1269
		}
1676
                        else if ( (LA14_0==',') ) {s = 17;}
1270
			break;
1271
		case 17:
1272
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:74: T28
1273
		{
1274
			mT28();
1275
1677
1276
		}
1678
                        else if ( (LA14_0=='[') ) {s = 18;}
1277
			break;
1278
		case 18:
1279
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:78: T29
1280
		{
1281
			mT29();
1282
1679
1283
		}
1680
                        else if ( (LA14_0==']') ) {s = 19;}
1284
			break;
1285
		case 19:
1286
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:82: T30
1287
		{
1288
			mT30();
1289
1681
1290
		}
1682
                        else if ( (LA14_0=='.') ) {s = 20;}
1291
			break;
1292
		case 20:
1293
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:86: T31
1294
		{
1295
			mT31();
1296
1683
1297
		}
1684
                        else if ( ((LA14_0>='0' && LA14_0<='9')) ) {s = 21;}
1298
			break;
1299
		case 21:
1300
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:90: T32
1301
		{
1302
			mT32();
1303
1685
1304
		}
1686
                        else if ( (LA14_0=='*') ) {s = 22;}
1305
			break;
1306
		case 22:
1307
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:94: T33
1308
		{
1309
			mT33();
1310
1687
1311
		}
1688
                        else if ( (LA14_0=='^') ) {s = 23;}
1312
			break;
1313
		case 23:
1314
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:98: T34
1315
		{
1316
			mT34();
1317
1689
1318
		}
1690
                        else if ( ((LA14_0>='A' && LA14_0<='Z')||LA14_0=='_'||(LA14_0>='a' && LA14_0<='b')||(LA14_0>='f' && LA14_0<='h')||(LA14_0>='j' && LA14_0<='n')||(LA14_0>='p' && LA14_0<='q')||LA14_0=='t'||(LA14_0>='v' && LA14_0<='z')) ) {s = 24;}
1319
			break;
1320
		case 24:
1321
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:102: T35
1322
		{
1323
			mT35();
1324
1691
1325
		}
1692
                        else if ( (LA14_0=='\"') ) {s = 25;}
1326
			break;
1327
		case 25:
1328
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:106: T36
1329
		{
1330
			mT36();
1331
1693
1332
		}
1694
                        else if ( (LA14_0=='\'') ) {s = 26;}
1333
			break;
1334
		case 26:
1335
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:110: T37
1336
		{
1337
			mT37();
1338
1695
1339
		}
1696
                        else if ( (LA14_0=='/') ) {s = 27;}
1340
			break;
1341
		case 27:
1342
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:114: RULE_UNLIMITEDLITERAL
1343
		{
1344
			mRULE_UNLIMITEDLITERAL();
1345
1697
1346
		}
1698
                        else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 28;}
1347
			break;
1348
		case 28:
1349
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:136: RULE_ID
1350
		{
1351
			mRULE_ID();
1352
1699
1353
		}
1700
                        else if ( ((LA14_0>='\u0000' && LA14_0<='\b')||(LA14_0>='\u000B' && LA14_0<='\f')||(LA14_0>='\u000E' && LA14_0<='\u001F')||LA14_0=='!'||(LA14_0>='$' && LA14_0<='&')||(LA14_0>='(' && LA14_0<=')')||LA14_0==';'||(LA14_0>='=' && LA14_0<='@')||LA14_0=='\\'||LA14_0=='`'||LA14_0=='|'||(LA14_0>='\u007F' && LA14_0<='\uFFFF')) ) {s = 29;}
1354
			break;
1355
		case 29:
1356
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:144: RULE_INT
1357
		{
1358
			mRULE_INT();
1359
1701
1360
		}
1702
                        if ( s>=0 ) return s;
1361
			break;
1703
                        break;
1362
		case 30:
1704
                    case 1 : 
1363
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:153: RULE_STRING
1705
                        int LA14_26 = input.LA(1);
1364
		{
1365
			mRULE_STRING();
1366
1706
1367
		}
1707
                        s = -1;
1368
			break;
1708
                        if ( ((LA14_26>='\u0000' && LA14_26<='\uFFFF')) ) {s = 57;}
1369
		case 31:
1370
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:165: RULE_ML_COMMENT
1371
		{
1372
			mRULE_ML_COMMENT();
1373
1709
1374
		}
1710
                        else s = 29;
1375
			break;
1376
		case 32:
1377
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:181: RULE_SL_COMMENT
1378
		{
1379
			mRULE_SL_COMMENT();
1380
1711
1381
		}
1712
                        if ( s>=0 ) return s;
1382
			break;
1713
                        break;
1383
		case 33:
1714
                    case 2 : 
1384
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:197: RULE_WS
1715
                        int LA14_25 = input.LA(1);
1385
		{
1386
			mRULE_WS();
1387
1716
1388
		}
1717
                        s = -1;
1389
			break;
1718
                        if ( ((LA14_25>='\u0000' && LA14_25<='\uFFFF')) ) {s = 57;}
1390
		case 34:
1391
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1:205: RULE_ANY_OTHER
1392
		{
1393
			mRULE_ANY_OTHER();
1394
1719
1395
		}
1720
                        else s = 29;
1396
			break;
1397
1721
1398
		}
1722
                        if ( s>=0 ) return s;
1723
                        break;
1724
            }
1725
            NoViableAltException nvae =
1726
                new NoViableAltException(getDescription(), 14, _s, input);
1727
            error(nvae);
1728
            throw nvae;
1729
        }
1730
    }
1731
 
1399
1732
1400
	}
1733
}
1401
1402
1403
	protected DFA14 dfa14 = new DFA14(this);
1404
1405
	static final String DFA14_eotS = "\1\uffff\1\35\7\41\4\uffff\1\41\1\60\5\uffff\1\35\1\67\1\uffff\1" + "\35\1\uffff\3\35\3\uffff\2\41\1\uffff\10\41\4\uffff\1\111\11\uffff" + "\1\67\4\uffff\3\41\1\115\10\41\1\uffff\3\41\1\uffff\4\41\1\135\12" + "\41\1\uffff\2\41\1\152\2\41\1\155\1\41\1\157\1\160\1\161\1\162\1" + "\163\2\uffff\1\41\1\uffff\1\165\5\uffff\1\41\1\uffff\1\167\1\uffff";
1406
1407
	static final String DFA14_eofS = "\170\uffff";
1408
1409
	static final String DFA14_minS = "\1\0\1\125\1\146\1\164\1\162\1\156\1\162\2\145\4\uffff\1\156\1\72" + "\5\uffff\1\56\1\60\1\uffff\1\101\1\uffff\2\0\1\52\3\uffff\1\146" + "\1\143\1\uffff\1\162\1\164\1\144\1\151\1\144\1\145\1\141\1\154\4" + "\uffff\1\60\11\uffff\1\60\4\uffff\3\145\1\60\1\145\1\161\2\141\1" + "\144\1\165\1\145\1\165\1\uffff\1\143\1\160\1\141\1\uffff\1\162\1" + "\165\2\164\1\60\1\162\4\164\1\155\4\145\1\uffff\1\156\1\145\1\60" + "\1\72\1\151\1\60\1\144\5\60\2\uffff\1\157\1\uffff\1\60\5\uffff\1" + "\156\1\uffff\1\60\1\uffff";
1410
1411
	static final String DFA14_maxS = "\1\ufffe\1\125\1\170\1\164\1\165\1\160\1\162\2\145\4\uffff\1\156" + "\1\72\5\uffff\1\56\1\71\1\uffff\1\172\1\uffff\2\ufffe\1\57\3\uffff" + "\1\146\1\143\1\uffff\1\162\1\164\1\144\1\151\1\144\1\145\1\164\1" + "\154\4\uffff\1\172\11\uffff\1\71\4\uffff\3\145\1\172\1\145\1\161" + "\2\141\1\144\1\165\1\145\1\165\1\uffff\1\143\1\160\1\141\1\uffff" + "\1\162\1\165\2\164\1\172\1\162\4\164\1\155\4\145\1\uffff\1\156\1" + "\145\1\172\1\72\1\151\1\172\1\144\5\172\2\uffff\1\157\1\uffff\1" + "\172\5\uffff\1\156\1\uffff\1\172\1\uffff";
1412
1413
	static final String DFA14_acceptS = "\11\uffff\1\12\1\13\1\14\1\15\2\uffff\1\23\1\24\1\25\1\30\1\31\2" + "\uffff\1\33\1\uffff\1\34\3\uffff\1\41\1\42\1\1\2\uffff\1\34\10\uffff" + "\1\12\1\13\1\14\1\15\1\uffff\1\27\1\22\1\23\1\24\1\25\1\30\1\31" + "\1\32\1\33\1\uffff\1\36\1\40\1\37\1\41\14\uffff\1\16\3\uffff\1\17" + "\17\uffff\1\7\14\uffff\1\20\1\26\1\uffff\1\3\1\uffff\1\5\1\10\1" + "\6\1\21\1\11\1\uffff\1\4\1\uffff\1\2";
1414
1415
	static final String DFA14_specialS = "\170\uffff}>";
1416
1417
	static final String[] DFA14_transitionS = { "\11\35\2\34\2\35\1\34\22\35\1\34\1\35\1\31\1\13\3\35\1\32\2" + "\35\1\26\1\11\1\21\1\12\1\24\1\33\12\25\1\16\1\35\1\1\4\35\32" + "\30\1\22\1\35\1\23\1\27\1\30\1\35\2\30\1\6\1\10\1\2\3\30\1\15" + "\5\30\1\4\2\30\1\7\1\3\1\30\1\5\5\30\1\17\1\35\1\20\1\14\uff80" + "\35", "\1\36", "\1\37\21\uffff\1\40", "\1\42", "\1\44\2\uffff\1\43", "\1\45\1\uffff\1\46", "\1\47", "\1\50", "\1\51", "", "", "", "", "\1\56", "\1\57", "", "", "", "", "", "\1\66", "\12\70", "", "\32\41\4\uffff\1\41\1\uffff\32\41", "", "\uffff\71", "\uffff\71", "\1\73\4\uffff\1\72", "", "", "", "\1\75", "\1\76", "", "\1\77", "\1\100", "\1\101", "\1\102", "\1\103", "\1\104", "\1\105\22\uffff\1\106", "\1\107", "", "", "", "", "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\16\41\1\110\13\41", "", "", "", "", "", "", "", "", "", "\12\70", "", "", "", "", "\1\112", "\1\113", "\1\114", "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\1\116", "\1\117", "\1\120", "\1\121", "\1\122", "\1\123", "\1\124", "\1\125", "", "\1\126", "\1\127", "\1\130", "", "\1\131", "\1\132", "\1\133", "\1\134", "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\1\136", "\1\137", "\1\140", "\1\141", "\1\142", "\1\143", "\1\144", "\1\145", "\1\146", "\1\147", "", "\1\150", "\1\151", "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\1\153", "\1\154", "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\1\156", "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "", "", "\1\164", "", "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "", "", "", "", "", "\1\166", "", "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "" };
1418
1419
	static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS);
1420
1421
	static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS);
1422
1423
	static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS);
1424
1425
	static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS);
1426
1427
	static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS);
1428
1429
	static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS);
1430
1431
	static final short[][] DFA14_transition;
1432
1433
	static {
1434
		int numStates = DFA14_transitionS.length;
1435
		DFA14_transition = new short[numStates][];
1436
		for(int i = 0; i < numStates; i++) {
1437
			DFA14_transition[i] = DFA.unpackEncodedString(DFA14_transitionS[i]);
1438
		}
1439
	}
1440
1441
	class DFA14 extends DFA {
1442
1443
		public DFA14(BaseRecognizer recognizer) {
1444
			this.recognizer = recognizer;
1445
			this.decisionNumber = 14;
1446
			this.eot = DFA14_eot;
1447
			this.eof = DFA14_eof;
1448
			this.min = DFA14_min;
1449
			this.max = DFA14_max;
1450
			this.accept = DFA14_accept;
1451
			this.special = DFA14_special;
1452
			this.transition = DFA14_transition;
1453
		}
1454
1455
		public String getDescription() {
1456
			return "1:1: Tokens : ( T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
1457
		}
1458
	}
1459
1460
1461
}
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g (-1 / +1 lines)
Lines 1735-1741 Link Here
1735
1735
1736
RULE_INT : ('0'..'9')+;
1736
RULE_INT : ('0'..'9')+;
1737
1737
1738
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
1738
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
1739
1739
1740
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
1740
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
1741
1741
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.tokens (-3 / +29 lines)
Lines 1-11 Link Here
1
RULE_ID=4
1
RULE_ID=4
2
RULE_STRING=7
3
RULE_UNLIMITEDLITERAL=5
2
RULE_UNLIMITEDLITERAL=5
3
T__29=29
4
T__28=28
5
T__27=27
6
T__26=26
7
T__25=25
8
T__24=24
9
T__23=23
10
T__22=22
4
RULE_ANY_OTHER=11
11
RULE_ANY_OTHER=11
5
RULE_INT=6
12
T__21=21
6
RULE_WS=10
13
T__20=20
7
RULE_SL_COMMENT=9
14
RULE_SL_COMMENT=9
8
RULE_ML_COMMENT=8
15
RULE_ML_COMMENT=8
16
T__30=30
17
T__19=19
18
T__31=31
19
RULE_STRING=7
20
T__32=32
21
T__33=33
22
T__16=16
23
T__34=34
24
T__15=15
25
T__35=35
26
T__18=18
27
T__36=36
28
T__17=17
29
T__37=37
30
T__12=12
31
T__14=14
32
T__13=13
33
RULE_INT=6
34
RULE_WS=10
9
'..'=37
35
'..'=37
10
'update'=19
36
'update'=19
11
'ordered'=15
37
'ordered'=15
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameterParser.java (-3531 / +3613 lines)
Lines 1-17 Link Here
1
/*****************************************************************************
1
package org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist.antlr.internal; 
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.parameter.editor.xtext.ui.contentassist.antlr.internal;
15
2
16
import java.io.InputStream;
3
import java.io.InputStream;
17
import org.eclipse.xtext.*;
4
import org.eclipse.xtext.*;
Lines 26-31 Link Here
26
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA;
13
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA;
27
import org.eclipse.papyrus.parameter.editor.xtext.services.UmlParameterGrammarAccess;
14
import org.eclipse.papyrus.parameter.editor.xtext.services.UmlParameterGrammarAccess;
28
15
16
17
29
import org.antlr.runtime.*;
18
import org.antlr.runtime.*;
30
import java.util.Stack;
19
import java.util.Stack;
31
import java.util.List;
20
import java.util.List;
Lines 33-4746 Link Here
33
22
34
@SuppressWarnings("all")
23
@SuppressWarnings("all")
35
public class InternalUmlParameterParser extends AbstractInternalContentAssistParser {
24
public class InternalUmlParameterParser extends AbstractInternalContentAssistParser {
36
25
    public static final String[] tokenNames = new String[] {
37
	public static final String[] tokenNames = new String[]{ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_UNLIMITEDLITERAL", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'<Undefined>'", "'exception'", "'stream'", "'ordered'", "'unique'", "'create'", "'read'", "'update'", "'delete'", "'+'", "'-'", "'#'", "'~'", "'in'", "'out'", "'inout'", "'return'", "':'", "'{'", "'}'", "','", "'effect: '", "'::'", "'['", "']'", "'..'" };
26
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_UNLIMITEDLITERAL", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'<Undefined>'", "'exception'", "'stream'", "'ordered'", "'unique'", "'create'", "'read'", "'update'", "'delete'", "'+'", "'-'", "'#'", "'~'", "'in'", "'out'", "'inout'", "'return'", "':'", "'{'", "'}'", "','", "'effect: '", "'::'", "'['", "']'", "'..'"
38
27
    };
39
	public static final int RULE_ID = 4;
28
    public static final int RULE_ID=4;
40
29
    public static final int RULE_UNLIMITEDLITERAL=5;
41
	public static final int RULE_STRING = 7;
30
    public static final int T__29=29;
42
31
    public static final int T__28=28;
43
	public static final int RULE_UNLIMITEDLITERAL = 5;
32
    public static final int T__27=27;
44
33
    public static final int T__26=26;
45
	public static final int RULE_ANY_OTHER = 11;
34
    public static final int T__25=25;
46
35
    public static final int T__24=24;
47
	public static final int RULE_INT = 6;
36
    public static final int T__23=23;
48
37
    public static final int T__22=22;
49
	public static final int RULE_WS = 10;
38
    public static final int RULE_ANY_OTHER=11;
50
39
    public static final int T__21=21;
51
	public static final int RULE_SL_COMMENT = 9;
40
    public static final int T__20=20;
52
41
    public static final int RULE_SL_COMMENT=9;
53
	public static final int EOF = -1;
42
    public static final int EOF=-1;
54
43
    public static final int RULE_ML_COMMENT=8;
55
	public static final int RULE_ML_COMMENT = 8;
44
    public static final int T__30=30;
56
45
    public static final int T__19=19;
57
	public InternalUmlParameterParser(TokenStream input) {
46
    public static final int T__31=31;
58
		super(input);
47
    public static final int RULE_STRING=7;
59
	}
48
    public static final int T__32=32;
60
49
    public static final int T__33=33;
61
50
    public static final int T__16=16;
62
	public String[] getTokenNames() {
51
    public static final int T__34=34;
63
		return tokenNames;
52
    public static final int T__15=15;
64
	}
53
    public static final int T__35=35;
65
54
    public static final int T__18=18;
66
	public String getGrammarFileName() {
55
    public static final int T__36=36;
67
		return "../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g";
56
    public static final int T__17=17;
68
	}
57
    public static final int T__37=37;
69
58
    public static final int T__12=12;
70
59
    public static final int T__14=14;
71
60
    public static final int T__13=13;
72
	private UmlParameterGrammarAccess grammarAccess;
61
    public static final int RULE_INT=6;
73
62
    public static final int RULE_WS=10;
74
	public void setGrammarAccess(UmlParameterGrammarAccess grammarAccess) {
75
		this.grammarAccess = grammarAccess;
76
	}
77
78
	@Override
79
	protected Grammar getGrammar() {
80
		return grammarAccess.getGrammar();
81
	}
82
83
	@Override
84
	protected String getValueForTokenName(String tokenName) {
85
		return tokenName;
86
	}
87
88
89
90
91
	// $ANTLR start entryRuleParameterRule
92
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:61:1: entryRuleParameterRule : ruleParameterRule EOF ;
93
	public final void entryRuleParameterRule() throws RecognitionException {
94
		try {
95
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:62:1: ( ruleParameterRule EOF )
96
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:63:1: ruleParameterRule EOF
97
			{
98
				before(grammarAccess.getParameterRuleRule());
99
				pushFollow(FOLLOW_ruleParameterRule_in_entryRuleParameterRule61);
100
				ruleParameterRule();
101
				_fsp--;
102
103
				after(grammarAccess.getParameterRuleRule());
104
				match(input, EOF, FOLLOW_EOF_in_entryRuleParameterRule68);
105
106
			}
107
108
		} catch (RecognitionException re) {
109
			reportError(re);
110
			recover(input, re);
111
		} finally {
112
		}
113
		return;
114
	}
115
116
	// $ANTLR end entryRuleParameterRule
117
118
63
119
	// $ANTLR start ruleParameterRule
64
    // delegates
120
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:70:1: ruleParameterRule : ( ( rule__ParameterRule__Group__0 ) ) ;
65
    // delegators
121
	public final void ruleParameterRule() throws RecognitionException {
122
66
123
		int stackSize = keepStackSize();
124
67
125
		try {
68
        public InternalUmlParameterParser(TokenStream input) {
126
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:74:2: ( ( ( rule__ParameterRule__Group__0 ) ) )
69
            this(input, new RecognizerSharedState());
127
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:75:1: ( ( rule__ParameterRule__Group__0 ) )
70
        }
128
			{
71
        public InternalUmlParameterParser(TokenStream input, RecognizerSharedState state) {
129
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:75:1: ( ( rule__ParameterRule__Group__0 ) )
72
            super(input, state);
130
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:76:1: ( rule__ParameterRule__Group__0 )
73
             
131
				{
74
        }
132
					before(grammarAccess.getParameterRuleAccess().getGroup());
75
        
133
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:77:1: ( rule__ParameterRule__Group__0 )
134
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:77:2: rule__ParameterRule__Group__0
135
					{
136
						pushFollow(FOLLOW_rule__ParameterRule__Group__0_in_ruleParameterRule94);
137
						rule__ParameterRule__Group__0();
138
						_fsp--;
139
76
77
    public String[] getTokenNames() { return InternalUmlParameterParser.tokenNames; }
78
    public String getGrammarFileName() { return "../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g"; }
140
79
141
					}
142
80
143
					after(grammarAccess.getParameterRuleAccess().getGroup());
81
     
82
     	private UmlParameterGrammarAccess grammarAccess;
83
     	
84
        public void setGrammarAccess(UmlParameterGrammarAccess grammarAccess) {
85
        	this.grammarAccess = grammarAccess;
86
        }
87
        
88
        @Override
89
        protected Grammar getGrammar() {
90
        	return grammarAccess.getGrammar();
91
        }
92
        
93
        @Override
94
        protected String getValueForTokenName(String tokenName) {
95
        	return tokenName;
96
        }
144
97
145
				}
146
98
147
99
148
			}
149
100
150
		} catch (RecognitionException re) {
101
    // $ANTLR start "entryRuleParameterRule"
151
			reportError(re);
102
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:61:1: entryRuleParameterRule : ruleParameterRule EOF ;
152
			recover(input, re);
103
    public final void entryRuleParameterRule() throws RecognitionException {
153
		} finally {
104
        try {
105
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:62:1: ( ruleParameterRule EOF )
106
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:63:1: ruleParameterRule EOF
107
            {
108
             before(grammarAccess.getParameterRuleRule()); 
109
            pushFollow(FOLLOW_ruleParameterRule_in_entryRuleParameterRule61);
110
            ruleParameterRule();
154
111
155
			restoreStackSize(stackSize);
112
            state._fsp--;
156
113
157
		}
114
             after(grammarAccess.getParameterRuleRule()); 
158
		return;
115
            match(input,EOF,FOLLOW_EOF_in_entryRuleParameterRule68); 
159
	}
160
116
161
	// $ANTLR end ruleParameterRule
117
            }
162
118
119
        }
120
        catch (RecognitionException re) {
121
            reportError(re);
122
            recover(input,re);
123
        }
124
        finally {
125
        }
126
        return ;
127
    }
128
    // $ANTLR end "entryRuleParameterRule"
163
129
164
	// $ANTLR start entryRuleModifiersRule
165
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:89:1: entryRuleModifiersRule : ruleModifiersRule EOF ;
166
	public final void entryRuleModifiersRule() throws RecognitionException {
167
		try {
168
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:90:1: ( ruleModifiersRule EOF )
169
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:91:1: ruleModifiersRule EOF
170
			{
171
				before(grammarAccess.getModifiersRuleRule());
172
				pushFollow(FOLLOW_ruleModifiersRule_in_entryRuleModifiersRule121);
173
				ruleModifiersRule();
174
				_fsp--;
175
130
176
				after(grammarAccess.getModifiersRuleRule());
131
    // $ANTLR start "ruleParameterRule"
177
				match(input, EOF, FOLLOW_EOF_in_entryRuleModifiersRule128);
132
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:70:1: ruleParameterRule : ( ( rule__ParameterRule__Group__0 ) ) ;
133
    public final void ruleParameterRule() throws RecognitionException {
178
134
179
			}
135
        		int stackSize = keepStackSize();
136
            
137
        try {
138
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:74:2: ( ( ( rule__ParameterRule__Group__0 ) ) )
139
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:75:1: ( ( rule__ParameterRule__Group__0 ) )
140
            {
141
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:75:1: ( ( rule__ParameterRule__Group__0 ) )
142
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:76:1: ( rule__ParameterRule__Group__0 )
143
            {
144
             before(grammarAccess.getParameterRuleAccess().getGroup()); 
145
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:77:1: ( rule__ParameterRule__Group__0 )
146
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:77:2: rule__ParameterRule__Group__0
147
            {
148
            pushFollow(FOLLOW_rule__ParameterRule__Group__0_in_ruleParameterRule94);
149
            rule__ParameterRule__Group__0();
180
150
181
		} catch (RecognitionException re) {
151
            state._fsp--;
182
			reportError(re);
183
			recover(input, re);
184
		} finally {
185
		}
186
		return;
187
	}
188
152
189
	// $ANTLR end entryRuleModifiersRule
190
153
154
            }
191
155
192
	// $ANTLR start ruleModifiersRule
156
             after(grammarAccess.getParameterRuleAccess().getGroup()); 
193
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:98:1: ruleModifiersRule : ( ( rule__ModifiersRule__Group__0 ) ) ;
194
	public final void ruleModifiersRule() throws RecognitionException {
195
157
196
		int stackSize = keepStackSize();
158
            }
197
159
198
		try {
199
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:102:2: ( ( ( rule__ModifiersRule__Group__0 ) ) )
200
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:103:1: ( ( rule__ModifiersRule__Group__0 ) )
201
			{
202
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:103:1: ( ( rule__ModifiersRule__Group__0 ) )
203
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:104:1: ( rule__ModifiersRule__Group__0 )
204
				{
205
					before(grammarAccess.getModifiersRuleAccess().getGroup());
206
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:105:1: ( rule__ModifiersRule__Group__0 )
207
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:105:2: rule__ModifiersRule__Group__0
208
					{
209
						pushFollow(FOLLOW_rule__ModifiersRule__Group__0_in_ruleModifiersRule154);
210
						rule__ModifiersRule__Group__0();
211
						_fsp--;
212
160
161
            }
213
162
214
					}
163
        }
164
        catch (RecognitionException re) {
165
            reportError(re);
166
            recover(input,re);
167
        }
168
        finally {
215
169
216
					after(grammarAccess.getModifiersRuleAccess().getGroup());
170
            	restoreStackSize(stackSize);
217
171
218
				}
172
        }
173
        return ;
174
    }
175
    // $ANTLR end "ruleParameterRule"
219
176
220
177
221
			}
178
    // $ANTLR start "entryRuleModifiersRule"
179
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:89:1: entryRuleModifiersRule : ruleModifiersRule EOF ;
180
    public final void entryRuleModifiersRule() throws RecognitionException {
181
        try {
182
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:90:1: ( ruleModifiersRule EOF )
183
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:91:1: ruleModifiersRule EOF
184
            {
185
             before(grammarAccess.getModifiersRuleRule()); 
186
            pushFollow(FOLLOW_ruleModifiersRule_in_entryRuleModifiersRule121);
187
            ruleModifiersRule();
222
188
223
		} catch (RecognitionException re) {
189
            state._fsp--;
224
			reportError(re);
225
			recover(input, re);
226
		} finally {
227
190
228
			restoreStackSize(stackSize);
191
             after(grammarAccess.getModifiersRuleRule()); 
192
            match(input,EOF,FOLLOW_EOF_in_entryRuleModifiersRule128); 
229
193
230
		}
194
            }
231
		return;
232
	}
233
195
234
	// $ANTLR end ruleModifiersRule
196
        }
197
        catch (RecognitionException re) {
198
            reportError(re);
199
            recover(input,re);
200
        }
201
        finally {
202
        }
203
        return ;
204
    }
205
    // $ANTLR end "entryRuleModifiersRule"
235
206
236
207
237
	// $ANTLR start entryRuleModifierSpecification
208
    // $ANTLR start "ruleModifiersRule"
238
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:117:1: entryRuleModifierSpecification : ruleModifierSpecification EOF ;
209
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:98:1: ruleModifiersRule : ( ( rule__ModifiersRule__Group__0 ) ) ;
239
	public final void entryRuleModifierSpecification() throws RecognitionException {
210
    public final void ruleModifiersRule() throws RecognitionException {
240
		try {
241
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:118:1: ( ruleModifierSpecification EOF )
242
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:119:1: ruleModifierSpecification EOF
243
			{
244
				before(grammarAccess.getModifierSpecificationRule());
245
				pushFollow(FOLLOW_ruleModifierSpecification_in_entryRuleModifierSpecification181);
246
				ruleModifierSpecification();
247
				_fsp--;
248
211
249
				after(grammarAccess.getModifierSpecificationRule());
212
        		int stackSize = keepStackSize();
250
				match(input, EOF, FOLLOW_EOF_in_entryRuleModifierSpecification188);
213
            
214
        try {
215
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:102:2: ( ( ( rule__ModifiersRule__Group__0 ) ) )
216
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:103:1: ( ( rule__ModifiersRule__Group__0 ) )
217
            {
218
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:103:1: ( ( rule__ModifiersRule__Group__0 ) )
219
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:104:1: ( rule__ModifiersRule__Group__0 )
220
            {
221
             before(grammarAccess.getModifiersRuleAccess().getGroup()); 
222
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:105:1: ( rule__ModifiersRule__Group__0 )
223
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:105:2: rule__ModifiersRule__Group__0
224
            {
225
            pushFollow(FOLLOW_rule__ModifiersRule__Group__0_in_ruleModifiersRule154);
226
            rule__ModifiersRule__Group__0();
251
227
252
			}
228
            state._fsp--;
253
229
254
		} catch (RecognitionException re) {
255
			reportError(re);
256
			recover(input, re);
257
		} finally {
258
		}
259
		return;
260
	}
261
230
262
	// $ANTLR end entryRuleModifierSpecification
231
            }
263
232
233
             after(grammarAccess.getModifiersRuleAccess().getGroup()); 
264
234
265
	// $ANTLR start ruleModifierSpecification
235
            }
266
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:126:1: ruleModifierSpecification : ( ( rule__ModifierSpecification__ValueAssignment ) ) ;
267
	public final void ruleModifierSpecification() throws RecognitionException {
268
236
269
		int stackSize = keepStackSize();
270
237
271
		try {
238
            }
272
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:130:2: ( ( ( rule__ModifierSpecification__ValueAssignment ) ) )
273
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:131:1: ( ( rule__ModifierSpecification__ValueAssignment ) )
274
			{
275
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:131:1: ( ( rule__ModifierSpecification__ValueAssignment ) )
276
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:132:1: ( rule__ModifierSpecification__ValueAssignment )
277
				{
278
					before(grammarAccess.getModifierSpecificationAccess().getValueAssignment());
279
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:133:1: ( rule__ModifierSpecification__ValueAssignment )
280
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:133:2: rule__ModifierSpecification__ValueAssignment
281
					{
282
						pushFollow(FOLLOW_rule__ModifierSpecification__ValueAssignment_in_ruleModifierSpecification214);
283
						rule__ModifierSpecification__ValueAssignment();
284
						_fsp--;
285
239
240
        }
241
        catch (RecognitionException re) {
242
            reportError(re);
243
            recover(input,re);
244
        }
245
        finally {
286
246
287
					}
247
            	restoreStackSize(stackSize);
288
248
289
					after(grammarAccess.getModifierSpecificationAccess().getValueAssignment());
249
        }
250
        return ;
251
    }
252
    // $ANTLR end "ruleModifiersRule"
290
253
291
				}
292
254
255
    // $ANTLR start "entryRuleModifierSpecification"
256
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:117:1: entryRuleModifierSpecification : ruleModifierSpecification EOF ;
257
    public final void entryRuleModifierSpecification() throws RecognitionException {
258
        try {
259
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:118:1: ( ruleModifierSpecification EOF )
260
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:119:1: ruleModifierSpecification EOF
261
            {
262
             before(grammarAccess.getModifierSpecificationRule()); 
263
            pushFollow(FOLLOW_ruleModifierSpecification_in_entryRuleModifierSpecification181);
264
            ruleModifierSpecification();
293
265
294
			}
266
            state._fsp--;
295
267
296
		} catch (RecognitionException re) {
268
             after(grammarAccess.getModifierSpecificationRule()); 
297
			reportError(re);
269
            match(input,EOF,FOLLOW_EOF_in_entryRuleModifierSpecification188); 
298
			recover(input, re);
299
		} finally {
300
270
301
			restoreStackSize(stackSize);
271
            }
302
272
303
		}
273
        }
304
		return;
274
        catch (RecognitionException re) {
305
	}
275
            reportError(re);
276
            recover(input,re);
277
        }
278
        finally {
279
        }
280
        return ;
281
    }
282
    // $ANTLR end "entryRuleModifierSpecification"
306
283
307
	// $ANTLR end ruleModifierSpecification
308
284
285
    // $ANTLR start "ruleModifierSpecification"
286
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:126:1: ruleModifierSpecification : ( ( rule__ModifierSpecification__ValueAssignment ) ) ;
287
    public final void ruleModifierSpecification() throws RecognitionException {
309
288
310
	// $ANTLR start entryRuleEffectRule
289
        		int stackSize = keepStackSize();
311
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:145:1: entryRuleEffectRule : ruleEffectRule EOF ;
290
            
312
	public final void entryRuleEffectRule() throws RecognitionException {
291
        try {
313
		try {
292
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:130:2: ( ( ( rule__ModifierSpecification__ValueAssignment ) ) )
314
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:146:1: ( ruleEffectRule EOF )
293
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:131:1: ( ( rule__ModifierSpecification__ValueAssignment ) )
315
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:147:1: ruleEffectRule EOF
294
            {
316
			{
295
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:131:1: ( ( rule__ModifierSpecification__ValueAssignment ) )
317
				before(grammarAccess.getEffectRuleRule());
296
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:132:1: ( rule__ModifierSpecification__ValueAssignment )
318
				pushFollow(FOLLOW_ruleEffectRule_in_entryRuleEffectRule241);
297
            {
319
				ruleEffectRule();
298
             before(grammarAccess.getModifierSpecificationAccess().getValueAssignment()); 
320
				_fsp--;
299
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:133:1: ( rule__ModifierSpecification__ValueAssignment )
300
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:133:2: rule__ModifierSpecification__ValueAssignment
301
            {
302
            pushFollow(FOLLOW_rule__ModifierSpecification__ValueAssignment_in_ruleModifierSpecification214);
303
            rule__ModifierSpecification__ValueAssignment();
321
304
322
				after(grammarAccess.getEffectRuleRule());
305
            state._fsp--;
323
				match(input, EOF, FOLLOW_EOF_in_entryRuleEffectRule248);
324
306
325
			}
326
307
327
		} catch (RecognitionException re) {
308
            }
328
			reportError(re);
329
			recover(input, re);
330
		} finally {
331
		}
332
		return;
333
	}
334
309
335
	// $ANTLR end entryRuleEffectRule
310
             after(grammarAccess.getModifierSpecificationAccess().getValueAssignment()); 
336
311
312
            }
337
313
338
	// $ANTLR start ruleEffectRule
339
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:154:1: ruleEffectRule : ( ( rule__EffectRule__Group__0 ) ) ;
340
	public final void ruleEffectRule() throws RecognitionException {
341
314
342
		int stackSize = keepStackSize();
315
            }
343
316
344
		try {
317
        }
345
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:158:2: ( ( ( rule__EffectRule__Group__0 ) ) )
318
        catch (RecognitionException re) {
346
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:159:1: ( ( rule__EffectRule__Group__0 ) )
319
            reportError(re);
347
			{
320
            recover(input,re);
348
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:159:1: ( ( rule__EffectRule__Group__0 ) )
321
        }
349
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:160:1: ( rule__EffectRule__Group__0 )
322
        finally {
350
				{
351
					before(grammarAccess.getEffectRuleAccess().getGroup());
352
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:161:1: ( rule__EffectRule__Group__0 )
353
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:161:2: rule__EffectRule__Group__0
354
					{
355
						pushFollow(FOLLOW_rule__EffectRule__Group__0_in_ruleEffectRule274);
356
						rule__EffectRule__Group__0();
357
						_fsp--;
358
323
324
            	restoreStackSize(stackSize);
359
325
360
					}
326
        }
327
        return ;
328
    }
329
    // $ANTLR end "ruleModifierSpecification"
361
330
362
					after(grammarAccess.getEffectRuleAccess().getGroup());
363
331
364
				}
332
    // $ANTLR start "entryRuleEffectRule"
333
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:145:1: entryRuleEffectRule : ruleEffectRule EOF ;
334
    public final void entryRuleEffectRule() throws RecognitionException {
335
        try {
336
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:146:1: ( ruleEffectRule EOF )
337
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:147:1: ruleEffectRule EOF
338
            {
339
             before(grammarAccess.getEffectRuleRule()); 
340
            pushFollow(FOLLOW_ruleEffectRule_in_entryRuleEffectRule241);
341
            ruleEffectRule();
365
342
343
            state._fsp--;
366
344
367
			}
345
             after(grammarAccess.getEffectRuleRule()); 
346
            match(input,EOF,FOLLOW_EOF_in_entryRuleEffectRule248); 
368
347
369
		} catch (RecognitionException re) {
348
            }
370
			reportError(re);
371
			recover(input, re);
372
		} finally {
373
349
374
			restoreStackSize(stackSize);
350
        }
351
        catch (RecognitionException re) {
352
            reportError(re);
353
            recover(input,re);
354
        }
355
        finally {
356
        }
357
        return ;
358
    }
359
    // $ANTLR end "entryRuleEffectRule"
375
360
376
		}
377
		return;
378
	}
379
361
380
	// $ANTLR end ruleEffectRule
362
    // $ANTLR start "ruleEffectRule"
363
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:154:1: ruleEffectRule : ( ( rule__EffectRule__Group__0 ) ) ;
364
    public final void ruleEffectRule() throws RecognitionException {
381
365
366
        		int stackSize = keepStackSize();
367
            
368
        try {
369
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:158:2: ( ( ( rule__EffectRule__Group__0 ) ) )
370
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:159:1: ( ( rule__EffectRule__Group__0 ) )
371
            {
372
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:159:1: ( ( rule__EffectRule__Group__0 ) )
373
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:160:1: ( rule__EffectRule__Group__0 )
374
            {
375
             before(grammarAccess.getEffectRuleAccess().getGroup()); 
376
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:161:1: ( rule__EffectRule__Group__0 )
377
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:161:2: rule__EffectRule__Group__0
378
            {
379
            pushFollow(FOLLOW_rule__EffectRule__Group__0_in_ruleEffectRule274);
380
            rule__EffectRule__Group__0();
382
381
383
	// $ANTLR start entryRuleQualifiedName
382
            state._fsp--;
384
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:173:1: entryRuleQualifiedName : ruleQualifiedName EOF ;
385
	public final void entryRuleQualifiedName() throws RecognitionException {
386
		try {
387
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:174:1: ( ruleQualifiedName EOF )
388
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:175:1: ruleQualifiedName EOF
389
			{
390
				before(grammarAccess.getQualifiedNameRule());
391
				pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName301);
392
				ruleQualifiedName();
393
				_fsp--;
394
383
395
				after(grammarAccess.getQualifiedNameRule());
396
				match(input, EOF, FOLLOW_EOF_in_entryRuleQualifiedName308);
397
384
398
			}
385
            }
399
386
400
		} catch (RecognitionException re) {
387
             after(grammarAccess.getEffectRuleAccess().getGroup()); 
401
			reportError(re);
402
			recover(input, re);
403
		} finally {
404
		}
405
		return;
406
	}
407
388
408
	// $ANTLR end entryRuleQualifiedName
389
            }
409
390
410
391
411
	// $ANTLR start ruleQualifiedName
392
            }
412
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:182:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ;
413
	public final void ruleQualifiedName() throws RecognitionException {
414
393
415
		int stackSize = keepStackSize();
394
        }
395
        catch (RecognitionException re) {
396
            reportError(re);
397
            recover(input,re);
398
        }
399
        finally {
416
400
417
		try {
401
            	restoreStackSize(stackSize);
418
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:186:2: ( ( ( rule__QualifiedName__Group__0 ) ) )
419
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:187:1: ( ( rule__QualifiedName__Group__0 ) )
420
			{
421
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:187:1: ( ( rule__QualifiedName__Group__0 ) )
422
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:188:1: ( rule__QualifiedName__Group__0 )
423
				{
424
					before(grammarAccess.getQualifiedNameAccess().getGroup());
425
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:189:1: ( rule__QualifiedName__Group__0 )
426
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:189:2: rule__QualifiedName__Group__0
427
					{
428
						pushFollow(FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName334);
429
						rule__QualifiedName__Group__0();
430
						_fsp--;
431
402
403
        }
404
        return ;
405
    }
406
    // $ANTLR end "ruleEffectRule"
432
407
433
					}
434
408
435
					after(grammarAccess.getQualifiedNameAccess().getGroup());
409
    // $ANTLR start "entryRuleQualifiedName"
410
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:173:1: entryRuleQualifiedName : ruleQualifiedName EOF ;
411
    public final void entryRuleQualifiedName() throws RecognitionException {
412
        try {
413
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:174:1: ( ruleQualifiedName EOF )
414
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:175:1: ruleQualifiedName EOF
415
            {
416
             before(grammarAccess.getQualifiedNameRule()); 
417
            pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName301);
418
            ruleQualifiedName();
436
419
437
				}
420
            state._fsp--;
438
421
422
             after(grammarAccess.getQualifiedNameRule()); 
423
            match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName308); 
439
424
440
			}
425
            }
441
426
442
		} catch (RecognitionException re) {
427
        }
443
			reportError(re);
428
        catch (RecognitionException re) {
444
			recover(input, re);
429
            reportError(re);
445
		} finally {
430
            recover(input,re);
431
        }
432
        finally {
433
        }
434
        return ;
435
    }
436
    // $ANTLR end "entryRuleQualifiedName"
446
437
447
			restoreStackSize(stackSize);
448
438
449
		}
439
    // $ANTLR start "ruleQualifiedName"
450
		return;
440
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:182:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ;
451
	}
441
    public final void ruleQualifiedName() throws RecognitionException {
452
442
453
	// $ANTLR end ruleQualifiedName
443
        		int stackSize = keepStackSize();
444
            
445
        try {
446
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:186:2: ( ( ( rule__QualifiedName__Group__0 ) ) )
447
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:187:1: ( ( rule__QualifiedName__Group__0 ) )
448
            {
449
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:187:1: ( ( rule__QualifiedName__Group__0 ) )
450
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:188:1: ( rule__QualifiedName__Group__0 )
451
            {
452
             before(grammarAccess.getQualifiedNameAccess().getGroup()); 
453
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:189:1: ( rule__QualifiedName__Group__0 )
454
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:189:2: rule__QualifiedName__Group__0
455
            {
456
            pushFollow(FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName334);
457
            rule__QualifiedName__Group__0();
454
458
459
            state._fsp--;
455
460
456
	// $ANTLR start entryRuleTypeRule
457
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:201:1: entryRuleTypeRule : ruleTypeRule EOF ;
458
	public final void entryRuleTypeRule() throws RecognitionException {
459
		try {
460
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:202:1: ( ruleTypeRule EOF )
461
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:203:1: ruleTypeRule EOF
462
			{
463
				before(grammarAccess.getTypeRuleRule());
464
				pushFollow(FOLLOW_ruleTypeRule_in_entryRuleTypeRule361);
465
				ruleTypeRule();
466
				_fsp--;
467
461
468
				after(grammarAccess.getTypeRuleRule());
462
            }
469
				match(input, EOF, FOLLOW_EOF_in_entryRuleTypeRule368);
470
463
471
			}
464
             after(grammarAccess.getQualifiedNameAccess().getGroup()); 
472
465
473
		} catch (RecognitionException re) {
466
            }
474
			reportError(re);
475
			recover(input, re);
476
		} finally {
477
		}
478
		return;
479
	}
480
467
481
	// $ANTLR end entryRuleTypeRule
482
468
469
            }
483
470
484
	// $ANTLR start ruleTypeRule
471
        }
485
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:210:1: ruleTypeRule : ( ( rule__TypeRule__Group__0 ) ) ;
472
        catch (RecognitionException re) {
486
	public final void ruleTypeRule() throws RecognitionException {
473
            reportError(re);
474
            recover(input,re);
475
        }
476
        finally {
487
477
488
		int stackSize = keepStackSize();
478
            	restoreStackSize(stackSize);
489
479
490
		try {
480
        }
491
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:214:2: ( ( ( rule__TypeRule__Group__0 ) ) )
481
        return ;
492
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:215:1: ( ( rule__TypeRule__Group__0 ) )
482
    }
493
			{
483
    // $ANTLR end "ruleQualifiedName"
494
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:215:1: ( ( rule__TypeRule__Group__0 ) )
495
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:216:1: ( rule__TypeRule__Group__0 )
496
				{
497
					before(grammarAccess.getTypeRuleAccess().getGroup());
498
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:217:1: ( rule__TypeRule__Group__0 )
499
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:217:2: rule__TypeRule__Group__0
500
					{
501
						pushFollow(FOLLOW_rule__TypeRule__Group__0_in_ruleTypeRule394);
502
						rule__TypeRule__Group__0();
503
						_fsp--;
504
484
505
485
506
					}
486
    // $ANTLR start "entryRuleTypeRule"
487
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:201:1: entryRuleTypeRule : ruleTypeRule EOF ;
488
    public final void entryRuleTypeRule() throws RecognitionException {
489
        try {
490
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:202:1: ( ruleTypeRule EOF )
491
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:203:1: ruleTypeRule EOF
492
            {
493
             before(grammarAccess.getTypeRuleRule()); 
494
            pushFollow(FOLLOW_ruleTypeRule_in_entryRuleTypeRule361);
495
            ruleTypeRule();
507
496
508
					after(grammarAccess.getTypeRuleAccess().getGroup());
497
            state._fsp--;
509
498
510
				}
499
             after(grammarAccess.getTypeRuleRule()); 
500
            match(input,EOF,FOLLOW_EOF_in_entryRuleTypeRule368); 
511
501
502
            }
512
503
513
			}
504
        }
505
        catch (RecognitionException re) {
506
            reportError(re);
507
            recover(input,re);
508
        }
509
        finally {
510
        }
511
        return ;
512
    }
513
    // $ANTLR end "entryRuleTypeRule"
514
514
515
		} catch (RecognitionException re) {
516
			reportError(re);
517
			recover(input, re);
518
		} finally {
519
515
520
			restoreStackSize(stackSize);
516
    // $ANTLR start "ruleTypeRule"
517
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:210:1: ruleTypeRule : ( ( rule__TypeRule__Group__0 ) ) ;
518
    public final void ruleTypeRule() throws RecognitionException {
521
519
522
		}
520
        		int stackSize = keepStackSize();
523
		return;
521
            
524
	}
522
        try {
523
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:214:2: ( ( ( rule__TypeRule__Group__0 ) ) )
524
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:215:1: ( ( rule__TypeRule__Group__0 ) )
525
            {
526
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:215:1: ( ( rule__TypeRule__Group__0 ) )
527
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:216:1: ( rule__TypeRule__Group__0 )
528
            {
529
             before(grammarAccess.getTypeRuleAccess().getGroup()); 
530
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:217:1: ( rule__TypeRule__Group__0 )
531
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:217:2: rule__TypeRule__Group__0
532
            {
533
            pushFollow(FOLLOW_rule__TypeRule__Group__0_in_ruleTypeRule394);
534
            rule__TypeRule__Group__0();
525
535
526
	// $ANTLR end ruleTypeRule
536
            state._fsp--;
527
537
528
538
529
	// $ANTLR start entryRuleMultiplicityRule
539
            }
530
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:229:1: entryRuleMultiplicityRule : ruleMultiplicityRule EOF ;
531
	public final void entryRuleMultiplicityRule() throws RecognitionException {
532
		try {
533
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:230:1: ( ruleMultiplicityRule EOF )
534
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:231:1: ruleMultiplicityRule EOF
535
			{
536
				before(grammarAccess.getMultiplicityRuleRule());
537
				pushFollow(FOLLOW_ruleMultiplicityRule_in_entryRuleMultiplicityRule421);
538
				ruleMultiplicityRule();
539
				_fsp--;
540
540
541
				after(grammarAccess.getMultiplicityRuleRule());
541
             after(grammarAccess.getTypeRuleAccess().getGroup()); 
542
				match(input, EOF, FOLLOW_EOF_in_entryRuleMultiplicityRule428);
543
542
544
			}
543
            }
545
544
546
		} catch (RecognitionException re) {
547
			reportError(re);
548
			recover(input, re);
549
		} finally {
550
		}
551
		return;
552
	}
553
545
554
	// $ANTLR end entryRuleMultiplicityRule
546
            }
555
547
548
        }
549
        catch (RecognitionException re) {
550
            reportError(re);
551
            recover(input,re);
552
        }
553
        finally {
556
554
557
	// $ANTLR start ruleMultiplicityRule
555
            	restoreStackSize(stackSize);
558
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:238:1: ruleMultiplicityRule : ( ( rule__MultiplicityRule__Group__0 ) ) ;
559
	public final void ruleMultiplicityRule() throws RecognitionException {
560
556
561
		int stackSize = keepStackSize();
557
        }
558
        return ;
559
    }
560
    // $ANTLR end "ruleTypeRule"
562
561
563
		try {
564
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:242:2: ( ( ( rule__MultiplicityRule__Group__0 ) ) )
565
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:243:1: ( ( rule__MultiplicityRule__Group__0 ) )
566
			{
567
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:243:1: ( ( rule__MultiplicityRule__Group__0 ) )
568
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:244:1: ( rule__MultiplicityRule__Group__0 )
569
				{
570
					before(grammarAccess.getMultiplicityRuleAccess().getGroup());
571
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:245:1: ( rule__MultiplicityRule__Group__0 )
572
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:245:2: rule__MultiplicityRule__Group__0
573
					{
574
						pushFollow(FOLLOW_rule__MultiplicityRule__Group__0_in_ruleMultiplicityRule454);
575
						rule__MultiplicityRule__Group__0();
576
						_fsp--;
577
562
563
    // $ANTLR start "entryRuleMultiplicityRule"
564
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:229:1: entryRuleMultiplicityRule : ruleMultiplicityRule EOF ;
565
    public final void entryRuleMultiplicityRule() throws RecognitionException {
566
        try {
567
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:230:1: ( ruleMultiplicityRule EOF )
568
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:231:1: ruleMultiplicityRule EOF
569
            {
570
             before(grammarAccess.getMultiplicityRuleRule()); 
571
            pushFollow(FOLLOW_ruleMultiplicityRule_in_entryRuleMultiplicityRule421);
572
            ruleMultiplicityRule();
578
573
579
					}
574
            state._fsp--;
580
575
581
					after(grammarAccess.getMultiplicityRuleAccess().getGroup());
576
             after(grammarAccess.getMultiplicityRuleRule()); 
577
            match(input,EOF,FOLLOW_EOF_in_entryRuleMultiplicityRule428); 
582
578
583
				}
579
            }
584
580
581
        }
582
        catch (RecognitionException re) {
583
            reportError(re);
584
            recover(input,re);
585
        }
586
        finally {
587
        }
588
        return ;
589
    }
590
    // $ANTLR end "entryRuleMultiplicityRule"
585
591
586
			}
587
592
588
		} catch (RecognitionException re) {
593
    // $ANTLR start "ruleMultiplicityRule"
589
			reportError(re);
594
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:238:1: ruleMultiplicityRule : ( ( rule__MultiplicityRule__Group__0 ) ) ;
590
			recover(input, re);
595
    public final void ruleMultiplicityRule() throws RecognitionException {
591
		} finally {
592
596
593
			restoreStackSize(stackSize);
597
        		int stackSize = keepStackSize();
598
            
599
        try {
600
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:242:2: ( ( ( rule__MultiplicityRule__Group__0 ) ) )
601
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:243:1: ( ( rule__MultiplicityRule__Group__0 ) )
602
            {
603
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:243:1: ( ( rule__MultiplicityRule__Group__0 ) )
604
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:244:1: ( rule__MultiplicityRule__Group__0 )
605
            {
606
             before(grammarAccess.getMultiplicityRuleAccess().getGroup()); 
607
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:245:1: ( rule__MultiplicityRule__Group__0 )
608
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:245:2: rule__MultiplicityRule__Group__0
609
            {
610
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__0_in_ruleMultiplicityRule454);
611
            rule__MultiplicityRule__Group__0();
594
612
595
		}
613
            state._fsp--;
596
		return;
597
	}
598
614
599
	// $ANTLR end ruleMultiplicityRule
600
615
616
            }
601
617
602
	// $ANTLR start entryRuleBoundSpecification
618
             after(grammarAccess.getMultiplicityRuleAccess().getGroup()); 
603
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:257:1: entryRuleBoundSpecification : ruleBoundSpecification EOF ;
604
	public final void entryRuleBoundSpecification() throws RecognitionException {
605
		try {
606
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:258:1: ( ruleBoundSpecification EOF )
607
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:259:1: ruleBoundSpecification EOF
608
			{
609
				before(grammarAccess.getBoundSpecificationRule());
610
				pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification481);
611
				ruleBoundSpecification();
612
				_fsp--;
613
619
614
				after(grammarAccess.getBoundSpecificationRule());
620
            }
615
				match(input, EOF, FOLLOW_EOF_in_entryRuleBoundSpecification488);
616
621
617
			}
618
622
619
		} catch (RecognitionException re) {
623
            }
620
			reportError(re);
621
			recover(input, re);
622
		} finally {
623
		}
624
		return;
625
	}
626
624
627
	// $ANTLR end entryRuleBoundSpecification
625
        }
626
        catch (RecognitionException re) {
627
            reportError(re);
628
            recover(input,re);
629
        }
630
        finally {
628
631
632
            	restoreStackSize(stackSize);
629
633
630
	// $ANTLR start ruleBoundSpecification
634
        }
631
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:266:1: ruleBoundSpecification : ( ( rule__BoundSpecification__ValueAssignment ) ) ;
635
        return ;
632
	public final void ruleBoundSpecification() throws RecognitionException {
636
    }
637
    // $ANTLR end "ruleMultiplicityRule"
633
638
634
		int stackSize = keepStackSize();
635
639
636
		try {
640
    // $ANTLR start "entryRuleBoundSpecification"
637
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:270:2: ( ( ( rule__BoundSpecification__ValueAssignment ) ) )
641
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:257:1: entryRuleBoundSpecification : ruleBoundSpecification EOF ;
638
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:271:1: ( ( rule__BoundSpecification__ValueAssignment ) )
642
    public final void entryRuleBoundSpecification() throws RecognitionException {
639
			{
643
        try {
640
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:271:1: ( ( rule__BoundSpecification__ValueAssignment ) )
644
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:258:1: ( ruleBoundSpecification EOF )
641
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:272:1: ( rule__BoundSpecification__ValueAssignment )
645
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:259:1: ruleBoundSpecification EOF
642
				{
646
            {
643
					before(grammarAccess.getBoundSpecificationAccess().getValueAssignment());
647
             before(grammarAccess.getBoundSpecificationRule()); 
644
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:273:1: ( rule__BoundSpecification__ValueAssignment )
648
            pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification481);
645
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:273:2: rule__BoundSpecification__ValueAssignment
649
            ruleBoundSpecification();
646
					{
647
						pushFollow(FOLLOW_rule__BoundSpecification__ValueAssignment_in_ruleBoundSpecification514);
648
						rule__BoundSpecification__ValueAssignment();
649
						_fsp--;
650
650
651
            state._fsp--;
651
652
652
					}
653
             after(grammarAccess.getBoundSpecificationRule()); 
654
            match(input,EOF,FOLLOW_EOF_in_entryRuleBoundSpecification488); 
653
655
654
					after(grammarAccess.getBoundSpecificationAccess().getValueAssignment());
656
            }
655
657
656
				}
658
        }
659
        catch (RecognitionException re) {
660
            reportError(re);
661
            recover(input,re);
662
        }
663
        finally {
664
        }
665
        return ;
666
    }
667
    // $ANTLR end "entryRuleBoundSpecification"
657
668
658
669
659
			}
670
    // $ANTLR start "ruleBoundSpecification"
671
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:266:1: ruleBoundSpecification : ( ( rule__BoundSpecification__ValueAssignment ) ) ;
672
    public final void ruleBoundSpecification() throws RecognitionException {
660
673
661
		} catch (RecognitionException re) {
674
        		int stackSize = keepStackSize();
662
			reportError(re);
675
            
663
			recover(input, re);
676
        try {
664
		} finally {
677
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:270:2: ( ( ( rule__BoundSpecification__ValueAssignment ) ) )
678
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:271:1: ( ( rule__BoundSpecification__ValueAssignment ) )
679
            {
680
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:271:1: ( ( rule__BoundSpecification__ValueAssignment ) )
681
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:272:1: ( rule__BoundSpecification__ValueAssignment )
682
            {
683
             before(grammarAccess.getBoundSpecificationAccess().getValueAssignment()); 
684
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:273:1: ( rule__BoundSpecification__ValueAssignment )
685
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:273:2: rule__BoundSpecification__ValueAssignment
686
            {
687
            pushFollow(FOLLOW_rule__BoundSpecification__ValueAssignment_in_ruleBoundSpecification514);
688
            rule__BoundSpecification__ValueAssignment();
665
689
666
			restoreStackSize(stackSize);
690
            state._fsp--;
667
691
668
		}
669
		return;
670
	}
671
692
672
	// $ANTLR end ruleBoundSpecification
693
            }
673
694
695
             after(grammarAccess.getBoundSpecificationAccess().getValueAssignment()); 
674
696
675
	// $ANTLR start ruleModifierKind
697
            }
676
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:286:1: ruleModifierKind : ( ( rule__ModifierKind__Alternatives ) ) ;
677
	public final void ruleModifierKind() throws RecognitionException {
678
698
679
		int stackSize = keepStackSize();
680
699
681
		try {
700
            }
682
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:290:1: ( ( ( rule__ModifierKind__Alternatives ) ) )
683
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:291:1: ( ( rule__ModifierKind__Alternatives ) )
684
			{
685
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:291:1: ( ( rule__ModifierKind__Alternatives ) )
686
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:292:1: ( rule__ModifierKind__Alternatives )
687
				{
688
					before(grammarAccess.getModifierKindAccess().getAlternatives());
689
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:293:1: ( rule__ModifierKind__Alternatives )
690
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:293:2: rule__ModifierKind__Alternatives
691
					{
692
						pushFollow(FOLLOW_rule__ModifierKind__Alternatives_in_ruleModifierKind551);
693
						rule__ModifierKind__Alternatives();
694
						_fsp--;
695
701
702
        }
703
        catch (RecognitionException re) {
704
            reportError(re);
705
            recover(input,re);
706
        }
707
        finally {
696
708
697
					}
709
            	restoreStackSize(stackSize);
698
710
699
					after(grammarAccess.getModifierKindAccess().getAlternatives());
711
        }
712
        return ;
713
    }
714
    // $ANTLR end "ruleBoundSpecification"
700
715
701
				}
702
716
717
    // $ANTLR start "ruleModifierKind"
718
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:286:1: ruleModifierKind : ( ( rule__ModifierKind__Alternatives ) ) ;
719
    public final void ruleModifierKind() throws RecognitionException {
703
720
704
			}
721
        		int stackSize = keepStackSize();
722
            
723
        try {
724
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:290:1: ( ( ( rule__ModifierKind__Alternatives ) ) )
725
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:291:1: ( ( rule__ModifierKind__Alternatives ) )
726
            {
727
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:291:1: ( ( rule__ModifierKind__Alternatives ) )
728
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:292:1: ( rule__ModifierKind__Alternatives )
729
            {
730
             before(grammarAccess.getModifierKindAccess().getAlternatives()); 
731
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:293:1: ( rule__ModifierKind__Alternatives )
732
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:293:2: rule__ModifierKind__Alternatives
733
            {
734
            pushFollow(FOLLOW_rule__ModifierKind__Alternatives_in_ruleModifierKind551);
735
            rule__ModifierKind__Alternatives();
705
736
706
		} catch (RecognitionException re) {
737
            state._fsp--;
707
			reportError(re);
708
			recover(input, re);
709
		} finally {
710
738
711
			restoreStackSize(stackSize);
712
739
713
		}
740
            }
714
		return;
715
	}
716
741
717
	// $ANTLR end ruleModifierKind
742
             after(grammarAccess.getModifierKindAccess().getAlternatives()); 
718
743
744
            }
719
745
720
	// $ANTLR start ruleEffectKind
721
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:305:1: ruleEffectKind : ( ( rule__EffectKind__Alternatives ) ) ;
722
	public final void ruleEffectKind() throws RecognitionException {
723
746
724
		int stackSize = keepStackSize();
747
            }
725
748
726
		try {
749
        }
727
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:309:1: ( ( ( rule__EffectKind__Alternatives ) ) )
750
        catch (RecognitionException re) {
728
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:310:1: ( ( rule__EffectKind__Alternatives ) )
751
            reportError(re);
729
			{
752
            recover(input,re);
730
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:310:1: ( ( rule__EffectKind__Alternatives ) )
753
        }
731
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:311:1: ( rule__EffectKind__Alternatives )
754
        finally {
732
				{
733
					before(grammarAccess.getEffectKindAccess().getAlternatives());
734
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:312:1: ( rule__EffectKind__Alternatives )
735
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:312:2: rule__EffectKind__Alternatives
736
					{
737
						pushFollow(FOLLOW_rule__EffectKind__Alternatives_in_ruleEffectKind587);
738
						rule__EffectKind__Alternatives();
739
						_fsp--;
740
755
756
            	restoreStackSize(stackSize);
741
757
742
					}
758
        }
759
        return ;
760
    }
761
    // $ANTLR end "ruleModifierKind"
743
762
744
					after(grammarAccess.getEffectKindAccess().getAlternatives());
745
763
746
				}
764
    // $ANTLR start "ruleEffectKind"
765
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:305:1: ruleEffectKind : ( ( rule__EffectKind__Alternatives ) ) ;
766
    public final void ruleEffectKind() throws RecognitionException {
747
767
768
        		int stackSize = keepStackSize();
769
            
770
        try {
771
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:309:1: ( ( ( rule__EffectKind__Alternatives ) ) )
772
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:310:1: ( ( rule__EffectKind__Alternatives ) )
773
            {
774
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:310:1: ( ( rule__EffectKind__Alternatives ) )
775
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:311:1: ( rule__EffectKind__Alternatives )
776
            {
777
             before(grammarAccess.getEffectKindAccess().getAlternatives()); 
778
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:312:1: ( rule__EffectKind__Alternatives )
779
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:312:2: rule__EffectKind__Alternatives
780
            {
781
            pushFollow(FOLLOW_rule__EffectKind__Alternatives_in_ruleEffectKind587);
782
            rule__EffectKind__Alternatives();
748
783
749
			}
784
            state._fsp--;
750
785
751
		} catch (RecognitionException re) {
752
			reportError(re);
753
			recover(input, re);
754
		} finally {
755
786
756
			restoreStackSize(stackSize);
787
            }
757
788
758
		}
789
             after(grammarAccess.getEffectKindAccess().getAlternatives()); 
759
		return;
760
	}
761
790
762
	// $ANTLR end ruleEffectKind
791
            }
763
792
764
793
765
	// $ANTLR start ruleVisibilityKind
794
            }
766
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:324:1: ruleVisibilityKind : ( ( rule__VisibilityKind__Alternatives ) ) ;
767
	public final void ruleVisibilityKind() throws RecognitionException {
768
795
769
		int stackSize = keepStackSize();
796
        }
797
        catch (RecognitionException re) {
798
            reportError(re);
799
            recover(input,re);
800
        }
801
        finally {
770
802
771
		try {
803
            	restoreStackSize(stackSize);
772
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:328:1: ( ( ( rule__VisibilityKind__Alternatives ) ) )
773
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:329:1: ( ( rule__VisibilityKind__Alternatives ) )
774
			{
775
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:329:1: ( ( rule__VisibilityKind__Alternatives ) )
776
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:330:1: ( rule__VisibilityKind__Alternatives )
777
				{
778
					before(grammarAccess.getVisibilityKindAccess().getAlternatives());
779
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:331:1: ( rule__VisibilityKind__Alternatives )
780
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:331:2: rule__VisibilityKind__Alternatives
781
					{
782
						pushFollow(FOLLOW_rule__VisibilityKind__Alternatives_in_ruleVisibilityKind623);
783
						rule__VisibilityKind__Alternatives();
784
						_fsp--;
785
804
805
        }
806
        return ;
807
    }
808
    // $ANTLR end "ruleEffectKind"
786
809
787
					}
788
810
789
					after(grammarAccess.getVisibilityKindAccess().getAlternatives());
811
    // $ANTLR start "ruleVisibilityKind"
812
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:324:1: ruleVisibilityKind : ( ( rule__VisibilityKind__Alternatives ) ) ;
813
    public final void ruleVisibilityKind() throws RecognitionException {
790
814
791
				}
815
        		int stackSize = keepStackSize();
816
            
817
        try {
818
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:328:1: ( ( ( rule__VisibilityKind__Alternatives ) ) )
819
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:329:1: ( ( rule__VisibilityKind__Alternatives ) )
820
            {
821
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:329:1: ( ( rule__VisibilityKind__Alternatives ) )
822
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:330:1: ( rule__VisibilityKind__Alternatives )
823
            {
824
             before(grammarAccess.getVisibilityKindAccess().getAlternatives()); 
825
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:331:1: ( rule__VisibilityKind__Alternatives )
826
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:331:2: rule__VisibilityKind__Alternatives
827
            {
828
            pushFollow(FOLLOW_rule__VisibilityKind__Alternatives_in_ruleVisibilityKind623);
829
            rule__VisibilityKind__Alternatives();
792
830
831
            state._fsp--;
793
832
794
			}
795
833
796
		} catch (RecognitionException re) {
834
            }
797
			reportError(re);
798
			recover(input, re);
799
		} finally {
800
835
801
			restoreStackSize(stackSize);
836
             after(grammarAccess.getVisibilityKindAccess().getAlternatives()); 
802
837
803
		}
838
            }
804
		return;
805
	}
806
839
807
	// $ANTLR end ruleVisibilityKind
808
840
841
            }
809
842
810
	// $ANTLR start ruleDirection
843
        }
811
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:343:1: ruleDirection : ( ( rule__Direction__Alternatives ) ) ;
844
        catch (RecognitionException re) {
812
	public final void ruleDirection() throws RecognitionException {
845
            reportError(re);
846
            recover(input,re);
847
        }
848
        finally {
813
849
814
		int stackSize = keepStackSize();
850
            	restoreStackSize(stackSize);
815
851
816
		try {
852
        }
817
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:347:1: ( ( ( rule__Direction__Alternatives ) ) )
853
        return ;
818
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:348:1: ( ( rule__Direction__Alternatives ) )
854
    }
819
			{
855
    // $ANTLR end "ruleVisibilityKind"
820
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:348:1: ( ( rule__Direction__Alternatives ) )
821
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:349:1: ( rule__Direction__Alternatives )
822
				{
823
					before(grammarAccess.getDirectionAccess().getAlternatives());
824
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:350:1: ( rule__Direction__Alternatives )
825
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:350:2: rule__Direction__Alternatives
826
					{
827
						pushFollow(FOLLOW_rule__Direction__Alternatives_in_ruleDirection659);
828
						rule__Direction__Alternatives();
829
						_fsp--;
830
856
831
857
832
					}
858
    // $ANTLR start "ruleDirection"
859
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:343:1: ruleDirection : ( ( rule__Direction__Alternatives ) ) ;
860
    public final void ruleDirection() throws RecognitionException {
833
861
834
					after(grammarAccess.getDirectionAccess().getAlternatives());
862
        		int stackSize = keepStackSize();
863
            
864
        try {
865
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:347:1: ( ( ( rule__Direction__Alternatives ) ) )
866
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:348:1: ( ( rule__Direction__Alternatives ) )
867
            {
868
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:348:1: ( ( rule__Direction__Alternatives ) )
869
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:349:1: ( rule__Direction__Alternatives )
870
            {
871
             before(grammarAccess.getDirectionAccess().getAlternatives()); 
872
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:350:1: ( rule__Direction__Alternatives )
873
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:350:2: rule__Direction__Alternatives
874
            {
875
            pushFollow(FOLLOW_rule__Direction__Alternatives_in_ruleDirection659);
876
            rule__Direction__Alternatives();
835
877
836
				}
878
            state._fsp--;
837
879
838
880
839
			}
881
            }
840
882
841
		} catch (RecognitionException re) {
883
             after(grammarAccess.getDirectionAccess().getAlternatives()); 
842
			reportError(re);
843
			recover(input, re);
844
		} finally {
845
884
846
			restoreStackSize(stackSize);
885
            }
847
886
848
		}
849
		return;
850
	}
851
887
852
	// $ANTLR end ruleDirection
888
            }
853
889
890
        }
891
        catch (RecognitionException re) {
892
            reportError(re);
893
            recover(input,re);
894
        }
895
        finally {
854
896
855
	// $ANTLR start rule__ParameterRule__Alternatives_4
897
            	restoreStackSize(stackSize);
856
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:361:1: rule__ParameterRule__Alternatives_4 : ( ( ( rule__ParameterRule__TypeAssignment_4_0 ) ) | ( '<Undefined>' ) );
857
	public final void rule__ParameterRule__Alternatives_4() throws RecognitionException {
858
898
859
		int stackSize = keepStackSize();
899
        }
900
        return ;
901
    }
902
    // $ANTLR end "ruleDirection"
860
903
861
		try {
862
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:365:1: ( ( ( rule__ParameterRule__TypeAssignment_4_0 ) ) | ( '<Undefined>' ) )
863
			int alt1 = 2;
864
			int LA1_0 = input.LA(1);
865
904
866
			if((LA1_0 == RULE_ID)) {
905
    // $ANTLR start "rule__ParameterRule__Alternatives_4"
867
				alt1 = 1;
906
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:361:1: rule__ParameterRule__Alternatives_4 : ( ( ( rule__ParameterRule__TypeAssignment_4_0 ) ) | ( '<Undefined>' ) );
868
			} else if((LA1_0 == 12)) {
907
    public final void rule__ParameterRule__Alternatives_4() throws RecognitionException {
869
				alt1 = 2;
870
			} else {
871
				NoViableAltException nvae = new NoViableAltException("361:1: rule__ParameterRule__Alternatives_4 : ( ( ( rule__ParameterRule__TypeAssignment_4_0 ) ) | ( '<Undefined>' ) );", 1, 0, input);
872
908
873
				throw nvae;
909
        		int stackSize = keepStackSize();
874
			}
910
            
875
			switch(alt1) {
911
        try {
876
			case 1:
912
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:365:1: ( ( ( rule__ParameterRule__TypeAssignment_4_0 ) ) | ( '<Undefined>' ) )
877
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:366:1: ( ( rule__ParameterRule__TypeAssignment_4_0 ) )
913
            int alt1=2;
878
			{
914
            int LA1_0 = input.LA(1);
879
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:366:1: ( ( rule__ParameterRule__TypeAssignment_4_0 ) )
880
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:367:1: ( rule__ParameterRule__TypeAssignment_4_0 )
881
				{
882
					before(grammarAccess.getParameterRuleAccess().getTypeAssignment_4_0());
883
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:368:1: ( rule__ParameterRule__TypeAssignment_4_0 )
884
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:368:2: rule__ParameterRule__TypeAssignment_4_0
885
					{
886
						pushFollow(FOLLOW_rule__ParameterRule__TypeAssignment_4_0_in_rule__ParameterRule__Alternatives_4694);
887
						rule__ParameterRule__TypeAssignment_4_0();
888
						_fsp--;
889
915
916
            if ( (LA1_0==RULE_ID) ) {
917
                alt1=1;
918
            }
919
            else if ( (LA1_0==12) ) {
920
                alt1=2;
921
            }
922
            else {
923
                NoViableAltException nvae =
924
                    new NoViableAltException("", 1, 0, input);
890
925
891
					}
926
                throw nvae;
927
            }
928
            switch (alt1) {
929
                case 1 :
930
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:366:1: ( ( rule__ParameterRule__TypeAssignment_4_0 ) )
931
                    {
932
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:366:1: ( ( rule__ParameterRule__TypeAssignment_4_0 ) )
933
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:367:1: ( rule__ParameterRule__TypeAssignment_4_0 )
934
                    {
935
                     before(grammarAccess.getParameterRuleAccess().getTypeAssignment_4_0()); 
936
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:368:1: ( rule__ParameterRule__TypeAssignment_4_0 )
937
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:368:2: rule__ParameterRule__TypeAssignment_4_0
938
                    {
939
                    pushFollow(FOLLOW_rule__ParameterRule__TypeAssignment_4_0_in_rule__ParameterRule__Alternatives_4694);
940
                    rule__ParameterRule__TypeAssignment_4_0();
892
941
893
					after(grammarAccess.getParameterRuleAccess().getTypeAssignment_4_0());
942
                    state._fsp--;
894
943
895
				}
896
944
945
                    }
897
946
898
			}
947
                     after(grammarAccess.getParameterRuleAccess().getTypeAssignment_4_0()); 
899
				break;
900
			case 2:
901
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:372:6: ( '<Undefined>' )
902
			{
903
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:372:6: ( '<Undefined>' )
904
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:373:1: '<Undefined>'
905
				{
906
					before(grammarAccess.getParameterRuleAccess().getUndefinedKeyword_4_1());
907
					match(input, 12, FOLLOW_12_in_rule__ParameterRule__Alternatives_4713);
908
					after(grammarAccess.getParameterRuleAccess().getUndefinedKeyword_4_1());
909
948
910
				}
949
                    }
911
950
912
951
913
			}
952
                    }
914
				break;
953
                    break;
954
                case 2 :
955
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:372:6: ( '<Undefined>' )
956
                    {
957
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:372:6: ( '<Undefined>' )
958
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:373:1: '<Undefined>'
959
                    {
960
                     before(grammarAccess.getParameterRuleAccess().getUndefinedKeyword_4_1()); 
961
                    match(input,12,FOLLOW_12_in_rule__ParameterRule__Alternatives_4713); 
962
                     after(grammarAccess.getParameterRuleAccess().getUndefinedKeyword_4_1()); 
915
963
916
			}
964
                    }
917
		} catch (RecognitionException re) {
918
			reportError(re);
919
			recover(input, re);
920
		} finally {
921
965
922
			restoreStackSize(stackSize);
923
966
924
		}
967
                    }
925
		return;
968
                    break;
926
	}
927
969
928
	// $ANTLR end rule__ParameterRule__Alternatives_4
970
            }
971
        }
972
        catch (RecognitionException re) {
973
            reportError(re);
974
            recover(input,re);
975
        }
976
        finally {
929
977
978
            	restoreStackSize(stackSize);
930
979
931
	// $ANTLR start rule__ModifierKind__Alternatives
980
        }
932
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:385:1: rule__ModifierKind__Alternatives : ( ( ( 'exception' ) ) | ( ( 'stream' ) ) | ( ( 'ordered' ) ) | ( ( 'unique' ) ) );
981
        return ;
933
	public final void rule__ModifierKind__Alternatives() throws RecognitionException {
982
    }
983
    // $ANTLR end "rule__ParameterRule__Alternatives_4"
934
984
935
		int stackSize = keepStackSize();
936
985
937
		try {
986
    // $ANTLR start "rule__ModifierKind__Alternatives"
938
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:389:1: ( ( ( 'exception' ) ) | ( ( 'stream' ) ) | ( ( 'ordered' ) ) | ( ( 'unique' ) ) )
987
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:385:1: rule__ModifierKind__Alternatives : ( ( ( 'exception' ) ) | ( ( 'stream' ) ) | ( ( 'ordered' ) ) | ( ( 'unique' ) ) );
939
			int alt2 = 4;
988
    public final void rule__ModifierKind__Alternatives() throws RecognitionException {
940
			switch(input.LA(1)) {
941
			case 13:
942
			{
943
				alt2 = 1;
944
			}
945
				break;
946
			case 14:
947
			{
948
				alt2 = 2;
949
			}
950
				break;
951
			case 15:
952
			{
953
				alt2 = 3;
954
			}
955
				break;
956
			case 16:
957
			{
958
				alt2 = 4;
959
			}
960
				break;
961
			default:
962
				NoViableAltException nvae = new NoViableAltException("385:1: rule__ModifierKind__Alternatives : ( ( ( 'exception' ) ) | ( ( 'stream' ) ) | ( ( 'ordered' ) ) | ( ( 'unique' ) ) );", 2, 0, input);
963
989
964
				throw nvae;
990
        		int stackSize = keepStackSize();
965
			}
991
            
992
        try {
993
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:389:1: ( ( ( 'exception' ) ) | ( ( 'stream' ) ) | ( ( 'ordered' ) ) | ( ( 'unique' ) ) )
994
            int alt2=4;
995
            switch ( input.LA(1) ) {
996
            case 13:
997
                {
998
                alt2=1;
999
                }
1000
                break;
1001
            case 14:
1002
                {
1003
                alt2=2;
1004
                }
1005
                break;
1006
            case 15:
1007
                {
1008
                alt2=3;
1009
                }
1010
                break;
1011
            case 16:
1012
                {
1013
                alt2=4;
1014
                }
1015
                break;
1016
            default:
1017
                NoViableAltException nvae =
1018
                    new NoViableAltException("", 2, 0, input);
966
1019
967
			switch(alt2) {
1020
                throw nvae;
968
			case 1:
1021
            }
969
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:390:1: ( ( 'exception' ) )
970
			{
971
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:390:1: ( ( 'exception' ) )
972
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:391:1: ( 'exception' )
973
				{
974
					before(grammarAccess.getModifierKindAccess().getEXCEPTIONEnumLiteralDeclaration_0());
975
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:392:1: ( 'exception' )
976
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:392:3: 'exception'
977
					{
978
						match(input, 13, FOLLOW_13_in_rule__ModifierKind__Alternatives748);
979
1022
980
					}
1023
            switch (alt2) {
1024
                case 1 :
1025
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:390:1: ( ( 'exception' ) )
1026
                    {
1027
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:390:1: ( ( 'exception' ) )
1028
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:391:1: ( 'exception' )
1029
                    {
1030
                     before(grammarAccess.getModifierKindAccess().getEXCEPTIONEnumLiteralDeclaration_0()); 
1031
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:392:1: ( 'exception' )
1032
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:392:3: 'exception'
1033
                    {
1034
                    match(input,13,FOLLOW_13_in_rule__ModifierKind__Alternatives748); 
981
1035
982
					after(grammarAccess.getModifierKindAccess().getEXCEPTIONEnumLiteralDeclaration_0());
1036
                    }
983
1037
984
				}
1038
                     after(grammarAccess.getModifierKindAccess().getEXCEPTIONEnumLiteralDeclaration_0()); 
985
1039
1040
                    }
986
1041
987
			}
988
				break;
989
			case 2:
990
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:397:6: ( ( 'stream' ) )
991
			{
992
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:397:6: ( ( 'stream' ) )
993
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:398:1: ( 'stream' )
994
				{
995
					before(grammarAccess.getModifierKindAccess().getSTREAMEnumLiteralDeclaration_1());
996
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:399:1: ( 'stream' )
997
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:399:3: 'stream'
998
					{
999
						match(input, 14, FOLLOW_14_in_rule__ModifierKind__Alternatives769);
1000
1042
1001
					}
1043
                    }
1044
                    break;
1045
                case 2 :
1046
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:397:6: ( ( 'stream' ) )
1047
                    {
1048
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:397:6: ( ( 'stream' ) )
1049
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:398:1: ( 'stream' )
1050
                    {
1051
                     before(grammarAccess.getModifierKindAccess().getSTREAMEnumLiteralDeclaration_1()); 
1052
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:399:1: ( 'stream' )
1053
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:399:3: 'stream'
1054
                    {
1055
                    match(input,14,FOLLOW_14_in_rule__ModifierKind__Alternatives769); 
1002
1056
1003
					after(grammarAccess.getModifierKindAccess().getSTREAMEnumLiteralDeclaration_1());
1057
                    }
1004
1058
1005
				}
1059
                     after(grammarAccess.getModifierKindAccess().getSTREAMEnumLiteralDeclaration_1()); 
1006
1060
1061
                    }
1007
1062
1008
			}
1009
				break;
1010
			case 3:
1011
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:404:6: ( ( 'ordered' ) )
1012
			{
1013
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:404:6: ( ( 'ordered' ) )
1014
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:405:1: ( 'ordered' )
1015
				{
1016
					before(grammarAccess.getModifierKindAccess().getORDEREDEnumLiteralDeclaration_2());
1017
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:406:1: ( 'ordered' )
1018
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:406:3: 'ordered'
1019
					{
1020
						match(input, 15, FOLLOW_15_in_rule__ModifierKind__Alternatives790);
1021
1063
1022
					}
1064
                    }
1065
                    break;
1066
                case 3 :
1067
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:404:6: ( ( 'ordered' ) )
1068
                    {
1069
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:404:6: ( ( 'ordered' ) )
1070
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:405:1: ( 'ordered' )
1071
                    {
1072
                     before(grammarAccess.getModifierKindAccess().getORDEREDEnumLiteralDeclaration_2()); 
1073
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:406:1: ( 'ordered' )
1074
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:406:3: 'ordered'
1075
                    {
1076
                    match(input,15,FOLLOW_15_in_rule__ModifierKind__Alternatives790); 
1023
1077
1024
					after(grammarAccess.getModifierKindAccess().getORDEREDEnumLiteralDeclaration_2());
1078
                    }
1025
1079
1026
				}
1080
                     after(grammarAccess.getModifierKindAccess().getORDEREDEnumLiteralDeclaration_2()); 
1027
1081
1082
                    }
1028
1083
1029
			}
1030
				break;
1031
			case 4:
1032
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:411:6: ( ( 'unique' ) )
1033
			{
1034
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:411:6: ( ( 'unique' ) )
1035
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:412:1: ( 'unique' )
1036
				{
1037
					before(grammarAccess.getModifierKindAccess().getUNIQUEEnumLiteralDeclaration_3());
1038
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:413:1: ( 'unique' )
1039
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:413:3: 'unique'
1040
					{
1041
						match(input, 16, FOLLOW_16_in_rule__ModifierKind__Alternatives811);
1042
1084
1043
					}
1085
                    }
1086
                    break;
1087
                case 4 :
1088
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:411:6: ( ( 'unique' ) )
1089
                    {
1090
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:411:6: ( ( 'unique' ) )
1091
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:412:1: ( 'unique' )
1092
                    {
1093
                     before(grammarAccess.getModifierKindAccess().getUNIQUEEnumLiteralDeclaration_3()); 
1094
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:413:1: ( 'unique' )
1095
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:413:3: 'unique'
1096
                    {
1097
                    match(input,16,FOLLOW_16_in_rule__ModifierKind__Alternatives811); 
1044
1098
1045
					after(grammarAccess.getModifierKindAccess().getUNIQUEEnumLiteralDeclaration_3());
1099
                    }
1046
1100
1047
				}
1101
                     after(grammarAccess.getModifierKindAccess().getUNIQUEEnumLiteralDeclaration_3()); 
1048
1102
1103
                    }
1049
1104
1050
			}
1051
				break;
1052
1105
1053
			}
1106
                    }
1054
		} catch (RecognitionException re) {
1107
                    break;
1055
			reportError(re);
1056
			recover(input, re);
1057
		} finally {
1058
1108
1059
			restoreStackSize(stackSize);
1109
            }
1110
        }
1111
        catch (RecognitionException re) {
1112
            reportError(re);
1113
            recover(input,re);
1114
        }
1115
        finally {
1060
1116
1061
		}
1117
            	restoreStackSize(stackSize);
1062
		return;
1063
	}
1064
1118
1065
	// $ANTLR end rule__ModifierKind__Alternatives
1119
        }
1120
        return ;
1121
    }
1122
    // $ANTLR end "rule__ModifierKind__Alternatives"
1066
1123
1067
1124
1068
	// $ANTLR start rule__EffectKind__Alternatives
1125
    // $ANTLR start "rule__EffectKind__Alternatives"
1069
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:423:1: rule__EffectKind__Alternatives : ( ( ( 'create' ) ) | ( ( 'read' ) ) | ( ( 'update' ) ) | ( ( 'delete' ) ) );
1126
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:423:1: rule__EffectKind__Alternatives : ( ( ( 'create' ) ) | ( ( 'read' ) ) | ( ( 'update' ) ) | ( ( 'delete' ) ) );
1070
	public final void rule__EffectKind__Alternatives() throws RecognitionException {
1127
    public final void rule__EffectKind__Alternatives() throws RecognitionException {
1071
1128
1072
		int stackSize = keepStackSize();
1129
        		int stackSize = keepStackSize();
1130
            
1131
        try {
1132
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:427:1: ( ( ( 'create' ) ) | ( ( 'read' ) ) | ( ( 'update' ) ) | ( ( 'delete' ) ) )
1133
            int alt3=4;
1134
            switch ( input.LA(1) ) {
1135
            case 17:
1136
                {
1137
                alt3=1;
1138
                }
1139
                break;
1140
            case 18:
1141
                {
1142
                alt3=2;
1143
                }
1144
                break;
1145
            case 19:
1146
                {
1147
                alt3=3;
1148
                }
1149
                break;
1150
            case 20:
1151
                {
1152
                alt3=4;
1153
                }
1154
                break;
1155
            default:
1156
                NoViableAltException nvae =
1157
                    new NoViableAltException("", 3, 0, input);
1073
1158
1074
		try {
1159
                throw nvae;
1075
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:427:1: ( ( ( 'create' ) ) | ( ( 'read' ) ) | ( ( 'update' ) ) | ( ( 'delete' ) ) )
1160
            }
1076
			int alt3 = 4;
1077
			switch(input.LA(1)) {
1078
			case 17:
1079
			{
1080
				alt3 = 1;
1081
			}
1082
				break;
1083
			case 18:
1084
			{
1085
				alt3 = 2;
1086
			}
1087
				break;
1088
			case 19:
1089
			{
1090
				alt3 = 3;
1091
			}
1092
				break;
1093
			case 20:
1094
			{
1095
				alt3 = 4;
1096
			}
1097
				break;
1098
			default:
1099
				NoViableAltException nvae = new NoViableAltException("423:1: rule__EffectKind__Alternatives : ( ( ( 'create' ) ) | ( ( 'read' ) ) | ( ( 'update' ) ) | ( ( 'delete' ) ) );", 3, 0, input);
1100
1161
1101
				throw nvae;
1162
            switch (alt3) {
1102
			}
1163
                case 1 :
1164
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:428:1: ( ( 'create' ) )
1165
                    {
1166
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:428:1: ( ( 'create' ) )
1167
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:429:1: ( 'create' )
1168
                    {
1169
                     before(grammarAccess.getEffectKindAccess().getCREATEEnumLiteralDeclaration_0()); 
1170
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:430:1: ( 'create' )
1171
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:430:3: 'create'
1172
                    {
1173
                    match(input,17,FOLLOW_17_in_rule__EffectKind__Alternatives847); 
1103
1174
1104
			switch(alt3) {
1175
                    }
1105
			case 1:
1106
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:428:1: ( ( 'create' ) )
1107
			{
1108
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:428:1: ( ( 'create' ) )
1109
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:429:1: ( 'create' )
1110
				{
1111
					before(grammarAccess.getEffectKindAccess().getCREATEEnumLiteralDeclaration_0());
1112
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:430:1: ( 'create' )
1113
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:430:3: 'create'
1114
					{
1115
						match(input, 17, FOLLOW_17_in_rule__EffectKind__Alternatives847);
1116
1176
1117
					}
1177
                     after(grammarAccess.getEffectKindAccess().getCREATEEnumLiteralDeclaration_0()); 
1118
1178
1119
					after(grammarAccess.getEffectKindAccess().getCREATEEnumLiteralDeclaration_0());
1179
                    }
1120
1180
1121
				}
1122
1181
1182
                    }
1183
                    break;
1184
                case 2 :
1185
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:435:6: ( ( 'read' ) )
1186
                    {
1187
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:435:6: ( ( 'read' ) )
1188
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:436:1: ( 'read' )
1189
                    {
1190
                     before(grammarAccess.getEffectKindAccess().getREADEnumLiteralDeclaration_1()); 
1191
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:437:1: ( 'read' )
1192
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:437:3: 'read'
1193
                    {
1194
                    match(input,18,FOLLOW_18_in_rule__EffectKind__Alternatives868); 
1123
1195
1124
			}
1196
                    }
1125
				break;
1126
			case 2:
1127
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:435:6: ( ( 'read' ) )
1128
			{
1129
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:435:6: ( ( 'read' ) )
1130
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:436:1: ( 'read' )
1131
				{
1132
					before(grammarAccess.getEffectKindAccess().getREADEnumLiteralDeclaration_1());
1133
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:437:1: ( 'read' )
1134
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:437:3: 'read'
1135
					{
1136
						match(input, 18, FOLLOW_18_in_rule__EffectKind__Alternatives868);
1137
1197
1138
					}
1198
                     after(grammarAccess.getEffectKindAccess().getREADEnumLiteralDeclaration_1()); 
1139
1199
1140
					after(grammarAccess.getEffectKindAccess().getREADEnumLiteralDeclaration_1());
1200
                    }
1141
1201
1142
				}
1143
1202
1203
                    }
1204
                    break;
1205
                case 3 :
1206
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:442:6: ( ( 'update' ) )
1207
                    {
1208
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:442:6: ( ( 'update' ) )
1209
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:443:1: ( 'update' )
1210
                    {
1211
                     before(grammarAccess.getEffectKindAccess().getUPDATEEnumLiteralDeclaration_2()); 
1212
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:444:1: ( 'update' )
1213
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:444:3: 'update'
1214
                    {
1215
                    match(input,19,FOLLOW_19_in_rule__EffectKind__Alternatives889); 
1144
1216
1145
			}
1217
                    }
1146
				break;
1147
			case 3:
1148
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:442:6: ( ( 'update' ) )
1149
			{
1150
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:442:6: ( ( 'update' ) )
1151
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:443:1: ( 'update' )
1152
				{
1153
					before(grammarAccess.getEffectKindAccess().getUPDATEEnumLiteralDeclaration_2());
1154
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:444:1: ( 'update' )
1155
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:444:3: 'update'
1156
					{
1157
						match(input, 19, FOLLOW_19_in_rule__EffectKind__Alternatives889);
1158
1218
1159
					}
1219
                     after(grammarAccess.getEffectKindAccess().getUPDATEEnumLiteralDeclaration_2()); 
1160
1220
1161
					after(grammarAccess.getEffectKindAccess().getUPDATEEnumLiteralDeclaration_2());
1221
                    }
1162
1222
1163
				}
1164
1223
1224
                    }
1225
                    break;
1226
                case 4 :
1227
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:449:6: ( ( 'delete' ) )
1228
                    {
1229
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:449:6: ( ( 'delete' ) )
1230
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:450:1: ( 'delete' )
1231
                    {
1232
                     before(grammarAccess.getEffectKindAccess().getDELETEEnumLiteralDeclaration_3()); 
1233
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:451:1: ( 'delete' )
1234
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:451:3: 'delete'
1235
                    {
1236
                    match(input,20,FOLLOW_20_in_rule__EffectKind__Alternatives910); 
1165
1237
1166
			}
1238
                    }
1167
				break;
1168
			case 4:
1169
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:449:6: ( ( 'delete' ) )
1170
			{
1171
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:449:6: ( ( 'delete' ) )
1172
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:450:1: ( 'delete' )
1173
				{
1174
					before(grammarAccess.getEffectKindAccess().getDELETEEnumLiteralDeclaration_3());
1175
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:451:1: ( 'delete' )
1176
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:451:3: 'delete'
1177
					{
1178
						match(input, 20, FOLLOW_20_in_rule__EffectKind__Alternatives910);
1179
1239
1180
					}
1240
                     after(grammarAccess.getEffectKindAccess().getDELETEEnumLiteralDeclaration_3()); 
1181
1241
1182
					after(grammarAccess.getEffectKindAccess().getDELETEEnumLiteralDeclaration_3());
1242
                    }
1183
1243
1184
				}
1185
1244
1245
                    }
1246
                    break;
1186
1247
1187
			}
1248
            }
1188
				break;
1249
        }
1250
        catch (RecognitionException re) {
1251
            reportError(re);
1252
            recover(input,re);
1253
        }
1254
        finally {
1189
1255
1190
			}
1256
            	restoreStackSize(stackSize);
1191
		} catch (RecognitionException re) {
1192
			reportError(re);
1193
			recover(input, re);
1194
		} finally {
1195
1257
1196
			restoreStackSize(stackSize);
1258
        }
1259
        return ;
1260
    }
1261
    // $ANTLR end "rule__EffectKind__Alternatives"
1197
1262
1198
		}
1199
		return;
1200
	}
1201
1263
1202
	// $ANTLR end rule__EffectKind__Alternatives
1264
    // $ANTLR start "rule__VisibilityKind__Alternatives"
1265
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:461:1: rule__VisibilityKind__Alternatives : ( ( ( '+' ) ) | ( ( '-' ) ) | ( ( '#' ) ) | ( ( '~' ) ) );
1266
    public final void rule__VisibilityKind__Alternatives() throws RecognitionException {
1203
1267
1268
        		int stackSize = keepStackSize();
1269
            
1270
        try {
1271
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:465:1: ( ( ( '+' ) ) | ( ( '-' ) ) | ( ( '#' ) ) | ( ( '~' ) ) )
1272
            int alt4=4;
1273
            switch ( input.LA(1) ) {
1274
            case 21:
1275
                {
1276
                alt4=1;
1277
                }
1278
                break;
1279
            case 22:
1280
                {
1281
                alt4=2;
1282
                }
1283
                break;
1284
            case 23:
1285
                {
1286
                alt4=3;
1287
                }
1288
                break;
1289
            case 24:
1290
                {
1291
                alt4=4;
1292
                }
1293
                break;
1294
            default:
1295
                NoViableAltException nvae =
1296
                    new NoViableAltException("", 4, 0, input);
1204
1297
1205
	// $ANTLR start rule__VisibilityKind__Alternatives
1298
                throw nvae;
1206
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:461:1: rule__VisibilityKind__Alternatives : ( ( ( '+' ) ) | ( ( '-' ) ) | ( ( '#' ) ) | ( ( '~' ) ) );
1299
            }
1207
	public final void rule__VisibilityKind__Alternatives() throws RecognitionException {
1208
1300
1209
		int stackSize = keepStackSize();
1301
            switch (alt4) {
1302
                case 1 :
1303
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:466:1: ( ( '+' ) )
1304
                    {
1305
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:466:1: ( ( '+' ) )
1306
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:467:1: ( '+' )
1307
                    {
1308
                     before(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0()); 
1309
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:468:1: ( '+' )
1310
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:468:3: '+'
1311
                    {
1312
                    match(input,21,FOLLOW_21_in_rule__VisibilityKind__Alternatives946); 
1210
1313
1211
		try {
1314
                    }
1212
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:465:1: ( ( ( '+' ) ) | ( ( '-' ) ) | ( ( '#' ) ) | ( ( '~' ) ) )
1213
			int alt4 = 4;
1214
			switch(input.LA(1)) {
1215
			case 21:
1216
			{
1217
				alt4 = 1;
1218
			}
1219
				break;
1220
			case 22:
1221
			{
1222
				alt4 = 2;
1223
			}
1224
				break;
1225
			case 23:
1226
			{
1227
				alt4 = 3;
1228
			}
1229
				break;
1230
			case 24:
1231
			{
1232
				alt4 = 4;
1233
			}
1234
				break;
1235
			default:
1236
				NoViableAltException nvae = new NoViableAltException("461:1: rule__VisibilityKind__Alternatives : ( ( ( '+' ) ) | ( ( '-' ) ) | ( ( '#' ) ) | ( ( '~' ) ) );", 4, 0, input);
1237
1315
1238
				throw nvae;
1316
                     after(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0()); 
1239
			}
1240
1317
1241
			switch(alt4) {
1318
                    }
1242
			case 1:
1243
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:466:1: ( ( '+' ) )
1244
			{
1245
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:466:1: ( ( '+' ) )
1246
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:467:1: ( '+' )
1247
				{
1248
					before(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0());
1249
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:468:1: ( '+' )
1250
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:468:3: '+'
1251
					{
1252
						match(input, 21, FOLLOW_21_in_rule__VisibilityKind__Alternatives946);
1253
1319
1254
					}
1255
1320
1256
					after(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0());
1321
                    }
1322
                    break;
1323
                case 2 :
1324
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:473:6: ( ( '-' ) )
1325
                    {
1326
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:473:6: ( ( '-' ) )
1327
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:474:1: ( '-' )
1328
                    {
1329
                     before(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1()); 
1330
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:475:1: ( '-' )
1331
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:475:3: '-'
1332
                    {
1333
                    match(input,22,FOLLOW_22_in_rule__VisibilityKind__Alternatives967); 
1257
1334
1258
				}
1335
                    }
1259
1336
1337
                     after(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1()); 
1260
1338
1261
			}
1339
                    }
1262
				break;
1263
			case 2:
1264
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:473:6: ( ( '-' ) )
1265
			{
1266
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:473:6: ( ( '-' ) )
1267
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:474:1: ( '-' )
1268
				{
1269
					before(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1());
1270
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:475:1: ( '-' )
1271
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:475:3: '-'
1272
					{
1273
						match(input, 22, FOLLOW_22_in_rule__VisibilityKind__Alternatives967);
1274
1340
1275
					}
1276
1341
1277
					after(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1());
1342
                    }
1343
                    break;
1344
                case 3 :
1345
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:480:6: ( ( '#' ) )
1346
                    {
1347
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:480:6: ( ( '#' ) )
1348
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:481:1: ( '#' )
1349
                    {
1350
                     before(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2()); 
1351
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:482:1: ( '#' )
1352
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:482:3: '#'
1353
                    {
1354
                    match(input,23,FOLLOW_23_in_rule__VisibilityKind__Alternatives988); 
1278
1355
1279
				}
1356
                    }
1280
1357
1358
                     after(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2()); 
1281
1359
1282
			}
1360
                    }
1283
				break;
1284
			case 3:
1285
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:480:6: ( ( '#' ) )
1286
			{
1287
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:480:6: ( ( '#' ) )
1288
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:481:1: ( '#' )
1289
				{
1290
					before(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2());
1291
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:482:1: ( '#' )
1292
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:482:3: '#'
1293
					{
1294
						match(input, 23, FOLLOW_23_in_rule__VisibilityKind__Alternatives988);
1295
1361
1296
					}
1297
1362
1298
					after(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2());
1363
                    }
1364
                    break;
1365
                case 4 :
1366
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:487:6: ( ( '~' ) )
1367
                    {
1368
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:487:6: ( ( '~' ) )
1369
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:488:1: ( '~' )
1370
                    {
1371
                     before(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3()); 
1372
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:489:1: ( '~' )
1373
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:489:3: '~'
1374
                    {
1375
                    match(input,24,FOLLOW_24_in_rule__VisibilityKind__Alternatives1009); 
1299
1376
1300
				}
1377
                    }
1301
1378
1379
                     after(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3()); 
1302
1380
1303
			}
1381
                    }
1304
				break;
1305
			case 4:
1306
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:487:6: ( ( '~' ) )
1307
			{
1308
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:487:6: ( ( '~' ) )
1309
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:488:1: ( '~' )
1310
				{
1311
					before(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3());
1312
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:489:1: ( '~' )
1313
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:489:3: '~'
1314
					{
1315
						match(input, 24, FOLLOW_24_in_rule__VisibilityKind__Alternatives1009);
1316
1382
1317
					}
1318
1383
1319
					after(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3());
1384
                    }
1385
                    break;
1320
1386
1321
				}
1387
            }
1388
        }
1389
        catch (RecognitionException re) {
1390
            reportError(re);
1391
            recover(input,re);
1392
        }
1393
        finally {
1322
1394
1395
            	restoreStackSize(stackSize);
1323
1396
1324
			}
1397
        }
1325
				break;
1398
        return ;
1399
    }
1400
    // $ANTLR end "rule__VisibilityKind__Alternatives"
1326
1401
1327
			}
1328
		} catch (RecognitionException re) {
1329
			reportError(re);
1330
			recover(input, re);
1331
		} finally {
1332
1402
1333
			restoreStackSize(stackSize);
1403
    // $ANTLR start "rule__Direction__Alternatives"
1404
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:499:1: rule__Direction__Alternatives : ( ( ( 'in' ) ) | ( ( 'out' ) ) | ( ( 'inout' ) ) | ( ( 'return' ) ) );
1405
    public final void rule__Direction__Alternatives() throws RecognitionException {
1334
1406
1335
		}
1407
        		int stackSize = keepStackSize();
1336
		return;
1408
            
1337
	}
1409
        try {
1410
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:503:1: ( ( ( 'in' ) ) | ( ( 'out' ) ) | ( ( 'inout' ) ) | ( ( 'return' ) ) )
1411
            int alt5=4;
1412
            switch ( input.LA(1) ) {
1413
            case 25:
1414
                {
1415
                alt5=1;
1416
                }
1417
                break;
1418
            case 26:
1419
                {
1420
                alt5=2;
1421
                }
1422
                break;
1423
            case 27:
1424
                {
1425
                alt5=3;
1426
                }
1427
                break;
1428
            case 28:
1429
                {
1430
                alt5=4;
1431
                }
1432
                break;
1433
            default:
1434
                NoViableAltException nvae =
1435
                    new NoViableAltException("", 5, 0, input);
1338
1436
1339
	// $ANTLR end rule__VisibilityKind__Alternatives
1437
                throw nvae;
1438
            }
1340
1439
1440
            switch (alt5) {
1441
                case 1 :
1442
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:504:1: ( ( 'in' ) )
1443
                    {
1444
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:504:1: ( ( 'in' ) )
1445
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:505:1: ( 'in' )
1446
                    {
1447
                     before(grammarAccess.getDirectionAccess().getINEnumLiteralDeclaration_0()); 
1448
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:506:1: ( 'in' )
1449
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:506:3: 'in'
1450
                    {
1451
                    match(input,25,FOLLOW_25_in_rule__Direction__Alternatives1045); 
1341
1452
1342
	// $ANTLR start rule__Direction__Alternatives
1453
                    }
1343
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:499:1: rule__Direction__Alternatives : ( ( ( 'in' ) ) | ( ( 'out' ) ) | ( ( 'inout' ) ) | ( ( 'return' ) ) );
1344
	public final void rule__Direction__Alternatives() throws RecognitionException {
1345
1454
1346
		int stackSize = keepStackSize();
1455
                     after(grammarAccess.getDirectionAccess().getINEnumLiteralDeclaration_0()); 
1347
1456
1348
		try {
1457
                    }
1349
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:503:1: ( ( ( 'in' ) ) | ( ( 'out' ) ) | ( ( 'inout' ) ) | ( ( 'return' ) ) )
1350
			int alt5 = 4;
1351
			switch(input.LA(1)) {
1352
			case 25:
1353
			{
1354
				alt5 = 1;
1355
			}
1356
				break;
1357
			case 26:
1358
			{
1359
				alt5 = 2;
1360
			}
1361
				break;
1362
			case 27:
1363
			{
1364
				alt5 = 3;
1365
			}
1366
				break;
1367
			case 28:
1368
			{
1369
				alt5 = 4;
1370
			}
1371
				break;
1372
			default:
1373
				NoViableAltException nvae = new NoViableAltException("499:1: rule__Direction__Alternatives : ( ( ( 'in' ) ) | ( ( 'out' ) ) | ( ( 'inout' ) ) | ( ( 'return' ) ) );", 5, 0, input);
1374
1458
1375
				throw nvae;
1376
			}
1377
1459
1378
			switch(alt5) {
1460
                    }
1379
			case 1:
1461
                    break;
1380
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:504:1: ( ( 'in' ) )
1462
                case 2 :
1381
			{
1463
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:511:6: ( ( 'out' ) )
1382
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:504:1: ( ( 'in' ) )
1464
                    {
1383
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:505:1: ( 'in' )
1465
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:511:6: ( ( 'out' ) )
1384
				{
1466
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:512:1: ( 'out' )
1385
					before(grammarAccess.getDirectionAccess().getINEnumLiteralDeclaration_0());
1467
                    {
1386
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:506:1: ( 'in' )
1468
                     before(grammarAccess.getDirectionAccess().getOUTEnumLiteralDeclaration_1()); 
1387
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:506:3: 'in'
1469
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:513:1: ( 'out' )
1388
					{
1470
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:513:3: 'out'
1389
						match(input, 25, FOLLOW_25_in_rule__Direction__Alternatives1045);
1471
                    {
1472
                    match(input,26,FOLLOW_26_in_rule__Direction__Alternatives1066); 
1390
1473
1391
					}
1474
                    }
1392
1475
1393
					after(grammarAccess.getDirectionAccess().getINEnumLiteralDeclaration_0());
1476
                     after(grammarAccess.getDirectionAccess().getOUTEnumLiteralDeclaration_1()); 
1394
1477
1395
				}
1478
                    }
1396
1479
1397
1480
1398
			}
1481
                    }
1399
				break;
1482
                    break;
1400
			case 2:
1483
                case 3 :
1401
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:511:6: ( ( 'out' ) )
1484
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:518:6: ( ( 'inout' ) )
1402
			{
1485
                    {
1403
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:511:6: ( ( 'out' ) )
1486
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:518:6: ( ( 'inout' ) )
1404
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:512:1: ( 'out' )
1487
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:519:1: ( 'inout' )
1405
				{
1488
                    {
1406
					before(grammarAccess.getDirectionAccess().getOUTEnumLiteralDeclaration_1());
1489
                     before(grammarAccess.getDirectionAccess().getINOUTEnumLiteralDeclaration_2()); 
1407
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:513:1: ( 'out' )
1490
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:520:1: ( 'inout' )
1408
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:513:3: 'out'
1491
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:520:3: 'inout'
1409
					{
1492
                    {
1410
						match(input, 26, FOLLOW_26_in_rule__Direction__Alternatives1066);
1493
                    match(input,27,FOLLOW_27_in_rule__Direction__Alternatives1087); 
1411
1494
1412
					}
1495
                    }
1413
1496
1414
					after(grammarAccess.getDirectionAccess().getOUTEnumLiteralDeclaration_1());
1497
                     after(grammarAccess.getDirectionAccess().getINOUTEnumLiteralDeclaration_2()); 
1415
1498
1416
				}
1499
                    }
1417
1500
1418
1501
1419
			}
1502
                    }
1420
				break;
1503
                    break;
1421
			case 3:
1504
                case 4 :
1422
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:518:6: ( ( 'inout' ) )
1505
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:525:6: ( ( 'return' ) )
1423
			{
1506
                    {
1424
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:518:6: ( ( 'inout' ) )
1507
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:525:6: ( ( 'return' ) )
1425
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:519:1: ( 'inout' )
1508
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:526:1: ( 'return' )
1426
				{
1509
                    {
1427
					before(grammarAccess.getDirectionAccess().getINOUTEnumLiteralDeclaration_2());
1510
                     before(grammarAccess.getDirectionAccess().getRETURNEnumLiteralDeclaration_3()); 
1428
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:520:1: ( 'inout' )
1511
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:527:1: ( 'return' )
1429
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:520:3: 'inout'
1512
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:527:3: 'return'
1430
					{
1513
                    {
1431
						match(input, 27, FOLLOW_27_in_rule__Direction__Alternatives1087);
1514
                    match(input,28,FOLLOW_28_in_rule__Direction__Alternatives1108); 
1432
1515
1433
					}
1516
                    }
1434
1517
1435
					after(grammarAccess.getDirectionAccess().getINOUTEnumLiteralDeclaration_2());
1518
                     after(grammarAccess.getDirectionAccess().getRETURNEnumLiteralDeclaration_3()); 
1436
1519
1437
				}
1520
                    }
1438
1521
1439
1522
1440
			}
1523
                    }
1441
				break;
1524
                    break;
1442
			case 4:
1443
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:525:6: ( ( 'return' ) )
1444
			{
1445
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:525:6: ( ( 'return' ) )
1446
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:526:1: ( 'return' )
1447
				{
1448
					before(grammarAccess.getDirectionAccess().getRETURNEnumLiteralDeclaration_3());
1449
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:527:1: ( 'return' )
1450
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:527:3: 'return'
1451
					{
1452
						match(input, 28, FOLLOW_28_in_rule__Direction__Alternatives1108);
1453
1525
1454
					}
1526
            }
1527
        }
1528
        catch (RecognitionException re) {
1529
            reportError(re);
1530
            recover(input,re);
1531
        }
1532
        finally {
1455
1533
1456
					after(grammarAccess.getDirectionAccess().getRETURNEnumLiteralDeclaration_3());
1534
            	restoreStackSize(stackSize);
1457
1535
1458
				}
1536
        }
1537
        return ;
1538
    }
1539
    // $ANTLR end "rule__Direction__Alternatives"
1459
1540
1460
1541
1461
			}
1542
    // $ANTLR start "rule__ParameterRule__Group__0"
1462
				break;
1543
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:539:1: rule__ParameterRule__Group__0 : rule__ParameterRule__Group__0__Impl rule__ParameterRule__Group__1 ;
1544
    public final void rule__ParameterRule__Group__0() throws RecognitionException {
1463
1545
1464
			}
1546
        		int stackSize = keepStackSize();
1465
		} catch (RecognitionException re) {
1547
            
1466
			reportError(re);
1548
        try {
1467
			recover(input, re);
1549
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:543:1: ( rule__ParameterRule__Group__0__Impl rule__ParameterRule__Group__1 )
1468
		} finally {
1550
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:544:2: rule__ParameterRule__Group__0__Impl rule__ParameterRule__Group__1
1551
            {
1552
            pushFollow(FOLLOW_rule__ParameterRule__Group__0__Impl_in_rule__ParameterRule__Group__01141);
1553
            rule__ParameterRule__Group__0__Impl();
1469
1554
1470
			restoreStackSize(stackSize);
1555
            state._fsp--;
1471
1556
1472
		}
1557
            pushFollow(FOLLOW_rule__ParameterRule__Group__1_in_rule__ParameterRule__Group__01144);
1473
		return;
1558
            rule__ParameterRule__Group__1();
1474
	}
1475
1559
1476
	// $ANTLR end rule__Direction__Alternatives
1560
            state._fsp--;
1477
1561
1478
1562
1479
	// $ANTLR start rule__ParameterRule__Group__0
1563
            }
1480
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:539:1: rule__ParameterRule__Group__0 : rule__ParameterRule__Group__0__Impl rule__ParameterRule__Group__1 ;
1481
	public final void rule__ParameterRule__Group__0() throws RecognitionException {
1482
1564
1483
		int stackSize = keepStackSize();
1565
        }
1566
        catch (RecognitionException re) {
1567
            reportError(re);
1568
            recover(input,re);
1569
        }
1570
        finally {
1484
1571
1485
		try {
1572
            	restoreStackSize(stackSize);
1486
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:543:1: ( rule__ParameterRule__Group__0__Impl rule__ParameterRule__Group__1 )
1487
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:544:2: rule__ParameterRule__Group__0__Impl rule__ParameterRule__Group__1
1488
			{
1489
				pushFollow(FOLLOW_rule__ParameterRule__Group__0__Impl_in_rule__ParameterRule__Group__01141);
1490
				rule__ParameterRule__Group__0__Impl();
1491
				_fsp--;
1492
1573
1493
				pushFollow(FOLLOW_rule__ParameterRule__Group__1_in_rule__ParameterRule__Group__01144);
1574
        }
1494
				rule__ParameterRule__Group__1();
1575
        return ;
1495
				_fsp--;
1576
    }
1577
    // $ANTLR end "rule__ParameterRule__Group__0"
1496
1578
1497
1579
1498
			}
1580
    // $ANTLR start "rule__ParameterRule__Group__0__Impl"
1581
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:551:1: rule__ParameterRule__Group__0__Impl : ( ( rule__ParameterRule__VisibilityAssignment_0 ) ) ;
1582
    public final void rule__ParameterRule__Group__0__Impl() throws RecognitionException {
1499
1583
1500
		} catch (RecognitionException re) {
1584
        		int stackSize = keepStackSize();
1501
			reportError(re);
1585
            
1502
			recover(input, re);
1586
        try {
1503
		} finally {
1587
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:555:1: ( ( ( rule__ParameterRule__VisibilityAssignment_0 ) ) )
1588
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:556:1: ( ( rule__ParameterRule__VisibilityAssignment_0 ) )
1589
            {
1590
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:556:1: ( ( rule__ParameterRule__VisibilityAssignment_0 ) )
1591
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:557:1: ( rule__ParameterRule__VisibilityAssignment_0 )
1592
            {
1593
             before(grammarAccess.getParameterRuleAccess().getVisibilityAssignment_0()); 
1594
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:558:1: ( rule__ParameterRule__VisibilityAssignment_0 )
1595
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:558:2: rule__ParameterRule__VisibilityAssignment_0
1596
            {
1597
            pushFollow(FOLLOW_rule__ParameterRule__VisibilityAssignment_0_in_rule__ParameterRule__Group__0__Impl1171);
1598
            rule__ParameterRule__VisibilityAssignment_0();
1504
1599
1505
			restoreStackSize(stackSize);
1600
            state._fsp--;
1506
1601
1507
		}
1508
		return;
1509
	}
1510
1602
1511
	// $ANTLR end rule__ParameterRule__Group__0
1603
            }
1512
1604
1605
             after(grammarAccess.getParameterRuleAccess().getVisibilityAssignment_0()); 
1513
1606
1514
	// $ANTLR start rule__ParameterRule__Group__0__Impl
1607
            }
1515
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:551:1: rule__ParameterRule__Group__0__Impl : ( ( rule__ParameterRule__VisibilityAssignment_0 ) ) ;
1516
	public final void rule__ParameterRule__Group__0__Impl() throws RecognitionException {
1517
1608
1518
		int stackSize = keepStackSize();
1519
1609
1520
		try {
1610
            }
1521
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:555:1: ( ( ( rule__ParameterRule__VisibilityAssignment_0 ) ) )
1522
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:556:1: ( ( rule__ParameterRule__VisibilityAssignment_0 ) )
1523
			{
1524
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:556:1: ( ( rule__ParameterRule__VisibilityAssignment_0 ) )
1525
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:557:1: ( rule__ParameterRule__VisibilityAssignment_0 )
1526
				{
1527
					before(grammarAccess.getParameterRuleAccess().getVisibilityAssignment_0());
1528
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:558:1: ( rule__ParameterRule__VisibilityAssignment_0 )
1529
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:558:2: rule__ParameterRule__VisibilityAssignment_0
1530
					{
1531
						pushFollow(FOLLOW_rule__ParameterRule__VisibilityAssignment_0_in_rule__ParameterRule__Group__0__Impl1171);
1532
						rule__ParameterRule__VisibilityAssignment_0();
1533
						_fsp--;
1534
1611
1612
        }
1613
        catch (RecognitionException re) {
1614
            reportError(re);
1615
            recover(input,re);
1616
        }
1617
        finally {
1535
1618
1536
					}
1619
            	restoreStackSize(stackSize);
1537
1620
1538
					after(grammarAccess.getParameterRuleAccess().getVisibilityAssignment_0());
1621
        }
1622
        return ;
1623
    }
1624
    // $ANTLR end "rule__ParameterRule__Group__0__Impl"
1539
1625
1540
				}
1541
1626
1627
    // $ANTLR start "rule__ParameterRule__Group__1"
1628
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:568:1: rule__ParameterRule__Group__1 : rule__ParameterRule__Group__1__Impl rule__ParameterRule__Group__2 ;
1629
    public final void rule__ParameterRule__Group__1() throws RecognitionException {
1542
1630
1543
			}
1631
        		int stackSize = keepStackSize();
1632
            
1633
        try {
1634
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:572:1: ( rule__ParameterRule__Group__1__Impl rule__ParameterRule__Group__2 )
1635
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:573:2: rule__ParameterRule__Group__1__Impl rule__ParameterRule__Group__2
1636
            {
1637
            pushFollow(FOLLOW_rule__ParameterRule__Group__1__Impl_in_rule__ParameterRule__Group__11201);
1638
            rule__ParameterRule__Group__1__Impl();
1544
1639
1545
		} catch (RecognitionException re) {
1640
            state._fsp--;
1546
			reportError(re);
1547
			recover(input, re);
1548
		} finally {
1549
1641
1550
			restoreStackSize(stackSize);
1642
            pushFollow(FOLLOW_rule__ParameterRule__Group__2_in_rule__ParameterRule__Group__11204);
1643
            rule__ParameterRule__Group__2();
1551
1644
1552
		}
1645
            state._fsp--;
1553
		return;
1554
	}
1555
1646
1556
	// $ANTLR end rule__ParameterRule__Group__0__Impl
1557
1647
1648
            }
1558
1649
1559
	// $ANTLR start rule__ParameterRule__Group__1
1650
        }
1560
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:568:1: rule__ParameterRule__Group__1 : rule__ParameterRule__Group__1__Impl rule__ParameterRule__Group__2 ;
1651
        catch (RecognitionException re) {
1561
	public final void rule__ParameterRule__Group__1() throws RecognitionException {
1652
            reportError(re);
1653
            recover(input,re);
1654
        }
1655
        finally {
1562
1656
1563
		int stackSize = keepStackSize();
1657
            	restoreStackSize(stackSize);
1564
1658
1565
		try {
1659
        }
1566
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:572:1: ( rule__ParameterRule__Group__1__Impl rule__ParameterRule__Group__2 )
1660
        return ;
1567
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:573:2: rule__ParameterRule__Group__1__Impl rule__ParameterRule__Group__2
1661
    }
1568
			{
1662
    // $ANTLR end "rule__ParameterRule__Group__1"
1569
				pushFollow(FOLLOW_rule__ParameterRule__Group__1__Impl_in_rule__ParameterRule__Group__11201);
1570
				rule__ParameterRule__Group__1__Impl();
1571
				_fsp--;
1572
1663
1573
				pushFollow(FOLLOW_rule__ParameterRule__Group__2_in_rule__ParameterRule__Group__11204);
1574
				rule__ParameterRule__Group__2();
1575
				_fsp--;
1576
1664
1665
    // $ANTLR start "rule__ParameterRule__Group__1__Impl"
1666
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:580:1: rule__ParameterRule__Group__1__Impl : ( ( rule__ParameterRule__DirectionAssignment_1 ) ) ;
1667
    public final void rule__ParameterRule__Group__1__Impl() throws RecognitionException {
1577
1668
1578
			}
1669
        		int stackSize = keepStackSize();
1670
            
1671
        try {
1672
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:584:1: ( ( ( rule__ParameterRule__DirectionAssignment_1 ) ) )
1673
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:585:1: ( ( rule__ParameterRule__DirectionAssignment_1 ) )
1674
            {
1675
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:585:1: ( ( rule__ParameterRule__DirectionAssignment_1 ) )
1676
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:586:1: ( rule__ParameterRule__DirectionAssignment_1 )
1677
            {
1678
             before(grammarAccess.getParameterRuleAccess().getDirectionAssignment_1()); 
1679
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:587:1: ( rule__ParameterRule__DirectionAssignment_1 )
1680
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:587:2: rule__ParameterRule__DirectionAssignment_1
1681
            {
1682
            pushFollow(FOLLOW_rule__ParameterRule__DirectionAssignment_1_in_rule__ParameterRule__Group__1__Impl1231);
1683
            rule__ParameterRule__DirectionAssignment_1();
1579
1684
1580
		} catch (RecognitionException re) {
1685
            state._fsp--;
1581
			reportError(re);
1582
			recover(input, re);
1583
		} finally {
1584
1686
1585
			restoreStackSize(stackSize);
1586
1687
1587
		}
1688
            }
1588
		return;
1589
	}
1590
1689
1591
	// $ANTLR end rule__ParameterRule__Group__1
1690
             after(grammarAccess.getParameterRuleAccess().getDirectionAssignment_1()); 
1592
1691
1692
            }
1593
1693
1594
	// $ANTLR start rule__ParameterRule__Group__1__Impl
1595
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:580:1: rule__ParameterRule__Group__1__Impl : ( ( rule__ParameterRule__DirectionAssignment_1 ) ) ;
1596
	public final void rule__ParameterRule__Group__1__Impl() throws RecognitionException {
1597
1694
1598
		int stackSize = keepStackSize();
1695
            }
1599
1696
1600
		try {
1697
        }
1601
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:584:1: ( ( ( rule__ParameterRule__DirectionAssignment_1 ) ) )
1698
        catch (RecognitionException re) {
1602
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:585:1: ( ( rule__ParameterRule__DirectionAssignment_1 ) )
1699
            reportError(re);
1603
			{
1700
            recover(input,re);
1604
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:585:1: ( ( rule__ParameterRule__DirectionAssignment_1 ) )
1701
        }
1605
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:586:1: ( rule__ParameterRule__DirectionAssignment_1 )
1702
        finally {
1606
				{
1607
					before(grammarAccess.getParameterRuleAccess().getDirectionAssignment_1());
1608
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:587:1: ( rule__ParameterRule__DirectionAssignment_1 )
1609
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:587:2: rule__ParameterRule__DirectionAssignment_1
1610
					{
1611
						pushFollow(FOLLOW_rule__ParameterRule__DirectionAssignment_1_in_rule__ParameterRule__Group__1__Impl1231);
1612
						rule__ParameterRule__DirectionAssignment_1();
1613
						_fsp--;
1614
1703
1704
            	restoreStackSize(stackSize);
1615
1705
1616
					}
1706
        }
1707
        return ;
1708
    }
1709
    // $ANTLR end "rule__ParameterRule__Group__1__Impl"
1617
1710
1618
					after(grammarAccess.getParameterRuleAccess().getDirectionAssignment_1());
1619
1711
1620
				}
1712
    // $ANTLR start "rule__ParameterRule__Group__2"
1713
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:597:1: rule__ParameterRule__Group__2 : rule__ParameterRule__Group__2__Impl rule__ParameterRule__Group__3 ;
1714
    public final void rule__ParameterRule__Group__2() throws RecognitionException {
1621
1715
1716
        		int stackSize = keepStackSize();
1717
            
1718
        try {
1719
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:601:1: ( rule__ParameterRule__Group__2__Impl rule__ParameterRule__Group__3 )
1720
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:602:2: rule__ParameterRule__Group__2__Impl rule__ParameterRule__Group__3
1721
            {
1722
            pushFollow(FOLLOW_rule__ParameterRule__Group__2__Impl_in_rule__ParameterRule__Group__21261);
1723
            rule__ParameterRule__Group__2__Impl();
1622
1724
1623
			}
1725
            state._fsp--;
1624
1726
1625
		} catch (RecognitionException re) {
1727
            pushFollow(FOLLOW_rule__ParameterRule__Group__3_in_rule__ParameterRule__Group__21264);
1626
			reportError(re);
1728
            rule__ParameterRule__Group__3();
1627
			recover(input, re);
1628
		} finally {
1629
1729
1630
			restoreStackSize(stackSize);
1730
            state._fsp--;
1631
1731
1632
		}
1633
		return;
1634
	}
1635
1732
1636
	// $ANTLR end rule__ParameterRule__Group__1__Impl
1733
            }
1637
1734
1735
        }
1736
        catch (RecognitionException re) {
1737
            reportError(re);
1738
            recover(input,re);
1739
        }
1740
        finally {
1638
1741
1639
	// $ANTLR start rule__ParameterRule__Group__2
1742
            	restoreStackSize(stackSize);
1640
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:597:1: rule__ParameterRule__Group__2 : rule__ParameterRule__Group__2__Impl rule__ParameterRule__Group__3 ;
1641
	public final void rule__ParameterRule__Group__2() throws RecognitionException {
1642
1743
1643
		int stackSize = keepStackSize();
1744
        }
1745
        return ;
1746
    }
1747
    // $ANTLR end "rule__ParameterRule__Group__2"
1644
1748
1645
		try {
1646
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:601:1: ( rule__ParameterRule__Group__2__Impl rule__ParameterRule__Group__3 )
1647
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:602:2: rule__ParameterRule__Group__2__Impl rule__ParameterRule__Group__3
1648
			{
1649
				pushFollow(FOLLOW_rule__ParameterRule__Group__2__Impl_in_rule__ParameterRule__Group__21261);
1650
				rule__ParameterRule__Group__2__Impl();
1651
				_fsp--;
1652
1749
1653
				pushFollow(FOLLOW_rule__ParameterRule__Group__3_in_rule__ParameterRule__Group__21264);
1750
    // $ANTLR start "rule__ParameterRule__Group__2__Impl"
1654
				rule__ParameterRule__Group__3();
1751
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:609:1: rule__ParameterRule__Group__2__Impl : ( ( rule__ParameterRule__NameAssignment_2 ) ) ;
1655
				_fsp--;
1752
    public final void rule__ParameterRule__Group__2__Impl() throws RecognitionException {
1656
1753
1754
        		int stackSize = keepStackSize();
1755
            
1756
        try {
1757
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:613:1: ( ( ( rule__ParameterRule__NameAssignment_2 ) ) )
1758
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:614:1: ( ( rule__ParameterRule__NameAssignment_2 ) )
1759
            {
1760
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:614:1: ( ( rule__ParameterRule__NameAssignment_2 ) )
1761
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:615:1: ( rule__ParameterRule__NameAssignment_2 )
1762
            {
1763
             before(grammarAccess.getParameterRuleAccess().getNameAssignment_2()); 
1764
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:616:1: ( rule__ParameterRule__NameAssignment_2 )
1765
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:616:2: rule__ParameterRule__NameAssignment_2
1766
            {
1767
            pushFollow(FOLLOW_rule__ParameterRule__NameAssignment_2_in_rule__ParameterRule__Group__2__Impl1291);
1768
            rule__ParameterRule__NameAssignment_2();
1657
1769
1658
			}
1770
            state._fsp--;
1659
1771
1660
		} catch (RecognitionException re) {
1661
			reportError(re);
1662
			recover(input, re);
1663
		} finally {
1664
1772
1665
			restoreStackSize(stackSize);
1773
            }
1666
1774
1667
		}
1775
             after(grammarAccess.getParameterRuleAccess().getNameAssignment_2()); 
1668
		return;
1669
	}
1670
1776
1671
	// $ANTLR end rule__ParameterRule__Group__2
1777
            }
1672
1778
1673
1779
1674
	// $ANTLR start rule__ParameterRule__Group__2__Impl
1780
            }
1675
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:609:1: rule__ParameterRule__Group__2__Impl : ( ( rule__ParameterRule__NameAssignment_2 ) ) ;
1676
	public final void rule__ParameterRule__Group__2__Impl() throws RecognitionException {
1677
1781
1678
		int stackSize = keepStackSize();
1782
        }
1783
        catch (RecognitionException re) {
1784
            reportError(re);
1785
            recover(input,re);
1786
        }
1787
        finally {
1679
1788
1680
		try {
1789
            	restoreStackSize(stackSize);
1681
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:613:1: ( ( ( rule__ParameterRule__NameAssignment_2 ) ) )
1682
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:614:1: ( ( rule__ParameterRule__NameAssignment_2 ) )
1683
			{
1684
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:614:1: ( ( rule__ParameterRule__NameAssignment_2 ) )
1685
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:615:1: ( rule__ParameterRule__NameAssignment_2 )
1686
				{
1687
					before(grammarAccess.getParameterRuleAccess().getNameAssignment_2());
1688
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:616:1: ( rule__ParameterRule__NameAssignment_2 )
1689
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:616:2: rule__ParameterRule__NameAssignment_2
1690
					{
1691
						pushFollow(FOLLOW_rule__ParameterRule__NameAssignment_2_in_rule__ParameterRule__Group__2__Impl1291);
1692
						rule__ParameterRule__NameAssignment_2();
1693
						_fsp--;
1694
1790
1791
        }
1792
        return ;
1793
    }
1794
    // $ANTLR end "rule__ParameterRule__Group__2__Impl"
1695
1795
1696
					}
1697
1796
1698
					after(grammarAccess.getParameterRuleAccess().getNameAssignment_2());
1797
    // $ANTLR start "rule__ParameterRule__Group__3"
1798
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:626:1: rule__ParameterRule__Group__3 : rule__ParameterRule__Group__3__Impl rule__ParameterRule__Group__4 ;
1799
    public final void rule__ParameterRule__Group__3() throws RecognitionException {
1699
1800
1700
				}
1801
        		int stackSize = keepStackSize();
1802
            
1803
        try {
1804
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:630:1: ( rule__ParameterRule__Group__3__Impl rule__ParameterRule__Group__4 )
1805
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:631:2: rule__ParameterRule__Group__3__Impl rule__ParameterRule__Group__4
1806
            {
1807
            pushFollow(FOLLOW_rule__ParameterRule__Group__3__Impl_in_rule__ParameterRule__Group__31321);
1808
            rule__ParameterRule__Group__3__Impl();
1701
1809
1810
            state._fsp--;
1702
1811
1703
			}
1812
            pushFollow(FOLLOW_rule__ParameterRule__Group__4_in_rule__ParameterRule__Group__31324);
1813
            rule__ParameterRule__Group__4();
1704
1814
1705
		} catch (RecognitionException re) {
1815
            state._fsp--;
1706
			reportError(re);
1707
			recover(input, re);
1708
		} finally {
1709
1816
1710
			restoreStackSize(stackSize);
1711
1817
1712
		}
1818
            }
1713
		return;
1714
	}
1715
1819
1716
	// $ANTLR end rule__ParameterRule__Group__2__Impl
1820
        }
1821
        catch (RecognitionException re) {
1822
            reportError(re);
1823
            recover(input,re);
1824
        }
1825
        finally {
1717
1826
1827
            	restoreStackSize(stackSize);
1718
1828
1719
	// $ANTLR start rule__ParameterRule__Group__3
1829
        }
1720
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:626:1: rule__ParameterRule__Group__3 : rule__ParameterRule__Group__3__Impl rule__ParameterRule__Group__4 ;
1830
        return ;
1721
	public final void rule__ParameterRule__Group__3() throws RecognitionException {
1831
    }
1832
    // $ANTLR end "rule__ParameterRule__Group__3"
1722
1833
1723
		int stackSize = keepStackSize();
1724
1834
1725
		try {
1835
    // $ANTLR start "rule__ParameterRule__Group__3__Impl"
1726
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:630:1: ( rule__ParameterRule__Group__3__Impl rule__ParameterRule__Group__4 )
1836
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:638:1: rule__ParameterRule__Group__3__Impl : ( ':' ) ;
1727
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:631:2: rule__ParameterRule__Group__3__Impl rule__ParameterRule__Group__4
1837
    public final void rule__ParameterRule__Group__3__Impl() throws RecognitionException {
1728
			{
1729
				pushFollow(FOLLOW_rule__ParameterRule__Group__3__Impl_in_rule__ParameterRule__Group__31321);
1730
				rule__ParameterRule__Group__3__Impl();
1731
				_fsp--;
1732
1838
1733
				pushFollow(FOLLOW_rule__ParameterRule__Group__4_in_rule__ParameterRule__Group__31324);
1839
        		int stackSize = keepStackSize();
1734
				rule__ParameterRule__Group__4();
1840
            
1735
				_fsp--;
1841
        try {
1842
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:642:1: ( ( ':' ) )
1843
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:643:1: ( ':' )
1844
            {
1845
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:643:1: ( ':' )
1846
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:644:1: ':'
1847
            {
1848
             before(grammarAccess.getParameterRuleAccess().getColonKeyword_3()); 
1849
            match(input,29,FOLLOW_29_in_rule__ParameterRule__Group__3__Impl1352); 
1850
             after(grammarAccess.getParameterRuleAccess().getColonKeyword_3()); 
1736
1851
1852
            }
1737
1853
1738
			}
1739
1854
1740
		} catch (RecognitionException re) {
1855
            }
1741
			reportError(re);
1742
			recover(input, re);
1743
		} finally {
1744
1856
1745
			restoreStackSize(stackSize);
1857
        }
1858
        catch (RecognitionException re) {
1859
            reportError(re);
1860
            recover(input,re);
1861
        }
1862
        finally {
1746
1863
1747
		}
1864
            	restoreStackSize(stackSize);
1748
		return;
1749
	}
1750
1865
1751
	// $ANTLR end rule__ParameterRule__Group__3
1866
        }
1867
        return ;
1868
    }
1869
    // $ANTLR end "rule__ParameterRule__Group__3__Impl"
1752
1870
1753
1871
1754
	// $ANTLR start rule__ParameterRule__Group__3__Impl
1872
    // $ANTLR start "rule__ParameterRule__Group__4"
1755
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:638:1: rule__ParameterRule__Group__3__Impl : ( ':' ) ;
1873
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:657:1: rule__ParameterRule__Group__4 : rule__ParameterRule__Group__4__Impl rule__ParameterRule__Group__5 ;
1756
	public final void rule__ParameterRule__Group__3__Impl() throws RecognitionException {
1874
    public final void rule__ParameterRule__Group__4() throws RecognitionException {
1757
1875
1758
		int stackSize = keepStackSize();
1876
        		int stackSize = keepStackSize();
1877
            
1878
        try {
1879
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:661:1: ( rule__ParameterRule__Group__4__Impl rule__ParameterRule__Group__5 )
1880
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:662:2: rule__ParameterRule__Group__4__Impl rule__ParameterRule__Group__5
1881
            {
1882
            pushFollow(FOLLOW_rule__ParameterRule__Group__4__Impl_in_rule__ParameterRule__Group__41383);
1883
            rule__ParameterRule__Group__4__Impl();
1759
1884
1760
		try {
1885
            state._fsp--;
1761
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:642:1: ( ( ':' ) )
1762
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:643:1: ( ':' )
1763
			{
1764
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:643:1: ( ':' )
1765
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:644:1: ':'
1766
				{
1767
					before(grammarAccess.getParameterRuleAccess().getColonKeyword_3());
1768
					match(input, 29, FOLLOW_29_in_rule__ParameterRule__Group__3__Impl1352);
1769
					after(grammarAccess.getParameterRuleAccess().getColonKeyword_3());
1770
1886
1771
				}
1887
            pushFollow(FOLLOW_rule__ParameterRule__Group__5_in_rule__ParameterRule__Group__41386);
1888
            rule__ParameterRule__Group__5();
1772
1889
1890
            state._fsp--;
1773
1891
1774
			}
1775
1892
1776
		} catch (RecognitionException re) {
1893
            }
1777
			reportError(re);
1778
			recover(input, re);
1779
		} finally {
1780
1894
1781
			restoreStackSize(stackSize);
1895
        }
1896
        catch (RecognitionException re) {
1897
            reportError(re);
1898
            recover(input,re);
1899
        }
1900
        finally {
1782
1901
1783
		}
1902
            	restoreStackSize(stackSize);
1784
		return;
1785
	}
1786
1903
1787
	// $ANTLR end rule__ParameterRule__Group__3__Impl
1904
        }
1905
        return ;
1906
    }
1907
    // $ANTLR end "rule__ParameterRule__Group__4"
1788
1908
1789
1909
1790
	// $ANTLR start rule__ParameterRule__Group__4
1910
    // $ANTLR start "rule__ParameterRule__Group__4__Impl"
1791
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:657:1: rule__ParameterRule__Group__4 : rule__ParameterRule__Group__4__Impl rule__ParameterRule__Group__5 ;
1911
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:669:1: rule__ParameterRule__Group__4__Impl : ( ( rule__ParameterRule__Alternatives_4 ) ) ;
1792
	public final void rule__ParameterRule__Group__4() throws RecognitionException {
1912
    public final void rule__ParameterRule__Group__4__Impl() throws RecognitionException {
1793
1913
1794
		int stackSize = keepStackSize();
1914
        		int stackSize = keepStackSize();
1915
            
1916
        try {
1917
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:673:1: ( ( ( rule__ParameterRule__Alternatives_4 ) ) )
1918
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:674:1: ( ( rule__ParameterRule__Alternatives_4 ) )
1919
            {
1920
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:674:1: ( ( rule__ParameterRule__Alternatives_4 ) )
1921
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:675:1: ( rule__ParameterRule__Alternatives_4 )
1922
            {
1923
             before(grammarAccess.getParameterRuleAccess().getAlternatives_4()); 
1924
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:676:1: ( rule__ParameterRule__Alternatives_4 )
1925
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:676:2: rule__ParameterRule__Alternatives_4
1926
            {
1927
            pushFollow(FOLLOW_rule__ParameterRule__Alternatives_4_in_rule__ParameterRule__Group__4__Impl1413);
1928
            rule__ParameterRule__Alternatives_4();
1795
1929
1796
		try {
1930
            state._fsp--;
1797
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:661:1: ( rule__ParameterRule__Group__4__Impl rule__ParameterRule__Group__5 )
1798
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:662:2: rule__ParameterRule__Group__4__Impl rule__ParameterRule__Group__5
1799
			{
1800
				pushFollow(FOLLOW_rule__ParameterRule__Group__4__Impl_in_rule__ParameterRule__Group__41383);
1801
				rule__ParameterRule__Group__4__Impl();
1802
				_fsp--;
1803
1931
1804
				pushFollow(FOLLOW_rule__ParameterRule__Group__5_in_rule__ParameterRule__Group__41386);
1805
				rule__ParameterRule__Group__5();
1806
				_fsp--;
1807
1932
1933
            }
1808
1934
1809
			}
1935
             after(grammarAccess.getParameterRuleAccess().getAlternatives_4()); 
1810
1936
1811
		} catch (RecognitionException re) {
1937
            }
1812
			reportError(re);
1813
			recover(input, re);
1814
		} finally {
1815
1938
1816
			restoreStackSize(stackSize);
1817
1939
1818
		}
1940
            }
1819
		return;
1820
	}
1821
1941
1822
	// $ANTLR end rule__ParameterRule__Group__4
1942
        }
1943
        catch (RecognitionException re) {
1944
            reportError(re);
1945
            recover(input,re);
1946
        }
1947
        finally {
1823
1948
1949
            	restoreStackSize(stackSize);
1824
1950
1825
	// $ANTLR start rule__ParameterRule__Group__4__Impl
1951
        }
1826
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:669:1: rule__ParameterRule__Group__4__Impl : ( ( rule__ParameterRule__Alternatives_4 ) ) ;
1952
        return ;
1827
	public final void rule__ParameterRule__Group__4__Impl() throws RecognitionException {
1953
    }
1954
    // $ANTLR end "rule__ParameterRule__Group__4__Impl"
1828
1955
1829
		int stackSize = keepStackSize();
1830
1956
1831
		try {
1957
    // $ANTLR start "rule__ParameterRule__Group__5"
1832
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:673:1: ( ( ( rule__ParameterRule__Alternatives_4 ) ) )
1958
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:686:1: rule__ParameterRule__Group__5 : rule__ParameterRule__Group__5__Impl rule__ParameterRule__Group__6 ;
1833
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:674:1: ( ( rule__ParameterRule__Alternatives_4 ) )
1959
    public final void rule__ParameterRule__Group__5() throws RecognitionException {
1834
			{
1835
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:674:1: ( ( rule__ParameterRule__Alternatives_4 ) )
1836
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:675:1: ( rule__ParameterRule__Alternatives_4 )
1837
				{
1838
					before(grammarAccess.getParameterRuleAccess().getAlternatives_4());
1839
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:676:1: ( rule__ParameterRule__Alternatives_4 )
1840
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:676:2: rule__ParameterRule__Alternatives_4
1841
					{
1842
						pushFollow(FOLLOW_rule__ParameterRule__Alternatives_4_in_rule__ParameterRule__Group__4__Impl1413);
1843
						rule__ParameterRule__Alternatives_4();
1844
						_fsp--;
1845
1960
1961
        		int stackSize = keepStackSize();
1962
            
1963
        try {
1964
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:690:1: ( rule__ParameterRule__Group__5__Impl rule__ParameterRule__Group__6 )
1965
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:691:2: rule__ParameterRule__Group__5__Impl rule__ParameterRule__Group__6
1966
            {
1967
            pushFollow(FOLLOW_rule__ParameterRule__Group__5__Impl_in_rule__ParameterRule__Group__51443);
1968
            rule__ParameterRule__Group__5__Impl();
1846
1969
1847
					}
1970
            state._fsp--;
1848
1971
1849
					after(grammarAccess.getParameterRuleAccess().getAlternatives_4());
1972
            pushFollow(FOLLOW_rule__ParameterRule__Group__6_in_rule__ParameterRule__Group__51446);
1973
            rule__ParameterRule__Group__6();
1850
1974
1851
				}
1975
            state._fsp--;
1852
1976
1853
1977
1854
			}
1978
            }
1855
1979
1856
		} catch (RecognitionException re) {
1980
        }
1857
			reportError(re);
1981
        catch (RecognitionException re) {
1858
			recover(input, re);
1982
            reportError(re);
1859
		} finally {
1983
            recover(input,re);
1984
        }
1985
        finally {
1860
1986
1861
			restoreStackSize(stackSize);
1987
            	restoreStackSize(stackSize);
1862
1988
1863
		}
1989
        }
1864
		return;
1990
        return ;
1865
	}
1991
    }
1992
    // $ANTLR end "rule__ParameterRule__Group__5"
1866
1993
1867
	// $ANTLR end rule__ParameterRule__Group__4__Impl
1868
1994
1995
    // $ANTLR start "rule__ParameterRule__Group__5__Impl"
1996
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:698:1: rule__ParameterRule__Group__5__Impl : ( ( rule__ParameterRule__MultiplicityAssignment_5 )? ) ;
1997
    public final void rule__ParameterRule__Group__5__Impl() throws RecognitionException {
1869
1998
1870
	// $ANTLR start rule__ParameterRule__Group__5
1999
        		int stackSize = keepStackSize();
1871
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:686:1: rule__ParameterRule__Group__5 : rule__ParameterRule__Group__5__Impl rule__ParameterRule__Group__6 ;
2000
            
1872
	public final void rule__ParameterRule__Group__5() throws RecognitionException {
2001
        try {
2002
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:702:1: ( ( ( rule__ParameterRule__MultiplicityAssignment_5 )? ) )
2003
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:703:1: ( ( rule__ParameterRule__MultiplicityAssignment_5 )? )
2004
            {
2005
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:703:1: ( ( rule__ParameterRule__MultiplicityAssignment_5 )? )
2006
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:704:1: ( rule__ParameterRule__MultiplicityAssignment_5 )?
2007
            {
2008
             before(grammarAccess.getParameterRuleAccess().getMultiplicityAssignment_5()); 
2009
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:705:1: ( rule__ParameterRule__MultiplicityAssignment_5 )?
2010
            int alt6=2;
2011
            int LA6_0 = input.LA(1);
1873
2012
1874
		int stackSize = keepStackSize();
2013
            if ( (LA6_0==35) ) {
2014
                alt6=1;
2015
            }
2016
            switch (alt6) {
2017
                case 1 :
2018
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:705:2: rule__ParameterRule__MultiplicityAssignment_5
2019
                    {
2020
                    pushFollow(FOLLOW_rule__ParameterRule__MultiplicityAssignment_5_in_rule__ParameterRule__Group__5__Impl1473);
2021
                    rule__ParameterRule__MultiplicityAssignment_5();
1875
2022
1876
		try {
2023
                    state._fsp--;
1877
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:690:1: ( rule__ParameterRule__Group__5__Impl rule__ParameterRule__Group__6 )
1878
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:691:2: rule__ParameterRule__Group__5__Impl rule__ParameterRule__Group__6
1879
			{
1880
				pushFollow(FOLLOW_rule__ParameterRule__Group__5__Impl_in_rule__ParameterRule__Group__51443);
1881
				rule__ParameterRule__Group__5__Impl();
1882
				_fsp--;
1883
2024
1884
				pushFollow(FOLLOW_rule__ParameterRule__Group__6_in_rule__ParameterRule__Group__51446);
1885
				rule__ParameterRule__Group__6();
1886
				_fsp--;
1887
2025
2026
                    }
2027
                    break;
1888
2028
1889
			}
2029
            }
1890
2030
1891
		} catch (RecognitionException re) {
2031
             after(grammarAccess.getParameterRuleAccess().getMultiplicityAssignment_5()); 
1892
			reportError(re);
1893
			recover(input, re);
1894
		} finally {
1895
2032
1896
			restoreStackSize(stackSize);
2033
            }
1897
2034
1898
		}
1899
		return;
1900
	}
1901
2035
1902
	// $ANTLR end rule__ParameterRule__Group__5
2036
            }
1903
2037
2038
        }
2039
        catch (RecognitionException re) {
2040
            reportError(re);
2041
            recover(input,re);
2042
        }
2043
        finally {
1904
2044
1905
	// $ANTLR start rule__ParameterRule__Group__5__Impl
2045
            	restoreStackSize(stackSize);
1906
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:698:1: rule__ParameterRule__Group__5__Impl : ( ( rule__ParameterRule__MultiplicityAssignment_5 )? ) ;
1907
	public final void rule__ParameterRule__Group__5__Impl() throws RecognitionException {
1908
2046
1909
		int stackSize = keepStackSize();
2047
        }
2048
        return ;
2049
    }
2050
    // $ANTLR end "rule__ParameterRule__Group__5__Impl"
1910
2051
1911
		try {
1912
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:702:1: ( ( ( rule__ParameterRule__MultiplicityAssignment_5 )? ) )
1913
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:703:1: ( ( rule__ParameterRule__MultiplicityAssignment_5 )? )
1914
			{
1915
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:703:1: ( ( rule__ParameterRule__MultiplicityAssignment_5 )? )
1916
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:704:1: ( rule__ParameterRule__MultiplicityAssignment_5 )?
1917
				{
1918
					before(grammarAccess.getParameterRuleAccess().getMultiplicityAssignment_5());
1919
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:705:1: ( rule__ParameterRule__MultiplicityAssignment_5 )?
1920
					int alt6 = 2;
1921
					int LA6_0 = input.LA(1);
1922
2052
1923
					if((LA6_0 == 35)) {
2053
    // $ANTLR start "rule__ParameterRule__Group__6"
1924
						alt6 = 1;
2054
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:715:1: rule__ParameterRule__Group__6 : rule__ParameterRule__Group__6__Impl rule__ParameterRule__Group__7 ;
1925
					}
2055
    public final void rule__ParameterRule__Group__6() throws RecognitionException {
1926
					switch(alt6) {
1927
					case 1:
1928
						// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:705:2: rule__ParameterRule__MultiplicityAssignment_5
1929
					{
1930
						pushFollow(FOLLOW_rule__ParameterRule__MultiplicityAssignment_5_in_rule__ParameterRule__Group__5__Impl1473);
1931
						rule__ParameterRule__MultiplicityAssignment_5();
1932
						_fsp--;
1933
2056
2057
        		int stackSize = keepStackSize();
2058
            
2059
        try {
2060
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:719:1: ( rule__ParameterRule__Group__6__Impl rule__ParameterRule__Group__7 )
2061
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:720:2: rule__ParameterRule__Group__6__Impl rule__ParameterRule__Group__7
2062
            {
2063
            pushFollow(FOLLOW_rule__ParameterRule__Group__6__Impl_in_rule__ParameterRule__Group__61504);
2064
            rule__ParameterRule__Group__6__Impl();
1934
2065
1935
					}
2066
            state._fsp--;
1936
						break;
1937
2067
1938
					}
2068
            pushFollow(FOLLOW_rule__ParameterRule__Group__7_in_rule__ParameterRule__Group__61507);
2069
            rule__ParameterRule__Group__7();
1939
2070
1940
					after(grammarAccess.getParameterRuleAccess().getMultiplicityAssignment_5());
2071
            state._fsp--;
1941
2072
1942
				}
1943
2073
2074
            }
1944
2075
1945
			}
2076
        }
2077
        catch (RecognitionException re) {
2078
            reportError(re);
2079
            recover(input,re);
2080
        }
2081
        finally {
1946
2082
1947
		} catch (RecognitionException re) {
2083
            	restoreStackSize(stackSize);
1948
			reportError(re);
1949
			recover(input, re);
1950
		} finally {
1951
2084
1952
			restoreStackSize(stackSize);
2085
        }
2086
        return ;
2087
    }
2088
    // $ANTLR end "rule__ParameterRule__Group__6"
1953
2089
1954
		}
1955
		return;
1956
	}
1957
2090
1958
	// $ANTLR end rule__ParameterRule__Group__5__Impl
2091
    // $ANTLR start "rule__ParameterRule__Group__6__Impl"
2092
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:727:1: rule__ParameterRule__Group__6__Impl : ( ( rule__ParameterRule__ModifiersAssignment_6 )? ) ;
2093
    public final void rule__ParameterRule__Group__6__Impl() throws RecognitionException {
1959
2094
2095
        		int stackSize = keepStackSize();
2096
            
2097
        try {
2098
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:731:1: ( ( ( rule__ParameterRule__ModifiersAssignment_6 )? ) )
2099
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:732:1: ( ( rule__ParameterRule__ModifiersAssignment_6 )? )
2100
            {
2101
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:732:1: ( ( rule__ParameterRule__ModifiersAssignment_6 )? )
2102
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:733:1: ( rule__ParameterRule__ModifiersAssignment_6 )?
2103
            {
2104
             before(grammarAccess.getParameterRuleAccess().getModifiersAssignment_6()); 
2105
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:734:1: ( rule__ParameterRule__ModifiersAssignment_6 )?
2106
            int alt7=2;
2107
            int LA7_0 = input.LA(1);
1960
2108
1961
	// $ANTLR start rule__ParameterRule__Group__6
2109
            if ( (LA7_0==30) ) {
1962
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:715:1: rule__ParameterRule__Group__6 : rule__ParameterRule__Group__6__Impl rule__ParameterRule__Group__7 ;
2110
                int LA7_1 = input.LA(2);
1963
	public final void rule__ParameterRule__Group__6() throws RecognitionException {
1964
2111
1965
		int stackSize = keepStackSize();
2112
                if ( ((LA7_1>=13 && LA7_1<=16)) ) {
2113
                    alt7=1;
2114
                }
2115
            }
2116
            switch (alt7) {
2117
                case 1 :
2118
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:734:2: rule__ParameterRule__ModifiersAssignment_6
2119
                    {
2120
                    pushFollow(FOLLOW_rule__ParameterRule__ModifiersAssignment_6_in_rule__ParameterRule__Group__6__Impl1534);
2121
                    rule__ParameterRule__ModifiersAssignment_6();
1966
2122
1967
		try {
2123
                    state._fsp--;
1968
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:719:1: ( rule__ParameterRule__Group__6__Impl rule__ParameterRule__Group__7 )
1969
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:720:2: rule__ParameterRule__Group__6__Impl rule__ParameterRule__Group__7
1970
			{
1971
				pushFollow(FOLLOW_rule__ParameterRule__Group__6__Impl_in_rule__ParameterRule__Group__61504);
1972
				rule__ParameterRule__Group__6__Impl();
1973
				_fsp--;
1974
2124
1975
				pushFollow(FOLLOW_rule__ParameterRule__Group__7_in_rule__ParameterRule__Group__61507);
1976
				rule__ParameterRule__Group__7();
1977
				_fsp--;
1978
2125
2126
                    }
2127
                    break;
1979
2128
1980
			}
2129
            }
1981
2130
1982
		} catch (RecognitionException re) {
2131
             after(grammarAccess.getParameterRuleAccess().getModifiersAssignment_6()); 
1983
			reportError(re);
1984
			recover(input, re);
1985
		} finally {
1986
2132
1987
			restoreStackSize(stackSize);
2133
            }
1988
2134
1989
		}
1990
		return;
1991
	}
1992
2135
1993
	// $ANTLR end rule__ParameterRule__Group__6
2136
            }
1994
2137
2138
        }
2139
        catch (RecognitionException re) {
2140
            reportError(re);
2141
            recover(input,re);
2142
        }
2143
        finally {
1995
2144
1996
	// $ANTLR start rule__ParameterRule__Group__6__Impl
2145
            	restoreStackSize(stackSize);
1997
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:727:1: rule__ParameterRule__Group__6__Impl : ( ( rule__ParameterRule__ModifiersAssignment_6 )? ) ;
1998
	public final void rule__ParameterRule__Group__6__Impl() throws RecognitionException {
1999
2146
2000
		int stackSize = keepStackSize();
2147
        }
2148
        return ;
2149
    }
2150
    // $ANTLR end "rule__ParameterRule__Group__6__Impl"
2001
2151
2002
		try {
2003
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:731:1: ( ( ( rule__ParameterRule__ModifiersAssignment_6 )? ) )
2004
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:732:1: ( ( rule__ParameterRule__ModifiersAssignment_6 )? )
2005
			{
2006
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:732:1: ( ( rule__ParameterRule__ModifiersAssignment_6 )? )
2007
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:733:1: ( rule__ParameterRule__ModifiersAssignment_6 )?
2008
				{
2009
					before(grammarAccess.getParameterRuleAccess().getModifiersAssignment_6());
2010
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:734:1: ( rule__ParameterRule__ModifiersAssignment_6 )?
2011
					int alt7 = 2;
2012
					int LA7_0 = input.LA(1);
2013
2152
2014
					if((LA7_0 == 30)) {
2153
    // $ANTLR start "rule__ParameterRule__Group__7"
2015
						int LA7_1 = input.LA(2);
2154
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:744:1: rule__ParameterRule__Group__7 : rule__ParameterRule__Group__7__Impl ;
2155
    public final void rule__ParameterRule__Group__7() throws RecognitionException {
2016
2156
2017
						if(((LA7_1 >= 13 && LA7_1 <= 16))) {
2157
        		int stackSize = keepStackSize();
2018
							alt7 = 1;
2158
            
2019
						}
2159
        try {
2020
					}
2160
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:748:1: ( rule__ParameterRule__Group__7__Impl )
2021
					switch(alt7) {
2161
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:749:2: rule__ParameterRule__Group__7__Impl
2022
					case 1:
2162
            {
2023
						// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:734:2: rule__ParameterRule__ModifiersAssignment_6
2163
            pushFollow(FOLLOW_rule__ParameterRule__Group__7__Impl_in_rule__ParameterRule__Group__71565);
2024
					{
2164
            rule__ParameterRule__Group__7__Impl();
2025
						pushFollow(FOLLOW_rule__ParameterRule__ModifiersAssignment_6_in_rule__ParameterRule__Group__6__Impl1534);
2026
						rule__ParameterRule__ModifiersAssignment_6();
2027
						_fsp--;
2028
2165
2166
            state._fsp--;
2029
2167
2030
					}
2031
						break;
2032
2168
2033
					}
2169
            }
2034
2170
2035
					after(grammarAccess.getParameterRuleAccess().getModifiersAssignment_6());
2171
        }
2172
        catch (RecognitionException re) {
2173
            reportError(re);
2174
            recover(input,re);
2175
        }
2176
        finally {
2036
2177
2037
				}
2178
            	restoreStackSize(stackSize);
2038
2179
2180
        }
2181
        return ;
2182
    }
2183
    // $ANTLR end "rule__ParameterRule__Group__7"
2039
2184
2040
			}
2041
2185
2042
		} catch (RecognitionException re) {
2186
    // $ANTLR start "rule__ParameterRule__Group__7__Impl"
2043
			reportError(re);
2187
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:755:1: rule__ParameterRule__Group__7__Impl : ( ( rule__ParameterRule__EffectAssignment_7 ) ) ;
2044
			recover(input, re);
2188
    public final void rule__ParameterRule__Group__7__Impl() throws RecognitionException {
2045
		} finally {
2046
2189
2047
			restoreStackSize(stackSize);
2190
        		int stackSize = keepStackSize();
2191
            
2192
        try {
2193
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:759:1: ( ( ( rule__ParameterRule__EffectAssignment_7 ) ) )
2194
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:760:1: ( ( rule__ParameterRule__EffectAssignment_7 ) )
2195
            {
2196
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:760:1: ( ( rule__ParameterRule__EffectAssignment_7 ) )
2197
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:761:1: ( rule__ParameterRule__EffectAssignment_7 )
2198
            {
2199
             before(grammarAccess.getParameterRuleAccess().getEffectAssignment_7()); 
2200
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:762:1: ( rule__ParameterRule__EffectAssignment_7 )
2201
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:762:2: rule__ParameterRule__EffectAssignment_7
2202
            {
2203
            pushFollow(FOLLOW_rule__ParameterRule__EffectAssignment_7_in_rule__ParameterRule__Group__7__Impl1592);
2204
            rule__ParameterRule__EffectAssignment_7();
2048
2205
2049
		}
2206
            state._fsp--;
2050
		return;
2051
	}
2052
2207
2053
	// $ANTLR end rule__ParameterRule__Group__6__Impl
2054
2208
2209
            }
2055
2210
2056
	// $ANTLR start rule__ParameterRule__Group__7
2211
             after(grammarAccess.getParameterRuleAccess().getEffectAssignment_7()); 
2057
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:744:1: rule__ParameterRule__Group__7 : rule__ParameterRule__Group__7__Impl ;
2058
	public final void rule__ParameterRule__Group__7() throws RecognitionException {
2059
2212
2060
		int stackSize = keepStackSize();
2213
            }
2061
2214
2062
		try {
2063
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:748:1: ( rule__ParameterRule__Group__7__Impl )
2064
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:749:2: rule__ParameterRule__Group__7__Impl
2065
			{
2066
				pushFollow(FOLLOW_rule__ParameterRule__Group__7__Impl_in_rule__ParameterRule__Group__71565);
2067
				rule__ParameterRule__Group__7__Impl();
2068
				_fsp--;
2069
2215
2216
            }
2070
2217
2071
			}
2218
        }
2219
        catch (RecognitionException re) {
2220
            reportError(re);
2221
            recover(input,re);
2222
        }
2223
        finally {
2072
2224
2073
		} catch (RecognitionException re) {
2225
            	restoreStackSize(stackSize);
2074
			reportError(re);
2075
			recover(input, re);
2076
		} finally {
2077
2226
2078
			restoreStackSize(stackSize);
2227
        }
2228
        return ;
2229
    }
2230
    // $ANTLR end "rule__ParameterRule__Group__7__Impl"
2079
2231
2080
		}
2081
		return;
2082
	}
2083
2232
2084
	// $ANTLR end rule__ParameterRule__Group__7
2233
    // $ANTLR start "rule__ModifiersRule__Group__0"
2234
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:788:1: rule__ModifiersRule__Group__0 : rule__ModifiersRule__Group__0__Impl rule__ModifiersRule__Group__1 ;
2235
    public final void rule__ModifiersRule__Group__0() throws RecognitionException {
2085
2236
2237
        		int stackSize = keepStackSize();
2238
            
2239
        try {
2240
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:792:1: ( rule__ModifiersRule__Group__0__Impl rule__ModifiersRule__Group__1 )
2241
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:793:2: rule__ModifiersRule__Group__0__Impl rule__ModifiersRule__Group__1
2242
            {
2243
            pushFollow(FOLLOW_rule__ModifiersRule__Group__0__Impl_in_rule__ModifiersRule__Group__01638);
2244
            rule__ModifiersRule__Group__0__Impl();
2086
2245
2087
	// $ANTLR start rule__ParameterRule__Group__7__Impl
2246
            state._fsp--;
2088
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:755:1: rule__ParameterRule__Group__7__Impl : ( ( rule__ParameterRule__EffectAssignment_7 ) ) ;
2089
	public final void rule__ParameterRule__Group__7__Impl() throws RecognitionException {
2090
2247
2091
		int stackSize = keepStackSize();
2248
            pushFollow(FOLLOW_rule__ModifiersRule__Group__1_in_rule__ModifiersRule__Group__01641);
2249
            rule__ModifiersRule__Group__1();
2092
2250
2093
		try {
2251
            state._fsp--;
2094
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:759:1: ( ( ( rule__ParameterRule__EffectAssignment_7 ) ) )
2095
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:760:1: ( ( rule__ParameterRule__EffectAssignment_7 ) )
2096
			{
2097
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:760:1: ( ( rule__ParameterRule__EffectAssignment_7 ) )
2098
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:761:1: ( rule__ParameterRule__EffectAssignment_7 )
2099
				{
2100
					before(grammarAccess.getParameterRuleAccess().getEffectAssignment_7());
2101
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:762:1: ( rule__ParameterRule__EffectAssignment_7 )
2102
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:762:2: rule__ParameterRule__EffectAssignment_7
2103
					{
2104
						pushFollow(FOLLOW_rule__ParameterRule__EffectAssignment_7_in_rule__ParameterRule__Group__7__Impl1592);
2105
						rule__ParameterRule__EffectAssignment_7();
2106
						_fsp--;
2107
2252
2108
2253
2109
					}
2254
            }
2110
2255
2111
					after(grammarAccess.getParameterRuleAccess().getEffectAssignment_7());
2256
        }
2257
        catch (RecognitionException re) {
2258
            reportError(re);
2259
            recover(input,re);
2260
        }
2261
        finally {
2112
2262
2113
				}
2263
            	restoreStackSize(stackSize);
2114
2264
2265
        }
2266
        return ;
2267
    }
2268
    // $ANTLR end "rule__ModifiersRule__Group__0"
2115
2269
2116
			}
2117
2270
2118
		} catch (RecognitionException re) {
2271
    // $ANTLR start "rule__ModifiersRule__Group__0__Impl"
2119
			reportError(re);
2272
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:800:1: rule__ModifiersRule__Group__0__Impl : ( '{' ) ;
2120
			recover(input, re);
2273
    public final void rule__ModifiersRule__Group__0__Impl() throws RecognitionException {
2121
		} finally {
2122
2274
2123
			restoreStackSize(stackSize);
2275
        		int stackSize = keepStackSize();
2276
            
2277
        try {
2278
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:804:1: ( ( '{' ) )
2279
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:805:1: ( '{' )
2280
            {
2281
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:805:1: ( '{' )
2282
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:806:1: '{'
2283
            {
2284
             before(grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0()); 
2285
            match(input,30,FOLLOW_30_in_rule__ModifiersRule__Group__0__Impl1669); 
2286
             after(grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0()); 
2124
2287
2125
		}
2288
            }
2126
		return;
2127
	}
2128
2289
2129
	// $ANTLR end rule__ParameterRule__Group__7__Impl
2130
2290
2291
            }
2131
2292
2132
	// $ANTLR start rule__ModifiersRule__Group__0
2293
        }
2133
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:788:1: rule__ModifiersRule__Group__0 : rule__ModifiersRule__Group__0__Impl rule__ModifiersRule__Group__1 ;
2294
        catch (RecognitionException re) {
2134
	public final void rule__ModifiersRule__Group__0() throws RecognitionException {
2295
            reportError(re);
2296
            recover(input,re);
2297
        }
2298
        finally {
2135
2299
2136
		int stackSize = keepStackSize();
2300
            	restoreStackSize(stackSize);
2137
2301
2138
		try {
2302
        }
2139
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:792:1: ( rule__ModifiersRule__Group__0__Impl rule__ModifiersRule__Group__1 )
2303
        return ;
2140
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:793:2: rule__ModifiersRule__Group__0__Impl rule__ModifiersRule__Group__1
2304
    }
2141
			{
2305
    // $ANTLR end "rule__ModifiersRule__Group__0__Impl"
2142
				pushFollow(FOLLOW_rule__ModifiersRule__Group__0__Impl_in_rule__ModifiersRule__Group__01638);
2143
				rule__ModifiersRule__Group__0__Impl();
2144
				_fsp--;
2145
2306
2146
				pushFollow(FOLLOW_rule__ModifiersRule__Group__1_in_rule__ModifiersRule__Group__01641);
2147
				rule__ModifiersRule__Group__1();
2148
				_fsp--;
2149
2307
2308
    // $ANTLR start "rule__ModifiersRule__Group__1"
2309
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:819:1: rule__ModifiersRule__Group__1 : rule__ModifiersRule__Group__1__Impl rule__ModifiersRule__Group__2 ;
2310
    public final void rule__ModifiersRule__Group__1() throws RecognitionException {
2150
2311
2151
			}
2312
        		int stackSize = keepStackSize();
2313
            
2314
        try {
2315
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:823:1: ( rule__ModifiersRule__Group__1__Impl rule__ModifiersRule__Group__2 )
2316
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:824:2: rule__ModifiersRule__Group__1__Impl rule__ModifiersRule__Group__2
2317
            {
2318
            pushFollow(FOLLOW_rule__ModifiersRule__Group__1__Impl_in_rule__ModifiersRule__Group__11700);
2319
            rule__ModifiersRule__Group__1__Impl();
2152
2320
2153
		} catch (RecognitionException re) {
2321
            state._fsp--;
2154
			reportError(re);
2155
			recover(input, re);
2156
		} finally {
2157
2322
2158
			restoreStackSize(stackSize);
2323
            pushFollow(FOLLOW_rule__ModifiersRule__Group__2_in_rule__ModifiersRule__Group__11703);
2324
            rule__ModifiersRule__Group__2();
2159
2325
2160
		}
2326
            state._fsp--;
2161
		return;
2162
	}
2163
2327
2164
	// $ANTLR end rule__ModifiersRule__Group__0
2165
2328
2329
            }
2166
2330
2167
	// $ANTLR start rule__ModifiersRule__Group__0__Impl
2331
        }
2168
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:800:1: rule__ModifiersRule__Group__0__Impl : ( '{' ) ;
2332
        catch (RecognitionException re) {
2169
	public final void rule__ModifiersRule__Group__0__Impl() throws RecognitionException {
2333
            reportError(re);
2334
            recover(input,re);
2335
        }
2336
        finally {
2170
2337
2171
		int stackSize = keepStackSize();
2338
            	restoreStackSize(stackSize);
2172
2339
2173
		try {
2340
        }
2174
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:804:1: ( ( '{' ) )
2341
        return ;
2175
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:805:1: ( '{' )
2342
    }
2176
			{
2343
    // $ANTLR end "rule__ModifiersRule__Group__1"
2177
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:805:1: ( '{' )
2178
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:806:1: '{'
2179
				{
2180
					before(grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0());
2181
					match(input, 30, FOLLOW_30_in_rule__ModifiersRule__Group__0__Impl1669);
2182
					after(grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0());
2183
2344
2184
				}
2185
2345
2346
    // $ANTLR start "rule__ModifiersRule__Group__1__Impl"
2347
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:831:1: rule__ModifiersRule__Group__1__Impl : ( ( rule__ModifiersRule__ValuesAssignment_1 ) ) ;
2348
    public final void rule__ModifiersRule__Group__1__Impl() throws RecognitionException {
2186
2349
2187
			}
2350
        		int stackSize = keepStackSize();
2351
            
2352
        try {
2353
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:835:1: ( ( ( rule__ModifiersRule__ValuesAssignment_1 ) ) )
2354
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:836:1: ( ( rule__ModifiersRule__ValuesAssignment_1 ) )
2355
            {
2356
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:836:1: ( ( rule__ModifiersRule__ValuesAssignment_1 ) )
2357
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:837:1: ( rule__ModifiersRule__ValuesAssignment_1 )
2358
            {
2359
             before(grammarAccess.getModifiersRuleAccess().getValuesAssignment_1()); 
2360
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:838:1: ( rule__ModifiersRule__ValuesAssignment_1 )
2361
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:838:2: rule__ModifiersRule__ValuesAssignment_1
2362
            {
2363
            pushFollow(FOLLOW_rule__ModifiersRule__ValuesAssignment_1_in_rule__ModifiersRule__Group__1__Impl1730);
2364
            rule__ModifiersRule__ValuesAssignment_1();
2188
2365
2189
		} catch (RecognitionException re) {
2366
            state._fsp--;
2190
			reportError(re);
2191
			recover(input, re);
2192
		} finally {
2193
2367
2194
			restoreStackSize(stackSize);
2195
2368
2196
		}
2369
            }
2197
		return;
2198
	}
2199
2370
2200
	// $ANTLR end rule__ModifiersRule__Group__0__Impl
2371
             after(grammarAccess.getModifiersRuleAccess().getValuesAssignment_1()); 
2201
2372
2373
            }
2202
2374
2203
	// $ANTLR start rule__ModifiersRule__Group__1
2204
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:819:1: rule__ModifiersRule__Group__1 : rule__ModifiersRule__Group__1__Impl rule__ModifiersRule__Group__2 ;
2205
	public final void rule__ModifiersRule__Group__1() throws RecognitionException {
2206
2375
2207
		int stackSize = keepStackSize();
2376
            }
2208
2377
2209
		try {
2378
        }
2210
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:823:1: ( rule__ModifiersRule__Group__1__Impl rule__ModifiersRule__Group__2 )
2379
        catch (RecognitionException re) {
2211
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:824:2: rule__ModifiersRule__Group__1__Impl rule__ModifiersRule__Group__2
2380
            reportError(re);
2212
			{
2381
            recover(input,re);
2213
				pushFollow(FOLLOW_rule__ModifiersRule__Group__1__Impl_in_rule__ModifiersRule__Group__11700);
2382
        }
2214
				rule__ModifiersRule__Group__1__Impl();
2383
        finally {
2215
				_fsp--;
2216
2384
2217
				pushFollow(FOLLOW_rule__ModifiersRule__Group__2_in_rule__ModifiersRule__Group__11703);
2385
            	restoreStackSize(stackSize);
2218
				rule__ModifiersRule__Group__2();
2219
				_fsp--;
2220
2386
2387
        }
2388
        return ;
2389
    }
2390
    // $ANTLR end "rule__ModifiersRule__Group__1__Impl"
2221
2391
2222
			}
2223
2392
2224
		} catch (RecognitionException re) {
2393
    // $ANTLR start "rule__ModifiersRule__Group__2"
2225
			reportError(re);
2394
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:848:1: rule__ModifiersRule__Group__2 : rule__ModifiersRule__Group__2__Impl rule__ModifiersRule__Group__3 ;
2226
			recover(input, re);
2395
    public final void rule__ModifiersRule__Group__2() throws RecognitionException {
2227
		} finally {
2228
2396
2229
			restoreStackSize(stackSize);
2397
        		int stackSize = keepStackSize();
2398
            
2399
        try {
2400
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:852:1: ( rule__ModifiersRule__Group__2__Impl rule__ModifiersRule__Group__3 )
2401
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:853:2: rule__ModifiersRule__Group__2__Impl rule__ModifiersRule__Group__3
2402
            {
2403
            pushFollow(FOLLOW_rule__ModifiersRule__Group__2__Impl_in_rule__ModifiersRule__Group__21760);
2404
            rule__ModifiersRule__Group__2__Impl();
2230
2405
2231
		}
2406
            state._fsp--;
2232
		return;
2233
	}
2234
2407
2235
	// $ANTLR end rule__ModifiersRule__Group__1
2408
            pushFollow(FOLLOW_rule__ModifiersRule__Group__3_in_rule__ModifiersRule__Group__21763);
2409
            rule__ModifiersRule__Group__3();
2236
2410
2411
            state._fsp--;
2237
2412
2238
	// $ANTLR start rule__ModifiersRule__Group__1__Impl
2239
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:831:1: rule__ModifiersRule__Group__1__Impl : ( ( rule__ModifiersRule__ValuesAssignment_1 ) ) ;
2240
	public final void rule__ModifiersRule__Group__1__Impl() throws RecognitionException {
2241
2413
2242
		int stackSize = keepStackSize();
2414
            }
2243
2415
2244
		try {
2416
        }
2245
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:835:1: ( ( ( rule__ModifiersRule__ValuesAssignment_1 ) ) )
2417
        catch (RecognitionException re) {
2246
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:836:1: ( ( rule__ModifiersRule__ValuesAssignment_1 ) )
2418
            reportError(re);
2247
			{
2419
            recover(input,re);
2248
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:836:1: ( ( rule__ModifiersRule__ValuesAssignment_1 ) )
2420
        }
2249
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:837:1: ( rule__ModifiersRule__ValuesAssignment_1 )
2421
        finally {
2250
				{
2251
					before(grammarAccess.getModifiersRuleAccess().getValuesAssignment_1());
2252
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:838:1: ( rule__ModifiersRule__ValuesAssignment_1 )
2253
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:838:2: rule__ModifiersRule__ValuesAssignment_1
2254
					{
2255
						pushFollow(FOLLOW_rule__ModifiersRule__ValuesAssignment_1_in_rule__ModifiersRule__Group__1__Impl1730);
2256
						rule__ModifiersRule__ValuesAssignment_1();
2257
						_fsp--;
2258
2422
2423
            	restoreStackSize(stackSize);
2259
2424
2260
					}
2425
        }
2426
        return ;
2427
    }
2428
    // $ANTLR end "rule__ModifiersRule__Group__2"
2261
2429
2262
					after(grammarAccess.getModifiersRuleAccess().getValuesAssignment_1());
2263
2430
2264
				}
2431
    // $ANTLR start "rule__ModifiersRule__Group__2__Impl"
2432
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:860:1: rule__ModifiersRule__Group__2__Impl : ( ( rule__ModifiersRule__Group_2__0 )* ) ;
2433
    public final void rule__ModifiersRule__Group__2__Impl() throws RecognitionException {
2265
2434
2435
        		int stackSize = keepStackSize();
2436
            
2437
        try {
2438
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:864:1: ( ( ( rule__ModifiersRule__Group_2__0 )* ) )
2439
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:865:1: ( ( rule__ModifiersRule__Group_2__0 )* )
2440
            {
2441
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:865:1: ( ( rule__ModifiersRule__Group_2__0 )* )
2442
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:866:1: ( rule__ModifiersRule__Group_2__0 )*
2443
            {
2444
             before(grammarAccess.getModifiersRuleAccess().getGroup_2()); 
2445
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:867:1: ( rule__ModifiersRule__Group_2__0 )*
2446
            loop8:
2447
            do {
2448
                int alt8=2;
2449
                int LA8_0 = input.LA(1);
2266
2450
2267
			}
2451
                if ( (LA8_0==32) ) {
2452
                    alt8=1;
2453
                }
2268
2454
2269
		} catch (RecognitionException re) {
2270
			reportError(re);
2271
			recover(input, re);
2272
		} finally {
2273
2455
2274
			restoreStackSize(stackSize);
2456
                switch (alt8) {
2457
            	case 1 :
2458
            	    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:867:2: rule__ModifiersRule__Group_2__0
2459
            	    {
2460
            	    pushFollow(FOLLOW_rule__ModifiersRule__Group_2__0_in_rule__ModifiersRule__Group__2__Impl1790);
2461
            	    rule__ModifiersRule__Group_2__0();
2275
2462
2276
		}
2463
            	    state._fsp--;
2277
		return;
2278
	}
2279
2464
2280
	// $ANTLR end rule__ModifiersRule__Group__1__Impl
2281
2465
2466
            	    }
2467
            	    break;
2282
2468
2283
	// $ANTLR start rule__ModifiersRule__Group__2
2469
            	default :
2284
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:848:1: rule__ModifiersRule__Group__2 : rule__ModifiersRule__Group__2__Impl rule__ModifiersRule__Group__3 ;
2470
            	    break loop8;
2285
	public final void rule__ModifiersRule__Group__2() throws RecognitionException {
2471
                }
2472
            } while (true);
2286
2473
2287
		int stackSize = keepStackSize();
2474
             after(grammarAccess.getModifiersRuleAccess().getGroup_2()); 
2288
2475
2289
		try {
2476
            }
2290
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:852:1: ( rule__ModifiersRule__Group__2__Impl rule__ModifiersRule__Group__3 )
2291
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:853:2: rule__ModifiersRule__Group__2__Impl rule__ModifiersRule__Group__3
2292
			{
2293
				pushFollow(FOLLOW_rule__ModifiersRule__Group__2__Impl_in_rule__ModifiersRule__Group__21760);
2294
				rule__ModifiersRule__Group__2__Impl();
2295
				_fsp--;
2296
2477
2297
				pushFollow(FOLLOW_rule__ModifiersRule__Group__3_in_rule__ModifiersRule__Group__21763);
2298
				rule__ModifiersRule__Group__3();
2299
				_fsp--;
2300
2478
2479
            }
2301
2480
2302
			}
2481
        }
2482
        catch (RecognitionException re) {
2483
            reportError(re);
2484
            recover(input,re);
2485
        }
2486
        finally {
2303
2487
2304
		} catch (RecognitionException re) {
2488
            	restoreStackSize(stackSize);
2305
			reportError(re);
2306
			recover(input, re);
2307
		} finally {
2308
2489
2309
			restoreStackSize(stackSize);
2490
        }
2491
        return ;
2492
    }
2493
    // $ANTLR end "rule__ModifiersRule__Group__2__Impl"
2310
2494
2311
		}
2312
		return;
2313
	}
2314
2495
2315
	// $ANTLR end rule__ModifiersRule__Group__2
2496
    // $ANTLR start "rule__ModifiersRule__Group__3"
2497
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:877:1: rule__ModifiersRule__Group__3 : rule__ModifiersRule__Group__3__Impl ;
2498
    public final void rule__ModifiersRule__Group__3() throws RecognitionException {
2316
2499
2500
        		int stackSize = keepStackSize();
2501
            
2502
        try {
2503
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:881:1: ( rule__ModifiersRule__Group__3__Impl )
2504
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:882:2: rule__ModifiersRule__Group__3__Impl
2505
            {
2506
            pushFollow(FOLLOW_rule__ModifiersRule__Group__3__Impl_in_rule__ModifiersRule__Group__31821);
2507
            rule__ModifiersRule__Group__3__Impl();
2317
2508
2318
	// $ANTLR start rule__ModifiersRule__Group__2__Impl
2509
            state._fsp--;
2319
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:860:1: rule__ModifiersRule__Group__2__Impl : ( ( rule__ModifiersRule__Group_2__0 )* ) ;
2320
	public final void rule__ModifiersRule__Group__2__Impl() throws RecognitionException {
2321
2510
2322
		int stackSize = keepStackSize();
2323
2511
2324
		try {
2512
            }
2325
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:864:1: ( ( ( rule__ModifiersRule__Group_2__0 )* ) )
2326
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:865:1: ( ( rule__ModifiersRule__Group_2__0 )* )
2327
			{
2328
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:865:1: ( ( rule__ModifiersRule__Group_2__0 )* )
2329
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:866:1: ( rule__ModifiersRule__Group_2__0 )*
2330
				{
2331
					before(grammarAccess.getModifiersRuleAccess().getGroup_2());
2332
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:867:1: ( rule__ModifiersRule__Group_2__0 )*
2333
					loop8: do {
2334
						int alt8 = 2;
2335
						int LA8_0 = input.LA(1);
2336
2513
2337
						if((LA8_0 == 32)) {
2514
        }
2338
							alt8 = 1;
2515
        catch (RecognitionException re) {
2339
						}
2516
            reportError(re);
2517
            recover(input,re);
2518
        }
2519
        finally {
2340
2520
2521
            	restoreStackSize(stackSize);
2341
2522
2342
						switch(alt8) {
2523
        }
2343
						case 1:
2524
        return ;
2344
							// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:867:2: rule__ModifiersRule__Group_2__0
2525
    }
2345
						{
2526
    // $ANTLR end "rule__ModifiersRule__Group__3"
2346
							pushFollow(FOLLOW_rule__ModifiersRule__Group_2__0_in_rule__ModifiersRule__Group__2__Impl1790);
2347
							rule__ModifiersRule__Group_2__0();
2348
							_fsp--;
2349
2527
2350
2528
2351
						}
2529
    // $ANTLR start "rule__ModifiersRule__Group__3__Impl"
2352
							break;
2530
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:888:1: rule__ModifiersRule__Group__3__Impl : ( '}' ) ;
2531
    public final void rule__ModifiersRule__Group__3__Impl() throws RecognitionException {
2353
2532
2354
						default:
2533
        		int stackSize = keepStackSize();
2355
							break loop8;
2534
            
2356
						}
2535
        try {
2357
					} while(true);
2536
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:892:1: ( ( '}' ) )
2537
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:893:1: ( '}' )
2538
            {
2539
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:893:1: ( '}' )
2540
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:894:1: '}'
2541
            {
2542
             before(grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3()); 
2543
            match(input,31,FOLLOW_31_in_rule__ModifiersRule__Group__3__Impl1849); 
2544
             after(grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3()); 
2358
2545
2359
					after(grammarAccess.getModifiersRuleAccess().getGroup_2());
2546
            }
2360
2547
2361
				}
2362
2548
2549
            }
2363
2550
2364
			}
2551
        }
2552
        catch (RecognitionException re) {
2553
            reportError(re);
2554
            recover(input,re);
2555
        }
2556
        finally {
2365
2557
2366
		} catch (RecognitionException re) {
2558
            	restoreStackSize(stackSize);
2367
			reportError(re);
2368
			recover(input, re);
2369
		} finally {
2370
2559
2371
			restoreStackSize(stackSize);
2560
        }
2561
        return ;
2562
    }
2563
    // $ANTLR end "rule__ModifiersRule__Group__3__Impl"
2372
2564
2373
		}
2374
		return;
2375
	}
2376
2565
2377
	// $ANTLR end rule__ModifiersRule__Group__2__Impl
2566
    // $ANTLR start "rule__ModifiersRule__Group_2__0"
2567
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:915:1: rule__ModifiersRule__Group_2__0 : rule__ModifiersRule__Group_2__0__Impl rule__ModifiersRule__Group_2__1 ;
2568
    public final void rule__ModifiersRule__Group_2__0() throws RecognitionException {
2378
2569
2570
        		int stackSize = keepStackSize();
2571
            
2572
        try {
2573
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:919:1: ( rule__ModifiersRule__Group_2__0__Impl rule__ModifiersRule__Group_2__1 )
2574
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:920:2: rule__ModifiersRule__Group_2__0__Impl rule__ModifiersRule__Group_2__1
2575
            {
2576
            pushFollow(FOLLOW_rule__ModifiersRule__Group_2__0__Impl_in_rule__ModifiersRule__Group_2__01888);
2577
            rule__ModifiersRule__Group_2__0__Impl();
2379
2578
2380
	// $ANTLR start rule__ModifiersRule__Group__3
2579
            state._fsp--;
2381
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:877:1: rule__ModifiersRule__Group__3 : rule__ModifiersRule__Group__3__Impl ;
2382
	public final void rule__ModifiersRule__Group__3() throws RecognitionException {
2383
2580
2384
		int stackSize = keepStackSize();
2581
            pushFollow(FOLLOW_rule__ModifiersRule__Group_2__1_in_rule__ModifiersRule__Group_2__01891);
2582
            rule__ModifiersRule__Group_2__1();
2385
2583
2386
		try {
2584
            state._fsp--;
2387
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:881:1: ( rule__ModifiersRule__Group__3__Impl )
2388
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:882:2: rule__ModifiersRule__Group__3__Impl
2389
			{
2390
				pushFollow(FOLLOW_rule__ModifiersRule__Group__3__Impl_in_rule__ModifiersRule__Group__31821);
2391
				rule__ModifiersRule__Group__3__Impl();
2392
				_fsp--;
2393
2585
2394
2586
2395
			}
2587
            }
2396
2588
2397
		} catch (RecognitionException re) {
2589
        }
2398
			reportError(re);
2590
        catch (RecognitionException re) {
2399
			recover(input, re);
2591
            reportError(re);
2400
		} finally {
2592
            recover(input,re);
2593
        }
2594
        finally {
2401
2595
2402
			restoreStackSize(stackSize);
2596
            	restoreStackSize(stackSize);
2403
2597
2404
		}
2598
        }
2405
		return;
2599
        return ;
2406
	}
2600
    }
2601
    // $ANTLR end "rule__ModifiersRule__Group_2__0"
2407
2602
2408
	// $ANTLR end rule__ModifiersRule__Group__3
2409
2603
2604
    // $ANTLR start "rule__ModifiersRule__Group_2__0__Impl"
2605
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:927:1: rule__ModifiersRule__Group_2__0__Impl : ( ',' ) ;
2606
    public final void rule__ModifiersRule__Group_2__0__Impl() throws RecognitionException {
2410
2607
2411
	// $ANTLR start rule__ModifiersRule__Group__3__Impl
2608
        		int stackSize = keepStackSize();
2412
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:888:1: rule__ModifiersRule__Group__3__Impl : ( '}' ) ;
2609
            
2413
	public final void rule__ModifiersRule__Group__3__Impl() throws RecognitionException {
2610
        try {
2611
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:931:1: ( ( ',' ) )
2612
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:932:1: ( ',' )
2613
            {
2614
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:932:1: ( ',' )
2615
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:933:1: ','
2616
            {
2617
             before(grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0()); 
2618
            match(input,32,FOLLOW_32_in_rule__ModifiersRule__Group_2__0__Impl1919); 
2619
             after(grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0()); 
2414
2620
2415
		int stackSize = keepStackSize();
2621
            }
2416
2622
2417
		try {
2418
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:892:1: ( ( '}' ) )
2419
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:893:1: ( '}' )
2420
			{
2421
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:893:1: ( '}' )
2422
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:894:1: '}'
2423
				{
2424
					before(grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3());
2425
					match(input, 31, FOLLOW_31_in_rule__ModifiersRule__Group__3__Impl1849);
2426
					after(grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3());
2427
2623
2428
				}
2624
            }
2429
2625
2626
        }
2627
        catch (RecognitionException re) {
2628
            reportError(re);
2629
            recover(input,re);
2630
        }
2631
        finally {
2430
2632
2431
			}
2633
            	restoreStackSize(stackSize);
2432
2634
2433
		} catch (RecognitionException re) {
2635
        }
2434
			reportError(re);
2636
        return ;
2435
			recover(input, re);
2637
    }
2436
		} finally {
2638
    // $ANTLR end "rule__ModifiersRule__Group_2__0__Impl"
2437
2639
2438
			restoreStackSize(stackSize);
2439
2640
2440
		}
2641
    // $ANTLR start "rule__ModifiersRule__Group_2__1"
2441
		return;
2642
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:946:1: rule__ModifiersRule__Group_2__1 : rule__ModifiersRule__Group_2__1__Impl ;
2442
	}
2643
    public final void rule__ModifiersRule__Group_2__1() throws RecognitionException {
2443
2644
2444
	// $ANTLR end rule__ModifiersRule__Group__3__Impl
2645
        		int stackSize = keepStackSize();
2646
            
2647
        try {
2648
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:950:1: ( rule__ModifiersRule__Group_2__1__Impl )
2649
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:951:2: rule__ModifiersRule__Group_2__1__Impl
2650
            {
2651
            pushFollow(FOLLOW_rule__ModifiersRule__Group_2__1__Impl_in_rule__ModifiersRule__Group_2__11950);
2652
            rule__ModifiersRule__Group_2__1__Impl();
2445
2653
2654
            state._fsp--;
2446
2655
2447
	// $ANTLR start rule__ModifiersRule__Group_2__0
2448
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:915:1: rule__ModifiersRule__Group_2__0 : rule__ModifiersRule__Group_2__0__Impl rule__ModifiersRule__Group_2__1 ;
2449
	public final void rule__ModifiersRule__Group_2__0() throws RecognitionException {
2450
2656
2451
		int stackSize = keepStackSize();
2657
            }
2452
2658
2453
		try {
2659
        }
2454
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:919:1: ( rule__ModifiersRule__Group_2__0__Impl rule__ModifiersRule__Group_2__1 )
2660
        catch (RecognitionException re) {
2455
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:920:2: rule__ModifiersRule__Group_2__0__Impl rule__ModifiersRule__Group_2__1
2661
            reportError(re);
2456
			{
2662
            recover(input,re);
2457
				pushFollow(FOLLOW_rule__ModifiersRule__Group_2__0__Impl_in_rule__ModifiersRule__Group_2__01888);
2663
        }
2458
				rule__ModifiersRule__Group_2__0__Impl();
2664
        finally {
2459
				_fsp--;
2460
2665
2461
				pushFollow(FOLLOW_rule__ModifiersRule__Group_2__1_in_rule__ModifiersRule__Group_2__01891);
2666
            	restoreStackSize(stackSize);
2462
				rule__ModifiersRule__Group_2__1();
2463
				_fsp--;
2464
2667
2668
        }
2669
        return ;
2670
    }
2671
    // $ANTLR end "rule__ModifiersRule__Group_2__1"
2465
2672
2466
			}
2467
2673
2468
		} catch (RecognitionException re) {
2674
    // $ANTLR start "rule__ModifiersRule__Group_2__1__Impl"
2469
			reportError(re);
2675
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:957:1: rule__ModifiersRule__Group_2__1__Impl : ( ( rule__ModifiersRule__ValuesAssignment_2_1 ) ) ;
2470
			recover(input, re);
2676
    public final void rule__ModifiersRule__Group_2__1__Impl() throws RecognitionException {
2471
		} finally {
2472
2677
2473
			restoreStackSize(stackSize);
2678
        		int stackSize = keepStackSize();
2679
            
2680
        try {
2681
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:961:1: ( ( ( rule__ModifiersRule__ValuesAssignment_2_1 ) ) )
2682
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:962:1: ( ( rule__ModifiersRule__ValuesAssignment_2_1 ) )
2683
            {
2684
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:962:1: ( ( rule__ModifiersRule__ValuesAssignment_2_1 ) )
2685
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:963:1: ( rule__ModifiersRule__ValuesAssignment_2_1 )
2686
            {
2687
             before(grammarAccess.getModifiersRuleAccess().getValuesAssignment_2_1()); 
2688
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:964:1: ( rule__ModifiersRule__ValuesAssignment_2_1 )
2689
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:964:2: rule__ModifiersRule__ValuesAssignment_2_1
2690
            {
2691
            pushFollow(FOLLOW_rule__ModifiersRule__ValuesAssignment_2_1_in_rule__ModifiersRule__Group_2__1__Impl1977);
2692
            rule__ModifiersRule__ValuesAssignment_2_1();
2474
2693
2475
		}
2694
            state._fsp--;
2476
		return;
2477
	}
2478
2695
2479
	// $ANTLR end rule__ModifiersRule__Group_2__0
2480
2696
2697
            }
2481
2698
2482
	// $ANTLR start rule__ModifiersRule__Group_2__0__Impl
2699
             after(grammarAccess.getModifiersRuleAccess().getValuesAssignment_2_1()); 
2483
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:927:1: rule__ModifiersRule__Group_2__0__Impl : ( ',' ) ;
2484
	public final void rule__ModifiersRule__Group_2__0__Impl() throws RecognitionException {
2485
2700
2486
		int stackSize = keepStackSize();
2701
            }
2487
2702
2488
		try {
2489
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:931:1: ( ( ',' ) )
2490
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:932:1: ( ',' )
2491
			{
2492
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:932:1: ( ',' )
2493
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:933:1: ','
2494
				{
2495
					before(grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0());
2496
					match(input, 32, FOLLOW_32_in_rule__ModifiersRule__Group_2__0__Impl1919);
2497
					after(grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0());
2498
2703
2499
				}
2704
            }
2500
2705
2706
        }
2707
        catch (RecognitionException re) {
2708
            reportError(re);
2709
            recover(input,re);
2710
        }
2711
        finally {
2501
2712
2502
			}
2713
            	restoreStackSize(stackSize);
2503
2714
2504
		} catch (RecognitionException re) {
2715
        }
2505
			reportError(re);
2716
        return ;
2506
			recover(input, re);
2717
    }
2507
		} finally {
2718
    // $ANTLR end "rule__ModifiersRule__Group_2__1__Impl"
2508
2719
2509
			restoreStackSize(stackSize);
2510
2720
2511
		}
2721
    // $ANTLR start "rule__EffectRule__Group__0"
2512
		return;
2722
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:978:1: rule__EffectRule__Group__0 : rule__EffectRule__Group__0__Impl rule__EffectRule__Group__1 ;
2513
	}
2723
    public final void rule__EffectRule__Group__0() throws RecognitionException {
2514
2724
2515
	// $ANTLR end rule__ModifiersRule__Group_2__0__Impl
2725
        		int stackSize = keepStackSize();
2726
            
2727
        try {
2728
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:982:1: ( rule__EffectRule__Group__0__Impl rule__EffectRule__Group__1 )
2729
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:983:2: rule__EffectRule__Group__0__Impl rule__EffectRule__Group__1
2730
            {
2731
            pushFollow(FOLLOW_rule__EffectRule__Group__0__Impl_in_rule__EffectRule__Group__02011);
2732
            rule__EffectRule__Group__0__Impl();
2516
2733
2734
            state._fsp--;
2517
2735
2518
	// $ANTLR start rule__ModifiersRule__Group_2__1
2736
            pushFollow(FOLLOW_rule__EffectRule__Group__1_in_rule__EffectRule__Group__02014);
2519
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:946:1: rule__ModifiersRule__Group_2__1 : rule__ModifiersRule__Group_2__1__Impl ;
2737
            rule__EffectRule__Group__1();
2520
	public final void rule__ModifiersRule__Group_2__1() throws RecognitionException {
2521
2738
2522
		int stackSize = keepStackSize();
2739
            state._fsp--;
2523
2740
2524
		try {
2525
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:950:1: ( rule__ModifiersRule__Group_2__1__Impl )
2526
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:951:2: rule__ModifiersRule__Group_2__1__Impl
2527
			{
2528
				pushFollow(FOLLOW_rule__ModifiersRule__Group_2__1__Impl_in_rule__ModifiersRule__Group_2__11950);
2529
				rule__ModifiersRule__Group_2__1__Impl();
2530
				_fsp--;
2531
2741
2742
            }
2532
2743
2533
			}
2744
        }
2745
        catch (RecognitionException re) {
2746
            reportError(re);
2747
            recover(input,re);
2748
        }
2749
        finally {
2534
2750
2535
		} catch (RecognitionException re) {
2751
            	restoreStackSize(stackSize);
2536
			reportError(re);
2537
			recover(input, re);
2538
		} finally {
2539
2752
2540
			restoreStackSize(stackSize);
2753
        }
2754
        return ;
2755
    }
2756
    // $ANTLR end "rule__EffectRule__Group__0"
2541
2757
2542
		}
2543
		return;
2544
	}
2545
2758
2546
	// $ANTLR end rule__ModifiersRule__Group_2__1
2759
    // $ANTLR start "rule__EffectRule__Group__0__Impl"
2760
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:990:1: rule__EffectRule__Group__0__Impl : ( '{' ) ;
2761
    public final void rule__EffectRule__Group__0__Impl() throws RecognitionException {
2547
2762
2763
        		int stackSize = keepStackSize();
2764
            
2765
        try {
2766
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:994:1: ( ( '{' ) )
2767
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:995:1: ( '{' )
2768
            {
2769
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:995:1: ( '{' )
2770
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:996:1: '{'
2771
            {
2772
             before(grammarAccess.getEffectRuleAccess().getLeftCurlyBracketKeyword_0()); 
2773
            match(input,30,FOLLOW_30_in_rule__EffectRule__Group__0__Impl2042); 
2774
             after(grammarAccess.getEffectRuleAccess().getLeftCurlyBracketKeyword_0()); 
2548
2775
2549
	// $ANTLR start rule__ModifiersRule__Group_2__1__Impl
2776
            }
2550
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:957:1: rule__ModifiersRule__Group_2__1__Impl : ( ( rule__ModifiersRule__ValuesAssignment_2_1 ) ) ;
2551
	public final void rule__ModifiersRule__Group_2__1__Impl() throws RecognitionException {
2552
2777
2553
		int stackSize = keepStackSize();
2554
2778
2555
		try {
2779
            }
2556
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:961:1: ( ( ( rule__ModifiersRule__ValuesAssignment_2_1 ) ) )
2557
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:962:1: ( ( rule__ModifiersRule__ValuesAssignment_2_1 ) )
2558
			{
2559
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:962:1: ( ( rule__ModifiersRule__ValuesAssignment_2_1 ) )
2560
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:963:1: ( rule__ModifiersRule__ValuesAssignment_2_1 )
2561
				{
2562
					before(grammarAccess.getModifiersRuleAccess().getValuesAssignment_2_1());
2563
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:964:1: ( rule__ModifiersRule__ValuesAssignment_2_1 )
2564
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:964:2: rule__ModifiersRule__ValuesAssignment_2_1
2565
					{
2566
						pushFollow(FOLLOW_rule__ModifiersRule__ValuesAssignment_2_1_in_rule__ModifiersRule__Group_2__1__Impl1977);
2567
						rule__ModifiersRule__ValuesAssignment_2_1();
2568
						_fsp--;
2569
2780
2781
        }
2782
        catch (RecognitionException re) {
2783
            reportError(re);
2784
            recover(input,re);
2785
        }
2786
        finally {
2570
2787
2571
					}
2788
            	restoreStackSize(stackSize);
2572
2789
2573
					after(grammarAccess.getModifiersRuleAccess().getValuesAssignment_2_1());
2790
        }
2791
        return ;
2792
    }
2793
    // $ANTLR end "rule__EffectRule__Group__0__Impl"
2574
2794
2575
				}
2576
2795
2796
    // $ANTLR start "rule__EffectRule__Group__1"
2797
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1009:1: rule__EffectRule__Group__1 : rule__EffectRule__Group__1__Impl rule__EffectRule__Group__2 ;
2798
    public final void rule__EffectRule__Group__1() throws RecognitionException {
2577
2799
2578
			}
2800
        		int stackSize = keepStackSize();
2801
            
2802
        try {
2803
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1013:1: ( rule__EffectRule__Group__1__Impl rule__EffectRule__Group__2 )
2804
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1014:2: rule__EffectRule__Group__1__Impl rule__EffectRule__Group__2
2805
            {
2806
            pushFollow(FOLLOW_rule__EffectRule__Group__1__Impl_in_rule__EffectRule__Group__12073);
2807
            rule__EffectRule__Group__1__Impl();
2579
2808
2580
		} catch (RecognitionException re) {
2809
            state._fsp--;
2581
			reportError(re);
2582
			recover(input, re);
2583
		} finally {
2584
2810
2585
			restoreStackSize(stackSize);
2811
            pushFollow(FOLLOW_rule__EffectRule__Group__2_in_rule__EffectRule__Group__12076);
2812
            rule__EffectRule__Group__2();
2586
2813
2587
		}
2814
            state._fsp--;
2588
		return;
2589
	}
2590
2815
2591
	// $ANTLR end rule__ModifiersRule__Group_2__1__Impl
2592
2816
2817
            }
2593
2818
2594
	// $ANTLR start rule__EffectRule__Group__0
2819
        }
2595
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:978:1: rule__EffectRule__Group__0 : rule__EffectRule__Group__0__Impl rule__EffectRule__Group__1 ;
2820
        catch (RecognitionException re) {
2596
	public final void rule__EffectRule__Group__0() throws RecognitionException {
2821
            reportError(re);
2822
            recover(input,re);
2823
        }
2824
        finally {
2597
2825
2598
		int stackSize = keepStackSize();
2826
            	restoreStackSize(stackSize);
2599
2827
2600
		try {
2828
        }
2601
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:982:1: ( rule__EffectRule__Group__0__Impl rule__EffectRule__Group__1 )
2829
        return ;
2602
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:983:2: rule__EffectRule__Group__0__Impl rule__EffectRule__Group__1
2830
    }
2603
			{
2831
    // $ANTLR end "rule__EffectRule__Group__1"
2604
				pushFollow(FOLLOW_rule__EffectRule__Group__0__Impl_in_rule__EffectRule__Group__02011);
2605
				rule__EffectRule__Group__0__Impl();
2606
				_fsp--;
2607
2832
2608
				pushFollow(FOLLOW_rule__EffectRule__Group__1_in_rule__EffectRule__Group__02014);
2609
				rule__EffectRule__Group__1();
2610
				_fsp--;
2611
2833
2834
    // $ANTLR start "rule__EffectRule__Group__1__Impl"
2835
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1021:1: rule__EffectRule__Group__1__Impl : ( 'effect: ' ) ;
2836
    public final void rule__EffectRule__Group__1__Impl() throws RecognitionException {
2612
2837
2613
			}
2838
        		int stackSize = keepStackSize();
2839
            
2840
        try {
2841
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1025:1: ( ( 'effect: ' ) )
2842
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1026:1: ( 'effect: ' )
2843
            {
2844
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1026:1: ( 'effect: ' )
2845
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1027:1: 'effect: '
2846
            {
2847
             before(grammarAccess.getEffectRuleAccess().getEffectKeyword_1()); 
2848
            match(input,33,FOLLOW_33_in_rule__EffectRule__Group__1__Impl2104); 
2849
             after(grammarAccess.getEffectRuleAccess().getEffectKeyword_1()); 
2614
2850
2615
		} catch (RecognitionException re) {
2851
            }
2616
			reportError(re);
2617
			recover(input, re);
2618
		} finally {
2619
2852
2620
			restoreStackSize(stackSize);
2621
2853
2622
		}
2854
            }
2623
		return;
2624
	}
2625
2855
2626
	// $ANTLR end rule__EffectRule__Group__0
2856
        }
2857
        catch (RecognitionException re) {
2858
            reportError(re);
2859
            recover(input,re);
2860
        }
2861
        finally {
2627
2862
2863
            	restoreStackSize(stackSize);
2628
2864
2629
	// $ANTLR start rule__EffectRule__Group__0__Impl
2865
        }
2630
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:990:1: rule__EffectRule__Group__0__Impl : ( '{' ) ;
2866
        return ;
2631
	public final void rule__EffectRule__Group__0__Impl() throws RecognitionException {
2867
    }
2868
    // $ANTLR end "rule__EffectRule__Group__1__Impl"
2632
2869
2633
		int stackSize = keepStackSize();
2634
2870
2635
		try {
2871
    // $ANTLR start "rule__EffectRule__Group__2"
2636
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:994:1: ( ( '{' ) )
2872
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1040:1: rule__EffectRule__Group__2 : rule__EffectRule__Group__2__Impl rule__EffectRule__Group__3 ;
2637
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:995:1: ( '{' )
2873
    public final void rule__EffectRule__Group__2() throws RecognitionException {
2638
			{
2639
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:995:1: ( '{' )
2640
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:996:1: '{'
2641
				{
2642
					before(grammarAccess.getEffectRuleAccess().getLeftCurlyBracketKeyword_0());
2643
					match(input, 30, FOLLOW_30_in_rule__EffectRule__Group__0__Impl2042);
2644
					after(grammarAccess.getEffectRuleAccess().getLeftCurlyBracketKeyword_0());
2645
2874
2646
				}
2875
        		int stackSize = keepStackSize();
2876
            
2877
        try {
2878
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1044:1: ( rule__EffectRule__Group__2__Impl rule__EffectRule__Group__3 )
2879
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1045:2: rule__EffectRule__Group__2__Impl rule__EffectRule__Group__3
2880
            {
2881
            pushFollow(FOLLOW_rule__EffectRule__Group__2__Impl_in_rule__EffectRule__Group__22135);
2882
            rule__EffectRule__Group__2__Impl();
2647
2883
2884
            state._fsp--;
2648
2885
2649
			}
2886
            pushFollow(FOLLOW_rule__EffectRule__Group__3_in_rule__EffectRule__Group__22138);
2887
            rule__EffectRule__Group__3();
2650
2888
2651
		} catch (RecognitionException re) {
2889
            state._fsp--;
2652
			reportError(re);
2653
			recover(input, re);
2654
		} finally {
2655
2890
2656
			restoreStackSize(stackSize);
2657
2891
2658
		}
2892
            }
2659
		return;
2660
	}
2661
2893
2662
	// $ANTLR end rule__EffectRule__Group__0__Impl
2894
        }
2895
        catch (RecognitionException re) {
2896
            reportError(re);
2897
            recover(input,re);
2898
        }
2899
        finally {
2663
2900
2901
            	restoreStackSize(stackSize);
2664
2902
2665
	// $ANTLR start rule__EffectRule__Group__1
2903
        }
2666
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1009:1: rule__EffectRule__Group__1 : rule__EffectRule__Group__1__Impl rule__EffectRule__Group__2 ;
2904
        return ;
2667
	public final void rule__EffectRule__Group__1() throws RecognitionException {
2905
    }
2906
    // $ANTLR end "rule__EffectRule__Group__2"
2668
2907
2669
		int stackSize = keepStackSize();
2670
2908
2671
		try {
2909
    // $ANTLR start "rule__EffectRule__Group__2__Impl"
2672
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1013:1: ( rule__EffectRule__Group__1__Impl rule__EffectRule__Group__2 )
2910
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1052:1: rule__EffectRule__Group__2__Impl : ( ( rule__EffectRule__EffectKindAssignment_2 ) ) ;
2673
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1014:2: rule__EffectRule__Group__1__Impl rule__EffectRule__Group__2
2911
    public final void rule__EffectRule__Group__2__Impl() throws RecognitionException {
2674
			{
2675
				pushFollow(FOLLOW_rule__EffectRule__Group__1__Impl_in_rule__EffectRule__Group__12073);
2676
				rule__EffectRule__Group__1__Impl();
2677
				_fsp--;
2678
2912
2679
				pushFollow(FOLLOW_rule__EffectRule__Group__2_in_rule__EffectRule__Group__12076);
2913
        		int stackSize = keepStackSize();
2680
				rule__EffectRule__Group__2();
2914
            
2681
				_fsp--;
2915
        try {
2916
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1056:1: ( ( ( rule__EffectRule__EffectKindAssignment_2 ) ) )
2917
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1057:1: ( ( rule__EffectRule__EffectKindAssignment_2 ) )
2918
            {
2919
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1057:1: ( ( rule__EffectRule__EffectKindAssignment_2 ) )
2920
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1058:1: ( rule__EffectRule__EffectKindAssignment_2 )
2921
            {
2922
             before(grammarAccess.getEffectRuleAccess().getEffectKindAssignment_2()); 
2923
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1059:1: ( rule__EffectRule__EffectKindAssignment_2 )
2924
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1059:2: rule__EffectRule__EffectKindAssignment_2
2925
            {
2926
            pushFollow(FOLLOW_rule__EffectRule__EffectKindAssignment_2_in_rule__EffectRule__Group__2__Impl2165);
2927
            rule__EffectRule__EffectKindAssignment_2();
2682
2928
2929
            state._fsp--;
2683
2930
2684
			}
2685
2931
2686
		} catch (RecognitionException re) {
2932
            }
2687
			reportError(re);
2688
			recover(input, re);
2689
		} finally {
2690
2933
2691
			restoreStackSize(stackSize);
2934
             after(grammarAccess.getEffectRuleAccess().getEffectKindAssignment_2()); 
2692
2935
2693
		}
2936
            }
2694
		return;
2695
	}
2696
2937
2697
	// $ANTLR end rule__EffectRule__Group__1
2698
2938
2939
            }
2699
2940
2700
	// $ANTLR start rule__EffectRule__Group__1__Impl
2941
        }
2701
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1021:1: rule__EffectRule__Group__1__Impl : ( 'effect: ' ) ;
2942
        catch (RecognitionException re) {
2702
	public final void rule__EffectRule__Group__1__Impl() throws RecognitionException {
2943
            reportError(re);
2944
            recover(input,re);
2945
        }
2946
        finally {
2703
2947
2704
		int stackSize = keepStackSize();
2948
            	restoreStackSize(stackSize);
2705
2949
2706
		try {
2950
        }
2707
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1025:1: ( ( 'effect: ' ) )
2951
        return ;
2708
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1026:1: ( 'effect: ' )
2952
    }
2709
			{
2953
    // $ANTLR end "rule__EffectRule__Group__2__Impl"
2710
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1026:1: ( 'effect: ' )
2711
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1027:1: 'effect: '
2712
				{
2713
					before(grammarAccess.getEffectRuleAccess().getEffectKeyword_1());
2714
					match(input, 33, FOLLOW_33_in_rule__EffectRule__Group__1__Impl2104);
2715
					after(grammarAccess.getEffectRuleAccess().getEffectKeyword_1());
2716
2954
2717
				}
2718
2955
2956
    // $ANTLR start "rule__EffectRule__Group__3"
2957
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1069:1: rule__EffectRule__Group__3 : rule__EffectRule__Group__3__Impl ;
2958
    public final void rule__EffectRule__Group__3() throws RecognitionException {
2719
2959
2720
			}
2960
        		int stackSize = keepStackSize();
2961
            
2962
        try {
2963
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1073:1: ( rule__EffectRule__Group__3__Impl )
2964
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1074:2: rule__EffectRule__Group__3__Impl
2965
            {
2966
            pushFollow(FOLLOW_rule__EffectRule__Group__3__Impl_in_rule__EffectRule__Group__32195);
2967
            rule__EffectRule__Group__3__Impl();
2721
2968
2722
		} catch (RecognitionException re) {
2969
            state._fsp--;
2723
			reportError(re);
2724
			recover(input, re);
2725
		} finally {
2726
2970
2727
			restoreStackSize(stackSize);
2728
2971
2729
		}
2972
            }
2730
		return;
2731
	}
2732
2973
2733
	// $ANTLR end rule__EffectRule__Group__1__Impl
2974
        }
2975
        catch (RecognitionException re) {
2976
            reportError(re);
2977
            recover(input,re);
2978
        }
2979
        finally {
2734
2980
2981
            	restoreStackSize(stackSize);
2735
2982
2736
	// $ANTLR start rule__EffectRule__Group__2
2983
        }
2737
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1040:1: rule__EffectRule__Group__2 : rule__EffectRule__Group__2__Impl rule__EffectRule__Group__3 ;
2984
        return ;
2738
	public final void rule__EffectRule__Group__2() throws RecognitionException {
2985
    }
2986
    // $ANTLR end "rule__EffectRule__Group__3"
2739
2987
2740
		int stackSize = keepStackSize();
2741
2988
2742
		try {
2989
    // $ANTLR start "rule__EffectRule__Group__3__Impl"
2743
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1044:1: ( rule__EffectRule__Group__2__Impl rule__EffectRule__Group__3 )
2990
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1080:1: rule__EffectRule__Group__3__Impl : ( '}' ) ;
2744
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1045:2: rule__EffectRule__Group__2__Impl rule__EffectRule__Group__3
2991
    public final void rule__EffectRule__Group__3__Impl() throws RecognitionException {
2745
			{
2746
				pushFollow(FOLLOW_rule__EffectRule__Group__2__Impl_in_rule__EffectRule__Group__22135);
2747
				rule__EffectRule__Group__2__Impl();
2748
				_fsp--;
2749
2992
2750
				pushFollow(FOLLOW_rule__EffectRule__Group__3_in_rule__EffectRule__Group__22138);
2993
        		int stackSize = keepStackSize();
2751
				rule__EffectRule__Group__3();
2994
            
2752
				_fsp--;
2995
        try {
2996
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1084:1: ( ( '}' ) )
2997
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1085:1: ( '}' )
2998
            {
2999
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1085:1: ( '}' )
3000
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1086:1: '}'
3001
            {
3002
             before(grammarAccess.getEffectRuleAccess().getRightCurlyBracketKeyword_3()); 
3003
            match(input,31,FOLLOW_31_in_rule__EffectRule__Group__3__Impl2223); 
3004
             after(grammarAccess.getEffectRuleAccess().getRightCurlyBracketKeyword_3()); 
2753
3005
3006
            }
2754
3007
2755
			}
2756
3008
2757
		} catch (RecognitionException re) {
3009
            }
2758
			reportError(re);
2759
			recover(input, re);
2760
		} finally {
2761
3010
2762
			restoreStackSize(stackSize);
3011
        }
3012
        catch (RecognitionException re) {
3013
            reportError(re);
3014
            recover(input,re);
3015
        }
3016
        finally {
2763
3017
2764
		}
3018
            	restoreStackSize(stackSize);
2765
		return;
2766
	}
2767
3019
2768
	// $ANTLR end rule__EffectRule__Group__2
3020
        }
3021
        return ;
3022
    }
3023
    // $ANTLR end "rule__EffectRule__Group__3__Impl"
2769
3024
2770
3025
2771
	// $ANTLR start rule__EffectRule__Group__2__Impl
3026
    // $ANTLR start "rule__QualifiedName__Group__0"
2772
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1052:1: rule__EffectRule__Group__2__Impl : ( ( rule__EffectRule__EffectKindAssignment_2 ) ) ;
3027
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1107:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ;
2773
	public final void rule__EffectRule__Group__2__Impl() throws RecognitionException {
3028
    public final void rule__QualifiedName__Group__0() throws RecognitionException {
2774
3029
2775
		int stackSize = keepStackSize();
3030
        		int stackSize = keepStackSize();
3031
            
3032
        try {
3033
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1111:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 )
3034
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1112:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1
3035
            {
3036
            pushFollow(FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__02262);
3037
            rule__QualifiedName__Group__0__Impl();
2776
3038
2777
		try {
3039
            state._fsp--;
2778
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1056:1: ( ( ( rule__EffectRule__EffectKindAssignment_2 ) ) )
2779
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1057:1: ( ( rule__EffectRule__EffectKindAssignment_2 ) )
2780
			{
2781
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1057:1: ( ( rule__EffectRule__EffectKindAssignment_2 ) )
2782
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1058:1: ( rule__EffectRule__EffectKindAssignment_2 )
2783
				{
2784
					before(grammarAccess.getEffectRuleAccess().getEffectKindAssignment_2());
2785
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1059:1: ( rule__EffectRule__EffectKindAssignment_2 )
2786
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1059:2: rule__EffectRule__EffectKindAssignment_2
2787
					{
2788
						pushFollow(FOLLOW_rule__EffectRule__EffectKindAssignment_2_in_rule__EffectRule__Group__2__Impl2165);
2789
						rule__EffectRule__EffectKindAssignment_2();
2790
						_fsp--;
2791
3040
3041
            pushFollow(FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__02265);
3042
            rule__QualifiedName__Group__1();
2792
3043
2793
					}
3044
            state._fsp--;
2794
3045
2795
					after(grammarAccess.getEffectRuleAccess().getEffectKindAssignment_2());
2796
3046
2797
				}
3047
            }
2798
3048
3049
        }
3050
        catch (RecognitionException re) {
3051
            reportError(re);
3052
            recover(input,re);
3053
        }
3054
        finally {
2799
3055
2800
			}
3056
            	restoreStackSize(stackSize);
2801
3057
2802
		} catch (RecognitionException re) {
3058
        }
2803
			reportError(re);
3059
        return ;
2804
			recover(input, re);
3060
    }
2805
		} finally {
3061
    // $ANTLR end "rule__QualifiedName__Group__0"
2806
3062
2807
			restoreStackSize(stackSize);
2808
3063
2809
		}
3064
    // $ANTLR start "rule__QualifiedName__Group__0__Impl"
2810
		return;
3065
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1119:1: rule__QualifiedName__Group__0__Impl : ( ( rule__QualifiedName__PathAssignment_0 ) ) ;
2811
	}
3066
    public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException {
2812
3067
2813
	// $ANTLR end rule__EffectRule__Group__2__Impl
3068
        		int stackSize = keepStackSize();
3069
            
3070
        try {
3071
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1123:1: ( ( ( rule__QualifiedName__PathAssignment_0 ) ) )
3072
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1124:1: ( ( rule__QualifiedName__PathAssignment_0 ) )
3073
            {
3074
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1124:1: ( ( rule__QualifiedName__PathAssignment_0 ) )
3075
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1125:1: ( rule__QualifiedName__PathAssignment_0 )
3076
            {
3077
             before(grammarAccess.getQualifiedNameAccess().getPathAssignment_0()); 
3078
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1126:1: ( rule__QualifiedName__PathAssignment_0 )
3079
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1126:2: rule__QualifiedName__PathAssignment_0
3080
            {
3081
            pushFollow(FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl2292);
3082
            rule__QualifiedName__PathAssignment_0();
2814
3083
3084
            state._fsp--;
2815
3085
2816
	// $ANTLR start rule__EffectRule__Group__3
2817
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1069:1: rule__EffectRule__Group__3 : rule__EffectRule__Group__3__Impl ;
2818
	public final void rule__EffectRule__Group__3() throws RecognitionException {
2819
3086
2820
		int stackSize = keepStackSize();
3087
            }
2821
3088
2822
		try {
3089
             after(grammarAccess.getQualifiedNameAccess().getPathAssignment_0()); 
2823
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1073:1: ( rule__EffectRule__Group__3__Impl )
2824
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1074:2: rule__EffectRule__Group__3__Impl
2825
			{
2826
				pushFollow(FOLLOW_rule__EffectRule__Group__3__Impl_in_rule__EffectRule__Group__32195);
2827
				rule__EffectRule__Group__3__Impl();
2828
				_fsp--;
2829
3090
3091
            }
2830
3092
2831
			}
2832
3093
2833
		} catch (RecognitionException re) {
3094
            }
2834
			reportError(re);
2835
			recover(input, re);
2836
		} finally {
2837
3095
2838
			restoreStackSize(stackSize);
3096
        }
3097
        catch (RecognitionException re) {
3098
            reportError(re);
3099
            recover(input,re);
3100
        }
3101
        finally {
2839
3102
2840
		}
3103
            	restoreStackSize(stackSize);
2841
		return;
2842
	}
2843
3104
2844
	// $ANTLR end rule__EffectRule__Group__3
3105
        }
3106
        return ;
3107
    }
3108
    // $ANTLR end "rule__QualifiedName__Group__0__Impl"
2845
3109
2846
3110
2847
	// $ANTLR start rule__EffectRule__Group__3__Impl
3111
    // $ANTLR start "rule__QualifiedName__Group__1"
2848
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1080:1: rule__EffectRule__Group__3__Impl : ( '}' ) ;
3112
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1136:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 ;
2849
	public final void rule__EffectRule__Group__3__Impl() throws RecognitionException {
3113
    public final void rule__QualifiedName__Group__1() throws RecognitionException {
2850
3114
2851
		int stackSize = keepStackSize();
3115
        		int stackSize = keepStackSize();
3116
            
3117
        try {
3118
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1140:1: ( rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 )
3119
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1141:2: rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2
3120
            {
3121
            pushFollow(FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__12322);
3122
            rule__QualifiedName__Group__1__Impl();
2852
3123
2853
		try {
3124
            state._fsp--;
2854
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1084:1: ( ( '}' ) )
2855
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1085:1: ( '}' )
2856
			{
2857
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1085:1: ( '}' )
2858
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1086:1: '}'
2859
				{
2860
					before(grammarAccess.getEffectRuleAccess().getRightCurlyBracketKeyword_3());
2861
					match(input, 31, FOLLOW_31_in_rule__EffectRule__Group__3__Impl2223);
2862
					after(grammarAccess.getEffectRuleAccess().getRightCurlyBracketKeyword_3());
2863
3125
2864
				}
3126
            pushFollow(FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__12325);
3127
            rule__QualifiedName__Group__2();
2865
3128
3129
            state._fsp--;
2866
3130
2867
			}
2868
3131
2869
		} catch (RecognitionException re) {
3132
            }
2870
			reportError(re);
2871
			recover(input, re);
2872
		} finally {
2873
3133
2874
			restoreStackSize(stackSize);
3134
        }
3135
        catch (RecognitionException re) {
3136
            reportError(re);
3137
            recover(input,re);
3138
        }
3139
        finally {
2875
3140
2876
		}
3141
            	restoreStackSize(stackSize);
2877
		return;
2878
	}
2879
3142
2880
	// $ANTLR end rule__EffectRule__Group__3__Impl
3143
        }
3144
        return ;
3145
    }
3146
    // $ANTLR end "rule__QualifiedName__Group__1"
2881
3147
2882
3148
2883
	// $ANTLR start rule__QualifiedName__Group__0
3149
    // $ANTLR start "rule__QualifiedName__Group__1__Impl"
2884
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1107:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ;
3150
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1148:1: rule__QualifiedName__Group__1__Impl : ( '::' ) ;
2885
	public final void rule__QualifiedName__Group__0() throws RecognitionException {
3151
    public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException {
2886
3152
2887
		int stackSize = keepStackSize();
3153
        		int stackSize = keepStackSize();
3154
            
3155
        try {
3156
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1152:1: ( ( '::' ) )
3157
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1153:1: ( '::' )
3158
            {
3159
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1153:1: ( '::' )
3160
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1154:1: '::'
3161
            {
3162
             before(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1()); 
3163
            match(input,34,FOLLOW_34_in_rule__QualifiedName__Group__1__Impl2353); 
3164
             after(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1()); 
2888
3165
2889
		try {
3166
            }
2890
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1111:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 )
2891
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1112:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1
2892
			{
2893
				pushFollow(FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__02262);
2894
				rule__QualifiedName__Group__0__Impl();
2895
				_fsp--;
2896
3167
2897
				pushFollow(FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__02265);
2898
				rule__QualifiedName__Group__1();
2899
				_fsp--;
2900
3168
3169
            }
2901
3170
2902
			}
3171
        }
3172
        catch (RecognitionException re) {
3173
            reportError(re);
3174
            recover(input,re);
3175
        }
3176
        finally {
2903
3177
2904
		} catch (RecognitionException re) {
3178
            	restoreStackSize(stackSize);
2905
			reportError(re);
2906
			recover(input, re);
2907
		} finally {
2908
3179
2909
			restoreStackSize(stackSize);
3180
        }
3181
        return ;
3182
    }
3183
    // $ANTLR end "rule__QualifiedName__Group__1__Impl"
2910
3184
2911
		}
2912
		return;
2913
	}
2914
3185
2915
	// $ANTLR end rule__QualifiedName__Group__0
3186
    // $ANTLR start "rule__QualifiedName__Group__2"
3187
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1167:1: rule__QualifiedName__Group__2 : rule__QualifiedName__Group__2__Impl ;
3188
    public final void rule__QualifiedName__Group__2() throws RecognitionException {
2916
3189
3190
        		int stackSize = keepStackSize();
3191
            
3192
        try {
3193
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1171:1: ( rule__QualifiedName__Group__2__Impl )
3194
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1172:2: rule__QualifiedName__Group__2__Impl
3195
            {
3196
            pushFollow(FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__22384);
3197
            rule__QualifiedName__Group__2__Impl();
2917
3198
2918
	// $ANTLR start rule__QualifiedName__Group__0__Impl
3199
            state._fsp--;
2919
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1119:1: rule__QualifiedName__Group__0__Impl : ( ( rule__QualifiedName__PathAssignment_0 ) ) ;
2920
	public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException {
2921
3200
2922
		int stackSize = keepStackSize();
2923
3201
2924
		try {
3202
            }
2925
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1123:1: ( ( ( rule__QualifiedName__PathAssignment_0 ) ) )
2926
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1124:1: ( ( rule__QualifiedName__PathAssignment_0 ) )
2927
			{
2928
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1124:1: ( ( rule__QualifiedName__PathAssignment_0 ) )
2929
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1125:1: ( rule__QualifiedName__PathAssignment_0 )
2930
				{
2931
					before(grammarAccess.getQualifiedNameAccess().getPathAssignment_0());
2932
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1126:1: ( rule__QualifiedName__PathAssignment_0 )
2933
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1126:2: rule__QualifiedName__PathAssignment_0
2934
					{
2935
						pushFollow(FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl2292);
2936
						rule__QualifiedName__PathAssignment_0();
2937
						_fsp--;
2938
3203
3204
        }
3205
        catch (RecognitionException re) {
3206
            reportError(re);
3207
            recover(input,re);
3208
        }
3209
        finally {
2939
3210
2940
					}
3211
            	restoreStackSize(stackSize);
2941
3212
2942
					after(grammarAccess.getQualifiedNameAccess().getPathAssignment_0());
3213
        }
3214
        return ;
3215
    }
3216
    // $ANTLR end "rule__QualifiedName__Group__2"
2943
3217
2944
				}
2945
3218
3219
    // $ANTLR start "rule__QualifiedName__Group__2__Impl"
3220
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1178:1: rule__QualifiedName__Group__2__Impl : ( ( rule__QualifiedName__RemainingAssignment_2 )? ) ;
3221
    public final void rule__QualifiedName__Group__2__Impl() throws RecognitionException {
2946
3222
2947
			}
3223
        		int stackSize = keepStackSize();
3224
            
3225
        try {
3226
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1182:1: ( ( ( rule__QualifiedName__RemainingAssignment_2 )? ) )
3227
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1183:1: ( ( rule__QualifiedName__RemainingAssignment_2 )? )
3228
            {
3229
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1183:1: ( ( rule__QualifiedName__RemainingAssignment_2 )? )
3230
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1184:1: ( rule__QualifiedName__RemainingAssignment_2 )?
3231
            {
3232
             before(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2()); 
3233
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1185:1: ( rule__QualifiedName__RemainingAssignment_2 )?
3234
            int alt9=2;
3235
            int LA9_0 = input.LA(1);
2948
3236
2949
		} catch (RecognitionException re) {
3237
            if ( (LA9_0==RULE_ID) ) {
2950
			reportError(re);
3238
                int LA9_1 = input.LA(2);
2951
			recover(input, re);
2952
		} finally {
2953
3239
2954
			restoreStackSize(stackSize);
3240
                if ( (LA9_1==34) ) {
3241
                    alt9=1;
3242
                }
3243
            }
3244
            switch (alt9) {
3245
                case 1 :
3246
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1185:2: rule__QualifiedName__RemainingAssignment_2
3247
                    {
3248
                    pushFollow(FOLLOW_rule__QualifiedName__RemainingAssignment_2_in_rule__QualifiedName__Group__2__Impl2411);
3249
                    rule__QualifiedName__RemainingAssignment_2();
2955
3250
2956
		}
3251
                    state._fsp--;
2957
		return;
2958
	}
2959
3252
2960
	// $ANTLR end rule__QualifiedName__Group__0__Impl
2961
3253
3254
                    }
3255
                    break;
2962
3256
2963
	// $ANTLR start rule__QualifiedName__Group__1
3257
            }
2964
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1136:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 ;
2965
	public final void rule__QualifiedName__Group__1() throws RecognitionException {
2966
3258
2967
		int stackSize = keepStackSize();
3259
             after(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2()); 
2968
3260
2969
		try {
3261
            }
2970
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1140:1: ( rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 )
2971
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1141:2: rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2
2972
			{
2973
				pushFollow(FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__12322);
2974
				rule__QualifiedName__Group__1__Impl();
2975
				_fsp--;
2976
3262
2977
				pushFollow(FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__12325);
2978
				rule__QualifiedName__Group__2();
2979
				_fsp--;
2980
3263
3264
            }
2981
3265
2982
			}
3266
        }
3267
        catch (RecognitionException re) {
3268
            reportError(re);
3269
            recover(input,re);
3270
        }
3271
        finally {
2983
3272
2984
		} catch (RecognitionException re) {
3273
            	restoreStackSize(stackSize);
2985
			reportError(re);
2986
			recover(input, re);
2987
		} finally {
2988
3274
2989
			restoreStackSize(stackSize);
3275
        }
3276
        return ;
3277
    }
3278
    // $ANTLR end "rule__QualifiedName__Group__2__Impl"
2990
3279
2991
		}
2992
		return;
2993
	}
2994
3280
2995
	// $ANTLR end rule__QualifiedName__Group__1
3281
    // $ANTLR start "rule__TypeRule__Group__0"
3282
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1201:1: rule__TypeRule__Group__0 : rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1 ;
3283
    public final void rule__TypeRule__Group__0() throws RecognitionException {
2996
3284
3285
        		int stackSize = keepStackSize();
3286
            
3287
        try {
3288
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1205:1: ( rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1 )
3289
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1206:2: rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1
3290
            {
3291
            pushFollow(FOLLOW_rule__TypeRule__Group__0__Impl_in_rule__TypeRule__Group__02448);
3292
            rule__TypeRule__Group__0__Impl();
2997
3293
2998
	// $ANTLR start rule__QualifiedName__Group__1__Impl
3294
            state._fsp--;
2999
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1148:1: rule__QualifiedName__Group__1__Impl : ( '::' ) ;
3000
	public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException {
3001
3295
3002
		int stackSize = keepStackSize();
3296
            pushFollow(FOLLOW_rule__TypeRule__Group__1_in_rule__TypeRule__Group__02451);
3297
            rule__TypeRule__Group__1();
3003
3298
3004
		try {
3299
            state._fsp--;
3005
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1152:1: ( ( '::' ) )
3006
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1153:1: ( '::' )
3007
			{
3008
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1153:1: ( '::' )
3009
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1154:1: '::'
3010
				{
3011
					before(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
3012
					match(input, 34, FOLLOW_34_in_rule__QualifiedName__Group__1__Impl2353);
3013
					after(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
3014
3300
3015
				}
3016
3301
3302
            }
3017
3303
3018
			}
3304
        }
3305
        catch (RecognitionException re) {
3306
            reportError(re);
3307
            recover(input,re);
3308
        }
3309
        finally {
3019
3310
3020
		} catch (RecognitionException re) {
3311
            	restoreStackSize(stackSize);
3021
			reportError(re);
3022
			recover(input, re);
3023
		} finally {
3024
3312
3025
			restoreStackSize(stackSize);
3313
        }
3314
        return ;
3315
    }
3316
    // $ANTLR end "rule__TypeRule__Group__0"
3026
3317
3027
		}
3028
		return;
3029
	}
3030
3318
3031
	// $ANTLR end rule__QualifiedName__Group__1__Impl
3319
    // $ANTLR start "rule__TypeRule__Group__0__Impl"
3320
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1213:1: rule__TypeRule__Group__0__Impl : ( ( rule__TypeRule__PathAssignment_0 )? ) ;
3321
    public final void rule__TypeRule__Group__0__Impl() throws RecognitionException {
3032
3322
3323
        		int stackSize = keepStackSize();
3324
            
3325
        try {
3326
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1217:1: ( ( ( rule__TypeRule__PathAssignment_0 )? ) )
3327
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1218:1: ( ( rule__TypeRule__PathAssignment_0 )? )
3328
            {
3329
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1218:1: ( ( rule__TypeRule__PathAssignment_0 )? )
3330
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1219:1: ( rule__TypeRule__PathAssignment_0 )?
3331
            {
3332
             before(grammarAccess.getTypeRuleAccess().getPathAssignment_0()); 
3333
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1220:1: ( rule__TypeRule__PathAssignment_0 )?
3334
            int alt10=2;
3335
            int LA10_0 = input.LA(1);
3033
3336
3034
	// $ANTLR start rule__QualifiedName__Group__2
3337
            if ( (LA10_0==RULE_ID) ) {
3035
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1167:1: rule__QualifiedName__Group__2 : rule__QualifiedName__Group__2__Impl ;
3338
                int LA10_1 = input.LA(2);
3036
	public final void rule__QualifiedName__Group__2() throws RecognitionException {
3037
3339
3038
		int stackSize = keepStackSize();
3340
                if ( (LA10_1==34) ) {
3341
                    alt10=1;
3342
                }
3343
            }
3344
            switch (alt10) {
3345
                case 1 :
3346
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1220:2: rule__TypeRule__PathAssignment_0
3347
                    {
3348
                    pushFollow(FOLLOW_rule__TypeRule__PathAssignment_0_in_rule__TypeRule__Group__0__Impl2478);
3349
                    rule__TypeRule__PathAssignment_0();
3039
3350
3040
		try {
3351
                    state._fsp--;
3041
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1171:1: ( rule__QualifiedName__Group__2__Impl )
3042
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1172:2: rule__QualifiedName__Group__2__Impl
3043
			{
3044
				pushFollow(FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__22384);
3045
				rule__QualifiedName__Group__2__Impl();
3046
				_fsp--;
3047
3352
3048
3353
3049
			}
3354
                    }
3355
                    break;
3050
3356
3051
		} catch (RecognitionException re) {
3357
            }
3052
			reportError(re);
3053
			recover(input, re);
3054
		} finally {
3055
3358
3056
			restoreStackSize(stackSize);
3359
             after(grammarAccess.getTypeRuleAccess().getPathAssignment_0()); 
3057
3360
3058
		}
3361
            }
3059
		return;
3060
	}
3061
3362
3062
	// $ANTLR end rule__QualifiedName__Group__2
3063
3363
3364
            }
3064
3365
3065
	// $ANTLR start rule__QualifiedName__Group__2__Impl
3366
        }
3066
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1178:1: rule__QualifiedName__Group__2__Impl : ( ( rule__QualifiedName__RemainingAssignment_2 )? ) ;
3367
        catch (RecognitionException re) {
3067
	public final void rule__QualifiedName__Group__2__Impl() throws RecognitionException {
3368
            reportError(re);
3369
            recover(input,re);
3370
        }
3371
        finally {
3068
3372
3069
		int stackSize = keepStackSize();
3373
            	restoreStackSize(stackSize);
3070
3374
3071
		try {
3375
        }
3072
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1182:1: ( ( ( rule__QualifiedName__RemainingAssignment_2 )? ) )
3376
        return ;
3073
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1183:1: ( ( rule__QualifiedName__RemainingAssignment_2 )? )
3377
    }
3074
			{
3378
    // $ANTLR end "rule__TypeRule__Group__0__Impl"
3075
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1183:1: ( ( rule__QualifiedName__RemainingAssignment_2 )? )
3076
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1184:1: ( rule__QualifiedName__RemainingAssignment_2 )?
3077
				{
3078
					before(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2());
3079
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1185:1: ( rule__QualifiedName__RemainingAssignment_2 )?
3080
					int alt9 = 2;
3081
					int LA9_0 = input.LA(1);
3082
3379
3083
					if((LA9_0 == RULE_ID)) {
3084
						int LA9_1 = input.LA(2);
3085
3380
3086
						if((LA9_1 == 34)) {
3381
    // $ANTLR start "rule__TypeRule__Group__1"
3087
							alt9 = 1;
3382
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1230:1: rule__TypeRule__Group__1 : rule__TypeRule__Group__1__Impl ;
3088
						}
3383
    public final void rule__TypeRule__Group__1() throws RecognitionException {
3089
					}
3090
					switch(alt9) {
3091
					case 1:
3092
						// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1185:2: rule__QualifiedName__RemainingAssignment_2
3093
					{
3094
						pushFollow(FOLLOW_rule__QualifiedName__RemainingAssignment_2_in_rule__QualifiedName__Group__2__Impl2411);
3095
						rule__QualifiedName__RemainingAssignment_2();
3096
						_fsp--;
3097
3384
3385
        		int stackSize = keepStackSize();
3386
            
3387
        try {
3388
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1234:1: ( rule__TypeRule__Group__1__Impl )
3389
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1235:2: rule__TypeRule__Group__1__Impl
3390
            {
3391
            pushFollow(FOLLOW_rule__TypeRule__Group__1__Impl_in_rule__TypeRule__Group__12509);
3392
            rule__TypeRule__Group__1__Impl();
3098
3393
3099
					}
3394
            state._fsp--;
3100
						break;
3101
3395
3102
					}
3103
3396
3104
					after(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2());
3397
            }
3105
3398
3106
				}
3399
        }
3400
        catch (RecognitionException re) {
3401
            reportError(re);
3402
            recover(input,re);
3403
        }
3404
        finally {
3107
3405
3406
            	restoreStackSize(stackSize);
3108
3407
3109
			}
3408
        }
3409
        return ;
3410
    }
3411
    // $ANTLR end "rule__TypeRule__Group__1"
3110
3412
3111
		} catch (RecognitionException re) {
3112
			reportError(re);
3113
			recover(input, re);
3114
		} finally {
3115
3413
3116
			restoreStackSize(stackSize);
3414
    // $ANTLR start "rule__TypeRule__Group__1__Impl"
3415
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1241:1: rule__TypeRule__Group__1__Impl : ( ( rule__TypeRule__TypeAssignment_1 ) ) ;
3416
    public final void rule__TypeRule__Group__1__Impl() throws RecognitionException {
3117
3417
3118
		}
3418
        		int stackSize = keepStackSize();
3119
		return;
3419
            
3120
	}
3420
        try {
3421
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1245:1: ( ( ( rule__TypeRule__TypeAssignment_1 ) ) )
3422
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1246:1: ( ( rule__TypeRule__TypeAssignment_1 ) )
3423
            {
3424
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1246:1: ( ( rule__TypeRule__TypeAssignment_1 ) )
3425
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1247:1: ( rule__TypeRule__TypeAssignment_1 )
3426
            {
3427
             before(grammarAccess.getTypeRuleAccess().getTypeAssignment_1()); 
3428
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1248:1: ( rule__TypeRule__TypeAssignment_1 )
3429
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1248:2: rule__TypeRule__TypeAssignment_1
3430
            {
3431
            pushFollow(FOLLOW_rule__TypeRule__TypeAssignment_1_in_rule__TypeRule__Group__1__Impl2536);
3432
            rule__TypeRule__TypeAssignment_1();
3121
3433
3122
	// $ANTLR end rule__QualifiedName__Group__2__Impl
3434
            state._fsp--;
3123
3435
3124
3436
3125
	// $ANTLR start rule__TypeRule__Group__0
3437
            }
3126
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1201:1: rule__TypeRule__Group__0 : rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1 ;
3127
	public final void rule__TypeRule__Group__0() throws RecognitionException {
3128
3438
3129
		int stackSize = keepStackSize();
3439
             after(grammarAccess.getTypeRuleAccess().getTypeAssignment_1()); 
3130
3440
3131
		try {
3441
            }
3132
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1205:1: ( rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1 )
3133
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1206:2: rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1
3134
			{
3135
				pushFollow(FOLLOW_rule__TypeRule__Group__0__Impl_in_rule__TypeRule__Group__02448);
3136
				rule__TypeRule__Group__0__Impl();
3137
				_fsp--;
3138
3442
3139
				pushFollow(FOLLOW_rule__TypeRule__Group__1_in_rule__TypeRule__Group__02451);
3140
				rule__TypeRule__Group__1();
3141
				_fsp--;
3142
3443
3444
            }
3143
3445
3144
			}
3446
        }
3447
        catch (RecognitionException re) {
3448
            reportError(re);
3449
            recover(input,re);
3450
        }
3451
        finally {
3145
3452
3146
		} catch (RecognitionException re) {
3453
            	restoreStackSize(stackSize);
3147
			reportError(re);
3148
			recover(input, re);
3149
		} finally {
3150
3454
3151
			restoreStackSize(stackSize);
3455
        }
3456
        return ;
3457
    }
3458
    // $ANTLR end "rule__TypeRule__Group__1__Impl"
3152
3459
3153
		}
3154
		return;
3155
	}
3156
3460
3157
	// $ANTLR end rule__TypeRule__Group__0
3461
    // $ANTLR start "rule__MultiplicityRule__Group__0"
3462
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1262:1: rule__MultiplicityRule__Group__0 : rule__MultiplicityRule__Group__0__Impl rule__MultiplicityRule__Group__1 ;
3463
    public final void rule__MultiplicityRule__Group__0() throws RecognitionException {
3158
3464
3465
        		int stackSize = keepStackSize();
3466
            
3467
        try {
3468
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1266:1: ( rule__MultiplicityRule__Group__0__Impl rule__MultiplicityRule__Group__1 )
3469
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1267:2: rule__MultiplicityRule__Group__0__Impl rule__MultiplicityRule__Group__1
3470
            {
3471
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__0__Impl_in_rule__MultiplicityRule__Group__02570);
3472
            rule__MultiplicityRule__Group__0__Impl();
3159
3473
3160
	// $ANTLR start rule__TypeRule__Group__0__Impl
3474
            state._fsp--;
3161
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1213:1: rule__TypeRule__Group__0__Impl : ( ( rule__TypeRule__PathAssignment_0 )? ) ;
3162
	public final void rule__TypeRule__Group__0__Impl() throws RecognitionException {
3163
3475
3164
		int stackSize = keepStackSize();
3476
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__1_in_rule__MultiplicityRule__Group__02573);
3477
            rule__MultiplicityRule__Group__1();
3165
3478
3166
		try {
3479
            state._fsp--;
3167
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1217:1: ( ( ( rule__TypeRule__PathAssignment_0 )? ) )
3168
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1218:1: ( ( rule__TypeRule__PathAssignment_0 )? )
3169
			{
3170
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1218:1: ( ( rule__TypeRule__PathAssignment_0 )? )
3171
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1219:1: ( rule__TypeRule__PathAssignment_0 )?
3172
				{
3173
					before(grammarAccess.getTypeRuleAccess().getPathAssignment_0());
3174
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1220:1: ( rule__TypeRule__PathAssignment_0 )?
3175
					int alt10 = 2;
3176
					int LA10_0 = input.LA(1);
3177
3480
3178
					if((LA10_0 == RULE_ID)) {
3179
						int LA10_1 = input.LA(2);
3180
3481
3181
						if((LA10_1 == 34)) {
3482
            }
3182
							alt10 = 1;
3183
						}
3184
					}
3185
					switch(alt10) {
3186
					case 1:
3187
						// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1220:2: rule__TypeRule__PathAssignment_0
3188
					{
3189
						pushFollow(FOLLOW_rule__TypeRule__PathAssignment_0_in_rule__TypeRule__Group__0__Impl2478);
3190
						rule__TypeRule__PathAssignment_0();
3191
						_fsp--;
3192
3483
3484
        }
3485
        catch (RecognitionException re) {
3486
            reportError(re);
3487
            recover(input,re);
3488
        }
3489
        finally {
3193
3490
3194
					}
3491
            	restoreStackSize(stackSize);
3195
						break;
3196
3492
3197
					}
3493
        }
3494
        return ;
3495
    }
3496
    // $ANTLR end "rule__MultiplicityRule__Group__0"
3198
3497
3199
					after(grammarAccess.getTypeRuleAccess().getPathAssignment_0());
3200
3498
3201
				}
3499
    // $ANTLR start "rule__MultiplicityRule__Group__0__Impl"
3500
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1274:1: rule__MultiplicityRule__Group__0__Impl : ( '[' ) ;
3501
    public final void rule__MultiplicityRule__Group__0__Impl() throws RecognitionException {
3202
3502
3503
        		int stackSize = keepStackSize();
3504
            
3505
        try {
3506
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1278:1: ( ( '[' ) )
3507
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1279:1: ( '[' )
3508
            {
3509
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1279:1: ( '[' )
3510
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1280:1: '['
3511
            {
3512
             before(grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0()); 
3513
            match(input,35,FOLLOW_35_in_rule__MultiplicityRule__Group__0__Impl2601); 
3514
             after(grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0()); 
3203
3515
3204
			}
3516
            }
3205
3517
3206
		} catch (RecognitionException re) {
3207
			reportError(re);
3208
			recover(input, re);
3209
		} finally {
3210
3518
3211
			restoreStackSize(stackSize);
3519
            }
3212
3520
3213
		}
3521
        }
3214
		return;
3522
        catch (RecognitionException re) {
3215
	}
3523
            reportError(re);
3524
            recover(input,re);
3525
        }
3526
        finally {
3216
3527
3217
	// $ANTLR end rule__TypeRule__Group__0__Impl
3528
            	restoreStackSize(stackSize);
3218
3529
3530
        }
3531
        return ;
3532
    }
3533
    // $ANTLR end "rule__MultiplicityRule__Group__0__Impl"
3219
3534
3220
	// $ANTLR start rule__TypeRule__Group__1
3221
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1230:1: rule__TypeRule__Group__1 : rule__TypeRule__Group__1__Impl ;
3222
	public final void rule__TypeRule__Group__1() throws RecognitionException {
3223
3535
3224
		int stackSize = keepStackSize();
3536
    // $ANTLR start "rule__MultiplicityRule__Group__1"
3537
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1293:1: rule__MultiplicityRule__Group__1 : rule__MultiplicityRule__Group__1__Impl rule__MultiplicityRule__Group__2 ;
3538
    public final void rule__MultiplicityRule__Group__1() throws RecognitionException {
3225
3539
3226
		try {
3540
        		int stackSize = keepStackSize();
3227
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1234:1: ( rule__TypeRule__Group__1__Impl )
3541
            
3228
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1235:2: rule__TypeRule__Group__1__Impl
3542
        try {
3229
			{
3543
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1297:1: ( rule__MultiplicityRule__Group__1__Impl rule__MultiplicityRule__Group__2 )
3230
				pushFollow(FOLLOW_rule__TypeRule__Group__1__Impl_in_rule__TypeRule__Group__12509);
3544
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1298:2: rule__MultiplicityRule__Group__1__Impl rule__MultiplicityRule__Group__2
3231
				rule__TypeRule__Group__1__Impl();
3545
            {
3232
				_fsp--;
3546
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__1__Impl_in_rule__MultiplicityRule__Group__12632);
3547
            rule__MultiplicityRule__Group__1__Impl();
3233
3548
3549
            state._fsp--;
3234
3550
3235
			}
3551
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__2_in_rule__MultiplicityRule__Group__12635);
3552
            rule__MultiplicityRule__Group__2();
3236
3553
3237
		} catch (RecognitionException re) {
3554
            state._fsp--;
3238
			reportError(re);
3239
			recover(input, re);
3240
		} finally {
3241
3555
3242
			restoreStackSize(stackSize);
3243
3556
3244
		}
3557
            }
3245
		return;
3246
	}
3247
3558
3248
	// $ANTLR end rule__TypeRule__Group__1
3559
        }
3560
        catch (RecognitionException re) {
3561
            reportError(re);
3562
            recover(input,re);
3563
        }
3564
        finally {
3249
3565
3566
            	restoreStackSize(stackSize);
3250
3567
3251
	// $ANTLR start rule__TypeRule__Group__1__Impl
3568
        }
3252
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1241:1: rule__TypeRule__Group__1__Impl : ( ( rule__TypeRule__TypeAssignment_1 ) ) ;
3569
        return ;
3253
	public final void rule__TypeRule__Group__1__Impl() throws RecognitionException {
3570
    }
3571
    // $ANTLR end "rule__MultiplicityRule__Group__1"
3254
3572
3255
		int stackSize = keepStackSize();
3256
3573
3257
		try {
3574
    // $ANTLR start "rule__MultiplicityRule__Group__1__Impl"
3258
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1245:1: ( ( ( rule__TypeRule__TypeAssignment_1 ) ) )
3575
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1305:1: rule__MultiplicityRule__Group__1__Impl : ( ( rule__MultiplicityRule__BoundsAssignment_1 ) ) ;
3259
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1246:1: ( ( rule__TypeRule__TypeAssignment_1 ) )
3576
    public final void rule__MultiplicityRule__Group__1__Impl() throws RecognitionException {
3260
			{
3261
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1246:1: ( ( rule__TypeRule__TypeAssignment_1 ) )
3262
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1247:1: ( rule__TypeRule__TypeAssignment_1 )
3263
				{
3264
					before(grammarAccess.getTypeRuleAccess().getTypeAssignment_1());
3265
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1248:1: ( rule__TypeRule__TypeAssignment_1 )
3266
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1248:2: rule__TypeRule__TypeAssignment_1
3267
					{
3268
						pushFollow(FOLLOW_rule__TypeRule__TypeAssignment_1_in_rule__TypeRule__Group__1__Impl2536);
3269
						rule__TypeRule__TypeAssignment_1();
3270
						_fsp--;
3271
3577
3578
        		int stackSize = keepStackSize();
3579
            
3580
        try {
3581
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1309:1: ( ( ( rule__MultiplicityRule__BoundsAssignment_1 ) ) )
3582
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1310:1: ( ( rule__MultiplicityRule__BoundsAssignment_1 ) )
3583
            {
3584
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1310:1: ( ( rule__MultiplicityRule__BoundsAssignment_1 ) )
3585
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1311:1: ( rule__MultiplicityRule__BoundsAssignment_1 )
3586
            {
3587
             before(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1()); 
3588
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1312:1: ( rule__MultiplicityRule__BoundsAssignment_1 )
3589
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1312:2: rule__MultiplicityRule__BoundsAssignment_1
3590
            {
3591
            pushFollow(FOLLOW_rule__MultiplicityRule__BoundsAssignment_1_in_rule__MultiplicityRule__Group__1__Impl2662);
3592
            rule__MultiplicityRule__BoundsAssignment_1();
3272
3593
3273
					}
3594
            state._fsp--;
3274
3595
3275
					after(grammarAccess.getTypeRuleAccess().getTypeAssignment_1());
3276
3596
3277
				}
3597
            }
3278
3598
3599
             after(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1()); 
3279
3600
3280
			}
3601
            }
3281
3602
3282
		} catch (RecognitionException re) {
3283
			reportError(re);
3284
			recover(input, re);
3285
		} finally {
3286
3603
3287
			restoreStackSize(stackSize);
3604
            }
3288
3605
3289
		}
3606
        }
3290
		return;
3607
        catch (RecognitionException re) {
3291
	}
3608
            reportError(re);
3609
            recover(input,re);
3610
        }
3611
        finally {
3292
3612
3293
	// $ANTLR end rule__TypeRule__Group__1__Impl
3613
            	restoreStackSize(stackSize);
3294
3614
3615
        }
3616
        return ;
3617
    }
3618
    // $ANTLR end "rule__MultiplicityRule__Group__1__Impl"
3295
3619
3296
	// $ANTLR start rule__MultiplicityRule__Group__0
3297
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1262:1: rule__MultiplicityRule__Group__0 : rule__MultiplicityRule__Group__0__Impl rule__MultiplicityRule__Group__1 ;
3298
	public final void rule__MultiplicityRule__Group__0() throws RecognitionException {
3299
3620
3300
		int stackSize = keepStackSize();
3621
    // $ANTLR start "rule__MultiplicityRule__Group__2"
3622
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1322:1: rule__MultiplicityRule__Group__2 : rule__MultiplicityRule__Group__2__Impl rule__MultiplicityRule__Group__3 ;
3623
    public final void rule__MultiplicityRule__Group__2() throws RecognitionException {
3301
3624
3302
		try {
3625
        		int stackSize = keepStackSize();
3303
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1266:1: ( rule__MultiplicityRule__Group__0__Impl rule__MultiplicityRule__Group__1 )
3626
            
3304
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1267:2: rule__MultiplicityRule__Group__0__Impl rule__MultiplicityRule__Group__1
3627
        try {
3305
			{
3628
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1326:1: ( rule__MultiplicityRule__Group__2__Impl rule__MultiplicityRule__Group__3 )
3306
				pushFollow(FOLLOW_rule__MultiplicityRule__Group__0__Impl_in_rule__MultiplicityRule__Group__02570);
3629
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1327:2: rule__MultiplicityRule__Group__2__Impl rule__MultiplicityRule__Group__3
3307
				rule__MultiplicityRule__Group__0__Impl();
3630
            {
3308
				_fsp--;
3631
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__2__Impl_in_rule__MultiplicityRule__Group__22692);
3632
            rule__MultiplicityRule__Group__2__Impl();
3309
3633
3310
				pushFollow(FOLLOW_rule__MultiplicityRule__Group__1_in_rule__MultiplicityRule__Group__02573);
3634
            state._fsp--;
3311
				rule__MultiplicityRule__Group__1();
3312
				_fsp--;
3313
3635
3636
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__3_in_rule__MultiplicityRule__Group__22695);
3637
            rule__MultiplicityRule__Group__3();
3314
3638
3315
			}
3639
            state._fsp--;
3316
3640
3317
		} catch (RecognitionException re) {
3318
			reportError(re);
3319
			recover(input, re);
3320
		} finally {
3321
3641
3322
			restoreStackSize(stackSize);
3642
            }
3323
3643
3324
		}
3644
        }
3325
		return;
3645
        catch (RecognitionException re) {
3326
	}
3646
            reportError(re);
3647
            recover(input,re);
3648
        }
3649
        finally {
3327
3650
3328
	// $ANTLR end rule__MultiplicityRule__Group__0
3651
            	restoreStackSize(stackSize);
3329
3652
3653
        }
3654
        return ;
3655
    }
3656
    // $ANTLR end "rule__MultiplicityRule__Group__2"
3330
3657
3331
	// $ANTLR start rule__MultiplicityRule__Group__0__Impl
3332
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1274:1: rule__MultiplicityRule__Group__0__Impl : ( '[' ) ;
3333
	public final void rule__MultiplicityRule__Group__0__Impl() throws RecognitionException {
3334
3658
3335
		int stackSize = keepStackSize();
3659
    // $ANTLR start "rule__MultiplicityRule__Group__2__Impl"
3660
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1334:1: rule__MultiplicityRule__Group__2__Impl : ( ( rule__MultiplicityRule__Group_2__0 )? ) ;
3661
    public final void rule__MultiplicityRule__Group__2__Impl() throws RecognitionException {
3336
3662
3337
		try {
3663
        		int stackSize = keepStackSize();
3338
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1278:1: ( ( '[' ) )
3664
            
3339
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1279:1: ( '[' )
3665
        try {
3340
			{
3666
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1338:1: ( ( ( rule__MultiplicityRule__Group_2__0 )? ) )
3341
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1279:1: ( '[' )
3667
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1339:1: ( ( rule__MultiplicityRule__Group_2__0 )? )
3342
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1280:1: '['
3668
            {
3343
				{
3669
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1339:1: ( ( rule__MultiplicityRule__Group_2__0 )? )
3344
					before(grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0());
3670
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1340:1: ( rule__MultiplicityRule__Group_2__0 )?
3345
					match(input, 35, FOLLOW_35_in_rule__MultiplicityRule__Group__0__Impl2601);
3671
            {
3346
					after(grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0());
3672
             before(grammarAccess.getMultiplicityRuleAccess().getGroup_2()); 
3673
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1341:1: ( rule__MultiplicityRule__Group_2__0 )?
3674
            int alt11=2;
3675
            int LA11_0 = input.LA(1);
3347
3676
3348
				}
3677
            if ( (LA11_0==37) ) {
3678
                alt11=1;
3679
            }
3680
            switch (alt11) {
3681
                case 1 :
3682
                    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1341:2: rule__MultiplicityRule__Group_2__0
3683
                    {
3684
                    pushFollow(FOLLOW_rule__MultiplicityRule__Group_2__0_in_rule__MultiplicityRule__Group__2__Impl2722);
3685
                    rule__MultiplicityRule__Group_2__0();
3349
3686
3687
                    state._fsp--;
3350
3688
3351
			}
3352
3689
3353
		} catch (RecognitionException re) {
3690
                    }
3354
			reportError(re);
3691
                    break;
3355
			recover(input, re);
3356
		} finally {
3357
3692
3358
			restoreStackSize(stackSize);
3693
            }
3359
3694
3360
		}
3695
             after(grammarAccess.getMultiplicityRuleAccess().getGroup_2()); 
3361
		return;
3362
	}
3363
3696
3364
	// $ANTLR end rule__MultiplicityRule__Group__0__Impl
3697
            }
3365
3698
3366
3699
3367
	// $ANTLR start rule__MultiplicityRule__Group__1
3700
            }
3368
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1293:1: rule__MultiplicityRule__Group__1 : rule__MultiplicityRule__Group__1__Impl rule__MultiplicityRule__Group__2 ;
3369
	public final void rule__MultiplicityRule__Group__1() throws RecognitionException {
3370
3701
3371
		int stackSize = keepStackSize();
3702
        }
3703
        catch (RecognitionException re) {
3704
            reportError(re);
3705
            recover(input,re);
3706
        }
3707
        finally {
3372
3708
3373
		try {
3709
            	restoreStackSize(stackSize);
3374
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1297:1: ( rule__MultiplicityRule__Group__1__Impl rule__MultiplicityRule__Group__2 )
3375
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1298:2: rule__MultiplicityRule__Group__1__Impl rule__MultiplicityRule__Group__2
3376
			{
3377
				pushFollow(FOLLOW_rule__MultiplicityRule__Group__1__Impl_in_rule__MultiplicityRule__Group__12632);
3378
				rule__MultiplicityRule__Group__1__Impl();
3379
				_fsp--;
3380
3710
3381
				pushFollow(FOLLOW_rule__MultiplicityRule__Group__2_in_rule__MultiplicityRule__Group__12635);
3711
        }
3382
				rule__MultiplicityRule__Group__2();
3712
        return ;
3383
				_fsp--;
3713
    }
3714
    // $ANTLR end "rule__MultiplicityRule__Group__2__Impl"
3384
3715
3385
3716
3386
			}
3717
    // $ANTLR start "rule__MultiplicityRule__Group__3"
3718
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1351:1: rule__MultiplicityRule__Group__3 : rule__MultiplicityRule__Group__3__Impl ;
3719
    public final void rule__MultiplicityRule__Group__3() throws RecognitionException {
3387
3720
3388
		} catch (RecognitionException re) {
3721
        		int stackSize = keepStackSize();
3389
			reportError(re);
3722
            
3390
			recover(input, re);
3723
        try {
3391
		} finally {
3724
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1355:1: ( rule__MultiplicityRule__Group__3__Impl )
3725
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1356:2: rule__MultiplicityRule__Group__3__Impl
3726
            {
3727
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__3__Impl_in_rule__MultiplicityRule__Group__32753);
3728
            rule__MultiplicityRule__Group__3__Impl();
3392
3729
3393
			restoreStackSize(stackSize);
3730
            state._fsp--;
3394
3731
3395
		}
3396
		return;
3397
	}
3398
3732
3399
	// $ANTLR end rule__MultiplicityRule__Group__1
3733
            }
3400
3734
3735
        }
3736
        catch (RecognitionException re) {
3737
            reportError(re);
3738
            recover(input,re);
3739
        }
3740
        finally {
3401
3741
3402
	// $ANTLR start rule__MultiplicityRule__Group__1__Impl
3742
            	restoreStackSize(stackSize);
3403
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1305:1: rule__MultiplicityRule__Group__1__Impl : ( ( rule__MultiplicityRule__BoundsAssignment_1 ) ) ;
3404
	public final void rule__MultiplicityRule__Group__1__Impl() throws RecognitionException {
3405
3743
3406
		int stackSize = keepStackSize();
3744
        }
3745
        return ;
3746
    }
3747
    // $ANTLR end "rule__MultiplicityRule__Group__3"
3407
3748
3408
		try {
3409
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1309:1: ( ( ( rule__MultiplicityRule__BoundsAssignment_1 ) ) )
3410
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1310:1: ( ( rule__MultiplicityRule__BoundsAssignment_1 ) )
3411
			{
3412
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1310:1: ( ( rule__MultiplicityRule__BoundsAssignment_1 ) )
3413
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1311:1: ( rule__MultiplicityRule__BoundsAssignment_1 )
3414
				{
3415
					before(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1());
3416
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1312:1: ( rule__MultiplicityRule__BoundsAssignment_1 )
3417
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1312:2: rule__MultiplicityRule__BoundsAssignment_1
3418
					{
3419
						pushFollow(FOLLOW_rule__MultiplicityRule__BoundsAssignment_1_in_rule__MultiplicityRule__Group__1__Impl2662);
3420
						rule__MultiplicityRule__BoundsAssignment_1();
3421
						_fsp--;
3422
3749
3750
    // $ANTLR start "rule__MultiplicityRule__Group__3__Impl"
3751
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1362:1: rule__MultiplicityRule__Group__3__Impl : ( ']' ) ;
3752
    public final void rule__MultiplicityRule__Group__3__Impl() throws RecognitionException {
3423
3753
3424
					}
3754
        		int stackSize = keepStackSize();
3755
            
3756
        try {
3757
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1366:1: ( ( ']' ) )
3758
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1367:1: ( ']' )
3759
            {
3760
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1367:1: ( ']' )
3761
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1368:1: ']'
3762
            {
3763
             before(grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3()); 
3764
            match(input,36,FOLLOW_36_in_rule__MultiplicityRule__Group__3__Impl2781); 
3765
             after(grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3()); 
3425
3766
3426
					after(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1());
3767
            }
3427
3768
3428
				}
3429
3769
3770
            }
3430
3771
3431
			}
3772
        }
3773
        catch (RecognitionException re) {
3774
            reportError(re);
3775
            recover(input,re);
3776
        }
3777
        finally {
3432
3778
3433
		} catch (RecognitionException re) {
3779
            	restoreStackSize(stackSize);
3434
			reportError(re);
3435
			recover(input, re);
3436
		} finally {
3437
3780
3438
			restoreStackSize(stackSize);
3781
        }
3782
        return ;
3783
    }
3784
    // $ANTLR end "rule__MultiplicityRule__Group__3__Impl"
3439
3785
3440
		}
3441
		return;
3442
	}
3443
3786
3444
	// $ANTLR end rule__MultiplicityRule__Group__1__Impl
3787
    // $ANTLR start "rule__MultiplicityRule__Group_2__0"
3788
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1389:1: rule__MultiplicityRule__Group_2__0 : rule__MultiplicityRule__Group_2__0__Impl rule__MultiplicityRule__Group_2__1 ;
3789
    public final void rule__MultiplicityRule__Group_2__0() throws RecognitionException {
3445
3790
3791
        		int stackSize = keepStackSize();
3792
            
3793
        try {
3794
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1393:1: ( rule__MultiplicityRule__Group_2__0__Impl rule__MultiplicityRule__Group_2__1 )
3795
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1394:2: rule__MultiplicityRule__Group_2__0__Impl rule__MultiplicityRule__Group_2__1
3796
            {
3797
            pushFollow(FOLLOW_rule__MultiplicityRule__Group_2__0__Impl_in_rule__MultiplicityRule__Group_2__02820);
3798
            rule__MultiplicityRule__Group_2__0__Impl();
3446
3799
3447
	// $ANTLR start rule__MultiplicityRule__Group__2
3800
            state._fsp--;
3448
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1322:1: rule__MultiplicityRule__Group__2 : rule__MultiplicityRule__Group__2__Impl rule__MultiplicityRule__Group__3 ;
3449
	public final void rule__MultiplicityRule__Group__2() throws RecognitionException {
3450
3801
3451
		int stackSize = keepStackSize();
3802
            pushFollow(FOLLOW_rule__MultiplicityRule__Group_2__1_in_rule__MultiplicityRule__Group_2__02823);
3803
            rule__MultiplicityRule__Group_2__1();
3452
3804
3453
		try {
3805
            state._fsp--;
3454
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1326:1: ( rule__MultiplicityRule__Group__2__Impl rule__MultiplicityRule__Group__3 )
3455
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1327:2: rule__MultiplicityRule__Group__2__Impl rule__MultiplicityRule__Group__3
3456
			{
3457
				pushFollow(FOLLOW_rule__MultiplicityRule__Group__2__Impl_in_rule__MultiplicityRule__Group__22692);
3458
				rule__MultiplicityRule__Group__2__Impl();
3459
				_fsp--;
3460
3806
3461
				pushFollow(FOLLOW_rule__MultiplicityRule__Group__3_in_rule__MultiplicityRule__Group__22695);
3462
				rule__MultiplicityRule__Group__3();
3463
				_fsp--;
3464
3807
3808
            }
3465
3809
3466
			}
3810
        }
3811
        catch (RecognitionException re) {
3812
            reportError(re);
3813
            recover(input,re);
3814
        }
3815
        finally {
3467
3816
3468
		} catch (RecognitionException re) {
3817
            	restoreStackSize(stackSize);
3469
			reportError(re);
3470
			recover(input, re);
3471
		} finally {
3472
3818
3473
			restoreStackSize(stackSize);
3819
        }
3820
        return ;
3821
    }
3822
    // $ANTLR end "rule__MultiplicityRule__Group_2__0"
3474
3823
3475
		}
3476
		return;
3477
	}
3478
3824
3479
	// $ANTLR end rule__MultiplicityRule__Group__2
3825
    // $ANTLR start "rule__MultiplicityRule__Group_2__0__Impl"
3826
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1401:1: rule__MultiplicityRule__Group_2__0__Impl : ( '..' ) ;
3827
    public final void rule__MultiplicityRule__Group_2__0__Impl() throws RecognitionException {
3480
3828
3829
        		int stackSize = keepStackSize();
3830
            
3831
        try {
3832
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1405:1: ( ( '..' ) )
3833
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1406:1: ( '..' )
3834
            {
3835
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1406:1: ( '..' )
3836
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1407:1: '..'
3837
            {
3838
             before(grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0()); 
3839
            match(input,37,FOLLOW_37_in_rule__MultiplicityRule__Group_2__0__Impl2851); 
3840
             after(grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0()); 
3481
3841
3482
	// $ANTLR start rule__MultiplicityRule__Group__2__Impl
3842
            }
3483
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1334:1: rule__MultiplicityRule__Group__2__Impl : ( ( rule__MultiplicityRule__Group_2__0 )? ) ;
3484
	public final void rule__MultiplicityRule__Group__2__Impl() throws RecognitionException {
3485
3843
3486
		int stackSize = keepStackSize();
3487
3844
3488
		try {
3845
            }
3489
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1338:1: ( ( ( rule__MultiplicityRule__Group_2__0 )? ) )
3490
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1339:1: ( ( rule__MultiplicityRule__Group_2__0 )? )
3491
			{
3492
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1339:1: ( ( rule__MultiplicityRule__Group_2__0 )? )
3493
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1340:1: ( rule__MultiplicityRule__Group_2__0 )?
3494
				{
3495
					before(grammarAccess.getMultiplicityRuleAccess().getGroup_2());
3496
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1341:1: ( rule__MultiplicityRule__Group_2__0 )?
3497
					int alt11 = 2;
3498
					int LA11_0 = input.LA(1);
3499
3846
3500
					if((LA11_0 == 37)) {
3847
        }
3501
						alt11 = 1;
3848
        catch (RecognitionException re) {
3502
					}
3849
            reportError(re);
3503
					switch(alt11) {
3850
            recover(input,re);
3504
					case 1:
3851
        }
3505
						// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1341:2: rule__MultiplicityRule__Group_2__0
3852
        finally {
3506
					{
3507
						pushFollow(FOLLOW_rule__MultiplicityRule__Group_2__0_in_rule__MultiplicityRule__Group__2__Impl2722);
3508
						rule__MultiplicityRule__Group_2__0();
3509
						_fsp--;
3510
3853
3854
            	restoreStackSize(stackSize);
3511
3855
3512
					}
3856
        }
3513
						break;
3857
        return ;
3858
    }
3859
    // $ANTLR end "rule__MultiplicityRule__Group_2__0__Impl"
3514
3860
3515
					}
3516
3861
3517
					after(grammarAccess.getMultiplicityRuleAccess().getGroup_2());
3862
    // $ANTLR start "rule__MultiplicityRule__Group_2__1"
3863
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1420:1: rule__MultiplicityRule__Group_2__1 : rule__MultiplicityRule__Group_2__1__Impl ;
3864
    public final void rule__MultiplicityRule__Group_2__1() throws RecognitionException {
3518
3865
3519
				}
3866
        		int stackSize = keepStackSize();
3867
            
3868
        try {
3869
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1424:1: ( rule__MultiplicityRule__Group_2__1__Impl )
3870
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1425:2: rule__MultiplicityRule__Group_2__1__Impl
3871
            {
3872
            pushFollow(FOLLOW_rule__MultiplicityRule__Group_2__1__Impl_in_rule__MultiplicityRule__Group_2__12882);
3873
            rule__MultiplicityRule__Group_2__1__Impl();
3520
3874
3875
            state._fsp--;
3521
3876
3522
			}
3523
3877
3524
		} catch (RecognitionException re) {
3878
            }
3525
			reportError(re);
3526
			recover(input, re);
3527
		} finally {
3528
3879
3529
			restoreStackSize(stackSize);
3880
        }
3881
        catch (RecognitionException re) {
3882
            reportError(re);
3883
            recover(input,re);
3884
        }
3885
        finally {
3530
3886
3531
		}
3887
            	restoreStackSize(stackSize);
3532
		return;
3533
	}
3534
3888
3535
	// $ANTLR end rule__MultiplicityRule__Group__2__Impl
3889
        }
3890
        return ;
3891
    }
3892
    // $ANTLR end "rule__MultiplicityRule__Group_2__1"
3536
3893
3537
3894
3538
	// $ANTLR start rule__MultiplicityRule__Group__3
3895
    // $ANTLR start "rule__MultiplicityRule__Group_2__1__Impl"
3539
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1351:1: rule__MultiplicityRule__Group__3 : rule__MultiplicityRule__Group__3__Impl ;
3896
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1431:1: rule__MultiplicityRule__Group_2__1__Impl : ( ( rule__MultiplicityRule__BoundsAssignment_2_1 ) ) ;
3540
	public final void rule__MultiplicityRule__Group__3() throws RecognitionException {
3897
    public final void rule__MultiplicityRule__Group_2__1__Impl() throws RecognitionException {
3541
3898
3542
		int stackSize = keepStackSize();
3899
        		int stackSize = keepStackSize();
3900
            
3901
        try {
3902
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1435:1: ( ( ( rule__MultiplicityRule__BoundsAssignment_2_1 ) ) )
3903
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1436:1: ( ( rule__MultiplicityRule__BoundsAssignment_2_1 ) )
3904
            {
3905
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1436:1: ( ( rule__MultiplicityRule__BoundsAssignment_2_1 ) )
3906
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1437:1: ( rule__MultiplicityRule__BoundsAssignment_2_1 )
3907
            {
3908
             before(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1()); 
3909
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1438:1: ( rule__MultiplicityRule__BoundsAssignment_2_1 )
3910
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1438:2: rule__MultiplicityRule__BoundsAssignment_2_1
3911
            {
3912
            pushFollow(FOLLOW_rule__MultiplicityRule__BoundsAssignment_2_1_in_rule__MultiplicityRule__Group_2__1__Impl2909);
3913
            rule__MultiplicityRule__BoundsAssignment_2_1();
3543
3914
3544
		try {
3915
            state._fsp--;
3545
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1355:1: ( rule__MultiplicityRule__Group__3__Impl )
3546
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1356:2: rule__MultiplicityRule__Group__3__Impl
3547
			{
3548
				pushFollow(FOLLOW_rule__MultiplicityRule__Group__3__Impl_in_rule__MultiplicityRule__Group__32753);
3549
				rule__MultiplicityRule__Group__3__Impl();
3550
				_fsp--;
3551
3916
3552
3917
3553
			}
3918
            }
3554
3919
3555
		} catch (RecognitionException re) {
3920
             after(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1()); 
3556
			reportError(re);
3557
			recover(input, re);
3558
		} finally {
3559
3921
3560
			restoreStackSize(stackSize);
3922
            }
3561
3923
3562
		}
3563
		return;
3564
	}
3565
3924
3566
	// $ANTLR end rule__MultiplicityRule__Group__3
3925
            }
3567
3926
3927
        }
3928
        catch (RecognitionException re) {
3929
            reportError(re);
3930
            recover(input,re);
3931
        }
3932
        finally {
3568
3933
3569
	// $ANTLR start rule__MultiplicityRule__Group__3__Impl
3934
            	restoreStackSize(stackSize);
3570
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1362:1: rule__MultiplicityRule__Group__3__Impl : ( ']' ) ;
3571
	public final void rule__MultiplicityRule__Group__3__Impl() throws RecognitionException {
3572
3935
3573
		int stackSize = keepStackSize();
3936
        }
3937
        return ;
3938
    }
3939
    // $ANTLR end "rule__MultiplicityRule__Group_2__1__Impl"
3574
3940
3575
		try {
3576
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1366:1: ( ( ']' ) )
3577
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1367:1: ( ']' )
3578
			{
3579
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1367:1: ( ']' )
3580
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1368:1: ']'
3581
				{
3582
					before(grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3());
3583
					match(input, 36, FOLLOW_36_in_rule__MultiplicityRule__Group__3__Impl2781);
3584
					after(grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3());
3585
3941
3586
				}
3942
    // $ANTLR start "rule__ParameterRule__VisibilityAssignment_0"
3943
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1453:1: rule__ParameterRule__VisibilityAssignment_0 : ( ruleVisibilityKind ) ;
3944
    public final void rule__ParameterRule__VisibilityAssignment_0() throws RecognitionException {
3587
3945
3946
        		int stackSize = keepStackSize();
3947
            
3948
        try {
3949
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1457:1: ( ( ruleVisibilityKind ) )
3950
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1458:1: ( ruleVisibilityKind )
3951
            {
3952
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1458:1: ( ruleVisibilityKind )
3953
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1459:1: ruleVisibilityKind
3954
            {
3955
             before(grammarAccess.getParameterRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); 
3956
            pushFollow(FOLLOW_ruleVisibilityKind_in_rule__ParameterRule__VisibilityAssignment_02948);
3957
            ruleVisibilityKind();
3588
3958
3589
			}
3959
            state._fsp--;
3590
3960
3591
		} catch (RecognitionException re) {
3961
             after(grammarAccess.getParameterRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); 
3592
			reportError(re);
3593
			recover(input, re);
3594
		} finally {
3595
3962
3596
			restoreStackSize(stackSize);
3963
            }
3597
3964
3598
		}
3599
		return;
3600
	}
3601
3965
3602
	// $ANTLR end rule__MultiplicityRule__Group__3__Impl
3966
            }
3603
3967
3968
        }
3969
        catch (RecognitionException re) {
3970
            reportError(re);
3971
            recover(input,re);
3972
        }
3973
        finally {
3604
3974
3605
	// $ANTLR start rule__MultiplicityRule__Group_2__0
3975
            	restoreStackSize(stackSize);
3606
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1389:1: rule__MultiplicityRule__Group_2__0 : rule__MultiplicityRule__Group_2__0__Impl rule__MultiplicityRule__Group_2__1 ;
3607
	public final void rule__MultiplicityRule__Group_2__0() throws RecognitionException {
3608
3976
3609
		int stackSize = keepStackSize();
3977
        }
3978
        return ;
3979
    }
3980
    // $ANTLR end "rule__ParameterRule__VisibilityAssignment_0"
3610
3981
3611
		try {
3612
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1393:1: ( rule__MultiplicityRule__Group_2__0__Impl rule__MultiplicityRule__Group_2__1 )
3613
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1394:2: rule__MultiplicityRule__Group_2__0__Impl rule__MultiplicityRule__Group_2__1
3614
			{
3615
				pushFollow(FOLLOW_rule__MultiplicityRule__Group_2__0__Impl_in_rule__MultiplicityRule__Group_2__02820);
3616
				rule__MultiplicityRule__Group_2__0__Impl();
3617
				_fsp--;
3618
3982
3619
				pushFollow(FOLLOW_rule__MultiplicityRule__Group_2__1_in_rule__MultiplicityRule__Group_2__02823);
3983
    // $ANTLR start "rule__ParameterRule__DirectionAssignment_1"
3620
				rule__MultiplicityRule__Group_2__1();
3984
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1468:1: rule__ParameterRule__DirectionAssignment_1 : ( ruleDirection ) ;
3621
				_fsp--;
3985
    public final void rule__ParameterRule__DirectionAssignment_1() throws RecognitionException {
3622
3986
3987
        		int stackSize = keepStackSize();
3988
            
3989
        try {
3990
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1472:1: ( ( ruleDirection ) )
3991
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1473:1: ( ruleDirection )
3992
            {
3993
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1473:1: ( ruleDirection )
3994
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1474:1: ruleDirection
3995
            {
3996
             before(grammarAccess.getParameterRuleAccess().getDirectionDirectionEnumRuleCall_1_0()); 
3997
            pushFollow(FOLLOW_ruleDirection_in_rule__ParameterRule__DirectionAssignment_12979);
3998
            ruleDirection();
3623
3999
3624
			}
4000
            state._fsp--;
3625
4001
3626
		} catch (RecognitionException re) {
4002
             after(grammarAccess.getParameterRuleAccess().getDirectionDirectionEnumRuleCall_1_0()); 
3627
			reportError(re);
3628
			recover(input, re);
3629
		} finally {
3630
4003
3631
			restoreStackSize(stackSize);
4004
            }
3632
4005
3633
		}
3634
		return;
3635
	}
3636
4006
3637
	// $ANTLR end rule__MultiplicityRule__Group_2__0
4007
            }
3638
4008
4009
        }
4010
        catch (RecognitionException re) {
4011
            reportError(re);
4012
            recover(input,re);
4013
        }
4014
        finally {
3639
4015
3640
	// $ANTLR start rule__MultiplicityRule__Group_2__0__Impl
4016
            	restoreStackSize(stackSize);
3641
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1401:1: rule__MultiplicityRule__Group_2__0__Impl : ( '..' ) ;
3642
	public final void rule__MultiplicityRule__Group_2__0__Impl() throws RecognitionException {
3643
4017
3644
		int stackSize = keepStackSize();
4018
        }
4019
        return ;
4020
    }
4021
    // $ANTLR end "rule__ParameterRule__DirectionAssignment_1"
3645
4022
3646
		try {
3647
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1405:1: ( ( '..' ) )
3648
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1406:1: ( '..' )
3649
			{
3650
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1406:1: ( '..' )
3651
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1407:1: '..'
3652
				{
3653
					before(grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0());
3654
					match(input, 37, FOLLOW_37_in_rule__MultiplicityRule__Group_2__0__Impl2851);
3655
					after(grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0());
3656
4023
3657
				}
4024
    // $ANTLR start "rule__ParameterRule__NameAssignment_2"
4025
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1483:1: rule__ParameterRule__NameAssignment_2 : ( RULE_ID ) ;
4026
    public final void rule__ParameterRule__NameAssignment_2() throws RecognitionException {
3658
4027
4028
        		int stackSize = keepStackSize();
4029
            
4030
        try {
4031
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1487:1: ( ( RULE_ID ) )
4032
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1488:1: ( RULE_ID )
4033
            {
4034
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1488:1: ( RULE_ID )
4035
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1489:1: RULE_ID
4036
            {
4037
             before(grammarAccess.getParameterRuleAccess().getNameIDTerminalRuleCall_2_0()); 
4038
            match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__ParameterRule__NameAssignment_23010); 
4039
             after(grammarAccess.getParameterRuleAccess().getNameIDTerminalRuleCall_2_0()); 
3659
4040
3660
			}
4041
            }
3661
4042
3662
		} catch (RecognitionException re) {
3663
			reportError(re);
3664
			recover(input, re);
3665
		} finally {
3666
4043
3667
			restoreStackSize(stackSize);
4044
            }
3668
4045
3669
		}
4046
        }
3670
		return;
4047
        catch (RecognitionException re) {
3671
	}
4048
            reportError(re);
4049
            recover(input,re);
4050
        }
4051
        finally {
3672
4052
3673
	// $ANTLR end rule__MultiplicityRule__Group_2__0__Impl
4053
            	restoreStackSize(stackSize);
3674
4054
4055
        }
4056
        return ;
4057
    }
4058
    // $ANTLR end "rule__ParameterRule__NameAssignment_2"
3675
4059
3676
	// $ANTLR start rule__MultiplicityRule__Group_2__1
3677
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1420:1: rule__MultiplicityRule__Group_2__1 : rule__MultiplicityRule__Group_2__1__Impl ;
3678
	public final void rule__MultiplicityRule__Group_2__1() throws RecognitionException {
3679
4060
3680
		int stackSize = keepStackSize();
4061
    // $ANTLR start "rule__ParameterRule__TypeAssignment_4_0"
4062
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1498:1: rule__ParameterRule__TypeAssignment_4_0 : ( ruleTypeRule ) ;
4063
    public final void rule__ParameterRule__TypeAssignment_4_0() throws RecognitionException {
3681
4064
3682
		try {
4065
        		int stackSize = keepStackSize();
3683
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1424:1: ( rule__MultiplicityRule__Group_2__1__Impl )
4066
            
3684
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1425:2: rule__MultiplicityRule__Group_2__1__Impl
4067
        try {
3685
			{
4068
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1502:1: ( ( ruleTypeRule ) )
3686
				pushFollow(FOLLOW_rule__MultiplicityRule__Group_2__1__Impl_in_rule__MultiplicityRule__Group_2__12882);
4069
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1503:1: ( ruleTypeRule )
3687
				rule__MultiplicityRule__Group_2__1__Impl();
4070
            {
3688
				_fsp--;
4071
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1503:1: ( ruleTypeRule )
4072
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1504:1: ruleTypeRule
4073
            {
4074
             before(grammarAccess.getParameterRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0()); 
4075
            pushFollow(FOLLOW_ruleTypeRule_in_rule__ParameterRule__TypeAssignment_4_03041);
4076
            ruleTypeRule();
3689
4077
4078
            state._fsp--;
3690
4079
3691
			}
4080
             after(grammarAccess.getParameterRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0()); 
3692
4081
3693
		} catch (RecognitionException re) {
4082
            }
3694
			reportError(re);
3695
			recover(input, re);
3696
		} finally {
3697
4083
3698
			restoreStackSize(stackSize);
3699
4084
3700
		}
4085
            }
3701
		return;
3702
	}
3703
4086
3704
	// $ANTLR end rule__MultiplicityRule__Group_2__1
4087
        }
4088
        catch (RecognitionException re) {
4089
            reportError(re);
4090
            recover(input,re);
4091
        }
4092
        finally {
3705
4093
4094
            	restoreStackSize(stackSize);
3706
4095
3707
	// $ANTLR start rule__MultiplicityRule__Group_2__1__Impl
4096
        }
3708
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1431:1: rule__MultiplicityRule__Group_2__1__Impl : ( ( rule__MultiplicityRule__BoundsAssignment_2_1 ) ) ;
4097
        return ;
3709
	public final void rule__MultiplicityRule__Group_2__1__Impl() throws RecognitionException {
4098
    }
4099
    // $ANTLR end "rule__ParameterRule__TypeAssignment_4_0"
3710
4100
3711
		int stackSize = keepStackSize();
3712
4101
3713
		try {
4102
    // $ANTLR start "rule__ParameterRule__MultiplicityAssignment_5"
3714
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1435:1: ( ( ( rule__MultiplicityRule__BoundsAssignment_2_1 ) ) )
4103
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1513:1: rule__ParameterRule__MultiplicityAssignment_5 : ( ruleMultiplicityRule ) ;
3715
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1436:1: ( ( rule__MultiplicityRule__BoundsAssignment_2_1 ) )
4104
    public final void rule__ParameterRule__MultiplicityAssignment_5() throws RecognitionException {
3716
			{
3717
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1436:1: ( ( rule__MultiplicityRule__BoundsAssignment_2_1 ) )
3718
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1437:1: ( rule__MultiplicityRule__BoundsAssignment_2_1 )
3719
				{
3720
					before(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1());
3721
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1438:1: ( rule__MultiplicityRule__BoundsAssignment_2_1 )
3722
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1438:2: rule__MultiplicityRule__BoundsAssignment_2_1
3723
					{
3724
						pushFollow(FOLLOW_rule__MultiplicityRule__BoundsAssignment_2_1_in_rule__MultiplicityRule__Group_2__1__Impl2909);
3725
						rule__MultiplicityRule__BoundsAssignment_2_1();
3726
						_fsp--;
3727
4105
4106
        		int stackSize = keepStackSize();
4107
            
4108
        try {
4109
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1517:1: ( ( ruleMultiplicityRule ) )
4110
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1518:1: ( ruleMultiplicityRule )
4111
            {
4112
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1518:1: ( ruleMultiplicityRule )
4113
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1519:1: ruleMultiplicityRule
4114
            {
4115
             before(grammarAccess.getParameterRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0()); 
4116
            pushFollow(FOLLOW_ruleMultiplicityRule_in_rule__ParameterRule__MultiplicityAssignment_53072);
4117
            ruleMultiplicityRule();
3728
4118
3729
					}
4119
            state._fsp--;
3730
4120
3731
					after(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1());
4121
             after(grammarAccess.getParameterRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0()); 
3732
4122
3733
				}
4123
            }
3734
4124
3735
4125
3736
			}
4126
            }
3737
4127
3738
		} catch (RecognitionException re) {
4128
        }
3739
			reportError(re);
4129
        catch (RecognitionException re) {
3740
			recover(input, re);
4130
            reportError(re);
3741
		} finally {
4131
            recover(input,re);
4132
        }
4133
        finally {
3742
4134
3743
			restoreStackSize(stackSize);
4135
            	restoreStackSize(stackSize);
3744
4136
3745
		}
4137
        }
3746
		return;
4138
        return ;
3747
	}
4139
    }
4140
    // $ANTLR end "rule__ParameterRule__MultiplicityAssignment_5"
3748
4141
3749
	// $ANTLR end rule__MultiplicityRule__Group_2__1__Impl
3750
4142
4143
    // $ANTLR start "rule__ParameterRule__ModifiersAssignment_6"
4144
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1528:1: rule__ParameterRule__ModifiersAssignment_6 : ( ruleModifiersRule ) ;
4145
    public final void rule__ParameterRule__ModifiersAssignment_6() throws RecognitionException {
3751
4146
3752
	// $ANTLR start rule__ParameterRule__VisibilityAssignment_0
4147
        		int stackSize = keepStackSize();
3753
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1453:1: rule__ParameterRule__VisibilityAssignment_0 : ( ruleVisibilityKind ) ;
4148
            
3754
	public final void rule__ParameterRule__VisibilityAssignment_0() throws RecognitionException {
4149
        try {
4150
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1532:1: ( ( ruleModifiersRule ) )
4151
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1533:1: ( ruleModifiersRule )
4152
            {
4153
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1533:1: ( ruleModifiersRule )
4154
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1534:1: ruleModifiersRule
4155
            {
4156
             before(grammarAccess.getParameterRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0()); 
4157
            pushFollow(FOLLOW_ruleModifiersRule_in_rule__ParameterRule__ModifiersAssignment_63103);
4158
            ruleModifiersRule();
3755
4159
3756
		int stackSize = keepStackSize();
4160
            state._fsp--;
3757
4161
3758
		try {
4162
             after(grammarAccess.getParameterRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0()); 
3759
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1457:1: ( ( ruleVisibilityKind ) )
3760
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1458:1: ( ruleVisibilityKind )
3761
			{
3762
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1458:1: ( ruleVisibilityKind )
3763
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1459:1: ruleVisibilityKind
3764
				{
3765
					before(grammarAccess.getParameterRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0());
3766
					pushFollow(FOLLOW_ruleVisibilityKind_in_rule__ParameterRule__VisibilityAssignment_02948);
3767
					ruleVisibilityKind();
3768
					_fsp--;
3769
4163
3770
					after(grammarAccess.getParameterRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0());
4164
            }
3771
4165
3772
				}
3773
4166
4167
            }
3774
4168
3775
			}
4169
        }
4170
        catch (RecognitionException re) {
4171
            reportError(re);
4172
            recover(input,re);
4173
        }
4174
        finally {
3776
4175
3777
		} catch (RecognitionException re) {
4176
            	restoreStackSize(stackSize);
3778
			reportError(re);
3779
			recover(input, re);
3780
		} finally {
3781
4177
3782
			restoreStackSize(stackSize);
4178
        }
4179
        return ;
4180
    }
4181
    // $ANTLR end "rule__ParameterRule__ModifiersAssignment_6"
3783
4182
3784
		}
3785
		return;
3786
	}
3787
4183
3788
	// $ANTLR end rule__ParameterRule__VisibilityAssignment_0
4184
    // $ANTLR start "rule__ParameterRule__EffectAssignment_7"
4185
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1543:1: rule__ParameterRule__EffectAssignment_7 : ( ruleEffectRule ) ;
4186
    public final void rule__ParameterRule__EffectAssignment_7() throws RecognitionException {
3789
4187
4188
        		int stackSize = keepStackSize();
4189
            
4190
        try {
4191
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1547:1: ( ( ruleEffectRule ) )
4192
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1548:1: ( ruleEffectRule )
4193
            {
4194
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1548:1: ( ruleEffectRule )
4195
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1549:1: ruleEffectRule
4196
            {
4197
             before(grammarAccess.getParameterRuleAccess().getEffectEffectRuleParserRuleCall_7_0()); 
4198
            pushFollow(FOLLOW_ruleEffectRule_in_rule__ParameterRule__EffectAssignment_73134);
4199
            ruleEffectRule();
3790
4200
3791
	// $ANTLR start rule__ParameterRule__DirectionAssignment_1
4201
            state._fsp--;
3792
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1468:1: rule__ParameterRule__DirectionAssignment_1 : ( ruleDirection ) ;
3793
	public final void rule__ParameterRule__DirectionAssignment_1() throws RecognitionException {
3794
4202
3795
		int stackSize = keepStackSize();
4203
             after(grammarAccess.getParameterRuleAccess().getEffectEffectRuleParserRuleCall_7_0()); 
3796
4204
3797
		try {
4205
            }
3798
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1472:1: ( ( ruleDirection ) )
3799
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1473:1: ( ruleDirection )
3800
			{
3801
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1473:1: ( ruleDirection )
3802
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1474:1: ruleDirection
3803
				{
3804
					before(grammarAccess.getParameterRuleAccess().getDirectionDirectionEnumRuleCall_1_0());
3805
					pushFollow(FOLLOW_ruleDirection_in_rule__ParameterRule__DirectionAssignment_12979);
3806
					ruleDirection();
3807
					_fsp--;
3808
4206
3809
					after(grammarAccess.getParameterRuleAccess().getDirectionDirectionEnumRuleCall_1_0());
3810
4207
3811
				}
4208
            }
3812
4209
4210
        }
4211
        catch (RecognitionException re) {
4212
            reportError(re);
4213
            recover(input,re);
4214
        }
4215
        finally {
3813
4216
3814
			}
4217
            	restoreStackSize(stackSize);
3815
4218
3816
		} catch (RecognitionException re) {
4219
        }
3817
			reportError(re);
4220
        return ;
3818
			recover(input, re);
4221
    }
3819
		} finally {
4222
    // $ANTLR end "rule__ParameterRule__EffectAssignment_7"
3820
4223
3821
			restoreStackSize(stackSize);
3822
4224
3823
		}
4225
    // $ANTLR start "rule__ModifiersRule__ValuesAssignment_1"
3824
		return;
4226
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1558:1: rule__ModifiersRule__ValuesAssignment_1 : ( ruleModifierSpecification ) ;
3825
	}
4227
    public final void rule__ModifiersRule__ValuesAssignment_1() throws RecognitionException {
3826
4228
3827
	// $ANTLR end rule__ParameterRule__DirectionAssignment_1
4229
        		int stackSize = keepStackSize();
4230
            
4231
        try {
4232
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1562:1: ( ( ruleModifierSpecification ) )
4233
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1563:1: ( ruleModifierSpecification )
4234
            {
4235
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1563:1: ( ruleModifierSpecification )
4236
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1564:1: ruleModifierSpecification
4237
            {
4238
             before(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0()); 
4239
            pushFollow(FOLLOW_ruleModifierSpecification_in_rule__ModifiersRule__ValuesAssignment_13165);
4240
            ruleModifierSpecification();
3828
4241
4242
            state._fsp--;
3829
4243
3830
	// $ANTLR start rule__ParameterRule__NameAssignment_2
4244
             after(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0()); 
3831
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1483:1: rule__ParameterRule__NameAssignment_2 : ( RULE_ID ) ;
3832
	public final void rule__ParameterRule__NameAssignment_2() throws RecognitionException {
3833
4245
3834
		int stackSize = keepStackSize();
4246
            }
3835
4247
3836
		try {
3837
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1487:1: ( ( RULE_ID ) )
3838
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1488:1: ( RULE_ID )
3839
			{
3840
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1488:1: ( RULE_ID )
3841
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1489:1: RULE_ID
3842
				{
3843
					before(grammarAccess.getParameterRuleAccess().getNameIDTerminalRuleCall_2_0());
3844
					match(input, RULE_ID, FOLLOW_RULE_ID_in_rule__ParameterRule__NameAssignment_23010);
3845
					after(grammarAccess.getParameterRuleAccess().getNameIDTerminalRuleCall_2_0());
3846
4248
3847
				}
4249
            }
3848
4250
4251
        }
4252
        catch (RecognitionException re) {
4253
            reportError(re);
4254
            recover(input,re);
4255
        }
4256
        finally {
3849
4257
3850
			}
4258
            	restoreStackSize(stackSize);
3851
4259
3852
		} catch (RecognitionException re) {
4260
        }
3853
			reportError(re);
4261
        return ;
3854
			recover(input, re);
4262
    }
3855
		} finally {
4263
    // $ANTLR end "rule__ModifiersRule__ValuesAssignment_1"
3856
4264
3857
			restoreStackSize(stackSize);
3858
4265
3859
		}
4266
    // $ANTLR start "rule__ModifiersRule__ValuesAssignment_2_1"
3860
		return;
4267
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1573:1: rule__ModifiersRule__ValuesAssignment_2_1 : ( ruleModifierSpecification ) ;
3861
	}
4268
    public final void rule__ModifiersRule__ValuesAssignment_2_1() throws RecognitionException {
3862
4269
3863
	// $ANTLR end rule__ParameterRule__NameAssignment_2
4270
        		int stackSize = keepStackSize();
4271
            
4272
        try {
4273
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1577:1: ( ( ruleModifierSpecification ) )
4274
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1578:1: ( ruleModifierSpecification )
4275
            {
4276
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1578:1: ( ruleModifierSpecification )
4277
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1579:1: ruleModifierSpecification
4278
            {
4279
             before(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0()); 
4280
            pushFollow(FOLLOW_ruleModifierSpecification_in_rule__ModifiersRule__ValuesAssignment_2_13196);
4281
            ruleModifierSpecification();
3864
4282
4283
            state._fsp--;
3865
4284
3866
	// $ANTLR start rule__ParameterRule__TypeAssignment_4_0
4285
             after(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0()); 
3867
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1498:1: rule__ParameterRule__TypeAssignment_4_0 : ( ruleTypeRule ) ;
3868
	public final void rule__ParameterRule__TypeAssignment_4_0() throws RecognitionException {
3869
4286
3870
		int stackSize = keepStackSize();
4287
            }
3871
4288
3872
		try {
3873
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1502:1: ( ( ruleTypeRule ) )
3874
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1503:1: ( ruleTypeRule )
3875
			{
3876
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1503:1: ( ruleTypeRule )
3877
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1504:1: ruleTypeRule
3878
				{
3879
					before(grammarAccess.getParameterRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0());
3880
					pushFollow(FOLLOW_ruleTypeRule_in_rule__ParameterRule__TypeAssignment_4_03041);
3881
					ruleTypeRule();
3882
					_fsp--;
3883
4289
3884
					after(grammarAccess.getParameterRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0());
4290
            }
3885
4291
3886
				}
4292
        }
4293
        catch (RecognitionException re) {
4294
            reportError(re);
4295
            recover(input,re);
4296
        }
4297
        finally {
3887
4298
4299
            	restoreStackSize(stackSize);
3888
4300
3889
			}
4301
        }
4302
        return ;
4303
    }
4304
    // $ANTLR end "rule__ModifiersRule__ValuesAssignment_2_1"
3890
4305
3891
		} catch (RecognitionException re) {
3892
			reportError(re);
3893
			recover(input, re);
3894
		} finally {
3895
4306
3896
			restoreStackSize(stackSize);
4307
    // $ANTLR start "rule__ModifierSpecification__ValueAssignment"
4308
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1588:1: rule__ModifierSpecification__ValueAssignment : ( ruleModifierKind ) ;
4309
    public final void rule__ModifierSpecification__ValueAssignment() throws RecognitionException {
3897
4310
3898
		}
4311
        		int stackSize = keepStackSize();
3899
		return;
4312
            
3900
	}
4313
        try {
4314
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1592:1: ( ( ruleModifierKind ) )
4315
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1593:1: ( ruleModifierKind )
4316
            {
4317
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1593:1: ( ruleModifierKind )
4318
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1594:1: ruleModifierKind
4319
            {
4320
             before(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0()); 
4321
            pushFollow(FOLLOW_ruleModifierKind_in_rule__ModifierSpecification__ValueAssignment3227);
4322
            ruleModifierKind();
3901
4323
3902
	// $ANTLR end rule__ParameterRule__TypeAssignment_4_0
4324
            state._fsp--;
3903
4325
4326
             after(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0()); 
3904
4327
3905
	// $ANTLR start rule__ParameterRule__MultiplicityAssignment_5
4328
            }
3906
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1513:1: rule__ParameterRule__MultiplicityAssignment_5 : ( ruleMultiplicityRule ) ;
3907
	public final void rule__ParameterRule__MultiplicityAssignment_5() throws RecognitionException {
3908
4329
3909
		int stackSize = keepStackSize();
3910
4330
3911
		try {
4331
            }
3912
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1517:1: ( ( ruleMultiplicityRule ) )
3913
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1518:1: ( ruleMultiplicityRule )
3914
			{
3915
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1518:1: ( ruleMultiplicityRule )
3916
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1519:1: ruleMultiplicityRule
3917
				{
3918
					before(grammarAccess.getParameterRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0());
3919
					pushFollow(FOLLOW_ruleMultiplicityRule_in_rule__ParameterRule__MultiplicityAssignment_53072);
3920
					ruleMultiplicityRule();
3921
					_fsp--;
3922
4332
3923
					after(grammarAccess.getParameterRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0());
4333
        }
4334
        catch (RecognitionException re) {
4335
            reportError(re);
4336
            recover(input,re);
4337
        }
4338
        finally {
3924
4339
3925
				}
4340
            	restoreStackSize(stackSize);
3926
4341
4342
        }
4343
        return ;
4344
    }
4345
    // $ANTLR end "rule__ModifierSpecification__ValueAssignment"
3927
4346
3928
			}
3929
4347
3930
		} catch (RecognitionException re) {
4348
    // $ANTLR start "rule__EffectRule__EffectKindAssignment_2"
3931
			reportError(re);
4349
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1603:1: rule__EffectRule__EffectKindAssignment_2 : ( ruleEffectKind ) ;
3932
			recover(input, re);
4350
    public final void rule__EffectRule__EffectKindAssignment_2() throws RecognitionException {
3933
		} finally {
3934
4351
3935
			restoreStackSize(stackSize);
4352
        		int stackSize = keepStackSize();
4353
            
4354
        try {
4355
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1607:1: ( ( ruleEffectKind ) )
4356
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1608:1: ( ruleEffectKind )
4357
            {
4358
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1608:1: ( ruleEffectKind )
4359
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1609:1: ruleEffectKind
4360
            {
4361
             before(grammarAccess.getEffectRuleAccess().getEffectKindEffectKindEnumRuleCall_2_0()); 
4362
            pushFollow(FOLLOW_ruleEffectKind_in_rule__EffectRule__EffectKindAssignment_23258);
4363
            ruleEffectKind();
3936
4364
3937
		}
4365
            state._fsp--;
3938
		return;
3939
	}
3940
4366
3941
	// $ANTLR end rule__ParameterRule__MultiplicityAssignment_5
4367
             after(grammarAccess.getEffectRuleAccess().getEffectKindEffectKindEnumRuleCall_2_0()); 
3942
4368
4369
            }
3943
4370
3944
	// $ANTLR start rule__ParameterRule__ModifiersAssignment_6
3945
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1528:1: rule__ParameterRule__ModifiersAssignment_6 : ( ruleModifiersRule ) ;
3946
	public final void rule__ParameterRule__ModifiersAssignment_6() throws RecognitionException {
3947
4371
3948
		int stackSize = keepStackSize();
4372
            }
3949
4373
3950
		try {
4374
        }
3951
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1532:1: ( ( ruleModifiersRule ) )
4375
        catch (RecognitionException re) {
3952
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1533:1: ( ruleModifiersRule )
4376
            reportError(re);
3953
			{
4377
            recover(input,re);
3954
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1533:1: ( ruleModifiersRule )
4378
        }
3955
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1534:1: ruleModifiersRule
4379
        finally {
3956
				{
3957
					before(grammarAccess.getParameterRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0());
3958
					pushFollow(FOLLOW_ruleModifiersRule_in_rule__ParameterRule__ModifiersAssignment_63103);
3959
					ruleModifiersRule();
3960
					_fsp--;
3961
4380
3962
					after(grammarAccess.getParameterRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0());
4381
            	restoreStackSize(stackSize);
3963
4382
3964
				}
4383
        }
4384
        return ;
4385
    }
4386
    // $ANTLR end "rule__EffectRule__EffectKindAssignment_2"
3965
4387
3966
4388
3967
			}
4389
    // $ANTLR start "rule__QualifiedName__PathAssignment_0"
4390
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1618:1: rule__QualifiedName__PathAssignment_0 : ( ( RULE_ID ) ) ;
4391
    public final void rule__QualifiedName__PathAssignment_0() throws RecognitionException {
3968
4392
3969
		} catch (RecognitionException re) {
4393
        		int stackSize = keepStackSize();
3970
			reportError(re);
4394
            
3971
			recover(input, re);
4395
        try {
3972
		} finally {
4396
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1622:1: ( ( ( RULE_ID ) ) )
4397
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1623:1: ( ( RULE_ID ) )
4398
            {
4399
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1623:1: ( ( RULE_ID ) )
4400
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1624:1: ( RULE_ID )
4401
            {
4402
             before(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); 
4403
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1625:1: ( RULE_ID )
4404
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1626:1: RULE_ID
4405
            {
4406
             before(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1()); 
4407
            match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__QualifiedName__PathAssignment_03293); 
4408
             after(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1()); 
3973
4409
3974
			restoreStackSize(stackSize);
4410
            }
3975
4411
3976
		}
4412
             after(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); 
3977
		return;
3978
	}
3979
4413
3980
	// $ANTLR end rule__ParameterRule__ModifiersAssignment_6
4414
            }
3981
4415
3982
4416
3983
	// $ANTLR start rule__ParameterRule__EffectAssignment_7
4417
            }
3984
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1543:1: rule__ParameterRule__EffectAssignment_7 : ( ruleEffectRule ) ;
3985
	public final void rule__ParameterRule__EffectAssignment_7() throws RecognitionException {
3986
4418
3987
		int stackSize = keepStackSize();
4419
        }
4420
        catch (RecognitionException re) {
4421
            reportError(re);
4422
            recover(input,re);
4423
        }
4424
        finally {
3988
4425
3989
		try {
4426
            	restoreStackSize(stackSize);
3990
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1547:1: ( ( ruleEffectRule ) )
3991
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1548:1: ( ruleEffectRule )
3992
			{
3993
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1548:1: ( ruleEffectRule )
3994
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1549:1: ruleEffectRule
3995
				{
3996
					before(grammarAccess.getParameterRuleAccess().getEffectEffectRuleParserRuleCall_7_0());
3997
					pushFollow(FOLLOW_ruleEffectRule_in_rule__ParameterRule__EffectAssignment_73134);
3998
					ruleEffectRule();
3999
					_fsp--;
4000
4427
4001
					after(grammarAccess.getParameterRuleAccess().getEffectEffectRuleParserRuleCall_7_0());
4428
        }
4429
        return ;
4430
    }
4431
    // $ANTLR end "rule__QualifiedName__PathAssignment_0"
4002
4432
4003
				}
4004
4433
4434
    // $ANTLR start "rule__QualifiedName__RemainingAssignment_2"
4435
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1637:1: rule__QualifiedName__RemainingAssignment_2 : ( ruleQualifiedName ) ;
4436
    public final void rule__QualifiedName__RemainingAssignment_2() throws RecognitionException {
4005
4437
4006
			}
4438
        		int stackSize = keepStackSize();
4439
            
4440
        try {
4441
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1641:1: ( ( ruleQualifiedName ) )
4442
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1642:1: ( ruleQualifiedName )
4443
            {
4444
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1642:1: ( ruleQualifiedName )
4445
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1643:1: ruleQualifiedName
4446
            {
4447
             before(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
4448
            pushFollow(FOLLOW_ruleQualifiedName_in_rule__QualifiedName__RemainingAssignment_23328);
4449
            ruleQualifiedName();
4007
4450
4008
		} catch (RecognitionException re) {
4451
            state._fsp--;
4009
			reportError(re);
4010
			recover(input, re);
4011
		} finally {
4012
4452
4013
			restoreStackSize(stackSize);
4453
             after(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
4014
4454
4015
		}
4455
            }
4016
		return;
4017
	}
4018
4456
4019
	// $ANTLR end rule__ParameterRule__EffectAssignment_7
4020
4457
4458
            }
4021
4459
4022
	// $ANTLR start rule__ModifiersRule__ValuesAssignment_1
4460
        }
4023
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1558:1: rule__ModifiersRule__ValuesAssignment_1 : ( ruleModifierSpecification ) ;
4461
        catch (RecognitionException re) {
4024
	public final void rule__ModifiersRule__ValuesAssignment_1() throws RecognitionException {
4462
            reportError(re);
4463
            recover(input,re);
4464
        }
4465
        finally {
4025
4466
4026
		int stackSize = keepStackSize();
4467
            	restoreStackSize(stackSize);
4027
4468
4028
		try {
4469
        }
4029
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1562:1: ( ( ruleModifierSpecification ) )
4470
        return ;
4030
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1563:1: ( ruleModifierSpecification )
4471
    }
4031
			{
4472
    // $ANTLR end "rule__QualifiedName__RemainingAssignment_2"
4032
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1563:1: ( ruleModifierSpecification )
4033
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1564:1: ruleModifierSpecification
4034
				{
4035
					before(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0());
4036
					pushFollow(FOLLOW_ruleModifierSpecification_in_rule__ModifiersRule__ValuesAssignment_13165);
4037
					ruleModifierSpecification();
4038
					_fsp--;
4039
4473
4040
					after(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0());
4041
4474
4042
				}
4475
    // $ANTLR start "rule__TypeRule__PathAssignment_0"
4476
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1652:1: rule__TypeRule__PathAssignment_0 : ( ruleQualifiedName ) ;
4477
    public final void rule__TypeRule__PathAssignment_0() throws RecognitionException {
4043
4478
4479
        		int stackSize = keepStackSize();
4480
            
4481
        try {
4482
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1656:1: ( ( ruleQualifiedName ) )
4483
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1657:1: ( ruleQualifiedName )
4484
            {
4485
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1657:1: ( ruleQualifiedName )
4486
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1658:1: ruleQualifiedName
4487
            {
4488
             before(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
4489
            pushFollow(FOLLOW_ruleQualifiedName_in_rule__TypeRule__PathAssignment_03359);
4490
            ruleQualifiedName();
4044
4491
4045
			}
4492
            state._fsp--;
4046
4493
4047
		} catch (RecognitionException re) {
4494
             after(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
4048
			reportError(re);
4049
			recover(input, re);
4050
		} finally {
4051
4495
4052
			restoreStackSize(stackSize);
4496
            }
4053
4497
4054
		}
4055
		return;
4056
	}
4057
4498
4058
	// $ANTLR end rule__ModifiersRule__ValuesAssignment_1
4499
            }
4059
4500
4501
        }
4502
        catch (RecognitionException re) {
4503
            reportError(re);
4504
            recover(input,re);
4505
        }
4506
        finally {
4060
4507
4061
	// $ANTLR start rule__ModifiersRule__ValuesAssignment_2_1
4508
            	restoreStackSize(stackSize);
4062
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1573:1: rule__ModifiersRule__ValuesAssignment_2_1 : ( ruleModifierSpecification ) ;
4063
	public final void rule__ModifiersRule__ValuesAssignment_2_1() throws RecognitionException {
4064
4509
4065
		int stackSize = keepStackSize();
4510
        }
4511
        return ;
4512
    }
4513
    // $ANTLR end "rule__TypeRule__PathAssignment_0"
4066
4514
4067
		try {
4068
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1577:1: ( ( ruleModifierSpecification ) )
4069
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1578:1: ( ruleModifierSpecification )
4070
			{
4071
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1578:1: ( ruleModifierSpecification )
4072
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1579:1: ruleModifierSpecification
4073
				{
4074
					before(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0());
4075
					pushFollow(FOLLOW_ruleModifierSpecification_in_rule__ModifiersRule__ValuesAssignment_2_13196);
4076
					ruleModifierSpecification();
4077
					_fsp--;
4078
4515
4079
					after(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0());
4516
    // $ANTLR start "rule__TypeRule__TypeAssignment_1"
4517
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1667:1: rule__TypeRule__TypeAssignment_1 : ( ( RULE_ID ) ) ;
4518
    public final void rule__TypeRule__TypeAssignment_1() throws RecognitionException {
4080
4519
4081
				}
4520
        		int stackSize = keepStackSize();
4521
            
4522
        try {
4523
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1671:1: ( ( ( RULE_ID ) ) )
4524
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1672:1: ( ( RULE_ID ) )
4525
            {
4526
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1672:1: ( ( RULE_ID ) )
4527
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1673:1: ( RULE_ID )
4528
            {
4529
             before(grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0()); 
4530
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1674:1: ( RULE_ID )
4531
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1675:1: RULE_ID
4532
            {
4533
             before(grammarAccess.getTypeRuleAccess().getTypeTypeIDTerminalRuleCall_1_0_1()); 
4534
            match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__TypeRule__TypeAssignment_13394); 
4535
             after(grammarAccess.getTypeRuleAccess().getTypeTypeIDTerminalRuleCall_1_0_1()); 
4082
4536
4537
            }
4083
4538
4084
			}
4539
             after(grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0()); 
4085
4540
4086
		} catch (RecognitionException re) {
4541
            }
4087
			reportError(re);
4088
			recover(input, re);
4089
		} finally {
4090
4542
4091
			restoreStackSize(stackSize);
4092
4543
4093
		}
4544
            }
4094
		return;
4095
	}
4096
4545
4097
	// $ANTLR end rule__ModifiersRule__ValuesAssignment_2_1
4546
        }
4547
        catch (RecognitionException re) {
4548
            reportError(re);
4549
            recover(input,re);
4550
        }
4551
        finally {
4098
4552
4553
            	restoreStackSize(stackSize);
4099
4554
4100
	// $ANTLR start rule__ModifierSpecification__ValueAssignment
4555
        }
4101
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1588:1: rule__ModifierSpecification__ValueAssignment : ( ruleModifierKind ) ;
4556
        return ;
4102
	public final void rule__ModifierSpecification__ValueAssignment() throws RecognitionException {
4557
    }
4558
    // $ANTLR end "rule__TypeRule__TypeAssignment_1"
4103
4559
4104
		int stackSize = keepStackSize();
4105
4560
4106
		try {
4561
    // $ANTLR start "rule__MultiplicityRule__BoundsAssignment_1"
4107
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1592:1: ( ( ruleModifierKind ) )
4562
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1686:1: rule__MultiplicityRule__BoundsAssignment_1 : ( ruleBoundSpecification ) ;
4108
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1593:1: ( ruleModifierKind )
4563
    public final void rule__MultiplicityRule__BoundsAssignment_1() throws RecognitionException {
4109
			{
4110
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1593:1: ( ruleModifierKind )
4111
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1594:1: ruleModifierKind
4112
				{
4113
					before(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0());
4114
					pushFollow(FOLLOW_ruleModifierKind_in_rule__ModifierSpecification__ValueAssignment3227);
4115
					ruleModifierKind();
4116
					_fsp--;
4117
4564
4118
					after(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0());
4565
        		int stackSize = keepStackSize();
4566
            
4567
        try {
4568
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1690:1: ( ( ruleBoundSpecification ) )
4569
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1691:1: ( ruleBoundSpecification )
4570
            {
4571
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1691:1: ( ruleBoundSpecification )
4572
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1692:1: ruleBoundSpecification
4573
            {
4574
             before(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0()); 
4575
            pushFollow(FOLLOW_ruleBoundSpecification_in_rule__MultiplicityRule__BoundsAssignment_13429);
4576
            ruleBoundSpecification();
4119
4577
4120
				}
4578
            state._fsp--;
4121
4579
4580
             after(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0()); 
4122
4581
4123
			}
4582
            }
4124
4583
4125
		} catch (RecognitionException re) {
4126
			reportError(re);
4127
			recover(input, re);
4128
		} finally {
4129
4584
4130
			restoreStackSize(stackSize);
4585
            }
4131
4586
4132
		}
4587
        }
4133
		return;
4588
        catch (RecognitionException re) {
4134
	}
4589
            reportError(re);
4590
            recover(input,re);
4591
        }
4592
        finally {
4135
4593
4136
	// $ANTLR end rule__ModifierSpecification__ValueAssignment
4594
            	restoreStackSize(stackSize);
4137
4595
4596
        }
4597
        return ;
4598
    }
4599
    // $ANTLR end "rule__MultiplicityRule__BoundsAssignment_1"
4138
4600
4139
	// $ANTLR start rule__EffectRule__EffectKindAssignment_2
4140
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1603:1: rule__EffectRule__EffectKindAssignment_2 : ( ruleEffectKind ) ;
4141
	public final void rule__EffectRule__EffectKindAssignment_2() throws RecognitionException {
4142
4601
4143
		int stackSize = keepStackSize();
4602
    // $ANTLR start "rule__MultiplicityRule__BoundsAssignment_2_1"
4603
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1701:1: rule__MultiplicityRule__BoundsAssignment_2_1 : ( ruleBoundSpecification ) ;
4604
    public final void rule__MultiplicityRule__BoundsAssignment_2_1() throws RecognitionException {
4144
4605
4145
		try {
4606
        		int stackSize = keepStackSize();
4146
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1607:1: ( ( ruleEffectKind ) )
4607
            
4147
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1608:1: ( ruleEffectKind )
4608
        try {
4148
			{
4609
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1705:1: ( ( ruleBoundSpecification ) )
4149
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1608:1: ( ruleEffectKind )
4610
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1706:1: ( ruleBoundSpecification )
4150
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1609:1: ruleEffectKind
4611
            {
4151
				{
4612
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1706:1: ( ruleBoundSpecification )
4152
					before(grammarAccess.getEffectRuleAccess().getEffectKindEffectKindEnumRuleCall_2_0());
4613
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1707:1: ruleBoundSpecification
4153
					pushFollow(FOLLOW_ruleEffectKind_in_rule__EffectRule__EffectKindAssignment_23258);
4614
            {
4154
					ruleEffectKind();
4615
             before(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0()); 
4155
					_fsp--;
4616
            pushFollow(FOLLOW_ruleBoundSpecification_in_rule__MultiplicityRule__BoundsAssignment_2_13460);
4617
            ruleBoundSpecification();
4156
4618
4157
					after(grammarAccess.getEffectRuleAccess().getEffectKindEffectKindEnumRuleCall_2_0());
4619
            state._fsp--;
4158
4620
4159
				}
4621
             after(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0()); 
4160
4622
4623
            }
4161
4624
4162
			}
4163
4625
4164
		} catch (RecognitionException re) {
4626
            }
4165
			reportError(re);
4166
			recover(input, re);
4167
		} finally {
4168
4627
4169
			restoreStackSize(stackSize);
4628
        }
4629
        catch (RecognitionException re) {
4630
            reportError(re);
4631
            recover(input,re);
4632
        }
4633
        finally {
4170
4634
4171
		}
4635
            	restoreStackSize(stackSize);
4172
		return;
4173
	}
4174
4636
4175
	// $ANTLR end rule__EffectRule__EffectKindAssignment_2
4637
        }
4638
        return ;
4639
    }
4640
    // $ANTLR end "rule__MultiplicityRule__BoundsAssignment_2_1"
4176
4641
4177
4642
4178
	// $ANTLR start rule__QualifiedName__PathAssignment_0
4643
    // $ANTLR start "rule__BoundSpecification__ValueAssignment"
4179
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1618:1: rule__QualifiedName__PathAssignment_0 : ( ( RULE_ID ) ) ;
4644
    // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1716:1: rule__BoundSpecification__ValueAssignment : ( RULE_UNLIMITEDLITERAL ) ;
4180
	public final void rule__QualifiedName__PathAssignment_0() throws RecognitionException {
4645
    public final void rule__BoundSpecification__ValueAssignment() throws RecognitionException {
4181
4646
4182
		int stackSize = keepStackSize();
4647
        		int stackSize = keepStackSize();
4648
            
4649
        try {
4650
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1720:1: ( ( RULE_UNLIMITEDLITERAL ) )
4651
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1721:1: ( RULE_UNLIMITEDLITERAL )
4652
            {
4653
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1721:1: ( RULE_UNLIMITEDLITERAL )
4654
            // ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1722:1: RULE_UNLIMITEDLITERAL
4655
            {
4656
             before(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0()); 
4657
            match(input,RULE_UNLIMITEDLITERAL,FOLLOW_RULE_UNLIMITEDLITERAL_in_rule__BoundSpecification__ValueAssignment3491); 
4658
             after(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0()); 
4183
4659
4184
		try {
4660
            }
4185
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1622:1: ( ( ( RULE_ID ) ) )
4186
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1623:1: ( ( RULE_ID ) )
4187
			{
4188
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1623:1: ( ( RULE_ID ) )
4189
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1624:1: ( RULE_ID )
4190
				{
4191
					before(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0());
4192
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1625:1: ( RULE_ID )
4193
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1626:1: RULE_ID
4194
					{
4195
						before(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1());
4196
						match(input, RULE_ID, FOLLOW_RULE_ID_in_rule__QualifiedName__PathAssignment_03293);
4197
						after(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1());
4198
4661
4199
					}
4200
4662
4201
					after(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0());
4663
            }
4202
4664
4203
				}
4665
        }
4666
        catch (RecognitionException re) {
4667
            reportError(re);
4668
            recover(input,re);
4669
        }
4670
        finally {
4204
4671
4672
            	restoreStackSize(stackSize);
4205
4673
4206
			}
4674
        }
4675
        return ;
4676
    }
4677
    // $ANTLR end "rule__BoundSpecification__ValueAssignment"
4207
4678
4208
		} catch (RecognitionException re) {
4679
    // Delegated rules
4209
			reportError(re);
4210
			recover(input, re);
4211
		} finally {
4212
4680
4213
			restoreStackSize(stackSize);
4214
4681
4215
		}
4682
 
4216
		return;
4217
	}
4218
4683
4219
	// $ANTLR end rule__QualifiedName__PathAssignment_0
4684
    public static final BitSet FOLLOW_ruleParameterRule_in_entryRuleParameterRule61 = new BitSet(new long[]{0x0000000000000000L});
4685
    public static final BitSet FOLLOW_EOF_in_entryRuleParameterRule68 = new BitSet(new long[]{0x0000000000000002L});
4686
    public static final BitSet FOLLOW_rule__ParameterRule__Group__0_in_ruleParameterRule94 = new BitSet(new long[]{0x0000000000000002L});
4687
    public static final BitSet FOLLOW_ruleModifiersRule_in_entryRuleModifiersRule121 = new BitSet(new long[]{0x0000000000000000L});
4688
    public static final BitSet FOLLOW_EOF_in_entryRuleModifiersRule128 = new BitSet(new long[]{0x0000000000000002L});
4689
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__0_in_ruleModifiersRule154 = new BitSet(new long[]{0x0000000000000002L});
4690
    public static final BitSet FOLLOW_ruleModifierSpecification_in_entryRuleModifierSpecification181 = new BitSet(new long[]{0x0000000000000000L});
4691
    public static final BitSet FOLLOW_EOF_in_entryRuleModifierSpecification188 = new BitSet(new long[]{0x0000000000000002L});
4692
    public static final BitSet FOLLOW_rule__ModifierSpecification__ValueAssignment_in_ruleModifierSpecification214 = new BitSet(new long[]{0x0000000000000002L});
4693
    public static final BitSet FOLLOW_ruleEffectRule_in_entryRuleEffectRule241 = new BitSet(new long[]{0x0000000000000000L});
4694
    public static final BitSet FOLLOW_EOF_in_entryRuleEffectRule248 = new BitSet(new long[]{0x0000000000000002L});
4695
    public static final BitSet FOLLOW_rule__EffectRule__Group__0_in_ruleEffectRule274 = new BitSet(new long[]{0x0000000000000002L});
4696
    public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName301 = new BitSet(new long[]{0x0000000000000000L});
4697
    public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName308 = new BitSet(new long[]{0x0000000000000002L});
4698
    public static final BitSet FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName334 = new BitSet(new long[]{0x0000000000000002L});
4699
    public static final BitSet FOLLOW_ruleTypeRule_in_entryRuleTypeRule361 = new BitSet(new long[]{0x0000000000000000L});
4700
    public static final BitSet FOLLOW_EOF_in_entryRuleTypeRule368 = new BitSet(new long[]{0x0000000000000002L});
4701
    public static final BitSet FOLLOW_rule__TypeRule__Group__0_in_ruleTypeRule394 = new BitSet(new long[]{0x0000000000000002L});
4702
    public static final BitSet FOLLOW_ruleMultiplicityRule_in_entryRuleMultiplicityRule421 = new BitSet(new long[]{0x0000000000000000L});
4703
    public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityRule428 = new BitSet(new long[]{0x0000000000000002L});
4704
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__0_in_ruleMultiplicityRule454 = new BitSet(new long[]{0x0000000000000002L});
4705
    public static final BitSet FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification481 = new BitSet(new long[]{0x0000000000000000L});
4706
    public static final BitSet FOLLOW_EOF_in_entryRuleBoundSpecification488 = new BitSet(new long[]{0x0000000000000002L});
4707
    public static final BitSet FOLLOW_rule__BoundSpecification__ValueAssignment_in_ruleBoundSpecification514 = new BitSet(new long[]{0x0000000000000002L});
4708
    public static final BitSet FOLLOW_rule__ModifierKind__Alternatives_in_ruleModifierKind551 = new BitSet(new long[]{0x0000000000000002L});
4709
    public static final BitSet FOLLOW_rule__EffectKind__Alternatives_in_ruleEffectKind587 = new BitSet(new long[]{0x0000000000000002L});
4710
    public static final BitSet FOLLOW_rule__VisibilityKind__Alternatives_in_ruleVisibilityKind623 = new BitSet(new long[]{0x0000000000000002L});
4711
    public static final BitSet FOLLOW_rule__Direction__Alternatives_in_ruleDirection659 = new BitSet(new long[]{0x0000000000000002L});
4712
    public static final BitSet FOLLOW_rule__ParameterRule__TypeAssignment_4_0_in_rule__ParameterRule__Alternatives_4694 = new BitSet(new long[]{0x0000000000000002L});
4713
    public static final BitSet FOLLOW_12_in_rule__ParameterRule__Alternatives_4713 = new BitSet(new long[]{0x0000000000000002L});
4714
    public static final BitSet FOLLOW_13_in_rule__ModifierKind__Alternatives748 = new BitSet(new long[]{0x0000000000000002L});
4715
    public static final BitSet FOLLOW_14_in_rule__ModifierKind__Alternatives769 = new BitSet(new long[]{0x0000000000000002L});
4716
    public static final BitSet FOLLOW_15_in_rule__ModifierKind__Alternatives790 = new BitSet(new long[]{0x0000000000000002L});
4717
    public static final BitSet FOLLOW_16_in_rule__ModifierKind__Alternatives811 = new BitSet(new long[]{0x0000000000000002L});
4718
    public static final BitSet FOLLOW_17_in_rule__EffectKind__Alternatives847 = new BitSet(new long[]{0x0000000000000002L});
4719
    public static final BitSet FOLLOW_18_in_rule__EffectKind__Alternatives868 = new BitSet(new long[]{0x0000000000000002L});
4720
    public static final BitSet FOLLOW_19_in_rule__EffectKind__Alternatives889 = new BitSet(new long[]{0x0000000000000002L});
4721
    public static final BitSet FOLLOW_20_in_rule__EffectKind__Alternatives910 = new BitSet(new long[]{0x0000000000000002L});
4722
    public static final BitSet FOLLOW_21_in_rule__VisibilityKind__Alternatives946 = new BitSet(new long[]{0x0000000000000002L});
4723
    public static final BitSet FOLLOW_22_in_rule__VisibilityKind__Alternatives967 = new BitSet(new long[]{0x0000000000000002L});
4724
    public static final BitSet FOLLOW_23_in_rule__VisibilityKind__Alternatives988 = new BitSet(new long[]{0x0000000000000002L});
4725
    public static final BitSet FOLLOW_24_in_rule__VisibilityKind__Alternatives1009 = new BitSet(new long[]{0x0000000000000002L});
4726
    public static final BitSet FOLLOW_25_in_rule__Direction__Alternatives1045 = new BitSet(new long[]{0x0000000000000002L});
4727
    public static final BitSet FOLLOW_26_in_rule__Direction__Alternatives1066 = new BitSet(new long[]{0x0000000000000002L});
4728
    public static final BitSet FOLLOW_27_in_rule__Direction__Alternatives1087 = new BitSet(new long[]{0x0000000000000002L});
4729
    public static final BitSet FOLLOW_28_in_rule__Direction__Alternatives1108 = new BitSet(new long[]{0x0000000000000002L});
4730
    public static final BitSet FOLLOW_rule__ParameterRule__Group__0__Impl_in_rule__ParameterRule__Group__01141 = new BitSet(new long[]{0x000000001E000000L});
4731
    public static final BitSet FOLLOW_rule__ParameterRule__Group__1_in_rule__ParameterRule__Group__01144 = new BitSet(new long[]{0x0000000000000002L});
4732
    public static final BitSet FOLLOW_rule__ParameterRule__VisibilityAssignment_0_in_rule__ParameterRule__Group__0__Impl1171 = new BitSet(new long[]{0x0000000000000002L});
4733
    public static final BitSet FOLLOW_rule__ParameterRule__Group__1__Impl_in_rule__ParameterRule__Group__11201 = new BitSet(new long[]{0x0000000000000010L});
4734
    public static final BitSet FOLLOW_rule__ParameterRule__Group__2_in_rule__ParameterRule__Group__11204 = new BitSet(new long[]{0x0000000000000002L});
4735
    public static final BitSet FOLLOW_rule__ParameterRule__DirectionAssignment_1_in_rule__ParameterRule__Group__1__Impl1231 = new BitSet(new long[]{0x0000000000000002L});
4736
    public static final BitSet FOLLOW_rule__ParameterRule__Group__2__Impl_in_rule__ParameterRule__Group__21261 = new BitSet(new long[]{0x0000000020000000L});
4737
    public static final BitSet FOLLOW_rule__ParameterRule__Group__3_in_rule__ParameterRule__Group__21264 = new BitSet(new long[]{0x0000000000000002L});
4738
    public static final BitSet FOLLOW_rule__ParameterRule__NameAssignment_2_in_rule__ParameterRule__Group__2__Impl1291 = new BitSet(new long[]{0x0000000000000002L});
4739
    public static final BitSet FOLLOW_rule__ParameterRule__Group__3__Impl_in_rule__ParameterRule__Group__31321 = new BitSet(new long[]{0x0000000000001010L});
4740
    public static final BitSet FOLLOW_rule__ParameterRule__Group__4_in_rule__ParameterRule__Group__31324 = new BitSet(new long[]{0x0000000000000002L});
4741
    public static final BitSet FOLLOW_29_in_rule__ParameterRule__Group__3__Impl1352 = new BitSet(new long[]{0x0000000000000002L});
4742
    public static final BitSet FOLLOW_rule__ParameterRule__Group__4__Impl_in_rule__ParameterRule__Group__41383 = new BitSet(new long[]{0x0000000840000000L});
4743
    public static final BitSet FOLLOW_rule__ParameterRule__Group__5_in_rule__ParameterRule__Group__41386 = new BitSet(new long[]{0x0000000000000002L});
4744
    public static final BitSet FOLLOW_rule__ParameterRule__Alternatives_4_in_rule__ParameterRule__Group__4__Impl1413 = new BitSet(new long[]{0x0000000000000002L});
4745
    public static final BitSet FOLLOW_rule__ParameterRule__Group__5__Impl_in_rule__ParameterRule__Group__51443 = new BitSet(new long[]{0x0000000840000000L});
4746
    public static final BitSet FOLLOW_rule__ParameterRule__Group__6_in_rule__ParameterRule__Group__51446 = new BitSet(new long[]{0x0000000000000002L});
4747
    public static final BitSet FOLLOW_rule__ParameterRule__MultiplicityAssignment_5_in_rule__ParameterRule__Group__5__Impl1473 = new BitSet(new long[]{0x0000000000000002L});
4748
    public static final BitSet FOLLOW_rule__ParameterRule__Group__6__Impl_in_rule__ParameterRule__Group__61504 = new BitSet(new long[]{0x0000000840000000L});
4749
    public static final BitSet FOLLOW_rule__ParameterRule__Group__7_in_rule__ParameterRule__Group__61507 = new BitSet(new long[]{0x0000000000000002L});
4750
    public static final BitSet FOLLOW_rule__ParameterRule__ModifiersAssignment_6_in_rule__ParameterRule__Group__6__Impl1534 = new BitSet(new long[]{0x0000000000000002L});
4751
    public static final BitSet FOLLOW_rule__ParameterRule__Group__7__Impl_in_rule__ParameterRule__Group__71565 = new BitSet(new long[]{0x0000000000000002L});
4752
    public static final BitSet FOLLOW_rule__ParameterRule__EffectAssignment_7_in_rule__ParameterRule__Group__7__Impl1592 = new BitSet(new long[]{0x0000000000000002L});
4753
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__0__Impl_in_rule__ModifiersRule__Group__01638 = new BitSet(new long[]{0x000000000001E000L});
4754
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__1_in_rule__ModifiersRule__Group__01641 = new BitSet(new long[]{0x0000000000000002L});
4755
    public static final BitSet FOLLOW_30_in_rule__ModifiersRule__Group__0__Impl1669 = new BitSet(new long[]{0x0000000000000002L});
4756
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__1__Impl_in_rule__ModifiersRule__Group__11700 = new BitSet(new long[]{0x0000000180000000L});
4757
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__2_in_rule__ModifiersRule__Group__11703 = new BitSet(new long[]{0x0000000000000002L});
4758
    public static final BitSet FOLLOW_rule__ModifiersRule__ValuesAssignment_1_in_rule__ModifiersRule__Group__1__Impl1730 = new BitSet(new long[]{0x0000000000000002L});
4759
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__2__Impl_in_rule__ModifiersRule__Group__21760 = new BitSet(new long[]{0x0000000180000000L});
4760
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__3_in_rule__ModifiersRule__Group__21763 = new BitSet(new long[]{0x0000000000000002L});
4761
    public static final BitSet FOLLOW_rule__ModifiersRule__Group_2__0_in_rule__ModifiersRule__Group__2__Impl1790 = new BitSet(new long[]{0x0000000100000002L});
4762
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__3__Impl_in_rule__ModifiersRule__Group__31821 = new BitSet(new long[]{0x0000000000000002L});
4763
    public static final BitSet FOLLOW_31_in_rule__ModifiersRule__Group__3__Impl1849 = new BitSet(new long[]{0x0000000000000002L});
4764
    public static final BitSet FOLLOW_rule__ModifiersRule__Group_2__0__Impl_in_rule__ModifiersRule__Group_2__01888 = new BitSet(new long[]{0x000000000001E000L});
4765
    public static final BitSet FOLLOW_rule__ModifiersRule__Group_2__1_in_rule__ModifiersRule__Group_2__01891 = new BitSet(new long[]{0x0000000000000002L});
4766
    public static final BitSet FOLLOW_32_in_rule__ModifiersRule__Group_2__0__Impl1919 = new BitSet(new long[]{0x0000000000000002L});
4767
    public static final BitSet FOLLOW_rule__ModifiersRule__Group_2__1__Impl_in_rule__ModifiersRule__Group_2__11950 = new BitSet(new long[]{0x0000000000000002L});
4768
    public static final BitSet FOLLOW_rule__ModifiersRule__ValuesAssignment_2_1_in_rule__ModifiersRule__Group_2__1__Impl1977 = new BitSet(new long[]{0x0000000000000002L});
4769
    public static final BitSet FOLLOW_rule__EffectRule__Group__0__Impl_in_rule__EffectRule__Group__02011 = new BitSet(new long[]{0x0000000200000000L});
4770
    public static final BitSet FOLLOW_rule__EffectRule__Group__1_in_rule__EffectRule__Group__02014 = new BitSet(new long[]{0x0000000000000002L});
4771
    public static final BitSet FOLLOW_30_in_rule__EffectRule__Group__0__Impl2042 = new BitSet(new long[]{0x0000000000000002L});
4772
    public static final BitSet FOLLOW_rule__EffectRule__Group__1__Impl_in_rule__EffectRule__Group__12073 = new BitSet(new long[]{0x00000000001E0000L});
4773
    public static final BitSet FOLLOW_rule__EffectRule__Group__2_in_rule__EffectRule__Group__12076 = new BitSet(new long[]{0x0000000000000002L});
4774
    public static final BitSet FOLLOW_33_in_rule__EffectRule__Group__1__Impl2104 = new BitSet(new long[]{0x0000000000000002L});
4775
    public static final BitSet FOLLOW_rule__EffectRule__Group__2__Impl_in_rule__EffectRule__Group__22135 = new BitSet(new long[]{0x0000000080000000L});
4776
    public static final BitSet FOLLOW_rule__EffectRule__Group__3_in_rule__EffectRule__Group__22138 = new BitSet(new long[]{0x0000000000000002L});
4777
    public static final BitSet FOLLOW_rule__EffectRule__EffectKindAssignment_2_in_rule__EffectRule__Group__2__Impl2165 = new BitSet(new long[]{0x0000000000000002L});
4778
    public static final BitSet FOLLOW_rule__EffectRule__Group__3__Impl_in_rule__EffectRule__Group__32195 = new BitSet(new long[]{0x0000000000000002L});
4779
    public static final BitSet FOLLOW_31_in_rule__EffectRule__Group__3__Impl2223 = new BitSet(new long[]{0x0000000000000002L});
4780
    public static final BitSet FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__02262 = new BitSet(new long[]{0x0000000400000000L});
4781
    public static final BitSet FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__02265 = new BitSet(new long[]{0x0000000000000002L});
4782
    public static final BitSet FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl2292 = new BitSet(new long[]{0x0000000000000002L});
4783
    public static final BitSet FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__12322 = new BitSet(new long[]{0x0000000000000010L});
4784
    public static final BitSet FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__12325 = new BitSet(new long[]{0x0000000000000002L});
4785
    public static final BitSet FOLLOW_34_in_rule__QualifiedName__Group__1__Impl2353 = new BitSet(new long[]{0x0000000000000002L});
4786
    public static final BitSet FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__22384 = new BitSet(new long[]{0x0000000000000002L});
4787
    public static final BitSet FOLLOW_rule__QualifiedName__RemainingAssignment_2_in_rule__QualifiedName__Group__2__Impl2411 = new BitSet(new long[]{0x0000000000000002L});
4788
    public static final BitSet FOLLOW_rule__TypeRule__Group__0__Impl_in_rule__TypeRule__Group__02448 = new BitSet(new long[]{0x0000000000000010L});
4789
    public static final BitSet FOLLOW_rule__TypeRule__Group__1_in_rule__TypeRule__Group__02451 = new BitSet(new long[]{0x0000000000000002L});
4790
    public static final BitSet FOLLOW_rule__TypeRule__PathAssignment_0_in_rule__TypeRule__Group__0__Impl2478 = new BitSet(new long[]{0x0000000000000002L});
4791
    public static final BitSet FOLLOW_rule__TypeRule__Group__1__Impl_in_rule__TypeRule__Group__12509 = new BitSet(new long[]{0x0000000000000002L});
4792
    public static final BitSet FOLLOW_rule__TypeRule__TypeAssignment_1_in_rule__TypeRule__Group__1__Impl2536 = new BitSet(new long[]{0x0000000000000002L});
4793
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__0__Impl_in_rule__MultiplicityRule__Group__02570 = new BitSet(new long[]{0x0000000000000020L});
4794
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__1_in_rule__MultiplicityRule__Group__02573 = new BitSet(new long[]{0x0000000000000002L});
4795
    public static final BitSet FOLLOW_35_in_rule__MultiplicityRule__Group__0__Impl2601 = new BitSet(new long[]{0x0000000000000002L});
4796
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__1__Impl_in_rule__MultiplicityRule__Group__12632 = new BitSet(new long[]{0x0000003000000000L});
4797
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__2_in_rule__MultiplicityRule__Group__12635 = new BitSet(new long[]{0x0000000000000002L});
4798
    public static final BitSet FOLLOW_rule__MultiplicityRule__BoundsAssignment_1_in_rule__MultiplicityRule__Group__1__Impl2662 = new BitSet(new long[]{0x0000000000000002L});
4799
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__2__Impl_in_rule__MultiplicityRule__Group__22692 = new BitSet(new long[]{0x0000003000000000L});
4800
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__3_in_rule__MultiplicityRule__Group__22695 = new BitSet(new long[]{0x0000000000000002L});
4801
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group_2__0_in_rule__MultiplicityRule__Group__2__Impl2722 = new BitSet(new long[]{0x0000000000000002L});
4802
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__3__Impl_in_rule__MultiplicityRule__Group__32753 = new BitSet(new long[]{0x0000000000000002L});
4803
    public static final BitSet FOLLOW_36_in_rule__MultiplicityRule__Group__3__Impl2781 = new BitSet(new long[]{0x0000000000000002L});
4804
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group_2__0__Impl_in_rule__MultiplicityRule__Group_2__02820 = new BitSet(new long[]{0x0000000000000020L});
4805
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group_2__1_in_rule__MultiplicityRule__Group_2__02823 = new BitSet(new long[]{0x0000000000000002L});
4806
    public static final BitSet FOLLOW_37_in_rule__MultiplicityRule__Group_2__0__Impl2851 = new BitSet(new long[]{0x0000000000000002L});
4807
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group_2__1__Impl_in_rule__MultiplicityRule__Group_2__12882 = new BitSet(new long[]{0x0000000000000002L});
4808
    public static final BitSet FOLLOW_rule__MultiplicityRule__BoundsAssignment_2_1_in_rule__MultiplicityRule__Group_2__1__Impl2909 = new BitSet(new long[]{0x0000000000000002L});
4809
    public static final BitSet FOLLOW_ruleVisibilityKind_in_rule__ParameterRule__VisibilityAssignment_02948 = new BitSet(new long[]{0x0000000000000002L});
4810
    public static final BitSet FOLLOW_ruleDirection_in_rule__ParameterRule__DirectionAssignment_12979 = new BitSet(new long[]{0x0000000000000002L});
4811
    public static final BitSet FOLLOW_RULE_ID_in_rule__ParameterRule__NameAssignment_23010 = new BitSet(new long[]{0x0000000000000002L});
4812
    public static final BitSet FOLLOW_ruleTypeRule_in_rule__ParameterRule__TypeAssignment_4_03041 = new BitSet(new long[]{0x0000000000000002L});
4813
    public static final BitSet FOLLOW_ruleMultiplicityRule_in_rule__ParameterRule__MultiplicityAssignment_53072 = new BitSet(new long[]{0x0000000000000002L});
4814
    public static final BitSet FOLLOW_ruleModifiersRule_in_rule__ParameterRule__ModifiersAssignment_63103 = new BitSet(new long[]{0x0000000000000002L});
4815
    public static final BitSet FOLLOW_ruleEffectRule_in_rule__ParameterRule__EffectAssignment_73134 = new BitSet(new long[]{0x0000000000000002L});
4816
    public static final BitSet FOLLOW_ruleModifierSpecification_in_rule__ModifiersRule__ValuesAssignment_13165 = new BitSet(new long[]{0x0000000000000002L});
4817
    public static final BitSet FOLLOW_ruleModifierSpecification_in_rule__ModifiersRule__ValuesAssignment_2_13196 = new BitSet(new long[]{0x0000000000000002L});
4818
    public static final BitSet FOLLOW_ruleModifierKind_in_rule__ModifierSpecification__ValueAssignment3227 = new BitSet(new long[]{0x0000000000000002L});
4819
    public static final BitSet FOLLOW_ruleEffectKind_in_rule__EffectRule__EffectKindAssignment_23258 = new BitSet(new long[]{0x0000000000000002L});
4820
    public static final BitSet FOLLOW_RULE_ID_in_rule__QualifiedName__PathAssignment_03293 = new BitSet(new long[]{0x0000000000000002L});
4821
    public static final BitSet FOLLOW_ruleQualifiedName_in_rule__QualifiedName__RemainingAssignment_23328 = new BitSet(new long[]{0x0000000000000002L});
4822
    public static final BitSet FOLLOW_ruleQualifiedName_in_rule__TypeRule__PathAssignment_03359 = new BitSet(new long[]{0x0000000000000002L});
4823
    public static final BitSet FOLLOW_RULE_ID_in_rule__TypeRule__TypeAssignment_13394 = new BitSet(new long[]{0x0000000000000002L});
4824
    public static final BitSet FOLLOW_ruleBoundSpecification_in_rule__MultiplicityRule__BoundsAssignment_13429 = new BitSet(new long[]{0x0000000000000002L});
4825
    public static final BitSet FOLLOW_ruleBoundSpecification_in_rule__MultiplicityRule__BoundsAssignment_2_13460 = new BitSet(new long[]{0x0000000000000002L});
4826
    public static final BitSet FOLLOW_RULE_UNLIMITEDLITERAL_in_rule__BoundSpecification__ValueAssignment3491 = new BitSet(new long[]{0x0000000000000002L});
4220
4827
4221
4828
}
4222
	// $ANTLR start rule__QualifiedName__RemainingAssignment_2
4223
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1637:1: rule__QualifiedName__RemainingAssignment_2 : ( ruleQualifiedName ) ;
4224
	public final void rule__QualifiedName__RemainingAssignment_2() throws RecognitionException {
4225
4226
		int stackSize = keepStackSize();
4227
4228
		try {
4229
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1641:1: ( ( ruleQualifiedName ) )
4230
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1642:1: ( ruleQualifiedName )
4231
			{
4232
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1642:1: ( ruleQualifiedName )
4233
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1643:1: ruleQualifiedName
4234
				{
4235
					before(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0());
4236
					pushFollow(FOLLOW_ruleQualifiedName_in_rule__QualifiedName__RemainingAssignment_23328);
4237
					ruleQualifiedName();
4238
					_fsp--;
4239
4240
					after(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0());
4241
4242
				}
4243
4244
4245
			}
4246
4247
		} catch (RecognitionException re) {
4248
			reportError(re);
4249
			recover(input, re);
4250
		} finally {
4251
4252
			restoreStackSize(stackSize);
4253
4254
		}
4255
		return;
4256
	}
4257
4258
	// $ANTLR end rule__QualifiedName__RemainingAssignment_2
4259
4260
4261
	// $ANTLR start rule__TypeRule__PathAssignment_0
4262
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1652:1: rule__TypeRule__PathAssignment_0 : ( ruleQualifiedName ) ;
4263
	public final void rule__TypeRule__PathAssignment_0() throws RecognitionException {
4264
4265
		int stackSize = keepStackSize();
4266
4267
		try {
4268
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1656:1: ( ( ruleQualifiedName ) )
4269
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1657:1: ( ruleQualifiedName )
4270
			{
4271
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1657:1: ( ruleQualifiedName )
4272
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1658:1: ruleQualifiedName
4273
				{
4274
					before(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0());
4275
					pushFollow(FOLLOW_ruleQualifiedName_in_rule__TypeRule__PathAssignment_03359);
4276
					ruleQualifiedName();
4277
					_fsp--;
4278
4279
					after(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0());
4280
4281
				}
4282
4283
4284
			}
4285
4286
		} catch (RecognitionException re) {
4287
			reportError(re);
4288
			recover(input, re);
4289
		} finally {
4290
4291
			restoreStackSize(stackSize);
4292
4293
		}
4294
		return;
4295
	}
4296
4297
	// $ANTLR end rule__TypeRule__PathAssignment_0
4298
4299
4300
	// $ANTLR start rule__TypeRule__TypeAssignment_1
4301
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1667:1: rule__TypeRule__TypeAssignment_1 : ( ( RULE_ID ) ) ;
4302
	public final void rule__TypeRule__TypeAssignment_1() throws RecognitionException {
4303
4304
		int stackSize = keepStackSize();
4305
4306
		try {
4307
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1671:1: ( ( ( RULE_ID ) ) )
4308
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1672:1: ( ( RULE_ID ) )
4309
			{
4310
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1672:1: ( ( RULE_ID ) )
4311
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1673:1: ( RULE_ID )
4312
				{
4313
					before(grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0());
4314
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1674:1: ( RULE_ID )
4315
					// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1675:1: RULE_ID
4316
					{
4317
						before(grammarAccess.getTypeRuleAccess().getTypeTypeIDTerminalRuleCall_1_0_1());
4318
						match(input, RULE_ID, FOLLOW_RULE_ID_in_rule__TypeRule__TypeAssignment_13394);
4319
						after(grammarAccess.getTypeRuleAccess().getTypeTypeIDTerminalRuleCall_1_0_1());
4320
4321
					}
4322
4323
					after(grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0());
4324
4325
				}
4326
4327
4328
			}
4329
4330
		} catch (RecognitionException re) {
4331
			reportError(re);
4332
			recover(input, re);
4333
		} finally {
4334
4335
			restoreStackSize(stackSize);
4336
4337
		}
4338
		return;
4339
	}
4340
4341
	// $ANTLR end rule__TypeRule__TypeAssignment_1
4342
4343
4344
	// $ANTLR start rule__MultiplicityRule__BoundsAssignment_1
4345
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1686:1: rule__MultiplicityRule__BoundsAssignment_1 : ( ruleBoundSpecification ) ;
4346
	public final void rule__MultiplicityRule__BoundsAssignment_1() throws RecognitionException {
4347
4348
		int stackSize = keepStackSize();
4349
4350
		try {
4351
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1690:1: ( ( ruleBoundSpecification ) )
4352
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1691:1: ( ruleBoundSpecification )
4353
			{
4354
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1691:1: ( ruleBoundSpecification )
4355
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1692:1: ruleBoundSpecification
4356
				{
4357
					before(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0());
4358
					pushFollow(FOLLOW_ruleBoundSpecification_in_rule__MultiplicityRule__BoundsAssignment_13429);
4359
					ruleBoundSpecification();
4360
					_fsp--;
4361
4362
					after(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0());
4363
4364
				}
4365
4366
4367
			}
4368
4369
		} catch (RecognitionException re) {
4370
			reportError(re);
4371
			recover(input, re);
4372
		} finally {
4373
4374
			restoreStackSize(stackSize);
4375
4376
		}
4377
		return;
4378
	}
4379
4380
	// $ANTLR end rule__MultiplicityRule__BoundsAssignment_1
4381
4382
4383
	// $ANTLR start rule__MultiplicityRule__BoundsAssignment_2_1
4384
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1701:1: rule__MultiplicityRule__BoundsAssignment_2_1 : ( ruleBoundSpecification ) ;
4385
	public final void rule__MultiplicityRule__BoundsAssignment_2_1() throws RecognitionException {
4386
4387
		int stackSize = keepStackSize();
4388
4389
		try {
4390
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1705:1: ( ( ruleBoundSpecification ) )
4391
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1706:1: ( ruleBoundSpecification )
4392
			{
4393
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1706:1: ( ruleBoundSpecification )
4394
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1707:1: ruleBoundSpecification
4395
				{
4396
					before(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0());
4397
					pushFollow(FOLLOW_ruleBoundSpecification_in_rule__MultiplicityRule__BoundsAssignment_2_13460);
4398
					ruleBoundSpecification();
4399
					_fsp--;
4400
4401
					after(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0());
4402
4403
				}
4404
4405
4406
			}
4407
4408
		} catch (RecognitionException re) {
4409
			reportError(re);
4410
			recover(input, re);
4411
		} finally {
4412
4413
			restoreStackSize(stackSize);
4414
4415
		}
4416
		return;
4417
	}
4418
4419
	// $ANTLR end rule__MultiplicityRule__BoundsAssignment_2_1
4420
4421
4422
	// $ANTLR start rule__BoundSpecification__ValueAssignment
4423
	// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1716:1: rule__BoundSpecification__ValueAssignment : ( RULE_UNLIMITEDLITERAL ) ;
4424
	public final void rule__BoundSpecification__ValueAssignment() throws RecognitionException {
4425
4426
		int stackSize = keepStackSize();
4427
4428
		try {
4429
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1720:1: ( ( RULE_UNLIMITEDLITERAL ) )
4430
			// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1721:1: ( RULE_UNLIMITEDLITERAL )
4431
			{
4432
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1721:1: ( RULE_UNLIMITEDLITERAL )
4433
				// ../org.eclipse.papyrus.parameter.editor.xtext.ui/src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/contentassist/antlr/internal/InternalUmlParameter.g:1722:1: RULE_UNLIMITEDLITERAL
4434
				{
4435
					before(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0());
4436
					match(input, RULE_UNLIMITEDLITERAL, FOLLOW_RULE_UNLIMITEDLITERAL_in_rule__BoundSpecification__ValueAssignment3491);
4437
					after(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0());
4438
4439
				}
4440
4441
4442
			}
4443
4444
		} catch (RecognitionException re) {
4445
			reportError(re);
4446
			recover(input, re);
4447
		} finally {
4448
4449
			restoreStackSize(stackSize);
4450
4451
		}
4452
		return;
4453
	}
4454
4455
	// $ANTLR end rule__BoundSpecification__ValueAssignment
4456
4457
4458
4459
4460
	public static final BitSet FOLLOW_ruleParameterRule_in_entryRuleParameterRule61 = new BitSet(new long[]{ 0x0000000000000000L });
4461
4462
	public static final BitSet FOLLOW_EOF_in_entryRuleParameterRule68 = new BitSet(new long[]{ 0x0000000000000002L });
4463
4464
	public static final BitSet FOLLOW_rule__ParameterRule__Group__0_in_ruleParameterRule94 = new BitSet(new long[]{ 0x0000000000000002L });
4465
4466
	public static final BitSet FOLLOW_ruleModifiersRule_in_entryRuleModifiersRule121 = new BitSet(new long[]{ 0x0000000000000000L });
4467
4468
	public static final BitSet FOLLOW_EOF_in_entryRuleModifiersRule128 = new BitSet(new long[]{ 0x0000000000000002L });
4469
4470
	public static final BitSet FOLLOW_rule__ModifiersRule__Group__0_in_ruleModifiersRule154 = new BitSet(new long[]{ 0x0000000000000002L });
4471
4472
	public static final BitSet FOLLOW_ruleModifierSpecification_in_entryRuleModifierSpecification181 = new BitSet(new long[]{ 0x0000000000000000L });
4473
4474
	public static final BitSet FOLLOW_EOF_in_entryRuleModifierSpecification188 = new BitSet(new long[]{ 0x0000000000000002L });
4475
4476
	public static final BitSet FOLLOW_rule__ModifierSpecification__ValueAssignment_in_ruleModifierSpecification214 = new BitSet(new long[]{ 0x0000000000000002L });
4477
4478
	public static final BitSet FOLLOW_ruleEffectRule_in_entryRuleEffectRule241 = new BitSet(new long[]{ 0x0000000000000000L });
4479
4480
	public static final BitSet FOLLOW_EOF_in_entryRuleEffectRule248 = new BitSet(new long[]{ 0x0000000000000002L });
4481
4482
	public static final BitSet FOLLOW_rule__EffectRule__Group__0_in_ruleEffectRule274 = new BitSet(new long[]{ 0x0000000000000002L });
4483
4484
	public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName301 = new BitSet(new long[]{ 0x0000000000000000L });
4485
4486
	public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName308 = new BitSet(new long[]{ 0x0000000000000002L });
4487
4488
	public static final BitSet FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName334 = new BitSet(new long[]{ 0x0000000000000002L });
4489
4490
	public static final BitSet FOLLOW_ruleTypeRule_in_entryRuleTypeRule361 = new BitSet(new long[]{ 0x0000000000000000L });
4491
4492
	public static final BitSet FOLLOW_EOF_in_entryRuleTypeRule368 = new BitSet(new long[]{ 0x0000000000000002L });
4493
4494
	public static final BitSet FOLLOW_rule__TypeRule__Group__0_in_ruleTypeRule394 = new BitSet(new long[]{ 0x0000000000000002L });
4495
4496
	public static final BitSet FOLLOW_ruleMultiplicityRule_in_entryRuleMultiplicityRule421 = new BitSet(new long[]{ 0x0000000000000000L });
4497
4498
	public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityRule428 = new BitSet(new long[]{ 0x0000000000000002L });
4499
4500
	public static final BitSet FOLLOW_rule__MultiplicityRule__Group__0_in_ruleMultiplicityRule454 = new BitSet(new long[]{ 0x0000000000000002L });
4501
4502
	public static final BitSet FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification481 = new BitSet(new long[]{ 0x0000000000000000L });
4503
4504
	public static final BitSet FOLLOW_EOF_in_entryRuleBoundSpecification488 = new BitSet(new long[]{ 0x0000000000000002L });
4505
4506
	public static final BitSet FOLLOW_rule__BoundSpecification__ValueAssignment_in_ruleBoundSpecification514 = new BitSet(new long[]{ 0x0000000000000002L });
4507
4508
	public static final BitSet FOLLOW_rule__ModifierKind__Alternatives_in_ruleModifierKind551 = new BitSet(new long[]{ 0x0000000000000002L });
4509
4510
	public static final BitSet FOLLOW_rule__EffectKind__Alternatives_in_ruleEffectKind587 = new BitSet(new long[]{ 0x0000000000000002L });
4511
4512
	public static final BitSet FOLLOW_rule__VisibilityKind__Alternatives_in_ruleVisibilityKind623 = new BitSet(new long[]{ 0x0000000000000002L });
4513
4514
	public static final BitSet FOLLOW_rule__Direction__Alternatives_in_ruleDirection659 = new BitSet(new long[]{ 0x0000000000000002L });
4515
4516
	public static final BitSet FOLLOW_rule__ParameterRule__TypeAssignment_4_0_in_rule__ParameterRule__Alternatives_4694 = new BitSet(new long[]{ 0x0000000000000002L });
4517
4518
	public static final BitSet FOLLOW_12_in_rule__ParameterRule__Alternatives_4713 = new BitSet(new long[]{ 0x0000000000000002L });
4519
4520
	public static final BitSet FOLLOW_13_in_rule__ModifierKind__Alternatives748 = new BitSet(new long[]{ 0x0000000000000002L });
4521
4522
	public static final BitSet FOLLOW_14_in_rule__ModifierKind__Alternatives769 = new BitSet(new long[]{ 0x0000000000000002L });
4523
4524
	public static final BitSet FOLLOW_15_in_rule__ModifierKind__Alternatives790 = new BitSet(new long[]{ 0x0000000000000002L });
4525
4526
	public static final BitSet FOLLOW_16_in_rule__ModifierKind__Alternatives811 = new BitSet(new long[]{ 0x0000000000000002L });
4527
4528
	public static final BitSet FOLLOW_17_in_rule__EffectKind__Alternatives847 = new BitSet(new long[]{ 0x0000000000000002L });
4529
4530
	public static final BitSet FOLLOW_18_in_rule__EffectKind__Alternatives868 = new BitSet(new long[]{ 0x0000000000000002L });
4531
4532
	public static final BitSet FOLLOW_19_in_rule__EffectKind__Alternatives889 = new BitSet(new long[]{ 0x0000000000000002L });
4533
4534
	public static final BitSet FOLLOW_20_in_rule__EffectKind__Alternatives910 = new BitSet(new long[]{ 0x0000000000000002L });
4535
4536
	public static final BitSet FOLLOW_21_in_rule__VisibilityKind__Alternatives946 = new BitSet(new long[]{ 0x0000000000000002L });
4537
4538
	public static final BitSet FOLLOW_22_in_rule__VisibilityKind__Alternatives967 = new BitSet(new long[]{ 0x0000000000000002L });
4539
4540
	public static final BitSet FOLLOW_23_in_rule__VisibilityKind__Alternatives988 = new BitSet(new long[]{ 0x0000000000000002L });
4541
4542
	public static final BitSet FOLLOW_24_in_rule__VisibilityKind__Alternatives1009 = new BitSet(new long[]{ 0x0000000000000002L });
4543
4544
	public static final BitSet FOLLOW_25_in_rule__Direction__Alternatives1045 = new BitSet(new long[]{ 0x0000000000000002L });
4545
4546
	public static final BitSet FOLLOW_26_in_rule__Direction__Alternatives1066 = new BitSet(new long[]{ 0x0000000000000002L });
4547
4548
	public static final BitSet FOLLOW_27_in_rule__Direction__Alternatives1087 = new BitSet(new long[]{ 0x0000000000000002L });
4549
4550
	public static final BitSet FOLLOW_28_in_rule__Direction__Alternatives1108 = new BitSet(new long[]{ 0x0000000000000002L });
4551
4552
	public static final BitSet FOLLOW_rule__ParameterRule__Group__0__Impl_in_rule__ParameterRule__Group__01141 = new BitSet(new long[]{ 0x000000001E000000L });
4553
4554
	public static final BitSet FOLLOW_rule__ParameterRule__Group__1_in_rule__ParameterRule__Group__01144 = new BitSet(new long[]{ 0x0000000000000002L });
4555
4556
	public static final BitSet FOLLOW_rule__ParameterRule__VisibilityAssignment_0_in_rule__ParameterRule__Group__0__Impl1171 = new BitSet(new long[]{ 0x0000000000000002L });
4557
4558
	public static final BitSet FOLLOW_rule__ParameterRule__Group__1__Impl_in_rule__ParameterRule__Group__11201 = new BitSet(new long[]{ 0x0000000000000010L });
4559
4560
	public static final BitSet FOLLOW_rule__ParameterRule__Group__2_in_rule__ParameterRule__Group__11204 = new BitSet(new long[]{ 0x0000000000000002L });
4561
4562
	public static final BitSet FOLLOW_rule__ParameterRule__DirectionAssignment_1_in_rule__ParameterRule__Group__1__Impl1231 = new BitSet(new long[]{ 0x0000000000000002L });
4563
4564
	public static final BitSet FOLLOW_rule__ParameterRule__Group__2__Impl_in_rule__ParameterRule__Group__21261 = new BitSet(new long[]{ 0x0000000020000000L });
4565
4566
	public static final BitSet FOLLOW_rule__ParameterRule__Group__3_in_rule__ParameterRule__Group__21264 = new BitSet(new long[]{ 0x0000000000000002L });
4567
4568
	public static final BitSet FOLLOW_rule__ParameterRule__NameAssignment_2_in_rule__ParameterRule__Group__2__Impl1291 = new BitSet(new long[]{ 0x0000000000000002L });
4569
4570
	public static final BitSet FOLLOW_rule__ParameterRule__Group__3__Impl_in_rule__ParameterRule__Group__31321 = new BitSet(new long[]{ 0x0000000000001010L });
4571
4572
	public static final BitSet FOLLOW_rule__ParameterRule__Group__4_in_rule__ParameterRule__Group__31324 = new BitSet(new long[]{ 0x0000000000000002L });
4573
4574
	public static final BitSet FOLLOW_29_in_rule__ParameterRule__Group__3__Impl1352 = new BitSet(new long[]{ 0x0000000000000002L });
4575
4576
	public static final BitSet FOLLOW_rule__ParameterRule__Group__4__Impl_in_rule__ParameterRule__Group__41383 = new BitSet(new long[]{ 0x0000000840000000L });
4577
4578
	public static final BitSet FOLLOW_rule__ParameterRule__Group__5_in_rule__ParameterRule__Group__41386 = new BitSet(new long[]{ 0x0000000000000002L });
4579
4580
	public static final BitSet FOLLOW_rule__ParameterRule__Alternatives_4_in_rule__ParameterRule__Group__4__Impl1413 = new BitSet(new long[]{ 0x0000000000000002L });
4581
4582
	public static final BitSet FOLLOW_rule__ParameterRule__Group__5__Impl_in_rule__ParameterRule__Group__51443 = new BitSet(new long[]{ 0x0000000040000000L });
4583
4584
	public static final BitSet FOLLOW_rule__ParameterRule__Group__6_in_rule__ParameterRule__Group__51446 = new BitSet(new long[]{ 0x0000000000000002L });
4585
4586
	public static final BitSet FOLLOW_rule__ParameterRule__MultiplicityAssignment_5_in_rule__ParameterRule__Group__5__Impl1473 = new BitSet(new long[]{ 0x0000000000000002L });
4587
4588
	public static final BitSet FOLLOW_rule__ParameterRule__Group__6__Impl_in_rule__ParameterRule__Group__61504 = new BitSet(new long[]{ 0x0000000040000000L });
4589
4590
	public static final BitSet FOLLOW_rule__ParameterRule__Group__7_in_rule__ParameterRule__Group__61507 = new BitSet(new long[]{ 0x0000000000000002L });
4591
4592
	public static final BitSet FOLLOW_rule__ParameterRule__ModifiersAssignment_6_in_rule__ParameterRule__Group__6__Impl1534 = new BitSet(new long[]{ 0x0000000000000002L });
4593
4594
	public static final BitSet FOLLOW_rule__ParameterRule__Group__7__Impl_in_rule__ParameterRule__Group__71565 = new BitSet(new long[]{ 0x0000000000000002L });
4595
4596
	public static final BitSet FOLLOW_rule__ParameterRule__EffectAssignment_7_in_rule__ParameterRule__Group__7__Impl1592 = new BitSet(new long[]{ 0x0000000000000002L });
4597
4598
	public static final BitSet FOLLOW_rule__ModifiersRule__Group__0__Impl_in_rule__ModifiersRule__Group__01638 = new BitSet(new long[]{ 0x000000000001E000L });
4599
4600
	public static final BitSet FOLLOW_rule__ModifiersRule__Group__1_in_rule__ModifiersRule__Group__01641 = new BitSet(new long[]{ 0x0000000000000002L });
4601
4602
	public static final BitSet FOLLOW_30_in_rule__ModifiersRule__Group__0__Impl1669 = new BitSet(new long[]{ 0x0000000000000002L });
4603
4604
	public static final BitSet FOLLOW_rule__ModifiersRule__Group__1__Impl_in_rule__ModifiersRule__Group__11700 = new BitSet(new long[]{ 0x0000000180000000L });
4605
4606
	public static final BitSet FOLLOW_rule__ModifiersRule__Group__2_in_rule__ModifiersRule__Group__11703 = new BitSet(new long[]{ 0x0000000000000002L });
4607
4608
	public static final BitSet FOLLOW_rule__ModifiersRule__ValuesAssignment_1_in_rule__ModifiersRule__Group__1__Impl1730 = new BitSet(new long[]{ 0x0000000000000002L });
4609
4610
	public static final BitSet FOLLOW_rule__ModifiersRule__Group__2__Impl_in_rule__ModifiersRule__Group__21760 = new BitSet(new long[]{ 0x0000000080000000L });
4611
4612
	public static final BitSet FOLLOW_rule__ModifiersRule__Group__3_in_rule__ModifiersRule__Group__21763 = new BitSet(new long[]{ 0x0000000000000002L });
4613
4614
	public static final BitSet FOLLOW_rule__ModifiersRule__Group_2__0_in_rule__ModifiersRule__Group__2__Impl1790 = new BitSet(new long[]{ 0x0000000100000002L });
4615
4616
	public static final BitSet FOLLOW_rule__ModifiersRule__Group__3__Impl_in_rule__ModifiersRule__Group__31821 = new BitSet(new long[]{ 0x0000000000000002L });
4617
4618
	public static final BitSet FOLLOW_31_in_rule__ModifiersRule__Group__3__Impl1849 = new BitSet(new long[]{ 0x0000000000000002L });
4619
4620
	public static final BitSet FOLLOW_rule__ModifiersRule__Group_2__0__Impl_in_rule__ModifiersRule__Group_2__01888 = new BitSet(new long[]{ 0x000000000001E000L });
4621
4622
	public static final BitSet FOLLOW_rule__ModifiersRule__Group_2__1_in_rule__ModifiersRule__Group_2__01891 = new BitSet(new long[]{ 0x0000000000000002L });
4623
4624
	public static final BitSet FOLLOW_32_in_rule__ModifiersRule__Group_2__0__Impl1919 = new BitSet(new long[]{ 0x0000000000000002L });
4625
4626
	public static final BitSet FOLLOW_rule__ModifiersRule__Group_2__1__Impl_in_rule__ModifiersRule__Group_2__11950 = new BitSet(new long[]{ 0x0000000000000002L });
4627
4628
	public static final BitSet FOLLOW_rule__ModifiersRule__ValuesAssignment_2_1_in_rule__ModifiersRule__Group_2__1__Impl1977 = new BitSet(new long[]{ 0x0000000000000002L });
4629
4630
	public static final BitSet FOLLOW_rule__EffectRule__Group__0__Impl_in_rule__EffectRule__Group__02011 = new BitSet(new long[]{ 0x0000000200000000L });
4631
4632
	public static final BitSet FOLLOW_rule__EffectRule__Group__1_in_rule__EffectRule__Group__02014 = new BitSet(new long[]{ 0x0000000000000002L });
4633
4634
	public static final BitSet FOLLOW_30_in_rule__EffectRule__Group__0__Impl2042 = new BitSet(new long[]{ 0x0000000000000002L });
4635
4636
	public static final BitSet FOLLOW_rule__EffectRule__Group__1__Impl_in_rule__EffectRule__Group__12073 = new BitSet(new long[]{ 0x00000000001E0000L });
4637
4638
	public static final BitSet FOLLOW_rule__EffectRule__Group__2_in_rule__EffectRule__Group__12076 = new BitSet(new long[]{ 0x0000000000000002L });
4639
4640
	public static final BitSet FOLLOW_33_in_rule__EffectRule__Group__1__Impl2104 = new BitSet(new long[]{ 0x0000000000000002L });
4641
4642
	public static final BitSet FOLLOW_rule__EffectRule__Group__2__Impl_in_rule__EffectRule__Group__22135 = new BitSet(new long[]{ 0x0000000080000000L });
4643
4644
	public static final BitSet FOLLOW_rule__EffectRule__Group__3_in_rule__EffectRule__Group__22138 = new BitSet(new long[]{ 0x0000000000000002L });
4645
4646
	public static final BitSet FOLLOW_rule__EffectRule__EffectKindAssignment_2_in_rule__EffectRule__Group__2__Impl2165 = new BitSet(new long[]{ 0x0000000000000002L });
4647
4648
	public static final BitSet FOLLOW_rule__EffectRule__Group__3__Impl_in_rule__EffectRule__Group__32195 = new BitSet(new long[]{ 0x0000000000000002L });
4649
4650
	public static final BitSet FOLLOW_31_in_rule__EffectRule__Group__3__Impl2223 = new BitSet(new long[]{ 0x0000000000000002L });
4651
4652
	public static final BitSet FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__02262 = new BitSet(new long[]{ 0x0000000400000000L });
4653
4654
	public static final BitSet FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__02265 = new BitSet(new long[]{ 0x0000000000000002L });
4655
4656
	public static final BitSet FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl2292 = new BitSet(new long[]{ 0x0000000000000002L });
4657
4658
	public static final BitSet FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__12322 = new BitSet(new long[]{ 0x0000000000000012L });
4659
4660
	public static final BitSet FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__12325 = new BitSet(new long[]{ 0x0000000000000002L });
4661
4662
	public static final BitSet FOLLOW_34_in_rule__QualifiedName__Group__1__Impl2353 = new BitSet(new long[]{ 0x0000000000000002L });
4663
4664
	public static final BitSet FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__22384 = new BitSet(new long[]{ 0x0000000000000002L });
4665
4666
	public static final BitSet FOLLOW_rule__QualifiedName__RemainingAssignment_2_in_rule__QualifiedName__Group__2__Impl2411 = new BitSet(new long[]{ 0x0000000000000002L });
4667
4668
	public static final BitSet FOLLOW_rule__TypeRule__Group__0__Impl_in_rule__TypeRule__Group__02448 = new BitSet(new long[]{ 0x0000000000000010L });
4669
4670
	public static final BitSet FOLLOW_rule__TypeRule__Group__1_in_rule__TypeRule__Group__02451 = new BitSet(new long[]{ 0x0000000000000002L });
4671
4672
	public static final BitSet FOLLOW_rule__TypeRule__PathAssignment_0_in_rule__TypeRule__Group__0__Impl2478 = new BitSet(new long[]{ 0x0000000000000002L });
4673
4674
	public static final BitSet FOLLOW_rule__TypeRule__Group__1__Impl_in_rule__TypeRule__Group__12509 = new BitSet(new long[]{ 0x0000000000000002L });
4675
4676
	public static final BitSet FOLLOW_rule__TypeRule__TypeAssignment_1_in_rule__TypeRule__Group__1__Impl2536 = new BitSet(new long[]{ 0x0000000000000002L });
4677
4678
	public static final BitSet FOLLOW_rule__MultiplicityRule__Group__0__Impl_in_rule__MultiplicityRule__Group__02570 = new BitSet(new long[]{ 0x0000000000000020L });
4679
4680
	public static final BitSet FOLLOW_rule__MultiplicityRule__Group__1_in_rule__MultiplicityRule__Group__02573 = new BitSet(new long[]{ 0x0000000000000002L });
4681
4682
	public static final BitSet FOLLOW_35_in_rule__MultiplicityRule__Group__0__Impl2601 = new BitSet(new long[]{ 0x0000000000000002L });
4683
4684
	public static final BitSet FOLLOW_rule__MultiplicityRule__Group__1__Impl_in_rule__MultiplicityRule__Group__12632 = new BitSet(new long[]{ 0x0000003000000000L });
4685
4686
	public static final BitSet FOLLOW_rule__MultiplicityRule__Group__2_in_rule__MultiplicityRule__Group__12635 = new BitSet(new long[]{ 0x0000000000000002L });
4687
4688
	public static final BitSet FOLLOW_rule__MultiplicityRule__BoundsAssignment_1_in_rule__MultiplicityRule__Group__1__Impl2662 = new BitSet(new long[]{ 0x0000000000000002L });
4689
4690
	public static final BitSet FOLLOW_rule__MultiplicityRule__Group__2__Impl_in_rule__MultiplicityRule__Group__22692 = new BitSet(new long[]{ 0x0000001000000000L });
4691
4692
	public static final BitSet FOLLOW_rule__MultiplicityRule__Group__3_in_rule__MultiplicityRule__Group__22695 = new BitSet(new long[]{ 0x0000000000000002L });
4693
4694
	public static final BitSet FOLLOW_rule__MultiplicityRule__Group_2__0_in_rule__MultiplicityRule__Group__2__Impl2722 = new BitSet(new long[]{ 0x0000000000000002L });
4695
4696
	public static final BitSet FOLLOW_rule__MultiplicityRule__Group__3__Impl_in_rule__MultiplicityRule__Group__32753 = new BitSet(new long[]{ 0x0000000000000002L });
4697
4698
	public static final BitSet FOLLOW_36_in_rule__MultiplicityRule__Group__3__Impl2781 = new BitSet(new long[]{ 0x0000000000000002L });
4699
4700
	public static final BitSet FOLLOW_rule__MultiplicityRule__Group_2__0__Impl_in_rule__MultiplicityRule__Group_2__02820 = new BitSet(new long[]{ 0x0000000000000020L });
4701
4702
	public static final BitSet FOLLOW_rule__MultiplicityRule__Group_2__1_in_rule__MultiplicityRule__Group_2__02823 = new BitSet(new long[]{ 0x0000000000000002L });
4703
4704
	public static final BitSet FOLLOW_37_in_rule__MultiplicityRule__Group_2__0__Impl2851 = new BitSet(new long[]{ 0x0000000000000002L });
4705
4706
	public static final BitSet FOLLOW_rule__MultiplicityRule__Group_2__1__Impl_in_rule__MultiplicityRule__Group_2__12882 = new BitSet(new long[]{ 0x0000000000000002L });
4707
4708
	public static final BitSet FOLLOW_rule__MultiplicityRule__BoundsAssignment_2_1_in_rule__MultiplicityRule__Group_2__1__Impl2909 = new BitSet(new long[]{ 0x0000000000000002L });
4709
4710
	public static final BitSet FOLLOW_ruleVisibilityKind_in_rule__ParameterRule__VisibilityAssignment_02948 = new BitSet(new long[]{ 0x0000000000000002L });
4711
4712
	public static final BitSet FOLLOW_ruleDirection_in_rule__ParameterRule__DirectionAssignment_12979 = new BitSet(new long[]{ 0x0000000000000002L });
4713
4714
	public static final BitSet FOLLOW_RULE_ID_in_rule__ParameterRule__NameAssignment_23010 = new BitSet(new long[]{ 0x0000000000000002L });
4715
4716
	public static final BitSet FOLLOW_ruleTypeRule_in_rule__ParameterRule__TypeAssignment_4_03041 = new BitSet(new long[]{ 0x0000000000000002L });
4717
4718
	public static final BitSet FOLLOW_ruleMultiplicityRule_in_rule__ParameterRule__MultiplicityAssignment_53072 = new BitSet(new long[]{ 0x0000000000000002L });
4719
4720
	public static final BitSet FOLLOW_ruleModifiersRule_in_rule__ParameterRule__ModifiersAssignment_63103 = new BitSet(new long[]{ 0x0000000000000002L });
4721
4722
	public static final BitSet FOLLOW_ruleEffectRule_in_rule__ParameterRule__EffectAssignment_73134 = new BitSet(new long[]{ 0x0000000000000002L });
4723
4724
	public static final BitSet FOLLOW_ruleModifierSpecification_in_rule__ModifiersRule__ValuesAssignment_13165 = new BitSet(new long[]{ 0x0000000000000002L });
4725
4726
	public static final BitSet FOLLOW_ruleModifierSpecification_in_rule__ModifiersRule__ValuesAssignment_2_13196 = new BitSet(new long[]{ 0x0000000000000002L });
4727
4728
	public static final BitSet FOLLOW_ruleModifierKind_in_rule__ModifierSpecification__ValueAssignment3227 = new BitSet(new long[]{ 0x0000000000000002L });
4729
4730
	public static final BitSet FOLLOW_ruleEffectKind_in_rule__EffectRule__EffectKindAssignment_23258 = new BitSet(new long[]{ 0x0000000000000002L });
4731
4732
	public static final BitSet FOLLOW_RULE_ID_in_rule__QualifiedName__PathAssignment_03293 = new BitSet(new long[]{ 0x0000000000000002L });
4733
4734
	public static final BitSet FOLLOW_ruleQualifiedName_in_rule__QualifiedName__RemainingAssignment_23328 = new BitSet(new long[]{ 0x0000000000000002L });
4735
4736
	public static final BitSet FOLLOW_ruleQualifiedName_in_rule__TypeRule__PathAssignment_03359 = new BitSet(new long[]{ 0x0000000000000002L });
4737
4738
	public static final BitSet FOLLOW_RULE_ID_in_rule__TypeRule__TypeAssignment_13394 = new BitSet(new long[]{ 0x0000000000000002L });
4739
4740
	public static final BitSet FOLLOW_ruleBoundSpecification_in_rule__MultiplicityRule__BoundsAssignment_13429 = new BitSet(new long[]{ 0x0000000000000002L });
4741
4742
	public static final BitSet FOLLOW_ruleBoundSpecification_in_rule__MultiplicityRule__BoundsAssignment_2_13460 = new BitSet(new long[]{ 0x0000000000000002L });
4743
4744
	public static final BitSet FOLLOW_RULE_UNLIMITEDLITERAL_in_rule__BoundSpecification__ValueAssignment3491 = new BitSet(new long[]{ 0x0000000000000002L });
4745
4746
}
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/ui/internal/UmlParameterActivator.java (-22 / +32 lines)
Lines 3-72 Link Here
3
 */
3
 */
4
package org.eclipse.papyrus.parameter.editor.xtext.ui.internal;
4
package org.eclipse.papyrus.parameter.editor.xtext.ui.internal;
5
5
6
import static com.google.inject.util.Modules.override;
7
import static com.google.inject.Guice.createInjector;
8
6
import org.apache.log4j.Logger;
9
import org.apache.log4j.Logger;
7
10
8
import org.eclipse.ui.plugin.AbstractUIPlugin;
11
import org.eclipse.ui.plugin.AbstractUIPlugin;
9
import org.osgi.framework.BundleContext;
12
import org.osgi.framework.BundleContext;
10
13
11
import com.google.inject.Guice;
12
import com.google.inject.Injector;
14
import com.google.inject.Injector;
13
import com.google.inject.Module;
15
import com.google.inject.Module;
14
import com.google.inject.util.Modules;
15
16
16
import java.util.Map;
17
import java.util.Map;
17
import java.util.HashMap;
18
import java.util.HashMap;
18
19
19
/**
20
/**
20
 * Generated
21
 * This class was generated. Customizations should only happen in a newly
22
 * introduced subclass. 
21
 */
23
 */
22
public class UmlParameterActivator extends AbstractUIPlugin {
24
public class UmlParameterActivator extends AbstractUIPlugin {
23
25
24
	private Map<String, Injector> injectors = new HashMap<String, Injector>();
26
	private Map<String,Injector> injectors = new HashMap<String,Injector>();
25
26
	private static UmlParameterActivator INSTANCE;
27
	private static UmlParameterActivator INSTANCE;
27
28
28
	public Injector getInjector(String languageName) {
29
	public Injector getInjector(String languageName) {
29
		return injectors.get(languageName);
30
		return injectors.get(languageName);
30
	}
31
	}
31
32
	
32
	@Override
33
	@Override
33
	public void start(BundleContext context) throws Exception {
34
	public void start(BundleContext context) throws Exception {
34
		super.start(context);
35
		super.start(context);
35
		INSTANCE = this;
36
		INSTANCE = this;
36
		try {
37
		try {
37
38
			registerInjectorFor("org.eclipse.papyrus.parameter.editor.xtext.UmlParameter");
38
			injectors.put("org.eclipse.papyrus.parameter.editor.xtext.UmlParameter", Guice.createInjector(Modules.override(Modules.override(getRuntimeModule("org.eclipse.papyrus.parameter.editor.xtext.UmlParameter")).with(getUiModule("org.eclipse.papyrus.parameter.editor.xtext.UmlParameter"))).with(getSharedStateModule())));
39
			
39
40
		} catch (Exception e) {
40
		} catch (Exception e) {
41
			Logger.getLogger(getClass()).error(e.getMessage(), e);
41
			Logger.getLogger(getClass()).error(e.getMessage(), e);
42
			throw e;
42
			throw e;
43
		}
43
		}
44
	}
44
	}
45
45
	
46
	protected void registerInjectorFor(String language) throws Exception {
47
		injectors.put(language, createInjector(
48
		  override(override(getRuntimeModule(language)).with(getSharedStateModule())).with(getUiModule(language))));
49
	}
50
	
51
	@Override
52
	public void stop(BundleContext context) throws Exception {
53
		injectors.clear();
54
		INSTANCE = null;
55
		super.stop(context);
56
	}
57
	
46
	public static UmlParameterActivator getInstance() {
58
	public static UmlParameterActivator getInstance() {
47
		return INSTANCE;
59
		return INSTANCE;
48
	}
60
	}
49
61
	
50
	protected Module getRuntimeModule(String grammar) {
62
	protected Module getRuntimeModule(String grammar) {
51
63
		if ("org.eclipse.papyrus.parameter.editor.xtext.UmlParameter".equals(grammar)) {
52
		if("org.eclipse.papyrus.parameter.editor.xtext.UmlParameter".equals(grammar)) {
64
		  return new org.eclipse.papyrus.parameter.editor.xtext.UmlParameterRuntimeModule();
53
			return new org.eclipse.papyrus.parameter.editor.xtext.UmlParameterRuntimeModule();
54
		}
65
		}
55
66
		
56
		throw new IllegalArgumentException(grammar);
67
		throw new IllegalArgumentException(grammar);
57
	}
68
	}
58
69
	
59
	protected Module getUiModule(String grammar) {
70
	protected Module getUiModule(String grammar) {
60
71
		if ("org.eclipse.papyrus.parameter.editor.xtext.UmlParameter".equals(grammar)) {
61
		if("org.eclipse.papyrus.parameter.editor.xtext.UmlParameter".equals(grammar)) {
72
		  return new org.eclipse.papyrus.parameter.editor.xtext.ui.UmlParameterUiModule(this);
62
			return new org.eclipse.papyrus.parameter.editor.xtext.ui.UmlParameterUiModule(this);
63
		}
73
		}
64
74
		
65
		throw new IllegalArgumentException(grammar);
75
		throw new IllegalArgumentException(grammar);
66
	}
76
	}
67
77
	
68
	protected Module getSharedStateModule() {
78
	protected Module getSharedStateModule() {
69
		return new org.eclipse.xtext.ui.shared.SharedStateModule();
79
		return new org.eclipse.xtext.ui.shared.SharedStateModule();
70
	}
80
	}
71
81
	
72
}
82
}
(-)plugin.xml_gen (-1 lines)
Lines 139-145 Link Here
139
139
140
140
141
141
142
143
	<!-- Quick Outline -->
142
	<!-- Quick Outline -->
144
	<extension
143
	<extension
145
		point="org.eclipse.ui.handlers">
144
		point="org.eclipse.ui.handlers">
(-)src/org/eclipse/papyrus/parameter/editor/xtext/ui/outline/UmlParameterTransformer.java (-24 lines)
Lines 1-24 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.parameter.editor.xtext.ui.outline;
15
16
import org.eclipse.xtext.ui.editor.outline.transformer.AbstractDeclarativeSemanticModelTransformer;
17
18
/**
19
 * customization of the default outline structure
20
 * 
21
 */
22
public class UmlParameterTransformer extends AbstractDeclarativeSemanticModelTransformer {
23
24
}
(-)src/org/eclipse/papyrus/parameter/editor/xtext/ui/outline/UmlParameterOutlineNodeAdapterFactory.java (-31 lines)
Lines 1-31 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.parameter.editor.xtext.ui.outline;
15
16
import org.eclipse.xtext.ui.editor.outline.actions.DefaultContentOutlineNodeAdapterFactory;
17
18
public class UmlParameterOutlineNodeAdapterFactory extends DefaultContentOutlineNodeAdapterFactory {
19
20
	private static final Class<?>[] types = {
21
	// provide list of classes to adapt to, e.g.:
22
	// Entity.class
23
	// Service.class
24
	};
25
26
	@Override
27
	public Class<?>[] getAdapterList() {
28
		return types;
29
	}
30
31
}
(-)src/org/eclipse/papyrus/parameter/editor/xtext/ui/outline/UmlParameterOutlineTreeProvider.java (+14 lines)
Line 0 Link Here
1
/*
2
* generated by Xtext
3
*/
4
package org.eclipse.papyrus.parameter.editor.xtext.ui.outline;
5
6
import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;
7
8
/**
9
 * customization of the default outline structure
10
 * 
11
 */
12
public class UmlParameterOutlineTreeProvider extends DefaultOutlineTreeProvider {
13
	
14
}
(-)plugin.xml_gen (-1 lines)
Lines 139-145 Link Here
139
139
140
140
141
141
142
143
	<!-- Quick Outline -->
142
	<!-- Quick Outline -->
144
	<extension
143
	<extension
145
		point="org.eclipse.ui.handlers">
144
		point="org.eclipse.ui.handlers">
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.tokens (+5 lines)
Lines 1-6 Link Here
1
RULE_NAMERULE=5
1
RULE_NAMERULE=5
2
RULE_ID=7
2
RULE_ID=7
3
RULE_STRING=4
3
RULE_STRING=4
4
T__16=16
5
T__15=15
6
T__12=12
7
T__14=14
8
T__13=13
4
RULE_ANY_OTHER=11
9
RULE_ANY_OTHER=11
5
RULE_INT=6
10
RULE_INT=6
6
RULE_WS=10
11
RULE_WS=10
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g (-1 / +1 lines)
Lines 769-775 Link Here
769
769
770
RULE_INT : ('0'..'9')+;
770
RULE_INT : ('0'..'9')+;
771
771
772
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
772
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
773
773
774
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
774
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
775
775
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessageLexer.java (-166 / +240 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.message.editor.xtext.ui.contentassist.antlr.internal;
1
package org.eclipse.papyrus.message.editor.xtext.ui.contentassist.antlr.internal;
15
2
16
// Hack: Use our own Lexer superclass by means of import. 
3
// Hack: Use our own Lexer superclass by means of import. 
Lines 28-145 Link Here
28
    public static final int RULE_NAMERULE=5;
15
    public static final int RULE_NAMERULE=5;
29
    public static final int RULE_ID=7;
16
    public static final int RULE_ID=7;
30
    public static final int RULE_STRING=4;
17
    public static final int RULE_STRING=4;
18
    public static final int T__16=16;
19
    public static final int T__15=15;
20
    public static final int T__12=12;
21
    public static final int T__14=14;
22
    public static final int T__13=13;
31
    public static final int RULE_ANY_OTHER=11;
23
    public static final int RULE_ANY_OTHER=11;
32
    public static final int RULE_INT=6;
24
    public static final int RULE_INT=6;
33
    public static final int T12=12;
34
    public static final int T13=13;
35
    public static final int T14=14;
36
    public static final int T15=15;
37
    public static final int RULE_WS=10;
25
    public static final int RULE_WS=10;
38
    public static final int Tokens=17;
39
    public static final int T16=16;
40
    public static final int RULE_SL_COMMENT=9;
26
    public static final int RULE_SL_COMMENT=9;
41
    public static final int EOF=-1;
27
    public static final int EOF=-1;
42
    public static final int RULE_ML_COMMENT=8;
28
    public static final int RULE_ML_COMMENT=8;
29
30
    // delegates
31
    // delegators
32
43
    public InternalUmlMessageLexer() {;} 
33
    public InternalUmlMessageLexer() {;} 
44
    public InternalUmlMessageLexer(CharStream input) {
34
    public InternalUmlMessageLexer(CharStream input) {
45
        super(input);
35
        this(input, new RecognizerSharedState());
36
    }
37
    public InternalUmlMessageLexer(CharStream input, RecognizerSharedState state) {
38
        super(input,state);
39
46
    }
40
    }
47
    public String getGrammarFileName() { return "../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g"; }
41
    public String getGrammarFileName() { return "../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g"; }
48
42
49
    // $ANTLR start T12
43
    // $ANTLR start "T__12"
50
    public final void mT12() throws RecognitionException {
44
    public final void mT__12() throws RecognitionException {
51
        try {
45
        try {
52
            int _type = T12;
46
            int _type = T__12;
53
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:10:5: ( ':' )
47
            int _channel = DEFAULT_TOKEN_CHANNEL;
54
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:10:7: ':'
48
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:11:7: ( ':' )
49
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:11:9: ':'
55
            {
50
            {
56
            match(':'); 
51
            match(':'); 
57
52
58
            }
53
            }
59
54
60
            this.type = _type;
55
            state.type = _type;
56
            state.channel = _channel;
61
        }
57
        }
62
        finally {
58
        finally {
63
        }
59
        }
64
    }
60
    }
65
    // $ANTLR end T12
61
    // $ANTLR end "T__12"
66
62
67
    // $ANTLR start T13
63
    // $ANTLR start "T__13"
68
    public final void mT13() throws RecognitionException {
64
    public final void mT__13() throws RecognitionException {
69
        try {
65
        try {
70
            int _type = T13;
66
            int _type = T__13;
71
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:11:5: ( '.' )
67
            int _channel = DEFAULT_TOKEN_CHANNEL;
72
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:11:7: '.'
68
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:12:7: ( '.' )
69
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:12:9: '.'
73
            {
70
            {
74
            match('.'); 
71
            match('.'); 
75
72
76
            }
73
            }
77
74
78
            this.type = _type;
75
            state.type = _type;
76
            state.channel = _channel;
79
        }
77
        }
80
        finally {
78
        finally {
81
        }
79
        }
82
    }
80
    }
83
    // $ANTLR end T13
81
    // $ANTLR end "T__13"
84
82
85
    // $ANTLR start T14
83
    // $ANTLR start "T__14"
86
    public final void mT14() throws RecognitionException {
84
    public final void mT__14() throws RecognitionException {
87
        try {
85
        try {
88
            int _type = T14;
86
            int _type = T__14;
89
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:12:5: ( '*' )
87
            int _channel = DEFAULT_TOKEN_CHANNEL;
90
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:12:7: '*'
88
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:13:7: ( '*' )
89
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:13:9: '*'
91
            {
90
            {
92
            match('*'); 
91
            match('*'); 
93
92
94
            }
93
            }
95
94
96
            this.type = _type;
95
            state.type = _type;
96
            state.channel = _channel;
97
        }
97
        }
98
        finally {
98
        finally {
99
        }
99
        }
100
    }
100
    }
101
    // $ANTLR end T14
101
    // $ANTLR end "T__14"
102
102
103
    // $ANTLR start T15
103
    // $ANTLR start "T__15"
104
    public final void mT15() throws RecognitionException {
104
    public final void mT__15() throws RecognitionException {
105
        try {
105
        try {
106
            int _type = T15;
106
            int _type = T__15;
107
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:13:5: ( '[' )
107
            int _channel = DEFAULT_TOKEN_CHANNEL;
108
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:13:7: '['
108
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:14:7: ( '[' )
109
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:14:9: '['
109
            {
110
            {
110
            match('['); 
111
            match('['); 
111
112
112
            }
113
            }
113
114
114
            this.type = _type;
115
            state.type = _type;
116
            state.channel = _channel;
115
        }
117
        }
116
        finally {
118
        finally {
117
        }
119
        }
118
    }
120
    }
119
    // $ANTLR end T15
121
    // $ANTLR end "T__15"
120
122
121
    // $ANTLR start T16
123
    // $ANTLR start "T__16"
122
    public final void mT16() throws RecognitionException {
124
    public final void mT__16() throws RecognitionException {
123
        try {
125
        try {
124
            int _type = T16;
126
            int _type = T__16;
125
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:14:5: ( ']' )
127
            int _channel = DEFAULT_TOKEN_CHANNEL;
126
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:14:7: ']'
128
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:15:7: ( ']' )
129
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:15:9: ']'
127
            {
130
            {
128
            match(']'); 
131
            match(']'); 
129
132
130
            }
133
            }
131
134
132
            this.type = _type;
135
            state.type = _type;
136
            state.channel = _channel;
133
        }
137
        }
134
        finally {
138
        finally {
135
        }
139
        }
136
    }
140
    }
137
    // $ANTLR end T16
141
    // $ANTLR end "T__16"
138
142
139
    // $ANTLR start RULE_NAMERULE
143
    // $ANTLR start "RULE_NAMERULE"
140
    public final void mRULE_NAMERULE() throws RecognitionException {
144
    public final void mRULE_NAMERULE() throws RecognitionException {
141
        try {
145
        try {
142
            int _type = RULE_NAMERULE;
146
            int _type = RULE_NAMERULE;
147
            int _channel = DEFAULT_TOKEN_CHANNEL;
143
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:766:15: ( ( 'a' .. 'z' | 'A' .. 'Z' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )* )
148
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:766:15: ( ( 'a' .. 'z' | 'A' .. 'Z' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )* )
144
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:766:17: ( 'a' .. 'z' | 'A' .. 'Z' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )*
149
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:766:17: ( 'a' .. 'z' | 'A' .. 'Z' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )*
145
            {
150
            {
Lines 148-157 Link Here
148
153
149
            }
154
            }
150
            else {
155
            else {
151
                MismatchedSetException mse =
156
                MismatchedSetException mse = new MismatchedSetException(null,input);
152
                    new MismatchedSetException(null,input);
157
                recover(mse);
153
                recover(mse);    throw mse;
158
                throw mse;}
154
            }
155
159
156
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:766:37: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )*
160
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:766:37: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )*
157
            loop1:
161
            loop1:
Lines 173-182 Link Here
173
177
174
            	    }
178
            	    }
175
            	    else {
179
            	    else {
176
            	        MismatchedSetException mse =
180
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
177
            	            new MismatchedSetException(null,input);
181
            	        recover(mse);
178
            	        recover(mse);    throw mse;
182
            	        throw mse;}
179
            	    }
180
183
181
184
182
            	    }
185
            	    }
Lines 190-206 Link Here
190
193
191
            }
194
            }
192
195
193
            this.type = _type;
196
            state.type = _type;
197
            state.channel = _channel;
194
        }
198
        }
195
        finally {
199
        finally {
196
        }
200
        }
197
    }
201
    }
198
    // $ANTLR end RULE_NAMERULE
202
    // $ANTLR end "RULE_NAMERULE"
199
203
200
    // $ANTLR start RULE_ID
204
    // $ANTLR start "RULE_ID"
201
    public final void mRULE_ID() throws RecognitionException {
205
    public final void mRULE_ID() throws RecognitionException {
202
        try {
206
        try {
203
            int _type = RULE_ID;
207
            int _type = RULE_ID;
208
            int _channel = DEFAULT_TOKEN_CHANNEL;
204
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:768:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
209
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:768:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
205
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:768:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
210
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:768:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
206
            {
211
            {
Lines 227-236 Link Here
227
232
228
            }
233
            }
229
            else {
234
            else {
230
                MismatchedSetException mse =
235
                MismatchedSetException mse = new MismatchedSetException(null,input);
231
                    new MismatchedSetException(null,input);
236
                recover(mse);
232
                recover(mse);    throw mse;
237
                throw mse;}
233
            }
234
238
235
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:768:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
239
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:768:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
236
            loop3:
240
            loop3:
Lines 252-261 Link Here
252
256
253
            	    }
257
            	    }
254
            	    else {
258
            	    else {
255
            	        MismatchedSetException mse =
259
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
256
            	            new MismatchedSetException(null,input);
260
            	        recover(mse);
257
            	        recover(mse);    throw mse;
261
            	        throw mse;}
258
            	    }
259
262
260
263
261
            	    }
264
            	    }
Lines 269-285 Link Here
269
272
270
            }
273
            }
271
274
272
            this.type = _type;
275
            state.type = _type;
276
            state.channel = _channel;
273
        }
277
        }
274
        finally {
278
        finally {
275
        }
279
        }
276
    }
280
    }
277
    // $ANTLR end RULE_ID
281
    // $ANTLR end "RULE_ID"
278
282
279
    // $ANTLR start RULE_INT
283
    // $ANTLR start "RULE_INT"
280
    public final void mRULE_INT() throws RecognitionException {
284
    public final void mRULE_INT() throws RecognitionException {
281
        try {
285
        try {
282
            int _type = RULE_INT;
286
            int _type = RULE_INT;
287
            int _channel = DEFAULT_TOKEN_CHANNEL;
283
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:770:10: ( ( '0' .. '9' )+ )
288
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:770:10: ( ( '0' .. '9' )+ )
284
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:770:12: ( '0' .. '9' )+
289
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:770:12: ( '0' .. '9' )+
285
            {
290
            {
Lines 316-336 Link Here
316
321
317
            }
322
            }
318
323
319
            this.type = _type;
324
            state.type = _type;
325
            state.channel = _channel;
320
        }
326
        }
321
        finally {
327
        finally {
322
        }
328
        }
323
    }
329
    }
324
    // $ANTLR end RULE_INT
330
    // $ANTLR end "RULE_INT"
325
331
326
    // $ANTLR start RULE_STRING
332
    // $ANTLR start "RULE_STRING"
327
    public final void mRULE_STRING() throws RecognitionException {
333
    public final void mRULE_STRING() throws RecognitionException {
328
        try {
334
        try {
329
            int _type = RULE_STRING;
335
            int _type = RULE_STRING;
330
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
336
            int _channel = DEFAULT_TOKEN_CHANNEL;
331
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
337
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
338
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
332
            {
339
            {
333
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
340
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
334
            int alt7=2;
341
            int alt7=2;
335
            int LA7_0 = input.LA(1);
342
            int LA7_0 = input.LA(1);
336
343
Lines 342-357 Link Here
342
            }
349
            }
343
            else {
350
            else {
344
                NoViableAltException nvae =
351
                NoViableAltException nvae =
345
                    new NoViableAltException("772:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 7, 0, input);
352
                    new NoViableAltException("", 7, 0, input);
346
353
347
                throw nvae;
354
                throw nvae;
348
            }
355
            }
349
            switch (alt7) {
356
            switch (alt7) {
350
                case 1 :
357
                case 1 :
351
                    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
358
                    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
352
                    {
359
                    {
353
                    match('\"'); 
360
                    match('\"'); 
354
                    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
361
                    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
355
                    loop5:
362
                    loop5:
356
                    do {
363
                    do {
357
                        int alt5=3;
364
                        int alt5=3;
Lines 360-400 Link Here
360
                        if ( (LA5_0=='\\') ) {
367
                        if ( (LA5_0=='\\') ) {
361
                            alt5=1;
368
                            alt5=1;
362
                        }
369
                        }
363
                        else if ( ((LA5_0>='\u0000' && LA5_0<='!')||(LA5_0>='#' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFE')) ) {
370
                        else if ( ((LA5_0>='\u0000' && LA5_0<='!')||(LA5_0>='#' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) {
364
                            alt5=2;
371
                            alt5=2;
365
                        }
372
                        }
366
373
367
374
368
                        switch (alt5) {
375
                        switch (alt5) {
369
                    	case 1 :
376
                    	case 1 :
370
                    	    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
377
                    	    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
371
                    	    {
378
                    	    {
372
                    	    match('\\'); 
379
                    	    match('\\'); 
373
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
380
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
374
                    	        input.consume();
381
                    	        input.consume();
375
382
376
                    	    }
383
                    	    }
377
                    	    else {
384
                    	    else {
378
                    	        MismatchedSetException mse =
385
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
379
                    	            new MismatchedSetException(null,input);
386
                    	        recover(mse);
380
                    	        recover(mse);    throw mse;
387
                    	        throw mse;}
381
                    	    }
382
388
383
389
384
                    	    }
390
                    	    }
385
                    	    break;
391
                    	    break;
386
                    	case 2 :
392
                    	case 2 :
387
                    	    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:62: ~ ( ( '\\\\' | '\"' ) )
393
                    	    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:66: ~ ( ( '\\\\' | '\"' ) )
388
                    	    {
394
                    	    {
389
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
395
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
390
                    	        input.consume();
396
                    	        input.consume();
391
397
392
                    	    }
398
                    	    }
393
                    	    else {
399
                    	    else {
394
                    	        MismatchedSetException mse =
400
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
395
                    	            new MismatchedSetException(null,input);
401
                    	        recover(mse);
396
                    	        recover(mse);    throw mse;
402
                    	        throw mse;}
397
                    	    }
398
403
399
404
400
                    	    }
405
                    	    }
Lines 410-419 Link Here
410
                    }
415
                    }
411
                    break;
416
                    break;
412
                case 2 :
417
                case 2 :
413
                    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
418
                    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
414
                    {
419
                    {
415
                    match('\''); 
420
                    match('\''); 
416
                    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
421
                    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
417
                    loop6:
422
                    loop6:
418
                    do {
423
                    do {
419
                        int alt6=3;
424
                        int alt6=3;
Lines 422-462 Link Here
422
                        if ( (LA6_0=='\\') ) {
427
                        if ( (LA6_0=='\\') ) {
423
                            alt6=1;
428
                            alt6=1;
424
                        }
429
                        }
425
                        else if ( ((LA6_0>='\u0000' && LA6_0<='&')||(LA6_0>='(' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFE')) ) {
430
                        else if ( ((LA6_0>='\u0000' && LA6_0<='&')||(LA6_0>='(' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) {
426
                            alt6=2;
431
                            alt6=2;
427
                        }
432
                        }
428
433
429
434
430
                        switch (alt6) {
435
                        switch (alt6) {
431
                    	case 1 :
436
                    	case 1 :
432
                    	    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
437
                    	    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
433
                    	    {
438
                    	    {
434
                    	    match('\\'); 
439
                    	    match('\\'); 
435
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
440
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
436
                    	        input.consume();
441
                    	        input.consume();
437
442
438
                    	    }
443
                    	    }
439
                    	    else {
444
                    	    else {
440
                    	        MismatchedSetException mse =
445
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
441
                    	            new MismatchedSetException(null,input);
446
                    	        recover(mse);
442
                    	        recover(mse);    throw mse;
447
                    	        throw mse;}
443
                    	    }
444
448
445
449
446
                    	    }
450
                    	    }
447
                    	    break;
451
                    	    break;
448
                    	case 2 :
452
                    	case 2 :
449
                    	    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:129: ~ ( ( '\\\\' | '\\'' ) )
453
                    	    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:772:137: ~ ( ( '\\\\' | '\\'' ) )
450
                    	    {
454
                    	    {
451
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
455
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
452
                    	        input.consume();
456
                    	        input.consume();
453
457
454
                    	    }
458
                    	    }
455
                    	    else {
459
                    	    else {
456
                    	        MismatchedSetException mse =
460
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
457
                    	            new MismatchedSetException(null,input);
461
                    	        recover(mse);
458
                    	        recover(mse);    throw mse;
462
                    	        throw mse;}
459
                    	    }
460
463
461
464
462
                    	    }
465
                    	    }
Lines 477-493 Link Here
477
480
478
            }
481
            }
479
482
480
            this.type = _type;
483
            state.type = _type;
484
            state.channel = _channel;
481
        }
485
        }
482
        finally {
486
        finally {
483
        }
487
        }
484
    }
488
    }
485
    // $ANTLR end RULE_STRING
489
    // $ANTLR end "RULE_STRING"
486
490
487
    // $ANTLR start RULE_ML_COMMENT
491
    // $ANTLR start "RULE_ML_COMMENT"
488
    public final void mRULE_ML_COMMENT() throws RecognitionException {
492
    public final void mRULE_ML_COMMENT() throws RecognitionException {
489
        try {
493
        try {
490
            int _type = RULE_ML_COMMENT;
494
            int _type = RULE_ML_COMMENT;
495
            int _channel = DEFAULT_TOKEN_CHANNEL;
491
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:774:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
496
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:774:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
492
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:774:19: '/*' ( options {greedy=false; } : . )* '*/'
497
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:774:19: '/*' ( options {greedy=false; } : . )* '*/'
493
            {
498
            {
Lines 505-517 Link Here
505
                    if ( (LA8_1=='/') ) {
510
                    if ( (LA8_1=='/') ) {
506
                        alt8=2;
511
                        alt8=2;
507
                    }
512
                    }
508
                    else if ( ((LA8_1>='\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\uFFFE')) ) {
513
                    else if ( ((LA8_1>='\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\uFFFF')) ) {
509
                        alt8=1;
514
                        alt8=1;
510
                    }
515
                    }
511
516
512
517
513
                }
518
                }
514
                else if ( ((LA8_0>='\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\uFFFE')) ) {
519
                else if ( ((LA8_0>='\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\uFFFF')) ) {
515
                    alt8=1;
520
                    alt8=1;
516
                }
521
                }
517
522
Lines 535-551 Link Here
535
540
536
            }
541
            }
537
542
538
            this.type = _type;
543
            state.type = _type;
544
            state.channel = _channel;
539
        }
545
        }
540
        finally {
546
        finally {
541
        }
547
        }
542
    }
548
    }
543
    // $ANTLR end RULE_ML_COMMENT
549
    // $ANTLR end "RULE_ML_COMMENT"
544
550
545
    // $ANTLR start RULE_SL_COMMENT
551
    // $ANTLR start "RULE_SL_COMMENT"
546
    public final void mRULE_SL_COMMENT() throws RecognitionException {
552
    public final void mRULE_SL_COMMENT() throws RecognitionException {
547
        try {
553
        try {
548
            int _type = RULE_SL_COMMENT;
554
            int _type = RULE_SL_COMMENT;
555
            int _channel = DEFAULT_TOKEN_CHANNEL;
549
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:776:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
556
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:776:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
550
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:776:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
557
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:776:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
551
            {
558
            {
Lines 557-563 Link Here
557
                int alt9=2;
564
                int alt9=2;
558
                int LA9_0 = input.LA(1);
565
                int LA9_0 = input.LA(1);
559
566
560
                if ( ((LA9_0>='\u0000' && LA9_0<='\t')||(LA9_0>='\u000B' && LA9_0<='\f')||(LA9_0>='\u000E' && LA9_0<='\uFFFE')) ) {
567
                if ( ((LA9_0>='\u0000' && LA9_0<='\t')||(LA9_0>='\u000B' && LA9_0<='\f')||(LA9_0>='\u000E' && LA9_0<='\uFFFF')) ) {
561
                    alt9=1;
568
                    alt9=1;
562
                }
569
                }
563
570
Lines 566-580 Link Here
566
            	case 1 :
573
            	case 1 :
567
            	    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:776:24: ~ ( ( '\\n' | '\\r' ) )
574
            	    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:776:24: ~ ( ( '\\n' | '\\r' ) )
568
            	    {
575
            	    {
569
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFE') ) {
576
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
570
            	        input.consume();
577
            	        input.consume();
571
578
572
            	    }
579
            	    }
573
            	    else {
580
            	    else {
574
            	        MismatchedSetException mse =
581
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
575
            	            new MismatchedSetException(null,input);
582
            	        recover(mse);
576
            	        recover(mse);    throw mse;
583
            	        throw mse;}
577
            	    }
578
584
579
585
580
            	    }
586
            	    }
Lines 624-640 Link Here
624
630
625
            }
631
            }
626
632
627
            this.type = _type;
633
            state.type = _type;
634
            state.channel = _channel;
628
        }
635
        }
629
        finally {
636
        finally {
630
        }
637
        }
631
    }
638
    }
632
    // $ANTLR end RULE_SL_COMMENT
639
    // $ANTLR end "RULE_SL_COMMENT"
633
640
634
    // $ANTLR start RULE_WS
641
    // $ANTLR start "RULE_WS"
635
    public final void mRULE_WS() throws RecognitionException {
642
    public final void mRULE_WS() throws RecognitionException {
636
        try {
643
        try {
637
            int _type = RULE_WS;
644
            int _type = RULE_WS;
645
            int _channel = DEFAULT_TOKEN_CHANNEL;
638
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:778:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
646
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:778:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
639
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:778:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
647
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:778:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
640
            {
648
            {
Lines 659-668 Link Here
659
667
660
            	    }
668
            	    }
661
            	    else {
669
            	    else {
662
            	        MismatchedSetException mse =
670
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
663
            	            new MismatchedSetException(null,input);
671
            	        recover(mse);
664
            	        recover(mse);    throw mse;
672
            	        throw mse;}
665
            	    }
666
673
667
674
668
            	    }
675
            	    }
Lines 680-696 Link Here
680
687
681
            }
688
            }
682
689
683
            this.type = _type;
690
            state.type = _type;
691
            state.channel = _channel;
684
        }
692
        }
685
        finally {
693
        finally {
686
        }
694
        }
687
    }
695
    }
688
    // $ANTLR end RULE_WS
696
    // $ANTLR end "RULE_WS"
689
697
690
    // $ANTLR start RULE_ANY_OTHER
698
    // $ANTLR start "RULE_ANY_OTHER"
691
    public final void mRULE_ANY_OTHER() throws RecognitionException {
699
    public final void mRULE_ANY_OTHER() throws RecognitionException {
692
        try {
700
        try {
693
            int _type = RULE_ANY_OTHER;
701
            int _type = RULE_ANY_OTHER;
702
            int _channel = DEFAULT_TOKEN_CHANNEL;
694
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:780:16: ( . )
703
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:780:16: ( . )
695
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:780:18: .
704
            // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:780:18: .
696
            {
705
            {
Lines 698-801 Link Here
698
707
699
            }
708
            }
700
709
701
            this.type = _type;
710
            state.type = _type;
711
            state.channel = _channel;
702
        }
712
        }
703
        finally {
713
        finally {
704
        }
714
        }
705
    }
715
    }
706
    // $ANTLR end RULE_ANY_OTHER
716
    // $ANTLR end "RULE_ANY_OTHER"
707
717
708
    public void mTokens() throws RecognitionException {
718
    public void mTokens() throws RecognitionException {
709
        // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:8: ( T12 | T13 | T14 | T15 | T16 | RULE_NAMERULE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
719
        // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | RULE_NAMERULE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
710
        int alt13=13;
720
        int alt13=13;
711
        alt13 = dfa13.predict(input);
721
        alt13 = dfa13.predict(input);
712
        switch (alt13) {
722
        switch (alt13) {
713
            case 1 :
723
            case 1 :
714
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:10: T12
724
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:10: T__12
715
                {
725
                {
716
                mT12(); 
726
                mT__12(); 
717
727
718
                }
728
                }
719
                break;
729
                break;
720
            case 2 :
730
            case 2 :
721
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:14: T13
731
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:16: T__13
722
                {
732
                {
723
                mT13(); 
733
                mT__13(); 
724
734
725
                }
735
                }
726
                break;
736
                break;
727
            case 3 :
737
            case 3 :
728
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:18: T14
738
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:22: T__14
729
                {
739
                {
730
                mT14(); 
740
                mT__14(); 
731
741
732
                }
742
                }
733
                break;
743
                break;
734
            case 4 :
744
            case 4 :
735
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:22: T15
745
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:28: T__15
736
                {
746
                {
737
                mT15(); 
747
                mT__15(); 
738
748
739
                }
749
                }
740
                break;
750
                break;
741
            case 5 :
751
            case 5 :
742
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:26: T16
752
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:34: T__16
743
                {
753
                {
744
                mT16(); 
754
                mT__16(); 
745
755
746
                }
756
                }
747
                break;
757
                break;
748
            case 6 :
758
            case 6 :
749
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:30: RULE_NAMERULE
759
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:40: RULE_NAMERULE
750
                {
760
                {
751
                mRULE_NAMERULE(); 
761
                mRULE_NAMERULE(); 
752
762
753
                }
763
                }
754
                break;
764
                break;
755
            case 7 :
765
            case 7 :
756
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:44: RULE_ID
766
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:54: RULE_ID
757
                {
767
                {
758
                mRULE_ID(); 
768
                mRULE_ID(); 
759
769
760
                }
770
                }
761
                break;
771
                break;
762
            case 8 :
772
            case 8 :
763
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:52: RULE_INT
773
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:62: RULE_INT
764
                {
774
                {
765
                mRULE_INT(); 
775
                mRULE_INT(); 
766
776
767
                }
777
                }
768
                break;
778
                break;
769
            case 9 :
779
            case 9 :
770
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:61: RULE_STRING
780
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:71: RULE_STRING
771
                {
781
                {
772
                mRULE_STRING(); 
782
                mRULE_STRING(); 
773
783
774
                }
784
                }
775
                break;
785
                break;
776
            case 10 :
786
            case 10 :
777
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:73: RULE_ML_COMMENT
787
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:83: RULE_ML_COMMENT
778
                {
788
                {
779
                mRULE_ML_COMMENT(); 
789
                mRULE_ML_COMMENT(); 
780
790
781
                }
791
                }
782
                break;
792
                break;
783
            case 11 :
793
            case 11 :
784
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:89: RULE_SL_COMMENT
794
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:99: RULE_SL_COMMENT
785
                {
795
                {
786
                mRULE_SL_COMMENT(); 
796
                mRULE_SL_COMMENT(); 
787
797
788
                }
798
                }
789
                break;
799
                break;
790
            case 12 :
800
            case 12 :
791
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:105: RULE_WS
801
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:115: RULE_WS
792
                {
802
                {
793
                mRULE_WS(); 
803
                mRULE_WS(); 
794
804
795
                }
805
                }
796
                break;
806
                break;
797
            case 13 :
807
            case 13 :
798
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:113: RULE_ANY_OTHER
808
                // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:1:123: RULE_ANY_OTHER
799
                {
809
                {
800
                mRULE_ANY_OTHER(); 
810
                mRULE_ANY_OTHER(); 
801
811
Lines 815-830 Link Here
815
    static final String DFA13_minS =
825
    static final String DFA13_minS =
816
        "\1\0\5\uffff\1\60\1\101\2\uffff\2\0\1\52\7\uffff\1\60\7\uffff";
826
        "\1\0\5\uffff\1\60\1\101\2\uffff\2\0\1\52\7\uffff\1\60\7\uffff";
817
    static final String DFA13_maxS =
827
    static final String DFA13_maxS =
818
        "\1\ufffe\5\uffff\2\172\2\uffff\2\ufffe\1\57\7\uffff\1\172\7\uffff";
828
        "\1\uffff\5\uffff\2\172\2\uffff\2\uffff\1\57\7\uffff\1\172\7\uffff";
819
    static final String DFA13_acceptS =
829
    static final String DFA13_acceptS =
820
        "\1\uffff\1\1\1\2\1\3\1\4\1\5\2\uffff\1\7\1\10\3\uffff\1\14\1\15"+
830
        "\1\uffff\1\1\1\2\1\3\1\4\1\5\2\uffff\1\7\1\10\3\uffff\1\14\1\15"+
821
        "\1\1\1\2\1\3\1\4\1\5\1\uffff\1\6\1\7\1\10\1\11\1\12\1\13\1\14";
831
        "\1\1\1\2\1\3\1\4\1\5\1\uffff\1\6\1\7\1\10\1\11\1\12\1\13\1\14";
822
    static final String DFA13_specialS =
832
    static final String DFA13_specialS =
823
        "\34\uffff}>";
833
        "\1\0\11\uffff\1\2\1\1\20\uffff}>";
824
    static final String[] DFA13_transitionS = {
834
    static final String[] DFA13_transitionS = {
825
            "\11\16\2\15\2\16\1\15\22\16\1\15\1\16\1\12\4\16\1\13\2\16\1"+
835
            "\11\16\2\15\2\16\1\15\22\16\1\15\1\16\1\12\4\16\1\13\2\16\1"+
826
            "\3\3\16\1\2\1\14\12\11\1\1\6\16\32\6\1\4\1\16\1\5\1\7\1\10\1"+
836
            "\3\3\16\1\2\1\14\12\11\1\1\6\16\32\6\1\4\1\16\1\5\1\7\1\10\1"+
827
            "\16\32\6\uff84\16",
837
            "\16\32\6\uff85\16",
828
            "",
838
            "",
829
            "",
839
            "",
830
            "",
840
            "",
Lines 834-841 Link Here
834
            "\32\26\4\uffff\1\26\1\uffff\32\26",
844
            "\32\26\4\uffff\1\26\1\uffff\32\26",
835
            "",
845
            "",
836
            "",
846
            "",
837
            "\uffff\30",
847
            "\0\30",
838
            "\uffff\30",
848
            "\0\30",
839
            "\1\31\4\uffff\1\32",
849
            "\1\31\4\uffff\1\32",
840
            "",
850
            "",
841
            "",
851
            "",
Lines 884-890 Link Here
884
            this.transition = DFA13_transition;
894
            this.transition = DFA13_transition;
885
        }
895
        }
886
        public String getDescription() {
896
        public String getDescription() {
887
            return "1:1: Tokens : ( T12 | T13 | T14 | T15 | T16 | RULE_NAMERULE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
897
            return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | RULE_NAMERULE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
898
        }
899
        public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
900
            IntStream input = _input;
901
        	int _s = s;
902
            switch ( s ) {
903
                    case 0 : 
904
                        int LA13_0 = input.LA(1);
905
906
                        s = -1;
907
                        if ( (LA13_0==':') ) {s = 1;}
908
909
                        else if ( (LA13_0=='.') ) {s = 2;}
910
911
                        else if ( (LA13_0=='*') ) {s = 3;}
912
913
                        else if ( (LA13_0=='[') ) {s = 4;}
914
915
                        else if ( (LA13_0==']') ) {s = 5;}
916
917
                        else if ( ((LA13_0>='A' && LA13_0<='Z')||(LA13_0>='a' && LA13_0<='z')) ) {s = 6;}
918
919
                        else if ( (LA13_0=='^') ) {s = 7;}
920
921
                        else if ( (LA13_0=='_') ) {s = 8;}
922
923
                        else if ( ((LA13_0>='0' && LA13_0<='9')) ) {s = 9;}
924
925
                        else if ( (LA13_0=='\"') ) {s = 10;}
926
927
                        else if ( (LA13_0=='\'') ) {s = 11;}
928
929
                        else if ( (LA13_0=='/') ) {s = 12;}
930
931
                        else if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) {s = 13;}
932
933
                        else if ( ((LA13_0>='\u0000' && LA13_0<='\b')||(LA13_0>='\u000B' && LA13_0<='\f')||(LA13_0>='\u000E' && LA13_0<='\u001F')||LA13_0=='!'||(LA13_0>='#' && LA13_0<='&')||(LA13_0>='(' && LA13_0<=')')||(LA13_0>='+' && LA13_0<='-')||(LA13_0>=';' && LA13_0<='@')||LA13_0=='\\'||LA13_0=='`'||(LA13_0>='{' && LA13_0<='\uFFFF')) ) {s = 14;}
934
935
                        if ( s>=0 ) return s;
936
                        break;
937
                    case 1 : 
938
                        int LA13_11 = input.LA(1);
939
940
                        s = -1;
941
                        if ( ((LA13_11>='\u0000' && LA13_11<='\uFFFF')) ) {s = 24;}
942
943
                        else s = 14;
944
945
                        if ( s>=0 ) return s;
946
                        break;
947
                    case 2 : 
948
                        int LA13_10 = input.LA(1);
949
950
                        s = -1;
951
                        if ( ((LA13_10>='\u0000' && LA13_10<='\uFFFF')) ) {s = 24;}
952
953
                        else s = 14;
954
955
                        if ( s>=0 ) return s;
956
                        break;
957
            }
958
            NoViableAltException nvae =
959
                new NoViableAltException(getDescription(), 13, _s, input);
960
            error(nvae);
961
            throw nvae;
888
        }
962
        }
889
    }
963
    }
890
 
964
 
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessageParser.java (-154 / +201 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.message.editor.xtext.ui.contentassist.antlr.internal; 
1
package org.eclipse.papyrus.message.editor.xtext.ui.contentassist.antlr.internal; 
15
2
16
import java.io.InputStream;
3
import java.io.InputStream;
Lines 41-46 Link Here
41
    public static final int RULE_NAMERULE=5;
28
    public static final int RULE_NAMERULE=5;
42
    public static final int RULE_ID=7;
29
    public static final int RULE_ID=7;
43
    public static final int RULE_STRING=4;
30
    public static final int RULE_STRING=4;
31
    public static final int T__16=16;
32
    public static final int T__15=15;
33
    public static final int T__12=12;
34
    public static final int T__14=14;
35
    public static final int T__13=13;
44
    public static final int RULE_ANY_OTHER=11;
36
    public static final int RULE_ANY_OTHER=11;
45
    public static final int RULE_INT=6;
37
    public static final int RULE_INT=6;
46
    public static final int RULE_WS=10;
38
    public static final int RULE_WS=10;
Lines 48-59 Link Here
48
    public static final int EOF=-1;
40
    public static final int EOF=-1;
49
    public static final int RULE_ML_COMMENT=8;
41
    public static final int RULE_ML_COMMENT=8;
50
42
43
    // delegates
44
    // delegators
45
46
51
        public InternalUmlMessageParser(TokenStream input) {
47
        public InternalUmlMessageParser(TokenStream input) {
52
            super(input);
48
            this(input, new RecognizerSharedState());
49
        }
50
        public InternalUmlMessageParser(TokenStream input, RecognizerSharedState state) {
51
            super(input, state);
52
             
53
        }
53
        }
54
        
54
        
55
55
56
    public String[] getTokenNames() { return tokenNames; }
56
    public String[] getTokenNames() { return InternalUmlMessageParser.tokenNames; }
57
    public String getGrammarFileName() { return "../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g"; }
57
    public String getGrammarFileName() { return "../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g"; }
58
58
59
59
Lines 77-83 Link Here
77
77
78
78
79
79
80
    // $ANTLR start entryRuleMessageRule
80
    // $ANTLR start "entryRuleMessageRule"
81
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:61:1: entryRuleMessageRule : ruleMessageRule EOF ;
81
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:61:1: entryRuleMessageRule : ruleMessageRule EOF ;
82
    public final void entryRuleMessageRule() throws RecognitionException {
82
    public final void entryRuleMessageRule() throws RecognitionException {
83
        try {
83
        try {
Lines 87-93 Link Here
87
             before(grammarAccess.getMessageRuleRule()); 
87
             before(grammarAccess.getMessageRuleRule()); 
88
            pushFollow(FOLLOW_ruleMessageRule_in_entryRuleMessageRule61);
88
            pushFollow(FOLLOW_ruleMessageRule_in_entryRuleMessageRule61);
89
            ruleMessageRule();
89
            ruleMessageRule();
90
            _fsp--;
90
91
            state._fsp--;
91
92
92
             after(grammarAccess.getMessageRuleRule()); 
93
             after(grammarAccess.getMessageRuleRule()); 
93
            match(input,EOF,FOLLOW_EOF_in_entryRuleMessageRule68); 
94
            match(input,EOF,FOLLOW_EOF_in_entryRuleMessageRule68); 
Lines 103-112 Link Here
103
        }
104
        }
104
        return ;
105
        return ;
105
    }
106
    }
106
    // $ANTLR end entryRuleMessageRule
107
    // $ANTLR end "entryRuleMessageRule"
107
108
108
109
109
    // $ANTLR start ruleMessageRule
110
    // $ANTLR start "ruleMessageRule"
110
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:70:1: ruleMessageRule : ( ( rule__MessageRule__Group__0 ) ) ;
111
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:70:1: ruleMessageRule : ( ( rule__MessageRule__Group__0 ) ) ;
111
    public final void ruleMessageRule() throws RecognitionException {
112
    public final void ruleMessageRule() throws RecognitionException {
112
113
Lines 125-132 Link Here
125
            {
126
            {
126
            pushFollow(FOLLOW_rule__MessageRule__Group__0_in_ruleMessageRule94);
127
            pushFollow(FOLLOW_rule__MessageRule__Group__0_in_ruleMessageRule94);
127
            rule__MessageRule__Group__0();
128
            rule__MessageRule__Group__0();
128
            _fsp--;
129
129
130
            state._fsp--;
131
130
132
131
            }
133
            }
132
134
Lines 149-158 Link Here
149
        }
151
        }
150
        return ;
152
        return ;
151
    }
153
    }
152
    // $ANTLR end ruleMessageRule
154
    // $ANTLR end "ruleMessageRule"
153
155
154
156
155
    // $ANTLR start entryRuleSequenceTermRule
157
    // $ANTLR start "entryRuleSequenceTermRule"
156
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:89:1: entryRuleSequenceTermRule : ruleSequenceTermRule EOF ;
158
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:89:1: entryRuleSequenceTermRule : ruleSequenceTermRule EOF ;
157
    public final void entryRuleSequenceTermRule() throws RecognitionException {
159
    public final void entryRuleSequenceTermRule() throws RecognitionException {
158
        try {
160
        try {
Lines 162-168 Link Here
162
             before(grammarAccess.getSequenceTermRuleRule()); 
164
             before(grammarAccess.getSequenceTermRuleRule()); 
163
            pushFollow(FOLLOW_ruleSequenceTermRule_in_entryRuleSequenceTermRule121);
165
            pushFollow(FOLLOW_ruleSequenceTermRule_in_entryRuleSequenceTermRule121);
164
            ruleSequenceTermRule();
166
            ruleSequenceTermRule();
165
            _fsp--;
167
168
            state._fsp--;
166
169
167
             after(grammarAccess.getSequenceTermRuleRule()); 
170
             after(grammarAccess.getSequenceTermRuleRule()); 
168
            match(input,EOF,FOLLOW_EOF_in_entryRuleSequenceTermRule128); 
171
            match(input,EOF,FOLLOW_EOF_in_entryRuleSequenceTermRule128); 
Lines 178-187 Link Here
178
        }
181
        }
179
        return ;
182
        return ;
180
    }
183
    }
181
    // $ANTLR end entryRuleSequenceTermRule
184
    // $ANTLR end "entryRuleSequenceTermRule"
182
185
183
186
184
    // $ANTLR start ruleSequenceTermRule
187
    // $ANTLR start "ruleSequenceTermRule"
185
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:98:1: ruleSequenceTermRule : ( ( rule__SequenceTermRule__Group__0 ) ) ;
188
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:98:1: ruleSequenceTermRule : ( ( rule__SequenceTermRule__Group__0 ) ) ;
186
    public final void ruleSequenceTermRule() throws RecognitionException {
189
    public final void ruleSequenceTermRule() throws RecognitionException {
187
190
Lines 200-207 Link Here
200
            {
203
            {
201
            pushFollow(FOLLOW_rule__SequenceTermRule__Group__0_in_ruleSequenceTermRule154);
204
            pushFollow(FOLLOW_rule__SequenceTermRule__Group__0_in_ruleSequenceTermRule154);
202
            rule__SequenceTermRule__Group__0();
205
            rule__SequenceTermRule__Group__0();
203
            _fsp--;
204
206
207
            state._fsp--;
208
205
209
206
            }
210
            }
207
211
Lines 224-233 Link Here
224
        }
228
        }
225
        return ;
229
        return ;
226
    }
230
    }
227
    // $ANTLR end ruleSequenceTermRule
231
    // $ANTLR end "ruleSequenceTermRule"
228
232
229
233
230
    // $ANTLR start entryRuleRecurrenceRule
234
    // $ANTLR start "entryRuleRecurrenceRule"
231
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:117:1: entryRuleRecurrenceRule : ruleRecurrenceRule EOF ;
235
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:117:1: entryRuleRecurrenceRule : ruleRecurrenceRule EOF ;
232
    public final void entryRuleRecurrenceRule() throws RecognitionException {
236
    public final void entryRuleRecurrenceRule() throws RecognitionException {
233
        try {
237
        try {
Lines 237-243 Link Here
237
             before(grammarAccess.getRecurrenceRuleRule()); 
241
             before(grammarAccess.getRecurrenceRuleRule()); 
238
            pushFollow(FOLLOW_ruleRecurrenceRule_in_entryRuleRecurrenceRule181);
242
            pushFollow(FOLLOW_ruleRecurrenceRule_in_entryRuleRecurrenceRule181);
239
            ruleRecurrenceRule();
243
            ruleRecurrenceRule();
240
            _fsp--;
244
245
            state._fsp--;
241
246
242
             after(grammarAccess.getRecurrenceRuleRule()); 
247
             after(grammarAccess.getRecurrenceRuleRule()); 
243
            match(input,EOF,FOLLOW_EOF_in_entryRuleRecurrenceRule188); 
248
            match(input,EOF,FOLLOW_EOF_in_entryRuleRecurrenceRule188); 
Lines 253-262 Link Here
253
        }
258
        }
254
        return ;
259
        return ;
255
    }
260
    }
256
    // $ANTLR end entryRuleRecurrenceRule
261
    // $ANTLR end "entryRuleRecurrenceRule"
257
262
258
263
259
    // $ANTLR start ruleRecurrenceRule
264
    // $ANTLR start "ruleRecurrenceRule"
260
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:126:1: ruleRecurrenceRule : ( ( rule__RecurrenceRule__Alternatives ) ) ;
265
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:126:1: ruleRecurrenceRule : ( ( rule__RecurrenceRule__Alternatives ) ) ;
261
    public final void ruleRecurrenceRule() throws RecognitionException {
266
    public final void ruleRecurrenceRule() throws RecognitionException {
262
267
Lines 275-282 Link Here
275
            {
280
            {
276
            pushFollow(FOLLOW_rule__RecurrenceRule__Alternatives_in_ruleRecurrenceRule214);
281
            pushFollow(FOLLOW_rule__RecurrenceRule__Alternatives_in_ruleRecurrenceRule214);
277
            rule__RecurrenceRule__Alternatives();
282
            rule__RecurrenceRule__Alternatives();
278
            _fsp--;
279
283
284
            state._fsp--;
285
280
286
281
            }
287
            }
282
288
Lines 299-308 Link Here
299
        }
305
        }
300
        return ;
306
        return ;
301
    }
307
    }
302
    // $ANTLR end ruleRecurrenceRule
308
    // $ANTLR end "ruleRecurrenceRule"
303
309
304
310
305
    // $ANTLR start rule__RecurrenceRule__Alternatives
311
    // $ANTLR start "rule__RecurrenceRule__Alternatives"
306
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:145:1: rule__RecurrenceRule__Alternatives : ( ( ( rule__RecurrenceRule__Group_0__0 ) ) | ( ( rule__RecurrenceRule__Group_1__0 ) ) );
312
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:145:1: rule__RecurrenceRule__Alternatives : ( ( ( rule__RecurrenceRule__Group_0__0 ) ) | ( ( rule__RecurrenceRule__Group_1__0 ) ) );
307
    public final void rule__RecurrenceRule__Alternatives() throws RecognitionException {
313
    public final void rule__RecurrenceRule__Alternatives() throws RecognitionException {
308
314
Lines 321-327 Link Here
321
            }
327
            }
322
            else {
328
            else {
323
                NoViableAltException nvae =
329
                NoViableAltException nvae =
324
                    new NoViableAltException("145:1: rule__RecurrenceRule__Alternatives : ( ( ( rule__RecurrenceRule__Group_0__0 ) ) | ( ( rule__RecurrenceRule__Group_1__0 ) ) );", 1, 0, input);
330
                    new NoViableAltException("", 1, 0, input);
325
331
326
                throw nvae;
332
                throw nvae;
327
            }
333
            }
Lines 338-344 Link Here
338
                    {
344
                    {
339
                    pushFollow(FOLLOW_rule__RecurrenceRule__Group_0__0_in_rule__RecurrenceRule__Alternatives250);
345
                    pushFollow(FOLLOW_rule__RecurrenceRule__Group_0__0_in_rule__RecurrenceRule__Alternatives250);
340
                    rule__RecurrenceRule__Group_0__0();
346
                    rule__RecurrenceRule__Group_0__0();
341
                    _fsp--;
347
348
                    state._fsp--;
342
349
343
350
344
                    }
351
                    }
Lines 362-368 Link Here
362
                    {
369
                    {
363
                    pushFollow(FOLLOW_rule__RecurrenceRule__Group_1__0_in_rule__RecurrenceRule__Alternatives268);
370
                    pushFollow(FOLLOW_rule__RecurrenceRule__Group_1__0_in_rule__RecurrenceRule__Alternatives268);
364
                    rule__RecurrenceRule__Group_1__0();
371
                    rule__RecurrenceRule__Group_1__0();
365
                    _fsp--;
372
373
                    state._fsp--;
366
374
367
375
368
                    }
376
                    }
Lines 388-397 Link Here
388
        }
396
        }
389
        return ;
397
        return ;
390
    }
398
    }
391
    // $ANTLR end rule__RecurrenceRule__Alternatives
399
    // $ANTLR end "rule__RecurrenceRule__Alternatives"
392
400
393
401
394
    // $ANTLR start rule__MessageRule__Group__0
402
    // $ANTLR start "rule__MessageRule__Group__0"
395
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:169:1: rule__MessageRule__Group__0 : rule__MessageRule__Group__0__Impl rule__MessageRule__Group__1 ;
403
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:169:1: rule__MessageRule__Group__0 : rule__MessageRule__Group__0__Impl rule__MessageRule__Group__1 ;
396
    public final void rule__MessageRule__Group__0() throws RecognitionException {
404
    public final void rule__MessageRule__Group__0() throws RecognitionException {
397
405
Lines 403-414 Link Here
403
            {
411
            {
404
            pushFollow(FOLLOW_rule__MessageRule__Group__0__Impl_in_rule__MessageRule__Group__0299);
412
            pushFollow(FOLLOW_rule__MessageRule__Group__0__Impl_in_rule__MessageRule__Group__0299);
405
            rule__MessageRule__Group__0__Impl();
413
            rule__MessageRule__Group__0__Impl();
406
            _fsp--;
414
415
            state._fsp--;
407
416
408
            pushFollow(FOLLOW_rule__MessageRule__Group__1_in_rule__MessageRule__Group__0302);
417
            pushFollow(FOLLOW_rule__MessageRule__Group__1_in_rule__MessageRule__Group__0302);
409
            rule__MessageRule__Group__1();
418
            rule__MessageRule__Group__1();
410
            _fsp--;
411
419
420
            state._fsp--;
421
412
422
413
            }
423
            }
414
424
Lines 424-433 Link Here
424
        }
434
        }
425
        return ;
435
        return ;
426
    }
436
    }
427
    // $ANTLR end rule__MessageRule__Group__0
437
    // $ANTLR end "rule__MessageRule__Group__0"
428
438
429
439
430
    // $ANTLR start rule__MessageRule__Group__0__Impl
440
    // $ANTLR start "rule__MessageRule__Group__0__Impl"
431
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:181:1: rule__MessageRule__Group__0__Impl : ( ( rule__MessageRule__SequenceTermAssignment_0 ) ) ;
441
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:181:1: rule__MessageRule__Group__0__Impl : ( ( rule__MessageRule__SequenceTermAssignment_0 ) ) ;
432
    public final void rule__MessageRule__Group__0__Impl() throws RecognitionException {
442
    public final void rule__MessageRule__Group__0__Impl() throws RecognitionException {
433
443
Lines 446-453 Link Here
446
            {
456
            {
447
            pushFollow(FOLLOW_rule__MessageRule__SequenceTermAssignment_0_in_rule__MessageRule__Group__0__Impl329);
457
            pushFollow(FOLLOW_rule__MessageRule__SequenceTermAssignment_0_in_rule__MessageRule__Group__0__Impl329);
448
            rule__MessageRule__SequenceTermAssignment_0();
458
            rule__MessageRule__SequenceTermAssignment_0();
449
            _fsp--;
450
459
460
            state._fsp--;
461
451
462
452
            }
463
            }
453
464
Lines 470-479 Link Here
470
        }
481
        }
471
        return ;
482
        return ;
472
    }
483
    }
473
    // $ANTLR end rule__MessageRule__Group__0__Impl
484
    // $ANTLR end "rule__MessageRule__Group__0__Impl"
474
485
475
486
476
    // $ANTLR start rule__MessageRule__Group__1
487
    // $ANTLR start "rule__MessageRule__Group__1"
477
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:198:1: rule__MessageRule__Group__1 : rule__MessageRule__Group__1__Impl rule__MessageRule__Group__2 ;
488
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:198:1: rule__MessageRule__Group__1 : rule__MessageRule__Group__1__Impl rule__MessageRule__Group__2 ;
478
    public final void rule__MessageRule__Group__1() throws RecognitionException {
489
    public final void rule__MessageRule__Group__1() throws RecognitionException {
479
490
Lines 485-495 Link Here
485
            {
496
            {
486
            pushFollow(FOLLOW_rule__MessageRule__Group__1__Impl_in_rule__MessageRule__Group__1359);
497
            pushFollow(FOLLOW_rule__MessageRule__Group__1__Impl_in_rule__MessageRule__Group__1359);
487
            rule__MessageRule__Group__1__Impl();
498
            rule__MessageRule__Group__1__Impl();
488
            _fsp--;
499
500
            state._fsp--;
489
501
490
            pushFollow(FOLLOW_rule__MessageRule__Group__2_in_rule__MessageRule__Group__1362);
502
            pushFollow(FOLLOW_rule__MessageRule__Group__2_in_rule__MessageRule__Group__1362);
491
            rule__MessageRule__Group__2();
503
            rule__MessageRule__Group__2();
492
            _fsp--;
504
505
            state._fsp--;
493
506
494
507
495
            }
508
            }
Lines 506-515 Link Here
506
        }
519
        }
507
        return ;
520
        return ;
508
    }
521
    }
509
    // $ANTLR end rule__MessageRule__Group__1
522
    // $ANTLR end "rule__MessageRule__Group__1"
510
523
511
524
512
    // $ANTLR start rule__MessageRule__Group__1__Impl
525
    // $ANTLR start "rule__MessageRule__Group__1__Impl"
513
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:210:1: rule__MessageRule__Group__1__Impl : ( ( rule__MessageRule__Group_1__0 )* ) ;
526
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:210:1: rule__MessageRule__Group__1__Impl : ( ( rule__MessageRule__Group_1__0 )* ) ;
514
    public final void rule__MessageRule__Group__1__Impl() throws RecognitionException {
527
    public final void rule__MessageRule__Group__1__Impl() throws RecognitionException {
515
528
Lines 540-546 Link Here
540
            	    {
553
            	    {
541
            	    pushFollow(FOLLOW_rule__MessageRule__Group_1__0_in_rule__MessageRule__Group__1__Impl389);
554
            	    pushFollow(FOLLOW_rule__MessageRule__Group_1__0_in_rule__MessageRule__Group__1__Impl389);
542
            	    rule__MessageRule__Group_1__0();
555
            	    rule__MessageRule__Group_1__0();
543
            	    _fsp--;
556
557
            	    state._fsp--;
544
558
545
559
546
            	    }
560
            	    }
Lines 570-579 Link Here
570
        }
584
        }
571
        return ;
585
        return ;
572
    }
586
    }
573
    // $ANTLR end rule__MessageRule__Group__1__Impl
587
    // $ANTLR end "rule__MessageRule__Group__1__Impl"
574
588
575
589
576
    // $ANTLR start rule__MessageRule__Group__2
590
    // $ANTLR start "rule__MessageRule__Group__2"
577
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:227:1: rule__MessageRule__Group__2 : rule__MessageRule__Group__2__Impl rule__MessageRule__Group__3 ;
591
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:227:1: rule__MessageRule__Group__2 : rule__MessageRule__Group__2__Impl rule__MessageRule__Group__3 ;
578
    public final void rule__MessageRule__Group__2() throws RecognitionException {
592
    public final void rule__MessageRule__Group__2() throws RecognitionException {
579
593
Lines 585-595 Link Here
585
            {
599
            {
586
            pushFollow(FOLLOW_rule__MessageRule__Group__2__Impl_in_rule__MessageRule__Group__2420);
600
            pushFollow(FOLLOW_rule__MessageRule__Group__2__Impl_in_rule__MessageRule__Group__2420);
587
            rule__MessageRule__Group__2__Impl();
601
            rule__MessageRule__Group__2__Impl();
588
            _fsp--;
602
603
            state._fsp--;
589
604
590
            pushFollow(FOLLOW_rule__MessageRule__Group__3_in_rule__MessageRule__Group__2423);
605
            pushFollow(FOLLOW_rule__MessageRule__Group__3_in_rule__MessageRule__Group__2423);
591
            rule__MessageRule__Group__3();
606
            rule__MessageRule__Group__3();
592
            _fsp--;
607
608
            state._fsp--;
593
609
594
610
595
            }
611
            }
Lines 606-615 Link Here
606
        }
622
        }
607
        return ;
623
        return ;
608
    }
624
    }
609
    // $ANTLR end rule__MessageRule__Group__2
625
    // $ANTLR end "rule__MessageRule__Group__2"
610
626
611
627
612
    // $ANTLR start rule__MessageRule__Group__2__Impl
628
    // $ANTLR start "rule__MessageRule__Group__2__Impl"
613
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:239:1: rule__MessageRule__Group__2__Impl : ( ':' ) ;
629
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:239:1: rule__MessageRule__Group__2__Impl : ( ':' ) ;
614
    public final void rule__MessageRule__Group__2__Impl() throws RecognitionException {
630
    public final void rule__MessageRule__Group__2__Impl() throws RecognitionException {
615
631
Lines 643-652 Link Here
643
        }
659
        }
644
        return ;
660
        return ;
645
    }
661
    }
646
    // $ANTLR end rule__MessageRule__Group__2__Impl
662
    // $ANTLR end "rule__MessageRule__Group__2__Impl"
647
663
648
664
649
    // $ANTLR start rule__MessageRule__Group__3
665
    // $ANTLR start "rule__MessageRule__Group__3"
650
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:258:1: rule__MessageRule__Group__3 : rule__MessageRule__Group__3__Impl ;
666
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:258:1: rule__MessageRule__Group__3 : rule__MessageRule__Group__3__Impl ;
651
    public final void rule__MessageRule__Group__3() throws RecognitionException {
667
    public final void rule__MessageRule__Group__3() throws RecognitionException {
652
668
Lines 658-664 Link Here
658
            {
674
            {
659
            pushFollow(FOLLOW_rule__MessageRule__Group__3__Impl_in_rule__MessageRule__Group__3482);
675
            pushFollow(FOLLOW_rule__MessageRule__Group__3__Impl_in_rule__MessageRule__Group__3482);
660
            rule__MessageRule__Group__3__Impl();
676
            rule__MessageRule__Group__3__Impl();
661
            _fsp--;
677
678
            state._fsp--;
662
679
663
680
664
            }
681
            }
Lines 675-684 Link Here
675
        }
692
        }
676
        return ;
693
        return ;
677
    }
694
    }
678
    // $ANTLR end rule__MessageRule__Group__3
695
    // $ANTLR end "rule__MessageRule__Group__3"
679
696
680
697
681
    // $ANTLR start rule__MessageRule__Group__3__Impl
698
    // $ANTLR start "rule__MessageRule__Group__3__Impl"
682
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:269:1: rule__MessageRule__Group__3__Impl : ( ( rule__MessageRule__NameAssignment_3 ) ) ;
699
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:269:1: rule__MessageRule__Group__3__Impl : ( ( rule__MessageRule__NameAssignment_3 ) ) ;
683
    public final void rule__MessageRule__Group__3__Impl() throws RecognitionException {
700
    public final void rule__MessageRule__Group__3__Impl() throws RecognitionException {
684
701
Lines 697-704 Link Here
697
            {
714
            {
698
            pushFollow(FOLLOW_rule__MessageRule__NameAssignment_3_in_rule__MessageRule__Group__3__Impl509);
715
            pushFollow(FOLLOW_rule__MessageRule__NameAssignment_3_in_rule__MessageRule__Group__3__Impl509);
699
            rule__MessageRule__NameAssignment_3();
716
            rule__MessageRule__NameAssignment_3();
700
            _fsp--;
701
717
718
            state._fsp--;
719
702
720
703
            }
721
            }
704
722
Lines 721-730 Link Here
721
        }
739
        }
722
        return ;
740
        return ;
723
    }
741
    }
724
    // $ANTLR end rule__MessageRule__Group__3__Impl
742
    // $ANTLR end "rule__MessageRule__Group__3__Impl"
725
743
726
744
727
    // $ANTLR start rule__MessageRule__Group_1__0
745
    // $ANTLR start "rule__MessageRule__Group_1__0"
728
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:294:1: rule__MessageRule__Group_1__0 : rule__MessageRule__Group_1__0__Impl rule__MessageRule__Group_1__1 ;
746
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:294:1: rule__MessageRule__Group_1__0 : rule__MessageRule__Group_1__0__Impl rule__MessageRule__Group_1__1 ;
729
    public final void rule__MessageRule__Group_1__0() throws RecognitionException {
747
    public final void rule__MessageRule__Group_1__0() throws RecognitionException {
730
748
Lines 736-746 Link Here
736
            {
754
            {
737
            pushFollow(FOLLOW_rule__MessageRule__Group_1__0__Impl_in_rule__MessageRule__Group_1__0547);
755
            pushFollow(FOLLOW_rule__MessageRule__Group_1__0__Impl_in_rule__MessageRule__Group_1__0547);
738
            rule__MessageRule__Group_1__0__Impl();
756
            rule__MessageRule__Group_1__0__Impl();
739
            _fsp--;
757
758
            state._fsp--;
740
759
741
            pushFollow(FOLLOW_rule__MessageRule__Group_1__1_in_rule__MessageRule__Group_1__0550);
760
            pushFollow(FOLLOW_rule__MessageRule__Group_1__1_in_rule__MessageRule__Group_1__0550);
742
            rule__MessageRule__Group_1__1();
761
            rule__MessageRule__Group_1__1();
743
            _fsp--;
762
763
            state._fsp--;
744
764
745
765
746
            }
766
            }
Lines 757-766 Link Here
757
        }
777
        }
758
        return ;
778
        return ;
759
    }
779
    }
760
    // $ANTLR end rule__MessageRule__Group_1__0
780
    // $ANTLR end "rule__MessageRule__Group_1__0"
761
781
762
782
763
    // $ANTLR start rule__MessageRule__Group_1__0__Impl
783
    // $ANTLR start "rule__MessageRule__Group_1__0__Impl"
764
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:306:1: rule__MessageRule__Group_1__0__Impl : ( '.' ) ;
784
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:306:1: rule__MessageRule__Group_1__0__Impl : ( '.' ) ;
765
    public final void rule__MessageRule__Group_1__0__Impl() throws RecognitionException {
785
    public final void rule__MessageRule__Group_1__0__Impl() throws RecognitionException {
766
786
Lines 794-803 Link Here
794
        }
814
        }
795
        return ;
815
        return ;
796
    }
816
    }
797
    // $ANTLR end rule__MessageRule__Group_1__0__Impl
817
    // $ANTLR end "rule__MessageRule__Group_1__0__Impl"
798
818
799
819
800
    // $ANTLR start rule__MessageRule__Group_1__1
820
    // $ANTLR start "rule__MessageRule__Group_1__1"
801
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:325:1: rule__MessageRule__Group_1__1 : rule__MessageRule__Group_1__1__Impl ;
821
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:325:1: rule__MessageRule__Group_1__1 : rule__MessageRule__Group_1__1__Impl ;
802
    public final void rule__MessageRule__Group_1__1() throws RecognitionException {
822
    public final void rule__MessageRule__Group_1__1() throws RecognitionException {
803
823
Lines 809-816 Link Here
809
            {
829
            {
810
            pushFollow(FOLLOW_rule__MessageRule__Group_1__1__Impl_in_rule__MessageRule__Group_1__1609);
830
            pushFollow(FOLLOW_rule__MessageRule__Group_1__1__Impl_in_rule__MessageRule__Group_1__1609);
811
            rule__MessageRule__Group_1__1__Impl();
831
            rule__MessageRule__Group_1__1__Impl();
812
            _fsp--;
813
832
833
            state._fsp--;
834
814
835
815
            }
836
            }
816
837
Lines 826-835 Link Here
826
        }
847
        }
827
        return ;
848
        return ;
828
    }
849
    }
829
    // $ANTLR end rule__MessageRule__Group_1__1
850
    // $ANTLR end "rule__MessageRule__Group_1__1"
830
851
831
852
832
    // $ANTLR start rule__MessageRule__Group_1__1__Impl
853
    // $ANTLR start "rule__MessageRule__Group_1__1__Impl"
833
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:336:1: rule__MessageRule__Group_1__1__Impl : ( ( rule__MessageRule__SequenceTermAssignment_1_1 ) ) ;
854
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:336:1: rule__MessageRule__Group_1__1__Impl : ( ( rule__MessageRule__SequenceTermAssignment_1_1 ) ) ;
834
    public final void rule__MessageRule__Group_1__1__Impl() throws RecognitionException {
855
    public final void rule__MessageRule__Group_1__1__Impl() throws RecognitionException {
835
856
Lines 848-855 Link Here
848
            {
869
            {
849
            pushFollow(FOLLOW_rule__MessageRule__SequenceTermAssignment_1_1_in_rule__MessageRule__Group_1__1__Impl636);
870
            pushFollow(FOLLOW_rule__MessageRule__SequenceTermAssignment_1_1_in_rule__MessageRule__Group_1__1__Impl636);
850
            rule__MessageRule__SequenceTermAssignment_1_1();
871
            rule__MessageRule__SequenceTermAssignment_1_1();
851
            _fsp--;
852
872
873
            state._fsp--;
874
853
875
854
            }
876
            }
855
877
Lines 872-881 Link Here
872
        }
894
        }
873
        return ;
895
        return ;
874
    }
896
    }
875
    // $ANTLR end rule__MessageRule__Group_1__1__Impl
897
    // $ANTLR end "rule__MessageRule__Group_1__1__Impl"
876
898
877
899
878
    // $ANTLR start rule__SequenceTermRule__Group__0
900
    // $ANTLR start "rule__SequenceTermRule__Group__0"
879
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:357:1: rule__SequenceTermRule__Group__0 : rule__SequenceTermRule__Group__0__Impl rule__SequenceTermRule__Group__1 ;
901
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:357:1: rule__SequenceTermRule__Group__0 : rule__SequenceTermRule__Group__0__Impl rule__SequenceTermRule__Group__1 ;
880
    public final void rule__SequenceTermRule__Group__0() throws RecognitionException {
902
    public final void rule__SequenceTermRule__Group__0() throws RecognitionException {
881
903
Lines 887-898 Link Here
887
            {
909
            {
888
            pushFollow(FOLLOW_rule__SequenceTermRule__Group__0__Impl_in_rule__SequenceTermRule__Group__0670);
910
            pushFollow(FOLLOW_rule__SequenceTermRule__Group__0__Impl_in_rule__SequenceTermRule__Group__0670);
889
            rule__SequenceTermRule__Group__0__Impl();
911
            rule__SequenceTermRule__Group__0__Impl();
890
            _fsp--;
912
913
            state._fsp--;
891
914
892
            pushFollow(FOLLOW_rule__SequenceTermRule__Group__1_in_rule__SequenceTermRule__Group__0673);
915
            pushFollow(FOLLOW_rule__SequenceTermRule__Group__1_in_rule__SequenceTermRule__Group__0673);
893
            rule__SequenceTermRule__Group__1();
916
            rule__SequenceTermRule__Group__1();
894
            _fsp--;
895
917
918
            state._fsp--;
919
896
920
897
            }
921
            }
898
922
Lines 908-917 Link Here
908
        }
932
        }
909
        return ;
933
        return ;
910
    }
934
    }
911
    // $ANTLR end rule__SequenceTermRule__Group__0
935
    // $ANTLR end "rule__SequenceTermRule__Group__0"
912
936
913
937
914
    // $ANTLR start rule__SequenceTermRule__Group__0__Impl
938
    // $ANTLR start "rule__SequenceTermRule__Group__0__Impl"
915
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:369:1: rule__SequenceTermRule__Group__0__Impl : ( ( rule__SequenceTermRule__SequencialOrderAssignment_0 ) ) ;
939
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:369:1: rule__SequenceTermRule__Group__0__Impl : ( ( rule__SequenceTermRule__SequencialOrderAssignment_0 ) ) ;
916
    public final void rule__SequenceTermRule__Group__0__Impl() throws RecognitionException {
940
    public final void rule__SequenceTermRule__Group__0__Impl() throws RecognitionException {
917
941
Lines 930-936 Link Here
930
            {
954
            {
931
            pushFollow(FOLLOW_rule__SequenceTermRule__SequencialOrderAssignment_0_in_rule__SequenceTermRule__Group__0__Impl700);
955
            pushFollow(FOLLOW_rule__SequenceTermRule__SequencialOrderAssignment_0_in_rule__SequenceTermRule__Group__0__Impl700);
932
            rule__SequenceTermRule__SequencialOrderAssignment_0();
956
            rule__SequenceTermRule__SequencialOrderAssignment_0();
933
            _fsp--;
957
958
            state._fsp--;
934
959
935
960
936
            }
961
            }
Lines 954-963 Link Here
954
        }
979
        }
955
        return ;
980
        return ;
956
    }
981
    }
957
    // $ANTLR end rule__SequenceTermRule__Group__0__Impl
982
    // $ANTLR end "rule__SequenceTermRule__Group__0__Impl"
958
983
959
984
960
    // $ANTLR start rule__SequenceTermRule__Group__1
985
    // $ANTLR start "rule__SequenceTermRule__Group__1"
961
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:386:1: rule__SequenceTermRule__Group__1 : rule__SequenceTermRule__Group__1__Impl rule__SequenceTermRule__Group__2 ;
986
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:386:1: rule__SequenceTermRule__Group__1 : rule__SequenceTermRule__Group__1__Impl rule__SequenceTermRule__Group__2 ;
962
    public final void rule__SequenceTermRule__Group__1() throws RecognitionException {
987
    public final void rule__SequenceTermRule__Group__1() throws RecognitionException {
963
988
Lines 969-980 Link Here
969
            {
994
            {
970
            pushFollow(FOLLOW_rule__SequenceTermRule__Group__1__Impl_in_rule__SequenceTermRule__Group__1730);
995
            pushFollow(FOLLOW_rule__SequenceTermRule__Group__1__Impl_in_rule__SequenceTermRule__Group__1730);
971
            rule__SequenceTermRule__Group__1__Impl();
996
            rule__SequenceTermRule__Group__1__Impl();
972
            _fsp--;
997
998
            state._fsp--;
973
999
974
            pushFollow(FOLLOW_rule__SequenceTermRule__Group__2_in_rule__SequenceTermRule__Group__1733);
1000
            pushFollow(FOLLOW_rule__SequenceTermRule__Group__2_in_rule__SequenceTermRule__Group__1733);
975
            rule__SequenceTermRule__Group__2();
1001
            rule__SequenceTermRule__Group__2();
976
            _fsp--;
977
1002
1003
            state._fsp--;
1004
978
1005
979
            }
1006
            }
980
1007
Lines 990-999 Link Here
990
        }
1017
        }
991
        return ;
1018
        return ;
992
    }
1019
    }
993
    // $ANTLR end rule__SequenceTermRule__Group__1
1020
    // $ANTLR end "rule__SequenceTermRule__Group__1"
994
1021
995
1022
996
    // $ANTLR start rule__SequenceTermRule__Group__1__Impl
1023
    // $ANTLR start "rule__SequenceTermRule__Group__1__Impl"
997
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:398:1: rule__SequenceTermRule__Group__1__Impl : ( ( rule__SequenceTermRule__SequenceNameAssignment_1 )? ) ;
1024
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:398:1: rule__SequenceTermRule__Group__1__Impl : ( ( rule__SequenceTermRule__SequenceNameAssignment_1 )? ) ;
998
    public final void rule__SequenceTermRule__Group__1__Impl() throws RecognitionException {
1025
    public final void rule__SequenceTermRule__Group__1__Impl() throws RecognitionException {
999
1026
Lines 1020-1026 Link Here
1020
                    {
1047
                    {
1021
                    pushFollow(FOLLOW_rule__SequenceTermRule__SequenceNameAssignment_1_in_rule__SequenceTermRule__Group__1__Impl760);
1048
                    pushFollow(FOLLOW_rule__SequenceTermRule__SequenceNameAssignment_1_in_rule__SequenceTermRule__Group__1__Impl760);
1022
                    rule__SequenceTermRule__SequenceNameAssignment_1();
1049
                    rule__SequenceTermRule__SequenceNameAssignment_1();
1023
                    _fsp--;
1050
1051
                    state._fsp--;
1024
1052
1025
1053
1026
                    }
1054
                    }
Lines 1047-1056 Link Here
1047
        }
1075
        }
1048
        return ;
1076
        return ;
1049
    }
1077
    }
1050
    // $ANTLR end rule__SequenceTermRule__Group__1__Impl
1078
    // $ANTLR end "rule__SequenceTermRule__Group__1__Impl"
1051
1079
1052
1080
1053
    // $ANTLR start rule__SequenceTermRule__Group__2
1081
    // $ANTLR start "rule__SequenceTermRule__Group__2"
1054
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:415:1: rule__SequenceTermRule__Group__2 : rule__SequenceTermRule__Group__2__Impl ;
1082
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:415:1: rule__SequenceTermRule__Group__2 : rule__SequenceTermRule__Group__2__Impl ;
1055
    public final void rule__SequenceTermRule__Group__2() throws RecognitionException {
1083
    public final void rule__SequenceTermRule__Group__2() throws RecognitionException {
1056
1084
Lines 1062-1068 Link Here
1062
            {
1090
            {
1063
            pushFollow(FOLLOW_rule__SequenceTermRule__Group__2__Impl_in_rule__SequenceTermRule__Group__2791);
1091
            pushFollow(FOLLOW_rule__SequenceTermRule__Group__2__Impl_in_rule__SequenceTermRule__Group__2791);
1064
            rule__SequenceTermRule__Group__2__Impl();
1092
            rule__SequenceTermRule__Group__2__Impl();
1065
            _fsp--;
1093
1094
            state._fsp--;
1066
1095
1067
1096
1068
            }
1097
            }
Lines 1079-1088 Link Here
1079
        }
1108
        }
1080
        return ;
1109
        return ;
1081
    }
1110
    }
1082
    // $ANTLR end rule__SequenceTermRule__Group__2
1111
    // $ANTLR end "rule__SequenceTermRule__Group__2"
1083
1112
1084
1113
1085
    // $ANTLR start rule__SequenceTermRule__Group__2__Impl
1114
    // $ANTLR start "rule__SequenceTermRule__Group__2__Impl"
1086
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:426:1: rule__SequenceTermRule__Group__2__Impl : ( ( rule__SequenceTermRule__RecurrenceAssignment_2 )? ) ;
1115
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:426:1: rule__SequenceTermRule__Group__2__Impl : ( ( rule__SequenceTermRule__RecurrenceAssignment_2 )? ) ;
1087
    public final void rule__SequenceTermRule__Group__2__Impl() throws RecognitionException {
1116
    public final void rule__SequenceTermRule__Group__2__Impl() throws RecognitionException {
1088
1117
Lines 1109-1116 Link Here
1109
                    {
1138
                    {
1110
                    pushFollow(FOLLOW_rule__SequenceTermRule__RecurrenceAssignment_2_in_rule__SequenceTermRule__Group__2__Impl818);
1139
                    pushFollow(FOLLOW_rule__SequenceTermRule__RecurrenceAssignment_2_in_rule__SequenceTermRule__Group__2__Impl818);
1111
                    rule__SequenceTermRule__RecurrenceAssignment_2();
1140
                    rule__SequenceTermRule__RecurrenceAssignment_2();
1112
                    _fsp--;
1113
1141
1142
                    state._fsp--;
1143
1114
1144
1115
                    }
1145
                    }
1116
                    break;
1146
                    break;
Lines 1136-1145 Link Here
1136
        }
1166
        }
1137
        return ;
1167
        return ;
1138
    }
1168
    }
1139
    // $ANTLR end rule__SequenceTermRule__Group__2__Impl
1169
    // $ANTLR end "rule__SequenceTermRule__Group__2__Impl"
1140
1170
1141
1171
1142
    // $ANTLR start rule__RecurrenceRule__Group_0__0
1172
    // $ANTLR start "rule__RecurrenceRule__Group_0__0"
1143
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:449:1: rule__RecurrenceRule__Group_0__0 : rule__RecurrenceRule__Group_0__0__Impl rule__RecurrenceRule__Group_0__1 ;
1173
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:449:1: rule__RecurrenceRule__Group_0__0 : rule__RecurrenceRule__Group_0__0__Impl rule__RecurrenceRule__Group_0__1 ;
1144
    public final void rule__RecurrenceRule__Group_0__0() throws RecognitionException {
1174
    public final void rule__RecurrenceRule__Group_0__0() throws RecognitionException {
1145
1175
Lines 1151-1161 Link Here
1151
            {
1181
            {
1152
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_0__0__Impl_in_rule__RecurrenceRule__Group_0__0855);
1182
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_0__0__Impl_in_rule__RecurrenceRule__Group_0__0855);
1153
            rule__RecurrenceRule__Group_0__0__Impl();
1183
            rule__RecurrenceRule__Group_0__0__Impl();
1154
            _fsp--;
1184
1185
            state._fsp--;
1155
1186
1156
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_0__1_in_rule__RecurrenceRule__Group_0__0858);
1187
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_0__1_in_rule__RecurrenceRule__Group_0__0858);
1157
            rule__RecurrenceRule__Group_0__1();
1188
            rule__RecurrenceRule__Group_0__1();
1158
            _fsp--;
1189
1190
            state._fsp--;
1159
1191
1160
1192
1161
            }
1193
            }
Lines 1172-1181 Link Here
1172
        }
1204
        }
1173
        return ;
1205
        return ;
1174
    }
1206
    }
1175
    // $ANTLR end rule__RecurrenceRule__Group_0__0
1207
    // $ANTLR end "rule__RecurrenceRule__Group_0__0"
1176
1208
1177
1209
1178
    // $ANTLR start rule__RecurrenceRule__Group_0__0__Impl
1210
    // $ANTLR start "rule__RecurrenceRule__Group_0__0__Impl"
1179
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:461:1: rule__RecurrenceRule__Group_0__0__Impl : ( '*' ) ;
1211
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:461:1: rule__RecurrenceRule__Group_0__0__Impl : ( '*' ) ;
1180
    public final void rule__RecurrenceRule__Group_0__0__Impl() throws RecognitionException {
1212
    public final void rule__RecurrenceRule__Group_0__0__Impl() throws RecognitionException {
1181
1213
Lines 1209-1218 Link Here
1209
        }
1241
        }
1210
        return ;
1242
        return ;
1211
    }
1243
    }
1212
    // $ANTLR end rule__RecurrenceRule__Group_0__0__Impl
1244
    // $ANTLR end "rule__RecurrenceRule__Group_0__0__Impl"
1213
1245
1214
1246
1215
    // $ANTLR start rule__RecurrenceRule__Group_0__1
1247
    // $ANTLR start "rule__RecurrenceRule__Group_0__1"
1216
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:480:1: rule__RecurrenceRule__Group_0__1 : rule__RecurrenceRule__Group_0__1__Impl rule__RecurrenceRule__Group_0__2 ;
1248
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:480:1: rule__RecurrenceRule__Group_0__1 : rule__RecurrenceRule__Group_0__1__Impl rule__RecurrenceRule__Group_0__2 ;
1217
    public final void rule__RecurrenceRule__Group_0__1() throws RecognitionException {
1249
    public final void rule__RecurrenceRule__Group_0__1() throws RecognitionException {
1218
1250
Lines 1224-1234 Link Here
1224
            {
1256
            {
1225
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_0__1__Impl_in_rule__RecurrenceRule__Group_0__1917);
1257
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_0__1__Impl_in_rule__RecurrenceRule__Group_0__1917);
1226
            rule__RecurrenceRule__Group_0__1__Impl();
1258
            rule__RecurrenceRule__Group_0__1__Impl();
1227
            _fsp--;
1259
1260
            state._fsp--;
1228
1261
1229
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_0__2_in_rule__RecurrenceRule__Group_0__1920);
1262
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_0__2_in_rule__RecurrenceRule__Group_0__1920);
1230
            rule__RecurrenceRule__Group_0__2();
1263
            rule__RecurrenceRule__Group_0__2();
1231
            _fsp--;
1264
1265
            state._fsp--;
1232
1266
1233
1267
1234
            }
1268
            }
Lines 1245-1254 Link Here
1245
        }
1279
        }
1246
        return ;
1280
        return ;
1247
    }
1281
    }
1248
    // $ANTLR end rule__RecurrenceRule__Group_0__1
1282
    // $ANTLR end "rule__RecurrenceRule__Group_0__1"
1249
1283
1250
1284
1251
    // $ANTLR start rule__RecurrenceRule__Group_0__1__Impl
1285
    // $ANTLR start "rule__RecurrenceRule__Group_0__1__Impl"
1252
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:492:1: rule__RecurrenceRule__Group_0__1__Impl : ( '[' ) ;
1286
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:492:1: rule__RecurrenceRule__Group_0__1__Impl : ( '[' ) ;
1253
    public final void rule__RecurrenceRule__Group_0__1__Impl() throws RecognitionException {
1287
    public final void rule__RecurrenceRule__Group_0__1__Impl() throws RecognitionException {
1254
1288
Lines 1282-1291 Link Here
1282
        }
1316
        }
1283
        return ;
1317
        return ;
1284
    }
1318
    }
1285
    // $ANTLR end rule__RecurrenceRule__Group_0__1__Impl
1319
    // $ANTLR end "rule__RecurrenceRule__Group_0__1__Impl"
1286
1320
1287
1321
1288
    // $ANTLR start rule__RecurrenceRule__Group_0__2
1322
    // $ANTLR start "rule__RecurrenceRule__Group_0__2"
1289
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:511:1: rule__RecurrenceRule__Group_0__2 : rule__RecurrenceRule__Group_0__2__Impl rule__RecurrenceRule__Group_0__3 ;
1323
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:511:1: rule__RecurrenceRule__Group_0__2 : rule__RecurrenceRule__Group_0__2__Impl rule__RecurrenceRule__Group_0__3 ;
1290
    public final void rule__RecurrenceRule__Group_0__2() throws RecognitionException {
1324
    public final void rule__RecurrenceRule__Group_0__2() throws RecognitionException {
1291
1325
Lines 1297-1308 Link Here
1297
            {
1331
            {
1298
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_0__2__Impl_in_rule__RecurrenceRule__Group_0__2979);
1332
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_0__2__Impl_in_rule__RecurrenceRule__Group_0__2979);
1299
            rule__RecurrenceRule__Group_0__2__Impl();
1333
            rule__RecurrenceRule__Group_0__2__Impl();
1300
            _fsp--;
1334
1335
            state._fsp--;
1301
1336
1302
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_0__3_in_rule__RecurrenceRule__Group_0__2982);
1337
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_0__3_in_rule__RecurrenceRule__Group_0__2982);
1303
            rule__RecurrenceRule__Group_0__3();
1338
            rule__RecurrenceRule__Group_0__3();
1304
            _fsp--;
1305
1339
1340
            state._fsp--;
1341
1306
1342
1307
            }
1343
            }
1308
1344
Lines 1318-1327 Link Here
1318
        }
1354
        }
1319
        return ;
1355
        return ;
1320
    }
1356
    }
1321
    // $ANTLR end rule__RecurrenceRule__Group_0__2
1357
    // $ANTLR end "rule__RecurrenceRule__Group_0__2"
1322
1358
1323
1359
1324
    // $ANTLR start rule__RecurrenceRule__Group_0__2__Impl
1360
    // $ANTLR start "rule__RecurrenceRule__Group_0__2__Impl"
1325
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:523:1: rule__RecurrenceRule__Group_0__2__Impl : ( RULE_STRING ) ;
1361
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:523:1: rule__RecurrenceRule__Group_0__2__Impl : ( RULE_STRING ) ;
1326
    public final void rule__RecurrenceRule__Group_0__2__Impl() throws RecognitionException {
1362
    public final void rule__RecurrenceRule__Group_0__2__Impl() throws RecognitionException {
1327
1363
Lines 1355-1364 Link Here
1355
        }
1391
        }
1356
        return ;
1392
        return ;
1357
    }
1393
    }
1358
    // $ANTLR end rule__RecurrenceRule__Group_0__2__Impl
1394
    // $ANTLR end "rule__RecurrenceRule__Group_0__2__Impl"
1359
1395
1360
1396
1361
    // $ANTLR start rule__RecurrenceRule__Group_0__3
1397
    // $ANTLR start "rule__RecurrenceRule__Group_0__3"
1362
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:540:1: rule__RecurrenceRule__Group_0__3 : rule__RecurrenceRule__Group_0__3__Impl ;
1398
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:540:1: rule__RecurrenceRule__Group_0__3 : rule__RecurrenceRule__Group_0__3__Impl ;
1363
    public final void rule__RecurrenceRule__Group_0__3() throws RecognitionException {
1399
    public final void rule__RecurrenceRule__Group_0__3() throws RecognitionException {
1364
1400
Lines 1370-1376 Link Here
1370
            {
1406
            {
1371
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_0__3__Impl_in_rule__RecurrenceRule__Group_0__31038);
1407
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_0__3__Impl_in_rule__RecurrenceRule__Group_0__31038);
1372
            rule__RecurrenceRule__Group_0__3__Impl();
1408
            rule__RecurrenceRule__Group_0__3__Impl();
1373
            _fsp--;
1409
1410
            state._fsp--;
1374
1411
1375
1412
1376
            }
1413
            }
Lines 1387-1396 Link Here
1387
        }
1424
        }
1388
        return ;
1425
        return ;
1389
    }
1426
    }
1390
    // $ANTLR end rule__RecurrenceRule__Group_0__3
1427
    // $ANTLR end "rule__RecurrenceRule__Group_0__3"
1391
1428
1392
1429
1393
    // $ANTLR start rule__RecurrenceRule__Group_0__3__Impl
1430
    // $ANTLR start "rule__RecurrenceRule__Group_0__3__Impl"
1394
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:551:1: rule__RecurrenceRule__Group_0__3__Impl : ( ']' ) ;
1431
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:551:1: rule__RecurrenceRule__Group_0__3__Impl : ( ']' ) ;
1395
    public final void rule__RecurrenceRule__Group_0__3__Impl() throws RecognitionException {
1432
    public final void rule__RecurrenceRule__Group_0__3__Impl() throws RecognitionException {
1396
1433
Lines 1424-1433 Link Here
1424
        }
1461
        }
1425
        return ;
1462
        return ;
1426
    }
1463
    }
1427
    // $ANTLR end rule__RecurrenceRule__Group_0__3__Impl
1464
    // $ANTLR end "rule__RecurrenceRule__Group_0__3__Impl"
1428
1465
1429
1466
1430
    // $ANTLR start rule__RecurrenceRule__Group_1__0
1467
    // $ANTLR start "rule__RecurrenceRule__Group_1__0"
1431
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:578:1: rule__RecurrenceRule__Group_1__0 : rule__RecurrenceRule__Group_1__0__Impl rule__RecurrenceRule__Group_1__1 ;
1468
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:578:1: rule__RecurrenceRule__Group_1__0 : rule__RecurrenceRule__Group_1__0__Impl rule__RecurrenceRule__Group_1__1 ;
1432
    public final void rule__RecurrenceRule__Group_1__0() throws RecognitionException {
1469
    public final void rule__RecurrenceRule__Group_1__0() throws RecognitionException {
1433
1470
Lines 1439-1450 Link Here
1439
            {
1476
            {
1440
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_1__0__Impl_in_rule__RecurrenceRule__Group_1__01105);
1477
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_1__0__Impl_in_rule__RecurrenceRule__Group_1__01105);
1441
            rule__RecurrenceRule__Group_1__0__Impl();
1478
            rule__RecurrenceRule__Group_1__0__Impl();
1442
            _fsp--;
1479
1480
            state._fsp--;
1443
1481
1444
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_1__1_in_rule__RecurrenceRule__Group_1__01108);
1482
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_1__1_in_rule__RecurrenceRule__Group_1__01108);
1445
            rule__RecurrenceRule__Group_1__1();
1483
            rule__RecurrenceRule__Group_1__1();
1446
            _fsp--;
1447
1484
1485
            state._fsp--;
1486
1448
1487
1449
            }
1488
            }
1450
1489
Lines 1460-1469 Link Here
1460
        }
1499
        }
1461
        return ;
1500
        return ;
1462
    }
1501
    }
1463
    // $ANTLR end rule__RecurrenceRule__Group_1__0
1502
    // $ANTLR end "rule__RecurrenceRule__Group_1__0"
1464
1503
1465
1504
1466
    // $ANTLR start rule__RecurrenceRule__Group_1__0__Impl
1505
    // $ANTLR start "rule__RecurrenceRule__Group_1__0__Impl"
1467
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:590:1: rule__RecurrenceRule__Group_1__0__Impl : ( '[' ) ;
1506
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:590:1: rule__RecurrenceRule__Group_1__0__Impl : ( '[' ) ;
1468
    public final void rule__RecurrenceRule__Group_1__0__Impl() throws RecognitionException {
1507
    public final void rule__RecurrenceRule__Group_1__0__Impl() throws RecognitionException {
1469
1508
Lines 1497-1506 Link Here
1497
        }
1536
        }
1498
        return ;
1537
        return ;
1499
    }
1538
    }
1500
    // $ANTLR end rule__RecurrenceRule__Group_1__0__Impl
1539
    // $ANTLR end "rule__RecurrenceRule__Group_1__0__Impl"
1501
1540
1502
1541
1503
    // $ANTLR start rule__RecurrenceRule__Group_1__1
1542
    // $ANTLR start "rule__RecurrenceRule__Group_1__1"
1504
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:609:1: rule__RecurrenceRule__Group_1__1 : rule__RecurrenceRule__Group_1__1__Impl rule__RecurrenceRule__Group_1__2 ;
1543
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:609:1: rule__RecurrenceRule__Group_1__1 : rule__RecurrenceRule__Group_1__1__Impl rule__RecurrenceRule__Group_1__2 ;
1505
    public final void rule__RecurrenceRule__Group_1__1() throws RecognitionException {
1544
    public final void rule__RecurrenceRule__Group_1__1() throws RecognitionException {
1506
1545
Lines 1512-1522 Link Here
1512
            {
1551
            {
1513
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_1__1__Impl_in_rule__RecurrenceRule__Group_1__11167);
1552
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_1__1__Impl_in_rule__RecurrenceRule__Group_1__11167);
1514
            rule__RecurrenceRule__Group_1__1__Impl();
1553
            rule__RecurrenceRule__Group_1__1__Impl();
1515
            _fsp--;
1554
1555
            state._fsp--;
1516
1556
1517
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_1__2_in_rule__RecurrenceRule__Group_1__11170);
1557
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_1__2_in_rule__RecurrenceRule__Group_1__11170);
1518
            rule__RecurrenceRule__Group_1__2();
1558
            rule__RecurrenceRule__Group_1__2();
1519
            _fsp--;
1559
1560
            state._fsp--;
1520
1561
1521
1562
1522
            }
1563
            }
Lines 1533-1542 Link Here
1533
        }
1574
        }
1534
        return ;
1575
        return ;
1535
    }
1576
    }
1536
    // $ANTLR end rule__RecurrenceRule__Group_1__1
1577
    // $ANTLR end "rule__RecurrenceRule__Group_1__1"
1537
1578
1538
1579
1539
    // $ANTLR start rule__RecurrenceRule__Group_1__1__Impl
1580
    // $ANTLR start "rule__RecurrenceRule__Group_1__1__Impl"
1540
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:621:1: rule__RecurrenceRule__Group_1__1__Impl : ( RULE_STRING ) ;
1581
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:621:1: rule__RecurrenceRule__Group_1__1__Impl : ( RULE_STRING ) ;
1541
    public final void rule__RecurrenceRule__Group_1__1__Impl() throws RecognitionException {
1582
    public final void rule__RecurrenceRule__Group_1__1__Impl() throws RecognitionException {
1542
1583
Lines 1570-1579 Link Here
1570
        }
1611
        }
1571
        return ;
1612
        return ;
1572
    }
1613
    }
1573
    // $ANTLR end rule__RecurrenceRule__Group_1__1__Impl
1614
    // $ANTLR end "rule__RecurrenceRule__Group_1__1__Impl"
1574
1615
1575
1616
1576
    // $ANTLR start rule__RecurrenceRule__Group_1__2
1617
    // $ANTLR start "rule__RecurrenceRule__Group_1__2"
1577
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:638:1: rule__RecurrenceRule__Group_1__2 : rule__RecurrenceRule__Group_1__2__Impl ;
1618
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:638:1: rule__RecurrenceRule__Group_1__2 : rule__RecurrenceRule__Group_1__2__Impl ;
1578
    public final void rule__RecurrenceRule__Group_1__2() throws RecognitionException {
1619
    public final void rule__RecurrenceRule__Group_1__2() throws RecognitionException {
1579
1620
Lines 1585-1592 Link Here
1585
            {
1626
            {
1586
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_1__2__Impl_in_rule__RecurrenceRule__Group_1__21226);
1627
            pushFollow(FOLLOW_rule__RecurrenceRule__Group_1__2__Impl_in_rule__RecurrenceRule__Group_1__21226);
1587
            rule__RecurrenceRule__Group_1__2__Impl();
1628
            rule__RecurrenceRule__Group_1__2__Impl();
1588
            _fsp--;
1589
1629
1630
            state._fsp--;
1631
1590
1632
1591
            }
1633
            }
1592
1634
Lines 1602-1611 Link Here
1602
        }
1644
        }
1603
        return ;
1645
        return ;
1604
    }
1646
    }
1605
    // $ANTLR end rule__RecurrenceRule__Group_1__2
1647
    // $ANTLR end "rule__RecurrenceRule__Group_1__2"
1606
1648
1607
1649
1608
    // $ANTLR start rule__RecurrenceRule__Group_1__2__Impl
1650
    // $ANTLR start "rule__RecurrenceRule__Group_1__2__Impl"
1609
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:649:1: rule__RecurrenceRule__Group_1__2__Impl : ( ']' ) ;
1651
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:649:1: rule__RecurrenceRule__Group_1__2__Impl : ( ']' ) ;
1610
    public final void rule__RecurrenceRule__Group_1__2__Impl() throws RecognitionException {
1652
    public final void rule__RecurrenceRule__Group_1__2__Impl() throws RecognitionException {
1611
1653
Lines 1639-1648 Link Here
1639
        }
1681
        }
1640
        return ;
1682
        return ;
1641
    }
1683
    }
1642
    // $ANTLR end rule__RecurrenceRule__Group_1__2__Impl
1684
    // $ANTLR end "rule__RecurrenceRule__Group_1__2__Impl"
1643
1685
1644
1686
1645
    // $ANTLR start rule__MessageRule__SequenceTermAssignment_0
1687
    // $ANTLR start "rule__MessageRule__SequenceTermAssignment_0"
1646
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:675:1: rule__MessageRule__SequenceTermAssignment_0 : ( ruleSequenceTermRule ) ;
1688
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:675:1: rule__MessageRule__SequenceTermAssignment_0 : ( ruleSequenceTermRule ) ;
1647
    public final void rule__MessageRule__SequenceTermAssignment_0() throws RecognitionException {
1689
    public final void rule__MessageRule__SequenceTermAssignment_0() throws RecognitionException {
1648
1690
Lines 1658-1664 Link Here
1658
             before(grammarAccess.getMessageRuleAccess().getSequenceTermSequenceTermRuleParserRuleCall_0_0()); 
1700
             before(grammarAccess.getMessageRuleAccess().getSequenceTermSequenceTermRuleParserRuleCall_0_0()); 
1659
            pushFollow(FOLLOW_ruleSequenceTermRule_in_rule__MessageRule__SequenceTermAssignment_01296);
1701
            pushFollow(FOLLOW_ruleSequenceTermRule_in_rule__MessageRule__SequenceTermAssignment_01296);
1660
            ruleSequenceTermRule();
1702
            ruleSequenceTermRule();
1661
            _fsp--;
1703
1704
            state._fsp--;
1662
1705
1663
             after(grammarAccess.getMessageRuleAccess().getSequenceTermSequenceTermRuleParserRuleCall_0_0()); 
1706
             after(grammarAccess.getMessageRuleAccess().getSequenceTermSequenceTermRuleParserRuleCall_0_0()); 
1664
1707
Lines 1679-1688 Link Here
1679
        }
1722
        }
1680
        return ;
1723
        return ;
1681
    }
1724
    }
1682
    // $ANTLR end rule__MessageRule__SequenceTermAssignment_0
1725
    // $ANTLR end "rule__MessageRule__SequenceTermAssignment_0"
1683
1726
1684
1727
1685
    // $ANTLR start rule__MessageRule__SequenceTermAssignment_1_1
1728
    // $ANTLR start "rule__MessageRule__SequenceTermAssignment_1_1"
1686
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:690:1: rule__MessageRule__SequenceTermAssignment_1_1 : ( ruleSequenceTermRule ) ;
1729
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:690:1: rule__MessageRule__SequenceTermAssignment_1_1 : ( ruleSequenceTermRule ) ;
1687
    public final void rule__MessageRule__SequenceTermAssignment_1_1() throws RecognitionException {
1730
    public final void rule__MessageRule__SequenceTermAssignment_1_1() throws RecognitionException {
1688
1731
Lines 1698-1704 Link Here
1698
             before(grammarAccess.getMessageRuleAccess().getSequenceTermSequenceTermRuleParserRuleCall_1_1_0()); 
1741
             before(grammarAccess.getMessageRuleAccess().getSequenceTermSequenceTermRuleParserRuleCall_1_1_0()); 
1699
            pushFollow(FOLLOW_ruleSequenceTermRule_in_rule__MessageRule__SequenceTermAssignment_1_11327);
1742
            pushFollow(FOLLOW_ruleSequenceTermRule_in_rule__MessageRule__SequenceTermAssignment_1_11327);
1700
            ruleSequenceTermRule();
1743
            ruleSequenceTermRule();
1701
            _fsp--;
1744
1745
            state._fsp--;
1702
1746
1703
             after(grammarAccess.getMessageRuleAccess().getSequenceTermSequenceTermRuleParserRuleCall_1_1_0()); 
1747
             after(grammarAccess.getMessageRuleAccess().getSequenceTermSequenceTermRuleParserRuleCall_1_1_0()); 
1704
1748
Lines 1719-1728 Link Here
1719
        }
1763
        }
1720
        return ;
1764
        return ;
1721
    }
1765
    }
1722
    // $ANTLR end rule__MessageRule__SequenceTermAssignment_1_1
1766
    // $ANTLR end "rule__MessageRule__SequenceTermAssignment_1_1"
1723
1767
1724
1768
1725
    // $ANTLR start rule__MessageRule__NameAssignment_3
1769
    // $ANTLR start "rule__MessageRule__NameAssignment_3"
1726
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:705:1: rule__MessageRule__NameAssignment_3 : ( RULE_NAMERULE ) ;
1770
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:705:1: rule__MessageRule__NameAssignment_3 : ( RULE_NAMERULE ) ;
1727
    public final void rule__MessageRule__NameAssignment_3() throws RecognitionException {
1771
    public final void rule__MessageRule__NameAssignment_3() throws RecognitionException {
1728
1772
Lines 1756-1765 Link Here
1756
        }
1800
        }
1757
        return ;
1801
        return ;
1758
    }
1802
    }
1759
    // $ANTLR end rule__MessageRule__NameAssignment_3
1803
    // $ANTLR end "rule__MessageRule__NameAssignment_3"
1760
1804
1761
1805
1762
    // $ANTLR start rule__SequenceTermRule__SequencialOrderAssignment_0
1806
    // $ANTLR start "rule__SequenceTermRule__SequencialOrderAssignment_0"
1763
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:720:1: rule__SequenceTermRule__SequencialOrderAssignment_0 : ( RULE_INT ) ;
1807
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:720:1: rule__SequenceTermRule__SequencialOrderAssignment_0 : ( RULE_INT ) ;
1764
    public final void rule__SequenceTermRule__SequencialOrderAssignment_0() throws RecognitionException {
1808
    public final void rule__SequenceTermRule__SequencialOrderAssignment_0() throws RecognitionException {
1765
1809
Lines 1793-1802 Link Here
1793
        }
1837
        }
1794
        return ;
1838
        return ;
1795
    }
1839
    }
1796
    // $ANTLR end rule__SequenceTermRule__SequencialOrderAssignment_0
1840
    // $ANTLR end "rule__SequenceTermRule__SequencialOrderAssignment_0"
1797
1841
1798
1842
1799
    // $ANTLR start rule__SequenceTermRule__SequenceNameAssignment_1
1843
    // $ANTLR start "rule__SequenceTermRule__SequenceNameAssignment_1"
1800
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:735:1: rule__SequenceTermRule__SequenceNameAssignment_1 : ( RULE_ID ) ;
1844
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:735:1: rule__SequenceTermRule__SequenceNameAssignment_1 : ( RULE_ID ) ;
1801
    public final void rule__SequenceTermRule__SequenceNameAssignment_1() throws RecognitionException {
1845
    public final void rule__SequenceTermRule__SequenceNameAssignment_1() throws RecognitionException {
1802
1846
Lines 1830-1839 Link Here
1830
        }
1874
        }
1831
        return ;
1875
        return ;
1832
    }
1876
    }
1833
    // $ANTLR end rule__SequenceTermRule__SequenceNameAssignment_1
1877
    // $ANTLR end "rule__SequenceTermRule__SequenceNameAssignment_1"
1834
1878
1835
1879
1836
    // $ANTLR start rule__SequenceTermRule__RecurrenceAssignment_2
1880
    // $ANTLR start "rule__SequenceTermRule__RecurrenceAssignment_2"
1837
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:750:1: rule__SequenceTermRule__RecurrenceAssignment_2 : ( ruleRecurrenceRule ) ;
1881
    // ../org.eclipse.papyrus.message.editor.xtext.ui/src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/internal/InternalUmlMessage.g:750:1: rule__SequenceTermRule__RecurrenceAssignment_2 : ( ruleRecurrenceRule ) ;
1838
    public final void rule__SequenceTermRule__RecurrenceAssignment_2() throws RecognitionException {
1882
    public final void rule__SequenceTermRule__RecurrenceAssignment_2() throws RecognitionException {
1839
1883
Lines 1849-1855 Link Here
1849
             before(grammarAccess.getSequenceTermRuleAccess().getRecurrenceRecurrenceRuleParserRuleCall_2_0()); 
1893
             before(grammarAccess.getSequenceTermRuleAccess().getRecurrenceRecurrenceRuleParserRuleCall_2_0()); 
1850
            pushFollow(FOLLOW_ruleRecurrenceRule_in_rule__SequenceTermRule__RecurrenceAssignment_21451);
1894
            pushFollow(FOLLOW_ruleRecurrenceRule_in_rule__SequenceTermRule__RecurrenceAssignment_21451);
1851
            ruleRecurrenceRule();
1895
            ruleRecurrenceRule();
1852
            _fsp--;
1896
1897
            state._fsp--;
1853
1898
1854
             after(grammarAccess.getSequenceTermRuleAccess().getRecurrenceRecurrenceRuleParserRuleCall_2_0()); 
1899
             after(grammarAccess.getSequenceTermRuleAccess().getRecurrenceRecurrenceRuleParserRuleCall_2_0()); 
1855
1900
Lines 1870-1877 Link Here
1870
        }
1915
        }
1871
        return ;
1916
        return ;
1872
    }
1917
    }
1873
    // $ANTLR end rule__SequenceTermRule__RecurrenceAssignment_2
1918
    // $ANTLR end "rule__SequenceTermRule__RecurrenceAssignment_2"
1874
1919
1920
    // Delegated rules
1921
1875
1922
1876
 
1923
 
1877
1924
Lines 1889-1895 Link Here
1889
    public static final BitSet FOLLOW_rule__MessageRule__Group__0__Impl_in_rule__MessageRule__Group__0299 = new BitSet(new long[]{0x0000000000003000L});
1936
    public static final BitSet FOLLOW_rule__MessageRule__Group__0__Impl_in_rule__MessageRule__Group__0299 = new BitSet(new long[]{0x0000000000003000L});
1890
    public static final BitSet FOLLOW_rule__MessageRule__Group__1_in_rule__MessageRule__Group__0302 = new BitSet(new long[]{0x0000000000000002L});
1937
    public static final BitSet FOLLOW_rule__MessageRule__Group__1_in_rule__MessageRule__Group__0302 = new BitSet(new long[]{0x0000000000000002L});
1891
    public static final BitSet FOLLOW_rule__MessageRule__SequenceTermAssignment_0_in_rule__MessageRule__Group__0__Impl329 = new BitSet(new long[]{0x0000000000000002L});
1938
    public static final BitSet FOLLOW_rule__MessageRule__SequenceTermAssignment_0_in_rule__MessageRule__Group__0__Impl329 = new BitSet(new long[]{0x0000000000000002L});
1892
    public static final BitSet FOLLOW_rule__MessageRule__Group__1__Impl_in_rule__MessageRule__Group__1359 = new BitSet(new long[]{0x0000000000001000L});
1939
    public static final BitSet FOLLOW_rule__MessageRule__Group__1__Impl_in_rule__MessageRule__Group__1359 = new BitSet(new long[]{0x0000000000003000L});
1893
    public static final BitSet FOLLOW_rule__MessageRule__Group__2_in_rule__MessageRule__Group__1362 = new BitSet(new long[]{0x0000000000000002L});
1940
    public static final BitSet FOLLOW_rule__MessageRule__Group__2_in_rule__MessageRule__Group__1362 = new BitSet(new long[]{0x0000000000000002L});
1894
    public static final BitSet FOLLOW_rule__MessageRule__Group_1__0_in_rule__MessageRule__Group__1__Impl389 = new BitSet(new long[]{0x0000000000002002L});
1941
    public static final BitSet FOLLOW_rule__MessageRule__Group_1__0_in_rule__MessageRule__Group__1__Impl389 = new BitSet(new long[]{0x0000000000002002L});
1895
    public static final BitSet FOLLOW_rule__MessageRule__Group__2__Impl_in_rule__MessageRule__Group__2420 = new BitSet(new long[]{0x0000000000000020L});
1942
    public static final BitSet FOLLOW_rule__MessageRule__Group__2__Impl_in_rule__MessageRule__Group__2420 = new BitSet(new long[]{0x0000000000000020L});
Lines 1902-1911 Link Here
1902
    public static final BitSet FOLLOW_13_in_rule__MessageRule__Group_1__0__Impl578 = new BitSet(new long[]{0x0000000000000002L});
1949
    public static final BitSet FOLLOW_13_in_rule__MessageRule__Group_1__0__Impl578 = new BitSet(new long[]{0x0000000000000002L});
1903
    public static final BitSet FOLLOW_rule__MessageRule__Group_1__1__Impl_in_rule__MessageRule__Group_1__1609 = new BitSet(new long[]{0x0000000000000002L});
1950
    public static final BitSet FOLLOW_rule__MessageRule__Group_1__1__Impl_in_rule__MessageRule__Group_1__1609 = new BitSet(new long[]{0x0000000000000002L});
1904
    public static final BitSet FOLLOW_rule__MessageRule__SequenceTermAssignment_1_1_in_rule__MessageRule__Group_1__1__Impl636 = new BitSet(new long[]{0x0000000000000002L});
1951
    public static final BitSet FOLLOW_rule__MessageRule__SequenceTermAssignment_1_1_in_rule__MessageRule__Group_1__1__Impl636 = new BitSet(new long[]{0x0000000000000002L});
1905
    public static final BitSet FOLLOW_rule__SequenceTermRule__Group__0__Impl_in_rule__SequenceTermRule__Group__0670 = new BitSet(new long[]{0x000000000000C082L});
1952
    public static final BitSet FOLLOW_rule__SequenceTermRule__Group__0__Impl_in_rule__SequenceTermRule__Group__0670 = new BitSet(new long[]{0x000000000000C080L});
1906
    public static final BitSet FOLLOW_rule__SequenceTermRule__Group__1_in_rule__SequenceTermRule__Group__0673 = new BitSet(new long[]{0x0000000000000002L});
1953
    public static final BitSet FOLLOW_rule__SequenceTermRule__Group__1_in_rule__SequenceTermRule__Group__0673 = new BitSet(new long[]{0x0000000000000002L});
1907
    public static final BitSet FOLLOW_rule__SequenceTermRule__SequencialOrderAssignment_0_in_rule__SequenceTermRule__Group__0__Impl700 = new BitSet(new long[]{0x0000000000000002L});
1954
    public static final BitSet FOLLOW_rule__SequenceTermRule__SequencialOrderAssignment_0_in_rule__SequenceTermRule__Group__0__Impl700 = new BitSet(new long[]{0x0000000000000002L});
1908
    public static final BitSet FOLLOW_rule__SequenceTermRule__Group__1__Impl_in_rule__SequenceTermRule__Group__1730 = new BitSet(new long[]{0x000000000000C002L});
1955
    public static final BitSet FOLLOW_rule__SequenceTermRule__Group__1__Impl_in_rule__SequenceTermRule__Group__1730 = new BitSet(new long[]{0x000000000000C080L});
1909
    public static final BitSet FOLLOW_rule__SequenceTermRule__Group__2_in_rule__SequenceTermRule__Group__1733 = new BitSet(new long[]{0x0000000000000002L});
1956
    public static final BitSet FOLLOW_rule__SequenceTermRule__Group__2_in_rule__SequenceTermRule__Group__1733 = new BitSet(new long[]{0x0000000000000002L});
1910
    public static final BitSet FOLLOW_rule__SequenceTermRule__SequenceNameAssignment_1_in_rule__SequenceTermRule__Group__1__Impl760 = new BitSet(new long[]{0x0000000000000002L});
1957
    public static final BitSet FOLLOW_rule__SequenceTermRule__SequenceNameAssignment_1_in_rule__SequenceTermRule__Group__1__Impl760 = new BitSet(new long[]{0x0000000000000002L});
1911
    public static final BitSet FOLLOW_rule__SequenceTermRule__Group__2__Impl_in_rule__SequenceTermRule__Group__2791 = new BitSet(new long[]{0x0000000000000002L});
1958
    public static final BitSet FOLLOW_rule__SequenceTermRule__Group__2__Impl_in_rule__SequenceTermRule__Group__2791 = new BitSet(new long[]{0x0000000000000002L});
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/antlr/UmlMessageParser.java (-13 / +3 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/*
2
 * Copyright (c) 2010 CEA LIST.
2
* generated by Xtext
3
 *
3
*/
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.message.editor.xtext.ui.contentassist.antlr;
4
package org.eclipse.papyrus.message.editor.xtext.ui.contentassist.antlr;
15
5
16
import java.util.Collection;
6
import java.util.Collection;
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/ui/contentassist/AbstractUmlMessageProposalProvider.java (-13 / +3 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
1
/*
2
 * Copyright (c) 2010 CEA LIST.
2
* generated by Xtext
3
 *
3
*/
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.message.editor.xtext.ui.contentassist;
4
package org.eclipse.papyrus.message.editor.xtext.ui.contentassist;
15
5
16
import org.eclipse.emf.ecore.EObject;
6
import org.eclipse.emf.ecore.EObject;
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/ui/internal/UmlMessageActivator.java (-23 / +22 lines)
Lines 1-34 Link Here
1
1
/*
2
/*****************************************************************************
2
 * generated by Xtext
3
 * Copyright (c) 2010 CEA LIST.
3
 */
4
 *
5
 *    
6
 * All rights reserved. This program and the accompanying materials
7
 * are made available under the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
9
 * http://www.eclipse.org/legal/epl-v10.html
10
 *
11
 * Contributors:
12
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
13
 *
14
 *****************************************************************************/
15
package org.eclipse.papyrus.message.editor.xtext.ui.internal;
4
package org.eclipse.papyrus.message.editor.xtext.ui.internal;
16
5
6
import static com.google.inject.util.Modules.override;
7
import static com.google.inject.Guice.createInjector;
8
17
import org.apache.log4j.Logger;
9
import org.apache.log4j.Logger;
18
10
19
import org.eclipse.ui.plugin.AbstractUIPlugin;
11
import org.eclipse.ui.plugin.AbstractUIPlugin;
20
import org.osgi.framework.BundleContext;
12
import org.osgi.framework.BundleContext;
21
13
22
import com.google.inject.Guice;
23
import com.google.inject.Injector;
14
import com.google.inject.Injector;
24
import com.google.inject.Module;
15
import com.google.inject.Module;
25
import com.google.inject.util.Modules;
26
16
27
import java.util.Map;
17
import java.util.Map;
28
import java.util.HashMap;
18
import java.util.HashMap;
29
19
30
/**
20
/**
31
 * Generated
21
 * This class was generated. Customizations should only happen in a newly
22
 * introduced subclass. 
32
 */
23
 */
33
public class UmlMessageActivator extends AbstractUIPlugin {
24
public class UmlMessageActivator extends AbstractUIPlugin {
34
25
Lines 44-53 Link Here
44
		super.start(context);
35
		super.start(context);
45
		INSTANCE = this;
36
		INSTANCE = this;
46
		try {
37
		try {
47
			
38
			registerInjectorFor("org.eclipse.papyrus.message.editor.xtext.UmlMessage");
48
			injectors.put("org.eclipse.papyrus.message.editor.xtext.UmlMessage", Guice.createInjector(
49
				Modules.override(Modules.override(getRuntimeModule("org.eclipse.papyrus.message.editor.xtext.UmlMessage")).with(getUiModule("org.eclipse.papyrus.message.editor.xtext.UmlMessage"))).with(getSharedStateModule())
50
			));
51
			
39
			
52
		} catch (Exception e) {
40
		} catch (Exception e) {
53
			Logger.getLogger(getClass()).error(e.getMessage(), e);
41
			Logger.getLogger(getClass()).error(e.getMessage(), e);
Lines 55-74 Link Here
55
		}
43
		}
56
	}
44
	}
57
	
45
	
46
	protected void registerInjectorFor(String language) throws Exception {
47
		injectors.put(language, createInjector(
48
		  override(override(getRuntimeModule(language)).with(getSharedStateModule())).with(getUiModule(language))));
49
	}
50
	
51
	@Override
52
	public void stop(BundleContext context) throws Exception {
53
		injectors.clear();
54
		INSTANCE = null;
55
		super.stop(context);
56
	}
57
	
58
	public static UmlMessageActivator getInstance() {
58
	public static UmlMessageActivator getInstance() {
59
		return INSTANCE;
59
		return INSTANCE;
60
	}
60
	}
61
	
61
	
62
	protected Module getRuntimeModule(String grammar) {
62
	protected Module getRuntimeModule(String grammar) {
63
		
64
		if ("org.eclipse.papyrus.message.editor.xtext.UmlMessage".equals(grammar)) {
63
		if ("org.eclipse.papyrus.message.editor.xtext.UmlMessage".equals(grammar)) {
65
		  return new org.eclipse.papyrus.message.editor.xtext.UmlMessageRuntimeModule();
64
		  return new org.eclipse.papyrus.message.editor.xtext.UmlMessageRuntimeModule();
66
		}
65
		}
67
		
66
		
68
		throw new IllegalArgumentException(grammar);
67
		throw new IllegalArgumentException(grammar);
69
	}
68
	}
69
	
70
	protected Module getUiModule(String grammar) {
70
	protected Module getUiModule(String grammar) {
71
		
72
		if ("org.eclipse.papyrus.message.editor.xtext.UmlMessage".equals(grammar)) {
71
		if ("org.eclipse.papyrus.message.editor.xtext.UmlMessage".equals(grammar)) {
73
		  return new org.eclipse.papyrus.message.editor.xtext.ui.UmlMessageUiModule(this);
72
		  return new org.eclipse.papyrus.message.editor.xtext.ui.UmlMessageUiModule(this);
74
		}
73
		}
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/ui/UmlMessageExecutableExtensionFactory.java (-16 / +5 lines)
Lines 1-18 Link Here
1
1
/*
2
/*****************************************************************************
2
 * generated by Xtext
3
 * Copyright (c) 2010 CEA LIST.
3
 */
4
 *
5
 *    
6
 * All rights reserved. This program and the accompanying materials
7
 * are made available under the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
9
 * http://www.eclipse.org/legal/epl-v10.html
10
 *
11
 * Contributors:
12
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
13
 *
14
 *****************************************************************************/
15
 
16
package org.eclipse.papyrus.message.editor.xtext.ui;
4
package org.eclipse.papyrus.message.editor.xtext.ui;
17
5
18
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
6
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
Lines 21-27 Link Here
21
import com.google.inject.Injector;
9
import com.google.inject.Injector;
22
10
23
/**
11
/**
24
 *@generated
12
 * This class was generated. Customizations should only happen in a newly
13
 * introduced subclass. 
25
 */
14
 */
26
public class UmlMessageExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
15
public class UmlMessageExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
27
16
(-)src-gen/org/eclipse/papyrus/message/editor/xtext/ui/AbstractUmlMessageUiModule.java (-29 / +14 lines)
Lines 1-17 Link Here
1
1
2
/*****************************************************************************
2
/*
3
 * Copyright (c) 2010 CEA LIST.
3
 * generated by Xtext
4
 *
4
 */
5
 *    
6
 * All rights reserved. This program and the accompanying materials
7
 * are made available under the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
9
 * http://www.eclipse.org/legal/epl-v10.html
10
 *
11
 * Contributors:
12
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
13
 *
14
 *****************************************************************************/
15
package org.eclipse.papyrus.message.editor.xtext.ui;
5
package org.eclipse.papyrus.message.editor.xtext.ui;
16
6
17
import org.eclipse.xtext.ui.DefaultUiModule;
7
import org.eclipse.xtext.ui.DefaultUiModule;
Lines 34-54 Link Here
34
	}
24
	}
35
25
36
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
26
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
37
	public Class<? extends org.eclipse.jface.text.rules.ITokenScanner> bindITokenScanner() {
38
		return org.eclipse.xtext.ui.editor.syntaxcoloring.antlr.AntlrTokenScanner.class;
39
	}
40
41
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
42
	public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
27
	public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
43
		return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
28
		return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
44
	}
29
	}
45
30
46
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
31
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
47
	public Class<? extends org.eclipse.xtext.ui.editor.IDamagerRepairer> bindIDamagerRepairer() {
48
		return org.eclipse.xtext.ui.editor.XtextDamagerRepairer.class;
49
	}
50
51
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
52
	public void configureHighlightingLexer(com.google.inject.Binder binder) {
32
	public void configureHighlightingLexer(com.google.inject.Binder binder) {
53
		binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.message.editor.xtext.parser.antlr.internal.InternalUmlMessageLexer.class);
33
		binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.message.editor.xtext.parser.antlr.internal.InternalUmlMessageLexer.class);
54
	}
34
	}
Lines 58-63 Link Here
58
		binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
38
		binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
59
	}
39
	}
60
40
41
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
42
	public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() {
43
		return org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator.Null.class;
44
	}
45
61
	// contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
46
	// contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
62
	public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
47
	public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
63
		return org.eclipse.papyrus.message.editor.xtext.ui.labeling.UmlMessageLabelProvider.class;
48
		return org.eclipse.papyrus.message.editor.xtext.ui.labeling.UmlMessageLabelProvider.class;
Lines 68-81 Link Here
68
		binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.message.editor.xtext.ui.labeling.UmlMessageDescriptionLabelProvider.class);
53
		binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.message.editor.xtext.ui.labeling.UmlMessageDescriptionLabelProvider.class);
69
	}
54
	}
70
55
71
	// contributed by org.eclipse.xtext.ui.generator.outline.TransformerFragment
56
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
72
	public Class<? extends org.eclipse.xtext.ui.editor.outline.transformer.ISemanticModelTransformer> bindISemanticModelTransformer() {
57
	public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() {
73
		return org.eclipse.papyrus.message.editor.xtext.ui.outline.UmlMessageTransformer.class;
58
		return org.eclipse.papyrus.message.editor.xtext.ui.outline.UmlMessageOutlineTreeProvider.class;
74
	}
59
	}
75
60
76
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineNodeAdapterFactoryFragment
61
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
77
	public Class<? extends org.eclipse.xtext.ui.editor.outline.actions.IContentOutlineNodeAdapterFactory> bindIContentOutlineNodeAdapterFactory() {
62
	public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
78
		return org.eclipse.papyrus.message.editor.xtext.ui.outline.UmlMessageOutlineNodeAdapterFactory.class;
63
		return org.eclipse.papyrus.message.editor.xtext.ui.outline.UmlMessageOutlineTreeProvider.class;
79
	}
64
	}
80
65
81
	// contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
66
	// contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
(-)META-INF/MANIFEST.MF (-1 / +5 lines)
Lines 17-23 Link Here
17
 org.eclipse.papyrus.extensionpoints.editors;bundle-version="0.8.0",
17
 org.eclipse.papyrus.extensionpoints.editors;bundle-version="0.8.0",
18
 org.eclipse.uml2.codegen.ecore;bundle-version="1.6.0",
18
 org.eclipse.uml2.codegen.ecore;bundle-version="1.6.0",
19
 org.eclipse.uml2.uml;bundle-version="3.1.0",
19
 org.eclipse.uml2.uml;bundle-version="3.1.0",
20
 org.eclipse.gmf.runtime.emf.commands.core;bundle-version="1.4.0"
20
 org.eclipse.gmf.runtime.emf.commands.core;bundle-version="1.4.0",
21
 org.eclipse.core.expressions;bundle-version="3.4.200",
22
 org.eclipse.papyrus.core;bundle-version="0.8.0",
23
 org.eclipse.papyrus.properties.runtime;bundle-version="0.8.0",
24
 org.eclipse.xtext.gmf.glue;bundle-version="0.8.0"
21
Import-Package: org.apache.log4j,
25
Import-Package: org.apache.log4j,
22
 org.eclipse.gmf.runtime.diagram.ui.editparts,
26
 org.eclipse.gmf.runtime.diagram.ui.editparts,
23
 org.eclipse.gmf.runtime.emf.commands.core.command,
27
 org.eclipse.gmf.runtime.emf.commands.core.command,
(-)src/org/eclipse/papyrus/message/editor/xtext/ui/contributions/MessagePopupEditor.java (-2 / +3 lines)
Lines 22-27 Link Here
22
import org.eclipse.core.runtime.IProgressMonitor;
22
import org.eclipse.core.runtime.IProgressMonitor;
23
import org.eclipse.core.runtime.NullProgressMonitor;
23
import org.eclipse.core.runtime.NullProgressMonitor;
24
import org.eclipse.emf.ecore.EObject;
24
import org.eclipse.emf.ecore.EObject;
25
import org.eclipse.emf.validation.internal.util.Log;
25
import org.eclipse.gmf.runtime.common.core.command.CommandResult;
26
import org.eclipse.gmf.runtime.common.core.command.CommandResult;
26
import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
27
import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
27
import org.eclipse.papyrus.core.utils.EditorUtils;
28
import org.eclipse.papyrus.core.utils.EditorUtils;
Lines 29-35 Link Here
29
import org.eclipse.papyrus.log.LogHelper;
30
import org.eclipse.papyrus.log.LogHelper;
30
import org.eclipse.papyrus.message.editor.xtext.ui.internal.UmlMessageActivator;
31
import org.eclipse.papyrus.message.editor.xtext.ui.internal.UmlMessageActivator;
31
import org.eclipse.papyrus.message.editor.xtext.umlMessage.MessageRule;
32
import org.eclipse.papyrus.message.editor.xtext.umlMessage.MessageRule;
32
import org.eclipse.papyrus.properties.runtime.Activator;
33
import org.eclipse.uml2.uml.Interaction;
33
import org.eclipse.uml2.uml.Interaction;
34
import org.eclipse.uml2.uml.Message;
34
import org.eclipse.uml2.uml.Message;
35
import org.eclipse.xtext.gmf.glue.PopupEditorConfiguration;
35
import org.eclipse.xtext.gmf.glue.PopupEditorConfiguration;
Lines 173-179 Link Here
173
				try {
173
				try {
174
					OperationHistoryFactory.getOperationHistory().execute(updateCommand, new NullProgressMonitor(), null);
174
					OperationHistoryFactory.getOperationHistory().execute(updateCommand, new NullProgressMonitor(), null);
175
				} catch (ExecutionException e) {
175
				} catch (ExecutionException e) {
176
					((LogHelper)Activator.log).error(e);
176
					//org.eclipse.papyrus.properties.runtime.Activator.log.error(e) ;
177
					//((LogHelper)Activator.log).error(e);
177
				}
178
				}
178
179
179
			}
180
			}
(-)src/org/eclipse/papyrus/message/editor/xtext/ui/outline/UmlMessageOutlineTreeProvider.java (+14 lines)
Line 0 Link Here
1
/*
2
* generated by Xtext
3
*/
4
package org.eclipse.papyrus.message.editor.xtext.ui.outline;
5
6
import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;
7
8
/**
9
 * customization of the default outline structure
10
 * 
11
 */
12
public class UmlMessageOutlineTreeProvider extends DefaultOutlineTreeProvider {
13
	
14
}
(-)src/org/eclipse/papyrus/message/editor/xtext/ui/outline/UmlMessageOutlineNodeAdapterFactory.java (-43 lines)
Lines 1-43 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.message.editor.xtext.ui.outline;
15
16
import org.eclipse.xtext.ui.editor.outline.actions.DefaultContentOutlineNodeAdapterFactory;
17
18
// TODO: Auto-generated Javadoc
19
/**
20
 * A factory for creating UmlMessageOutlineNodeAdapter objects.
21
 */
22
public class UmlMessageOutlineNodeAdapterFactory extends DefaultContentOutlineNodeAdapterFactory {
23
24
	/** The Constant types. */
25
	private static final Class<?>[] types = { 
26
		// provide list of classes to adapt to, e.g.:
27
		// Entity.class
28
		// Service.class
29
	};
30
31
	/**
32
	 * @see org.eclipse.xtext.ui.editor.outline.actions.DefaultContentOutlineNodeAdapterFactory#getAdapterList()
33
	 *
34
	 * @return the adapter list
35
	 */
36
	
37
	@Override
38
	public Class<?>[] getAdapterList() {
39
		return types;
40
	}
41
42
}
43
(-)src/org/eclipse/papyrus/message/editor/xtext/ui/outline/UmlMessageTransformer.java (-23 lines)
Lines 1-23 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.message.editor.xtext.ui.outline;
15
16
import org.eclipse.xtext.ui.editor.outline.transformer.AbstractDeclarativeSemanticModelTransformer;
17
18
/**
19
 * customization of the default outline structure.
20
 */
21
public class UmlMessageTransformer extends AbstractDeclarativeSemanticModelTransformer {
22
	
23
}
(-)src/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/outline/UMLConnectionPointReferenceOutlineTreeProvider.java (+14 lines)
Line 0 Link Here
1
/*
2
* generated by Xtext
3
*/
4
package org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.outline;
5
6
import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;
7
8
/**
9
 * customization of the default outline structure
10
 * 
11
 */
12
public class UMLConnectionPointReferenceOutlineTreeProvider extends DefaultOutlineTreeProvider {
13
	
14
}
(-)src/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/outline/UMLConnectionPointReferenceOutlineNodeAdapterFactory.java (-22 lines)
Lines 1-22 Link Here
1
/*
2
* generated by Xtext
3
*/
4
package org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.outline;
5
6
import org.eclipse.xtext.ui.editor.outline.actions.DefaultContentOutlineNodeAdapterFactory;
7
8
public class UMLConnectionPointReferenceOutlineNodeAdapterFactory extends DefaultContentOutlineNodeAdapterFactory {
9
10
	private static final Class<?>[] types = { 
11
		// provide list of classes to adapt to, e.g.:
12
		// Entity.class
13
		// Service.class
14
	};
15
16
	@Override
17
	public Class<?>[] getAdapterList() {
18
		return types;
19
	}
20
21
}
22
(-)src/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/outline/UMLConnectionPointReferenceTransformer.java (-14 lines)
Lines 1-14 Link Here
1
/*
2
* generated by Xtext
3
*/
4
package org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.outline;
5
6
import org.eclipse.xtext.ui.editor.outline.transformer.AbstractDeclarativeSemanticModelTransformer;
7
8
/**
9
 * customization of the default outline structure
10
 * 
11
 */
12
public class UMLConnectionPointReferenceTransformer extends AbstractDeclarativeSemanticModelTransformer {
13
	
14
}
(-)src/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contributions/ConnectionPointReferencePopupEditorConfiguration.java (-1 / +2 lines)
Lines 20-25 Link Here
20
import org.eclipse.uml2.uml.ConnectionPointReference;
20
import org.eclipse.uml2.uml.ConnectionPointReference;
21
import org.eclipse.uml2.uml.Pseudostate;
21
import org.eclipse.uml2.uml.Pseudostate;
22
import org.eclipse.xtext.gmf.glue.PopupEditorConfiguration;
22
import org.eclipse.xtext.gmf.glue.PopupEditorConfiguration;
23
import org.eclipse.xtext.gmf.glue.edit.part.DefaultXtextSemanticValidator;
23
import org.eclipse.xtext.gmf.glue.edit.part.IXtextEMFReconciler;
24
import org.eclipse.xtext.gmf.glue.edit.part.IXtextEMFReconciler;
24
25
25
import com.google.inject.Injector;
26
import com.google.inject.Injector;
Lines 120-126 Link Here
120
				}
121
				}
121
			}
122
			}
122
		};
123
		};
123
		return super.createPopupEditorHelper(graphicalEditPart, injector, reconciler, textToEdit, fileExtension);
124
		return super.createPopupEditorHelper(graphicalEditPart, injector, reconciler, textToEdit, fileExtension, new DefaultXtextSemanticValidator());
124
	}
125
	}
125
	
126
	
126
	/**
127
	/**
(-)META-INF/MANIFEST.MF (-2 / +2 lines)
Lines 14-26 Link Here
14
 org.eclipse.xtext.builder,
14
 org.eclipse.xtext.builder,
15
 org.antlr.runtime,
15
 org.antlr.runtime,
16
 org.eclipse.papyrus.extensionpoints.editors;bundle-version="0.8.0",
16
 org.eclipse.papyrus.extensionpoints.editors;bundle-version="0.8.0",
17
 org.eclipse.xtext.gmf.glue;bundle-version="1.0.0",
18
 org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.4.0",
17
 org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.4.0",
19
 org.eclipse.uml2.uml;bundle-version="3.1.0",
18
 org.eclipse.uml2.uml;bundle-version="3.1.0",
20
 org.eclipse.papyrus.umlutils;bundle-version="0.8.0",
19
 org.eclipse.papyrus.umlutils;bundle-version="0.8.0",
21
 org.eclipse.core.expressions;bundle-version="3.4.200",
20
 org.eclipse.core.expressions;bundle-version="3.4.200",
22
 org.eclipse.papyrus.core;bundle-version="0.8.0",
21
 org.eclipse.papyrus.core;bundle-version="0.8.0",
23
 org.eclipse.papyrus.properties.runtime;bundle-version="0.8.0"
22
 org.eclipse.papyrus.properties.runtime;bundle-version="0.8.0",
23
 org.eclipse.xtext.gmf.glue;bundle-version="0.8.0"
24
Import-Package: org.apache.log4j
24
Import-Package: org.apache.log4j
25
Bundle-RequiredExecutionEnvironment: J2SE-1.5
25
Bundle-RequiredExecutionEnvironment: J2SE-1.5
26
Export-Package: org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.contentassist.antlr
26
Export-Package: org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.contentassist.antlr
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/AbstractUMLConnectionPointReferenceUiModule.java (-17 / +22 lines)
Lines 24-44 Link Here
24
	}
24
	}
25
25
26
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
26
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
27
	public Class<? extends org.eclipse.jface.text.rules.ITokenScanner> bindITokenScanner() {
28
		return org.eclipse.xtext.ui.editor.syntaxcoloring.antlr.AntlrTokenScanner.class;
29
	}
30
31
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
32
	public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
27
	public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
33
		return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
28
		return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
34
	}
29
	}
35
30
36
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
31
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
37
	public Class<? extends org.eclipse.xtext.ui.editor.IDamagerRepairer> bindIDamagerRepairer() {
38
		return org.eclipse.xtext.ui.editor.XtextDamagerRepairer.class;
39
	}
40
41
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
42
	public void configureHighlightingLexer(com.google.inject.Binder binder) {
32
	public void configureHighlightingLexer(com.google.inject.Binder binder) {
43
		binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr.internal.InternalUMLConnectionPointReferenceLexer.class);
33
		binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.connectionpointreference.editor.xtext.parser.antlr.internal.InternalUMLConnectionPointReferenceLexer.class);
44
	}
34
	}
Lines 48-53 Link Here
48
		binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
38
		binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
49
	}
39
	}
50
40
41
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
42
	public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() {
43
		return org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator.Null.class;
44
	}
45
51
	// contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
46
	// contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
52
	public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
47
	public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
53
		return org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.labeling.UMLConnectionPointReferenceLabelProvider.class;
48
		return org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.labeling.UMLConnectionPointReferenceLabelProvider.class;
Lines 58-71 Link Here
58
		binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.labeling.UMLConnectionPointReferenceDescriptionLabelProvider.class);
53
		binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.labeling.UMLConnectionPointReferenceDescriptionLabelProvider.class);
59
	}
54
	}
60
55
61
	// contributed by org.eclipse.xtext.ui.generator.outline.TransformerFragment
56
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
62
	public Class<? extends org.eclipse.xtext.ui.editor.outline.transformer.ISemanticModelTransformer> bindISemanticModelTransformer() {
57
	public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() {
63
		return org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.outline.UMLConnectionPointReferenceTransformer.class;
58
		return org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.outline.UMLConnectionPointReferenceOutlineTreeProvider.class;
64
	}
59
	}
65
60
66
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineNodeAdapterFactoryFragment
61
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
67
	public Class<? extends org.eclipse.xtext.ui.editor.outline.actions.IContentOutlineNodeAdapterFactory> bindIContentOutlineNodeAdapterFactory() {
62
	public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
68
		return org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.outline.UMLConnectionPointReferenceOutlineNodeAdapterFactory.class;
63
		return org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.outline.UMLConnectionPointReferenceOutlineTreeProvider.class;
69
	}
64
	}
70
65
71
	// contributed by org.eclipse.xtext.ui.generator.contentAssist.JavaBasedContentAssistFragment
66
	// contributed by org.eclipse.xtext.ui.generator.contentAssist.JavaBasedContentAssistFragment
Lines 95-101 Link Here
95
90
96
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
91
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
97
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
92
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
98
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.builderState.ShadowingResourceDescriptions.class);
93
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class);
99
	}
94
	}
100
95
101
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
96
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
Lines 103-108 Link Here
103
		return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class;
98
		return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class;
104
	}
99
	}
105
100
101
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
102
	public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) {
103
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.builder.builderState.IBuilderState.class);
104
	}
105
106
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
107
	public Class<? extends org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
108
		return org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.class;
109
	}
110
106
	// contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
111
	// contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
107
	public Class<? extends org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider> bindIssueResolutionProvider() {
112
	public Class<? extends org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider> bindIssueResolutionProvider() {
108
		return org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.quickfix.UMLConnectionPointReferenceQuickfixProvider.class;
113
		return org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.quickfix.UMLConnectionPointReferenceQuickfixProvider.class;
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/UMLConnectionPointReferenceExecutableExtensionFactory.java (-3 / +2 lines)
Lines 1-8 Link Here
1
2
/*
1
/*
3
 * generated by Xtext
2
 * generated by Xtext
4
 */
3
 */
5
 
6
package org.eclipse.papyrus.connectionpointreference.editor.xtext.ui;
4
package org.eclipse.papyrus.connectionpointreference.editor.xtext.ui;
7
5
8
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
6
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
Lines 11-17 Link Here
11
import com.google.inject.Injector;
9
import com.google.inject.Injector;
12
10
13
/**
11
/**
14
 *@generated
12
 * This class was generated. Customizations should only happen in a newly
13
 * introduced subclass. 
15
 */
14
 */
16
public class UMLConnectionPointReferenceExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
15
public class UMLConnectionPointReferenceExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
17
16
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/internal/UMLConnectionPointReferenceActivator.java (-10 / +19 lines)
Lines 1-24 Link Here
1
2
/*
1
/*
3
 * generated by Xtext
2
 * generated by Xtext
4
 */
3
 */
5
package org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.internal;
4
package org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.internal;
6
5
6
import static com.google.inject.util.Modules.override;
7
import static com.google.inject.Guice.createInjector;
8
7
import org.apache.log4j.Logger;
9
import org.apache.log4j.Logger;
8
10
9
import org.eclipse.ui.plugin.AbstractUIPlugin;
11
import org.eclipse.ui.plugin.AbstractUIPlugin;
10
import org.osgi.framework.BundleContext;
12
import org.osgi.framework.BundleContext;
11
13
12
import com.google.inject.Guice;
13
import com.google.inject.Injector;
14
import com.google.inject.Injector;
14
import com.google.inject.Module;
15
import com.google.inject.Module;
15
import com.google.inject.util.Modules;
16
16
17
import java.util.Map;
17
import java.util.Map;
18
import java.util.HashMap;
18
import java.util.HashMap;
19
19
20
/**
20
/**
21
 * Generated
21
 * This class was generated. Customizations should only happen in a newly
22
 * introduced subclass. 
22
 */
23
 */
23
public class UMLConnectionPointReferenceActivator extends AbstractUIPlugin {
24
public class UMLConnectionPointReferenceActivator extends AbstractUIPlugin {
24
25
Lines 34-43 Link Here
34
		super.start(context);
35
		super.start(context);
35
		INSTANCE = this;
36
		INSTANCE = this;
36
		try {
37
		try {
37
			
38
			registerInjectorFor("org.eclipse.papyrus.connectionpointreference.editor.xtext.UMLConnectionPointReference");
38
			injectors.put("org.eclipse.papyrus.connectionpointreference.editor.xtext.UMLConnectionPointReference", Guice.createInjector(
39
				Modules.override(Modules.override(getRuntimeModule("org.eclipse.papyrus.connectionpointreference.editor.xtext.UMLConnectionPointReference")).with(getUiModule("org.eclipse.papyrus.connectionpointreference.editor.xtext.UMLConnectionPointReference"))).with(getSharedStateModule())
40
			));
41
			
39
			
42
		} catch (Exception e) {
40
		} catch (Exception e) {
43
			Logger.getLogger(getClass()).error(e.getMessage(), e);
41
			Logger.getLogger(getClass()).error(e.getMessage(), e);
Lines 45-64 Link Here
45
		}
43
		}
46
	}
44
	}
47
	
45
	
46
	protected void registerInjectorFor(String language) throws Exception {
47
		injectors.put(language, createInjector(
48
		  override(override(getRuntimeModule(language)).with(getSharedStateModule())).with(getUiModule(language))));
49
	}
50
	
51
	@Override
52
	public void stop(BundleContext context) throws Exception {
53
		injectors.clear();
54
		INSTANCE = null;
55
		super.stop(context);
56
	}
57
	
48
	public static UMLConnectionPointReferenceActivator getInstance() {
58
	public static UMLConnectionPointReferenceActivator getInstance() {
49
		return INSTANCE;
59
		return INSTANCE;
50
	}
60
	}
51
	
61
	
52
	protected Module getRuntimeModule(String grammar) {
62
	protected Module getRuntimeModule(String grammar) {
53
		
54
		if ("org.eclipse.papyrus.connectionpointreference.editor.xtext.UMLConnectionPointReference".equals(grammar)) {
63
		if ("org.eclipse.papyrus.connectionpointreference.editor.xtext.UMLConnectionPointReference".equals(grammar)) {
55
		  return new org.eclipse.papyrus.connectionpointreference.editor.xtext.UMLConnectionPointReferenceRuntimeModule();
64
		  return new org.eclipse.papyrus.connectionpointreference.editor.xtext.UMLConnectionPointReferenceRuntimeModule();
56
		}
65
		}
57
		
66
		
58
		throw new IllegalArgumentException(grammar);
67
		throw new IllegalArgumentException(grammar);
59
	}
68
	}
69
	
60
	protected Module getUiModule(String grammar) {
70
	protected Module getUiModule(String grammar) {
61
		
62
		if ("org.eclipse.papyrus.connectionpointreference.editor.xtext.UMLConnectionPointReference".equals(grammar)) {
71
		if ("org.eclipse.papyrus.connectionpointreference.editor.xtext.UMLConnectionPointReference".equals(grammar)) {
63
		  return new org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.UMLConnectionPointReferenceUiModule(this);
72
		  return new org.eclipse.papyrus.connectionpointreference.editor.xtext.ui.UMLConnectionPointReferenceUiModule(this);
64
		}
73
		}
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g (-1 / +1 lines)
Lines 506-512 Link Here
506
506
507
RULE_INT : ('0'..'9')+;
507
RULE_INT : ('0'..'9')+;
508
508
509
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
509
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
510
510
511
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
511
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
512
512
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReferenceParser.java (-85 / +124 lines)
Lines 27-32 Link Here
27
    };
27
    };
28
    public static final int RULE_ID=4;
28
    public static final int RULE_ID=4;
29
    public static final int RULE_STRING=6;
29
    public static final int RULE_STRING=6;
30
    public static final int T__12=12;
31
    public static final int T__11=11;
32
    public static final int T__13=13;
30
    public static final int RULE_ANY_OTHER=10;
33
    public static final int RULE_ANY_OTHER=10;
31
    public static final int RULE_INT=5;
34
    public static final int RULE_INT=5;
32
    public static final int RULE_WS=9;
35
    public static final int RULE_WS=9;
Lines 34-45 Link Here
34
    public static final int EOF=-1;
37
    public static final int EOF=-1;
35
    public static final int RULE_ML_COMMENT=7;
38
    public static final int RULE_ML_COMMENT=7;
36
39
40
    // delegates
41
    // delegators
42
43
37
        public InternalUMLConnectionPointReferenceParser(TokenStream input) {
44
        public InternalUMLConnectionPointReferenceParser(TokenStream input) {
38
            super(input);
45
            this(input, new RecognizerSharedState());
46
        }
47
        public InternalUMLConnectionPointReferenceParser(TokenStream input, RecognizerSharedState state) {
48
            super(input, state);
49
             
39
        }
50
        }
40
        
51
        
41
52
42
    public String[] getTokenNames() { return tokenNames; }
53
    public String[] getTokenNames() { return InternalUMLConnectionPointReferenceParser.tokenNames; }
43
    public String getGrammarFileName() { return "../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g"; }
54
    public String getGrammarFileName() { return "../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g"; }
44
55
45
56
Lines 63-69 Link Here
63
74
64
75
65
76
66
    // $ANTLR start entryRuleConnectionPointReferenceRule
77
    // $ANTLR start "entryRuleConnectionPointReferenceRule"
67
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:61:1: entryRuleConnectionPointReferenceRule : ruleConnectionPointReferenceRule EOF ;
78
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:61:1: entryRuleConnectionPointReferenceRule : ruleConnectionPointReferenceRule EOF ;
68
    public final void entryRuleConnectionPointReferenceRule() throws RecognitionException {
79
    public final void entryRuleConnectionPointReferenceRule() throws RecognitionException {
69
        try {
80
        try {
Lines 73-79 Link Here
73
             before(grammarAccess.getConnectionPointReferenceRuleRule()); 
84
             before(grammarAccess.getConnectionPointReferenceRuleRule()); 
74
            pushFollow(FOLLOW_ruleConnectionPointReferenceRule_in_entryRuleConnectionPointReferenceRule61);
85
            pushFollow(FOLLOW_ruleConnectionPointReferenceRule_in_entryRuleConnectionPointReferenceRule61);
75
            ruleConnectionPointReferenceRule();
86
            ruleConnectionPointReferenceRule();
76
            _fsp--;
87
88
            state._fsp--;
77
89
78
             after(grammarAccess.getConnectionPointReferenceRuleRule()); 
90
             after(grammarAccess.getConnectionPointReferenceRuleRule()); 
79
            match(input,EOF,FOLLOW_EOF_in_entryRuleConnectionPointReferenceRule68); 
91
            match(input,EOF,FOLLOW_EOF_in_entryRuleConnectionPointReferenceRule68); 
Lines 89-98 Link Here
89
        }
101
        }
90
        return ;
102
        return ;
91
    }
103
    }
92
    // $ANTLR end entryRuleConnectionPointReferenceRule
104
    // $ANTLR end "entryRuleConnectionPointReferenceRule"
93
105
94
106
95
    // $ANTLR start ruleConnectionPointReferenceRule
107
    // $ANTLR start "ruleConnectionPointReferenceRule"
96
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:70:1: ruleConnectionPointReferenceRule : ( ( rule__ConnectionPointReferenceRule__Alternatives )? ) ;
108
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:70:1: ruleConnectionPointReferenceRule : ( ( rule__ConnectionPointReferenceRule__Alternatives )? ) ;
97
    public final void ruleConnectionPointReferenceRule() throws RecognitionException {
109
    public final void ruleConnectionPointReferenceRule() throws RecognitionException {
98
110
Lines 119-125 Link Here
119
                    {
131
                    {
120
                    pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Alternatives_in_ruleConnectionPointReferenceRule94);
132
                    pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Alternatives_in_ruleConnectionPointReferenceRule94);
121
                    rule__ConnectionPointReferenceRule__Alternatives();
133
                    rule__ConnectionPointReferenceRule__Alternatives();
122
                    _fsp--;
134
135
                    state._fsp--;
123
136
124
137
125
                    }
138
                    }
Lines 146-155 Link Here
146
        }
159
        }
147
        return ;
160
        return ;
148
    }
161
    }
149
    // $ANTLR end ruleConnectionPointReferenceRule
162
    // $ANTLR end "ruleConnectionPointReferenceRule"
150
163
151
164
152
    // $ANTLR start rule__ConnectionPointReferenceRule__Alternatives
165
    // $ANTLR start "rule__ConnectionPointReferenceRule__Alternatives"
153
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:89:1: rule__ConnectionPointReferenceRule__Alternatives : ( ( ( rule__ConnectionPointReferenceRule__Group_0__0 ) ) | ( ( rule__ConnectionPointReferenceRule__Group_1__0 ) ) );
166
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:89:1: rule__ConnectionPointReferenceRule__Alternatives : ( ( ( rule__ConnectionPointReferenceRule__Group_0__0 ) ) | ( ( rule__ConnectionPointReferenceRule__Group_1__0 ) ) );
154
    public final void rule__ConnectionPointReferenceRule__Alternatives() throws RecognitionException {
167
    public final void rule__ConnectionPointReferenceRule__Alternatives() throws RecognitionException {
155
168
Lines 168-174 Link Here
168
            }
181
            }
169
            else {
182
            else {
170
                NoViableAltException nvae =
183
                NoViableAltException nvae =
171
                    new NoViableAltException("89:1: rule__ConnectionPointReferenceRule__Alternatives : ( ( ( rule__ConnectionPointReferenceRule__Group_0__0 ) ) | ( ( rule__ConnectionPointReferenceRule__Group_1__0 ) ) );", 2, 0, input);
184
                    new NoViableAltException("", 2, 0, input);
172
185
173
                throw nvae;
186
                throw nvae;
174
            }
187
            }
Lines 185-191 Link Here
185
                    {
198
                    {
186
                    pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0__0_in_rule__ConnectionPointReferenceRule__Alternatives131);
199
                    pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0__0_in_rule__ConnectionPointReferenceRule__Alternatives131);
187
                    rule__ConnectionPointReferenceRule__Group_0__0();
200
                    rule__ConnectionPointReferenceRule__Group_0__0();
188
                    _fsp--;
201
202
                    state._fsp--;
189
203
190
204
191
                    }
205
                    }
Lines 209-215 Link Here
209
                    {
223
                    {
210
                    pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1__0_in_rule__ConnectionPointReferenceRule__Alternatives149);
224
                    pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1__0_in_rule__ConnectionPointReferenceRule__Alternatives149);
211
                    rule__ConnectionPointReferenceRule__Group_1__0();
225
                    rule__ConnectionPointReferenceRule__Group_1__0();
212
                    _fsp--;
226
227
                    state._fsp--;
213
228
214
229
215
                    }
230
                    }
Lines 235-244 Link Here
235
        }
250
        }
236
        return ;
251
        return ;
237
    }
252
    }
238
    // $ANTLR end rule__ConnectionPointReferenceRule__Alternatives
253
    // $ANTLR end "rule__ConnectionPointReferenceRule__Alternatives"
239
254
240
255
241
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_0__0
256
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_0__0"
242
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:113:1: rule__ConnectionPointReferenceRule__Group_0__0 : rule__ConnectionPointReferenceRule__Group_0__0__Impl rule__ConnectionPointReferenceRule__Group_0__1 ;
257
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:113:1: rule__ConnectionPointReferenceRule__Group_0__0 : rule__ConnectionPointReferenceRule__Group_0__0__Impl rule__ConnectionPointReferenceRule__Group_0__1 ;
243
    public final void rule__ConnectionPointReferenceRule__Group_0__0() throws RecognitionException {
258
    public final void rule__ConnectionPointReferenceRule__Group_0__0() throws RecognitionException {
244
259
Lines 250-261 Link Here
250
            {
265
            {
251
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0__0__Impl_in_rule__ConnectionPointReferenceRule__Group_0__0180);
266
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0__0__Impl_in_rule__ConnectionPointReferenceRule__Group_0__0180);
252
            rule__ConnectionPointReferenceRule__Group_0__0__Impl();
267
            rule__ConnectionPointReferenceRule__Group_0__0__Impl();
253
            _fsp--;
268
269
            state._fsp--;
254
270
255
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0__1_in_rule__ConnectionPointReferenceRule__Group_0__0183);
271
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0__1_in_rule__ConnectionPointReferenceRule__Group_0__0183);
256
            rule__ConnectionPointReferenceRule__Group_0__1();
272
            rule__ConnectionPointReferenceRule__Group_0__1();
257
            _fsp--;
258
273
274
            state._fsp--;
275
259
276
260
            }
277
            }
261
278
Lines 271-280 Link Here
271
        }
288
        }
272
        return ;
289
        return ;
273
    }
290
    }
274
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_0__0
291
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_0__0"
275
292
276
293
277
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_0__0__Impl
294
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_0__0__Impl"
278
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:125:1: rule__ConnectionPointReferenceRule__Group_0__0__Impl : ( 'entry' ) ;
295
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:125:1: rule__ConnectionPointReferenceRule__Group_0__0__Impl : ( 'entry' ) ;
279
    public final void rule__ConnectionPointReferenceRule__Group_0__0__Impl() throws RecognitionException {
296
    public final void rule__ConnectionPointReferenceRule__Group_0__0__Impl() throws RecognitionException {
280
297
Lines 308-317 Link Here
308
        }
325
        }
309
        return ;
326
        return ;
310
    }
327
    }
311
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_0__0__Impl
328
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_0__0__Impl"
312
329
313
330
314
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_0__1
331
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_0__1"
315
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:144:1: rule__ConnectionPointReferenceRule__Group_0__1 : rule__ConnectionPointReferenceRule__Group_0__1__Impl rule__ConnectionPointReferenceRule__Group_0__2 ;
332
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:144:1: rule__ConnectionPointReferenceRule__Group_0__1 : rule__ConnectionPointReferenceRule__Group_0__1__Impl rule__ConnectionPointReferenceRule__Group_0__2 ;
316
    public final void rule__ConnectionPointReferenceRule__Group_0__1() throws RecognitionException {
333
    public final void rule__ConnectionPointReferenceRule__Group_0__1() throws RecognitionException {
317
334
Lines 323-333 Link Here
323
            {
340
            {
324
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0__1__Impl_in_rule__ConnectionPointReferenceRule__Group_0__1242);
341
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0__1__Impl_in_rule__ConnectionPointReferenceRule__Group_0__1242);
325
            rule__ConnectionPointReferenceRule__Group_0__1__Impl();
342
            rule__ConnectionPointReferenceRule__Group_0__1__Impl();
326
            _fsp--;
343
344
            state._fsp--;
327
345
328
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0__2_in_rule__ConnectionPointReferenceRule__Group_0__1245);
346
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0__2_in_rule__ConnectionPointReferenceRule__Group_0__1245);
329
            rule__ConnectionPointReferenceRule__Group_0__2();
347
            rule__ConnectionPointReferenceRule__Group_0__2();
330
            _fsp--;
348
349
            state._fsp--;
331
350
332
351
333
            }
352
            }
Lines 344-353 Link Here
344
        }
363
        }
345
        return ;
364
        return ;
346
    }
365
    }
347
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_0__1
366
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_0__1"
348
367
349
368
350
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_0__1__Impl
369
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_0__1__Impl"
351
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:156:1: rule__ConnectionPointReferenceRule__Group_0__1__Impl : ( ( rule__ConnectionPointReferenceRule__EntryAssignment_0_1 ) ) ;
370
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:156:1: rule__ConnectionPointReferenceRule__Group_0__1__Impl : ( ( rule__ConnectionPointReferenceRule__EntryAssignment_0_1 ) ) ;
352
    public final void rule__ConnectionPointReferenceRule__Group_0__1__Impl() throws RecognitionException {
371
    public final void rule__ConnectionPointReferenceRule__Group_0__1__Impl() throws RecognitionException {
353
372
Lines 366-373 Link Here
366
            {
385
            {
367
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__EntryAssignment_0_1_in_rule__ConnectionPointReferenceRule__Group_0__1__Impl272);
386
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__EntryAssignment_0_1_in_rule__ConnectionPointReferenceRule__Group_0__1__Impl272);
368
            rule__ConnectionPointReferenceRule__EntryAssignment_0_1();
387
            rule__ConnectionPointReferenceRule__EntryAssignment_0_1();
369
            _fsp--;
370
388
389
            state._fsp--;
390
371
391
372
            }
392
            }
373
393
Lines 390-399 Link Here
390
        }
410
        }
391
        return ;
411
        return ;
392
    }
412
    }
393
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_0__1__Impl
413
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_0__1__Impl"
394
414
395
415
396
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_0__2
416
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_0__2"
397
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:173:1: rule__ConnectionPointReferenceRule__Group_0__2 : rule__ConnectionPointReferenceRule__Group_0__2__Impl ;
417
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:173:1: rule__ConnectionPointReferenceRule__Group_0__2 : rule__ConnectionPointReferenceRule__Group_0__2__Impl ;
398
    public final void rule__ConnectionPointReferenceRule__Group_0__2() throws RecognitionException {
418
    public final void rule__ConnectionPointReferenceRule__Group_0__2() throws RecognitionException {
399
419
Lines 405-412 Link Here
405
            {
425
            {
406
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0__2__Impl_in_rule__ConnectionPointReferenceRule__Group_0__2302);
426
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0__2__Impl_in_rule__ConnectionPointReferenceRule__Group_0__2302);
407
            rule__ConnectionPointReferenceRule__Group_0__2__Impl();
427
            rule__ConnectionPointReferenceRule__Group_0__2__Impl();
408
            _fsp--;
409
428
429
            state._fsp--;
430
410
431
411
            }
432
            }
412
433
Lines 422-431 Link Here
422
        }
443
        }
423
        return ;
444
        return ;
424
    }
445
    }
425
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_0__2
446
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_0__2"
426
447
427
448
428
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_0__2__Impl
449
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_0__2__Impl"
429
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:184:1: rule__ConnectionPointReferenceRule__Group_0__2__Impl : ( ( rule__ConnectionPointReferenceRule__Group_0_2__0 )* ) ;
450
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:184:1: rule__ConnectionPointReferenceRule__Group_0__2__Impl : ( ( rule__ConnectionPointReferenceRule__Group_0_2__0 )* ) ;
430
    public final void rule__ConnectionPointReferenceRule__Group_0__2__Impl() throws RecognitionException {
451
    public final void rule__ConnectionPointReferenceRule__Group_0__2__Impl() throws RecognitionException {
431
452
Lines 456-463 Link Here
456
            	    {
477
            	    {
457
            	    pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0_2__0_in_rule__ConnectionPointReferenceRule__Group_0__2__Impl329);
478
            	    pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0_2__0_in_rule__ConnectionPointReferenceRule__Group_0__2__Impl329);
458
            	    rule__ConnectionPointReferenceRule__Group_0_2__0();
479
            	    rule__ConnectionPointReferenceRule__Group_0_2__0();
459
            	    _fsp--;
460
480
481
            	    state._fsp--;
482
461
483
462
            	    }
484
            	    }
463
            	    break;
485
            	    break;
Lines 486-495 Link Here
486
        }
508
        }
487
        return ;
509
        return ;
488
    }
510
    }
489
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_0__2__Impl
511
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_0__2__Impl"
490
512
491
513
492
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_0_2__0
514
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_0_2__0"
493
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:207:1: rule__ConnectionPointReferenceRule__Group_0_2__0 : rule__ConnectionPointReferenceRule__Group_0_2__0__Impl rule__ConnectionPointReferenceRule__Group_0_2__1 ;
515
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:207:1: rule__ConnectionPointReferenceRule__Group_0_2__0 : rule__ConnectionPointReferenceRule__Group_0_2__0__Impl rule__ConnectionPointReferenceRule__Group_0_2__1 ;
494
    public final void rule__ConnectionPointReferenceRule__Group_0_2__0() throws RecognitionException {
516
    public final void rule__ConnectionPointReferenceRule__Group_0_2__0() throws RecognitionException {
495
517
Lines 501-511 Link Here
501
            {
523
            {
502
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0_2__0__Impl_in_rule__ConnectionPointReferenceRule__Group_0_2__0366);
524
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0_2__0__Impl_in_rule__ConnectionPointReferenceRule__Group_0_2__0366);
503
            rule__ConnectionPointReferenceRule__Group_0_2__0__Impl();
525
            rule__ConnectionPointReferenceRule__Group_0_2__0__Impl();
504
            _fsp--;
526
527
            state._fsp--;
505
528
506
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0_2__1_in_rule__ConnectionPointReferenceRule__Group_0_2__0369);
529
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0_2__1_in_rule__ConnectionPointReferenceRule__Group_0_2__0369);
507
            rule__ConnectionPointReferenceRule__Group_0_2__1();
530
            rule__ConnectionPointReferenceRule__Group_0_2__1();
508
            _fsp--;
531
532
            state._fsp--;
509
533
510
534
511
            }
535
            }
Lines 522-531 Link Here
522
        }
546
        }
523
        return ;
547
        return ;
524
    }
548
    }
525
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_0_2__0
549
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_0_2__0"
526
550
527
551
528
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_0_2__0__Impl
552
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_0_2__0__Impl"
529
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:219:1: rule__ConnectionPointReferenceRule__Group_0_2__0__Impl : ( ',' ) ;
553
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:219:1: rule__ConnectionPointReferenceRule__Group_0_2__0__Impl : ( ',' ) ;
530
    public final void rule__ConnectionPointReferenceRule__Group_0_2__0__Impl() throws RecognitionException {
554
    public final void rule__ConnectionPointReferenceRule__Group_0_2__0__Impl() throws RecognitionException {
531
555
Lines 559-568 Link Here
559
        }
583
        }
560
        return ;
584
        return ;
561
    }
585
    }
562
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_0_2__0__Impl
586
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_0_2__0__Impl"
563
587
564
588
565
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_0_2__1
589
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_0_2__1"
566
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:238:1: rule__ConnectionPointReferenceRule__Group_0_2__1 : rule__ConnectionPointReferenceRule__Group_0_2__1__Impl ;
590
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:238:1: rule__ConnectionPointReferenceRule__Group_0_2__1 : rule__ConnectionPointReferenceRule__Group_0_2__1__Impl ;
567
    public final void rule__ConnectionPointReferenceRule__Group_0_2__1() throws RecognitionException {
591
    public final void rule__ConnectionPointReferenceRule__Group_0_2__1() throws RecognitionException {
568
592
Lines 574-580 Link Here
574
            {
598
            {
575
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0_2__1__Impl_in_rule__ConnectionPointReferenceRule__Group_0_2__1428);
599
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_0_2__1__Impl_in_rule__ConnectionPointReferenceRule__Group_0_2__1428);
576
            rule__ConnectionPointReferenceRule__Group_0_2__1__Impl();
600
            rule__ConnectionPointReferenceRule__Group_0_2__1__Impl();
577
            _fsp--;
601
602
            state._fsp--;
578
603
579
604
580
            }
605
            }
Lines 591-600 Link Here
591
        }
616
        }
592
        return ;
617
        return ;
593
    }
618
    }
594
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_0_2__1
619
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_0_2__1"
595
620
596
621
597
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_0_2__1__Impl
622
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_0_2__1__Impl"
598
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:249:1: rule__ConnectionPointReferenceRule__Group_0_2__1__Impl : ( ( rule__ConnectionPointReferenceRule__EntryAssignment_0_2_1 ) ) ;
623
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:249:1: rule__ConnectionPointReferenceRule__Group_0_2__1__Impl : ( ( rule__ConnectionPointReferenceRule__EntryAssignment_0_2_1 ) ) ;
599
    public final void rule__ConnectionPointReferenceRule__Group_0_2__1__Impl() throws RecognitionException {
624
    public final void rule__ConnectionPointReferenceRule__Group_0_2__1__Impl() throws RecognitionException {
600
625
Lines 613-619 Link Here
613
            {
638
            {
614
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__EntryAssignment_0_2_1_in_rule__ConnectionPointReferenceRule__Group_0_2__1__Impl455);
639
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__EntryAssignment_0_2_1_in_rule__ConnectionPointReferenceRule__Group_0_2__1__Impl455);
615
            rule__ConnectionPointReferenceRule__EntryAssignment_0_2_1();
640
            rule__ConnectionPointReferenceRule__EntryAssignment_0_2_1();
616
            _fsp--;
641
642
            state._fsp--;
617
643
618
644
619
            }
645
            }
Lines 637-646 Link Here
637
        }
663
        }
638
        return ;
664
        return ;
639
    }
665
    }
640
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_0_2__1__Impl
666
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_0_2__1__Impl"
641
667
642
668
643
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_1__0
669
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_1__0"
644
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:270:1: rule__ConnectionPointReferenceRule__Group_1__0 : rule__ConnectionPointReferenceRule__Group_1__0__Impl rule__ConnectionPointReferenceRule__Group_1__1 ;
670
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:270:1: rule__ConnectionPointReferenceRule__Group_1__0 : rule__ConnectionPointReferenceRule__Group_1__0__Impl rule__ConnectionPointReferenceRule__Group_1__1 ;
645
    public final void rule__ConnectionPointReferenceRule__Group_1__0() throws RecognitionException {
671
    public final void rule__ConnectionPointReferenceRule__Group_1__0() throws RecognitionException {
646
672
Lines 652-662 Link Here
652
            {
678
            {
653
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1__0__Impl_in_rule__ConnectionPointReferenceRule__Group_1__0489);
679
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1__0__Impl_in_rule__ConnectionPointReferenceRule__Group_1__0489);
654
            rule__ConnectionPointReferenceRule__Group_1__0__Impl();
680
            rule__ConnectionPointReferenceRule__Group_1__0__Impl();
655
            _fsp--;
681
682
            state._fsp--;
656
683
657
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1__1_in_rule__ConnectionPointReferenceRule__Group_1__0492);
684
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1__1_in_rule__ConnectionPointReferenceRule__Group_1__0492);
658
            rule__ConnectionPointReferenceRule__Group_1__1();
685
            rule__ConnectionPointReferenceRule__Group_1__1();
659
            _fsp--;
686
687
            state._fsp--;
660
688
661
689
662
            }
690
            }
Lines 673-682 Link Here
673
        }
701
        }
674
        return ;
702
        return ;
675
    }
703
    }
676
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_1__0
704
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_1__0"
677
705
678
706
679
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_1__0__Impl
707
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_1__0__Impl"
680
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:282:1: rule__ConnectionPointReferenceRule__Group_1__0__Impl : ( 'exit' ) ;
708
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:282:1: rule__ConnectionPointReferenceRule__Group_1__0__Impl : ( 'exit' ) ;
681
    public final void rule__ConnectionPointReferenceRule__Group_1__0__Impl() throws RecognitionException {
709
    public final void rule__ConnectionPointReferenceRule__Group_1__0__Impl() throws RecognitionException {
682
710
Lines 710-719 Link Here
710
        }
738
        }
711
        return ;
739
        return ;
712
    }
740
    }
713
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_1__0__Impl
741
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_1__0__Impl"
714
742
715
743
716
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_1__1
744
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_1__1"
717
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:301:1: rule__ConnectionPointReferenceRule__Group_1__1 : rule__ConnectionPointReferenceRule__Group_1__1__Impl rule__ConnectionPointReferenceRule__Group_1__2 ;
745
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:301:1: rule__ConnectionPointReferenceRule__Group_1__1 : rule__ConnectionPointReferenceRule__Group_1__1__Impl rule__ConnectionPointReferenceRule__Group_1__2 ;
718
    public final void rule__ConnectionPointReferenceRule__Group_1__1() throws RecognitionException {
746
    public final void rule__ConnectionPointReferenceRule__Group_1__1() throws RecognitionException {
719
747
Lines 725-735 Link Here
725
            {
753
            {
726
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1__1__Impl_in_rule__ConnectionPointReferenceRule__Group_1__1551);
754
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1__1__Impl_in_rule__ConnectionPointReferenceRule__Group_1__1551);
727
            rule__ConnectionPointReferenceRule__Group_1__1__Impl();
755
            rule__ConnectionPointReferenceRule__Group_1__1__Impl();
728
            _fsp--;
756
757
            state._fsp--;
729
758
730
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1__2_in_rule__ConnectionPointReferenceRule__Group_1__1554);
759
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1__2_in_rule__ConnectionPointReferenceRule__Group_1__1554);
731
            rule__ConnectionPointReferenceRule__Group_1__2();
760
            rule__ConnectionPointReferenceRule__Group_1__2();
732
            _fsp--;
761
762
            state._fsp--;
733
763
734
764
735
            }
765
            }
Lines 746-755 Link Here
746
        }
776
        }
747
        return ;
777
        return ;
748
    }
778
    }
749
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_1__1
779
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_1__1"
750
780
751
781
752
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_1__1__Impl
782
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_1__1__Impl"
753
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:313:1: rule__ConnectionPointReferenceRule__Group_1__1__Impl : ( ( rule__ConnectionPointReferenceRule__ExitAssignment_1_1 ) ) ;
783
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:313:1: rule__ConnectionPointReferenceRule__Group_1__1__Impl : ( ( rule__ConnectionPointReferenceRule__ExitAssignment_1_1 ) ) ;
754
    public final void rule__ConnectionPointReferenceRule__Group_1__1__Impl() throws RecognitionException {
784
    public final void rule__ConnectionPointReferenceRule__Group_1__1__Impl() throws RecognitionException {
755
785
Lines 768-775 Link Here
768
            {
798
            {
769
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__ExitAssignment_1_1_in_rule__ConnectionPointReferenceRule__Group_1__1__Impl581);
799
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__ExitAssignment_1_1_in_rule__ConnectionPointReferenceRule__Group_1__1__Impl581);
770
            rule__ConnectionPointReferenceRule__ExitAssignment_1_1();
800
            rule__ConnectionPointReferenceRule__ExitAssignment_1_1();
771
            _fsp--;
772
801
802
            state._fsp--;
803
773
804
774
            }
805
            }
775
806
Lines 792-801 Link Here
792
        }
823
        }
793
        return ;
824
        return ;
794
    }
825
    }
795
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_1__1__Impl
826
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_1__1__Impl"
796
827
797
828
798
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_1__2
829
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_1__2"
799
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:330:1: rule__ConnectionPointReferenceRule__Group_1__2 : rule__ConnectionPointReferenceRule__Group_1__2__Impl ;
830
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:330:1: rule__ConnectionPointReferenceRule__Group_1__2 : rule__ConnectionPointReferenceRule__Group_1__2__Impl ;
800
    public final void rule__ConnectionPointReferenceRule__Group_1__2() throws RecognitionException {
831
    public final void rule__ConnectionPointReferenceRule__Group_1__2() throws RecognitionException {
801
832
Lines 807-814 Link Here
807
            {
838
            {
808
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1__2__Impl_in_rule__ConnectionPointReferenceRule__Group_1__2611);
839
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1__2__Impl_in_rule__ConnectionPointReferenceRule__Group_1__2611);
809
            rule__ConnectionPointReferenceRule__Group_1__2__Impl();
840
            rule__ConnectionPointReferenceRule__Group_1__2__Impl();
810
            _fsp--;
811
841
842
            state._fsp--;
843
812
844
813
            }
845
            }
814
846
Lines 824-833 Link Here
824
        }
856
        }
825
        return ;
857
        return ;
826
    }
858
    }
827
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_1__2
859
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_1__2"
828
860
829
861
830
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_1__2__Impl
862
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_1__2__Impl"
831
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:341:1: rule__ConnectionPointReferenceRule__Group_1__2__Impl : ( ( rule__ConnectionPointReferenceRule__Group_1_2__0 )* ) ;
863
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:341:1: rule__ConnectionPointReferenceRule__Group_1__2__Impl : ( ( rule__ConnectionPointReferenceRule__Group_1_2__0 )* ) ;
832
    public final void rule__ConnectionPointReferenceRule__Group_1__2__Impl() throws RecognitionException {
864
    public final void rule__ConnectionPointReferenceRule__Group_1__2__Impl() throws RecognitionException {
833
865
Lines 858-864 Link Here
858
            	    {
890
            	    {
859
            	    pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1_2__0_in_rule__ConnectionPointReferenceRule__Group_1__2__Impl638);
891
            	    pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1_2__0_in_rule__ConnectionPointReferenceRule__Group_1__2__Impl638);
860
            	    rule__ConnectionPointReferenceRule__Group_1_2__0();
892
            	    rule__ConnectionPointReferenceRule__Group_1_2__0();
861
            	    _fsp--;
893
894
            	    state._fsp--;
862
895
863
896
864
            	    }
897
            	    }
Lines 888-897 Link Here
888
        }
921
        }
889
        return ;
922
        return ;
890
    }
923
    }
891
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_1__2__Impl
924
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_1__2__Impl"
892
925
893
926
894
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_1_2__0
927
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_1_2__0"
895
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:364:1: rule__ConnectionPointReferenceRule__Group_1_2__0 : rule__ConnectionPointReferenceRule__Group_1_2__0__Impl rule__ConnectionPointReferenceRule__Group_1_2__1 ;
928
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:364:1: rule__ConnectionPointReferenceRule__Group_1_2__0 : rule__ConnectionPointReferenceRule__Group_1_2__0__Impl rule__ConnectionPointReferenceRule__Group_1_2__1 ;
896
    public final void rule__ConnectionPointReferenceRule__Group_1_2__0() throws RecognitionException {
929
    public final void rule__ConnectionPointReferenceRule__Group_1_2__0() throws RecognitionException {
897
930
Lines 903-914 Link Here
903
            {
936
            {
904
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1_2__0__Impl_in_rule__ConnectionPointReferenceRule__Group_1_2__0675);
937
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1_2__0__Impl_in_rule__ConnectionPointReferenceRule__Group_1_2__0675);
905
            rule__ConnectionPointReferenceRule__Group_1_2__0__Impl();
938
            rule__ConnectionPointReferenceRule__Group_1_2__0__Impl();
906
            _fsp--;
939
940
            state._fsp--;
907
941
908
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1_2__1_in_rule__ConnectionPointReferenceRule__Group_1_2__0678);
942
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1_2__1_in_rule__ConnectionPointReferenceRule__Group_1_2__0678);
909
            rule__ConnectionPointReferenceRule__Group_1_2__1();
943
            rule__ConnectionPointReferenceRule__Group_1_2__1();
910
            _fsp--;
911
944
945
            state._fsp--;
946
912
947
913
            }
948
            }
914
949
Lines 924-933 Link Here
924
        }
959
        }
925
        return ;
960
        return ;
926
    }
961
    }
927
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_1_2__0
962
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_1_2__0"
928
963
929
964
930
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_1_2__0__Impl
965
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_1_2__0__Impl"
931
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:376:1: rule__ConnectionPointReferenceRule__Group_1_2__0__Impl : ( ',' ) ;
966
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:376:1: rule__ConnectionPointReferenceRule__Group_1_2__0__Impl : ( ',' ) ;
932
    public final void rule__ConnectionPointReferenceRule__Group_1_2__0__Impl() throws RecognitionException {
967
    public final void rule__ConnectionPointReferenceRule__Group_1_2__0__Impl() throws RecognitionException {
933
968
Lines 961-970 Link Here
961
        }
996
        }
962
        return ;
997
        return ;
963
    }
998
    }
964
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_1_2__0__Impl
999
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_1_2__0__Impl"
965
1000
966
1001
967
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_1_2__1
1002
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_1_2__1"
968
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:395:1: rule__ConnectionPointReferenceRule__Group_1_2__1 : rule__ConnectionPointReferenceRule__Group_1_2__1__Impl ;
1003
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:395:1: rule__ConnectionPointReferenceRule__Group_1_2__1 : rule__ConnectionPointReferenceRule__Group_1_2__1__Impl ;
969
    public final void rule__ConnectionPointReferenceRule__Group_1_2__1() throws RecognitionException {
1004
    public final void rule__ConnectionPointReferenceRule__Group_1_2__1() throws RecognitionException {
970
1005
Lines 976-983 Link Here
976
            {
1011
            {
977
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1_2__1__Impl_in_rule__ConnectionPointReferenceRule__Group_1_2__1737);
1012
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__Group_1_2__1__Impl_in_rule__ConnectionPointReferenceRule__Group_1_2__1737);
978
            rule__ConnectionPointReferenceRule__Group_1_2__1__Impl();
1013
            rule__ConnectionPointReferenceRule__Group_1_2__1__Impl();
979
            _fsp--;
980
1014
1015
            state._fsp--;
1016
981
1017
982
            }
1018
            }
983
1019
Lines 993-1002 Link Here
993
        }
1029
        }
994
        return ;
1030
        return ;
995
    }
1031
    }
996
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_1_2__1
1032
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_1_2__1"
997
1033
998
1034
999
    // $ANTLR start rule__ConnectionPointReferenceRule__Group_1_2__1__Impl
1035
    // $ANTLR start "rule__ConnectionPointReferenceRule__Group_1_2__1__Impl"
1000
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:406:1: rule__ConnectionPointReferenceRule__Group_1_2__1__Impl : ( ( rule__ConnectionPointReferenceRule__ExitAssignment_1_2_1 ) ) ;
1036
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:406:1: rule__ConnectionPointReferenceRule__Group_1_2__1__Impl : ( ( rule__ConnectionPointReferenceRule__ExitAssignment_1_2_1 ) ) ;
1001
    public final void rule__ConnectionPointReferenceRule__Group_1_2__1__Impl() throws RecognitionException {
1037
    public final void rule__ConnectionPointReferenceRule__Group_1_2__1__Impl() throws RecognitionException {
1002
1038
Lines 1015-1022 Link Here
1015
            {
1051
            {
1016
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__ExitAssignment_1_2_1_in_rule__ConnectionPointReferenceRule__Group_1_2__1__Impl764);
1052
            pushFollow(FOLLOW_rule__ConnectionPointReferenceRule__ExitAssignment_1_2_1_in_rule__ConnectionPointReferenceRule__Group_1_2__1__Impl764);
1017
            rule__ConnectionPointReferenceRule__ExitAssignment_1_2_1();
1053
            rule__ConnectionPointReferenceRule__ExitAssignment_1_2_1();
1018
            _fsp--;
1019
1054
1055
            state._fsp--;
1056
1020
1057
1021
            }
1058
            }
1022
1059
Lines 1039-1048 Link Here
1039
        }
1076
        }
1040
        return ;
1077
        return ;
1041
    }
1078
    }
1042
    // $ANTLR end rule__ConnectionPointReferenceRule__Group_1_2__1__Impl
1079
    // $ANTLR end "rule__ConnectionPointReferenceRule__Group_1_2__1__Impl"
1043
1080
1044
1081
1045
    // $ANTLR start rule__ConnectionPointReferenceRule__EntryAssignment_0_1
1082
    // $ANTLR start "rule__ConnectionPointReferenceRule__EntryAssignment_0_1"
1046
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:428:1: rule__ConnectionPointReferenceRule__EntryAssignment_0_1 : ( ( RULE_ID ) ) ;
1083
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:428:1: rule__ConnectionPointReferenceRule__EntryAssignment_0_1 : ( ( RULE_ID ) ) ;
1047
    public final void rule__ConnectionPointReferenceRule__EntryAssignment_0_1() throws RecognitionException {
1084
    public final void rule__ConnectionPointReferenceRule__EntryAssignment_0_1() throws RecognitionException {
1048
1085
Lines 1084-1093 Link Here
1084
        }
1121
        }
1085
        return ;
1122
        return ;
1086
    }
1123
    }
1087
    // $ANTLR end rule__ConnectionPointReferenceRule__EntryAssignment_0_1
1124
    // $ANTLR end "rule__ConnectionPointReferenceRule__EntryAssignment_0_1"
1088
1125
1089
1126
1090
    // $ANTLR start rule__ConnectionPointReferenceRule__EntryAssignment_0_2_1
1127
    // $ANTLR start "rule__ConnectionPointReferenceRule__EntryAssignment_0_2_1"
1091
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:447:1: rule__ConnectionPointReferenceRule__EntryAssignment_0_2_1 : ( ( RULE_ID ) ) ;
1128
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:447:1: rule__ConnectionPointReferenceRule__EntryAssignment_0_2_1 : ( ( RULE_ID ) ) ;
1092
    public final void rule__ConnectionPointReferenceRule__EntryAssignment_0_2_1() throws RecognitionException {
1129
    public final void rule__ConnectionPointReferenceRule__EntryAssignment_0_2_1() throws RecognitionException {
1093
1130
Lines 1129-1138 Link Here
1129
        }
1166
        }
1130
        return ;
1167
        return ;
1131
    }
1168
    }
1132
    // $ANTLR end rule__ConnectionPointReferenceRule__EntryAssignment_0_2_1
1169
    // $ANTLR end "rule__ConnectionPointReferenceRule__EntryAssignment_0_2_1"
1133
1170
1134
1171
1135
    // $ANTLR start rule__ConnectionPointReferenceRule__ExitAssignment_1_1
1172
    // $ANTLR start "rule__ConnectionPointReferenceRule__ExitAssignment_1_1"
1136
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:466:1: rule__ConnectionPointReferenceRule__ExitAssignment_1_1 : ( ( RULE_ID ) ) ;
1173
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:466:1: rule__ConnectionPointReferenceRule__ExitAssignment_1_1 : ( ( RULE_ID ) ) ;
1137
    public final void rule__ConnectionPointReferenceRule__ExitAssignment_1_1() throws RecognitionException {
1174
    public final void rule__ConnectionPointReferenceRule__ExitAssignment_1_1() throws RecognitionException {
1138
1175
Lines 1174-1183 Link Here
1174
        }
1211
        }
1175
        return ;
1212
        return ;
1176
    }
1213
    }
1177
    // $ANTLR end rule__ConnectionPointReferenceRule__ExitAssignment_1_1
1214
    // $ANTLR end "rule__ConnectionPointReferenceRule__ExitAssignment_1_1"
1178
1215
1179
1216
1180
    // $ANTLR start rule__ConnectionPointReferenceRule__ExitAssignment_1_2_1
1217
    // $ANTLR start "rule__ConnectionPointReferenceRule__ExitAssignment_1_2_1"
1181
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:485:1: rule__ConnectionPointReferenceRule__ExitAssignment_1_2_1 : ( ( RULE_ID ) ) ;
1218
    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:485:1: rule__ConnectionPointReferenceRule__ExitAssignment_1_2_1 : ( ( RULE_ID ) ) ;
1182
    public final void rule__ConnectionPointReferenceRule__ExitAssignment_1_2_1() throws RecognitionException {
1219
    public final void rule__ConnectionPointReferenceRule__ExitAssignment_1_2_1() throws RecognitionException {
1183
1220
Lines 1219-1226 Link Here
1219
        }
1256
        }
1220
        return ;
1257
        return ;
1221
    }
1258
    }
1222
    // $ANTLR end rule__ConnectionPointReferenceRule__ExitAssignment_1_2_1
1259
    // $ANTLR end "rule__ConnectionPointReferenceRule__ExitAssignment_1_2_1"
1223
1260
1261
    // Delegated rules
1262
1224
1263
1225
 
1264
 
1226
1265
Lines 1232-1238 Link Here
1232
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_0__0__Impl_in_rule__ConnectionPointReferenceRule__Group_0__0180 = new BitSet(new long[]{0x0000000000000010L});
1271
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_0__0__Impl_in_rule__ConnectionPointReferenceRule__Group_0__0180 = new BitSet(new long[]{0x0000000000000010L});
1233
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_0__1_in_rule__ConnectionPointReferenceRule__Group_0__0183 = new BitSet(new long[]{0x0000000000000002L});
1272
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_0__1_in_rule__ConnectionPointReferenceRule__Group_0__0183 = new BitSet(new long[]{0x0000000000000002L});
1234
    public static final BitSet FOLLOW_11_in_rule__ConnectionPointReferenceRule__Group_0__0__Impl211 = new BitSet(new long[]{0x0000000000000002L});
1273
    public static final BitSet FOLLOW_11_in_rule__ConnectionPointReferenceRule__Group_0__0__Impl211 = new BitSet(new long[]{0x0000000000000002L});
1235
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_0__1__Impl_in_rule__ConnectionPointReferenceRule__Group_0__1242 = new BitSet(new long[]{0x0000000000001002L});
1274
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_0__1__Impl_in_rule__ConnectionPointReferenceRule__Group_0__1242 = new BitSet(new long[]{0x0000000000001000L});
1236
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_0__2_in_rule__ConnectionPointReferenceRule__Group_0__1245 = new BitSet(new long[]{0x0000000000000002L});
1275
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_0__2_in_rule__ConnectionPointReferenceRule__Group_0__1245 = new BitSet(new long[]{0x0000000000000002L});
1237
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__EntryAssignment_0_1_in_rule__ConnectionPointReferenceRule__Group_0__1__Impl272 = new BitSet(new long[]{0x0000000000000002L});
1276
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__EntryAssignment_0_1_in_rule__ConnectionPointReferenceRule__Group_0__1__Impl272 = new BitSet(new long[]{0x0000000000000002L});
1238
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_0__2__Impl_in_rule__ConnectionPointReferenceRule__Group_0__2302 = new BitSet(new long[]{0x0000000000000002L});
1277
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_0__2__Impl_in_rule__ConnectionPointReferenceRule__Group_0__2302 = new BitSet(new long[]{0x0000000000000002L});
Lines 1245-1251 Link Here
1245
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_1__0__Impl_in_rule__ConnectionPointReferenceRule__Group_1__0489 = new BitSet(new long[]{0x0000000000000010L});
1284
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_1__0__Impl_in_rule__ConnectionPointReferenceRule__Group_1__0489 = new BitSet(new long[]{0x0000000000000010L});
1246
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_1__1_in_rule__ConnectionPointReferenceRule__Group_1__0492 = new BitSet(new long[]{0x0000000000000002L});
1285
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_1__1_in_rule__ConnectionPointReferenceRule__Group_1__0492 = new BitSet(new long[]{0x0000000000000002L});
1247
    public static final BitSet FOLLOW_13_in_rule__ConnectionPointReferenceRule__Group_1__0__Impl520 = new BitSet(new long[]{0x0000000000000002L});
1286
    public static final BitSet FOLLOW_13_in_rule__ConnectionPointReferenceRule__Group_1__0__Impl520 = new BitSet(new long[]{0x0000000000000002L});
1248
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_1__1__Impl_in_rule__ConnectionPointReferenceRule__Group_1__1551 = new BitSet(new long[]{0x0000000000001002L});
1287
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_1__1__Impl_in_rule__ConnectionPointReferenceRule__Group_1__1551 = new BitSet(new long[]{0x0000000000001000L});
1249
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_1__2_in_rule__ConnectionPointReferenceRule__Group_1__1554 = new BitSet(new long[]{0x0000000000000002L});
1288
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_1__2_in_rule__ConnectionPointReferenceRule__Group_1__1554 = new BitSet(new long[]{0x0000000000000002L});
1250
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__ExitAssignment_1_1_in_rule__ConnectionPointReferenceRule__Group_1__1__Impl581 = new BitSet(new long[]{0x0000000000000002L});
1289
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__ExitAssignment_1_1_in_rule__ConnectionPointReferenceRule__Group_1__1__Impl581 = new BitSet(new long[]{0x0000000000000002L});
1251
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_1__2__Impl_in_rule__ConnectionPointReferenceRule__Group_1__2611 = new BitSet(new long[]{0x0000000000000002L});
1290
    public static final BitSet FOLLOW_rule__ConnectionPointReferenceRule__Group_1__2__Impl_in_rule__ConnectionPointReferenceRule__Group_1__2611 = new BitSet(new long[]{0x0000000000000002L});
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReferenceLexer.java (-239 / +273 lines)
Lines 14-95 Link Here
14
public class InternalUMLConnectionPointReferenceLexer extends Lexer {
14
public class InternalUMLConnectionPointReferenceLexer extends Lexer {
15
    public static final int RULE_ID=4;
15
    public static final int RULE_ID=4;
16
    public static final int RULE_STRING=6;
16
    public static final int RULE_STRING=6;
17
    public static final int T__12=12;
18
    public static final int T__11=11;
19
    public static final int T__13=13;
17
    public static final int RULE_ANY_OTHER=10;
20
    public static final int RULE_ANY_OTHER=10;
18
    public static final int RULE_INT=5;
21
    public static final int RULE_INT=5;
19
    public static final int T11=11;
20
    public static final int T12=12;
21
    public static final int T13=13;
22
    public static final int RULE_WS=9;
22
    public static final int RULE_WS=9;
23
    public static final int Tokens=14;
24
    public static final int RULE_SL_COMMENT=8;
23
    public static final int RULE_SL_COMMENT=8;
25
    public static final int EOF=-1;
24
    public static final int EOF=-1;
26
    public static final int RULE_ML_COMMENT=7;
25
    public static final int RULE_ML_COMMENT=7;
26
27
    // delegates
28
    // delegators
29
27
    public InternalUMLConnectionPointReferenceLexer() {;} 
30
    public InternalUMLConnectionPointReferenceLexer() {;} 
28
    public InternalUMLConnectionPointReferenceLexer(CharStream input) {
31
    public InternalUMLConnectionPointReferenceLexer(CharStream input) {
29
        super(input);
32
        this(input, new RecognizerSharedState());
33
    }
34
    public InternalUMLConnectionPointReferenceLexer(CharStream input, RecognizerSharedState state) {
35
        super(input,state);
36
30
    }
37
    }
31
    public String getGrammarFileName() { return "../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g"; }
38
    public String getGrammarFileName() { return "../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g"; }
32
39
33
    // $ANTLR start T11
40
    // $ANTLR start "T__11"
34
    public final void mT11() throws RecognitionException {
41
    public final void mT__11() throws RecognitionException {
35
        try {
42
        try {
36
            int _type = T11;
43
            int _type = T__11;
37
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:10:5: ( 'entry' )
44
            int _channel = DEFAULT_TOKEN_CHANNEL;
38
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:10:7: 'entry'
45
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:11:7: ( 'entry' )
46
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:11:9: 'entry'
39
            {
47
            {
40
            match("entry"); 
48
            match("entry"); 
41
49
42
50
43
            }
51
            }
44
52
45
            this.type = _type;
53
            state.type = _type;
54
            state.channel = _channel;
46
        }
55
        }
47
        finally {
56
        finally {
48
        }
57
        }
49
    }
58
    }
50
    // $ANTLR end T11
59
    // $ANTLR end "T__11"
51
60
52
    // $ANTLR start T12
61
    // $ANTLR start "T__12"
53
    public final void mT12() throws RecognitionException {
62
    public final void mT__12() throws RecognitionException {
54
        try {
63
        try {
55
            int _type = T12;
64
            int _type = T__12;
56
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:11:5: ( ',' )
65
            int _channel = DEFAULT_TOKEN_CHANNEL;
57
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:11:7: ','
66
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:12:7: ( ',' )
67
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:12:9: ','
58
            {
68
            {
59
            match(','); 
69
            match(','); 
60
70
61
            }
71
            }
62
72
63
            this.type = _type;
73
            state.type = _type;
74
            state.channel = _channel;
64
        }
75
        }
65
        finally {
76
        finally {
66
        }
77
        }
67
    }
78
    }
68
    // $ANTLR end T12
79
    // $ANTLR end "T__12"
69
80
70
    // $ANTLR start T13
81
    // $ANTLR start "T__13"
71
    public final void mT13() throws RecognitionException {
82
    public final void mT__13() throws RecognitionException {
72
        try {
83
        try {
73
            int _type = T13;
84
            int _type = T__13;
74
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:12:5: ( 'exit' )
85
            int _channel = DEFAULT_TOKEN_CHANNEL;
75
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:12:7: 'exit'
86
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:13:7: ( 'exit' )
87
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:13:9: 'exit'
76
            {
88
            {
77
            match("exit"); 
89
            match("exit"); 
78
90
79
91
80
            }
92
            }
81
93
82
            this.type = _type;
94
            state.type = _type;
95
            state.channel = _channel;
83
        }
96
        }
84
        finally {
97
        finally {
85
        }
98
        }
86
    }
99
    }
87
    // $ANTLR end T13
100
    // $ANTLR end "T__13"
88
101
89
    // $ANTLR start RULE_ID
102
    // $ANTLR start "RULE_ID"
90
    public final void mRULE_ID() throws RecognitionException {
103
    public final void mRULE_ID() throws RecognitionException {
91
        try {
104
        try {
92
            int _type = RULE_ID;
105
            int _type = RULE_ID;
106
            int _channel = DEFAULT_TOKEN_CHANNEL;
93
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:505:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
107
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:505:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
94
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:505:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
108
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:505:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
95
            {
109
            {
Lines 116-125 Link Here
116
130
117
            }
131
            }
118
            else {
132
            else {
119
                MismatchedSetException mse =
133
                MismatchedSetException mse = new MismatchedSetException(null,input);
120
                    new MismatchedSetException(null,input);
134
                recover(mse);
121
                recover(mse);    throw mse;
135
                throw mse;}
122
            }
123
136
124
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:505:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
137
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:505:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
125
            loop2:
138
            loop2:
Lines 141-150 Link Here
141
154
142
            	    }
155
            	    }
143
            	    else {
156
            	    else {
144
            	        MismatchedSetException mse =
157
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
145
            	            new MismatchedSetException(null,input);
158
            	        recover(mse);
146
            	        recover(mse);    throw mse;
159
            	        throw mse;}
147
            	    }
148
160
149
161
150
            	    }
162
            	    }
Lines 158-174 Link Here
158
170
159
            }
171
            }
160
172
161
            this.type = _type;
173
            state.type = _type;
174
            state.channel = _channel;
162
        }
175
        }
163
        finally {
176
        finally {
164
        }
177
        }
165
    }
178
    }
166
    // $ANTLR end RULE_ID
179
    // $ANTLR end "RULE_ID"
167
180
168
    // $ANTLR start RULE_INT
181
    // $ANTLR start "RULE_INT"
169
    public final void mRULE_INT() throws RecognitionException {
182
    public final void mRULE_INT() throws RecognitionException {
170
        try {
183
        try {
171
            int _type = RULE_INT;
184
            int _type = RULE_INT;
185
            int _channel = DEFAULT_TOKEN_CHANNEL;
172
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:507:10: ( ( '0' .. '9' )+ )
186
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:507:10: ( ( '0' .. '9' )+ )
173
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:507:12: ( '0' .. '9' )+
187
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:507:12: ( '0' .. '9' )+
174
            {
188
            {
Lines 205-225 Link Here
205
219
206
            }
220
            }
207
221
208
            this.type = _type;
222
            state.type = _type;
223
            state.channel = _channel;
209
        }
224
        }
210
        finally {
225
        finally {
211
        }
226
        }
212
    }
227
    }
213
    // $ANTLR end RULE_INT
228
    // $ANTLR end "RULE_INT"
214
229
215
    // $ANTLR start RULE_STRING
230
    // $ANTLR start "RULE_STRING"
216
    public final void mRULE_STRING() throws RecognitionException {
231
    public final void mRULE_STRING() throws RecognitionException {
217
        try {
232
        try {
218
            int _type = RULE_STRING;
233
            int _type = RULE_STRING;
219
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
234
            int _channel = DEFAULT_TOKEN_CHANNEL;
220
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
235
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
236
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
221
            {
237
            {
222
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
238
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
223
            int alt6=2;
239
            int alt6=2;
224
            int LA6_0 = input.LA(1);
240
            int LA6_0 = input.LA(1);
225
241
Lines 231-246 Link Here
231
            }
247
            }
232
            else {
248
            else {
233
                NoViableAltException nvae =
249
                NoViableAltException nvae =
234
                    new NoViableAltException("509:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 6, 0, input);
250
                    new NoViableAltException("", 6, 0, input);
235
251
236
                throw nvae;
252
                throw nvae;
237
            }
253
            }
238
            switch (alt6) {
254
            switch (alt6) {
239
                case 1 :
255
                case 1 :
240
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
256
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
241
                    {
257
                    {
242
                    match('\"'); 
258
                    match('\"'); 
243
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
259
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
244
                    loop4:
260
                    loop4:
245
                    do {
261
                    do {
246
                        int alt4=3;
262
                        int alt4=3;
Lines 249-289 Link Here
249
                        if ( (LA4_0=='\\') ) {
265
                        if ( (LA4_0=='\\') ) {
250
                            alt4=1;
266
                            alt4=1;
251
                        }
267
                        }
252
                        else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFE')) ) {
268
                        else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) {
253
                            alt4=2;
269
                            alt4=2;
254
                        }
270
                        }
255
271
256
272
257
                        switch (alt4) {
273
                        switch (alt4) {
258
                    	case 1 :
274
                    	case 1 :
259
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
275
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
260
                    	    {
276
                    	    {
261
                    	    match('\\'); 
277
                    	    match('\\'); 
262
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
278
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
263
                    	        input.consume();
279
                    	        input.consume();
264
280
265
                    	    }
281
                    	    }
266
                    	    else {
282
                    	    else {
267
                    	        MismatchedSetException mse =
283
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
268
                    	            new MismatchedSetException(null,input);
284
                    	        recover(mse);
269
                    	        recover(mse);    throw mse;
285
                    	        throw mse;}
270
                    	    }
271
286
272
287
273
                    	    }
288
                    	    }
274
                    	    break;
289
                    	    break;
275
                    	case 2 :
290
                    	case 2 :
276
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:62: ~ ( ( '\\\\' | '\"' ) )
291
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:66: ~ ( ( '\\\\' | '\"' ) )
277
                    	    {
292
                    	    {
278
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
293
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
279
                    	        input.consume();
294
                    	        input.consume();
280
295
281
                    	    }
296
                    	    }
282
                    	    else {
297
                    	    else {
283
                    	        MismatchedSetException mse =
298
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
284
                    	            new MismatchedSetException(null,input);
299
                    	        recover(mse);
285
                    	        recover(mse);    throw mse;
300
                    	        throw mse;}
286
                    	    }
287
301
288
302
289
                    	    }
303
                    	    }
Lines 299-308 Link Here
299
                    }
313
                    }
300
                    break;
314
                    break;
301
                case 2 :
315
                case 2 :
302
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
316
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
303
                    {
317
                    {
304
                    match('\''); 
318
                    match('\''); 
305
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
319
                    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
306
                    loop5:
320
                    loop5:
307
                    do {
321
                    do {
308
                        int alt5=3;
322
                        int alt5=3;
Lines 311-351 Link Here
311
                        if ( (LA5_0=='\\') ) {
325
                        if ( (LA5_0=='\\') ) {
312
                            alt5=1;
326
                            alt5=1;
313
                        }
327
                        }
314
                        else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFE')) ) {
328
                        else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) {
315
                            alt5=2;
329
                            alt5=2;
316
                        }
330
                        }
317
331
318
332
319
                        switch (alt5) {
333
                        switch (alt5) {
320
                    	case 1 :
334
                    	case 1 :
321
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
335
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
322
                    	    {
336
                    	    {
323
                    	    match('\\'); 
337
                    	    match('\\'); 
324
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
338
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
325
                    	        input.consume();
339
                    	        input.consume();
326
340
327
                    	    }
341
                    	    }
328
                    	    else {
342
                    	    else {
329
                    	        MismatchedSetException mse =
343
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
330
                    	            new MismatchedSetException(null,input);
344
                    	        recover(mse);
331
                    	        recover(mse);    throw mse;
345
                    	        throw mse;}
332
                    	    }
333
346
334
347
335
                    	    }
348
                    	    }
336
                    	    break;
349
                    	    break;
337
                    	case 2 :
350
                    	case 2 :
338
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:129: ~ ( ( '\\\\' | '\\'' ) )
351
                    	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:509:137: ~ ( ( '\\\\' | '\\'' ) )
339
                    	    {
352
                    	    {
340
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
353
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
341
                    	        input.consume();
354
                    	        input.consume();
342
355
343
                    	    }
356
                    	    }
344
                    	    else {
357
                    	    else {
345
                    	        MismatchedSetException mse =
358
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
346
                    	            new MismatchedSetException(null,input);
359
                    	        recover(mse);
347
                    	        recover(mse);    throw mse;
360
                    	        throw mse;}
348
                    	    }
349
361
350
362
351
                    	    }
363
                    	    }
Lines 366-382 Link Here
366
378
367
            }
379
            }
368
380
369
            this.type = _type;
381
            state.type = _type;
382
            state.channel = _channel;
370
        }
383
        }
371
        finally {
384
        finally {
372
        }
385
        }
373
    }
386
    }
374
    // $ANTLR end RULE_STRING
387
    // $ANTLR end "RULE_STRING"
375
388
376
    // $ANTLR start RULE_ML_COMMENT
389
    // $ANTLR start "RULE_ML_COMMENT"
377
    public final void mRULE_ML_COMMENT() throws RecognitionException {
390
    public final void mRULE_ML_COMMENT() throws RecognitionException {
378
        try {
391
        try {
379
            int _type = RULE_ML_COMMENT;
392
            int _type = RULE_ML_COMMENT;
393
            int _channel = DEFAULT_TOKEN_CHANNEL;
380
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:511:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
394
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:511:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
381
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:511:19: '/*' ( options {greedy=false; } : . )* '*/'
395
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:511:19: '/*' ( options {greedy=false; } : . )* '*/'
382
            {
396
            {
Lines 394-406 Link Here
394
                    if ( (LA7_1=='/') ) {
408
                    if ( (LA7_1=='/') ) {
395
                        alt7=2;
409
                        alt7=2;
396
                    }
410
                    }
397
                    else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFE')) ) {
411
                    else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) {
398
                        alt7=1;
412
                        alt7=1;
399
                    }
413
                    }
400
414
401
415
402
                }
416
                }
403
                else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFE')) ) {
417
                else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) {
404
                    alt7=1;
418
                    alt7=1;
405
                }
419
                }
406
420
Lines 424-440 Link Here
424
438
425
            }
439
            }
426
440
427
            this.type = _type;
441
            state.type = _type;
442
            state.channel = _channel;
428
        }
443
        }
429
        finally {
444
        finally {
430
        }
445
        }
431
    }
446
    }
432
    // $ANTLR end RULE_ML_COMMENT
447
    // $ANTLR end "RULE_ML_COMMENT"
433
448
434
    // $ANTLR start RULE_SL_COMMENT
449
    // $ANTLR start "RULE_SL_COMMENT"
435
    public final void mRULE_SL_COMMENT() throws RecognitionException {
450
    public final void mRULE_SL_COMMENT() throws RecognitionException {
436
        try {
451
        try {
437
            int _type = RULE_SL_COMMENT;
452
            int _type = RULE_SL_COMMENT;
453
            int _channel = DEFAULT_TOKEN_CHANNEL;
438
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:513:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
454
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:513:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
439
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:513:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
455
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:513:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
440
            {
456
            {
Lines 446-452 Link Here
446
                int alt8=2;
462
                int alt8=2;
447
                int LA8_0 = input.LA(1);
463
                int LA8_0 = input.LA(1);
448
464
449
                if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFE')) ) {
465
                if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) {
450
                    alt8=1;
466
                    alt8=1;
451
                }
467
                }
452
468
Lines 455-469 Link Here
455
            	case 1 :
471
            	case 1 :
456
            	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:513:24: ~ ( ( '\\n' | '\\r' ) )
472
            	    // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:513:24: ~ ( ( '\\n' | '\\r' ) )
457
            	    {
473
            	    {
458
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFE') ) {
474
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
459
            	        input.consume();
475
            	        input.consume();
460
476
461
            	    }
477
            	    }
462
            	    else {
478
            	    else {
463
            	        MismatchedSetException mse =
479
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
464
            	            new MismatchedSetException(null,input);
480
            	        recover(mse);
465
            	        recover(mse);    throw mse;
481
            	        throw mse;}
466
            	    }
467
482
468
483
469
            	    }
484
            	    }
Lines 513-529 Link Here
513
528
514
            }
529
            }
515
530
516
            this.type = _type;
531
            state.type = _type;
532
            state.channel = _channel;
517
        }
533
        }
518
        finally {
534
        finally {
519
        }
535
        }
520
    }
536
    }
521
    // $ANTLR end RULE_SL_COMMENT
537
    // $ANTLR end "RULE_SL_COMMENT"
522
538
523
    // $ANTLR start RULE_WS
539
    // $ANTLR start "RULE_WS"
524
    public final void mRULE_WS() throws RecognitionException {
540
    public final void mRULE_WS() throws RecognitionException {
525
        try {
541
        try {
526
            int _type = RULE_WS;
542
            int _type = RULE_WS;
543
            int _channel = DEFAULT_TOKEN_CHANNEL;
527
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:515:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
544
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:515:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
528
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:515:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
545
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:515:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
529
            {
546
            {
Lines 548-557 Link Here
548
565
549
            	    }
566
            	    }
550
            	    else {
567
            	    else {
551
            	        MismatchedSetException mse =
568
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
552
            	            new MismatchedSetException(null,input);
569
            	        recover(mse);
553
            	        recover(mse);    throw mse;
570
            	        throw mse;}
554
            	    }
555
571
556
572
557
            	    }
573
            	    }
Lines 569-585 Link Here
569
585
570
            }
586
            }
571
587
572
            this.type = _type;
588
            state.type = _type;
589
            state.channel = _channel;
573
        }
590
        }
574
        finally {
591
        finally {
575
        }
592
        }
576
    }
593
    }
577
    // $ANTLR end RULE_WS
594
    // $ANTLR end "RULE_WS"
578
595
579
    // $ANTLR start RULE_ANY_OTHER
596
    // $ANTLR start "RULE_ANY_OTHER"
580
    public final void mRULE_ANY_OTHER() throws RecognitionException {
597
    public final void mRULE_ANY_OTHER() throws RecognitionException {
581
        try {
598
        try {
582
            int _type = RULE_ANY_OTHER;
599
            int _type = RULE_ANY_OTHER;
600
            int _channel = DEFAULT_TOKEN_CHANNEL;
583
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:517:16: ( . )
601
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:517:16: ( . )
584
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:517:18: .
602
            // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:517:18: .
585
            {
603
            {
Lines 587-792 Link Here
587
605
588
            }
606
            }
589
607
590
            this.type = _type;
608
            state.type = _type;
609
            state.channel = _channel;
591
        }
610
        }
592
        finally {
611
        finally {
593
        }
612
        }
594
    }
613
    }
595
    // $ANTLR end RULE_ANY_OTHER
614
    // $ANTLR end "RULE_ANY_OTHER"
596
615
597
    public void mTokens() throws RecognitionException {
616
    public void mTokens() throws RecognitionException {
598
        // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:8: ( T11 | T12 | T13 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
617
        // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:8: ( T__11 | T__12 | T__13 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
599
        int alt12=10;
618
        int alt12=10;
600
        int LA12_0 = input.LA(1);
619
        alt12 = dfa12.predict(input);
601
602
        if ( (LA12_0=='e') ) {
603
            switch ( input.LA(2) ) {
604
            case 'n':
605
                {
606
                int LA12_11 = input.LA(3);
607
608
                if ( (LA12_11=='t') ) {
609
                    int LA12_20 = input.LA(4);
610
611
                    if ( (LA12_20=='r') ) {
612
                        int LA12_22 = input.LA(5);
613
614
                        if ( (LA12_22=='y') ) {
615
                            int LA12_24 = input.LA(6);
616
617
                            if ( ((LA12_24>='0' && LA12_24<='9')||(LA12_24>='A' && LA12_24<='Z')||LA12_24=='_'||(LA12_24>='a' && LA12_24<='z')) ) {
618
                                alt12=4;
619
                            }
620
                            else {
621
                                alt12=1;}
622
                        }
623
                        else {
624
                            alt12=4;}
625
                    }
626
                    else {
627
                        alt12=4;}
628
                }
629
                else {
630
                    alt12=4;}
631
                }
632
                break;
633
            case 'x':
634
                {
635
                int LA12_12 = input.LA(3);
636
637
                if ( (LA12_12=='i') ) {
638
                    int LA12_21 = input.LA(4);
639
640
                    if ( (LA12_21=='t') ) {
641
                        int LA12_23 = input.LA(5);
642
643
                        if ( ((LA12_23>='0' && LA12_23<='9')||(LA12_23>='A' && LA12_23<='Z')||LA12_23=='_'||(LA12_23>='a' && LA12_23<='z')) ) {
644
                            alt12=4;
645
                        }
646
                        else {
647
                            alt12=3;}
648
                    }
649
                    else {
650
                        alt12=4;}
651
                }
652
                else {
653
                    alt12=4;}
654
                }
655
                break;
656
            default:
657
                alt12=4;}
658
659
        }
660
        else if ( (LA12_0==',') ) {
661
            alt12=2;
662
        }
663
        else if ( (LA12_0=='^') ) {
664
            int LA12_3 = input.LA(2);
665
666
            if ( ((LA12_3>='A' && LA12_3<='Z')||LA12_3=='_'||(LA12_3>='a' && LA12_3<='z')) ) {
667
                alt12=4;
668
            }
669
            else {
670
                alt12=10;}
671
        }
672
        else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='d')||(LA12_0>='f' && LA12_0<='z')) ) {
673
            alt12=4;
674
        }
675
        else if ( ((LA12_0>='0' && LA12_0<='9')) ) {
676
            alt12=5;
677
        }
678
        else if ( (LA12_0=='\"') ) {
679
            int LA12_6 = input.LA(2);
680
681
            if ( ((LA12_6>='\u0000' && LA12_6<='\uFFFE')) ) {
682
                alt12=6;
683
            }
684
            else {
685
                alt12=10;}
686
        }
687
        else if ( (LA12_0=='\'') ) {
688
            int LA12_7 = input.LA(2);
689
690
            if ( ((LA12_7>='\u0000' && LA12_7<='\uFFFE')) ) {
691
                alt12=6;
692
            }
693
            else {
694
                alt12=10;}
695
        }
696
        else if ( (LA12_0=='/') ) {
697
            switch ( input.LA(2) ) {
698
            case '/':
699
                {
700
                alt12=8;
701
                }
702
                break;
703
            case '*':
704
                {
705
                alt12=7;
706
                }
707
                break;
708
            default:
709
                alt12=10;}
710
711
        }
712
        else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {
713
            alt12=9;
714
        }
715
        else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='+')||(LA12_0>='-' && LA12_0<='.')||(LA12_0>=':' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||(LA12_0>='{' && LA12_0<='\uFFFE')) ) {
716
            alt12=10;
717
        }
718
        else {
719
            NoViableAltException nvae =
720
                new NoViableAltException("1:1: Tokens : ( T11 | T12 | T13 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );", 12, 0, input);
721
722
            throw nvae;
723
        }
724
        switch (alt12) {
620
        switch (alt12) {
725
            case 1 :
621
            case 1 :
726
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:10: T11
622
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:10: T__11
727
                {
623
                {
728
                mT11(); 
624
                mT__11(); 
729
625
730
                }
626
                }
731
                break;
627
                break;
732
            case 2 :
628
            case 2 :
733
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:14: T12
629
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:16: T__12
734
                {
630
                {
735
                mT12(); 
631
                mT__12(); 
736
632
737
                }
633
                }
738
                break;
634
                break;
739
            case 3 :
635
            case 3 :
740
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:18: T13
636
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:22: T__13
741
                {
637
                {
742
                mT13(); 
638
                mT__13(); 
743
639
744
                }
640
                }
745
                break;
641
                break;
746
            case 4 :
642
            case 4 :
747
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:22: RULE_ID
643
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:28: RULE_ID
748
                {
644
                {
749
                mRULE_ID(); 
645
                mRULE_ID(); 
750
646
751
                }
647
                }
752
                break;
648
                break;
753
            case 5 :
649
            case 5 :
754
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:30: RULE_INT
650
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:36: RULE_INT
755
                {
651
                {
756
                mRULE_INT(); 
652
                mRULE_INT(); 
757
653
758
                }
654
                }
759
                break;
655
                break;
760
            case 6 :
656
            case 6 :
761
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:39: RULE_STRING
657
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:45: RULE_STRING
762
                {
658
                {
763
                mRULE_STRING(); 
659
                mRULE_STRING(); 
764
660
765
                }
661
                }
766
                break;
662
                break;
767
            case 7 :
663
            case 7 :
768
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:51: RULE_ML_COMMENT
664
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:57: RULE_ML_COMMENT
769
                {
665
                {
770
                mRULE_ML_COMMENT(); 
666
                mRULE_ML_COMMENT(); 
771
667
772
                }
668
                }
773
                break;
669
                break;
774
            case 8 :
670
            case 8 :
775
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:67: RULE_SL_COMMENT
671
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:73: RULE_SL_COMMENT
776
                {
672
                {
777
                mRULE_SL_COMMENT(); 
673
                mRULE_SL_COMMENT(); 
778
674
779
                }
675
                }
780
                break;
676
                break;
781
            case 9 :
677
            case 9 :
782
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:83: RULE_WS
678
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:89: RULE_WS
783
                {
679
                {
784
                mRULE_WS(); 
680
                mRULE_WS(); 
785
681
786
                }
682
                }
787
                break;
683
                break;
788
            case 10 :
684
            case 10 :
789
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:91: RULE_ANY_OTHER
685
                // ../org.eclipse.papyrus.connectionpointreference.editor.xtext.ui/src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.g:1:97: RULE_ANY_OTHER
790
                {
686
                {
791
                mRULE_ANY_OTHER(); 
687
                mRULE_ANY_OTHER(); 
792
688
Lines 798-803 Link Here
798
    }
694
    }
799
695
800
696
697
    protected DFA12 dfa12 = new DFA12(this);
698
    static final String DFA12_eotS =
699
        "\1\uffff\1\15\1\uffff\1\12\2\uffff\3\12\2\uffff\2\15\7\uffff\3"+
700
        "\15\1\31\1\32\2\uffff";
701
    static final String DFA12_eofS =
702
        "\33\uffff";
703
    static final String DFA12_minS =
704
        "\1\0\1\156\1\uffff\1\101\2\uffff\2\0\1\52\2\uffff\1\164\1\151\7"+
705
        "\uffff\1\162\1\164\1\171\2\60\2\uffff";
706
    static final String DFA12_maxS =
707
        "\1\uffff\1\170\1\uffff\1\172\2\uffff\2\uffff\1\57\2\uffff\1\164"+
708
        "\1\151\7\uffff\1\162\1\164\1\171\2\172\2\uffff";
709
    static final String DFA12_acceptS =
710
        "\2\uffff\1\2\1\uffff\1\4\1\5\3\uffff\1\11\1\12\2\uffff\1\4\1\2"+
711
        "\1\5\1\6\1\7\1\10\1\11\5\uffff\1\3\1\1";
712
    static final String DFA12_specialS =
713
        "\1\2\5\uffff\1\0\1\1\23\uffff}>";
714
    static final String[] DFA12_transitionS = {
715
            "\11\12\2\11\2\12\1\11\22\12\1\11\1\12\1\6\4\12\1\7\4\12\1\2"+
716
            "\2\12\1\10\12\5\7\12\32\4\3\12\1\3\1\4\1\12\4\4\1\1\25\4\uff85"+
717
            "\12",
718
            "\1\13\11\uffff\1\14",
719
            "",
720
            "\32\15\4\uffff\1\15\1\uffff\32\15",
721
            "",
722
            "",
723
            "\0\20",
724
            "\0\20",
725
            "\1\21\4\uffff\1\22",
726
            "",
727
            "",
728
            "\1\24",
729
            "\1\25",
730
            "",
731
            "",
732
            "",
733
            "",
734
            "",
735
            "",
736
            "",
737
            "\1\26",
738
            "\1\27",
739
            "\1\30",
740
            "\12\15\7\uffff\32\15\4\uffff\1\15\1\uffff\32\15",
741
            "\12\15\7\uffff\32\15\4\uffff\1\15\1\uffff\32\15",
742
            "",
743
            ""
744
    };
745
746
    static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS);
747
    static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS);
748
    static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS);
749
    static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS);
750
    static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS);
751
    static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS);
752
    static final short[][] DFA12_transition;
753
754
    static {
755
        int numStates = DFA12_transitionS.length;
756
        DFA12_transition = new short[numStates][];
757
        for (int i=0; i<numStates; i++) {
758
            DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]);
759
        }
760
    }
761
762
    class DFA12 extends DFA {
763
764
        public DFA12(BaseRecognizer recognizer) {
765
            this.recognizer = recognizer;
766
            this.decisionNumber = 12;
767
            this.eot = DFA12_eot;
768
            this.eof = DFA12_eof;
769
            this.min = DFA12_min;
770
            this.max = DFA12_max;
771
            this.accept = DFA12_accept;
772
            this.special = DFA12_special;
773
            this.transition = DFA12_transition;
774
        }
775
        public String getDescription() {
776
            return "1:1: Tokens : ( T__11 | T__12 | T__13 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
777
        }
778
        public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
779
            IntStream input = _input;
780
        	int _s = s;
781
            switch ( s ) {
782
                    case 0 : 
783
                        int LA12_6 = input.LA(1);
784
785
                        s = -1;
786
                        if ( ((LA12_6>='\u0000' && LA12_6<='\uFFFF')) ) {s = 16;}
787
788
                        else s = 10;
789
790
                        if ( s>=0 ) return s;
791
                        break;
792
                    case 1 : 
793
                        int LA12_7 = input.LA(1);
794
795
                        s = -1;
796
                        if ( ((LA12_7>='\u0000' && LA12_7<='\uFFFF')) ) {s = 16;}
797
798
                        else s = 10;
799
800
                        if ( s>=0 ) return s;
801
                        break;
802
                    case 2 : 
803
                        int LA12_0 = input.LA(1);
804
805
                        s = -1;
806
                        if ( (LA12_0=='e') ) {s = 1;}
807
808
                        else if ( (LA12_0==',') ) {s = 2;}
809
810
                        else if ( (LA12_0=='^') ) {s = 3;}
811
812
                        else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='d')||(LA12_0>='f' && LA12_0<='z')) ) {s = 4;}
813
814
                        else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 5;}
815
816
                        else if ( (LA12_0=='\"') ) {s = 6;}
817
818
                        else if ( (LA12_0=='\'') ) {s = 7;}
819
820
                        else if ( (LA12_0=='/') ) {s = 8;}
821
822
                        else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 9;}
823
824
                        else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='+')||(LA12_0>='-' && LA12_0<='.')||(LA12_0>=':' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||(LA12_0>='{' && LA12_0<='\uFFFF')) ) {s = 10;}
825
826
                        if ( s>=0 ) return s;
827
                        break;
828
            }
829
            NoViableAltException nvae =
830
                new NoViableAltException(getDescription(), 12, _s, input);
831
            error(nvae);
832
            throw nvae;
833
        }
834
    }
801
 
835
 
802
836
803
}
837
}
(-)src-gen/org/eclipse/papyrus/connectionpointreference/editor/xtext/ui/contentassist/antlr/internal/InternalUMLConnectionPointReference.tokens (+3 lines)
Lines 1-5 Link Here
1
RULE_ID=4
1
RULE_ID=4
2
RULE_STRING=6
2
RULE_STRING=6
3
T__12=12
4
T__11=11
5
T__13=13
3
RULE_ANY_OTHER=10
6
RULE_ANY_OTHER=10
4
RULE_INT=5
7
RULE_INT=5
5
RULE_WS=9
8
RULE_WS=9
(-)plugin.xml_gen (-1 lines)
Lines 139-145 Link Here
139
139
140
140
141
141
142
143
	<!-- Quick Outline -->
142
	<!-- Quick Outline -->
144
	<extension
143
	<extension
145
		point="org.eclipse.ui.handlers">
144
		point="org.eclipse.ui.handlers">
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/ui/UmlPropertyExecutableExtensionFactory.java (-3 / +2 lines)
Lines 1-8 Link Here
1
2
/*
1
/*
3
 * generated by Xtext
2
 * generated by Xtext
4
 */
3
 */
5
 
6
package org.eclipse.papyrus.property.editor.xtext.ui;
4
package org.eclipse.papyrus.property.editor.xtext.ui;
7
5
8
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
6
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
Lines 11-17 Link Here
11
import com.google.inject.Injector;
9
import com.google.inject.Injector;
12
10
13
/**
11
/**
14
 *@generated
12
 * This class was generated. Customizations should only happen in a newly
13
 * introduced subclass. 
15
 */
14
 */
16
public class UmlPropertyExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
15
public class UmlPropertyExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
17
16
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/ui/internal/UmlPropertyActivator.java (-10 / +19 lines)
Lines 1-24 Link Here
1
2
/*
1
/*
3
 * generated by Xtext
2
 * generated by Xtext
4
 */
3
 */
5
package org.eclipse.papyrus.property.editor.xtext.ui.internal;
4
package org.eclipse.papyrus.property.editor.xtext.ui.internal;
6
5
6
import static com.google.inject.util.Modules.override;
7
import static com.google.inject.Guice.createInjector;
8
7
import org.apache.log4j.Logger;
9
import org.apache.log4j.Logger;
8
10
9
import org.eclipse.ui.plugin.AbstractUIPlugin;
11
import org.eclipse.ui.plugin.AbstractUIPlugin;
10
import org.osgi.framework.BundleContext;
12
import org.osgi.framework.BundleContext;
11
13
12
import com.google.inject.Guice;
13
import com.google.inject.Injector;
14
import com.google.inject.Injector;
14
import com.google.inject.Module;
15
import com.google.inject.Module;
15
import com.google.inject.util.Modules;
16
16
17
import java.util.Map;
17
import java.util.Map;
18
import java.util.HashMap;
18
import java.util.HashMap;
19
19
20
/**
20
/**
21
 * Generated
21
 * This class was generated. Customizations should only happen in a newly
22
 * introduced subclass. 
22
 */
23
 */
23
public class UmlPropertyActivator extends AbstractUIPlugin {
24
public class UmlPropertyActivator extends AbstractUIPlugin {
24
25
Lines 34-43 Link Here
34
		super.start(context);
35
		super.start(context);
35
		INSTANCE = this;
36
		INSTANCE = this;
36
		try {
37
		try {
37
			
38
			registerInjectorFor("org.eclipse.papyrus.property.editor.xtext.UmlProperty");
38
			injectors.put("org.eclipse.papyrus.property.editor.xtext.UmlProperty", Guice.createInjector(
39
				Modules.override(Modules.override(getRuntimeModule("org.eclipse.papyrus.property.editor.xtext.UmlProperty")).with(getUiModule("org.eclipse.papyrus.property.editor.xtext.UmlProperty"))).with(getSharedStateModule())
40
			));
41
			
39
			
42
		} catch (Exception e) {
40
		} catch (Exception e) {
43
			Logger.getLogger(getClass()).error(e.getMessage(), e);
41
			Logger.getLogger(getClass()).error(e.getMessage(), e);
Lines 45-64 Link Here
45
		}
43
		}
46
	}
44
	}
47
	
45
	
46
	protected void registerInjectorFor(String language) throws Exception {
47
		injectors.put(language, createInjector(
48
		  override(override(getRuntimeModule(language)).with(getSharedStateModule())).with(getUiModule(language))));
49
	}
50
	
51
	@Override
52
	public void stop(BundleContext context) throws Exception {
53
		injectors.clear();
54
		INSTANCE = null;
55
		super.stop(context);
56
	}
57
	
48
	public static UmlPropertyActivator getInstance() {
58
	public static UmlPropertyActivator getInstance() {
49
		return INSTANCE;
59
		return INSTANCE;
50
	}
60
	}
51
	
61
	
52
	protected Module getRuntimeModule(String grammar) {
62
	protected Module getRuntimeModule(String grammar) {
53
		
54
		if ("org.eclipse.papyrus.property.editor.xtext.UmlProperty".equals(grammar)) {
63
		if ("org.eclipse.papyrus.property.editor.xtext.UmlProperty".equals(grammar)) {
55
		  return new org.eclipse.papyrus.property.editor.xtext.UmlPropertyRuntimeModule();
64
		  return new org.eclipse.papyrus.property.editor.xtext.UmlPropertyRuntimeModule();
56
		}
65
		}
57
		
66
		
58
		throw new IllegalArgumentException(grammar);
67
		throw new IllegalArgumentException(grammar);
59
	}
68
	}
69
	
60
	protected Module getUiModule(String grammar) {
70
	protected Module getUiModule(String grammar) {
61
		
62
		if ("org.eclipse.papyrus.property.editor.xtext.UmlProperty".equals(grammar)) {
71
		if ("org.eclipse.papyrus.property.editor.xtext.UmlProperty".equals(grammar)) {
63
		  return new org.eclipse.papyrus.property.editor.xtext.ui.UmlPropertyUiModule(this);
72
		  return new org.eclipse.papyrus.property.editor.xtext.ui.UmlPropertyUiModule(this);
64
		}
73
		}
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.tokens (-3 / +24 lines)
Lines 1-11 Link Here
1
RULE_ID=4
1
RULE_ID=4
2
RULE_STRING=6
3
RULE_UNLIMITEDLITERAL=5
2
RULE_UNLIMITEDLITERAL=5
3
T__29=29
4
T__28=28
5
T__27=27
6
T__26=26
7
T__25=25
8
T__24=24
9
T__23=23
10
T__22=22
4
RULE_ANY_OTHER=11
11
RULE_ANY_OTHER=11
5
RULE_INT=7
12
T__21=21
6
RULE_WS=10
13
T__20=20
7
RULE_SL_COMMENT=9
14
RULE_SL_COMMENT=9
8
RULE_ML_COMMENT=8
15
RULE_ML_COMMENT=8
16
T__30=30
17
T__19=19
18
T__31=31
19
RULE_STRING=6
20
T__32=32
21
T__16=16
22
T__15=15
23
T__18=18
24
T__17=17
25
T__12=12
26
T__14=14
27
T__13=13
28
RULE_INT=7
29
RULE_WS=10
9
'..'=25
30
'..'=25
10
'ordered'=19
31
'ordered'=19
11
'}'=27
32
'}'=27
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlPropertyParser.java (-348 / +491 lines)
Lines 26-46 Link Here
26
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_UNLIMITEDLITERAL", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'<Undefined>'", "'+'", "'-'", "'#'", "'~'", "'readOnly'", "'union'", "'ordered'", "'unique'", "':'", "'::'", "'['", "']'", "'..'", "'{'", "'}'", "','", "'redefines'", "'subsets'", "'='", "'/'"
26
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_UNLIMITEDLITERAL", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'<Undefined>'", "'+'", "'-'", "'#'", "'~'", "'readOnly'", "'union'", "'ordered'", "'unique'", "':'", "'::'", "'['", "']'", "'..'", "'{'", "'}'", "','", "'redefines'", "'subsets'", "'='", "'/'"
27
    };
27
    };
28
    public static final int RULE_ID=4;
28
    public static final int RULE_ID=4;
29
    public static final int RULE_STRING=6;
30
    public static final int RULE_UNLIMITEDLITERAL=5;
29
    public static final int RULE_UNLIMITEDLITERAL=5;
30
    public static final int T__29=29;
31
    public static final int T__28=28;
32
    public static final int T__27=27;
33
    public static final int T__26=26;
34
    public static final int T__25=25;
35
    public static final int T__24=24;
36
    public static final int T__23=23;
37
    public static final int T__22=22;
31
    public static final int RULE_ANY_OTHER=11;
38
    public static final int RULE_ANY_OTHER=11;
32
    public static final int RULE_INT=7;
39
    public static final int T__21=21;
33
    public static final int RULE_WS=10;
40
    public static final int T__20=20;
34
    public static final int RULE_SL_COMMENT=9;
41
    public static final int RULE_SL_COMMENT=9;
35
    public static final int EOF=-1;
42
    public static final int EOF=-1;
36
    public static final int RULE_ML_COMMENT=8;
43
    public static final int RULE_ML_COMMENT=8;
44
    public static final int T__30=30;
45
    public static final int T__19=19;
46
    public static final int T__31=31;
47
    public static final int RULE_STRING=6;
48
    public static final int T__32=32;
49
    public static final int T__16=16;
50
    public static final int T__15=15;
51
    public static final int T__18=18;
52
    public static final int T__17=17;
53
    public static final int T__12=12;
54
    public static final int T__14=14;
55
    public static final int T__13=13;
56
    public static final int RULE_INT=7;
57
    public static final int RULE_WS=10;
58
59
    // delegates
60
    // delegators
61
37
62
38
        public InternalUmlPropertyParser(TokenStream input) {
63
        public InternalUmlPropertyParser(TokenStream input) {
39
            super(input);
64
            this(input, new RecognizerSharedState());
65
        }
66
        public InternalUmlPropertyParser(TokenStream input, RecognizerSharedState state) {
67
            super(input, state);
68
             
40
        }
69
        }
41
        
70
        
42
71
43
    public String[] getTokenNames() { return tokenNames; }
72
    public String[] getTokenNames() { return InternalUmlPropertyParser.tokenNames; }
44
    public String getGrammarFileName() { return "../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g"; }
73
    public String getGrammarFileName() { return "../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g"; }
45
74
46
75
Lines 64-70 Link Here
64
93
65
94
66
95
67
    // $ANTLR start entryRulePropertyRule
96
    // $ANTLR start "entryRulePropertyRule"
68
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:61:1: entryRulePropertyRule : rulePropertyRule EOF ;
97
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:61:1: entryRulePropertyRule : rulePropertyRule EOF ;
69
    public final void entryRulePropertyRule() throws RecognitionException {
98
    public final void entryRulePropertyRule() throws RecognitionException {
70
        try {
99
        try {
Lines 74-80 Link Here
74
             before(grammarAccess.getPropertyRuleRule()); 
103
             before(grammarAccess.getPropertyRuleRule()); 
75
            pushFollow(FOLLOW_rulePropertyRule_in_entryRulePropertyRule61);
104
            pushFollow(FOLLOW_rulePropertyRule_in_entryRulePropertyRule61);
76
            rulePropertyRule();
105
            rulePropertyRule();
77
            _fsp--;
106
107
            state._fsp--;
78
108
79
             after(grammarAccess.getPropertyRuleRule()); 
109
             after(grammarAccess.getPropertyRuleRule()); 
80
            match(input,EOF,FOLLOW_EOF_in_entryRulePropertyRule68); 
110
            match(input,EOF,FOLLOW_EOF_in_entryRulePropertyRule68); 
Lines 90-99 Link Here
90
        }
120
        }
91
        return ;
121
        return ;
92
    }
122
    }
93
    // $ANTLR end entryRulePropertyRule
123
    // $ANTLR end "entryRulePropertyRule"
94
124
95
125
96
    // $ANTLR start rulePropertyRule
126
    // $ANTLR start "rulePropertyRule"
97
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:70:1: rulePropertyRule : ( ( rule__PropertyRule__Group__0 ) ) ;
127
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:70:1: rulePropertyRule : ( ( rule__PropertyRule__Group__0 ) ) ;
98
    public final void rulePropertyRule() throws RecognitionException {
128
    public final void rulePropertyRule() throws RecognitionException {
99
129
Lines 112-118 Link Here
112
            {
142
            {
113
            pushFollow(FOLLOW_rule__PropertyRule__Group__0_in_rulePropertyRule94);
143
            pushFollow(FOLLOW_rule__PropertyRule__Group__0_in_rulePropertyRule94);
114
            rule__PropertyRule__Group__0();
144
            rule__PropertyRule__Group__0();
115
            _fsp--;
145
146
            state._fsp--;
116
147
117
148
118
            }
149
            }
Lines 136-145 Link Here
136
        }
167
        }
137
        return ;
168
        return ;
138
    }
169
    }
139
    // $ANTLR end rulePropertyRule
170
    // $ANTLR end "rulePropertyRule"
140
171
141
172
142
    // $ANTLR start entryRuleTypeRule
173
    // $ANTLR start "entryRuleTypeRule"
143
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:89:1: entryRuleTypeRule : ruleTypeRule EOF ;
174
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:89:1: entryRuleTypeRule : ruleTypeRule EOF ;
144
    public final void entryRuleTypeRule() throws RecognitionException {
175
    public final void entryRuleTypeRule() throws RecognitionException {
145
        try {
176
        try {
Lines 149-155 Link Here
149
             before(grammarAccess.getTypeRuleRule()); 
180
             before(grammarAccess.getTypeRuleRule()); 
150
            pushFollow(FOLLOW_ruleTypeRule_in_entryRuleTypeRule121);
181
            pushFollow(FOLLOW_ruleTypeRule_in_entryRuleTypeRule121);
151
            ruleTypeRule();
182
            ruleTypeRule();
152
            _fsp--;
183
184
            state._fsp--;
153
185
154
             after(grammarAccess.getTypeRuleRule()); 
186
             after(grammarAccess.getTypeRuleRule()); 
155
            match(input,EOF,FOLLOW_EOF_in_entryRuleTypeRule128); 
187
            match(input,EOF,FOLLOW_EOF_in_entryRuleTypeRule128); 
Lines 165-174 Link Here
165
        }
197
        }
166
        return ;
198
        return ;
167
    }
199
    }
168
    // $ANTLR end entryRuleTypeRule
200
    // $ANTLR end "entryRuleTypeRule"
169
201
170
202
171
    // $ANTLR start ruleTypeRule
203
    // $ANTLR start "ruleTypeRule"
172
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:98:1: ruleTypeRule : ( ( rule__TypeRule__Group__0 ) ) ;
204
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:98:1: ruleTypeRule : ( ( rule__TypeRule__Group__0 ) ) ;
173
    public final void ruleTypeRule() throws RecognitionException {
205
    public final void ruleTypeRule() throws RecognitionException {
174
206
Lines 187-193 Link Here
187
            {
219
            {
188
            pushFollow(FOLLOW_rule__TypeRule__Group__0_in_ruleTypeRule154);
220
            pushFollow(FOLLOW_rule__TypeRule__Group__0_in_ruleTypeRule154);
189
            rule__TypeRule__Group__0();
221
            rule__TypeRule__Group__0();
190
            _fsp--;
222
223
            state._fsp--;
191
224
192
225
193
            }
226
            }
Lines 211-220 Link Here
211
        }
244
        }
212
        return ;
245
        return ;
213
    }
246
    }
214
    // $ANTLR end ruleTypeRule
247
    // $ANTLR end "ruleTypeRule"
215
248
216
249
217
    // $ANTLR start entryRuleQualifiedName
250
    // $ANTLR start "entryRuleQualifiedName"
218
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:117:1: entryRuleQualifiedName : ruleQualifiedName EOF ;
251
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:117:1: entryRuleQualifiedName : ruleQualifiedName EOF ;
219
    public final void entryRuleQualifiedName() throws RecognitionException {
252
    public final void entryRuleQualifiedName() throws RecognitionException {
220
        try {
253
        try {
Lines 224-230 Link Here
224
             before(grammarAccess.getQualifiedNameRule()); 
257
             before(grammarAccess.getQualifiedNameRule()); 
225
            pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName181);
258
            pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName181);
226
            ruleQualifiedName();
259
            ruleQualifiedName();
227
            _fsp--;
260
261
            state._fsp--;
228
262
229
             after(grammarAccess.getQualifiedNameRule()); 
263
             after(grammarAccess.getQualifiedNameRule()); 
230
            match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName188); 
264
            match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName188); 
Lines 240-249 Link Here
240
        }
274
        }
241
        return ;
275
        return ;
242
    }
276
    }
243
    // $ANTLR end entryRuleQualifiedName
277
    // $ANTLR end "entryRuleQualifiedName"
244
278
245
279
246
    // $ANTLR start ruleQualifiedName
280
    // $ANTLR start "ruleQualifiedName"
247
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:126:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ;
281
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:126:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ;
248
    public final void ruleQualifiedName() throws RecognitionException {
282
    public final void ruleQualifiedName() throws RecognitionException {
249
283
Lines 262-268 Link Here
262
            {
296
            {
263
            pushFollow(FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName214);
297
            pushFollow(FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName214);
264
            rule__QualifiedName__Group__0();
298
            rule__QualifiedName__Group__0();
265
            _fsp--;
299
300
            state._fsp--;
266
301
267
302
268
            }
303
            }
Lines 286-295 Link Here
286
        }
321
        }
287
        return ;
322
        return ;
288
    }
323
    }
289
    // $ANTLR end ruleQualifiedName
324
    // $ANTLR end "ruleQualifiedName"
290
325
291
326
292
    // $ANTLR start entryRuleMultiplicityRule
327
    // $ANTLR start "entryRuleMultiplicityRule"
293
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:145:1: entryRuleMultiplicityRule : ruleMultiplicityRule EOF ;
328
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:145:1: entryRuleMultiplicityRule : ruleMultiplicityRule EOF ;
294
    public final void entryRuleMultiplicityRule() throws RecognitionException {
329
    public final void entryRuleMultiplicityRule() throws RecognitionException {
295
        try {
330
        try {
Lines 299-305 Link Here
299
             before(grammarAccess.getMultiplicityRuleRule()); 
334
             before(grammarAccess.getMultiplicityRuleRule()); 
300
            pushFollow(FOLLOW_ruleMultiplicityRule_in_entryRuleMultiplicityRule241);
335
            pushFollow(FOLLOW_ruleMultiplicityRule_in_entryRuleMultiplicityRule241);
301
            ruleMultiplicityRule();
336
            ruleMultiplicityRule();
302
            _fsp--;
337
338
            state._fsp--;
303
339
304
             after(grammarAccess.getMultiplicityRuleRule()); 
340
             after(grammarAccess.getMultiplicityRuleRule()); 
305
            match(input,EOF,FOLLOW_EOF_in_entryRuleMultiplicityRule248); 
341
            match(input,EOF,FOLLOW_EOF_in_entryRuleMultiplicityRule248); 
Lines 315-324 Link Here
315
        }
351
        }
316
        return ;
352
        return ;
317
    }
353
    }
318
    // $ANTLR end entryRuleMultiplicityRule
354
    // $ANTLR end "entryRuleMultiplicityRule"
319
355
320
356
321
    // $ANTLR start ruleMultiplicityRule
357
    // $ANTLR start "ruleMultiplicityRule"
322
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:154:1: ruleMultiplicityRule : ( ( rule__MultiplicityRule__Group__0 ) ) ;
358
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:154:1: ruleMultiplicityRule : ( ( rule__MultiplicityRule__Group__0 ) ) ;
323
    public final void ruleMultiplicityRule() throws RecognitionException {
359
    public final void ruleMultiplicityRule() throws RecognitionException {
324
360
Lines 337-344 Link Here
337
            {
373
            {
338
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__0_in_ruleMultiplicityRule274);
374
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__0_in_ruleMultiplicityRule274);
339
            rule__MultiplicityRule__Group__0();
375
            rule__MultiplicityRule__Group__0();
340
            _fsp--;
341
376
377
            state._fsp--;
378
342
379
343
            }
380
            }
344
381
Lines 361-370 Link Here
361
        }
398
        }
362
        return ;
399
        return ;
363
    }
400
    }
364
    // $ANTLR end ruleMultiplicityRule
401
    // $ANTLR end "ruleMultiplicityRule"
365
402
366
403
367
    // $ANTLR start entryRuleBoundSpecification
404
    // $ANTLR start "entryRuleBoundSpecification"
368
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:173:1: entryRuleBoundSpecification : ruleBoundSpecification EOF ;
405
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:173:1: entryRuleBoundSpecification : ruleBoundSpecification EOF ;
369
    public final void entryRuleBoundSpecification() throws RecognitionException {
406
    public final void entryRuleBoundSpecification() throws RecognitionException {
370
        try {
407
        try {
Lines 374-380 Link Here
374
             before(grammarAccess.getBoundSpecificationRule()); 
411
             before(grammarAccess.getBoundSpecificationRule()); 
375
            pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification301);
412
            pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification301);
376
            ruleBoundSpecification();
413
            ruleBoundSpecification();
377
            _fsp--;
414
415
            state._fsp--;
378
416
379
             after(grammarAccess.getBoundSpecificationRule()); 
417
             after(grammarAccess.getBoundSpecificationRule()); 
380
            match(input,EOF,FOLLOW_EOF_in_entryRuleBoundSpecification308); 
418
            match(input,EOF,FOLLOW_EOF_in_entryRuleBoundSpecification308); 
Lines 390-399 Link Here
390
        }
428
        }
391
        return ;
429
        return ;
392
    }
430
    }
393
    // $ANTLR end entryRuleBoundSpecification
431
    // $ANTLR end "entryRuleBoundSpecification"
394
432
395
433
396
    // $ANTLR start ruleBoundSpecification
434
    // $ANTLR start "ruleBoundSpecification"
397
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:182:1: ruleBoundSpecification : ( ( rule__BoundSpecification__ValueAssignment ) ) ;
435
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:182:1: ruleBoundSpecification : ( ( rule__BoundSpecification__ValueAssignment ) ) ;
398
    public final void ruleBoundSpecification() throws RecognitionException {
436
    public final void ruleBoundSpecification() throws RecognitionException {
399
437
Lines 412-418 Link Here
412
            {
450
            {
413
            pushFollow(FOLLOW_rule__BoundSpecification__ValueAssignment_in_ruleBoundSpecification334);
451
            pushFollow(FOLLOW_rule__BoundSpecification__ValueAssignment_in_ruleBoundSpecification334);
414
            rule__BoundSpecification__ValueAssignment();
452
            rule__BoundSpecification__ValueAssignment();
415
            _fsp--;
453
454
            state._fsp--;
416
455
417
456
418
            }
457
            }
Lines 436-445 Link Here
436
        }
475
        }
437
        return ;
476
        return ;
438
    }
477
    }
439
    // $ANTLR end ruleBoundSpecification
478
    // $ANTLR end "ruleBoundSpecification"
440
479
441
480
442
    // $ANTLR start entryRuleModifiersRule
481
    // $ANTLR start "entryRuleModifiersRule"
443
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:201:1: entryRuleModifiersRule : ruleModifiersRule EOF ;
482
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:201:1: entryRuleModifiersRule : ruleModifiersRule EOF ;
444
    public final void entryRuleModifiersRule() throws RecognitionException {
483
    public final void entryRuleModifiersRule() throws RecognitionException {
445
        try {
484
        try {
Lines 449-455 Link Here
449
             before(grammarAccess.getModifiersRuleRule()); 
488
             before(grammarAccess.getModifiersRuleRule()); 
450
            pushFollow(FOLLOW_ruleModifiersRule_in_entryRuleModifiersRule361);
489
            pushFollow(FOLLOW_ruleModifiersRule_in_entryRuleModifiersRule361);
451
            ruleModifiersRule();
490
            ruleModifiersRule();
452
            _fsp--;
491
492
            state._fsp--;
453
493
454
             after(grammarAccess.getModifiersRuleRule()); 
494
             after(grammarAccess.getModifiersRuleRule()); 
455
            match(input,EOF,FOLLOW_EOF_in_entryRuleModifiersRule368); 
495
            match(input,EOF,FOLLOW_EOF_in_entryRuleModifiersRule368); 
Lines 465-474 Link Here
465
        }
505
        }
466
        return ;
506
        return ;
467
    }
507
    }
468
    // $ANTLR end entryRuleModifiersRule
508
    // $ANTLR end "entryRuleModifiersRule"
469
509
470
510
471
    // $ANTLR start ruleModifiersRule
511
    // $ANTLR start "ruleModifiersRule"
472
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:210:1: ruleModifiersRule : ( ( rule__ModifiersRule__Group__0 ) ) ;
512
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:210:1: ruleModifiersRule : ( ( rule__ModifiersRule__Group__0 ) ) ;
473
    public final void ruleModifiersRule() throws RecognitionException {
513
    public final void ruleModifiersRule() throws RecognitionException {
474
514
Lines 487-493 Link Here
487
            {
527
            {
488
            pushFollow(FOLLOW_rule__ModifiersRule__Group__0_in_ruleModifiersRule394);
528
            pushFollow(FOLLOW_rule__ModifiersRule__Group__0_in_ruleModifiersRule394);
489
            rule__ModifiersRule__Group__0();
529
            rule__ModifiersRule__Group__0();
490
            _fsp--;
530
531
            state._fsp--;
491
532
492
533
493
            }
534
            }
Lines 511-520 Link Here
511
        }
552
        }
512
        return ;
553
        return ;
513
    }
554
    }
514
    // $ANTLR end ruleModifiersRule
555
    // $ANTLR end "ruleModifiersRule"
515
556
516
557
517
    // $ANTLR start entryRuleModifierSpecification
558
    // $ANTLR start "entryRuleModifierSpecification"
518
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:229:1: entryRuleModifierSpecification : ruleModifierSpecification EOF ;
559
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:229:1: entryRuleModifierSpecification : ruleModifierSpecification EOF ;
519
    public final void entryRuleModifierSpecification() throws RecognitionException {
560
    public final void entryRuleModifierSpecification() throws RecognitionException {
520
        try {
561
        try {
Lines 524-530 Link Here
524
             before(grammarAccess.getModifierSpecificationRule()); 
565
             before(grammarAccess.getModifierSpecificationRule()); 
525
            pushFollow(FOLLOW_ruleModifierSpecification_in_entryRuleModifierSpecification421);
566
            pushFollow(FOLLOW_ruleModifierSpecification_in_entryRuleModifierSpecification421);
526
            ruleModifierSpecification();
567
            ruleModifierSpecification();
527
            _fsp--;
568
569
            state._fsp--;
528
570
529
             after(grammarAccess.getModifierSpecificationRule()); 
571
             after(grammarAccess.getModifierSpecificationRule()); 
530
            match(input,EOF,FOLLOW_EOF_in_entryRuleModifierSpecification428); 
572
            match(input,EOF,FOLLOW_EOF_in_entryRuleModifierSpecification428); 
Lines 540-549 Link Here
540
        }
582
        }
541
        return ;
583
        return ;
542
    }
584
    }
543
    // $ANTLR end entryRuleModifierSpecification
585
    // $ANTLR end "entryRuleModifierSpecification"
544
586
545
587
546
    // $ANTLR start ruleModifierSpecification
588
    // $ANTLR start "ruleModifierSpecification"
547
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:238:1: ruleModifierSpecification : ( ( rule__ModifierSpecification__Alternatives ) ) ;
589
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:238:1: ruleModifierSpecification : ( ( rule__ModifierSpecification__Alternatives ) ) ;
548
    public final void ruleModifierSpecification() throws RecognitionException {
590
    public final void ruleModifierSpecification() throws RecognitionException {
549
591
Lines 562-568 Link Here
562
            {
604
            {
563
            pushFollow(FOLLOW_rule__ModifierSpecification__Alternatives_in_ruleModifierSpecification454);
605
            pushFollow(FOLLOW_rule__ModifierSpecification__Alternatives_in_ruleModifierSpecification454);
564
            rule__ModifierSpecification__Alternatives();
606
            rule__ModifierSpecification__Alternatives();
565
            _fsp--;
607
608
            state._fsp--;
566
609
567
610
568
            }
611
            }
Lines 586-595 Link Here
586
        }
629
        }
587
        return ;
630
        return ;
588
    }
631
    }
589
    // $ANTLR end ruleModifierSpecification
632
    // $ANTLR end "ruleModifierSpecification"
590
633
591
634
592
    // $ANTLR start entryRuleRedefinesRule
635
    // $ANTLR start "entryRuleRedefinesRule"
593
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:257:1: entryRuleRedefinesRule : ruleRedefinesRule EOF ;
636
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:257:1: entryRuleRedefinesRule : ruleRedefinesRule EOF ;
594
    public final void entryRuleRedefinesRule() throws RecognitionException {
637
    public final void entryRuleRedefinesRule() throws RecognitionException {
595
        try {
638
        try {
Lines 599-605 Link Here
599
             before(grammarAccess.getRedefinesRuleRule()); 
642
             before(grammarAccess.getRedefinesRuleRule()); 
600
            pushFollow(FOLLOW_ruleRedefinesRule_in_entryRuleRedefinesRule481);
643
            pushFollow(FOLLOW_ruleRedefinesRule_in_entryRuleRedefinesRule481);
601
            ruleRedefinesRule();
644
            ruleRedefinesRule();
602
            _fsp--;
645
646
            state._fsp--;
603
647
604
             after(grammarAccess.getRedefinesRuleRule()); 
648
             after(grammarAccess.getRedefinesRuleRule()); 
605
            match(input,EOF,FOLLOW_EOF_in_entryRuleRedefinesRule488); 
649
            match(input,EOF,FOLLOW_EOF_in_entryRuleRedefinesRule488); 
Lines 615-624 Link Here
615
        }
659
        }
616
        return ;
660
        return ;
617
    }
661
    }
618
    // $ANTLR end entryRuleRedefinesRule
662
    // $ANTLR end "entryRuleRedefinesRule"
619
663
620
664
621
    // $ANTLR start ruleRedefinesRule
665
    // $ANTLR start "ruleRedefinesRule"
622
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:266:1: ruleRedefinesRule : ( ( rule__RedefinesRule__Group__0 ) ) ;
666
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:266:1: ruleRedefinesRule : ( ( rule__RedefinesRule__Group__0 ) ) ;
623
    public final void ruleRedefinesRule() throws RecognitionException {
667
    public final void ruleRedefinesRule() throws RecognitionException {
624
668
Lines 637-644 Link Here
637
            {
681
            {
638
            pushFollow(FOLLOW_rule__RedefinesRule__Group__0_in_ruleRedefinesRule514);
682
            pushFollow(FOLLOW_rule__RedefinesRule__Group__0_in_ruleRedefinesRule514);
639
            rule__RedefinesRule__Group__0();
683
            rule__RedefinesRule__Group__0();
640
            _fsp--;
641
684
685
            state._fsp--;
686
642
687
643
            }
688
            }
644
689
Lines 661-670 Link Here
661
        }
706
        }
662
        return ;
707
        return ;
663
    }
708
    }
664
    // $ANTLR end ruleRedefinesRule
709
    // $ANTLR end "ruleRedefinesRule"
665
710
666
711
667
    // $ANTLR start entryRuleSubsetsRule
712
    // $ANTLR start "entryRuleSubsetsRule"
668
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:285:1: entryRuleSubsetsRule : ruleSubsetsRule EOF ;
713
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:285:1: entryRuleSubsetsRule : ruleSubsetsRule EOF ;
669
    public final void entryRuleSubsetsRule() throws RecognitionException {
714
    public final void entryRuleSubsetsRule() throws RecognitionException {
670
        try {
715
        try {
Lines 674-680 Link Here
674
             before(grammarAccess.getSubsetsRuleRule()); 
719
             before(grammarAccess.getSubsetsRuleRule()); 
675
            pushFollow(FOLLOW_ruleSubsetsRule_in_entryRuleSubsetsRule541);
720
            pushFollow(FOLLOW_ruleSubsetsRule_in_entryRuleSubsetsRule541);
676
            ruleSubsetsRule();
721
            ruleSubsetsRule();
677
            _fsp--;
722
723
            state._fsp--;
678
724
679
             after(grammarAccess.getSubsetsRuleRule()); 
725
             after(grammarAccess.getSubsetsRuleRule()); 
680
            match(input,EOF,FOLLOW_EOF_in_entryRuleSubsetsRule548); 
726
            match(input,EOF,FOLLOW_EOF_in_entryRuleSubsetsRule548); 
Lines 690-699 Link Here
690
        }
736
        }
691
        return ;
737
        return ;
692
    }
738
    }
693
    // $ANTLR end entryRuleSubsetsRule
739
    // $ANTLR end "entryRuleSubsetsRule"
694
740
695
741
696
    // $ANTLR start ruleSubsetsRule
742
    // $ANTLR start "ruleSubsetsRule"
697
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:294:1: ruleSubsetsRule : ( ( rule__SubsetsRule__Group__0 ) ) ;
743
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:294:1: ruleSubsetsRule : ( ( rule__SubsetsRule__Group__0 ) ) ;
698
    public final void ruleSubsetsRule() throws RecognitionException {
744
    public final void ruleSubsetsRule() throws RecognitionException {
699
745
Lines 712-718 Link Here
712
            {
758
            {
713
            pushFollow(FOLLOW_rule__SubsetsRule__Group__0_in_ruleSubsetsRule574);
759
            pushFollow(FOLLOW_rule__SubsetsRule__Group__0_in_ruleSubsetsRule574);
714
            rule__SubsetsRule__Group__0();
760
            rule__SubsetsRule__Group__0();
715
            _fsp--;
761
762
            state._fsp--;
716
763
717
764
718
            }
765
            }
Lines 736-745 Link Here
736
        }
783
        }
737
        return ;
784
        return ;
738
    }
785
    }
739
    // $ANTLR end ruleSubsetsRule
786
    // $ANTLR end "ruleSubsetsRule"
740
787
741
788
742
    // $ANTLR start entryRuleDefaultValueRule
789
    // $ANTLR start "entryRuleDefaultValueRule"
743
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:313:1: entryRuleDefaultValueRule : ruleDefaultValueRule EOF ;
790
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:313:1: entryRuleDefaultValueRule : ruleDefaultValueRule EOF ;
744
    public final void entryRuleDefaultValueRule() throws RecognitionException {
791
    public final void entryRuleDefaultValueRule() throws RecognitionException {
745
        try {
792
        try {
Lines 749-755 Link Here
749
             before(grammarAccess.getDefaultValueRuleRule()); 
796
             before(grammarAccess.getDefaultValueRuleRule()); 
750
            pushFollow(FOLLOW_ruleDefaultValueRule_in_entryRuleDefaultValueRule601);
797
            pushFollow(FOLLOW_ruleDefaultValueRule_in_entryRuleDefaultValueRule601);
751
            ruleDefaultValueRule();
798
            ruleDefaultValueRule();
752
            _fsp--;
799
800
            state._fsp--;
753
801
754
             after(grammarAccess.getDefaultValueRuleRule()); 
802
             after(grammarAccess.getDefaultValueRuleRule()); 
755
            match(input,EOF,FOLLOW_EOF_in_entryRuleDefaultValueRule608); 
803
            match(input,EOF,FOLLOW_EOF_in_entryRuleDefaultValueRule608); 
Lines 765-774 Link Here
765
        }
813
        }
766
        return ;
814
        return ;
767
    }
815
    }
768
    // $ANTLR end entryRuleDefaultValueRule
816
    // $ANTLR end "entryRuleDefaultValueRule"
769
817
770
818
771
    // $ANTLR start ruleDefaultValueRule
819
    // $ANTLR start "ruleDefaultValueRule"
772
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:322:1: ruleDefaultValueRule : ( ( rule__DefaultValueRule__Group__0 ) ) ;
820
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:322:1: ruleDefaultValueRule : ( ( rule__DefaultValueRule__Group__0 ) ) ;
773
    public final void ruleDefaultValueRule() throws RecognitionException {
821
    public final void ruleDefaultValueRule() throws RecognitionException {
774
822
Lines 787-794 Link Here
787
            {
835
            {
788
            pushFollow(FOLLOW_rule__DefaultValueRule__Group__0_in_ruleDefaultValueRule634);
836
            pushFollow(FOLLOW_rule__DefaultValueRule__Group__0_in_ruleDefaultValueRule634);
789
            rule__DefaultValueRule__Group__0();
837
            rule__DefaultValueRule__Group__0();
790
            _fsp--;
791
838
839
            state._fsp--;
840
792
841
793
            }
842
            }
794
843
Lines 811-820 Link Here
811
        }
860
        }
812
        return ;
861
        return ;
813
    }
862
    }
814
    // $ANTLR end ruleDefaultValueRule
863
    // $ANTLR end "ruleDefaultValueRule"
815
864
816
865
817
    // $ANTLR start ruleVisibilityKind
866
    // $ANTLR start "ruleVisibilityKind"
818
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:342:1: ruleVisibilityKind : ( ( rule__VisibilityKind__Alternatives ) ) ;
867
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:342:1: ruleVisibilityKind : ( ( rule__VisibilityKind__Alternatives ) ) ;
819
    public final void ruleVisibilityKind() throws RecognitionException {
868
    public final void ruleVisibilityKind() throws RecognitionException {
820
869
Lines 833-840 Link Here
833
            {
882
            {
834
            pushFollow(FOLLOW_rule__VisibilityKind__Alternatives_in_ruleVisibilityKind671);
883
            pushFollow(FOLLOW_rule__VisibilityKind__Alternatives_in_ruleVisibilityKind671);
835
            rule__VisibilityKind__Alternatives();
884
            rule__VisibilityKind__Alternatives();
836
            _fsp--;
837
885
886
            state._fsp--;
887
838
888
839
            }
889
            }
840
890
Lines 857-866 Link Here
857
        }
907
        }
858
        return ;
908
        return ;
859
    }
909
    }
860
    // $ANTLR end ruleVisibilityKind
910
    // $ANTLR end "ruleVisibilityKind"
861
911
862
912
863
    // $ANTLR start ruleModifierKind
913
    // $ANTLR start "ruleModifierKind"
864
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:361:1: ruleModifierKind : ( ( rule__ModifierKind__Alternatives ) ) ;
914
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:361:1: ruleModifierKind : ( ( rule__ModifierKind__Alternatives ) ) ;
865
    public final void ruleModifierKind() throws RecognitionException {
915
    public final void ruleModifierKind() throws RecognitionException {
866
916
Lines 879-886 Link Here
879
            {
929
            {
880
            pushFollow(FOLLOW_rule__ModifierKind__Alternatives_in_ruleModifierKind707);
930
            pushFollow(FOLLOW_rule__ModifierKind__Alternatives_in_ruleModifierKind707);
881
            rule__ModifierKind__Alternatives();
931
            rule__ModifierKind__Alternatives();
882
            _fsp--;
883
932
933
            state._fsp--;
934
884
935
885
            }
936
            }
886
937
Lines 903-912 Link Here
903
        }
954
        }
904
        return ;
955
        return ;
905
    }
956
    }
906
    // $ANTLR end ruleModifierKind
957
    // $ANTLR end "ruleModifierKind"
907
958
908
959
909
    // $ANTLR start rule__PropertyRule__Alternatives_4
960
    // $ANTLR start "rule__PropertyRule__Alternatives_4"
910
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:379:1: rule__PropertyRule__Alternatives_4 : ( ( ( rule__PropertyRule__TypeAssignment_4_0 ) ) | ( '<Undefined>' ) );
961
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:379:1: rule__PropertyRule__Alternatives_4 : ( ( ( rule__PropertyRule__TypeAssignment_4_0 ) ) | ( '<Undefined>' ) );
911
    public final void rule__PropertyRule__Alternatives_4() throws RecognitionException {
962
    public final void rule__PropertyRule__Alternatives_4() throws RecognitionException {
912
963
Lines 925-931 Link Here
925
            }
976
            }
926
            else {
977
            else {
927
                NoViableAltException nvae =
978
                NoViableAltException nvae =
928
                    new NoViableAltException("379:1: rule__PropertyRule__Alternatives_4 : ( ( ( rule__PropertyRule__TypeAssignment_4_0 ) ) | ( '<Undefined>' ) );", 1, 0, input);
979
                    new NoViableAltException("", 1, 0, input);
929
980
930
                throw nvae;
981
                throw nvae;
931
            }
982
            }
Lines 942-949 Link Here
942
                    {
993
                    {
943
                    pushFollow(FOLLOW_rule__PropertyRule__TypeAssignment_4_0_in_rule__PropertyRule__Alternatives_4742);
994
                    pushFollow(FOLLOW_rule__PropertyRule__TypeAssignment_4_0_in_rule__PropertyRule__Alternatives_4742);
944
                    rule__PropertyRule__TypeAssignment_4_0();
995
                    rule__PropertyRule__TypeAssignment_4_0();
945
                    _fsp--;
946
996
997
                    state._fsp--;
998
947
999
948
                    }
1000
                    }
949
1001
Lines 983-992 Link Here
983
        }
1035
        }
984
        return ;
1036
        return ;
985
    }
1037
    }
986
    // $ANTLR end rule__PropertyRule__Alternatives_4
1038
    // $ANTLR end "rule__PropertyRule__Alternatives_4"
987
1039
988
1040
989
    // $ANTLR start rule__ModifierSpecification__Alternatives
1041
    // $ANTLR start "rule__ModifierSpecification__Alternatives"
990
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:403:1: rule__ModifierSpecification__Alternatives : ( ( ( rule__ModifierSpecification__ValueAssignment_0 ) ) | ( ( rule__ModifierSpecification__RedefinesAssignment_1 ) ) | ( ( rule__ModifierSpecification__SubsetsAssignment_2 ) ) );
1042
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:403:1: rule__ModifierSpecification__Alternatives : ( ( ( rule__ModifierSpecification__ValueAssignment_0 ) ) | ( ( rule__ModifierSpecification__RedefinesAssignment_1 ) ) | ( ( rule__ModifierSpecification__SubsetsAssignment_2 ) ) );
991
    public final void rule__ModifierSpecification__Alternatives() throws RecognitionException {
1043
    public final void rule__ModifierSpecification__Alternatives() throws RecognitionException {
992
1044
Lines 1016-1022 Link Here
1016
                break;
1068
                break;
1017
            default:
1069
            default:
1018
                NoViableAltException nvae =
1070
                NoViableAltException nvae =
1019
                    new NoViableAltException("403:1: rule__ModifierSpecification__Alternatives : ( ( ( rule__ModifierSpecification__ValueAssignment_0 ) ) | ( ( rule__ModifierSpecification__RedefinesAssignment_1 ) ) | ( ( rule__ModifierSpecification__SubsetsAssignment_2 ) ) );", 2, 0, input);
1071
                    new NoViableAltException("", 2, 0, input);
1020
1072
1021
                throw nvae;
1073
                throw nvae;
1022
            }
1074
            }
Lines 1034-1040 Link Here
1034
                    {
1086
                    {
1035
                    pushFollow(FOLLOW_rule__ModifierSpecification__ValueAssignment_0_in_rule__ModifierSpecification__Alternatives795);
1087
                    pushFollow(FOLLOW_rule__ModifierSpecification__ValueAssignment_0_in_rule__ModifierSpecification__Alternatives795);
1036
                    rule__ModifierSpecification__ValueAssignment_0();
1088
                    rule__ModifierSpecification__ValueAssignment_0();
1037
                    _fsp--;
1089
1090
                    state._fsp--;
1038
1091
1039
1092
1040
                    }
1093
                    }
Lines 1058-1064 Link Here
1058
                    {
1111
                    {
1059
                    pushFollow(FOLLOW_rule__ModifierSpecification__RedefinesAssignment_1_in_rule__ModifierSpecification__Alternatives813);
1112
                    pushFollow(FOLLOW_rule__ModifierSpecification__RedefinesAssignment_1_in_rule__ModifierSpecification__Alternatives813);
1060
                    rule__ModifierSpecification__RedefinesAssignment_1();
1113
                    rule__ModifierSpecification__RedefinesAssignment_1();
1061
                    _fsp--;
1114
1115
                    state._fsp--;
1062
1116
1063
1117
1064
                    }
1118
                    }
Lines 1082-1088 Link Here
1082
                    {
1136
                    {
1083
                    pushFollow(FOLLOW_rule__ModifierSpecification__SubsetsAssignment_2_in_rule__ModifierSpecification__Alternatives831);
1137
                    pushFollow(FOLLOW_rule__ModifierSpecification__SubsetsAssignment_2_in_rule__ModifierSpecification__Alternatives831);
1084
                    rule__ModifierSpecification__SubsetsAssignment_2();
1138
                    rule__ModifierSpecification__SubsetsAssignment_2();
1085
                    _fsp--;
1139
1140
                    state._fsp--;
1086
1141
1087
1142
1088
                    }
1143
                    }
Lines 1108-1117 Link Here
1108
        }
1163
        }
1109
        return ;
1164
        return ;
1110
    }
1165
    }
1111
    // $ANTLR end rule__ModifierSpecification__Alternatives
1166
    // $ANTLR end "rule__ModifierSpecification__Alternatives"
1112
1167
1113
1168
1114
    // $ANTLR start rule__VisibilityKind__Alternatives
1169
    // $ANTLR start "rule__VisibilityKind__Alternatives"
1115
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:431:1: rule__VisibilityKind__Alternatives : ( ( ( '+' ) ) | ( ( '-' ) ) | ( ( '#' ) ) | ( ( '~' ) ) );
1170
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:431:1: rule__VisibilityKind__Alternatives : ( ( ( '+' ) ) | ( ( '-' ) ) | ( ( '#' ) ) | ( ( '~' ) ) );
1116
    public final void rule__VisibilityKind__Alternatives() throws RecognitionException {
1171
    public final void rule__VisibilityKind__Alternatives() throws RecognitionException {
1117
1172
Lines 1143-1149 Link Here
1143
                break;
1198
                break;
1144
            default:
1199
            default:
1145
                NoViableAltException nvae =
1200
                NoViableAltException nvae =
1146
                    new NoViableAltException("431:1: rule__VisibilityKind__Alternatives : ( ( ( '+' ) ) | ( ( '-' ) ) | ( ( '#' ) ) | ( ( '~' ) ) );", 3, 0, input);
1201
                    new NoViableAltException("", 3, 0, input);
1147
1202
1148
                throw nvae;
1203
                throw nvae;
1149
            }
1204
            }
Lines 1247-1256 Link Here
1247
        }
1302
        }
1248
        return ;
1303
        return ;
1249
    }
1304
    }
1250
    // $ANTLR end rule__VisibilityKind__Alternatives
1305
    // $ANTLR end "rule__VisibilityKind__Alternatives"
1251
1306
1252
1307
1253
    // $ANTLR start rule__ModifierKind__Alternatives
1308
    // $ANTLR start "rule__ModifierKind__Alternatives"
1254
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:469:1: rule__ModifierKind__Alternatives : ( ( ( 'readOnly' ) ) | ( ( 'union' ) ) | ( ( 'ordered' ) ) | ( ( 'unique' ) ) );
1309
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:469:1: rule__ModifierKind__Alternatives : ( ( ( 'readOnly' ) ) | ( ( 'union' ) ) | ( ( 'ordered' ) ) | ( ( 'unique' ) ) );
1255
    public final void rule__ModifierKind__Alternatives() throws RecognitionException {
1310
    public final void rule__ModifierKind__Alternatives() throws RecognitionException {
1256
1311
Lines 1282-1288 Link Here
1282
                break;
1337
                break;
1283
            default:
1338
            default:
1284
                NoViableAltException nvae =
1339
                NoViableAltException nvae =
1285
                    new NoViableAltException("469:1: rule__ModifierKind__Alternatives : ( ( ( 'readOnly' ) ) | ( ( 'union' ) ) | ( ( 'ordered' ) ) | ( ( 'unique' ) ) );", 4, 0, input);
1340
                    new NoViableAltException("", 4, 0, input);
1286
1341
1287
                throw nvae;
1342
                throw nvae;
1288
            }
1343
            }
Lines 1386-1395 Link Here
1386
        }
1441
        }
1387
        return ;
1442
        return ;
1388
    }
1443
    }
1389
    // $ANTLR end rule__ModifierKind__Alternatives
1444
    // $ANTLR end "rule__ModifierKind__Alternatives"
1390
1445
1391
1446
1392
    // $ANTLR start rule__PropertyRule__Group__0
1447
    // $ANTLR start "rule__PropertyRule__Group__0"
1393
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:509:1: rule__PropertyRule__Group__0 : rule__PropertyRule__Group__0__Impl rule__PropertyRule__Group__1 ;
1448
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:509:1: rule__PropertyRule__Group__0 : rule__PropertyRule__Group__0__Impl rule__PropertyRule__Group__1 ;
1394
    public final void rule__PropertyRule__Group__0() throws RecognitionException {
1449
    public final void rule__PropertyRule__Group__0() throws RecognitionException {
1395
1450
Lines 1401-1411 Link Here
1401
            {
1456
            {
1402
            pushFollow(FOLLOW_rule__PropertyRule__Group__0__Impl_in_rule__PropertyRule__Group__01060);
1457
            pushFollow(FOLLOW_rule__PropertyRule__Group__0__Impl_in_rule__PropertyRule__Group__01060);
1403
            rule__PropertyRule__Group__0__Impl();
1458
            rule__PropertyRule__Group__0__Impl();
1404
            _fsp--;
1459
1460
            state._fsp--;
1405
1461
1406
            pushFollow(FOLLOW_rule__PropertyRule__Group__1_in_rule__PropertyRule__Group__01063);
1462
            pushFollow(FOLLOW_rule__PropertyRule__Group__1_in_rule__PropertyRule__Group__01063);
1407
            rule__PropertyRule__Group__1();
1463
            rule__PropertyRule__Group__1();
1408
            _fsp--;
1464
1465
            state._fsp--;
1409
1466
1410
1467
1411
            }
1468
            }
Lines 1422-1431 Link Here
1422
        }
1479
        }
1423
        return ;
1480
        return ;
1424
    }
1481
    }
1425
    // $ANTLR end rule__PropertyRule__Group__0
1482
    // $ANTLR end "rule__PropertyRule__Group__0"
1426
1483
1427
1484
1428
    // $ANTLR start rule__PropertyRule__Group__0__Impl
1485
    // $ANTLR start "rule__PropertyRule__Group__0__Impl"
1429
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:521:1: rule__PropertyRule__Group__0__Impl : ( ( rule__PropertyRule__VisibilityAssignment_0 ) ) ;
1486
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:521:1: rule__PropertyRule__Group__0__Impl : ( ( rule__PropertyRule__VisibilityAssignment_0 ) ) ;
1430
    public final void rule__PropertyRule__Group__0__Impl() throws RecognitionException {
1487
    public final void rule__PropertyRule__Group__0__Impl() throws RecognitionException {
1431
1488
Lines 1444-1450 Link Here
1444
            {
1501
            {
1445
            pushFollow(FOLLOW_rule__PropertyRule__VisibilityAssignment_0_in_rule__PropertyRule__Group__0__Impl1090);
1502
            pushFollow(FOLLOW_rule__PropertyRule__VisibilityAssignment_0_in_rule__PropertyRule__Group__0__Impl1090);
1446
            rule__PropertyRule__VisibilityAssignment_0();
1503
            rule__PropertyRule__VisibilityAssignment_0();
1447
            _fsp--;
1504
1505
            state._fsp--;
1448
1506
1449
1507
1450
            }
1508
            }
Lines 1468-1477 Link Here
1468
        }
1526
        }
1469
        return ;
1527
        return ;
1470
    }
1528
    }
1471
    // $ANTLR end rule__PropertyRule__Group__0__Impl
1529
    // $ANTLR end "rule__PropertyRule__Group__0__Impl"
1472
1530
1473
1531
1474
    // $ANTLR start rule__PropertyRule__Group__1
1532
    // $ANTLR start "rule__PropertyRule__Group__1"
1475
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:538:1: rule__PropertyRule__Group__1 : rule__PropertyRule__Group__1__Impl rule__PropertyRule__Group__2 ;
1533
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:538:1: rule__PropertyRule__Group__1 : rule__PropertyRule__Group__1__Impl rule__PropertyRule__Group__2 ;
1476
    public final void rule__PropertyRule__Group__1() throws RecognitionException {
1534
    public final void rule__PropertyRule__Group__1() throws RecognitionException {
1477
1535
Lines 1483-1494 Link Here
1483
            {
1541
            {
1484
            pushFollow(FOLLOW_rule__PropertyRule__Group__1__Impl_in_rule__PropertyRule__Group__11120);
1542
            pushFollow(FOLLOW_rule__PropertyRule__Group__1__Impl_in_rule__PropertyRule__Group__11120);
1485
            rule__PropertyRule__Group__1__Impl();
1543
            rule__PropertyRule__Group__1__Impl();
1486
            _fsp--;
1544
1545
            state._fsp--;
1487
1546
1488
            pushFollow(FOLLOW_rule__PropertyRule__Group__2_in_rule__PropertyRule__Group__11123);
1547
            pushFollow(FOLLOW_rule__PropertyRule__Group__2_in_rule__PropertyRule__Group__11123);
1489
            rule__PropertyRule__Group__2();
1548
            rule__PropertyRule__Group__2();
1490
            _fsp--;
1491
1549
1550
            state._fsp--;
1551
1492
1552
1493
            }
1553
            }
1494
1554
Lines 1504-1513 Link Here
1504
        }
1564
        }
1505
        return ;
1565
        return ;
1506
    }
1566
    }
1507
    // $ANTLR end rule__PropertyRule__Group__1
1567
    // $ANTLR end "rule__PropertyRule__Group__1"
1508
1568
1509
1569
1510
    // $ANTLR start rule__PropertyRule__Group__1__Impl
1570
    // $ANTLR start "rule__PropertyRule__Group__1__Impl"
1511
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:550:1: rule__PropertyRule__Group__1__Impl : ( ( rule__PropertyRule__IsDerivedAssignment_1 )? ) ;
1571
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:550:1: rule__PropertyRule__Group__1__Impl : ( ( rule__PropertyRule__IsDerivedAssignment_1 )? ) ;
1512
    public final void rule__PropertyRule__Group__1__Impl() throws RecognitionException {
1572
    public final void rule__PropertyRule__Group__1__Impl() throws RecognitionException {
1513
1573
Lines 1534-1540 Link Here
1534
                    {
1594
                    {
1535
                    pushFollow(FOLLOW_rule__PropertyRule__IsDerivedAssignment_1_in_rule__PropertyRule__Group__1__Impl1150);
1595
                    pushFollow(FOLLOW_rule__PropertyRule__IsDerivedAssignment_1_in_rule__PropertyRule__Group__1__Impl1150);
1536
                    rule__PropertyRule__IsDerivedAssignment_1();
1596
                    rule__PropertyRule__IsDerivedAssignment_1();
1537
                    _fsp--;
1597
1598
                    state._fsp--;
1538
1599
1539
1600
1540
                    }
1601
                    }
Lines 1561-1570 Link Here
1561
        }
1622
        }
1562
        return ;
1623
        return ;
1563
    }
1624
    }
1564
    // $ANTLR end rule__PropertyRule__Group__1__Impl
1625
    // $ANTLR end "rule__PropertyRule__Group__1__Impl"
1565
1626
1566
1627
1567
    // $ANTLR start rule__PropertyRule__Group__2
1628
    // $ANTLR start "rule__PropertyRule__Group__2"
1568
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:567:1: rule__PropertyRule__Group__2 : rule__PropertyRule__Group__2__Impl rule__PropertyRule__Group__3 ;
1629
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:567:1: rule__PropertyRule__Group__2 : rule__PropertyRule__Group__2__Impl rule__PropertyRule__Group__3 ;
1569
    public final void rule__PropertyRule__Group__2() throws RecognitionException {
1630
    public final void rule__PropertyRule__Group__2() throws RecognitionException {
1570
1631
Lines 1576-1587 Link Here
1576
            {
1637
            {
1577
            pushFollow(FOLLOW_rule__PropertyRule__Group__2__Impl_in_rule__PropertyRule__Group__21181);
1638
            pushFollow(FOLLOW_rule__PropertyRule__Group__2__Impl_in_rule__PropertyRule__Group__21181);
1578
            rule__PropertyRule__Group__2__Impl();
1639
            rule__PropertyRule__Group__2__Impl();
1579
            _fsp--;
1640
1641
            state._fsp--;
1580
1642
1581
            pushFollow(FOLLOW_rule__PropertyRule__Group__3_in_rule__PropertyRule__Group__21184);
1643
            pushFollow(FOLLOW_rule__PropertyRule__Group__3_in_rule__PropertyRule__Group__21184);
1582
            rule__PropertyRule__Group__3();
1644
            rule__PropertyRule__Group__3();
1583
            _fsp--;
1584
1645
1646
            state._fsp--;
1647
1585
1648
1586
            }
1649
            }
1587
1650
Lines 1597-1606 Link Here
1597
        }
1660
        }
1598
        return ;
1661
        return ;
1599
    }
1662
    }
1600
    // $ANTLR end rule__PropertyRule__Group__2
1663
    // $ANTLR end "rule__PropertyRule__Group__2"
1601
1664
1602
1665
1603
    // $ANTLR start rule__PropertyRule__Group__2__Impl
1666
    // $ANTLR start "rule__PropertyRule__Group__2__Impl"
1604
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:579:1: rule__PropertyRule__Group__2__Impl : ( ( rule__PropertyRule__NameAssignment_2 ) ) ;
1667
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:579:1: rule__PropertyRule__Group__2__Impl : ( ( rule__PropertyRule__NameAssignment_2 ) ) ;
1605
    public final void rule__PropertyRule__Group__2__Impl() throws RecognitionException {
1668
    public final void rule__PropertyRule__Group__2__Impl() throws RecognitionException {
1606
1669
Lines 1619-1626 Link Here
1619
            {
1682
            {
1620
            pushFollow(FOLLOW_rule__PropertyRule__NameAssignment_2_in_rule__PropertyRule__Group__2__Impl1211);
1683
            pushFollow(FOLLOW_rule__PropertyRule__NameAssignment_2_in_rule__PropertyRule__Group__2__Impl1211);
1621
            rule__PropertyRule__NameAssignment_2();
1684
            rule__PropertyRule__NameAssignment_2();
1622
            _fsp--;
1623
1685
1686
            state._fsp--;
1687
1624
1688
1625
            }
1689
            }
1626
1690
Lines 1643-1652 Link Here
1643
        }
1707
        }
1644
        return ;
1708
        return ;
1645
    }
1709
    }
1646
    // $ANTLR end rule__PropertyRule__Group__2__Impl
1710
    // $ANTLR end "rule__PropertyRule__Group__2__Impl"
1647
1711
1648
1712
1649
    // $ANTLR start rule__PropertyRule__Group__3
1713
    // $ANTLR start "rule__PropertyRule__Group__3"
1650
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:596:1: rule__PropertyRule__Group__3 : rule__PropertyRule__Group__3__Impl rule__PropertyRule__Group__4 ;
1714
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:596:1: rule__PropertyRule__Group__3 : rule__PropertyRule__Group__3__Impl rule__PropertyRule__Group__4 ;
1651
    public final void rule__PropertyRule__Group__3() throws RecognitionException {
1715
    public final void rule__PropertyRule__Group__3() throws RecognitionException {
1652
1716
Lines 1658-1668 Link Here
1658
            {
1722
            {
1659
            pushFollow(FOLLOW_rule__PropertyRule__Group__3__Impl_in_rule__PropertyRule__Group__31241);
1723
            pushFollow(FOLLOW_rule__PropertyRule__Group__3__Impl_in_rule__PropertyRule__Group__31241);
1660
            rule__PropertyRule__Group__3__Impl();
1724
            rule__PropertyRule__Group__3__Impl();
1661
            _fsp--;
1725
1726
            state._fsp--;
1662
1727
1663
            pushFollow(FOLLOW_rule__PropertyRule__Group__4_in_rule__PropertyRule__Group__31244);
1728
            pushFollow(FOLLOW_rule__PropertyRule__Group__4_in_rule__PropertyRule__Group__31244);
1664
            rule__PropertyRule__Group__4();
1729
            rule__PropertyRule__Group__4();
1665
            _fsp--;
1730
1731
            state._fsp--;
1666
1732
1667
1733
1668
            }
1734
            }
Lines 1679-1688 Link Here
1679
        }
1745
        }
1680
        return ;
1746
        return ;
1681
    }
1747
    }
1682
    // $ANTLR end rule__PropertyRule__Group__3
1748
    // $ANTLR end "rule__PropertyRule__Group__3"
1683
1749
1684
1750
1685
    // $ANTLR start rule__PropertyRule__Group__3__Impl
1751
    // $ANTLR start "rule__PropertyRule__Group__3__Impl"
1686
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:608:1: rule__PropertyRule__Group__3__Impl : ( ':' ) ;
1752
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:608:1: rule__PropertyRule__Group__3__Impl : ( ':' ) ;
1687
    public final void rule__PropertyRule__Group__3__Impl() throws RecognitionException {
1753
    public final void rule__PropertyRule__Group__3__Impl() throws RecognitionException {
1688
1754
Lines 1716-1725 Link Here
1716
        }
1782
        }
1717
        return ;
1783
        return ;
1718
    }
1784
    }
1719
    // $ANTLR end rule__PropertyRule__Group__3__Impl
1785
    // $ANTLR end "rule__PropertyRule__Group__3__Impl"
1720
1786
1721
1787
1722
    // $ANTLR start rule__PropertyRule__Group__4
1788
    // $ANTLR start "rule__PropertyRule__Group__4"
1723
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:627:1: rule__PropertyRule__Group__4 : rule__PropertyRule__Group__4__Impl rule__PropertyRule__Group__5 ;
1789
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:627:1: rule__PropertyRule__Group__4 : rule__PropertyRule__Group__4__Impl rule__PropertyRule__Group__5 ;
1724
    public final void rule__PropertyRule__Group__4() throws RecognitionException {
1790
    public final void rule__PropertyRule__Group__4() throws RecognitionException {
1725
1791
Lines 1731-1741 Link Here
1731
            {
1797
            {
1732
            pushFollow(FOLLOW_rule__PropertyRule__Group__4__Impl_in_rule__PropertyRule__Group__41303);
1798
            pushFollow(FOLLOW_rule__PropertyRule__Group__4__Impl_in_rule__PropertyRule__Group__41303);
1733
            rule__PropertyRule__Group__4__Impl();
1799
            rule__PropertyRule__Group__4__Impl();
1734
            _fsp--;
1800
1801
            state._fsp--;
1735
1802
1736
            pushFollow(FOLLOW_rule__PropertyRule__Group__5_in_rule__PropertyRule__Group__41306);
1803
            pushFollow(FOLLOW_rule__PropertyRule__Group__5_in_rule__PropertyRule__Group__41306);
1737
            rule__PropertyRule__Group__5();
1804
            rule__PropertyRule__Group__5();
1738
            _fsp--;
1805
1806
            state._fsp--;
1739
1807
1740
1808
1741
            }
1809
            }
Lines 1752-1761 Link Here
1752
        }
1820
        }
1753
        return ;
1821
        return ;
1754
    }
1822
    }
1755
    // $ANTLR end rule__PropertyRule__Group__4
1823
    // $ANTLR end "rule__PropertyRule__Group__4"
1756
1824
1757
1825
1758
    // $ANTLR start rule__PropertyRule__Group__4__Impl
1826
    // $ANTLR start "rule__PropertyRule__Group__4__Impl"
1759
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:639:1: rule__PropertyRule__Group__4__Impl : ( ( rule__PropertyRule__Alternatives_4 ) ) ;
1827
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:639:1: rule__PropertyRule__Group__4__Impl : ( ( rule__PropertyRule__Alternatives_4 ) ) ;
1760
    public final void rule__PropertyRule__Group__4__Impl() throws RecognitionException {
1828
    public final void rule__PropertyRule__Group__4__Impl() throws RecognitionException {
1761
1829
Lines 1774-1780 Link Here
1774
            {
1842
            {
1775
            pushFollow(FOLLOW_rule__PropertyRule__Alternatives_4_in_rule__PropertyRule__Group__4__Impl1333);
1843
            pushFollow(FOLLOW_rule__PropertyRule__Alternatives_4_in_rule__PropertyRule__Group__4__Impl1333);
1776
            rule__PropertyRule__Alternatives_4();
1844
            rule__PropertyRule__Alternatives_4();
1777
            _fsp--;
1845
1846
            state._fsp--;
1778
1847
1779
1848
1780
            }
1849
            }
Lines 1798-1807 Link Here
1798
        }
1867
        }
1799
        return ;
1868
        return ;
1800
    }
1869
    }
1801
    // $ANTLR end rule__PropertyRule__Group__4__Impl
1870
    // $ANTLR end "rule__PropertyRule__Group__4__Impl"
1802
1871
1803
1872
1804
    // $ANTLR start rule__PropertyRule__Group__5
1873
    // $ANTLR start "rule__PropertyRule__Group__5"
1805
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:656:1: rule__PropertyRule__Group__5 : rule__PropertyRule__Group__5__Impl rule__PropertyRule__Group__6 ;
1874
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:656:1: rule__PropertyRule__Group__5 : rule__PropertyRule__Group__5__Impl rule__PropertyRule__Group__6 ;
1806
    public final void rule__PropertyRule__Group__5() throws RecognitionException {
1875
    public final void rule__PropertyRule__Group__5() throws RecognitionException {
1807
1876
Lines 1813-1823 Link Here
1813
            {
1882
            {
1814
            pushFollow(FOLLOW_rule__PropertyRule__Group__5__Impl_in_rule__PropertyRule__Group__51363);
1883
            pushFollow(FOLLOW_rule__PropertyRule__Group__5__Impl_in_rule__PropertyRule__Group__51363);
1815
            rule__PropertyRule__Group__5__Impl();
1884
            rule__PropertyRule__Group__5__Impl();
1816
            _fsp--;
1885
1886
            state._fsp--;
1817
1887
1818
            pushFollow(FOLLOW_rule__PropertyRule__Group__6_in_rule__PropertyRule__Group__51366);
1888
            pushFollow(FOLLOW_rule__PropertyRule__Group__6_in_rule__PropertyRule__Group__51366);
1819
            rule__PropertyRule__Group__6();
1889
            rule__PropertyRule__Group__6();
1820
            _fsp--;
1890
1891
            state._fsp--;
1821
1892
1822
1893
1823
            }
1894
            }
Lines 1834-1843 Link Here
1834
        }
1905
        }
1835
        return ;
1906
        return ;
1836
    }
1907
    }
1837
    // $ANTLR end rule__PropertyRule__Group__5
1908
    // $ANTLR end "rule__PropertyRule__Group__5"
1838
1909
1839
1910
1840
    // $ANTLR start rule__PropertyRule__Group__5__Impl
1911
    // $ANTLR start "rule__PropertyRule__Group__5__Impl"
1841
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:668:1: rule__PropertyRule__Group__5__Impl : ( ( rule__PropertyRule__MultiplicityAssignment_5 )? ) ;
1912
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:668:1: rule__PropertyRule__Group__5__Impl : ( ( rule__PropertyRule__MultiplicityAssignment_5 )? ) ;
1842
    public final void rule__PropertyRule__Group__5__Impl() throws RecognitionException {
1913
    public final void rule__PropertyRule__Group__5__Impl() throws RecognitionException {
1843
1914
Lines 1864-1870 Link Here
1864
                    {
1935
                    {
1865
                    pushFollow(FOLLOW_rule__PropertyRule__MultiplicityAssignment_5_in_rule__PropertyRule__Group__5__Impl1393);
1936
                    pushFollow(FOLLOW_rule__PropertyRule__MultiplicityAssignment_5_in_rule__PropertyRule__Group__5__Impl1393);
1866
                    rule__PropertyRule__MultiplicityAssignment_5();
1937
                    rule__PropertyRule__MultiplicityAssignment_5();
1867
                    _fsp--;
1938
1939
                    state._fsp--;
1868
1940
1869
1941
1870
                    }
1942
                    }
Lines 1891-1900 Link Here
1891
        }
1963
        }
1892
        return ;
1964
        return ;
1893
    }
1965
    }
1894
    // $ANTLR end rule__PropertyRule__Group__5__Impl
1966
    // $ANTLR end "rule__PropertyRule__Group__5__Impl"
1895
1967
1896
1968
1897
    // $ANTLR start rule__PropertyRule__Group__6
1969
    // $ANTLR start "rule__PropertyRule__Group__6"
1898
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:685:1: rule__PropertyRule__Group__6 : rule__PropertyRule__Group__6__Impl rule__PropertyRule__Group__7 ;
1970
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:685:1: rule__PropertyRule__Group__6 : rule__PropertyRule__Group__6__Impl rule__PropertyRule__Group__7 ;
1899
    public final void rule__PropertyRule__Group__6() throws RecognitionException {
1971
    public final void rule__PropertyRule__Group__6() throws RecognitionException {
1900
1972
Lines 1906-1917 Link Here
1906
            {
1978
            {
1907
            pushFollow(FOLLOW_rule__PropertyRule__Group__6__Impl_in_rule__PropertyRule__Group__61424);
1979
            pushFollow(FOLLOW_rule__PropertyRule__Group__6__Impl_in_rule__PropertyRule__Group__61424);
1908
            rule__PropertyRule__Group__6__Impl();
1980
            rule__PropertyRule__Group__6__Impl();
1909
            _fsp--;
1981
1982
            state._fsp--;
1910
1983
1911
            pushFollow(FOLLOW_rule__PropertyRule__Group__7_in_rule__PropertyRule__Group__61427);
1984
            pushFollow(FOLLOW_rule__PropertyRule__Group__7_in_rule__PropertyRule__Group__61427);
1912
            rule__PropertyRule__Group__7();
1985
            rule__PropertyRule__Group__7();
1913
            _fsp--;
1914
1986
1987
            state._fsp--;
1988
1915
1989
1916
            }
1990
            }
1917
1991
Lines 1927-1936 Link Here
1927
        }
2001
        }
1928
        return ;
2002
        return ;
1929
    }
2003
    }
1930
    // $ANTLR end rule__PropertyRule__Group__6
2004
    // $ANTLR end "rule__PropertyRule__Group__6"
1931
2005
1932
2006
1933
    // $ANTLR start rule__PropertyRule__Group__6__Impl
2007
    // $ANTLR start "rule__PropertyRule__Group__6__Impl"
1934
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:697:1: rule__PropertyRule__Group__6__Impl : ( ( rule__PropertyRule__ModifiersAssignment_6 )? ) ;
2008
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:697:1: rule__PropertyRule__Group__6__Impl : ( ( rule__PropertyRule__ModifiersAssignment_6 )? ) ;
1935
    public final void rule__PropertyRule__Group__6__Impl() throws RecognitionException {
2009
    public final void rule__PropertyRule__Group__6__Impl() throws RecognitionException {
1936
2010
Lines 1957-1964 Link Here
1957
                    {
2031
                    {
1958
                    pushFollow(FOLLOW_rule__PropertyRule__ModifiersAssignment_6_in_rule__PropertyRule__Group__6__Impl1454);
2032
                    pushFollow(FOLLOW_rule__PropertyRule__ModifiersAssignment_6_in_rule__PropertyRule__Group__6__Impl1454);
1959
                    rule__PropertyRule__ModifiersAssignment_6();
2033
                    rule__PropertyRule__ModifiersAssignment_6();
1960
                    _fsp--;
1961
2034
2035
                    state._fsp--;
2036
1962
2037
1963
                    }
2038
                    }
1964
                    break;
2039
                    break;
Lines 1984-1993 Link Here
1984
        }
2059
        }
1985
        return ;
2060
        return ;
1986
    }
2061
    }
1987
    // $ANTLR end rule__PropertyRule__Group__6__Impl
2062
    // $ANTLR end "rule__PropertyRule__Group__6__Impl"
1988
2063
1989
2064
1990
    // $ANTLR start rule__PropertyRule__Group__7
2065
    // $ANTLR start "rule__PropertyRule__Group__7"
1991
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:714:1: rule__PropertyRule__Group__7 : rule__PropertyRule__Group__7__Impl ;
2066
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:714:1: rule__PropertyRule__Group__7 : rule__PropertyRule__Group__7__Impl ;
1992
    public final void rule__PropertyRule__Group__7() throws RecognitionException {
2067
    public final void rule__PropertyRule__Group__7() throws RecognitionException {
1993
2068
Lines 1999-2005 Link Here
1999
            {
2074
            {
2000
            pushFollow(FOLLOW_rule__PropertyRule__Group__7__Impl_in_rule__PropertyRule__Group__71485);
2075
            pushFollow(FOLLOW_rule__PropertyRule__Group__7__Impl_in_rule__PropertyRule__Group__71485);
2001
            rule__PropertyRule__Group__7__Impl();
2076
            rule__PropertyRule__Group__7__Impl();
2002
            _fsp--;
2077
2078
            state._fsp--;
2003
2079
2004
2080
2005
            }
2081
            }
Lines 2016-2025 Link Here
2016
        }
2092
        }
2017
        return ;
2093
        return ;
2018
    }
2094
    }
2019
    // $ANTLR end rule__PropertyRule__Group__7
2095
    // $ANTLR end "rule__PropertyRule__Group__7"
2020
2096
2021
2097
2022
    // $ANTLR start rule__PropertyRule__Group__7__Impl
2098
    // $ANTLR start "rule__PropertyRule__Group__7__Impl"
2023
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:725:1: rule__PropertyRule__Group__7__Impl : ( ( rule__PropertyRule__DefaultAssignment_7 )? ) ;
2099
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:725:1: rule__PropertyRule__Group__7__Impl : ( ( rule__PropertyRule__DefaultAssignment_7 )? ) ;
2024
    public final void rule__PropertyRule__Group__7__Impl() throws RecognitionException {
2100
    public final void rule__PropertyRule__Group__7__Impl() throws RecognitionException {
2025
2101
Lines 2046-2052 Link Here
2046
                    {
2122
                    {
2047
                    pushFollow(FOLLOW_rule__PropertyRule__DefaultAssignment_7_in_rule__PropertyRule__Group__7__Impl1512);
2123
                    pushFollow(FOLLOW_rule__PropertyRule__DefaultAssignment_7_in_rule__PropertyRule__Group__7__Impl1512);
2048
                    rule__PropertyRule__DefaultAssignment_7();
2124
                    rule__PropertyRule__DefaultAssignment_7();
2049
                    _fsp--;
2125
2126
                    state._fsp--;
2050
2127
2051
2128
2052
                    }
2129
                    }
Lines 2073-2082 Link Here
2073
        }
2150
        }
2074
        return ;
2151
        return ;
2075
    }
2152
    }
2076
    // $ANTLR end rule__PropertyRule__Group__7__Impl
2153
    // $ANTLR end "rule__PropertyRule__Group__7__Impl"
2077
2154
2078
2155
2079
    // $ANTLR start rule__TypeRule__Group__0
2156
    // $ANTLR start "rule__TypeRule__Group__0"
2080
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:758:1: rule__TypeRule__Group__0 : rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1 ;
2157
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:758:1: rule__TypeRule__Group__0 : rule__TypeRule__Group__0__Impl rule__TypeRule__Group__1 ;
2081
    public final void rule__TypeRule__Group__0() throws RecognitionException {
2158
    public final void rule__TypeRule__Group__0() throws RecognitionException {
2082
2159
Lines 2088-2099 Link Here
2088
            {
2165
            {
2089
            pushFollow(FOLLOW_rule__TypeRule__Group__0__Impl_in_rule__TypeRule__Group__01559);
2166
            pushFollow(FOLLOW_rule__TypeRule__Group__0__Impl_in_rule__TypeRule__Group__01559);
2090
            rule__TypeRule__Group__0__Impl();
2167
            rule__TypeRule__Group__0__Impl();
2091
            _fsp--;
2168
2169
            state._fsp--;
2092
2170
2093
            pushFollow(FOLLOW_rule__TypeRule__Group__1_in_rule__TypeRule__Group__01562);
2171
            pushFollow(FOLLOW_rule__TypeRule__Group__1_in_rule__TypeRule__Group__01562);
2094
            rule__TypeRule__Group__1();
2172
            rule__TypeRule__Group__1();
2095
            _fsp--;
2096
2173
2174
            state._fsp--;
2175
2097
2176
2098
            }
2177
            }
2099
2178
Lines 2109-2118 Link Here
2109
        }
2188
        }
2110
        return ;
2189
        return ;
2111
    }
2190
    }
2112
    // $ANTLR end rule__TypeRule__Group__0
2191
    // $ANTLR end "rule__TypeRule__Group__0"
2113
2192
2114
2193
2115
    // $ANTLR start rule__TypeRule__Group__0__Impl
2194
    // $ANTLR start "rule__TypeRule__Group__0__Impl"
2116
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:770:1: rule__TypeRule__Group__0__Impl : ( ( rule__TypeRule__PathAssignment_0 )? ) ;
2195
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:770:1: rule__TypeRule__Group__0__Impl : ( ( rule__TypeRule__PathAssignment_0 )? ) ;
2117
    public final void rule__TypeRule__Group__0__Impl() throws RecognitionException {
2196
    public final void rule__TypeRule__Group__0__Impl() throws RecognitionException {
2118
2197
Lines 2143-2150 Link Here
2143
                    {
2222
                    {
2144
                    pushFollow(FOLLOW_rule__TypeRule__PathAssignment_0_in_rule__TypeRule__Group__0__Impl1589);
2223
                    pushFollow(FOLLOW_rule__TypeRule__PathAssignment_0_in_rule__TypeRule__Group__0__Impl1589);
2145
                    rule__TypeRule__PathAssignment_0();
2224
                    rule__TypeRule__PathAssignment_0();
2146
                    _fsp--;
2147
2225
2226
                    state._fsp--;
2227
2148
2228
2149
                    }
2229
                    }
2150
                    break;
2230
                    break;
Lines 2170-2179 Link Here
2170
        }
2250
        }
2171
        return ;
2251
        return ;
2172
    }
2252
    }
2173
    // $ANTLR end rule__TypeRule__Group__0__Impl
2253
    // $ANTLR end "rule__TypeRule__Group__0__Impl"
2174
2254
2175
2255
2176
    // $ANTLR start rule__TypeRule__Group__1
2256
    // $ANTLR start "rule__TypeRule__Group__1"
2177
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:787:1: rule__TypeRule__Group__1 : rule__TypeRule__Group__1__Impl ;
2257
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:787:1: rule__TypeRule__Group__1 : rule__TypeRule__Group__1__Impl ;
2178
    public final void rule__TypeRule__Group__1() throws RecognitionException {
2258
    public final void rule__TypeRule__Group__1() throws RecognitionException {
2179
2259
Lines 2185-2191 Link Here
2185
            {
2265
            {
2186
            pushFollow(FOLLOW_rule__TypeRule__Group__1__Impl_in_rule__TypeRule__Group__11620);
2266
            pushFollow(FOLLOW_rule__TypeRule__Group__1__Impl_in_rule__TypeRule__Group__11620);
2187
            rule__TypeRule__Group__1__Impl();
2267
            rule__TypeRule__Group__1__Impl();
2188
            _fsp--;
2268
2269
            state._fsp--;
2189
2270
2190
2271
2191
            }
2272
            }
Lines 2202-2211 Link Here
2202
        }
2283
        }
2203
        return ;
2284
        return ;
2204
    }
2285
    }
2205
    // $ANTLR end rule__TypeRule__Group__1
2286
    // $ANTLR end "rule__TypeRule__Group__1"
2206
2287
2207
2288
2208
    // $ANTLR start rule__TypeRule__Group__1__Impl
2289
    // $ANTLR start "rule__TypeRule__Group__1__Impl"
2209
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:798:1: rule__TypeRule__Group__1__Impl : ( ( rule__TypeRule__TypeAssignment_1 ) ) ;
2290
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:798:1: rule__TypeRule__Group__1__Impl : ( ( rule__TypeRule__TypeAssignment_1 ) ) ;
2210
    public final void rule__TypeRule__Group__1__Impl() throws RecognitionException {
2291
    public final void rule__TypeRule__Group__1__Impl() throws RecognitionException {
2211
2292
Lines 2224-2230 Link Here
2224
            {
2305
            {
2225
            pushFollow(FOLLOW_rule__TypeRule__TypeAssignment_1_in_rule__TypeRule__Group__1__Impl1647);
2306
            pushFollow(FOLLOW_rule__TypeRule__TypeAssignment_1_in_rule__TypeRule__Group__1__Impl1647);
2226
            rule__TypeRule__TypeAssignment_1();
2307
            rule__TypeRule__TypeAssignment_1();
2227
            _fsp--;
2308
2309
            state._fsp--;
2228
2310
2229
2311
2230
            }
2312
            }
Lines 2248-2257 Link Here
2248
        }
2330
        }
2249
        return ;
2331
        return ;
2250
    }
2332
    }
2251
    // $ANTLR end rule__TypeRule__Group__1__Impl
2333
    // $ANTLR end "rule__TypeRule__Group__1__Impl"
2252
2334
2253
2335
2254
    // $ANTLR start rule__QualifiedName__Group__0
2336
    // $ANTLR start "rule__QualifiedName__Group__0"
2255
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:819:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ;
2337
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:819:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ;
2256
    public final void rule__QualifiedName__Group__0() throws RecognitionException {
2338
    public final void rule__QualifiedName__Group__0() throws RecognitionException {
2257
2339
Lines 2263-2273 Link Here
2263
            {
2345
            {
2264
            pushFollow(FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__01681);
2346
            pushFollow(FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__01681);
2265
            rule__QualifiedName__Group__0__Impl();
2347
            rule__QualifiedName__Group__0__Impl();
2266
            _fsp--;
2348
2349
            state._fsp--;
2267
2350
2268
            pushFollow(FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__01684);
2351
            pushFollow(FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__01684);
2269
            rule__QualifiedName__Group__1();
2352
            rule__QualifiedName__Group__1();
2270
            _fsp--;
2353
2354
            state._fsp--;
2271
2355
2272
2356
2273
            }
2357
            }
Lines 2284-2293 Link Here
2284
        }
2368
        }
2285
        return ;
2369
        return ;
2286
    }
2370
    }
2287
    // $ANTLR end rule__QualifiedName__Group__0
2371
    // $ANTLR end "rule__QualifiedName__Group__0"
2288
2372
2289
2373
2290
    // $ANTLR start rule__QualifiedName__Group__0__Impl
2374
    // $ANTLR start "rule__QualifiedName__Group__0__Impl"
2291
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:831:1: rule__QualifiedName__Group__0__Impl : ( ( rule__QualifiedName__PathAssignment_0 ) ) ;
2375
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:831:1: rule__QualifiedName__Group__0__Impl : ( ( rule__QualifiedName__PathAssignment_0 ) ) ;
2292
    public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException {
2376
    public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException {
2293
2377
Lines 2306-2312 Link Here
2306
            {
2390
            {
2307
            pushFollow(FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl1711);
2391
            pushFollow(FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl1711);
2308
            rule__QualifiedName__PathAssignment_0();
2392
            rule__QualifiedName__PathAssignment_0();
2309
            _fsp--;
2393
2394
            state._fsp--;
2310
2395
2311
2396
2312
            }
2397
            }
Lines 2330-2339 Link Here
2330
        }
2415
        }
2331
        return ;
2416
        return ;
2332
    }
2417
    }
2333
    // $ANTLR end rule__QualifiedName__Group__0__Impl
2418
    // $ANTLR end "rule__QualifiedName__Group__0__Impl"
2334
2419
2335
2420
2336
    // $ANTLR start rule__QualifiedName__Group__1
2421
    // $ANTLR start "rule__QualifiedName__Group__1"
2337
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:848:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 ;
2422
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:848:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 ;
2338
    public final void rule__QualifiedName__Group__1() throws RecognitionException {
2423
    public final void rule__QualifiedName__Group__1() throws RecognitionException {
2339
2424
Lines 2345-2355 Link Here
2345
            {
2430
            {
2346
            pushFollow(FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__11741);
2431
            pushFollow(FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__11741);
2347
            rule__QualifiedName__Group__1__Impl();
2432
            rule__QualifiedName__Group__1__Impl();
2348
            _fsp--;
2433
2434
            state._fsp--;
2349
2435
2350
            pushFollow(FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__11744);
2436
            pushFollow(FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__11744);
2351
            rule__QualifiedName__Group__2();
2437
            rule__QualifiedName__Group__2();
2352
            _fsp--;
2438
2439
            state._fsp--;
2353
2440
2354
2441
2355
            }
2442
            }
Lines 2366-2375 Link Here
2366
        }
2453
        }
2367
        return ;
2454
        return ;
2368
    }
2455
    }
2369
    // $ANTLR end rule__QualifiedName__Group__1
2456
    // $ANTLR end "rule__QualifiedName__Group__1"
2370
2457
2371
2458
2372
    // $ANTLR start rule__QualifiedName__Group__1__Impl
2459
    // $ANTLR start "rule__QualifiedName__Group__1__Impl"
2373
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:860:1: rule__QualifiedName__Group__1__Impl : ( '::' ) ;
2460
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:860:1: rule__QualifiedName__Group__1__Impl : ( '::' ) ;
2374
    public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException {
2461
    public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException {
2375
2462
Lines 2403-2412 Link Here
2403
        }
2490
        }
2404
        return ;
2491
        return ;
2405
    }
2492
    }
2406
    // $ANTLR end rule__QualifiedName__Group__1__Impl
2493
    // $ANTLR end "rule__QualifiedName__Group__1__Impl"
2407
2494
2408
2495
2409
    // $ANTLR start rule__QualifiedName__Group__2
2496
    // $ANTLR start "rule__QualifiedName__Group__2"
2410
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:879:1: rule__QualifiedName__Group__2 : rule__QualifiedName__Group__2__Impl ;
2497
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:879:1: rule__QualifiedName__Group__2 : rule__QualifiedName__Group__2__Impl ;
2411
    public final void rule__QualifiedName__Group__2() throws RecognitionException {
2498
    public final void rule__QualifiedName__Group__2() throws RecognitionException {
2412
2499
Lines 2418-2424 Link Here
2418
            {
2505
            {
2419
            pushFollow(FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__21803);
2506
            pushFollow(FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__21803);
2420
            rule__QualifiedName__Group__2__Impl();
2507
            rule__QualifiedName__Group__2__Impl();
2421
            _fsp--;
2508
2509
            state._fsp--;
2422
2510
2423
2511
2424
            }
2512
            }
Lines 2435-2444 Link Here
2435
        }
2523
        }
2436
        return ;
2524
        return ;
2437
    }
2525
    }
2438
    // $ANTLR end rule__QualifiedName__Group__2
2526
    // $ANTLR end "rule__QualifiedName__Group__2"
2439
2527
2440
2528
2441
    // $ANTLR start rule__QualifiedName__Group__2__Impl
2529
    // $ANTLR start "rule__QualifiedName__Group__2__Impl"
2442
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:890:1: rule__QualifiedName__Group__2__Impl : ( ( rule__QualifiedName__RemainingAssignment_2 )? ) ;
2530
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:890:1: rule__QualifiedName__Group__2__Impl : ( ( rule__QualifiedName__RemainingAssignment_2 )? ) ;
2443
    public final void rule__QualifiedName__Group__2__Impl() throws RecognitionException {
2531
    public final void rule__QualifiedName__Group__2__Impl() throws RecognitionException {
2444
2532
Lines 2469-2475 Link Here
2469
                    {
2557
                    {
2470
                    pushFollow(FOLLOW_rule__QualifiedName__RemainingAssignment_2_in_rule__QualifiedName__Group__2__Impl1830);
2558
                    pushFollow(FOLLOW_rule__QualifiedName__RemainingAssignment_2_in_rule__QualifiedName__Group__2__Impl1830);
2471
                    rule__QualifiedName__RemainingAssignment_2();
2559
                    rule__QualifiedName__RemainingAssignment_2();
2472
                    _fsp--;
2560
2561
                    state._fsp--;
2473
2562
2474
2563
2475
                    }
2564
                    }
Lines 2496-2505 Link Here
2496
        }
2585
        }
2497
        return ;
2586
        return ;
2498
    }
2587
    }
2499
    // $ANTLR end rule__QualifiedName__Group__2__Impl
2588
    // $ANTLR end "rule__QualifiedName__Group__2__Impl"
2500
2589
2501
2590
2502
    // $ANTLR start rule__MultiplicityRule__Group__0
2591
    // $ANTLR start "rule__MultiplicityRule__Group__0"
2503
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:913:1: rule__MultiplicityRule__Group__0 : rule__MultiplicityRule__Group__0__Impl rule__MultiplicityRule__Group__1 ;
2592
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:913:1: rule__MultiplicityRule__Group__0 : rule__MultiplicityRule__Group__0__Impl rule__MultiplicityRule__Group__1 ;
2504
    public final void rule__MultiplicityRule__Group__0() throws RecognitionException {
2593
    public final void rule__MultiplicityRule__Group__0() throws RecognitionException {
2505
2594
Lines 2511-2521 Link Here
2511
            {
2600
            {
2512
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__0__Impl_in_rule__MultiplicityRule__Group__01867);
2601
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__0__Impl_in_rule__MultiplicityRule__Group__01867);
2513
            rule__MultiplicityRule__Group__0__Impl();
2602
            rule__MultiplicityRule__Group__0__Impl();
2514
            _fsp--;
2603
2604
            state._fsp--;
2515
2605
2516
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__1_in_rule__MultiplicityRule__Group__01870);
2606
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__1_in_rule__MultiplicityRule__Group__01870);
2517
            rule__MultiplicityRule__Group__1();
2607
            rule__MultiplicityRule__Group__1();
2518
            _fsp--;
2608
2609
            state._fsp--;
2519
2610
2520
2611
2521
            }
2612
            }
Lines 2532-2541 Link Here
2532
        }
2623
        }
2533
        return ;
2624
        return ;
2534
    }
2625
    }
2535
    // $ANTLR end rule__MultiplicityRule__Group__0
2626
    // $ANTLR end "rule__MultiplicityRule__Group__0"
2536
2627
2537
2628
2538
    // $ANTLR start rule__MultiplicityRule__Group__0__Impl
2629
    // $ANTLR start "rule__MultiplicityRule__Group__0__Impl"
2539
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:925:1: rule__MultiplicityRule__Group__0__Impl : ( '[' ) ;
2630
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:925:1: rule__MultiplicityRule__Group__0__Impl : ( '[' ) ;
2540
    public final void rule__MultiplicityRule__Group__0__Impl() throws RecognitionException {
2631
    public final void rule__MultiplicityRule__Group__0__Impl() throws RecognitionException {
2541
2632
Lines 2569-2578 Link Here
2569
        }
2660
        }
2570
        return ;
2661
        return ;
2571
    }
2662
    }
2572
    // $ANTLR end rule__MultiplicityRule__Group__0__Impl
2663
    // $ANTLR end "rule__MultiplicityRule__Group__0__Impl"
2573
2664
2574
2665
2575
    // $ANTLR start rule__MultiplicityRule__Group__1
2666
    // $ANTLR start "rule__MultiplicityRule__Group__1"
2576
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:944:1: rule__MultiplicityRule__Group__1 : rule__MultiplicityRule__Group__1__Impl rule__MultiplicityRule__Group__2 ;
2667
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:944:1: rule__MultiplicityRule__Group__1 : rule__MultiplicityRule__Group__1__Impl rule__MultiplicityRule__Group__2 ;
2577
    public final void rule__MultiplicityRule__Group__1() throws RecognitionException {
2668
    public final void rule__MultiplicityRule__Group__1() throws RecognitionException {
2578
2669
Lines 2584-2594 Link Here
2584
            {
2675
            {
2585
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__1__Impl_in_rule__MultiplicityRule__Group__11929);
2676
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__1__Impl_in_rule__MultiplicityRule__Group__11929);
2586
            rule__MultiplicityRule__Group__1__Impl();
2677
            rule__MultiplicityRule__Group__1__Impl();
2587
            _fsp--;
2678
2679
            state._fsp--;
2588
2680
2589
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__2_in_rule__MultiplicityRule__Group__11932);
2681
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__2_in_rule__MultiplicityRule__Group__11932);
2590
            rule__MultiplicityRule__Group__2();
2682
            rule__MultiplicityRule__Group__2();
2591
            _fsp--;
2683
2684
            state._fsp--;
2592
2685
2593
2686
2594
            }
2687
            }
Lines 2605-2614 Link Here
2605
        }
2698
        }
2606
        return ;
2699
        return ;
2607
    }
2700
    }
2608
    // $ANTLR end rule__MultiplicityRule__Group__1
2701
    // $ANTLR end "rule__MultiplicityRule__Group__1"
2609
2702
2610
2703
2611
    // $ANTLR start rule__MultiplicityRule__Group__1__Impl
2704
    // $ANTLR start "rule__MultiplicityRule__Group__1__Impl"
2612
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:956:1: rule__MultiplicityRule__Group__1__Impl : ( ( rule__MultiplicityRule__BoundsAssignment_1 ) ) ;
2705
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:956:1: rule__MultiplicityRule__Group__1__Impl : ( ( rule__MultiplicityRule__BoundsAssignment_1 ) ) ;
2613
    public final void rule__MultiplicityRule__Group__1__Impl() throws RecognitionException {
2706
    public final void rule__MultiplicityRule__Group__1__Impl() throws RecognitionException {
2614
2707
Lines 2627-2633 Link Here
2627
            {
2720
            {
2628
            pushFollow(FOLLOW_rule__MultiplicityRule__BoundsAssignment_1_in_rule__MultiplicityRule__Group__1__Impl1959);
2721
            pushFollow(FOLLOW_rule__MultiplicityRule__BoundsAssignment_1_in_rule__MultiplicityRule__Group__1__Impl1959);
2629
            rule__MultiplicityRule__BoundsAssignment_1();
2722
            rule__MultiplicityRule__BoundsAssignment_1();
2630
            _fsp--;
2723
2724
            state._fsp--;
2631
2725
2632
2726
2633
            }
2727
            }
Lines 2651-2660 Link Here
2651
        }
2745
        }
2652
        return ;
2746
        return ;
2653
    }
2747
    }
2654
    // $ANTLR end rule__MultiplicityRule__Group__1__Impl
2748
    // $ANTLR end "rule__MultiplicityRule__Group__1__Impl"
2655
2749
2656
2750
2657
    // $ANTLR start rule__MultiplicityRule__Group__2
2751
    // $ANTLR start "rule__MultiplicityRule__Group__2"
2658
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:973:1: rule__MultiplicityRule__Group__2 : rule__MultiplicityRule__Group__2__Impl rule__MultiplicityRule__Group__3 ;
2752
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:973:1: rule__MultiplicityRule__Group__2 : rule__MultiplicityRule__Group__2__Impl rule__MultiplicityRule__Group__3 ;
2659
    public final void rule__MultiplicityRule__Group__2() throws RecognitionException {
2753
    public final void rule__MultiplicityRule__Group__2() throws RecognitionException {
2660
2754
Lines 2666-2676 Link Here
2666
            {
2760
            {
2667
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__2__Impl_in_rule__MultiplicityRule__Group__21989);
2761
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__2__Impl_in_rule__MultiplicityRule__Group__21989);
2668
            rule__MultiplicityRule__Group__2__Impl();
2762
            rule__MultiplicityRule__Group__2__Impl();
2669
            _fsp--;
2763
2764
            state._fsp--;
2670
2765
2671
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__3_in_rule__MultiplicityRule__Group__21992);
2766
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__3_in_rule__MultiplicityRule__Group__21992);
2672
            rule__MultiplicityRule__Group__3();
2767
            rule__MultiplicityRule__Group__3();
2673
            _fsp--;
2768
2769
            state._fsp--;
2674
2770
2675
2771
2676
            }
2772
            }
Lines 2687-2696 Link Here
2687
        }
2783
        }
2688
        return ;
2784
        return ;
2689
    }
2785
    }
2690
    // $ANTLR end rule__MultiplicityRule__Group__2
2786
    // $ANTLR end "rule__MultiplicityRule__Group__2"
2691
2787
2692
2788
2693
    // $ANTLR start rule__MultiplicityRule__Group__2__Impl
2789
    // $ANTLR start "rule__MultiplicityRule__Group__2__Impl"
2694
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:985:1: rule__MultiplicityRule__Group__2__Impl : ( ( rule__MultiplicityRule__Group_2__0 )? ) ;
2790
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:985:1: rule__MultiplicityRule__Group__2__Impl : ( ( rule__MultiplicityRule__Group_2__0 )? ) ;
2695
    public final void rule__MultiplicityRule__Group__2__Impl() throws RecognitionException {
2791
    public final void rule__MultiplicityRule__Group__2__Impl() throws RecognitionException {
2696
2792
Lines 2717-2724 Link Here
2717
                    {
2813
                    {
2718
                    pushFollow(FOLLOW_rule__MultiplicityRule__Group_2__0_in_rule__MultiplicityRule__Group__2__Impl2019);
2814
                    pushFollow(FOLLOW_rule__MultiplicityRule__Group_2__0_in_rule__MultiplicityRule__Group__2__Impl2019);
2719
                    rule__MultiplicityRule__Group_2__0();
2815
                    rule__MultiplicityRule__Group_2__0();
2720
                    _fsp--;
2721
2816
2817
                    state._fsp--;
2818
2722
2819
2723
                    }
2820
                    }
2724
                    break;
2821
                    break;
Lines 2744-2753 Link Here
2744
        }
2841
        }
2745
        return ;
2842
        return ;
2746
    }
2843
    }
2747
    // $ANTLR end rule__MultiplicityRule__Group__2__Impl
2844
    // $ANTLR end "rule__MultiplicityRule__Group__2__Impl"
2748
2845
2749
2846
2750
    // $ANTLR start rule__MultiplicityRule__Group__3
2847
    // $ANTLR start "rule__MultiplicityRule__Group__3"
2751
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1002:1: rule__MultiplicityRule__Group__3 : rule__MultiplicityRule__Group__3__Impl ;
2848
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1002:1: rule__MultiplicityRule__Group__3 : rule__MultiplicityRule__Group__3__Impl ;
2752
    public final void rule__MultiplicityRule__Group__3() throws RecognitionException {
2849
    public final void rule__MultiplicityRule__Group__3() throws RecognitionException {
2753
2850
Lines 2759-2766 Link Here
2759
            {
2856
            {
2760
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__3__Impl_in_rule__MultiplicityRule__Group__32050);
2857
            pushFollow(FOLLOW_rule__MultiplicityRule__Group__3__Impl_in_rule__MultiplicityRule__Group__32050);
2761
            rule__MultiplicityRule__Group__3__Impl();
2858
            rule__MultiplicityRule__Group__3__Impl();
2762
            _fsp--;
2763
2859
2860
            state._fsp--;
2861
2764
2862
2765
            }
2863
            }
2766
2864
Lines 2776-2785 Link Here
2776
        }
2874
        }
2777
        return ;
2875
        return ;
2778
    }
2876
    }
2779
    // $ANTLR end rule__MultiplicityRule__Group__3
2877
    // $ANTLR end "rule__MultiplicityRule__Group__3"
2780
2878
2781
2879
2782
    // $ANTLR start rule__MultiplicityRule__Group__3__Impl
2880
    // $ANTLR start "rule__MultiplicityRule__Group__3__Impl"
2783
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1013:1: rule__MultiplicityRule__Group__3__Impl : ( ']' ) ;
2881
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1013:1: rule__MultiplicityRule__Group__3__Impl : ( ']' ) ;
2784
    public final void rule__MultiplicityRule__Group__3__Impl() throws RecognitionException {
2882
    public final void rule__MultiplicityRule__Group__3__Impl() throws RecognitionException {
2785
2883
Lines 2813-2822 Link Here
2813
        }
2911
        }
2814
        return ;
2912
        return ;
2815
    }
2913
    }
2816
    // $ANTLR end rule__MultiplicityRule__Group__3__Impl
2914
    // $ANTLR end "rule__MultiplicityRule__Group__3__Impl"
2817
2915
2818
2916
2819
    // $ANTLR start rule__MultiplicityRule__Group_2__0
2917
    // $ANTLR start "rule__MultiplicityRule__Group_2__0"
2820
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1040:1: rule__MultiplicityRule__Group_2__0 : rule__MultiplicityRule__Group_2__0__Impl rule__MultiplicityRule__Group_2__1 ;
2918
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1040:1: rule__MultiplicityRule__Group_2__0 : rule__MultiplicityRule__Group_2__0__Impl rule__MultiplicityRule__Group_2__1 ;
2821
    public final void rule__MultiplicityRule__Group_2__0() throws RecognitionException {
2919
    public final void rule__MultiplicityRule__Group_2__0() throws RecognitionException {
2822
2920
Lines 2828-2838 Link Here
2828
            {
2926
            {
2829
            pushFollow(FOLLOW_rule__MultiplicityRule__Group_2__0__Impl_in_rule__MultiplicityRule__Group_2__02117);
2927
            pushFollow(FOLLOW_rule__MultiplicityRule__Group_2__0__Impl_in_rule__MultiplicityRule__Group_2__02117);
2830
            rule__MultiplicityRule__Group_2__0__Impl();
2928
            rule__MultiplicityRule__Group_2__0__Impl();
2831
            _fsp--;
2929
2930
            state._fsp--;
2832
2931
2833
            pushFollow(FOLLOW_rule__MultiplicityRule__Group_2__1_in_rule__MultiplicityRule__Group_2__02120);
2932
            pushFollow(FOLLOW_rule__MultiplicityRule__Group_2__1_in_rule__MultiplicityRule__Group_2__02120);
2834
            rule__MultiplicityRule__Group_2__1();
2933
            rule__MultiplicityRule__Group_2__1();
2835
            _fsp--;
2934
2935
            state._fsp--;
2836
2936
2837
2937
2838
            }
2938
            }
Lines 2849-2858 Link Here
2849
        }
2949
        }
2850
        return ;
2950
        return ;
2851
    }
2951
    }
2852
    // $ANTLR end rule__MultiplicityRule__Group_2__0
2952
    // $ANTLR end "rule__MultiplicityRule__Group_2__0"
2853
2953
2854
2954
2855
    // $ANTLR start rule__MultiplicityRule__Group_2__0__Impl
2955
    // $ANTLR start "rule__MultiplicityRule__Group_2__0__Impl"
2856
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1052:1: rule__MultiplicityRule__Group_2__0__Impl : ( '..' ) ;
2956
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1052:1: rule__MultiplicityRule__Group_2__0__Impl : ( '..' ) ;
2857
    public final void rule__MultiplicityRule__Group_2__0__Impl() throws RecognitionException {
2957
    public final void rule__MultiplicityRule__Group_2__0__Impl() throws RecognitionException {
2858
2958
Lines 2886-2895 Link Here
2886
        }
2986
        }
2887
        return ;
2987
        return ;
2888
    }
2988
    }
2889
    // $ANTLR end rule__MultiplicityRule__Group_2__0__Impl
2989
    // $ANTLR end "rule__MultiplicityRule__Group_2__0__Impl"
2890
2990
2891
2991
2892
    // $ANTLR start rule__MultiplicityRule__Group_2__1
2992
    // $ANTLR start "rule__MultiplicityRule__Group_2__1"
2893
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1071:1: rule__MultiplicityRule__Group_2__1 : rule__MultiplicityRule__Group_2__1__Impl ;
2993
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1071:1: rule__MultiplicityRule__Group_2__1 : rule__MultiplicityRule__Group_2__1__Impl ;
2894
    public final void rule__MultiplicityRule__Group_2__1() throws RecognitionException {
2994
    public final void rule__MultiplicityRule__Group_2__1() throws RecognitionException {
2895
2995
Lines 2901-2907 Link Here
2901
            {
3001
            {
2902
            pushFollow(FOLLOW_rule__MultiplicityRule__Group_2__1__Impl_in_rule__MultiplicityRule__Group_2__12179);
3002
            pushFollow(FOLLOW_rule__MultiplicityRule__Group_2__1__Impl_in_rule__MultiplicityRule__Group_2__12179);
2903
            rule__MultiplicityRule__Group_2__1__Impl();
3003
            rule__MultiplicityRule__Group_2__1__Impl();
2904
            _fsp--;
3004
3005
            state._fsp--;
2905
3006
2906
3007
2907
            }
3008
            }
Lines 2918-2927 Link Here
2918
        }
3019
        }
2919
        return ;
3020
        return ;
2920
    }
3021
    }
2921
    // $ANTLR end rule__MultiplicityRule__Group_2__1
3022
    // $ANTLR end "rule__MultiplicityRule__Group_2__1"
2922
3023
2923
3024
2924
    // $ANTLR start rule__MultiplicityRule__Group_2__1__Impl
3025
    // $ANTLR start "rule__MultiplicityRule__Group_2__1__Impl"
2925
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1082:1: rule__MultiplicityRule__Group_2__1__Impl : ( ( rule__MultiplicityRule__BoundsAssignment_2_1 ) ) ;
3026
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1082:1: rule__MultiplicityRule__Group_2__1__Impl : ( ( rule__MultiplicityRule__BoundsAssignment_2_1 ) ) ;
2926
    public final void rule__MultiplicityRule__Group_2__1__Impl() throws RecognitionException {
3027
    public final void rule__MultiplicityRule__Group_2__1__Impl() throws RecognitionException {
2927
3028
Lines 2940-2946 Link Here
2940
            {
3041
            {
2941
            pushFollow(FOLLOW_rule__MultiplicityRule__BoundsAssignment_2_1_in_rule__MultiplicityRule__Group_2__1__Impl2206);
3042
            pushFollow(FOLLOW_rule__MultiplicityRule__BoundsAssignment_2_1_in_rule__MultiplicityRule__Group_2__1__Impl2206);
2942
            rule__MultiplicityRule__BoundsAssignment_2_1();
3043
            rule__MultiplicityRule__BoundsAssignment_2_1();
2943
            _fsp--;
3044
3045
            state._fsp--;
2944
3046
2945
3047
2946
            }
3048
            }
Lines 2964-2973 Link Here
2964
        }
3066
        }
2965
        return ;
3067
        return ;
2966
    }
3068
    }
2967
    // $ANTLR end rule__MultiplicityRule__Group_2__1__Impl
3069
    // $ANTLR end "rule__MultiplicityRule__Group_2__1__Impl"
2968
3070
2969
3071
2970
    // $ANTLR start rule__ModifiersRule__Group__0
3072
    // $ANTLR start "rule__ModifiersRule__Group__0"
2971
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1103:1: rule__ModifiersRule__Group__0 : rule__ModifiersRule__Group__0__Impl rule__ModifiersRule__Group__1 ;
3073
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1103:1: rule__ModifiersRule__Group__0 : rule__ModifiersRule__Group__0__Impl rule__ModifiersRule__Group__1 ;
2972
    public final void rule__ModifiersRule__Group__0() throws RecognitionException {
3074
    public final void rule__ModifiersRule__Group__0() throws RecognitionException {
2973
3075
Lines 2979-2989 Link Here
2979
            {
3081
            {
2980
            pushFollow(FOLLOW_rule__ModifiersRule__Group__0__Impl_in_rule__ModifiersRule__Group__02240);
3082
            pushFollow(FOLLOW_rule__ModifiersRule__Group__0__Impl_in_rule__ModifiersRule__Group__02240);
2981
            rule__ModifiersRule__Group__0__Impl();
3083
            rule__ModifiersRule__Group__0__Impl();
2982
            _fsp--;
3084
3085
            state._fsp--;
2983
3086
2984
            pushFollow(FOLLOW_rule__ModifiersRule__Group__1_in_rule__ModifiersRule__Group__02243);
3087
            pushFollow(FOLLOW_rule__ModifiersRule__Group__1_in_rule__ModifiersRule__Group__02243);
2985
            rule__ModifiersRule__Group__1();
3088
            rule__ModifiersRule__Group__1();
2986
            _fsp--;
3089
3090
            state._fsp--;
2987
3091
2988
3092
2989
            }
3093
            }
Lines 3000-3009 Link Here
3000
        }
3104
        }
3001
        return ;
3105
        return ;
3002
    }
3106
    }
3003
    // $ANTLR end rule__ModifiersRule__Group__0
3107
    // $ANTLR end "rule__ModifiersRule__Group__0"
3004
3108
3005
3109
3006
    // $ANTLR start rule__ModifiersRule__Group__0__Impl
3110
    // $ANTLR start "rule__ModifiersRule__Group__0__Impl"
3007
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1115:1: rule__ModifiersRule__Group__0__Impl : ( '{' ) ;
3111
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1115:1: rule__ModifiersRule__Group__0__Impl : ( '{' ) ;
3008
    public final void rule__ModifiersRule__Group__0__Impl() throws RecognitionException {
3112
    public final void rule__ModifiersRule__Group__0__Impl() throws RecognitionException {
3009
3113
Lines 3037-3046 Link Here
3037
        }
3141
        }
3038
        return ;
3142
        return ;
3039
    }
3143
    }
3040
    // $ANTLR end rule__ModifiersRule__Group__0__Impl
3144
    // $ANTLR end "rule__ModifiersRule__Group__0__Impl"
3041
3145
3042
3146
3043
    // $ANTLR start rule__ModifiersRule__Group__1
3147
    // $ANTLR start "rule__ModifiersRule__Group__1"
3044
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1134:1: rule__ModifiersRule__Group__1 : rule__ModifiersRule__Group__1__Impl rule__ModifiersRule__Group__2 ;
3148
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1134:1: rule__ModifiersRule__Group__1 : rule__ModifiersRule__Group__1__Impl rule__ModifiersRule__Group__2 ;
3045
    public final void rule__ModifiersRule__Group__1() throws RecognitionException {
3149
    public final void rule__ModifiersRule__Group__1() throws RecognitionException {
3046
3150
Lines 3052-3063 Link Here
3052
            {
3156
            {
3053
            pushFollow(FOLLOW_rule__ModifiersRule__Group__1__Impl_in_rule__ModifiersRule__Group__12302);
3157
            pushFollow(FOLLOW_rule__ModifiersRule__Group__1__Impl_in_rule__ModifiersRule__Group__12302);
3054
            rule__ModifiersRule__Group__1__Impl();
3158
            rule__ModifiersRule__Group__1__Impl();
3055
            _fsp--;
3159
3160
            state._fsp--;
3056
3161
3057
            pushFollow(FOLLOW_rule__ModifiersRule__Group__2_in_rule__ModifiersRule__Group__12305);
3162
            pushFollow(FOLLOW_rule__ModifiersRule__Group__2_in_rule__ModifiersRule__Group__12305);
3058
            rule__ModifiersRule__Group__2();
3163
            rule__ModifiersRule__Group__2();
3059
            _fsp--;
3060
3164
3165
            state._fsp--;
3166
3061
3167
3062
            }
3168
            }
3063
3169
Lines 3073-3082 Link Here
3073
        }
3179
        }
3074
        return ;
3180
        return ;
3075
    }
3181
    }
3076
    // $ANTLR end rule__ModifiersRule__Group__1
3182
    // $ANTLR end "rule__ModifiersRule__Group__1"
3077
3183
3078
3184
3079
    // $ANTLR start rule__ModifiersRule__Group__1__Impl
3185
    // $ANTLR start "rule__ModifiersRule__Group__1__Impl"
3080
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1146:1: rule__ModifiersRule__Group__1__Impl : ( ( rule__ModifiersRule__ValuesAssignment_1 ) ) ;
3186
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1146:1: rule__ModifiersRule__Group__1__Impl : ( ( rule__ModifiersRule__ValuesAssignment_1 ) ) ;
3081
    public final void rule__ModifiersRule__Group__1__Impl() throws RecognitionException {
3187
    public final void rule__ModifiersRule__Group__1__Impl() throws RecognitionException {
3082
3188
Lines 3095-3101 Link Here
3095
            {
3201
            {
3096
            pushFollow(FOLLOW_rule__ModifiersRule__ValuesAssignment_1_in_rule__ModifiersRule__Group__1__Impl2332);
3202
            pushFollow(FOLLOW_rule__ModifiersRule__ValuesAssignment_1_in_rule__ModifiersRule__Group__1__Impl2332);
3097
            rule__ModifiersRule__ValuesAssignment_1();
3203
            rule__ModifiersRule__ValuesAssignment_1();
3098
            _fsp--;
3204
3205
            state._fsp--;
3099
3206
3100
3207
3101
            }
3208
            }
Lines 3119-3128 Link Here
3119
        }
3226
        }
3120
        return ;
3227
        return ;
3121
    }
3228
    }
3122
    // $ANTLR end rule__ModifiersRule__Group__1__Impl
3229
    // $ANTLR end "rule__ModifiersRule__Group__1__Impl"
3123
3230
3124
3231
3125
    // $ANTLR start rule__ModifiersRule__Group__2
3232
    // $ANTLR start "rule__ModifiersRule__Group__2"
3126
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1163:1: rule__ModifiersRule__Group__2 : rule__ModifiersRule__Group__2__Impl rule__ModifiersRule__Group__3 ;
3233
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1163:1: rule__ModifiersRule__Group__2 : rule__ModifiersRule__Group__2__Impl rule__ModifiersRule__Group__3 ;
3127
    public final void rule__ModifiersRule__Group__2() throws RecognitionException {
3234
    public final void rule__ModifiersRule__Group__2() throws RecognitionException {
3128
3235
Lines 3134-3145 Link Here
3134
            {
3241
            {
3135
            pushFollow(FOLLOW_rule__ModifiersRule__Group__2__Impl_in_rule__ModifiersRule__Group__22362);
3242
            pushFollow(FOLLOW_rule__ModifiersRule__Group__2__Impl_in_rule__ModifiersRule__Group__22362);
3136
            rule__ModifiersRule__Group__2__Impl();
3243
            rule__ModifiersRule__Group__2__Impl();
3137
            _fsp--;
3244
3245
            state._fsp--;
3138
3246
3139
            pushFollow(FOLLOW_rule__ModifiersRule__Group__3_in_rule__ModifiersRule__Group__22365);
3247
            pushFollow(FOLLOW_rule__ModifiersRule__Group__3_in_rule__ModifiersRule__Group__22365);
3140
            rule__ModifiersRule__Group__3();
3248
            rule__ModifiersRule__Group__3();
3141
            _fsp--;
3142
3249
3250
            state._fsp--;
3251
3143
3252
3144
            }
3253
            }
3145
3254
Lines 3155-3164 Link Here
3155
        }
3264
        }
3156
        return ;
3265
        return ;
3157
    }
3266
    }
3158
    // $ANTLR end rule__ModifiersRule__Group__2
3267
    // $ANTLR end "rule__ModifiersRule__Group__2"
3159
3268
3160
3269
3161
    // $ANTLR start rule__ModifiersRule__Group__2__Impl
3270
    // $ANTLR start "rule__ModifiersRule__Group__2__Impl"
3162
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1175:1: rule__ModifiersRule__Group__2__Impl : ( ( rule__ModifiersRule__Group_2__0 )* ) ;
3271
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1175:1: rule__ModifiersRule__Group__2__Impl : ( ( rule__ModifiersRule__Group_2__0 )* ) ;
3163
    public final void rule__ModifiersRule__Group__2__Impl() throws RecognitionException {
3272
    public final void rule__ModifiersRule__Group__2__Impl() throws RecognitionException {
3164
3273
Lines 3189-3196 Link Here
3189
            	    {
3298
            	    {
3190
            	    pushFollow(FOLLOW_rule__ModifiersRule__Group_2__0_in_rule__ModifiersRule__Group__2__Impl2392);
3299
            	    pushFollow(FOLLOW_rule__ModifiersRule__Group_2__0_in_rule__ModifiersRule__Group__2__Impl2392);
3191
            	    rule__ModifiersRule__Group_2__0();
3300
            	    rule__ModifiersRule__Group_2__0();
3192
            	    _fsp--;
3193
3301
3302
            	    state._fsp--;
3303
3194
3304
3195
            	    }
3305
            	    }
3196
            	    break;
3306
            	    break;
Lines 3219-3228 Link Here
3219
        }
3329
        }
3220
        return ;
3330
        return ;
3221
    }
3331
    }
3222
    // $ANTLR end rule__ModifiersRule__Group__2__Impl
3332
    // $ANTLR end "rule__ModifiersRule__Group__2__Impl"
3223
3333
3224
3334
3225
    // $ANTLR start rule__ModifiersRule__Group__3
3335
    // $ANTLR start "rule__ModifiersRule__Group__3"
3226
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1192:1: rule__ModifiersRule__Group__3 : rule__ModifiersRule__Group__3__Impl ;
3336
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1192:1: rule__ModifiersRule__Group__3 : rule__ModifiersRule__Group__3__Impl ;
3227
    public final void rule__ModifiersRule__Group__3() throws RecognitionException {
3337
    public final void rule__ModifiersRule__Group__3() throws RecognitionException {
3228
3338
Lines 3234-3241 Link Here
3234
            {
3344
            {
3235
            pushFollow(FOLLOW_rule__ModifiersRule__Group__3__Impl_in_rule__ModifiersRule__Group__32423);
3345
            pushFollow(FOLLOW_rule__ModifiersRule__Group__3__Impl_in_rule__ModifiersRule__Group__32423);
3236
            rule__ModifiersRule__Group__3__Impl();
3346
            rule__ModifiersRule__Group__3__Impl();
3237
            _fsp--;
3238
3347
3348
            state._fsp--;
3349
3239
3350
3240
            }
3351
            }
3241
3352
Lines 3251-3260 Link Here
3251
        }
3362
        }
3252
        return ;
3363
        return ;
3253
    }
3364
    }
3254
    // $ANTLR end rule__ModifiersRule__Group__3
3365
    // $ANTLR end "rule__ModifiersRule__Group__3"
3255
3366
3256
3367
3257
    // $ANTLR start rule__ModifiersRule__Group__3__Impl
3368
    // $ANTLR start "rule__ModifiersRule__Group__3__Impl"
3258
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1203:1: rule__ModifiersRule__Group__3__Impl : ( '}' ) ;
3369
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1203:1: rule__ModifiersRule__Group__3__Impl : ( '}' ) ;
3259
    public final void rule__ModifiersRule__Group__3__Impl() throws RecognitionException {
3370
    public final void rule__ModifiersRule__Group__3__Impl() throws RecognitionException {
3260
3371
Lines 3288-3297 Link Here
3288
        }
3399
        }
3289
        return ;
3400
        return ;
3290
    }
3401
    }
3291
    // $ANTLR end rule__ModifiersRule__Group__3__Impl
3402
    // $ANTLR end "rule__ModifiersRule__Group__3__Impl"
3292
3403
3293
3404
3294
    // $ANTLR start rule__ModifiersRule__Group_2__0
3405
    // $ANTLR start "rule__ModifiersRule__Group_2__0"
3295
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1230:1: rule__ModifiersRule__Group_2__0 : rule__ModifiersRule__Group_2__0__Impl rule__ModifiersRule__Group_2__1 ;
3406
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1230:1: rule__ModifiersRule__Group_2__0 : rule__ModifiersRule__Group_2__0__Impl rule__ModifiersRule__Group_2__1 ;
3296
    public final void rule__ModifiersRule__Group_2__0() throws RecognitionException {
3407
    public final void rule__ModifiersRule__Group_2__0() throws RecognitionException {
3297
3408
Lines 3303-3314 Link Here
3303
            {
3414
            {
3304
            pushFollow(FOLLOW_rule__ModifiersRule__Group_2__0__Impl_in_rule__ModifiersRule__Group_2__02490);
3415
            pushFollow(FOLLOW_rule__ModifiersRule__Group_2__0__Impl_in_rule__ModifiersRule__Group_2__02490);
3305
            rule__ModifiersRule__Group_2__0__Impl();
3416
            rule__ModifiersRule__Group_2__0__Impl();
3306
            _fsp--;
3417
3418
            state._fsp--;
3307
3419
3308
            pushFollow(FOLLOW_rule__ModifiersRule__Group_2__1_in_rule__ModifiersRule__Group_2__02493);
3420
            pushFollow(FOLLOW_rule__ModifiersRule__Group_2__1_in_rule__ModifiersRule__Group_2__02493);
3309
            rule__ModifiersRule__Group_2__1();
3421
            rule__ModifiersRule__Group_2__1();
3310
            _fsp--;
3311
3422
3423
            state._fsp--;
3424
3312
3425
3313
            }
3426
            }
3314
3427
Lines 3324-3333 Link Here
3324
        }
3437
        }
3325
        return ;
3438
        return ;
3326
    }
3439
    }
3327
    // $ANTLR end rule__ModifiersRule__Group_2__0
3440
    // $ANTLR end "rule__ModifiersRule__Group_2__0"
3328
3441
3329
3442
3330
    // $ANTLR start rule__ModifiersRule__Group_2__0__Impl
3443
    // $ANTLR start "rule__ModifiersRule__Group_2__0__Impl"
3331
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1242:1: rule__ModifiersRule__Group_2__0__Impl : ( ',' ) ;
3444
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1242:1: rule__ModifiersRule__Group_2__0__Impl : ( ',' ) ;
3332
    public final void rule__ModifiersRule__Group_2__0__Impl() throws RecognitionException {
3445
    public final void rule__ModifiersRule__Group_2__0__Impl() throws RecognitionException {
3333
3446
Lines 3361-3370 Link Here
3361
        }
3474
        }
3362
        return ;
3475
        return ;
3363
    }
3476
    }
3364
    // $ANTLR end rule__ModifiersRule__Group_2__0__Impl
3477
    // $ANTLR end "rule__ModifiersRule__Group_2__0__Impl"
3365
3478
3366
3479
3367
    // $ANTLR start rule__ModifiersRule__Group_2__1
3480
    // $ANTLR start "rule__ModifiersRule__Group_2__1"
3368
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1261:1: rule__ModifiersRule__Group_2__1 : rule__ModifiersRule__Group_2__1__Impl ;
3481
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1261:1: rule__ModifiersRule__Group_2__1 : rule__ModifiersRule__Group_2__1__Impl ;
3369
    public final void rule__ModifiersRule__Group_2__1() throws RecognitionException {
3482
    public final void rule__ModifiersRule__Group_2__1() throws RecognitionException {
3370
3483
Lines 3376-3382 Link Here
3376
            {
3489
            {
3377
            pushFollow(FOLLOW_rule__ModifiersRule__Group_2__1__Impl_in_rule__ModifiersRule__Group_2__12552);
3490
            pushFollow(FOLLOW_rule__ModifiersRule__Group_2__1__Impl_in_rule__ModifiersRule__Group_2__12552);
3378
            rule__ModifiersRule__Group_2__1__Impl();
3491
            rule__ModifiersRule__Group_2__1__Impl();
3379
            _fsp--;
3492
3493
            state._fsp--;
3380
3494
3381
3495
3382
            }
3496
            }
Lines 3393-3402 Link Here
3393
        }
3507
        }
3394
        return ;
3508
        return ;
3395
    }
3509
    }
3396
    // $ANTLR end rule__ModifiersRule__Group_2__1
3510
    // $ANTLR end "rule__ModifiersRule__Group_2__1"
3397
3511
3398
3512
3399
    // $ANTLR start rule__ModifiersRule__Group_2__1__Impl
3513
    // $ANTLR start "rule__ModifiersRule__Group_2__1__Impl"
3400
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1272:1: rule__ModifiersRule__Group_2__1__Impl : ( ( rule__ModifiersRule__ValuesAssignment_2_1 ) ) ;
3514
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1272:1: rule__ModifiersRule__Group_2__1__Impl : ( ( rule__ModifiersRule__ValuesAssignment_2_1 ) ) ;
3401
    public final void rule__ModifiersRule__Group_2__1__Impl() throws RecognitionException {
3515
    public final void rule__ModifiersRule__Group_2__1__Impl() throws RecognitionException {
3402
3516
Lines 3415-3421 Link Here
3415
            {
3529
            {
3416
            pushFollow(FOLLOW_rule__ModifiersRule__ValuesAssignment_2_1_in_rule__ModifiersRule__Group_2__1__Impl2579);
3530
            pushFollow(FOLLOW_rule__ModifiersRule__ValuesAssignment_2_1_in_rule__ModifiersRule__Group_2__1__Impl2579);
3417
            rule__ModifiersRule__ValuesAssignment_2_1();
3531
            rule__ModifiersRule__ValuesAssignment_2_1();
3418
            _fsp--;
3532
3533
            state._fsp--;
3419
3534
3420
3535
3421
            }
3536
            }
Lines 3439-3448 Link Here
3439
        }
3554
        }
3440
        return ;
3555
        return ;
3441
    }
3556
    }
3442
    // $ANTLR end rule__ModifiersRule__Group_2__1__Impl
3557
    // $ANTLR end "rule__ModifiersRule__Group_2__1__Impl"
3443
3558
3444
3559
3445
    // $ANTLR start rule__RedefinesRule__Group__0
3560
    // $ANTLR start "rule__RedefinesRule__Group__0"
3446
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1293:1: rule__RedefinesRule__Group__0 : rule__RedefinesRule__Group__0__Impl rule__RedefinesRule__Group__1 ;
3561
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1293:1: rule__RedefinesRule__Group__0 : rule__RedefinesRule__Group__0__Impl rule__RedefinesRule__Group__1 ;
3447
    public final void rule__RedefinesRule__Group__0() throws RecognitionException {
3562
    public final void rule__RedefinesRule__Group__0() throws RecognitionException {
3448
3563
Lines 3454-3464 Link Here
3454
            {
3569
            {
3455
            pushFollow(FOLLOW_rule__RedefinesRule__Group__0__Impl_in_rule__RedefinesRule__Group__02613);
3570
            pushFollow(FOLLOW_rule__RedefinesRule__Group__0__Impl_in_rule__RedefinesRule__Group__02613);
3456
            rule__RedefinesRule__Group__0__Impl();
3571
            rule__RedefinesRule__Group__0__Impl();
3457
            _fsp--;
3572
3573
            state._fsp--;
3458
3574
3459
            pushFollow(FOLLOW_rule__RedefinesRule__Group__1_in_rule__RedefinesRule__Group__02616);
3575
            pushFollow(FOLLOW_rule__RedefinesRule__Group__1_in_rule__RedefinesRule__Group__02616);
3460
            rule__RedefinesRule__Group__1();
3576
            rule__RedefinesRule__Group__1();
3461
            _fsp--;
3577
3578
            state._fsp--;
3462
3579
3463
3580
3464
            }
3581
            }
Lines 3475-3484 Link Here
3475
        }
3592
        }
3476
        return ;
3593
        return ;
3477
    }
3594
    }
3478
    // $ANTLR end rule__RedefinesRule__Group__0
3595
    // $ANTLR end "rule__RedefinesRule__Group__0"
3479
3596
3480
3597
3481
    // $ANTLR start rule__RedefinesRule__Group__0__Impl
3598
    // $ANTLR start "rule__RedefinesRule__Group__0__Impl"
3482
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1305:1: rule__RedefinesRule__Group__0__Impl : ( 'redefines' ) ;
3599
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1305:1: rule__RedefinesRule__Group__0__Impl : ( 'redefines' ) ;
3483
    public final void rule__RedefinesRule__Group__0__Impl() throws RecognitionException {
3600
    public final void rule__RedefinesRule__Group__0__Impl() throws RecognitionException {
3484
3601
Lines 3512-3521 Link Here
3512
        }
3629
        }
3513
        return ;
3630
        return ;
3514
    }
3631
    }
3515
    // $ANTLR end rule__RedefinesRule__Group__0__Impl
3632
    // $ANTLR end "rule__RedefinesRule__Group__0__Impl"
3516
3633
3517
3634
3518
    // $ANTLR start rule__RedefinesRule__Group__1
3635
    // $ANTLR start "rule__RedefinesRule__Group__1"
3519
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1324:1: rule__RedefinesRule__Group__1 : rule__RedefinesRule__Group__1__Impl ;
3636
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1324:1: rule__RedefinesRule__Group__1 : rule__RedefinesRule__Group__1__Impl ;
3520
    public final void rule__RedefinesRule__Group__1() throws RecognitionException {
3637
    public final void rule__RedefinesRule__Group__1() throws RecognitionException {
3521
3638
Lines 3527-3533 Link Here
3527
            {
3644
            {
3528
            pushFollow(FOLLOW_rule__RedefinesRule__Group__1__Impl_in_rule__RedefinesRule__Group__12675);
3645
            pushFollow(FOLLOW_rule__RedefinesRule__Group__1__Impl_in_rule__RedefinesRule__Group__12675);
3529
            rule__RedefinesRule__Group__1__Impl();
3646
            rule__RedefinesRule__Group__1__Impl();
3530
            _fsp--;
3647
3648
            state._fsp--;
3531
3649
3532
3650
3533
            }
3651
            }
Lines 3544-3553 Link Here
3544
        }
3662
        }
3545
        return ;
3663
        return ;
3546
    }
3664
    }
3547
    // $ANTLR end rule__RedefinesRule__Group__1
3665
    // $ANTLR end "rule__RedefinesRule__Group__1"
3548
3666
3549
3667
3550
    // $ANTLR start rule__RedefinesRule__Group__1__Impl
3668
    // $ANTLR start "rule__RedefinesRule__Group__1__Impl"
3551
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1335:1: rule__RedefinesRule__Group__1__Impl : ( ( rule__RedefinesRule__PropertyAssignment_1 ) ) ;
3669
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1335:1: rule__RedefinesRule__Group__1__Impl : ( ( rule__RedefinesRule__PropertyAssignment_1 ) ) ;
3552
    public final void rule__RedefinesRule__Group__1__Impl() throws RecognitionException {
3670
    public final void rule__RedefinesRule__Group__1__Impl() throws RecognitionException {
3553
3671
Lines 3566-3572 Link Here
3566
            {
3684
            {
3567
            pushFollow(FOLLOW_rule__RedefinesRule__PropertyAssignment_1_in_rule__RedefinesRule__Group__1__Impl2702);
3685
            pushFollow(FOLLOW_rule__RedefinesRule__PropertyAssignment_1_in_rule__RedefinesRule__Group__1__Impl2702);
3568
            rule__RedefinesRule__PropertyAssignment_1();
3686
            rule__RedefinesRule__PropertyAssignment_1();
3569
            _fsp--;
3687
3688
            state._fsp--;
3570
3689
3571
3690
3572
            }
3691
            }
Lines 3590-3599 Link Here
3590
        }
3709
        }
3591
        return ;
3710
        return ;
3592
    }
3711
    }
3593
    // $ANTLR end rule__RedefinesRule__Group__1__Impl
3712
    // $ANTLR end "rule__RedefinesRule__Group__1__Impl"
3594
3713
3595
3714
3596
    // $ANTLR start rule__SubsetsRule__Group__0
3715
    // $ANTLR start "rule__SubsetsRule__Group__0"
3597
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1356:1: rule__SubsetsRule__Group__0 : rule__SubsetsRule__Group__0__Impl rule__SubsetsRule__Group__1 ;
3716
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1356:1: rule__SubsetsRule__Group__0 : rule__SubsetsRule__Group__0__Impl rule__SubsetsRule__Group__1 ;
3598
    public final void rule__SubsetsRule__Group__0() throws RecognitionException {
3717
    public final void rule__SubsetsRule__Group__0() throws RecognitionException {
3599
3718
Lines 3605-3616 Link Here
3605
            {
3724
            {
3606
            pushFollow(FOLLOW_rule__SubsetsRule__Group__0__Impl_in_rule__SubsetsRule__Group__02736);
3725
            pushFollow(FOLLOW_rule__SubsetsRule__Group__0__Impl_in_rule__SubsetsRule__Group__02736);
3607
            rule__SubsetsRule__Group__0__Impl();
3726
            rule__SubsetsRule__Group__0__Impl();
3608
            _fsp--;
3727
3728
            state._fsp--;
3609
3729
3610
            pushFollow(FOLLOW_rule__SubsetsRule__Group__1_in_rule__SubsetsRule__Group__02739);
3730
            pushFollow(FOLLOW_rule__SubsetsRule__Group__1_in_rule__SubsetsRule__Group__02739);
3611
            rule__SubsetsRule__Group__1();
3731
            rule__SubsetsRule__Group__1();
3612
            _fsp--;
3613
3732
3733
            state._fsp--;
3734
3614
3735
3615
            }
3736
            }
3616
3737
Lines 3626-3635 Link Here
3626
        }
3747
        }
3627
        return ;
3748
        return ;
3628
    }
3749
    }
3629
    // $ANTLR end rule__SubsetsRule__Group__0
3750
    // $ANTLR end "rule__SubsetsRule__Group__0"
3630
3751
3631
3752
3632
    // $ANTLR start rule__SubsetsRule__Group__0__Impl
3753
    // $ANTLR start "rule__SubsetsRule__Group__0__Impl"
3633
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1368:1: rule__SubsetsRule__Group__0__Impl : ( 'subsets' ) ;
3754
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1368:1: rule__SubsetsRule__Group__0__Impl : ( 'subsets' ) ;
3634
    public final void rule__SubsetsRule__Group__0__Impl() throws RecognitionException {
3755
    public final void rule__SubsetsRule__Group__0__Impl() throws RecognitionException {
3635
3756
Lines 3663-3672 Link Here
3663
        }
3784
        }
3664
        return ;
3785
        return ;
3665
    }
3786
    }
3666
    // $ANTLR end rule__SubsetsRule__Group__0__Impl
3787
    // $ANTLR end "rule__SubsetsRule__Group__0__Impl"
3667
3788
3668
3789
3669
    // $ANTLR start rule__SubsetsRule__Group__1
3790
    // $ANTLR start "rule__SubsetsRule__Group__1"
3670
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1387:1: rule__SubsetsRule__Group__1 : rule__SubsetsRule__Group__1__Impl ;
3791
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1387:1: rule__SubsetsRule__Group__1 : rule__SubsetsRule__Group__1__Impl ;
3671
    public final void rule__SubsetsRule__Group__1() throws RecognitionException {
3792
    public final void rule__SubsetsRule__Group__1() throws RecognitionException {
3672
3793
Lines 3678-3684 Link Here
3678
            {
3799
            {
3679
            pushFollow(FOLLOW_rule__SubsetsRule__Group__1__Impl_in_rule__SubsetsRule__Group__12798);
3800
            pushFollow(FOLLOW_rule__SubsetsRule__Group__1__Impl_in_rule__SubsetsRule__Group__12798);
3680
            rule__SubsetsRule__Group__1__Impl();
3801
            rule__SubsetsRule__Group__1__Impl();
3681
            _fsp--;
3802
3803
            state._fsp--;
3682
3804
3683
3805
3684
            }
3806
            }
Lines 3695-3704 Link Here
3695
        }
3817
        }
3696
        return ;
3818
        return ;
3697
    }
3819
    }
3698
    // $ANTLR end rule__SubsetsRule__Group__1
3820
    // $ANTLR end "rule__SubsetsRule__Group__1"
3699
3821
3700
3822
3701
    // $ANTLR start rule__SubsetsRule__Group__1__Impl
3823
    // $ANTLR start "rule__SubsetsRule__Group__1__Impl"
3702
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1398:1: rule__SubsetsRule__Group__1__Impl : ( ( rule__SubsetsRule__PropertyAssignment_1 ) ) ;
3824
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1398:1: rule__SubsetsRule__Group__1__Impl : ( ( rule__SubsetsRule__PropertyAssignment_1 ) ) ;
3703
    public final void rule__SubsetsRule__Group__1__Impl() throws RecognitionException {
3825
    public final void rule__SubsetsRule__Group__1__Impl() throws RecognitionException {
3704
3826
Lines 3717-3723 Link Here
3717
            {
3839
            {
3718
            pushFollow(FOLLOW_rule__SubsetsRule__PropertyAssignment_1_in_rule__SubsetsRule__Group__1__Impl2825);
3840
            pushFollow(FOLLOW_rule__SubsetsRule__PropertyAssignment_1_in_rule__SubsetsRule__Group__1__Impl2825);
3719
            rule__SubsetsRule__PropertyAssignment_1();
3841
            rule__SubsetsRule__PropertyAssignment_1();
3720
            _fsp--;
3842
3843
            state._fsp--;
3721
3844
3722
3845
3723
            }
3846
            }
Lines 3741-3750 Link Here
3741
        }
3864
        }
3742
        return ;
3865
        return ;
3743
    }
3866
    }
3744
    // $ANTLR end rule__SubsetsRule__Group__1__Impl
3867
    // $ANTLR end "rule__SubsetsRule__Group__1__Impl"
3745
3868
3746
3869
3747
    // $ANTLR start rule__DefaultValueRule__Group__0
3870
    // $ANTLR start "rule__DefaultValueRule__Group__0"
3748
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1419:1: rule__DefaultValueRule__Group__0 : rule__DefaultValueRule__Group__0__Impl rule__DefaultValueRule__Group__1 ;
3871
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1419:1: rule__DefaultValueRule__Group__0 : rule__DefaultValueRule__Group__0__Impl rule__DefaultValueRule__Group__1 ;
3749
    public final void rule__DefaultValueRule__Group__0() throws RecognitionException {
3872
    public final void rule__DefaultValueRule__Group__0() throws RecognitionException {
3750
3873
Lines 3756-3767 Link Here
3756
            {
3879
            {
3757
            pushFollow(FOLLOW_rule__DefaultValueRule__Group__0__Impl_in_rule__DefaultValueRule__Group__02859);
3880
            pushFollow(FOLLOW_rule__DefaultValueRule__Group__0__Impl_in_rule__DefaultValueRule__Group__02859);
3758
            rule__DefaultValueRule__Group__0__Impl();
3881
            rule__DefaultValueRule__Group__0__Impl();
3759
            _fsp--;
3882
3883
            state._fsp--;
3760
3884
3761
            pushFollow(FOLLOW_rule__DefaultValueRule__Group__1_in_rule__DefaultValueRule__Group__02862);
3885
            pushFollow(FOLLOW_rule__DefaultValueRule__Group__1_in_rule__DefaultValueRule__Group__02862);
3762
            rule__DefaultValueRule__Group__1();
3886
            rule__DefaultValueRule__Group__1();
3763
            _fsp--;
3764
3887
3888
            state._fsp--;
3889
3765
3890
3766
            }
3891
            }
3767
3892
Lines 3777-3786 Link Here
3777
        }
3902
        }
3778
        return ;
3903
        return ;
3779
    }
3904
    }
3780
    // $ANTLR end rule__DefaultValueRule__Group__0
3905
    // $ANTLR end "rule__DefaultValueRule__Group__0"
3781
3906
3782
3907
3783
    // $ANTLR start rule__DefaultValueRule__Group__0__Impl
3908
    // $ANTLR start "rule__DefaultValueRule__Group__0__Impl"
3784
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1431:1: rule__DefaultValueRule__Group__0__Impl : ( '=' ) ;
3909
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1431:1: rule__DefaultValueRule__Group__0__Impl : ( '=' ) ;
3785
    public final void rule__DefaultValueRule__Group__0__Impl() throws RecognitionException {
3910
    public final void rule__DefaultValueRule__Group__0__Impl() throws RecognitionException {
3786
3911
Lines 3814-3823 Link Here
3814
        }
3939
        }
3815
        return ;
3940
        return ;
3816
    }
3941
    }
3817
    // $ANTLR end rule__DefaultValueRule__Group__0__Impl
3942
    // $ANTLR end "rule__DefaultValueRule__Group__0__Impl"
3818
3943
3819
3944
3820
    // $ANTLR start rule__DefaultValueRule__Group__1
3945
    // $ANTLR start "rule__DefaultValueRule__Group__1"
3821
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1450:1: rule__DefaultValueRule__Group__1 : rule__DefaultValueRule__Group__1__Impl ;
3946
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1450:1: rule__DefaultValueRule__Group__1 : rule__DefaultValueRule__Group__1__Impl ;
3822
    public final void rule__DefaultValueRule__Group__1() throws RecognitionException {
3947
    public final void rule__DefaultValueRule__Group__1() throws RecognitionException {
3823
3948
Lines 3829-3836 Link Here
3829
            {
3954
            {
3830
            pushFollow(FOLLOW_rule__DefaultValueRule__Group__1__Impl_in_rule__DefaultValueRule__Group__12921);
3955
            pushFollow(FOLLOW_rule__DefaultValueRule__Group__1__Impl_in_rule__DefaultValueRule__Group__12921);
3831
            rule__DefaultValueRule__Group__1__Impl();
3956
            rule__DefaultValueRule__Group__1__Impl();
3832
            _fsp--;
3833
3957
3958
            state._fsp--;
3959
3834
3960
3835
            }
3961
            }
3836
3962
Lines 3846-3855 Link Here
3846
        }
3972
        }
3847
        return ;
3973
        return ;
3848
    }
3974
    }
3849
    // $ANTLR end rule__DefaultValueRule__Group__1
3975
    // $ANTLR end "rule__DefaultValueRule__Group__1"
3850
3976
3851
3977
3852
    // $ANTLR start rule__DefaultValueRule__Group__1__Impl
3978
    // $ANTLR start "rule__DefaultValueRule__Group__1__Impl"
3853
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1461:1: rule__DefaultValueRule__Group__1__Impl : ( ( rule__DefaultValueRule__DefaultAssignment_1 ) ) ;
3979
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1461:1: rule__DefaultValueRule__Group__1__Impl : ( ( rule__DefaultValueRule__DefaultAssignment_1 ) ) ;
3854
    public final void rule__DefaultValueRule__Group__1__Impl() throws RecognitionException {
3980
    public final void rule__DefaultValueRule__Group__1__Impl() throws RecognitionException {
3855
3981
Lines 3868-3874 Link Here
3868
            {
3994
            {
3869
            pushFollow(FOLLOW_rule__DefaultValueRule__DefaultAssignment_1_in_rule__DefaultValueRule__Group__1__Impl2948);
3995
            pushFollow(FOLLOW_rule__DefaultValueRule__DefaultAssignment_1_in_rule__DefaultValueRule__Group__1__Impl2948);
3870
            rule__DefaultValueRule__DefaultAssignment_1();
3996
            rule__DefaultValueRule__DefaultAssignment_1();
3871
            _fsp--;
3997
3998
            state._fsp--;
3872
3999
3873
4000
3874
            }
4001
            }
Lines 3892-3901 Link Here
3892
        }
4019
        }
3893
        return ;
4020
        return ;
3894
    }
4021
    }
3895
    // $ANTLR end rule__DefaultValueRule__Group__1__Impl
4022
    // $ANTLR end "rule__DefaultValueRule__Group__1__Impl"
3896
4023
3897
4024
3898
    // $ANTLR start rule__PropertyRule__VisibilityAssignment_0
4025
    // $ANTLR start "rule__PropertyRule__VisibilityAssignment_0"
3899
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1483:1: rule__PropertyRule__VisibilityAssignment_0 : ( ruleVisibilityKind ) ;
4026
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1483:1: rule__PropertyRule__VisibilityAssignment_0 : ( ruleVisibilityKind ) ;
3900
    public final void rule__PropertyRule__VisibilityAssignment_0() throws RecognitionException {
4027
    public final void rule__PropertyRule__VisibilityAssignment_0() throws RecognitionException {
3901
4028
Lines 3911-3917 Link Here
3911
             before(grammarAccess.getPropertyRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); 
4038
             before(grammarAccess.getPropertyRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); 
3912
            pushFollow(FOLLOW_ruleVisibilityKind_in_rule__PropertyRule__VisibilityAssignment_02987);
4039
            pushFollow(FOLLOW_ruleVisibilityKind_in_rule__PropertyRule__VisibilityAssignment_02987);
3913
            ruleVisibilityKind();
4040
            ruleVisibilityKind();
3914
            _fsp--;
4041
4042
            state._fsp--;
3915
4043
3916
             after(grammarAccess.getPropertyRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); 
4044
             after(grammarAccess.getPropertyRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); 
3917
4045
Lines 3932-3941 Link Here
3932
        }
4060
        }
3933
        return ;
4061
        return ;
3934
    }
4062
    }
3935
    // $ANTLR end rule__PropertyRule__VisibilityAssignment_0
4063
    // $ANTLR end "rule__PropertyRule__VisibilityAssignment_0"
3936
4064
3937
4065
3938
    // $ANTLR start rule__PropertyRule__IsDerivedAssignment_1
4066
    // $ANTLR start "rule__PropertyRule__IsDerivedAssignment_1"
3939
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1498:1: rule__PropertyRule__IsDerivedAssignment_1 : ( ( '/' ) ) ;
4067
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1498:1: rule__PropertyRule__IsDerivedAssignment_1 : ( ( '/' ) ) ;
3940
    public final void rule__PropertyRule__IsDerivedAssignment_1() throws RecognitionException {
4068
    public final void rule__PropertyRule__IsDerivedAssignment_1() throws RecognitionException {
3941
4069
Lines 3977-3986 Link Here
3977
        }
4105
        }
3978
        return ;
4106
        return ;
3979
    }
4107
    }
3980
    // $ANTLR end rule__PropertyRule__IsDerivedAssignment_1
4108
    // $ANTLR end "rule__PropertyRule__IsDerivedAssignment_1"
3981
4109
3982
4110
3983
    // $ANTLR start rule__PropertyRule__NameAssignment_2
4111
    // $ANTLR start "rule__PropertyRule__NameAssignment_2"
3984
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1521:1: rule__PropertyRule__NameAssignment_2 : ( RULE_ID ) ;
4112
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1521:1: rule__PropertyRule__NameAssignment_2 : ( RULE_ID ) ;
3985
    public final void rule__PropertyRule__NameAssignment_2() throws RecognitionException {
4113
    public final void rule__PropertyRule__NameAssignment_2() throws RecognitionException {
3986
4114
Lines 4014-4023 Link Here
4014
        }
4142
        }
4015
        return ;
4143
        return ;
4016
    }
4144
    }
4017
    // $ANTLR end rule__PropertyRule__NameAssignment_2
4145
    // $ANTLR end "rule__PropertyRule__NameAssignment_2"
4018
4146
4019
4147
4020
    // $ANTLR start rule__PropertyRule__TypeAssignment_4_0
4148
    // $ANTLR start "rule__PropertyRule__TypeAssignment_4_0"
4021
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1536:1: rule__PropertyRule__TypeAssignment_4_0 : ( ruleTypeRule ) ;
4149
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1536:1: rule__PropertyRule__TypeAssignment_4_0 : ( ruleTypeRule ) ;
4022
    public final void rule__PropertyRule__TypeAssignment_4_0() throws RecognitionException {
4150
    public final void rule__PropertyRule__TypeAssignment_4_0() throws RecognitionException {
4023
4151
Lines 4033-4039 Link Here
4033
             before(grammarAccess.getPropertyRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0()); 
4161
             before(grammarAccess.getPropertyRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0()); 
4034
            pushFollow(FOLLOW_ruleTypeRule_in_rule__PropertyRule__TypeAssignment_4_03093);
4162
            pushFollow(FOLLOW_ruleTypeRule_in_rule__PropertyRule__TypeAssignment_4_03093);
4035
            ruleTypeRule();
4163
            ruleTypeRule();
4036
            _fsp--;
4164
4165
            state._fsp--;
4037
4166
4038
             after(grammarAccess.getPropertyRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0()); 
4167
             after(grammarAccess.getPropertyRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0()); 
4039
4168
Lines 4054-4063 Link Here
4054
        }
4183
        }
4055
        return ;
4184
        return ;
4056
    }
4185
    }
4057
    // $ANTLR end rule__PropertyRule__TypeAssignment_4_0
4186
    // $ANTLR end "rule__PropertyRule__TypeAssignment_4_0"
4058
4187
4059
4188
4060
    // $ANTLR start rule__PropertyRule__MultiplicityAssignment_5
4189
    // $ANTLR start "rule__PropertyRule__MultiplicityAssignment_5"
4061
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1551:1: rule__PropertyRule__MultiplicityAssignment_5 : ( ruleMultiplicityRule ) ;
4190
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1551:1: rule__PropertyRule__MultiplicityAssignment_5 : ( ruleMultiplicityRule ) ;
4062
    public final void rule__PropertyRule__MultiplicityAssignment_5() throws RecognitionException {
4191
    public final void rule__PropertyRule__MultiplicityAssignment_5() throws RecognitionException {
4063
4192
Lines 4073-4079 Link Here
4073
             before(grammarAccess.getPropertyRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0()); 
4202
             before(grammarAccess.getPropertyRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0()); 
4074
            pushFollow(FOLLOW_ruleMultiplicityRule_in_rule__PropertyRule__MultiplicityAssignment_53124);
4203
            pushFollow(FOLLOW_ruleMultiplicityRule_in_rule__PropertyRule__MultiplicityAssignment_53124);
4075
            ruleMultiplicityRule();
4204
            ruleMultiplicityRule();
4076
            _fsp--;
4205
4206
            state._fsp--;
4077
4207
4078
             after(grammarAccess.getPropertyRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0()); 
4208
             after(grammarAccess.getPropertyRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0()); 
4079
4209
Lines 4094-4103 Link Here
4094
        }
4224
        }
4095
        return ;
4225
        return ;
4096
    }
4226
    }
4097
    // $ANTLR end rule__PropertyRule__MultiplicityAssignment_5
4227
    // $ANTLR end "rule__PropertyRule__MultiplicityAssignment_5"
4098
4228
4099
4229
4100
    // $ANTLR start rule__PropertyRule__ModifiersAssignment_6
4230
    // $ANTLR start "rule__PropertyRule__ModifiersAssignment_6"
4101
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1566:1: rule__PropertyRule__ModifiersAssignment_6 : ( ruleModifiersRule ) ;
4231
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1566:1: rule__PropertyRule__ModifiersAssignment_6 : ( ruleModifiersRule ) ;
4102
    public final void rule__PropertyRule__ModifiersAssignment_6() throws RecognitionException {
4232
    public final void rule__PropertyRule__ModifiersAssignment_6() throws RecognitionException {
4103
4233
Lines 4113-4119 Link Here
4113
             before(grammarAccess.getPropertyRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0()); 
4243
             before(grammarAccess.getPropertyRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0()); 
4114
            pushFollow(FOLLOW_ruleModifiersRule_in_rule__PropertyRule__ModifiersAssignment_63155);
4244
            pushFollow(FOLLOW_ruleModifiersRule_in_rule__PropertyRule__ModifiersAssignment_63155);
4115
            ruleModifiersRule();
4245
            ruleModifiersRule();
4116
            _fsp--;
4246
4247
            state._fsp--;
4117
4248
4118
             after(grammarAccess.getPropertyRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0()); 
4249
             after(grammarAccess.getPropertyRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0()); 
4119
4250
Lines 4134-4143 Link Here
4134
        }
4265
        }
4135
        return ;
4266
        return ;
4136
    }
4267
    }
4137
    // $ANTLR end rule__PropertyRule__ModifiersAssignment_6
4268
    // $ANTLR end "rule__PropertyRule__ModifiersAssignment_6"
4138
4269
4139
4270
4140
    // $ANTLR start rule__PropertyRule__DefaultAssignment_7
4271
    // $ANTLR start "rule__PropertyRule__DefaultAssignment_7"
4141
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1581:1: rule__PropertyRule__DefaultAssignment_7 : ( ruleDefaultValueRule ) ;
4272
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1581:1: rule__PropertyRule__DefaultAssignment_7 : ( ruleDefaultValueRule ) ;
4142
    public final void rule__PropertyRule__DefaultAssignment_7() throws RecognitionException {
4273
    public final void rule__PropertyRule__DefaultAssignment_7() throws RecognitionException {
4143
4274
Lines 4153-4159 Link Here
4153
             before(grammarAccess.getPropertyRuleAccess().getDefaultDefaultValueRuleParserRuleCall_7_0()); 
4284
             before(grammarAccess.getPropertyRuleAccess().getDefaultDefaultValueRuleParserRuleCall_7_0()); 
4154
            pushFollow(FOLLOW_ruleDefaultValueRule_in_rule__PropertyRule__DefaultAssignment_73186);
4285
            pushFollow(FOLLOW_ruleDefaultValueRule_in_rule__PropertyRule__DefaultAssignment_73186);
4155
            ruleDefaultValueRule();
4286
            ruleDefaultValueRule();
4156
            _fsp--;
4287
4288
            state._fsp--;
4157
4289
4158
             after(grammarAccess.getPropertyRuleAccess().getDefaultDefaultValueRuleParserRuleCall_7_0()); 
4290
             after(grammarAccess.getPropertyRuleAccess().getDefaultDefaultValueRuleParserRuleCall_7_0()); 
4159
4291
Lines 4174-4183 Link Here
4174
        }
4306
        }
4175
        return ;
4307
        return ;
4176
    }
4308
    }
4177
    // $ANTLR end rule__PropertyRule__DefaultAssignment_7
4309
    // $ANTLR end "rule__PropertyRule__DefaultAssignment_7"
4178
4310
4179
4311
4180
    // $ANTLR start rule__TypeRule__PathAssignment_0
4312
    // $ANTLR start "rule__TypeRule__PathAssignment_0"
4181
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1596:1: rule__TypeRule__PathAssignment_0 : ( ruleQualifiedName ) ;
4313
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1596:1: rule__TypeRule__PathAssignment_0 : ( ruleQualifiedName ) ;
4182
    public final void rule__TypeRule__PathAssignment_0() throws RecognitionException {
4314
    public final void rule__TypeRule__PathAssignment_0() throws RecognitionException {
4183
4315
Lines 4193-4199 Link Here
4193
             before(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
4325
             before(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
4194
            pushFollow(FOLLOW_ruleQualifiedName_in_rule__TypeRule__PathAssignment_03217);
4326
            pushFollow(FOLLOW_ruleQualifiedName_in_rule__TypeRule__PathAssignment_03217);
4195
            ruleQualifiedName();
4327
            ruleQualifiedName();
4196
            _fsp--;
4328
4329
            state._fsp--;
4197
4330
4198
             after(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
4331
             after(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
4199
4332
Lines 4214-4223 Link Here
4214
        }
4347
        }
4215
        return ;
4348
        return ;
4216
    }
4349
    }
4217
    // $ANTLR end rule__TypeRule__PathAssignment_0
4350
    // $ANTLR end "rule__TypeRule__PathAssignment_0"
4218
4351
4219
4352
4220
    // $ANTLR start rule__TypeRule__TypeAssignment_1
4353
    // $ANTLR start "rule__TypeRule__TypeAssignment_1"
4221
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1611:1: rule__TypeRule__TypeAssignment_1 : ( ( RULE_ID ) ) ;
4354
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1611:1: rule__TypeRule__TypeAssignment_1 : ( ( RULE_ID ) ) ;
4222
    public final void rule__TypeRule__TypeAssignment_1() throws RecognitionException {
4355
    public final void rule__TypeRule__TypeAssignment_1() throws RecognitionException {
4223
4356
Lines 4259-4268 Link Here
4259
        }
4392
        }
4260
        return ;
4393
        return ;
4261
    }
4394
    }
4262
    // $ANTLR end rule__TypeRule__TypeAssignment_1
4395
    // $ANTLR end "rule__TypeRule__TypeAssignment_1"
4263
4396
4264
4397
4265
    // $ANTLR start rule__QualifiedName__PathAssignment_0
4398
    // $ANTLR start "rule__QualifiedName__PathAssignment_0"
4266
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1630:1: rule__QualifiedName__PathAssignment_0 : ( ( RULE_ID ) ) ;
4399
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1630:1: rule__QualifiedName__PathAssignment_0 : ( ( RULE_ID ) ) ;
4267
    public final void rule__QualifiedName__PathAssignment_0() throws RecognitionException {
4400
    public final void rule__QualifiedName__PathAssignment_0() throws RecognitionException {
4268
4401
Lines 4304-4313 Link Here
4304
        }
4437
        }
4305
        return ;
4438
        return ;
4306
    }
4439
    }
4307
    // $ANTLR end rule__QualifiedName__PathAssignment_0
4440
    // $ANTLR end "rule__QualifiedName__PathAssignment_0"
4308
4441
4309
4442
4310
    // $ANTLR start rule__QualifiedName__RemainingAssignment_2
4443
    // $ANTLR start "rule__QualifiedName__RemainingAssignment_2"
4311
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1649:1: rule__QualifiedName__RemainingAssignment_2 : ( ruleQualifiedName ) ;
4444
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1649:1: rule__QualifiedName__RemainingAssignment_2 : ( ruleQualifiedName ) ;
4312
    public final void rule__QualifiedName__RemainingAssignment_2() throws RecognitionException {
4445
    public final void rule__QualifiedName__RemainingAssignment_2() throws RecognitionException {
4313
4446
Lines 4323-4329 Link Here
4323
             before(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
4456
             before(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
4324
            pushFollow(FOLLOW_ruleQualifiedName_in_rule__QualifiedName__RemainingAssignment_23326);
4457
            pushFollow(FOLLOW_ruleQualifiedName_in_rule__QualifiedName__RemainingAssignment_23326);
4325
            ruleQualifiedName();
4458
            ruleQualifiedName();
4326
            _fsp--;
4459
4460
            state._fsp--;
4327
4461
4328
             after(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
4462
             after(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
4329
4463
Lines 4344-4353 Link Here
4344
        }
4478
        }
4345
        return ;
4479
        return ;
4346
    }
4480
    }
4347
    // $ANTLR end rule__QualifiedName__RemainingAssignment_2
4481
    // $ANTLR end "rule__QualifiedName__RemainingAssignment_2"
4348
4482
4349
4483
4350
    // $ANTLR start rule__MultiplicityRule__BoundsAssignment_1
4484
    // $ANTLR start "rule__MultiplicityRule__BoundsAssignment_1"
4351
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1664:1: rule__MultiplicityRule__BoundsAssignment_1 : ( ruleBoundSpecification ) ;
4485
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1664:1: rule__MultiplicityRule__BoundsAssignment_1 : ( ruleBoundSpecification ) ;
4352
    public final void rule__MultiplicityRule__BoundsAssignment_1() throws RecognitionException {
4486
    public final void rule__MultiplicityRule__BoundsAssignment_1() throws RecognitionException {
4353
4487
Lines 4363-4369 Link Here
4363
             before(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0()); 
4497
             before(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0()); 
4364
            pushFollow(FOLLOW_ruleBoundSpecification_in_rule__MultiplicityRule__BoundsAssignment_13357);
4498
            pushFollow(FOLLOW_ruleBoundSpecification_in_rule__MultiplicityRule__BoundsAssignment_13357);
4365
            ruleBoundSpecification();
4499
            ruleBoundSpecification();
4366
            _fsp--;
4500
4501
            state._fsp--;
4367
4502
4368
             after(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0()); 
4503
             after(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0()); 
4369
4504
Lines 4384-4393 Link Here
4384
        }
4519
        }
4385
        return ;
4520
        return ;
4386
    }
4521
    }
4387
    // $ANTLR end rule__MultiplicityRule__BoundsAssignment_1
4522
    // $ANTLR end "rule__MultiplicityRule__BoundsAssignment_1"
4388
4523
4389
4524
4390
    // $ANTLR start rule__MultiplicityRule__BoundsAssignment_2_1
4525
    // $ANTLR start "rule__MultiplicityRule__BoundsAssignment_2_1"
4391
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1679:1: rule__MultiplicityRule__BoundsAssignment_2_1 : ( ruleBoundSpecification ) ;
4526
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1679:1: rule__MultiplicityRule__BoundsAssignment_2_1 : ( ruleBoundSpecification ) ;
4392
    public final void rule__MultiplicityRule__BoundsAssignment_2_1() throws RecognitionException {
4527
    public final void rule__MultiplicityRule__BoundsAssignment_2_1() throws RecognitionException {
4393
4528
Lines 4403-4409 Link Here
4403
             before(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0()); 
4538
             before(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0()); 
4404
            pushFollow(FOLLOW_ruleBoundSpecification_in_rule__MultiplicityRule__BoundsAssignment_2_13388);
4539
            pushFollow(FOLLOW_ruleBoundSpecification_in_rule__MultiplicityRule__BoundsAssignment_2_13388);
4405
            ruleBoundSpecification();
4540
            ruleBoundSpecification();
4406
            _fsp--;
4541
4542
            state._fsp--;
4407
4543
4408
             after(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0()); 
4544
             after(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0()); 
4409
4545
Lines 4424-4433 Link Here
4424
        }
4560
        }
4425
        return ;
4561
        return ;
4426
    }
4562
    }
4427
    // $ANTLR end rule__MultiplicityRule__BoundsAssignment_2_1
4563
    // $ANTLR end "rule__MultiplicityRule__BoundsAssignment_2_1"
4428
4564
4429
4565
4430
    // $ANTLR start rule__BoundSpecification__ValueAssignment
4566
    // $ANTLR start "rule__BoundSpecification__ValueAssignment"
4431
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1694:1: rule__BoundSpecification__ValueAssignment : ( RULE_UNLIMITEDLITERAL ) ;
4567
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1694:1: rule__BoundSpecification__ValueAssignment : ( RULE_UNLIMITEDLITERAL ) ;
4432
    public final void rule__BoundSpecification__ValueAssignment() throws RecognitionException {
4568
    public final void rule__BoundSpecification__ValueAssignment() throws RecognitionException {
4433
4569
Lines 4461-4470 Link Here
4461
        }
4597
        }
4462
        return ;
4598
        return ;
4463
    }
4599
    }
4464
    // $ANTLR end rule__BoundSpecification__ValueAssignment
4600
    // $ANTLR end "rule__BoundSpecification__ValueAssignment"
4465
4601
4466
4602
4467
    // $ANTLR start rule__ModifiersRule__ValuesAssignment_1
4603
    // $ANTLR start "rule__ModifiersRule__ValuesAssignment_1"
4468
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1709:1: rule__ModifiersRule__ValuesAssignment_1 : ( ruleModifierSpecification ) ;
4604
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1709:1: rule__ModifiersRule__ValuesAssignment_1 : ( ruleModifierSpecification ) ;
4469
    public final void rule__ModifiersRule__ValuesAssignment_1() throws RecognitionException {
4605
    public final void rule__ModifiersRule__ValuesAssignment_1() throws RecognitionException {
4470
4606
Lines 4480-4486 Link Here
4480
             before(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0()); 
4616
             before(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0()); 
4481
            pushFollow(FOLLOW_ruleModifierSpecification_in_rule__ModifiersRule__ValuesAssignment_13450);
4617
            pushFollow(FOLLOW_ruleModifierSpecification_in_rule__ModifiersRule__ValuesAssignment_13450);
4482
            ruleModifierSpecification();
4618
            ruleModifierSpecification();
4483
            _fsp--;
4619
4620
            state._fsp--;
4484
4621
4485
             after(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0()); 
4622
             after(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0()); 
4486
4623
Lines 4501-4510 Link Here
4501
        }
4638
        }
4502
        return ;
4639
        return ;
4503
    }
4640
    }
4504
    // $ANTLR end rule__ModifiersRule__ValuesAssignment_1
4641
    // $ANTLR end "rule__ModifiersRule__ValuesAssignment_1"
4505
4642
4506
4643
4507
    // $ANTLR start rule__ModifiersRule__ValuesAssignment_2_1
4644
    // $ANTLR start "rule__ModifiersRule__ValuesAssignment_2_1"
4508
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1724:1: rule__ModifiersRule__ValuesAssignment_2_1 : ( ruleModifierSpecification ) ;
4645
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1724:1: rule__ModifiersRule__ValuesAssignment_2_1 : ( ruleModifierSpecification ) ;
4509
    public final void rule__ModifiersRule__ValuesAssignment_2_1() throws RecognitionException {
4646
    public final void rule__ModifiersRule__ValuesAssignment_2_1() throws RecognitionException {
4510
4647
Lines 4520-4526 Link Here
4520
             before(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0()); 
4657
             before(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0()); 
4521
            pushFollow(FOLLOW_ruleModifierSpecification_in_rule__ModifiersRule__ValuesAssignment_2_13481);
4658
            pushFollow(FOLLOW_ruleModifierSpecification_in_rule__ModifiersRule__ValuesAssignment_2_13481);
4522
            ruleModifierSpecification();
4659
            ruleModifierSpecification();
4523
            _fsp--;
4660
4661
            state._fsp--;
4524
4662
4525
             after(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0()); 
4663
             after(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0()); 
4526
4664
Lines 4541-4550 Link Here
4541
        }
4679
        }
4542
        return ;
4680
        return ;
4543
    }
4681
    }
4544
    // $ANTLR end rule__ModifiersRule__ValuesAssignment_2_1
4682
    // $ANTLR end "rule__ModifiersRule__ValuesAssignment_2_1"
4545
4683
4546
4684
4547
    // $ANTLR start rule__ModifierSpecification__ValueAssignment_0
4685
    // $ANTLR start "rule__ModifierSpecification__ValueAssignment_0"
4548
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1739:1: rule__ModifierSpecification__ValueAssignment_0 : ( ruleModifierKind ) ;
4686
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1739:1: rule__ModifierSpecification__ValueAssignment_0 : ( ruleModifierKind ) ;
4549
    public final void rule__ModifierSpecification__ValueAssignment_0() throws RecognitionException {
4687
    public final void rule__ModifierSpecification__ValueAssignment_0() throws RecognitionException {
4550
4688
Lines 4560-4566 Link Here
4560
             before(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0_0()); 
4698
             before(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0_0()); 
4561
            pushFollow(FOLLOW_ruleModifierKind_in_rule__ModifierSpecification__ValueAssignment_03512);
4699
            pushFollow(FOLLOW_ruleModifierKind_in_rule__ModifierSpecification__ValueAssignment_03512);
4562
            ruleModifierKind();
4700
            ruleModifierKind();
4563
            _fsp--;
4701
4702
            state._fsp--;
4564
4703
4565
             after(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0_0()); 
4704
             after(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0_0()); 
4566
4705
Lines 4581-4590 Link Here
4581
        }
4720
        }
4582
        return ;
4721
        return ;
4583
    }
4722
    }
4584
    // $ANTLR end rule__ModifierSpecification__ValueAssignment_0
4723
    // $ANTLR end "rule__ModifierSpecification__ValueAssignment_0"
4585
4724
4586
4725
4587
    // $ANTLR start rule__ModifierSpecification__RedefinesAssignment_1
4726
    // $ANTLR start "rule__ModifierSpecification__RedefinesAssignment_1"
4588
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1754:1: rule__ModifierSpecification__RedefinesAssignment_1 : ( ruleRedefinesRule ) ;
4727
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1754:1: rule__ModifierSpecification__RedefinesAssignment_1 : ( ruleRedefinesRule ) ;
4589
    public final void rule__ModifierSpecification__RedefinesAssignment_1() throws RecognitionException {
4728
    public final void rule__ModifierSpecification__RedefinesAssignment_1() throws RecognitionException {
4590
4729
Lines 4600-4606 Link Here
4600
             before(grammarAccess.getModifierSpecificationAccess().getRedefinesRedefinesRuleParserRuleCall_1_0()); 
4739
             before(grammarAccess.getModifierSpecificationAccess().getRedefinesRedefinesRuleParserRuleCall_1_0()); 
4601
            pushFollow(FOLLOW_ruleRedefinesRule_in_rule__ModifierSpecification__RedefinesAssignment_13543);
4740
            pushFollow(FOLLOW_ruleRedefinesRule_in_rule__ModifierSpecification__RedefinesAssignment_13543);
4602
            ruleRedefinesRule();
4741
            ruleRedefinesRule();
4603
            _fsp--;
4742
4743
            state._fsp--;
4604
4744
4605
             after(grammarAccess.getModifierSpecificationAccess().getRedefinesRedefinesRuleParserRuleCall_1_0()); 
4745
             after(grammarAccess.getModifierSpecificationAccess().getRedefinesRedefinesRuleParserRuleCall_1_0()); 
4606
4746
Lines 4621-4630 Link Here
4621
        }
4761
        }
4622
        return ;
4762
        return ;
4623
    }
4763
    }
4624
    // $ANTLR end rule__ModifierSpecification__RedefinesAssignment_1
4764
    // $ANTLR end "rule__ModifierSpecification__RedefinesAssignment_1"
4625
4765
4626
4766
4627
    // $ANTLR start rule__ModifierSpecification__SubsetsAssignment_2
4767
    // $ANTLR start "rule__ModifierSpecification__SubsetsAssignment_2"
4628
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1769:1: rule__ModifierSpecification__SubsetsAssignment_2 : ( ruleSubsetsRule ) ;
4768
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1769:1: rule__ModifierSpecification__SubsetsAssignment_2 : ( ruleSubsetsRule ) ;
4629
    public final void rule__ModifierSpecification__SubsetsAssignment_2() throws RecognitionException {
4769
    public final void rule__ModifierSpecification__SubsetsAssignment_2() throws RecognitionException {
4630
4770
Lines 4640-4646 Link Here
4640
             before(grammarAccess.getModifierSpecificationAccess().getSubsetsSubsetsRuleParserRuleCall_2_0()); 
4780
             before(grammarAccess.getModifierSpecificationAccess().getSubsetsSubsetsRuleParserRuleCall_2_0()); 
4641
            pushFollow(FOLLOW_ruleSubsetsRule_in_rule__ModifierSpecification__SubsetsAssignment_23574);
4781
            pushFollow(FOLLOW_ruleSubsetsRule_in_rule__ModifierSpecification__SubsetsAssignment_23574);
4642
            ruleSubsetsRule();
4782
            ruleSubsetsRule();
4643
            _fsp--;
4783
4784
            state._fsp--;
4644
4785
4645
             after(grammarAccess.getModifierSpecificationAccess().getSubsetsSubsetsRuleParserRuleCall_2_0()); 
4786
             after(grammarAccess.getModifierSpecificationAccess().getSubsetsSubsetsRuleParserRuleCall_2_0()); 
4646
4787
Lines 4661-4670 Link Here
4661
        }
4802
        }
4662
        return ;
4803
        return ;
4663
    }
4804
    }
4664
    // $ANTLR end rule__ModifierSpecification__SubsetsAssignment_2
4805
    // $ANTLR end "rule__ModifierSpecification__SubsetsAssignment_2"
4665
4806
4666
4807
4667
    // $ANTLR start rule__RedefinesRule__PropertyAssignment_1
4808
    // $ANTLR start "rule__RedefinesRule__PropertyAssignment_1"
4668
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1784:1: rule__RedefinesRule__PropertyAssignment_1 : ( ( RULE_ID ) ) ;
4809
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1784:1: rule__RedefinesRule__PropertyAssignment_1 : ( ( RULE_ID ) ) ;
4669
    public final void rule__RedefinesRule__PropertyAssignment_1() throws RecognitionException {
4810
    public final void rule__RedefinesRule__PropertyAssignment_1() throws RecognitionException {
4670
4811
Lines 4706-4715 Link Here
4706
        }
4847
        }
4707
        return ;
4848
        return ;
4708
    }
4849
    }
4709
    // $ANTLR end rule__RedefinesRule__PropertyAssignment_1
4850
    // $ANTLR end "rule__RedefinesRule__PropertyAssignment_1"
4710
4851
4711
4852
4712
    // $ANTLR start rule__SubsetsRule__PropertyAssignment_1
4853
    // $ANTLR start "rule__SubsetsRule__PropertyAssignment_1"
4713
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1803:1: rule__SubsetsRule__PropertyAssignment_1 : ( ( RULE_ID ) ) ;
4854
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1803:1: rule__SubsetsRule__PropertyAssignment_1 : ( ( RULE_ID ) ) ;
4714
    public final void rule__SubsetsRule__PropertyAssignment_1() throws RecognitionException {
4855
    public final void rule__SubsetsRule__PropertyAssignment_1() throws RecognitionException {
4715
4856
Lines 4751-4760 Link Here
4751
        }
4892
        }
4752
        return ;
4893
        return ;
4753
    }
4894
    }
4754
    // $ANTLR end rule__SubsetsRule__PropertyAssignment_1
4895
    // $ANTLR end "rule__SubsetsRule__PropertyAssignment_1"
4755
4896
4756
4897
4757
    // $ANTLR start rule__DefaultValueRule__DefaultAssignment_1
4898
    // $ANTLR start "rule__DefaultValueRule__DefaultAssignment_1"
4758
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1822:1: rule__DefaultValueRule__DefaultAssignment_1 : ( RULE_STRING ) ;
4899
    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1822:1: rule__DefaultValueRule__DefaultAssignment_1 : ( RULE_STRING ) ;
4759
    public final void rule__DefaultValueRule__DefaultAssignment_1() throws RecognitionException {
4900
    public final void rule__DefaultValueRule__DefaultAssignment_1() throws RecognitionException {
4760
4901
Lines 4788-4795 Link Here
4788
        }
4929
        }
4789
        return ;
4930
        return ;
4790
    }
4931
    }
4791
    // $ANTLR end rule__DefaultValueRule__DefaultAssignment_1
4932
    // $ANTLR end "rule__DefaultValueRule__DefaultAssignment_1"
4792
4933
4934
    // Delegated rules
4935
4793
4936
4794
 
4937
 
4795
4938
Lines 4841-4847 Link Here
4841
    public static final BitSet FOLLOW_rule__PropertyRule__Group__0__Impl_in_rule__PropertyRule__Group__01060 = new BitSet(new long[]{0x0000000100000010L});
4984
    public static final BitSet FOLLOW_rule__PropertyRule__Group__0__Impl_in_rule__PropertyRule__Group__01060 = new BitSet(new long[]{0x0000000100000010L});
4842
    public static final BitSet FOLLOW_rule__PropertyRule__Group__1_in_rule__PropertyRule__Group__01063 = new BitSet(new long[]{0x0000000000000002L});
4985
    public static final BitSet FOLLOW_rule__PropertyRule__Group__1_in_rule__PropertyRule__Group__01063 = new BitSet(new long[]{0x0000000000000002L});
4843
    public static final BitSet FOLLOW_rule__PropertyRule__VisibilityAssignment_0_in_rule__PropertyRule__Group__0__Impl1090 = new BitSet(new long[]{0x0000000000000002L});
4986
    public static final BitSet FOLLOW_rule__PropertyRule__VisibilityAssignment_0_in_rule__PropertyRule__Group__0__Impl1090 = new BitSet(new long[]{0x0000000000000002L});
4844
    public static final BitSet FOLLOW_rule__PropertyRule__Group__1__Impl_in_rule__PropertyRule__Group__11120 = new BitSet(new long[]{0x0000000000000010L});
4987
    public static final BitSet FOLLOW_rule__PropertyRule__Group__1__Impl_in_rule__PropertyRule__Group__11120 = new BitSet(new long[]{0x0000000100000010L});
4845
    public static final BitSet FOLLOW_rule__PropertyRule__Group__2_in_rule__PropertyRule__Group__11123 = new BitSet(new long[]{0x0000000000000002L});
4988
    public static final BitSet FOLLOW_rule__PropertyRule__Group__2_in_rule__PropertyRule__Group__11123 = new BitSet(new long[]{0x0000000000000002L});
4846
    public static final BitSet FOLLOW_rule__PropertyRule__IsDerivedAssignment_1_in_rule__PropertyRule__Group__1__Impl1150 = new BitSet(new long[]{0x0000000000000002L});
4989
    public static final BitSet FOLLOW_rule__PropertyRule__IsDerivedAssignment_1_in_rule__PropertyRule__Group__1__Impl1150 = new BitSet(new long[]{0x0000000000000002L});
4847
    public static final BitSet FOLLOW_rule__PropertyRule__Group__2__Impl_in_rule__PropertyRule__Group__21181 = new BitSet(new long[]{0x0000000000200000L});
4990
    public static final BitSet FOLLOW_rule__PropertyRule__Group__2__Impl_in_rule__PropertyRule__Group__21181 = new BitSet(new long[]{0x0000000000200000L});
Lines 4850-4862 Link Here
4850
    public static final BitSet FOLLOW_rule__PropertyRule__Group__3__Impl_in_rule__PropertyRule__Group__31241 = new BitSet(new long[]{0x0000000000001010L});
4993
    public static final BitSet FOLLOW_rule__PropertyRule__Group__3__Impl_in_rule__PropertyRule__Group__31241 = new BitSet(new long[]{0x0000000000001010L});
4851
    public static final BitSet FOLLOW_rule__PropertyRule__Group__4_in_rule__PropertyRule__Group__31244 = new BitSet(new long[]{0x0000000000000002L});
4994
    public static final BitSet FOLLOW_rule__PropertyRule__Group__4_in_rule__PropertyRule__Group__31244 = new BitSet(new long[]{0x0000000000000002L});
4852
    public static final BitSet FOLLOW_21_in_rule__PropertyRule__Group__3__Impl1272 = new BitSet(new long[]{0x0000000000000002L});
4995
    public static final BitSet FOLLOW_21_in_rule__PropertyRule__Group__3__Impl1272 = new BitSet(new long[]{0x0000000000000002L});
4853
    public static final BitSet FOLLOW_rule__PropertyRule__Group__4__Impl_in_rule__PropertyRule__Group__41303 = new BitSet(new long[]{0x0000000084800002L});
4996
    public static final BitSet FOLLOW_rule__PropertyRule__Group__4__Impl_in_rule__PropertyRule__Group__41303 = new BitSet(new long[]{0x0000000084800000L});
4854
    public static final BitSet FOLLOW_rule__PropertyRule__Group__5_in_rule__PropertyRule__Group__41306 = new BitSet(new long[]{0x0000000000000002L});
4997
    public static final BitSet FOLLOW_rule__PropertyRule__Group__5_in_rule__PropertyRule__Group__41306 = new BitSet(new long[]{0x0000000000000002L});
4855
    public static final BitSet FOLLOW_rule__PropertyRule__Alternatives_4_in_rule__PropertyRule__Group__4__Impl1333 = new BitSet(new long[]{0x0000000000000002L});
4998
    public static final BitSet FOLLOW_rule__PropertyRule__Alternatives_4_in_rule__PropertyRule__Group__4__Impl1333 = new BitSet(new long[]{0x0000000000000002L});
4856
    public static final BitSet FOLLOW_rule__PropertyRule__Group__5__Impl_in_rule__PropertyRule__Group__51363 = new BitSet(new long[]{0x0000000084000002L});
4999
    public static final BitSet FOLLOW_rule__PropertyRule__Group__5__Impl_in_rule__PropertyRule__Group__51363 = new BitSet(new long[]{0x0000000084800000L});
4857
    public static final BitSet FOLLOW_rule__PropertyRule__Group__6_in_rule__PropertyRule__Group__51366 = new BitSet(new long[]{0x0000000000000002L});
5000
    public static final BitSet FOLLOW_rule__PropertyRule__Group__6_in_rule__PropertyRule__Group__51366 = new BitSet(new long[]{0x0000000000000002L});
4858
    public static final BitSet FOLLOW_rule__PropertyRule__MultiplicityAssignment_5_in_rule__PropertyRule__Group__5__Impl1393 = new BitSet(new long[]{0x0000000000000002L});
5001
    public static final BitSet FOLLOW_rule__PropertyRule__MultiplicityAssignment_5_in_rule__PropertyRule__Group__5__Impl1393 = new BitSet(new long[]{0x0000000000000002L});
4859
    public static final BitSet FOLLOW_rule__PropertyRule__Group__6__Impl_in_rule__PropertyRule__Group__61424 = new BitSet(new long[]{0x0000000080000002L});
5002
    public static final BitSet FOLLOW_rule__PropertyRule__Group__6__Impl_in_rule__PropertyRule__Group__61424 = new BitSet(new long[]{0x0000000084800000L});
4860
    public static final BitSet FOLLOW_rule__PropertyRule__Group__7_in_rule__PropertyRule__Group__61427 = new BitSet(new long[]{0x0000000000000002L});
5003
    public static final BitSet FOLLOW_rule__PropertyRule__Group__7_in_rule__PropertyRule__Group__61427 = new BitSet(new long[]{0x0000000000000002L});
4861
    public static final BitSet FOLLOW_rule__PropertyRule__ModifiersAssignment_6_in_rule__PropertyRule__Group__6__Impl1454 = new BitSet(new long[]{0x0000000000000002L});
5004
    public static final BitSet FOLLOW_rule__PropertyRule__ModifiersAssignment_6_in_rule__PropertyRule__Group__6__Impl1454 = new BitSet(new long[]{0x0000000000000002L});
4862
    public static final BitSet FOLLOW_rule__PropertyRule__Group__7__Impl_in_rule__PropertyRule__Group__71485 = new BitSet(new long[]{0x0000000000000002L});
5005
    public static final BitSet FOLLOW_rule__PropertyRule__Group__7__Impl_in_rule__PropertyRule__Group__71485 = new BitSet(new long[]{0x0000000000000002L});
Lines 4869-4875 Link Here
4869
    public static final BitSet FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__01681 = new BitSet(new long[]{0x0000000000400000L});
5012
    public static final BitSet FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__01681 = new BitSet(new long[]{0x0000000000400000L});
4870
    public static final BitSet FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__01684 = new BitSet(new long[]{0x0000000000000002L});
5013
    public static final BitSet FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__01684 = new BitSet(new long[]{0x0000000000000002L});
4871
    public static final BitSet FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl1711 = new BitSet(new long[]{0x0000000000000002L});
5014
    public static final BitSet FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl1711 = new BitSet(new long[]{0x0000000000000002L});
4872
    public static final BitSet FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__11741 = new BitSet(new long[]{0x0000000000000012L});
5015
    public static final BitSet FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__11741 = new BitSet(new long[]{0x0000000000000010L});
4873
    public static final BitSet FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__11744 = new BitSet(new long[]{0x0000000000000002L});
5016
    public static final BitSet FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__11744 = new BitSet(new long[]{0x0000000000000002L});
4874
    public static final BitSet FOLLOW_22_in_rule__QualifiedName__Group__1__Impl1772 = new BitSet(new long[]{0x0000000000000002L});
5017
    public static final BitSet FOLLOW_22_in_rule__QualifiedName__Group__1__Impl1772 = new BitSet(new long[]{0x0000000000000002L});
4875
    public static final BitSet FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__21803 = new BitSet(new long[]{0x0000000000000002L});
5018
    public static final BitSet FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__21803 = new BitSet(new long[]{0x0000000000000002L});
Lines 4880-4886 Link Here
4880
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__1__Impl_in_rule__MultiplicityRule__Group__11929 = new BitSet(new long[]{0x0000000003000000L});
5023
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__1__Impl_in_rule__MultiplicityRule__Group__11929 = new BitSet(new long[]{0x0000000003000000L});
4881
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__2_in_rule__MultiplicityRule__Group__11932 = new BitSet(new long[]{0x0000000000000002L});
5024
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__2_in_rule__MultiplicityRule__Group__11932 = new BitSet(new long[]{0x0000000000000002L});
4882
    public static final BitSet FOLLOW_rule__MultiplicityRule__BoundsAssignment_1_in_rule__MultiplicityRule__Group__1__Impl1959 = new BitSet(new long[]{0x0000000000000002L});
5025
    public static final BitSet FOLLOW_rule__MultiplicityRule__BoundsAssignment_1_in_rule__MultiplicityRule__Group__1__Impl1959 = new BitSet(new long[]{0x0000000000000002L});
4883
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__2__Impl_in_rule__MultiplicityRule__Group__21989 = new BitSet(new long[]{0x0000000001000000L});
5026
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__2__Impl_in_rule__MultiplicityRule__Group__21989 = new BitSet(new long[]{0x0000000003000000L});
4884
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__3_in_rule__MultiplicityRule__Group__21992 = new BitSet(new long[]{0x0000000000000002L});
5027
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__3_in_rule__MultiplicityRule__Group__21992 = new BitSet(new long[]{0x0000000000000002L});
4885
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group_2__0_in_rule__MultiplicityRule__Group__2__Impl2019 = new BitSet(new long[]{0x0000000000000002L});
5028
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group_2__0_in_rule__MultiplicityRule__Group__2__Impl2019 = new BitSet(new long[]{0x0000000000000002L});
4886
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__3__Impl_in_rule__MultiplicityRule__Group__32050 = new BitSet(new long[]{0x0000000000000002L});
5029
    public static final BitSet FOLLOW_rule__MultiplicityRule__Group__3__Impl_in_rule__MultiplicityRule__Group__32050 = new BitSet(new long[]{0x0000000000000002L});
Lines 4896-4902 Link Here
4896
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__1__Impl_in_rule__ModifiersRule__Group__12302 = new BitSet(new long[]{0x0000000018000000L});
5039
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__1__Impl_in_rule__ModifiersRule__Group__12302 = new BitSet(new long[]{0x0000000018000000L});
4897
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__2_in_rule__ModifiersRule__Group__12305 = new BitSet(new long[]{0x0000000000000002L});
5040
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__2_in_rule__ModifiersRule__Group__12305 = new BitSet(new long[]{0x0000000000000002L});
4898
    public static final BitSet FOLLOW_rule__ModifiersRule__ValuesAssignment_1_in_rule__ModifiersRule__Group__1__Impl2332 = new BitSet(new long[]{0x0000000000000002L});
5041
    public static final BitSet FOLLOW_rule__ModifiersRule__ValuesAssignment_1_in_rule__ModifiersRule__Group__1__Impl2332 = new BitSet(new long[]{0x0000000000000002L});
4899
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__2__Impl_in_rule__ModifiersRule__Group__22362 = new BitSet(new long[]{0x0000000008000000L});
5042
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__2__Impl_in_rule__ModifiersRule__Group__22362 = new BitSet(new long[]{0x0000000018000000L});
4900
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__3_in_rule__ModifiersRule__Group__22365 = new BitSet(new long[]{0x0000000000000002L});
5043
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__3_in_rule__ModifiersRule__Group__22365 = new BitSet(new long[]{0x0000000000000002L});
4901
    public static final BitSet FOLLOW_rule__ModifiersRule__Group_2__0_in_rule__ModifiersRule__Group__2__Impl2392 = new BitSet(new long[]{0x0000000010000002L});
5044
    public static final BitSet FOLLOW_rule__ModifiersRule__Group_2__0_in_rule__ModifiersRule__Group__2__Impl2392 = new BitSet(new long[]{0x0000000010000002L});
4902
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__3__Impl_in_rule__ModifiersRule__Group__32423 = new BitSet(new long[]{0x0000000000000002L});
5045
    public static final BitSet FOLLOW_rule__ModifiersRule__Group__3__Impl_in_rule__ModifiersRule__Group__32423 = new BitSet(new long[]{0x0000000000000002L});
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g (-1 / +1 lines)
Lines 1841-1847 Link Here
1841
1841
1842
RULE_INT : ('0'..'9')+;
1842
RULE_INT : ('0'..'9')+;
1843
1843
1844
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
1844
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
1845
1845
1846
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
1846
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
1847
1847
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlPropertyLexer.java (-329 / +474 lines)
Lines 13-445 Link Here
13
@SuppressWarnings("all")
13
@SuppressWarnings("all")
14
public class InternalUmlPropertyLexer extends Lexer {
14
public class InternalUmlPropertyLexer extends Lexer {
15
    public static final int RULE_ID=4;
15
    public static final int RULE_ID=4;
16
    public static final int T__29=29;
16
    public static final int RULE_UNLIMITEDLITERAL=5;
17
    public static final int RULE_UNLIMITEDLITERAL=5;
18
    public static final int T__28=28;
19
    public static final int T__27=27;
20
    public static final int T__26=26;
21
    public static final int T__25=25;
22
    public static final int T__24=24;
23
    public static final int T__23=23;
24
    public static final int T__22=22;
17
    public static final int RULE_ANY_OTHER=11;
25
    public static final int RULE_ANY_OTHER=11;
18
    public static final int T29=29;
26
    public static final int T__21=21;
19
    public static final int T28=28;
27
    public static final int T__20=20;
20
    public static final int T27=27;
21
    public static final int T26=26;
22
    public static final int T25=25;
23
    public static final int Tokens=33;
24
    public static final int T24=24;
25
    public static final int EOF=-1;
28
    public static final int EOF=-1;
26
    public static final int RULE_SL_COMMENT=9;
29
    public static final int RULE_SL_COMMENT=9;
27
    public static final int T23=23;
28
    public static final int T22=22;
29
    public static final int T21=21;
30
    public static final int T20=20;
31
    public static final int RULE_ML_COMMENT=8;
30
    public static final int RULE_ML_COMMENT=8;
31
    public static final int T__19=19;
32
    public static final int T__30=30;
33
    public static final int T__31=31;
34
    public static final int T__32=32;
32
    public static final int RULE_STRING=6;
35
    public static final int RULE_STRING=6;
36
    public static final int T__16=16;
37
    public static final int T__15=15;
38
    public static final int T__18=18;
39
    public static final int T__17=17;
40
    public static final int T__12=12;
41
    public static final int T__14=14;
42
    public static final int T__13=13;
33
    public static final int RULE_INT=7;
43
    public static final int RULE_INT=7;
34
    public static final int T12=12;
35
    public static final int T13=13;
36
    public static final int T14=14;
37
    public static final int RULE_WS=10;
44
    public static final int RULE_WS=10;
38
    public static final int T15=15;
45
39
    public static final int T16=16;
46
    // delegates
40
    public static final int T17=17;
47
    // delegators
41
    public static final int T18=18;
48
42
    public static final int T30=30;
43
    public static final int T19=19;
44
    public static final int T32=32;
45
    public static final int T31=31;
46
    public InternalUmlPropertyLexer() {;} 
49
    public InternalUmlPropertyLexer() {;} 
47
    public InternalUmlPropertyLexer(CharStream input) {
50
    public InternalUmlPropertyLexer(CharStream input) {
48
        super(input);
51
        this(input, new RecognizerSharedState());
52
    }
53
    public InternalUmlPropertyLexer(CharStream input, RecognizerSharedState state) {
54
        super(input,state);
55
49
    }
56
    }
50
    public String getGrammarFileName() { return "../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g"; }
57
    public String getGrammarFileName() { return "../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g"; }
51
58
52
    // $ANTLR start T12
59
    // $ANTLR start "T__12"
53
    public final void mT12() throws RecognitionException {
60
    public final void mT__12() throws RecognitionException {
54
        try {
61
        try {
55
            int _type = T12;
62
            int _type = T__12;
56
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:10:5: ( '<Undefined>' )
63
            int _channel = DEFAULT_TOKEN_CHANNEL;
57
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:10:7: '<Undefined>'
64
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:11:7: ( '<Undefined>' )
65
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:11:9: '<Undefined>'
58
            {
66
            {
59
            match("<Undefined>"); 
67
            match("<Undefined>"); 
60
68
61
69
62
            }
70
            }
63
71
64
            this.type = _type;
72
            state.type = _type;
73
            state.channel = _channel;
65
        }
74
        }
66
        finally {
75
        finally {
67
        }
76
        }
68
    }
77
    }
69
    // $ANTLR end T12
78
    // $ANTLR end "T__12"
70
79
71
    // $ANTLR start T13
80
    // $ANTLR start "T__13"
72
    public final void mT13() throws RecognitionException {
81
    public final void mT__13() throws RecognitionException {
73
        try {
82
        try {
74
            int _type = T13;
83
            int _type = T__13;
75
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:11:5: ( '+' )
84
            int _channel = DEFAULT_TOKEN_CHANNEL;
76
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:11:7: '+'
85
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:12:7: ( '+' )
86
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:12:9: '+'
77
            {
87
            {
78
            match('+'); 
88
            match('+'); 
79
89
80
            }
90
            }
81
91
82
            this.type = _type;
92
            state.type = _type;
93
            state.channel = _channel;
83
        }
94
        }
84
        finally {
95
        finally {
85
        }
96
        }
86
    }
97
    }
87
    // $ANTLR end T13
98
    // $ANTLR end "T__13"
88
99
89
    // $ANTLR start T14
100
    // $ANTLR start "T__14"
90
    public final void mT14() throws RecognitionException {
101
    public final void mT__14() throws RecognitionException {
91
        try {
102
        try {
92
            int _type = T14;
103
            int _type = T__14;
93
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:12:5: ( '-' )
104
            int _channel = DEFAULT_TOKEN_CHANNEL;
94
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:12:7: '-'
105
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:13:7: ( '-' )
106
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:13:9: '-'
95
            {
107
            {
96
            match('-'); 
108
            match('-'); 
97
109
98
            }
110
            }
99
111
100
            this.type = _type;
112
            state.type = _type;
113
            state.channel = _channel;
101
        }
114
        }
102
        finally {
115
        finally {
103
        }
116
        }
104
    }
117
    }
105
    // $ANTLR end T14
118
    // $ANTLR end "T__14"
106
119
107
    // $ANTLR start T15
120
    // $ANTLR start "T__15"
108
    public final void mT15() throws RecognitionException {
121
    public final void mT__15() throws RecognitionException {
109
        try {
122
        try {
110
            int _type = T15;
123
            int _type = T__15;
111
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:13:5: ( '#' )
124
            int _channel = DEFAULT_TOKEN_CHANNEL;
112
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:13:7: '#'
125
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:14:7: ( '#' )
126
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:14:9: '#'
113
            {
127
            {
114
            match('#'); 
128
            match('#'); 
115
129
116
            }
130
            }
117
131
118
            this.type = _type;
132
            state.type = _type;
133
            state.channel = _channel;
119
        }
134
        }
120
        finally {
135
        finally {
121
        }
136
        }
122
    }
137
    }
123
    // $ANTLR end T15
138
    // $ANTLR end "T__15"
124
139
125
    // $ANTLR start T16
140
    // $ANTLR start "T__16"
126
    public final void mT16() throws RecognitionException {
141
    public final void mT__16() throws RecognitionException {
127
        try {
142
        try {
128
            int _type = T16;
143
            int _type = T__16;
129
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:14:5: ( '~' )
144
            int _channel = DEFAULT_TOKEN_CHANNEL;
130
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:14:7: '~'
145
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:15:7: ( '~' )
146
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:15:9: '~'
131
            {
147
            {
132
            match('~'); 
148
            match('~'); 
133
149
134
            }
150
            }
135
151
136
            this.type = _type;
152
            state.type = _type;
153
            state.channel = _channel;
137
        }
154
        }
138
        finally {
155
        finally {
139
        }
156
        }
140
    }
157
    }
141
    // $ANTLR end T16
158
    // $ANTLR end "T__16"
142
159
143
    // $ANTLR start T17
160
    // $ANTLR start "T__17"
144
    public final void mT17() throws RecognitionException {
161
    public final void mT__17() throws RecognitionException {
145
        try {
162
        try {
146
            int _type = T17;
163
            int _type = T__17;
147
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:15:5: ( 'readOnly' )
164
            int _channel = DEFAULT_TOKEN_CHANNEL;
148
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:15:7: 'readOnly'
165
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:16:7: ( 'readOnly' )
166
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:16:9: 'readOnly'
149
            {
167
            {
150
            match("readOnly"); 
168
            match("readOnly"); 
151
169
152
170
153
            }
171
            }
154
172
155
            this.type = _type;
173
            state.type = _type;
174
            state.channel = _channel;
156
        }
175
        }
157
        finally {
176
        finally {
158
        }
177
        }
159
    }
178
    }
160
    // $ANTLR end T17
179
    // $ANTLR end "T__17"
161
180
162
    // $ANTLR start T18
181
    // $ANTLR start "T__18"
163
    public final void mT18() throws RecognitionException {
182
    public final void mT__18() throws RecognitionException {
164
        try {
183
        try {
165
            int _type = T18;
184
            int _type = T__18;
166
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:16:5: ( 'union' )
185
            int _channel = DEFAULT_TOKEN_CHANNEL;
167
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:16:7: 'union'
186
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:17:7: ( 'union' )
187
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:17:9: 'union'
168
            {
188
            {
169
            match("union"); 
189
            match("union"); 
170
190
171
191
172
            }
192
            }
173
193
174
            this.type = _type;
194
            state.type = _type;
195
            state.channel = _channel;
175
        }
196
        }
176
        finally {
197
        finally {
177
        }
198
        }
178
    }
199
    }
179
    // $ANTLR end T18
200
    // $ANTLR end "T__18"
180
201
181
    // $ANTLR start T19
202
    // $ANTLR start "T__19"
182
    public final void mT19() throws RecognitionException {
203
    public final void mT__19() throws RecognitionException {
183
        try {
204
        try {
184
            int _type = T19;
205
            int _type = T__19;
185
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:17:5: ( 'ordered' )
206
            int _channel = DEFAULT_TOKEN_CHANNEL;
186
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:17:7: 'ordered'
207
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:18:7: ( 'ordered' )
208
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:18:9: 'ordered'
187
            {
209
            {
188
            match("ordered"); 
210
            match("ordered"); 
189
211
190
212
191
            }
213
            }
192
214
193
            this.type = _type;
215
            state.type = _type;
216
            state.channel = _channel;
194
        }
217
        }
195
        finally {
218
        finally {
196
        }
219
        }
197
    }
220
    }
198
    // $ANTLR end T19
221
    // $ANTLR end "T__19"
199
222
200
    // $ANTLR start T20
223
    // $ANTLR start "T__20"
201
    public final void mT20() throws RecognitionException {
224
    public final void mT__20() throws RecognitionException {
202
        try {
225
        try {
203
            int _type = T20;
226
            int _type = T__20;
204
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:18:5: ( 'unique' )
227
            int _channel = DEFAULT_TOKEN_CHANNEL;
205
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:18:7: 'unique'
228
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:19:7: ( 'unique' )
229
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:19:9: 'unique'
206
            {
230
            {
207
            match("unique"); 
231
            match("unique"); 
208
232
209
233
210
            }
234
            }
211
235
212
            this.type = _type;
236
            state.type = _type;
237
            state.channel = _channel;
213
        }
238
        }
214
        finally {
239
        finally {
215
        }
240
        }
216
    }
241
    }
217
    // $ANTLR end T20
242
    // $ANTLR end "T__20"
218
243
219
    // $ANTLR start T21
244
    // $ANTLR start "T__21"
220
    public final void mT21() throws RecognitionException {
245
    public final void mT__21() throws RecognitionException {
221
        try {
246
        try {
222
            int _type = T21;
247
            int _type = T__21;
223
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:19:5: ( ':' )
248
            int _channel = DEFAULT_TOKEN_CHANNEL;
224
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:19:7: ':'
249
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:20:7: ( ':' )
250
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:20:9: ':'
225
            {
251
            {
226
            match(':'); 
252
            match(':'); 
227
253
228
            }
254
            }
229
255
230
            this.type = _type;
256
            state.type = _type;
257
            state.channel = _channel;
231
        }
258
        }
232
        finally {
259
        finally {
233
        }
260
        }
234
    }
261
    }
235
    // $ANTLR end T21
262
    // $ANTLR end "T__21"
236
263
237
    // $ANTLR start T22
264
    // $ANTLR start "T__22"
238
    public final void mT22() throws RecognitionException {
265
    public final void mT__22() throws RecognitionException {
239
        try {
266
        try {
240
            int _type = T22;
267
            int _type = T__22;
241
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:20:5: ( '::' )
268
            int _channel = DEFAULT_TOKEN_CHANNEL;
242
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:20:7: '::'
269
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:21:7: ( '::' )
270
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:21:9: '::'
243
            {
271
            {
244
            match("::"); 
272
            match("::"); 
245
273
246
274
247
            }
275
            }
248
276
249
            this.type = _type;
277
            state.type = _type;
278
            state.channel = _channel;
250
        }
279
        }
251
        finally {
280
        finally {
252
        }
281
        }
253
    }
282
    }
254
    // $ANTLR end T22
283
    // $ANTLR end "T__22"
255
284
256
    // $ANTLR start T23
285
    // $ANTLR start "T__23"
257
    public final void mT23() throws RecognitionException {
286
    public final void mT__23() throws RecognitionException {
258
        try {
287
        try {
259
            int _type = T23;
288
            int _type = T__23;
260
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:21:5: ( '[' )
289
            int _channel = DEFAULT_TOKEN_CHANNEL;
261
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:21:7: '['
290
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:22:7: ( '[' )
291
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:22:9: '['
262
            {
292
            {
263
            match('['); 
293
            match('['); 
264
294
265
            }
295
            }
266
296
267
            this.type = _type;
297
            state.type = _type;
298
            state.channel = _channel;
268
        }
299
        }
269
        finally {
300
        finally {
270
        }
301
        }
271
    }
302
    }
272
    // $ANTLR end T23
303
    // $ANTLR end "T__23"
273
304
274
    // $ANTLR start T24
305
    // $ANTLR start "T__24"
275
    public final void mT24() throws RecognitionException {
306
    public final void mT__24() throws RecognitionException {
276
        try {
307
        try {
277
            int _type = T24;
308
            int _type = T__24;
278
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:22:5: ( ']' )
309
            int _channel = DEFAULT_TOKEN_CHANNEL;
279
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:22:7: ']'
310
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:23:7: ( ']' )
311
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:23:9: ']'
280
            {
312
            {
281
            match(']'); 
313
            match(']'); 
282
314
283
            }
315
            }
284
316
285
            this.type = _type;
317
            state.type = _type;
318
            state.channel = _channel;
286
        }
319
        }
287
        finally {
320
        finally {
288
        }
321
        }
289
    }
322
    }
290
    // $ANTLR end T24
323
    // $ANTLR end "T__24"
291
324
292
    // $ANTLR start T25
325
    // $ANTLR start "T__25"
293
    public final void mT25() throws RecognitionException {
326
    public final void mT__25() throws RecognitionException {
294
        try {
327
        try {
295
            int _type = T25;
328
            int _type = T__25;
296
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:23:5: ( '..' )
329
            int _channel = DEFAULT_TOKEN_CHANNEL;
297
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:23:7: '..'
330
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:24:7: ( '..' )
331
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:24:9: '..'
298
            {
332
            {
299
            match(".."); 
333
            match(".."); 
300
334
301
335
302
            }
336
            }
303
337
304
            this.type = _type;
338
            state.type = _type;
339
            state.channel = _channel;
305
        }
340
        }
306
        finally {
341
        finally {
307
        }
342
        }
308
    }
343
    }
309
    // $ANTLR end T25
344
    // $ANTLR end "T__25"
310
345
311
    // $ANTLR start T26
346
    // $ANTLR start "T__26"
312
    public final void mT26() throws RecognitionException {
347
    public final void mT__26() throws RecognitionException {
313
        try {
348
        try {
314
            int _type = T26;
349
            int _type = T__26;
315
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:24:5: ( '{' )
350
            int _channel = DEFAULT_TOKEN_CHANNEL;
316
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:24:7: '{'
351
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:25:7: ( '{' )
352
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:25:9: '{'
317
            {
353
            {
318
            match('{'); 
354
            match('{'); 
319
355
320
            }
356
            }
321
357
322
            this.type = _type;
358
            state.type = _type;
359
            state.channel = _channel;
323
        }
360
        }
324
        finally {
361
        finally {
325
        }
362
        }
326
    }
363
    }
327
    // $ANTLR end T26
364
    // $ANTLR end "T__26"
328
365
329
    // $ANTLR start T27
366
    // $ANTLR start "T__27"
330
    public final void mT27() throws RecognitionException {
367
    public final void mT__27() throws RecognitionException {
331
        try {
368
        try {
332
            int _type = T27;
369
            int _type = T__27;
333
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:25:5: ( '}' )
370
            int _channel = DEFAULT_TOKEN_CHANNEL;
334
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:25:7: '}'
371
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:26:7: ( '}' )
372
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:26:9: '}'
335
            {
373
            {
336
            match('}'); 
374
            match('}'); 
337
375
338
            }
376
            }
339
377
340
            this.type = _type;
378
            state.type = _type;
379
            state.channel = _channel;
341
        }
380
        }
342
        finally {
381
        finally {
343
        }
382
        }
344
    }
383
    }
345
    // $ANTLR end T27
384
    // $ANTLR end "T__27"
346
385
347
    // $ANTLR start T28
386
    // $ANTLR start "T__28"
348
    public final void mT28() throws RecognitionException {
387
    public final void mT__28() throws RecognitionException {
349
        try {
388
        try {
350
            int _type = T28;
389
            int _type = T__28;
351
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:26:5: ( ',' )
390
            int _channel = DEFAULT_TOKEN_CHANNEL;
352
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:26:7: ','
391
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:27:7: ( ',' )
392
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:27:9: ','
353
            {
393
            {
354
            match(','); 
394
            match(','); 
355
395
356
            }
396
            }
357
397
358
            this.type = _type;
398
            state.type = _type;
399
            state.channel = _channel;
359
        }
400
        }
360
        finally {
401
        finally {
361
        }
402
        }
362
    }
403
    }
363
    // $ANTLR end T28
404
    // $ANTLR end "T__28"
364
405
365
    // $ANTLR start T29
406
    // $ANTLR start "T__29"
366
    public final void mT29() throws RecognitionException {
407
    public final void mT__29() throws RecognitionException {
367
        try {
408
        try {
368
            int _type = T29;
409
            int _type = T__29;
369
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:27:5: ( 'redefines' )
410
            int _channel = DEFAULT_TOKEN_CHANNEL;
370
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:27:7: 'redefines'
411
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:28:7: ( 'redefines' )
412
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:28:9: 'redefines'
371
            {
413
            {
372
            match("redefines"); 
414
            match("redefines"); 
373
415
374
416
375
            }
417
            }
376
418
377
            this.type = _type;
419
            state.type = _type;
420
            state.channel = _channel;
378
        }
421
        }
379
        finally {
422
        finally {
380
        }
423
        }
381
    }
424
    }
382
    // $ANTLR end T29
425
    // $ANTLR end "T__29"
383
426
384
    // $ANTLR start T30
427
    // $ANTLR start "T__30"
385
    public final void mT30() throws RecognitionException {
428
    public final void mT__30() throws RecognitionException {
386
        try {
429
        try {
387
            int _type = T30;
430
            int _type = T__30;
388
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:28:5: ( 'subsets' )
431
            int _channel = DEFAULT_TOKEN_CHANNEL;
389
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:28:7: 'subsets'
432
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:29:7: ( 'subsets' )
433
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:29:9: 'subsets'
390
            {
434
            {
391
            match("subsets"); 
435
            match("subsets"); 
392
436
393
437
394
            }
438
            }
395
439
396
            this.type = _type;
440
            state.type = _type;
441
            state.channel = _channel;
397
        }
442
        }
398
        finally {
443
        finally {
399
        }
444
        }
400
    }
445
    }
401
    // $ANTLR end T30
446
    // $ANTLR end "T__30"
402
447
403
    // $ANTLR start T31
448
    // $ANTLR start "T__31"
404
    public final void mT31() throws RecognitionException {
449
    public final void mT__31() throws RecognitionException {
405
        try {
450
        try {
406
            int _type = T31;
451
            int _type = T__31;
407
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:29:5: ( '=' )
452
            int _channel = DEFAULT_TOKEN_CHANNEL;
408
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:29:7: '='
453
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:30:7: ( '=' )
454
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:30:9: '='
409
            {
455
            {
410
            match('='); 
456
            match('='); 
411
457
412
            }
458
            }
413
459
414
            this.type = _type;
460
            state.type = _type;
461
            state.channel = _channel;
415
        }
462
        }
416
        finally {
463
        finally {
417
        }
464
        }
418
    }
465
    }
419
    // $ANTLR end T31
466
    // $ANTLR end "T__31"
420
467
421
    // $ANTLR start T32
468
    // $ANTLR start "T__32"
422
    public final void mT32() throws RecognitionException {
469
    public final void mT__32() throws RecognitionException {
423
        try {
470
        try {
424
            int _type = T32;
471
            int _type = T__32;
425
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:30:5: ( '/' )
472
            int _channel = DEFAULT_TOKEN_CHANNEL;
426
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:30:7: '/'
473
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:31:7: ( '/' )
474
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:31:9: '/'
427
            {
475
            {
428
            match('/'); 
476
            match('/'); 
429
477
430
            }
478
            }
431
479
432
            this.type = _type;
480
            state.type = _type;
481
            state.channel = _channel;
433
        }
482
        }
434
        finally {
483
        finally {
435
        }
484
        }
436
    }
485
    }
437
    // $ANTLR end T32
486
    // $ANTLR end "T__32"
438
487
439
    // $ANTLR start RULE_UNLIMITEDLITERAL
488
    // $ANTLR start "RULE_UNLIMITEDLITERAL"
440
    public final void mRULE_UNLIMITEDLITERAL() throws RecognitionException {
489
    public final void mRULE_UNLIMITEDLITERAL() throws RecognitionException {
441
        try {
490
        try {
442
            int _type = RULE_UNLIMITEDLITERAL;
491
            int _type = RULE_UNLIMITEDLITERAL;
492
            int _channel = DEFAULT_TOKEN_CHANNEL;
443
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1838:23: ( ( '0' .. '9' ( '0' .. '9' )* | '*' ) )
493
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1838:23: ( ( '0' .. '9' ( '0' .. '9' )* | '*' ) )
444
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1838:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
494
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1838:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
445
            {
495
            {
Lines 455-461 Link Here
455
            }
505
            }
456
            else {
506
            else {
457
                NoViableAltException nvae =
507
                NoViableAltException nvae =
458
                    new NoViableAltException("1838:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )", 2, 0, input);
508
                    new NoViableAltException("", 2, 0, input);
459
509
460
                throw nvae;
510
                throw nvae;
461
            }
511
            }
Lines 505-521 Link Here
505
555
506
            }
556
            }
507
557
508
            this.type = _type;
558
            state.type = _type;
559
            state.channel = _channel;
509
        }
560
        }
510
        finally {
561
        finally {
511
        }
562
        }
512
    }
563
    }
513
    // $ANTLR end RULE_UNLIMITEDLITERAL
564
    // $ANTLR end "RULE_UNLIMITEDLITERAL"
514
565
515
    // $ANTLR start RULE_ID
566
    // $ANTLR start "RULE_ID"
516
    public final void mRULE_ID() throws RecognitionException {
567
    public final void mRULE_ID() throws RecognitionException {
517
        try {
568
        try {
518
            int _type = RULE_ID;
569
            int _type = RULE_ID;
570
            int _channel = DEFAULT_TOKEN_CHANNEL;
519
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1840:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
571
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1840:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
520
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1840:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
572
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1840:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
521
            {
573
            {
Lines 542-551 Link Here
542
594
543
            }
595
            }
544
            else {
596
            else {
545
                MismatchedSetException mse =
597
                MismatchedSetException mse = new MismatchedSetException(null,input);
546
                    new MismatchedSetException(null,input);
598
                recover(mse);
547
                recover(mse);    throw mse;
599
                throw mse;}
548
            }
549
600
550
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1840:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
601
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1840:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
551
            loop4:
602
            loop4:
Lines 567-576 Link Here
567
618
568
            	    }
619
            	    }
569
            	    else {
620
            	    else {
570
            	        MismatchedSetException mse =
621
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
571
            	            new MismatchedSetException(null,input);
622
            	        recover(mse);
572
            	        recover(mse);    throw mse;
623
            	        throw mse;}
573
            	    }
574
624
575
625
576
            	    }
626
            	    }
Lines 584-600 Link Here
584
634
585
            }
635
            }
586
636
587
            this.type = _type;
637
            state.type = _type;
638
            state.channel = _channel;
588
        }
639
        }
589
        finally {
640
        finally {
590
        }
641
        }
591
    }
642
    }
592
    // $ANTLR end RULE_ID
643
    // $ANTLR end "RULE_ID"
593
644
594
    // $ANTLR start RULE_INT
645
    // $ANTLR start "RULE_INT"
595
    public final void mRULE_INT() throws RecognitionException {
646
    public final void mRULE_INT() throws RecognitionException {
596
        try {
647
        try {
597
            int _type = RULE_INT;
648
            int _type = RULE_INT;
649
            int _channel = DEFAULT_TOKEN_CHANNEL;
598
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1842:10: ( ( '0' .. '9' )+ )
650
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1842:10: ( ( '0' .. '9' )+ )
599
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1842:12: ( '0' .. '9' )+
651
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1842:12: ( '0' .. '9' )+
600
            {
652
            {
Lines 631-651 Link Here
631
683
632
            }
684
            }
633
685
634
            this.type = _type;
686
            state.type = _type;
687
            state.channel = _channel;
635
        }
688
        }
636
        finally {
689
        finally {
637
        }
690
        }
638
    }
691
    }
639
    // $ANTLR end RULE_INT
692
    // $ANTLR end "RULE_INT"
640
693
641
    // $ANTLR start RULE_STRING
694
    // $ANTLR start "RULE_STRING"
642
    public final void mRULE_STRING() throws RecognitionException {
695
    public final void mRULE_STRING() throws RecognitionException {
643
        try {
696
        try {
644
            int _type = RULE_STRING;
697
            int _type = RULE_STRING;
645
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
698
            int _channel = DEFAULT_TOKEN_CHANNEL;
646
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
699
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
700
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
647
            {
701
            {
648
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
702
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
649
            int alt8=2;
703
            int alt8=2;
650
            int LA8_0 = input.LA(1);
704
            int LA8_0 = input.LA(1);
651
705
Lines 657-672 Link Here
657
            }
711
            }
658
            else {
712
            else {
659
                NoViableAltException nvae =
713
                NoViableAltException nvae =
660
                    new NoViableAltException("1844:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 8, 0, input);
714
                    new NoViableAltException("", 8, 0, input);
661
715
662
                throw nvae;
716
                throw nvae;
663
            }
717
            }
664
            switch (alt8) {
718
            switch (alt8) {
665
                case 1 :
719
                case 1 :
666
                    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
720
                    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
667
                    {
721
                    {
668
                    match('\"'); 
722
                    match('\"'); 
669
                    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
723
                    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
670
                    loop6:
724
                    loop6:
671
                    do {
725
                    do {
672
                        int alt6=3;
726
                        int alt6=3;
Lines 675-715 Link Here
675
                        if ( (LA6_0=='\\') ) {
729
                        if ( (LA6_0=='\\') ) {
676
                            alt6=1;
730
                            alt6=1;
677
                        }
731
                        }
678
                        else if ( ((LA6_0>='\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFE')) ) {
732
                        else if ( ((LA6_0>='\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) {
679
                            alt6=2;
733
                            alt6=2;
680
                        }
734
                        }
681
735
682
736
683
                        switch (alt6) {
737
                        switch (alt6) {
684
                    	case 1 :
738
                    	case 1 :
685
                    	    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
739
                    	    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
686
                    	    {
740
                    	    {
687
                    	    match('\\'); 
741
                    	    match('\\'); 
688
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
742
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
689
                    	        input.consume();
743
                    	        input.consume();
690
744
691
                    	    }
745
                    	    }
692
                    	    else {
746
                    	    else {
693
                    	        MismatchedSetException mse =
747
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
694
                    	            new MismatchedSetException(null,input);
748
                    	        recover(mse);
695
                    	        recover(mse);    throw mse;
749
                    	        throw mse;}
696
                    	    }
697
750
698
751
699
                    	    }
752
                    	    }
700
                    	    break;
753
                    	    break;
701
                    	case 2 :
754
                    	case 2 :
702
                    	    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:62: ~ ( ( '\\\\' | '\"' ) )
755
                    	    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:66: ~ ( ( '\\\\' | '\"' ) )
703
                    	    {
756
                    	    {
704
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
757
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
705
                    	        input.consume();
758
                    	        input.consume();
706
759
707
                    	    }
760
                    	    }
708
                    	    else {
761
                    	    else {
709
                    	        MismatchedSetException mse =
762
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
710
                    	            new MismatchedSetException(null,input);
763
                    	        recover(mse);
711
                    	        recover(mse);    throw mse;
764
                    	        throw mse;}
712
                    	    }
713
765
714
766
715
                    	    }
767
                    	    }
Lines 725-734 Link Here
725
                    }
777
                    }
726
                    break;
778
                    break;
727
                case 2 :
779
                case 2 :
728
                    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
780
                    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
729
                    {
781
                    {
730
                    match('\''); 
782
                    match('\''); 
731
                    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
783
                    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
732
                    loop7:
784
                    loop7:
733
                    do {
785
                    do {
734
                        int alt7=3;
786
                        int alt7=3;
Lines 737-777 Link Here
737
                        if ( (LA7_0=='\\') ) {
789
                        if ( (LA7_0=='\\') ) {
738
                            alt7=1;
790
                            alt7=1;
739
                        }
791
                        }
740
                        else if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFE')) ) {
792
                        else if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) {
741
                            alt7=2;
793
                            alt7=2;
742
                        }
794
                        }
743
795
744
796
745
                        switch (alt7) {
797
                        switch (alt7) {
746
                    	case 1 :
798
                    	case 1 :
747
                    	    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
799
                    	    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
748
                    	    {
800
                    	    {
749
                    	    match('\\'); 
801
                    	    match('\\'); 
750
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
802
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
751
                    	        input.consume();
803
                    	        input.consume();
752
804
753
                    	    }
805
                    	    }
754
                    	    else {
806
                    	    else {
755
                    	        MismatchedSetException mse =
807
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
756
                    	            new MismatchedSetException(null,input);
808
                    	        recover(mse);
757
                    	        recover(mse);    throw mse;
809
                    	        throw mse;}
758
                    	    }
759
810
760
811
761
                    	    }
812
                    	    }
762
                    	    break;
813
                    	    break;
763
                    	case 2 :
814
                    	case 2 :
764
                    	    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:129: ~ ( ( '\\\\' | '\\'' ) )
815
                    	    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1844:137: ~ ( ( '\\\\' | '\\'' ) )
765
                    	    {
816
                    	    {
766
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
817
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
767
                    	        input.consume();
818
                    	        input.consume();
768
819
769
                    	    }
820
                    	    }
770
                    	    else {
821
                    	    else {
771
                    	        MismatchedSetException mse =
822
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
772
                    	            new MismatchedSetException(null,input);
823
                    	        recover(mse);
773
                    	        recover(mse);    throw mse;
824
                    	        throw mse;}
774
                    	    }
775
825
776
826
777
                    	    }
827
                    	    }
Lines 792-808 Link Here
792
842
793
            }
843
            }
794
844
795
            this.type = _type;
845
            state.type = _type;
846
            state.channel = _channel;
796
        }
847
        }
797
        finally {
848
        finally {
798
        }
849
        }
799
    }
850
    }
800
    // $ANTLR end RULE_STRING
851
    // $ANTLR end "RULE_STRING"
801
852
802
    // $ANTLR start RULE_ML_COMMENT
853
    // $ANTLR start "RULE_ML_COMMENT"
803
    public final void mRULE_ML_COMMENT() throws RecognitionException {
854
    public final void mRULE_ML_COMMENT() throws RecognitionException {
804
        try {
855
        try {
805
            int _type = RULE_ML_COMMENT;
856
            int _type = RULE_ML_COMMENT;
857
            int _channel = DEFAULT_TOKEN_CHANNEL;
806
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1846:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
858
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1846:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
807
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1846:19: '/*' ( options {greedy=false; } : . )* '*/'
859
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1846:19: '/*' ( options {greedy=false; } : . )* '*/'
808
            {
860
            {
Lines 820-832 Link Here
820
                    if ( (LA9_1=='/') ) {
872
                    if ( (LA9_1=='/') ) {
821
                        alt9=2;
873
                        alt9=2;
822
                    }
874
                    }
823
                    else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFE')) ) {
875
                    else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) {
824
                        alt9=1;
876
                        alt9=1;
825
                    }
877
                    }
826
878
827
879
828
                }
880
                }
829
                else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFE')) ) {
881
                else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) {
830
                    alt9=1;
882
                    alt9=1;
831
                }
883
                }
832
884
Lines 850-866 Link Here
850
902
851
            }
903
            }
852
904
853
            this.type = _type;
905
            state.type = _type;
906
            state.channel = _channel;
854
        }
907
        }
855
        finally {
908
        finally {
856
        }
909
        }
857
    }
910
    }
858
    // $ANTLR end RULE_ML_COMMENT
911
    // $ANTLR end "RULE_ML_COMMENT"
859
912
860
    // $ANTLR start RULE_SL_COMMENT
913
    // $ANTLR start "RULE_SL_COMMENT"
861
    public final void mRULE_SL_COMMENT() throws RecognitionException {
914
    public final void mRULE_SL_COMMENT() throws RecognitionException {
862
        try {
915
        try {
863
            int _type = RULE_SL_COMMENT;
916
            int _type = RULE_SL_COMMENT;
917
            int _channel = DEFAULT_TOKEN_CHANNEL;
864
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1848:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
918
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1848:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
865
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1848:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
919
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1848:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
866
            {
920
            {
Lines 872-878 Link Here
872
                int alt10=2;
926
                int alt10=2;
873
                int LA10_0 = input.LA(1);
927
                int LA10_0 = input.LA(1);
874
928
875
                if ( ((LA10_0>='\u0000' && LA10_0<='\t')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\uFFFE')) ) {
929
                if ( ((LA10_0>='\u0000' && LA10_0<='\t')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\uFFFF')) ) {
876
                    alt10=1;
930
                    alt10=1;
877
                }
931
                }
878
932
Lines 881-895 Link Here
881
            	case 1 :
935
            	case 1 :
882
            	    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1848:24: ~ ( ( '\\n' | '\\r' ) )
936
            	    // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1848:24: ~ ( ( '\\n' | '\\r' ) )
883
            	    {
937
            	    {
884
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFE') ) {
938
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
885
            	        input.consume();
939
            	        input.consume();
886
940
887
            	    }
941
            	    }
888
            	    else {
942
            	    else {
889
            	        MismatchedSetException mse =
943
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
890
            	            new MismatchedSetException(null,input);
944
            	        recover(mse);
891
            	        recover(mse);    throw mse;
945
            	        throw mse;}
892
            	    }
893
946
894
947
895
            	    }
948
            	    }
Lines 939-955 Link Here
939
992
940
            }
993
            }
941
994
942
            this.type = _type;
995
            state.type = _type;
996
            state.channel = _channel;
943
        }
997
        }
944
        finally {
998
        finally {
945
        }
999
        }
946
    }
1000
    }
947
    // $ANTLR end RULE_SL_COMMENT
1001
    // $ANTLR end "RULE_SL_COMMENT"
948
1002
949
    // $ANTLR start RULE_WS
1003
    // $ANTLR start "RULE_WS"
950
    public final void mRULE_WS() throws RecognitionException {
1004
    public final void mRULE_WS() throws RecognitionException {
951
        try {
1005
        try {
952
            int _type = RULE_WS;
1006
            int _type = RULE_WS;
1007
            int _channel = DEFAULT_TOKEN_CHANNEL;
953
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1850:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
1008
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1850:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
954
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1850:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1009
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1850:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
955
            {
1010
            {
Lines 974-983 Link Here
974
1029
975
            	    }
1030
            	    }
976
            	    else {
1031
            	    else {
977
            	        MismatchedSetException mse =
1032
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
978
            	            new MismatchedSetException(null,input);
1033
            	        recover(mse);
979
            	        recover(mse);    throw mse;
1034
            	        throw mse;}
980
            	    }
981
1035
982
1036
983
            	    }
1037
            	    }
Lines 995-1011 Link Here
995
1049
996
            }
1050
            }
997
1051
998
            this.type = _type;
1052
            state.type = _type;
1053
            state.channel = _channel;
999
        }
1054
        }
1000
        finally {
1055
        finally {
1001
        }
1056
        }
1002
    }
1057
    }
1003
    // $ANTLR end RULE_WS
1058
    // $ANTLR end "RULE_WS"
1004
1059
1005
    // $ANTLR start RULE_ANY_OTHER
1060
    // $ANTLR start "RULE_ANY_OTHER"
1006
    public final void mRULE_ANY_OTHER() throws RecognitionException {
1061
    public final void mRULE_ANY_OTHER() throws RecognitionException {
1007
        try {
1062
        try {
1008
            int _type = RULE_ANY_OTHER;
1063
            int _type = RULE_ANY_OTHER;
1064
            int _channel = DEFAULT_TOKEN_CHANNEL;
1009
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1852:16: ( . )
1065
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1852:16: ( . )
1010
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1852:18: .
1066
            // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1852:18: .
1011
            {
1067
            {
Lines 1013-1228 Link Here
1013
1069
1014
            }
1070
            }
1015
1071
1016
            this.type = _type;
1072
            state.type = _type;
1073
            state.channel = _channel;
1017
        }
1074
        }
1018
        finally {
1075
        finally {
1019
        }
1076
        }
1020
    }
1077
    }
1021
    // $ANTLR end RULE_ANY_OTHER
1078
    // $ANTLR end "RULE_ANY_OTHER"
1022
1079
1023
    public void mTokens() throws RecognitionException {
1080
    public void mTokens() throws RecognitionException {
1024
        // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:8: ( T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
1081
        // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
1025
        int alt14=29;
1082
        int alt14=29;
1026
        alt14 = dfa14.predict(input);
1083
        alt14 = dfa14.predict(input);
1027
        switch (alt14) {
1084
        switch (alt14) {
1028
            case 1 :
1085
            case 1 :
1029
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:10: T12
1086
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:10: T__12
1030
                {
1087
                {
1031
                mT12(); 
1088
                mT__12(); 
1032
1089
1033
                }
1090
                }
1034
                break;
1091
                break;
1035
            case 2 :
1092
            case 2 :
1036
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:14: T13
1093
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:16: T__13
1037
                {
1094
                {
1038
                mT13(); 
1095
                mT__13(); 
1039
1096
1040
                }
1097
                }
1041
                break;
1098
                break;
1042
            case 3 :
1099
            case 3 :
1043
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:18: T14
1100
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:22: T__14
1044
                {
1101
                {
1045
                mT14(); 
1102
                mT__14(); 
1046
1103
1047
                }
1104
                }
1048
                break;
1105
                break;
1049
            case 4 :
1106
            case 4 :
1050
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:22: T15
1107
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:28: T__15
1051
                {
1108
                {
1052
                mT15(); 
1109
                mT__15(); 
1053
1110
1054
                }
1111
                }
1055
                break;
1112
                break;
1056
            case 5 :
1113
            case 5 :
1057
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:26: T16
1114
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:34: T__16
1058
                {
1115
                {
1059
                mT16(); 
1116
                mT__16(); 
1060
1117
1061
                }
1118
                }
1062
                break;
1119
                break;
1063
            case 6 :
1120
            case 6 :
1064
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:30: T17
1121
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:40: T__17
1065
                {
1122
                {
1066
                mT17(); 
1123
                mT__17(); 
1067
1124
1068
                }
1125
                }
1069
                break;
1126
                break;
1070
            case 7 :
1127
            case 7 :
1071
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:34: T18
1128
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:46: T__18
1072
                {
1129
                {
1073
                mT18(); 
1130
                mT__18(); 
1074
1131
1075
                }
1132
                }
1076
                break;
1133
                break;
1077
            case 8 :
1134
            case 8 :
1078
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:38: T19
1135
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:52: T__19
1079
                {
1136
                {
1080
                mT19(); 
1137
                mT__19(); 
1081
1138
1082
                }
1139
                }
1083
                break;
1140
                break;
1084
            case 9 :
1141
            case 9 :
1085
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:42: T20
1142
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:58: T__20
1086
                {
1143
                {
1087
                mT20(); 
1144
                mT__20(); 
1088
1145
1089
                }
1146
                }
1090
                break;
1147
                break;
1091
            case 10 :
1148
            case 10 :
1092
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:46: T21
1149
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:64: T__21
1093
                {
1150
                {
1094
                mT21(); 
1151
                mT__21(); 
1095
1152
1096
                }
1153
                }
1097
                break;
1154
                break;
1098
            case 11 :
1155
            case 11 :
1099
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:50: T22
1156
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:70: T__22
1100
                {
1157
                {
1101
                mT22(); 
1158
                mT__22(); 
1102
1159
1103
                }
1160
                }
1104
                break;
1161
                break;
1105
            case 12 :
1162
            case 12 :
1106
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:54: T23
1163
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:76: T__23
1107
                {
1164
                {
1108
                mT23(); 
1165
                mT__23(); 
1109
1166
1110
                }
1167
                }
1111
                break;
1168
                break;
1112
            case 13 :
1169
            case 13 :
1113
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:58: T24
1170
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:82: T__24
1114
                {
1171
                {
1115
                mT24(); 
1172
                mT__24(); 
1116
1173
1117
                }
1174
                }
1118
                break;
1175
                break;
1119
            case 14 :
1176
            case 14 :
1120
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:62: T25
1177
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:88: T__25
1121
                {
1178
                {
1122
                mT25(); 
1179
                mT__25(); 
1123
1180
1124
                }
1181
                }
1125
                break;
1182
                break;
1126
            case 15 :
1183
            case 15 :
1127
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:66: T26
1184
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:94: T__26
1128
                {
1185
                {
1129
                mT26(); 
1186
                mT__26(); 
1130
1187
1131
                }
1188
                }
1132
                break;
1189
                break;
1133
            case 16 :
1190
            case 16 :
1134
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:70: T27
1191
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:100: T__27
1135
                {
1192
                {
1136
                mT27(); 
1193
                mT__27(); 
1137
1194
1138
                }
1195
                }
1139
                break;
1196
                break;
1140
            case 17 :
1197
            case 17 :
1141
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:74: T28
1198
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:106: T__28
1142
                {
1199
                {
1143
                mT28(); 
1200
                mT__28(); 
1144
1201
1145
                }
1202
                }
1146
                break;
1203
                break;
1147
            case 18 :
1204
            case 18 :
1148
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:78: T29
1205
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:112: T__29
1149
                {
1206
                {
1150
                mT29(); 
1207
                mT__29(); 
1151
1208
1152
                }
1209
                }
1153
                break;
1210
                break;
1154
            case 19 :
1211
            case 19 :
1155
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:82: T30
1212
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:118: T__30
1156
                {
1213
                {
1157
                mT30(); 
1214
                mT__30(); 
1158
1215
1159
                }
1216
                }
1160
                break;
1217
                break;
1161
            case 20 :
1218
            case 20 :
1162
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:86: T31
1219
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:124: T__31
1163
                {
1220
                {
1164
                mT31(); 
1221
                mT__31(); 
1165
1222
1166
                }
1223
                }
1167
                break;
1224
                break;
1168
            case 21 :
1225
            case 21 :
1169
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:90: T32
1226
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:130: T__32
1170
                {
1227
                {
1171
                mT32(); 
1228
                mT__32(); 
1172
1229
1173
                }
1230
                }
1174
                break;
1231
                break;
1175
            case 22 :
1232
            case 22 :
1176
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:94: RULE_UNLIMITEDLITERAL
1233
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:136: RULE_UNLIMITEDLITERAL
1177
                {
1234
                {
1178
                mRULE_UNLIMITEDLITERAL(); 
1235
                mRULE_UNLIMITEDLITERAL(); 
1179
1236
1180
                }
1237
                }
1181
                break;
1238
                break;
1182
            case 23 :
1239
            case 23 :
1183
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:116: RULE_ID
1240
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:158: RULE_ID
1184
                {
1241
                {
1185
                mRULE_ID(); 
1242
                mRULE_ID(); 
1186
1243
1187
                }
1244
                }
1188
                break;
1245
                break;
1189
            case 24 :
1246
            case 24 :
1190
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:124: RULE_INT
1247
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:166: RULE_INT
1191
                {
1248
                {
1192
                mRULE_INT(); 
1249
                mRULE_INT(); 
1193
1250
1194
                }
1251
                }
1195
                break;
1252
                break;
1196
            case 25 :
1253
            case 25 :
1197
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:133: RULE_STRING
1254
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:175: RULE_STRING
1198
                {
1255
                {
1199
                mRULE_STRING(); 
1256
                mRULE_STRING(); 
1200
1257
1201
                }
1258
                }
1202
                break;
1259
                break;
1203
            case 26 :
1260
            case 26 :
1204
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:145: RULE_ML_COMMENT
1261
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:187: RULE_ML_COMMENT
1205
                {
1262
                {
1206
                mRULE_ML_COMMENT(); 
1263
                mRULE_ML_COMMENT(); 
1207
1264
1208
                }
1265
                }
1209
                break;
1266
                break;
1210
            case 27 :
1267
            case 27 :
1211
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:161: RULE_SL_COMMENT
1268
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:203: RULE_SL_COMMENT
1212
                {
1269
                {
1213
                mRULE_SL_COMMENT(); 
1270
                mRULE_SL_COMMENT(); 
1214
1271
1215
                }
1272
                }
1216
                break;
1273
                break;
1217
            case 28 :
1274
            case 28 :
1218
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:177: RULE_WS
1275
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:219: RULE_WS
1219
                {
1276
                {
1220
                mRULE_WS(); 
1277
                mRULE_WS(); 
1221
1278
1222
                }
1279
                }
1223
                break;
1280
                break;
1224
            case 29 :
1281
            case 29 :
1225
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:185: RULE_ANY_OTHER
1282
                // ../org.eclipse.papyrus.property.editor.xtext.ui/src-gen/org/eclipse/papyrus/property/editor/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g:1:227: RULE_ANY_OTHER
1226
                {
1283
                {
1227
                mRULE_ANY_OTHER(); 
1284
                mRULE_ANY_OTHER(); 
1228
1285
Lines 1239-1274 Link Here
1239
        "\1\uffff\1\32\4\uffff\3\41\1\45\2\uffff\1\32\3\uffff\1\41\1\uffff"+
1296
        "\1\uffff\1\32\4\uffff\3\41\1\45\2\uffff\1\32\3\uffff\1\41\1\uffff"+
1240
        "\1\60\1\61\1\uffff\1\32\1\uffff\2\32\7\uffff\1\41\1\uffff\2\41\10"+
1297
        "\1\60\1\61\1\uffff\1\32\1\uffff\2\32\7\uffff\1\41\1\uffff\2\41\10"+
1241
        "\uffff\1\41\5\uffff\1\61\2\uffff\15\41\1\110\5\41\1\uffff\1\116"+
1298
        "\uffff\1\41\5\uffff\1\61\2\uffff\15\41\1\110\5\41\1\uffff\1\116"+
1242
        "\4\41\1\uffff\1\123\1\124\1\41\1\126\2\uffff\1\127\2\uffff";
1299
        "\4\41\1\uffff\1\123\1\124\1\125\1\41\3\uffff\1\127\1\uffff";
1243
    static final String DFA14_eofS =
1300
    static final String DFA14_eofS =
1244
        "\130\uffff";
1301
        "\130\uffff";
1245
    static final String DFA14_minS =
1302
    static final String DFA14_minS =
1246
        "\1\0\1\125\4\uffff\1\145\1\156\1\162\1\72\2\uffff\1\56\3\uffff\1"+
1303
        "\1\0\1\125\4\uffff\1\145\1\156\1\162\1\72\2\uffff\1\56\3\uffff"+
1247
        "\165\1\uffff\1\52\1\60\1\uffff\1\101\1\uffff\2\0\7\uffff\1\141\1"+
1304
        "\1\165\1\uffff\1\52\1\60\1\uffff\1\101\1\uffff\2\0\7\uffff\1\141"+
1248
        "\uffff\1\151\1\144\10\uffff\1\142\5\uffff\1\60\2\uffff\1\145\1\144"+
1305
        "\1\uffff\1\151\1\144\10\uffff\1\142\5\uffff\1\60\2\uffff\1\144\1"+
1249
        "\1\157\1\145\1\163\1\146\1\117\1\156\1\165\1\162\1\145\1\151\1\156"+
1306
        "\145\1\157\1\145\1\163\1\117\1\146\1\156\1\165\1\162\1\145\1\156"+
1250
        "\1\60\2\145\1\164\1\156\1\154\1\uffff\1\60\1\144\1\163\1\145\1\171"+
1307
        "\1\151\1\60\2\145\1\164\1\154\1\156\1\uffff\1\60\1\144\1\163\1\171"+
1251
        "\1\uffff\2\60\1\163\1\60\2\uffff\1\60\2\uffff";
1308
        "\1\145\1\uffff\3\60\1\163\3\uffff\1\60\1\uffff";
1252
    static final String DFA14_maxS =
1309
    static final String DFA14_maxS =
1253
        "\1\ufffe\1\125\4\uffff\1\145\1\156\1\162\1\72\2\uffff\1\56\3\uffff"+
1310
        "\1\uffff\1\125\4\uffff\1\145\1\156\1\162\1\72\2\uffff\1\56\3\uffff"+
1254
        "\1\165\1\uffff\1\57\1\71\1\uffff\1\172\1\uffff\2\ufffe\7\uffff\1"+
1311
        "\1\165\1\uffff\1\57\1\71\1\uffff\1\172\1\uffff\2\uffff\7\uffff\1"+
1255
        "\144\1\uffff\1\151\1\144\10\uffff\1\142\5\uffff\1\71\2\uffff\1\145"+
1312
        "\144\1\uffff\1\151\1\144\10\uffff\1\142\5\uffff\1\71\2\uffff\1\144"+
1256
        "\1\144\1\161\1\145\1\163\1\146\1\117\1\156\1\165\1\162\1\145\1\151"+
1313
        "\1\145\1\161\1\145\1\163\1\117\1\146\1\156\1\165\1\162\1\145\1\156"+
1257
        "\1\156\1\172\2\145\1\164\1\156\1\154\1\uffff\1\172\1\144\1\163\1"+
1314
        "\1\151\1\172\2\145\1\164\1\154\1\156\1\uffff\1\172\1\144\1\163\1"+
1258
        "\145\1\171\1\uffff\2\172\1\163\1\172\2\uffff\1\172\2\uffff";
1315
        "\171\1\145\1\uffff\3\172\1\163\3\uffff\1\172\1\uffff";
1259
    static final String DFA14_acceptS =
1316
    static final String DFA14_acceptS =
1260
        "\2\uffff\1\2\1\3\1\4\1\5\4\uffff\1\14\1\15\1\uffff\1\17\1\20\1\21"+
1317
        "\2\uffff\1\2\1\3\1\4\1\5\4\uffff\1\14\1\15\1\uffff\1\17\1\20\1"+
1261
        "\1\uffff\1\24\2\uffff\1\26\1\uffff\1\27\2\uffff\1\34\1\35\1\1\1"+
1318
        "\21\1\uffff\1\24\2\uffff\1\26\1\uffff\1\27\2\uffff\1\34\1\35\1\1"+
1262
        "\2\1\3\1\4\1\5\1\uffff\1\27\2\uffff\1\13\1\12\1\14\1\15\1\16\1\17"+
1319
        "\1\2\1\3\1\4\1\5\1\uffff\1\27\2\uffff\1\13\1\12\1\14\1\15\1\16\1"+
1263
        "\1\20\1\21\1\uffff\1\24\1\32\1\33\1\25\1\26\1\uffff\1\31\1\34\23"+
1320
        "\17\1\20\1\21\1\uffff\1\24\1\32\1\33\1\25\1\26\1\uffff\1\31\1\34"+
1264
        "\uffff\1\7\5\uffff\1\11\4\uffff\1\10\1\23\1\uffff\1\6\1\22";
1321
        "\23\uffff\1\7\5\uffff\1\11\4\uffff\1\10\1\23\1\6\1\uffff\1\22";
1265
    static final String DFA14_specialS =
1322
    static final String DFA14_specialS =
1266
        "\130\uffff}>";
1323
        "\1\2\26\uffff\1\0\1\1\77\uffff}>";
1267
    static final String[] DFA14_transitionS = {
1324
    static final String[] DFA14_transitionS = {
1268
            "\11\32\2\31\2\32\1\31\22\32\1\31\1\32\1\27\1\4\3\32\1\30\2\32"+
1325
            "\11\32\2\31\2\32\1\31\22\32\1\31\1\32\1\27\1\4\3\32\1\30\2"+
1269
            "\1\24\1\2\1\17\1\3\1\14\1\22\12\23\1\11\1\32\1\1\1\21\3\32\32"+
1326
            "\32\1\24\1\2\1\17\1\3\1\14\1\22\12\23\1\11\1\32\1\1\1\21\3\32"+
1270
            "\26\1\12\1\32\1\13\1\25\1\26\1\32\16\26\1\10\2\26\1\6\1\20\1"+
1327
            "\32\26\1\12\1\32\1\13\1\25\1\26\1\32\16\26\1\10\2\26\1\6\1\20"+
1271
            "\26\1\7\5\26\1\15\1\32\1\16\1\5\uff80\32",
1328
            "\1\26\1\7\5\26\1\15\1\32\1\16\1\5\uff81\32",
1272
            "\1\33",
1329
            "\1\33",
1273
            "",
1330
            "",
1274
            "",
1331
            "",
Lines 1291-1298 Link Here
1291
            "",
1348
            "",
1292
            "\32\41\4\uffff\1\41\1\uffff\32\41",
1349
            "\32\41\4\uffff\1\41\1\uffff\32\41",
1293
            "",
1350
            "",
1294
            "\uffff\63",
1351
            "\0\63",
1295
            "\uffff\63",
1352
            "\0\63",
1296
            "",
1353
            "",
1297
            "",
1354
            "",
1298
            "",
1355
            "",
Lines 1300-1306 Link Here
1300
            "",
1357
            "",
1301
            "",
1358
            "",
1302
            "",
1359
            "",
1303
            "\1\66\2\uffff\1\65",
1360
            "\1\65\2\uffff\1\66",
1304
            "",
1361
            "",
1305
            "\1\67",
1362
            "\1\67",
1306
            "\1\70",
1363
            "\1\70",
Lines 1349-1360 Link Here
1349
            "",
1406
            "",
1350
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1407
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1351
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1408
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1352
            "\1\125",
1353
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1409
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1410
            "\1\126",
1354
            "",
1411
            "",
1355
            "",
1412
            "",
1356
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1357
            "",
1413
            "",
1414
            "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1358
            ""
1415
            ""
1359
    };
1416
    };
1360
1417
Lines 1388-1394 Link Here
1388
            this.transition = DFA14_transition;
1445
            this.transition = DFA14_transition;
1389
        }
1446
        }
1390
        public String getDescription() {
1447
        public String getDescription() {
1391
            return "1:1: Tokens : ( T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
1448
            return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
1449
        }
1450
        public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
1451
            IntStream input = _input;
1452
        	int _s = s;
1453
            switch ( s ) {
1454
                    case 0 : 
1455
                        int LA14_23 = input.LA(1);
1456
1457
                        s = -1;
1458
                        if ( ((LA14_23>='\u0000' && LA14_23<='\uFFFF')) ) {s = 51;}
1459
1460
                        else s = 26;
1461
1462
                        if ( s>=0 ) return s;
1463
                        break;
1464
                    case 1 : 
1465
                        int LA14_24 = input.LA(1);
1466
1467
                        s = -1;
1468
                        if ( ((LA14_24>='\u0000' && LA14_24<='\uFFFF')) ) {s = 51;}
1469
1470
                        else s = 26;
1471
1472
                        if ( s>=0 ) return s;
1473
                        break;
1474
                    case 2 : 
1475
                        int LA14_0 = input.LA(1);
1476
1477
                        s = -1;
1478
                        if ( (LA14_0=='<') ) {s = 1;}
1479
1480
                        else if ( (LA14_0=='+') ) {s = 2;}
1481
1482
                        else if ( (LA14_0=='-') ) {s = 3;}
1483
1484
                        else if ( (LA14_0=='#') ) {s = 4;}
1485
1486
                        else if ( (LA14_0=='~') ) {s = 5;}
1487
1488
                        else if ( (LA14_0=='r') ) {s = 6;}
1489
1490
                        else if ( (LA14_0=='u') ) {s = 7;}
1491
1492
                        else if ( (LA14_0=='o') ) {s = 8;}
1493
1494
                        else if ( (LA14_0==':') ) {s = 9;}
1495
1496
                        else if ( (LA14_0=='[') ) {s = 10;}
1497
1498
                        else if ( (LA14_0==']') ) {s = 11;}
1499
1500
                        else if ( (LA14_0=='.') ) {s = 12;}
1501
1502
                        else if ( (LA14_0=='{') ) {s = 13;}
1503
1504
                        else if ( (LA14_0=='}') ) {s = 14;}
1505
1506
                        else if ( (LA14_0==',') ) {s = 15;}
1507
1508
                        else if ( (LA14_0=='s') ) {s = 16;}
1509
1510
                        else if ( (LA14_0=='=') ) {s = 17;}
1511
1512
                        else if ( (LA14_0=='/') ) {s = 18;}
1513
1514
                        else if ( ((LA14_0>='0' && LA14_0<='9')) ) {s = 19;}
1515
1516
                        else if ( (LA14_0=='*') ) {s = 20;}
1517
1518
                        else if ( (LA14_0=='^') ) {s = 21;}
1519
1520
                        else if ( ((LA14_0>='A' && LA14_0<='Z')||LA14_0=='_'||(LA14_0>='a' && LA14_0<='n')||(LA14_0>='p' && LA14_0<='q')||LA14_0=='t'||(LA14_0>='v' && LA14_0<='z')) ) {s = 22;}
1521
1522
                        else if ( (LA14_0=='\"') ) {s = 23;}
1523
1524
                        else if ( (LA14_0=='\'') ) {s = 24;}
1525
1526
                        else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 25;}
1527
1528
                        else if ( ((LA14_0>='\u0000' && LA14_0<='\b')||(LA14_0>='\u000B' && LA14_0<='\f')||(LA14_0>='\u000E' && LA14_0<='\u001F')||LA14_0=='!'||(LA14_0>='$' && LA14_0<='&')||(LA14_0>='(' && LA14_0<=')')||LA14_0==';'||(LA14_0>='>' && LA14_0<='@')||LA14_0=='\\'||LA14_0=='`'||LA14_0=='|'||(LA14_0>='\u007F' && LA14_0<='\uFFFF')) ) {s = 26;}
1529
1530
                        if ( s>=0 ) return s;
1531
                        break;
1532
            }
1533
            NoViableAltException nvae =
1534
                new NoViableAltException(getDescription(), 14, _s, input);
1535
            error(nvae);
1536
            throw nvae;
1392
        }
1537
        }
1393
    }
1538
    }
1394
 
1539
 
(-)src-gen/org/eclipse/papyrus/property/editor/xtext/ui/AbstractUmlPropertyUiModule.java (-17 / +12 lines)
Lines 24-44 Link Here
24
	}
24
	}
25
25
26
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
26
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
27
	public Class<? extends org.eclipse.jface.text.rules.ITokenScanner> bindITokenScanner() {
28
		return org.eclipse.xtext.ui.editor.syntaxcoloring.antlr.AntlrTokenScanner.class;
29
	}
30
31
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
32
	public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
27
	public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
33
		return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
28
		return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
34
	}
29
	}
35
30
36
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
31
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
37
	public Class<? extends org.eclipse.xtext.ui.editor.IDamagerRepairer> bindIDamagerRepairer() {
38
		return org.eclipse.xtext.ui.editor.FastDamagerRepairer.class;
39
	}
40
41
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
42
	public void configureHighlightingLexer(com.google.inject.Binder binder) {
32
	public void configureHighlightingLexer(com.google.inject.Binder binder) {
43
		binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.property.editor.xtext.parser.antlr.internal.InternalUmlPropertyLexer.class);
33
		binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.property.editor.xtext.parser.antlr.internal.InternalUmlPropertyLexer.class);
44
	}
34
	}
Lines 48-53 Link Here
48
		binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
38
		binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
49
	}
39
	}
50
40
41
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
42
	public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() {
43
		return org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator.Null.class;
44
	}
45
51
	// contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
46
	// contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
52
	public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
47
	public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
53
		return org.eclipse.papyrus.property.editor.xtext.ui.labeling.UmlPropertyLabelProvider.class;
48
		return org.eclipse.papyrus.property.editor.xtext.ui.labeling.UmlPropertyLabelProvider.class;
Lines 58-71 Link Here
58
		binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.property.editor.xtext.ui.labeling.UmlPropertyDescriptionLabelProvider.class);
53
		binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.property.editor.xtext.ui.labeling.UmlPropertyDescriptionLabelProvider.class);
59
	}
54
	}
60
55
61
	// contributed by org.eclipse.xtext.ui.generator.outline.TransformerFragment
56
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
62
	public Class<? extends org.eclipse.xtext.ui.editor.outline.transformer.ISemanticModelTransformer> bindISemanticModelTransformer() {
57
	public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() {
63
		return org.eclipse.papyrus.property.editor.xtext.ui.outline.UmlPropertyTransformer.class;
58
		return org.eclipse.papyrus.property.editor.xtext.ui.outline.UmlPropertyOutlineTreeProvider.class;
64
	}
59
	}
65
60
66
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineNodeAdapterFactoryFragment
61
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
67
	public Class<? extends org.eclipse.xtext.ui.editor.outline.actions.IContentOutlineNodeAdapterFactory> bindIContentOutlineNodeAdapterFactory() {
62
	public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
68
		return org.eclipse.papyrus.property.editor.xtext.ui.outline.UmlPropertyOutlineNodeAdapterFactory.class;
63
		return org.eclipse.papyrus.property.editor.xtext.ui.outline.UmlPropertyOutlineTreeProvider.class;
69
	}
64
	}
70
65
71
	// contributed by org.eclipse.xtext.ui.generator.contentAssist.JavaBasedContentAssistFragment
66
	// contributed by org.eclipse.xtext.ui.generator.contentAssist.JavaBasedContentAssistFragment
Lines 95-101 Link Here
95
90
96
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
91
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
97
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
92
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
98
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.builderState.ShadowingResourceDescriptions.class);
93
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class);
99
	}
94
	}
100
95
101
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
96
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
(-)src/org/eclipse/papyrus/property/editor/xtext/ui/outline/UmlPropertyOutlineTreeProvider.java (+14 lines)
Line 0 Link Here
1
/*
2
* generated by Xtext
3
*/
4
package org.eclipse.papyrus.property.editor.xtext.ui.outline;
5
6
import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;
7
8
/**
9
 * customization of the default outline structure
10
 * 
11
 */
12
public class UmlPropertyOutlineTreeProvider extends DefaultOutlineTreeProvider {
13
	
14
}
(-)src/org/eclipse/papyrus/property/editor/xtext/ui/outline/UmlPropertyOutlineNodeAdapterFactory.java (-32 lines)
Lines 1-32 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.property.editor.xtext.ui.outline;
15
16
import org.eclipse.xtext.ui.editor.outline.actions.DefaultContentOutlineNodeAdapterFactory;
17
18
public class UmlPropertyOutlineNodeAdapterFactory extends DefaultContentOutlineNodeAdapterFactory {
19
20
	private static final Class<?>[] types = { 
21
		// provide list of classes to adapt to, e.g.:
22
		// Entity.class
23
		// Service.class
24
	};
25
26
	@Override
27
	public Class<?>[] getAdapterList() {
28
		return types;
29
	}
30
31
}
32
(-)src/org/eclipse/papyrus/property/editor/xtext/ui/outline/UmlPropertyTransformer.java (-24 lines)
Lines 1-24 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.property.editor.xtext.ui.outline;
15
16
import org.eclipse.xtext.ui.editor.outline.transformer.AbstractDeclarativeSemanticModelTransformer;
17
18
/**
19
 * customization of the default outline structure
20
 * 
21
 */
22
public class UmlPropertyTransformer extends AbstractDeclarativeSemanticModelTransformer {
23
	
24
}
(-)plugin.xml_gen (-1 lines)
Lines 139-145 Link Here
139
139
140
140
141
141
142
143
	<!-- Quick Outline -->
142
	<!-- Quick Outline -->
144
	<extension
143
	<extension
145
		point="org.eclipse.ui.handlers">
144
		point="org.eclipse.ui.handlers">
(-)plugin.xml_gen (-1 lines)
Lines 139-145 Link Here
139
139
140
140
141
141
142
143
	<!-- Quick Outline -->
142
	<!-- Quick Outline -->
144
	<extension
143
	<extension
145
		point="org.eclipse.ui.handlers">
144
		point="org.eclipse.ui.handlers">
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/ui/AbstractUmlStateUiModule.java (-16 / +11 lines)
Lines 24-44 Link Here
24
	}
24
	}
25
25
26
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
26
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
27
	public Class<? extends org.eclipse.jface.text.rules.ITokenScanner> bindITokenScanner() {
28
		return org.eclipse.xtext.ui.editor.syntaxcoloring.antlr.AntlrTokenScanner.class;
29
	}
30
31
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
32
	public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
27
	public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
33
		return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
28
		return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
34
	}
29
	}
35
30
36
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
31
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
37
	public Class<? extends org.eclipse.xtext.ui.editor.IDamagerRepairer> bindIDamagerRepairer() {
38
		return org.eclipse.xtext.ui.editor.XtextDamagerRepairer.class;
39
	}
40
41
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
42
	public void configureHighlightingLexer(com.google.inject.Binder binder) {
32
	public void configureHighlightingLexer(com.google.inject.Binder binder) {
43
		binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.state.editor.xtext.parser.antlr.internal.InternalUmlStateLexer.class);
33
		binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.state.editor.xtext.parser.antlr.internal.InternalUmlStateLexer.class);
44
	}
34
	}
Lines 48-53 Link Here
48
		binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
38
		binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
49
	}
39
	}
50
40
41
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
42
	public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() {
43
		return org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator.Null.class;
44
	}
45
51
	// contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
46
	// contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
52
	public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
47
	public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
53
		return org.eclipse.papyrus.state.editor.xtext.ui.labeling.UmlStateLabelProvider.class;
48
		return org.eclipse.papyrus.state.editor.xtext.ui.labeling.UmlStateLabelProvider.class;
Lines 58-71 Link Here
58
		binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.state.editor.xtext.ui.labeling.UmlStateDescriptionLabelProvider.class);
53
		binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.state.editor.xtext.ui.labeling.UmlStateDescriptionLabelProvider.class);
59
	}
54
	}
60
55
61
	// contributed by org.eclipse.xtext.ui.generator.outline.TransformerFragment
56
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
62
	public Class<? extends org.eclipse.xtext.ui.editor.outline.transformer.ISemanticModelTransformer> bindISemanticModelTransformer() {
57
	public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() {
63
		return org.eclipse.papyrus.state.editor.xtext.ui.outline.UmlStateTransformer.class;
58
		return org.eclipse.papyrus.state.editor.xtext.ui.outline.UmlStateOutlineTreeProvider.class;
64
	}
59
	}
65
60
66
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineNodeAdapterFactoryFragment
61
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
67
	public Class<? extends org.eclipse.xtext.ui.editor.outline.actions.IContentOutlineNodeAdapterFactory> bindIContentOutlineNodeAdapterFactory() {
62
	public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
68
		return org.eclipse.papyrus.state.editor.xtext.ui.outline.UmlStateOutlineNodeAdapterFactory.class;
63
		return org.eclipse.papyrus.state.editor.xtext.ui.outline.UmlStateOutlineTreeProvider.class;
69
	}
64
	}
70
65
71
	// contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
66
	// contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/ui/internal/UmlStateActivator.java (-10 / +19 lines)
Lines 1-24 Link Here
1
2
/*
1
/*
3
 * generated by Xtext
2
 * generated by Xtext
4
 */
3
 */
5
package org.eclipse.papyrus.state.editor.xtext.ui.internal;
4
package org.eclipse.papyrus.state.editor.xtext.ui.internal;
6
5
6
import static com.google.inject.util.Modules.override;
7
import static com.google.inject.Guice.createInjector;
8
7
import org.apache.log4j.Logger;
9
import org.apache.log4j.Logger;
8
10
9
import org.eclipse.ui.plugin.AbstractUIPlugin;
11
import org.eclipse.ui.plugin.AbstractUIPlugin;
10
import org.osgi.framework.BundleContext;
12
import org.osgi.framework.BundleContext;
11
13
12
import com.google.inject.Guice;
13
import com.google.inject.Injector;
14
import com.google.inject.Injector;
14
import com.google.inject.Module;
15
import com.google.inject.Module;
15
import com.google.inject.util.Modules;
16
16
17
import java.util.Map;
17
import java.util.Map;
18
import java.util.HashMap;
18
import java.util.HashMap;
19
19
20
/**
20
/**
21
 * Generated
21
 * This class was generated. Customizations should only happen in a newly
22
 * introduced subclass. 
22
 */
23
 */
23
public class UmlStateActivator extends AbstractUIPlugin {
24
public class UmlStateActivator extends AbstractUIPlugin {
24
25
Lines 34-43 Link Here
34
		super.start(context);
35
		super.start(context);
35
		INSTANCE = this;
36
		INSTANCE = this;
36
		try {
37
		try {
37
			
38
			registerInjectorFor("org.eclipse.papyrus.state.editor.xtext.UmlState");
38
			injectors.put("org.eclipse.papyrus.state.editor.xtext.UmlState", Guice.createInjector(
39
				Modules.override(Modules.override(getRuntimeModule("org.eclipse.papyrus.state.editor.xtext.UmlState")).with(getUiModule("org.eclipse.papyrus.state.editor.xtext.UmlState"))).with(getSharedStateModule())
40
			));
41
			
39
			
42
		} catch (Exception e) {
40
		} catch (Exception e) {
43
			Logger.getLogger(getClass()).error(e.getMessage(), e);
41
			Logger.getLogger(getClass()).error(e.getMessage(), e);
Lines 45-64 Link Here
45
		}
43
		}
46
	}
44
	}
47
	
45
	
46
	protected void registerInjectorFor(String language) throws Exception {
47
		injectors.put(language, createInjector(
48
		  override(override(getRuntimeModule(language)).with(getSharedStateModule())).with(getUiModule(language))));
49
	}
50
	
51
	@Override
52
	public void stop(BundleContext context) throws Exception {
53
		injectors.clear();
54
		INSTANCE = null;
55
		super.stop(context);
56
	}
57
	
48
	public static UmlStateActivator getInstance() {
58
	public static UmlStateActivator getInstance() {
49
		return INSTANCE;
59
		return INSTANCE;
50
	}
60
	}
51
	
61
	
52
	protected Module getRuntimeModule(String grammar) {
62
	protected Module getRuntimeModule(String grammar) {
53
		
54
		if ("org.eclipse.papyrus.state.editor.xtext.UmlState".equals(grammar)) {
63
		if ("org.eclipse.papyrus.state.editor.xtext.UmlState".equals(grammar)) {
55
		  return new org.eclipse.papyrus.state.editor.xtext.UmlStateRuntimeModule();
64
		  return new org.eclipse.papyrus.state.editor.xtext.UmlStateRuntimeModule();
56
		}
65
		}
57
		
66
		
58
		throw new IllegalArgumentException(grammar);
67
		throw new IllegalArgumentException(grammar);
59
	}
68
	}
69
	
60
	protected Module getUiModule(String grammar) {
70
	protected Module getUiModule(String grammar) {
61
		
62
		if ("org.eclipse.papyrus.state.editor.xtext.UmlState".equals(grammar)) {
71
		if ("org.eclipse.papyrus.state.editor.xtext.UmlState".equals(grammar)) {
63
		  return new org.eclipse.papyrus.state.editor.xtext.ui.UmlStateUiModule(this);
72
		  return new org.eclipse.papyrus.state.editor.xtext.ui.UmlStateUiModule(this);
64
		}
73
		}
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlStateLexer.java (-527 / +397 lines)
Lines 13-195 Link Here
13
@SuppressWarnings("all")
13
@SuppressWarnings("all")
14
public class InternalUmlStateLexer extends Lexer {
14
public class InternalUmlStateLexer extends Lexer {
15
    public static final int RULE_ID=4;
15
    public static final int RULE_ID=4;
16
    public static final int RULE_ANY_OTHER=10;
17
    public static final int EOF=-1;
18
    public static final int RULE_SL_COMMENT=8;
19
    public static final int Tokens=19;
20
    public static final int RULE_ML_COMMENT=7;
21
    public static final int RULE_STRING=6;
16
    public static final int RULE_STRING=6;
17
    public static final int T__16=16;
18
    public static final int T__15=15;
19
    public static final int T__18=18;
20
    public static final int T__17=17;
21
    public static final int T__12=12;
22
    public static final int T__11=11;
23
    public static final int T__14=14;
24
    public static final int T__13=13;
25
    public static final int RULE_ANY_OTHER=10;
22
    public static final int RULE_INT=5;
26
    public static final int RULE_INT=5;
23
    public static final int T11=11;
24
    public static final int T12=12;
25
    public static final int T13=13;
26
    public static final int T14=14;
27
    public static final int RULE_WS=9;
27
    public static final int RULE_WS=9;
28
    public static final int T15=15;
28
    public static final int RULE_SL_COMMENT=8;
29
    public static final int T16=16;
29
    public static final int EOF=-1;
30
    public static final int T17=17;
30
    public static final int RULE_ML_COMMENT=7;
31
    public static final int T18=18;
31
32
    // delegates
33
    // delegators
34
32
    public InternalUmlStateLexer() {;} 
35
    public InternalUmlStateLexer() {;} 
33
    public InternalUmlStateLexer(CharStream input) {
36
    public InternalUmlStateLexer(CharStream input) {
34
        super(input);
37
        this(input, new RecognizerSharedState());
38
    }
39
    public InternalUmlStateLexer(CharStream input, RecognizerSharedState state) {
40
        super(input,state);
41
35
    }
42
    }
36
    public String getGrammarFileName() { return "../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g"; }
43
    public String getGrammarFileName() { return "../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g"; }
37
44
38
    // $ANTLR start T11
45
    // $ANTLR start "T__11"
39
    public final void mT11() throws RecognitionException {
46
    public final void mT__11() throws RecognitionException {
40
        try {
47
        try {
41
            int _type = T11;
48
            int _type = T__11;
42
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:10:5: ( 'Activity' )
49
            int _channel = DEFAULT_TOKEN_CHANNEL;
43
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:10:7: 'Activity'
50
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:11:7: ( 'Activity' )
51
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:11:9: 'Activity'
44
            {
52
            {
45
            match("Activity"); 
53
            match("Activity"); 
46
54
47
55
48
            }
56
            }
49
57
50
            this.type = _type;
58
            state.type = _type;
59
            state.channel = _channel;
51
        }
60
        }
52
        finally {
61
        finally {
53
        }
62
        }
54
    }
63
    }
55
    // $ANTLR end T11
64
    // $ANTLR end "T__11"
56
65
57
    // $ANTLR start T12
66
    // $ANTLR start "T__12"
58
    public final void mT12() throws RecognitionException {
67
    public final void mT__12() throws RecognitionException {
59
        try {
68
        try {
60
            int _type = T12;
69
            int _type = T__12;
61
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:11:5: ( 'StateMachine' )
70
            int _channel = DEFAULT_TOKEN_CHANNEL;
62
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:11:7: 'StateMachine'
71
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:12:7: ( 'StateMachine' )
72
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:12:9: 'StateMachine'
63
            {
73
            {
64
            match("StateMachine"); 
74
            match("StateMachine"); 
65
75
66
76
67
            }
77
            }
68
78
69
            this.type = _type;
79
            state.type = _type;
80
            state.channel = _channel;
70
        }
81
        }
71
        finally {
82
        finally {
72
        }
83
        }
73
    }
84
    }
74
    // $ANTLR end T12
85
    // $ANTLR end "T__12"
75
86
76
    // $ANTLR start T13
87
    // $ANTLR start "T__13"
77
    public final void mT13() throws RecognitionException {
88
    public final void mT__13() throws RecognitionException {
78
        try {
89
        try {
79
            int _type = T13;
90
            int _type = T__13;
80
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:12:5: ( 'OpaqueBehavior' )
91
            int _channel = DEFAULT_TOKEN_CHANNEL;
81
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:12:7: 'OpaqueBehavior'
92
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:13:7: ( 'OpaqueBehavior' )
93
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:13:9: 'OpaqueBehavior'
82
            {
94
            {
83
            match("OpaqueBehavior"); 
95
            match("OpaqueBehavior"); 
84
96
85
97
86
            }
98
            }
87
99
88
            this.type = _type;
100
            state.type = _type;
101
            state.channel = _channel;
89
        }
102
        }
90
        finally {
103
        finally {
91
        }
104
        }
92
    }
105
    }
93
    // $ANTLR end T13
106
    // $ANTLR end "T__13"
94
107
95
    // $ANTLR start T14
108
    // $ANTLR start "T__14"
96
    public final void mT14() throws RecognitionException {
109
    public final void mT__14() throws RecognitionException {
97
        try {
110
        try {
98
            int _type = T14;
111
            int _type = T__14;
99
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:13:5: ( ':' )
112
            int _channel = DEFAULT_TOKEN_CHANNEL;
100
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:13:7: ':'
113
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:14:7: ( ':' )
114
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:14:9: ':'
101
            {
115
            {
102
            match(':'); 
116
            match(':'); 
103
117
104
            }
118
            }
105
119
106
            this.type = _type;
120
            state.type = _type;
121
            state.channel = _channel;
107
        }
122
        }
108
        finally {
123
        finally {
109
        }
124
        }
110
    }
125
    }
111
    // $ANTLR end T14
126
    // $ANTLR end "T__14"
112
127
113
    // $ANTLR start T15
128
    // $ANTLR start "T__15"
114
    public final void mT15() throws RecognitionException {
129
    public final void mT__15() throws RecognitionException {
115
        try {
130
        try {
116
            int _type = T15;
131
            int _type = T__15;
117
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:14:5: ( '::' )
132
            int _channel = DEFAULT_TOKEN_CHANNEL;
118
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:14:7: '::'
133
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:15:7: ( '::' )
134
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:15:9: '::'
119
            {
135
            {
120
            match("::"); 
136
            match("::"); 
121
137
122
138
123
            }
139
            }
124
140
125
            this.type = _type;
141
            state.type = _type;
142
            state.channel = _channel;
126
        }
143
        }
127
        finally {
144
        finally {
128
        }
145
        }
129
    }
146
    }
130
    // $ANTLR end T15
147
    // $ANTLR end "T__15"
131
148
132
    // $ANTLR start T16
149
    // $ANTLR start "T__16"
133
    public final void mT16() throws RecognitionException {
150
    public final void mT__16() throws RecognitionException {
134
        try {
151
        try {
135
            int _type = T16;
152
            int _type = T__16;
136
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:15:5: ( 'entry' )
153
            int _channel = DEFAULT_TOKEN_CHANNEL;
137
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:15:7: 'entry'
154
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:16:7: ( 'entry' )
155
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:16:9: 'entry'
138
            {
156
            {
139
            match("entry"); 
157
            match("entry"); 
140
158
141
159
142
            }
160
            }
143
161
144
            this.type = _type;
162
            state.type = _type;
163
            state.channel = _channel;
145
        }
164
        }
146
        finally {
165
        finally {
147
        }
166
        }
148
    }
167
    }
149
    // $ANTLR end T16
168
    // $ANTLR end "T__16"
150
169
151
    // $ANTLR start T17
170
    // $ANTLR start "T__17"
152
    public final void mT17() throws RecognitionException {
171
    public final void mT__17() throws RecognitionException {
153
        try {
172
        try {
154
            int _type = T17;
173
            int _type = T__17;
155
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:16:5: ( 'do' )
174
            int _channel = DEFAULT_TOKEN_CHANNEL;
156
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:16:7: 'do'
175
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:17:7: ( 'do' )
176
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:17:9: 'do'
157
            {
177
            {
158
            match("do"); 
178
            match("do"); 
159
179
160
180
161
            }
181
            }
162
182
163
            this.type = _type;
183
            state.type = _type;
184
            state.channel = _channel;
164
        }
185
        }
165
        finally {
186
        finally {
166
        }
187
        }
167
    }
188
    }
168
    // $ANTLR end T17
189
    // $ANTLR end "T__17"
169
190
170
    // $ANTLR start T18
191
    // $ANTLR start "T__18"
171
    public final void mT18() throws RecognitionException {
192
    public final void mT__18() throws RecognitionException {
172
        try {
193
        try {
173
            int _type = T18;
194
            int _type = T__18;
174
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:17:5: ( 'exit' )
195
            int _channel = DEFAULT_TOKEN_CHANNEL;
175
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:17:7: 'exit'
196
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:18:7: ( 'exit' )
197
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:18:9: 'exit'
176
            {
198
            {
177
            match("exit"); 
199
            match("exit"); 
178
200
179
201
180
            }
202
            }
181
203
182
            this.type = _type;
204
            state.type = _type;
205
            state.channel = _channel;
183
        }
206
        }
184
        finally {
207
        finally {
185
        }
208
        }
186
    }
209
    }
187
    // $ANTLR end T18
210
    // $ANTLR end "T__18"
188
211
189
    // $ANTLR start RULE_ID
212
    // $ANTLR start "RULE_ID"
190
    public final void mRULE_ID() throws RecognitionException {
213
    public final void mRULE_ID() throws RecognitionException {
191
        try {
214
        try {
192
            int _type = RULE_ID;
215
            int _type = RULE_ID;
216
            int _channel = DEFAULT_TOKEN_CHANNEL;
193
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1236:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
217
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1236:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
194
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1236:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
218
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1236:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
195
            {
219
            {
Lines 216-225 Link Here
216
240
217
            }
241
            }
218
            else {
242
            else {
219
                MismatchedSetException mse =
243
                MismatchedSetException mse = new MismatchedSetException(null,input);
220
                    new MismatchedSetException(null,input);
244
                recover(mse);
221
                recover(mse);    throw mse;
245
                throw mse;}
222
            }
223
246
224
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1236:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
247
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1236:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
225
            loop2:
248
            loop2:
Lines 241-250 Link Here
241
264
242
            	    }
265
            	    }
243
            	    else {
266
            	    else {
244
            	        MismatchedSetException mse =
267
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
245
            	            new MismatchedSetException(null,input);
268
            	        recover(mse);
246
            	        recover(mse);    throw mse;
269
            	        throw mse;}
247
            	    }
248
270
249
271
250
            	    }
272
            	    }
Lines 258-274 Link Here
258
280
259
            }
281
            }
260
282
261
            this.type = _type;
283
            state.type = _type;
284
            state.channel = _channel;
262
        }
285
        }
263
        finally {
286
        finally {
264
        }
287
        }
265
    }
288
    }
266
    // $ANTLR end RULE_ID
289
    // $ANTLR end "RULE_ID"
267
290
268
    // $ANTLR start RULE_INT
291
    // $ANTLR start "RULE_INT"
269
    public final void mRULE_INT() throws RecognitionException {
292
    public final void mRULE_INT() throws RecognitionException {
270
        try {
293
        try {
271
            int _type = RULE_INT;
294
            int _type = RULE_INT;
295
            int _channel = DEFAULT_TOKEN_CHANNEL;
272
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1238:10: ( ( '0' .. '9' )+ )
296
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1238:10: ( ( '0' .. '9' )+ )
273
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1238:12: ( '0' .. '9' )+
297
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1238:12: ( '0' .. '9' )+
274
            {
298
            {
Lines 305-325 Link Here
305
329
306
            }
330
            }
307
331
308
            this.type = _type;
332
            state.type = _type;
333
            state.channel = _channel;
309
        }
334
        }
310
        finally {
335
        finally {
311
        }
336
        }
312
    }
337
    }
313
    // $ANTLR end RULE_INT
338
    // $ANTLR end "RULE_INT"
314
339
315
    // $ANTLR start RULE_STRING
340
    // $ANTLR start "RULE_STRING"
316
    public final void mRULE_STRING() throws RecognitionException {
341
    public final void mRULE_STRING() throws RecognitionException {
317
        try {
342
        try {
318
            int _type = RULE_STRING;
343
            int _type = RULE_STRING;
319
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
344
            int _channel = DEFAULT_TOKEN_CHANNEL;
320
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
345
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
346
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
321
            {
347
            {
322
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
348
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
323
            int alt6=2;
349
            int alt6=2;
324
            int LA6_0 = input.LA(1);
350
            int LA6_0 = input.LA(1);
325
351
Lines 331-346 Link Here
331
            }
357
            }
332
            else {
358
            else {
333
                NoViableAltException nvae =
359
                NoViableAltException nvae =
334
                    new NoViableAltException("1240:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 6, 0, input);
360
                    new NoViableAltException("", 6, 0, input);
335
361
336
                throw nvae;
362
                throw nvae;
337
            }
363
            }
338
            switch (alt6) {
364
            switch (alt6) {
339
                case 1 :
365
                case 1 :
340
                    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
366
                    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
341
                    {
367
                    {
342
                    match('\"'); 
368
                    match('\"'); 
343
                    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
369
                    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
344
                    loop4:
370
                    loop4:
345
                    do {
371
                    do {
346
                        int alt4=3;
372
                        int alt4=3;
Lines 349-389 Link Here
349
                        if ( (LA4_0=='\\') ) {
375
                        if ( (LA4_0=='\\') ) {
350
                            alt4=1;
376
                            alt4=1;
351
                        }
377
                        }
352
                        else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFE')) ) {
378
                        else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) {
353
                            alt4=2;
379
                            alt4=2;
354
                        }
380
                        }
355
381
356
382
357
                        switch (alt4) {
383
                        switch (alt4) {
358
                    	case 1 :
384
                    	case 1 :
359
                    	    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
385
                    	    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
360
                    	    {
386
                    	    {
361
                    	    match('\\'); 
387
                    	    match('\\'); 
362
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
388
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
363
                    	        input.consume();
389
                    	        input.consume();
364
390
365
                    	    }
391
                    	    }
366
                    	    else {
392
                    	    else {
367
                    	        MismatchedSetException mse =
393
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
368
                    	            new MismatchedSetException(null,input);
394
                    	        recover(mse);
369
                    	        recover(mse);    throw mse;
395
                    	        throw mse;}
370
                    	    }
371
396
372
397
373
                    	    }
398
                    	    }
374
                    	    break;
399
                    	    break;
375
                    	case 2 :
400
                    	case 2 :
376
                    	    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:62: ~ ( ( '\\\\' | '\"' ) )
401
                    	    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:66: ~ ( ( '\\\\' | '\"' ) )
377
                    	    {
402
                    	    {
378
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
403
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
379
                    	        input.consume();
404
                    	        input.consume();
380
405
381
                    	    }
406
                    	    }
382
                    	    else {
407
                    	    else {
383
                    	        MismatchedSetException mse =
408
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
384
                    	            new MismatchedSetException(null,input);
409
                    	        recover(mse);
385
                    	        recover(mse);    throw mse;
410
                    	        throw mse;}
386
                    	    }
387
411
388
412
389
                    	    }
413
                    	    }
Lines 399-408 Link Here
399
                    }
423
                    }
400
                    break;
424
                    break;
401
                case 2 :
425
                case 2 :
402
                    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
426
                    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
403
                    {
427
                    {
404
                    match('\''); 
428
                    match('\''); 
405
                    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
429
                    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
406
                    loop5:
430
                    loop5:
407
                    do {
431
                    do {
408
                        int alt5=3;
432
                        int alt5=3;
Lines 411-451 Link Here
411
                        if ( (LA5_0=='\\') ) {
435
                        if ( (LA5_0=='\\') ) {
412
                            alt5=1;
436
                            alt5=1;
413
                        }
437
                        }
414
                        else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFE')) ) {
438
                        else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) {
415
                            alt5=2;
439
                            alt5=2;
416
                        }
440
                        }
417
441
418
442
419
                        switch (alt5) {
443
                        switch (alt5) {
420
                    	case 1 :
444
                    	case 1 :
421
                    	    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
445
                    	    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
422
                    	    {
446
                    	    {
423
                    	    match('\\'); 
447
                    	    match('\\'); 
424
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
448
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
425
                    	        input.consume();
449
                    	        input.consume();
426
450
427
                    	    }
451
                    	    }
428
                    	    else {
452
                    	    else {
429
                    	        MismatchedSetException mse =
453
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
430
                    	            new MismatchedSetException(null,input);
454
                    	        recover(mse);
431
                    	        recover(mse);    throw mse;
455
                    	        throw mse;}
432
                    	    }
433
456
434
457
435
                    	    }
458
                    	    }
436
                    	    break;
459
                    	    break;
437
                    	case 2 :
460
                    	case 2 :
438
                    	    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:129: ~ ( ( '\\\\' | '\\'' ) )
461
                    	    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1240:137: ~ ( ( '\\\\' | '\\'' ) )
439
                    	    {
462
                    	    {
440
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
463
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
441
                    	        input.consume();
464
                    	        input.consume();
442
465
443
                    	    }
466
                    	    }
444
                    	    else {
467
                    	    else {
445
                    	        MismatchedSetException mse =
468
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
446
                    	            new MismatchedSetException(null,input);
469
                    	        recover(mse);
447
                    	        recover(mse);    throw mse;
470
                    	        throw mse;}
448
                    	    }
449
471
450
472
451
                    	    }
473
                    	    }
Lines 466-482 Link Here
466
488
467
            }
489
            }
468
490
469
            this.type = _type;
491
            state.type = _type;
492
            state.channel = _channel;
470
        }
493
        }
471
        finally {
494
        finally {
472
        }
495
        }
473
    }
496
    }
474
    // $ANTLR end RULE_STRING
497
    // $ANTLR end "RULE_STRING"
475
498
476
    // $ANTLR start RULE_ML_COMMENT
499
    // $ANTLR start "RULE_ML_COMMENT"
477
    public final void mRULE_ML_COMMENT() throws RecognitionException {
500
    public final void mRULE_ML_COMMENT() throws RecognitionException {
478
        try {
501
        try {
479
            int _type = RULE_ML_COMMENT;
502
            int _type = RULE_ML_COMMENT;
503
            int _channel = DEFAULT_TOKEN_CHANNEL;
480
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1242:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
504
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1242:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
481
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1242:19: '/*' ( options {greedy=false; } : . )* '*/'
505
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1242:19: '/*' ( options {greedy=false; } : . )* '*/'
482
            {
506
            {
Lines 494-506 Link Here
494
                    if ( (LA7_1=='/') ) {
518
                    if ( (LA7_1=='/') ) {
495
                        alt7=2;
519
                        alt7=2;
496
                    }
520
                    }
497
                    else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFE')) ) {
521
                    else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) {
498
                        alt7=1;
522
                        alt7=1;
499
                    }
523
                    }
500
524
501
525
502
                }
526
                }
503
                else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFE')) ) {
527
                else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) {
504
                    alt7=1;
528
                    alt7=1;
505
                }
529
                }
506
530
Lines 524-540 Link Here
524
548
525
            }
549
            }
526
550
527
            this.type = _type;
551
            state.type = _type;
552
            state.channel = _channel;
528
        }
553
        }
529
        finally {
554
        finally {
530
        }
555
        }
531
    }
556
    }
532
    // $ANTLR end RULE_ML_COMMENT
557
    // $ANTLR end "RULE_ML_COMMENT"
533
558
534
    // $ANTLR start RULE_SL_COMMENT
559
    // $ANTLR start "RULE_SL_COMMENT"
535
    public final void mRULE_SL_COMMENT() throws RecognitionException {
560
    public final void mRULE_SL_COMMENT() throws RecognitionException {
536
        try {
561
        try {
537
            int _type = RULE_SL_COMMENT;
562
            int _type = RULE_SL_COMMENT;
563
            int _channel = DEFAULT_TOKEN_CHANNEL;
538
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1244:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
564
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1244:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
539
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1244:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
565
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1244:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
540
            {
566
            {
Lines 546-552 Link Here
546
                int alt8=2;
572
                int alt8=2;
547
                int LA8_0 = input.LA(1);
573
                int LA8_0 = input.LA(1);
548
574
549
                if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFE')) ) {
575
                if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) {
550
                    alt8=1;
576
                    alt8=1;
551
                }
577
                }
552
578
Lines 555-569 Link Here
555
            	case 1 :
581
            	case 1 :
556
            	    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1244:24: ~ ( ( '\\n' | '\\r' ) )
582
            	    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1244:24: ~ ( ( '\\n' | '\\r' ) )
557
            	    {
583
            	    {
558
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFE') ) {
584
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
559
            	        input.consume();
585
            	        input.consume();
560
586
561
            	    }
587
            	    }
562
            	    else {
588
            	    else {
563
            	        MismatchedSetException mse =
589
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
564
            	            new MismatchedSetException(null,input);
590
            	        recover(mse);
565
            	        recover(mse);    throw mse;
591
            	        throw mse;}
566
            	    }
567
592
568
593
569
            	    }
594
            	    }
Lines 613-629 Link Here
613
638
614
            }
639
            }
615
640
616
            this.type = _type;
641
            state.type = _type;
642
            state.channel = _channel;
617
        }
643
        }
618
        finally {
644
        finally {
619
        }
645
        }
620
    }
646
    }
621
    // $ANTLR end RULE_SL_COMMENT
647
    // $ANTLR end "RULE_SL_COMMENT"
622
648
623
    // $ANTLR start RULE_WS
649
    // $ANTLR start "RULE_WS"
624
    public final void mRULE_WS() throws RecognitionException {
650
    public final void mRULE_WS() throws RecognitionException {
625
        try {
651
        try {
626
            int _type = RULE_WS;
652
            int _type = RULE_WS;
653
            int _channel = DEFAULT_TOKEN_CHANNEL;
627
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1246:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
654
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1246:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
628
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1246:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
655
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1246:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
629
            {
656
            {
Lines 648-657 Link Here
648
675
649
            	    }
676
            	    }
650
            	    else {
677
            	    else {
651
            	        MismatchedSetException mse =
678
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
652
            	            new MismatchedSetException(null,input);
679
            	        recover(mse);
653
            	        recover(mse);    throw mse;
680
            	        throw mse;}
654
            	    }
655
681
656
682
657
            	    }
683
            	    }
Lines 669-685 Link Here
669
695
670
            }
696
            }
671
697
672
            this.type = _type;
698
            state.type = _type;
699
            state.channel = _channel;
673
        }
700
        }
674
        finally {
701
        finally {
675
        }
702
        }
676
    }
703
    }
677
    // $ANTLR end RULE_WS
704
    // $ANTLR end "RULE_WS"
678
705
679
    // $ANTLR start RULE_ANY_OTHER
706
    // $ANTLR start "RULE_ANY_OTHER"
680
    public final void mRULE_ANY_OTHER() throws RecognitionException {
707
    public final void mRULE_ANY_OTHER() throws RecognitionException {
681
        try {
708
        try {
682
            int _type = RULE_ANY_OTHER;
709
            int _type = RULE_ANY_OTHER;
710
            int _channel = DEFAULT_TOKEN_CHANNEL;
683
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1248:16: ( . )
711
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1248:16: ( . )
684
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1248:18: .
712
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1248:18: .
685
            {
713
            {
Lines 687-1161 Link Here
687
715
688
            }
716
            }
689
717
690
            this.type = _type;
718
            state.type = _type;
719
            state.channel = _channel;
691
        }
720
        }
692
        finally {
721
        finally {
693
        }
722
        }
694
    }
723
    }
695
    // $ANTLR end RULE_ANY_OTHER
724
    // $ANTLR end "RULE_ANY_OTHER"
696
725
697
    public void mTokens() throws RecognitionException {
726
    public void mTokens() throws RecognitionException {
698
        // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:8: ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
727
        // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
699
        int alt12=15;
728
        int alt12=15;
700
        int LA12_0 = input.LA(1);
729
        alt12 = dfa12.predict(input);
701
702
        if ( (LA12_0=='A') ) {
703
            int LA12_1 = input.LA(2);
704
705
            if ( (LA12_1=='c') ) {
706
                int LA12_15 = input.LA(3);
707
708
                if ( (LA12_15=='t') ) {
709
                    int LA12_29 = input.LA(4);
710
711
                    if ( (LA12_29=='i') ) {
712
                        int LA12_35 = input.LA(5);
713
714
                        if ( (LA12_35=='v') ) {
715
                            int LA12_40 = input.LA(6);
716
717
                            if ( (LA12_40=='i') ) {
718
                                int LA12_45 = input.LA(7);
719
720
                                if ( (LA12_45=='t') ) {
721
                                    int LA12_49 = input.LA(8);
722
723
                                    if ( (LA12_49=='y') ) {
724
                                        int LA12_52 = input.LA(9);
725
726
                                        if ( ((LA12_52>='0' && LA12_52<='9')||(LA12_52>='A' && LA12_52<='Z')||LA12_52=='_'||(LA12_52>='a' && LA12_52<='z')) ) {
727
                                            alt12=9;
728
                                        }
729
                                        else {
730
                                            alt12=1;}
731
                                    }
732
                                    else {
733
                                        alt12=9;}
734
                                }
735
                                else {
736
                                    alt12=9;}
737
                            }
738
                            else {
739
                                alt12=9;}
740
                        }
741
                        else {
742
                            alt12=9;}
743
                    }
744
                    else {
745
                        alt12=9;}
746
                }
747
                else {
748
                    alt12=9;}
749
            }
750
            else {
751
                alt12=9;}
752
        }
753
        else if ( (LA12_0=='S') ) {
754
            int LA12_2 = input.LA(2);
755
756
            if ( (LA12_2=='t') ) {
757
                int LA12_17 = input.LA(3);
758
759
                if ( (LA12_17=='a') ) {
760
                    int LA12_30 = input.LA(4);
761
762
                    if ( (LA12_30=='t') ) {
763
                        int LA12_36 = input.LA(5);
764
765
                        if ( (LA12_36=='e') ) {
766
                            int LA12_41 = input.LA(6);
767
768
                            if ( (LA12_41=='M') ) {
769
                                int LA12_46 = input.LA(7);
770
771
                                if ( (LA12_46=='a') ) {
772
                                    int LA12_50 = input.LA(8);
773
774
                                    if ( (LA12_50=='c') ) {
775
                                        int LA12_53 = input.LA(9);
776
777
                                        if ( (LA12_53=='h') ) {
778
                                            int LA12_56 = input.LA(10);
779
780
                                            if ( (LA12_56=='i') ) {
781
                                                int LA12_58 = input.LA(11);
782
783
                                                if ( (LA12_58=='n') ) {
784
                                                    int LA12_60 = input.LA(12);
785
786
                                                    if ( (LA12_60=='e') ) {
787
                                                        int LA12_62 = input.LA(13);
788
789
                                                        if ( ((LA12_62>='0' && LA12_62<='9')||(LA12_62>='A' && LA12_62<='Z')||LA12_62=='_'||(LA12_62>='a' && LA12_62<='z')) ) {
790
                                                            alt12=9;
791
                                                        }
792
                                                        else {
793
                                                            alt12=2;}
794
                                                    }
795
                                                    else {
796
                                                        alt12=9;}
797
                                                }
798
                                                else {
799
                                                    alt12=9;}
800
                                            }
801
                                            else {
802
                                                alt12=9;}
803
                                        }
804
                                        else {
805
                                            alt12=9;}
806
                                    }
807
                                    else {
808
                                        alt12=9;}
809
                                }
810
                                else {
811
                                    alt12=9;}
812
                            }
813
                            else {
814
                                alt12=9;}
815
                        }
816
                        else {
817
                            alt12=9;}
818
                    }
819
                    else {
820
                        alt12=9;}
821
                }
822
                else {
823
                    alt12=9;}
824
            }
825
            else {
826
                alt12=9;}
827
        }
828
        else if ( (LA12_0=='O') ) {
829
            int LA12_3 = input.LA(2);
830
831
            if ( (LA12_3=='p') ) {
832
                int LA12_18 = input.LA(3);
833
834
                if ( (LA12_18=='a') ) {
835
                    int LA12_31 = input.LA(4);
836
837
                    if ( (LA12_31=='q') ) {
838
                        int LA12_37 = input.LA(5);
839
840
                        if ( (LA12_37=='u') ) {
841
                            int LA12_42 = input.LA(6);
842
843
                            if ( (LA12_42=='e') ) {
844
                                int LA12_47 = input.LA(7);
845
846
                                if ( (LA12_47=='B') ) {
847
                                    int LA12_51 = input.LA(8);
848
849
                                    if ( (LA12_51=='e') ) {
850
                                        int LA12_54 = input.LA(9);
851
852
                                        if ( (LA12_54=='h') ) {
853
                                            int LA12_57 = input.LA(10);
854
855
                                            if ( (LA12_57=='a') ) {
856
                                                int LA12_59 = input.LA(11);
857
858
                                                if ( (LA12_59=='v') ) {
859
                                                    int LA12_61 = input.LA(12);
860
861
                                                    if ( (LA12_61=='i') ) {
862
                                                        int LA12_63 = input.LA(13);
863
864
                                                        if ( (LA12_63=='o') ) {
865
                                                            int LA12_65 = input.LA(14);
866
867
                                                            if ( (LA12_65=='r') ) {
868
                                                                int LA12_66 = input.LA(15);
869
870
                                                                if ( ((LA12_66>='0' && LA12_66<='9')||(LA12_66>='A' && LA12_66<='Z')||LA12_66=='_'||(LA12_66>='a' && LA12_66<='z')) ) {
871
                                                                    alt12=9;
872
                                                                }
873
                                                                else {
874
                                                                    alt12=3;}
875
                                                            }
876
                                                            else {
877
                                                                alt12=9;}
878
                                                        }
879
                                                        else {
880
                                                            alt12=9;}
881
                                                    }
882
                                                    else {
883
                                                        alt12=9;}
884
                                                }
885
                                                else {
886
                                                    alt12=9;}
887
                                            }
888
                                            else {
889
                                                alt12=9;}
890
                                        }
891
                                        else {
892
                                            alt12=9;}
893
                                    }
894
                                    else {
895
                                        alt12=9;}
896
                                }
897
                                else {
898
                                    alt12=9;}
899
                            }
900
                            else {
901
                                alt12=9;}
902
                        }
903
                        else {
904
                            alt12=9;}
905
                    }
906
                    else {
907
                        alt12=9;}
908
                }
909
                else {
910
                    alt12=9;}
911
            }
912
            else {
913
                alt12=9;}
914
        }
915
        else if ( (LA12_0==':') ) {
916
            int LA12_4 = input.LA(2);
917
918
            if ( (LA12_4==':') ) {
919
                alt12=5;
920
            }
921
            else {
922
                alt12=4;}
923
        }
924
        else if ( (LA12_0=='e') ) {
925
            switch ( input.LA(2) ) {
926
            case 'x':
927
                {
928
                int LA12_21 = input.LA(3);
929
930
                if ( (LA12_21=='i') ) {
931
                    int LA12_32 = input.LA(4);
932
933
                    if ( (LA12_32=='t') ) {
934
                        int LA12_38 = input.LA(5);
935
936
                        if ( ((LA12_38>='0' && LA12_38<='9')||(LA12_38>='A' && LA12_38<='Z')||LA12_38=='_'||(LA12_38>='a' && LA12_38<='z')) ) {
937
                            alt12=9;
938
                        }
939
                        else {
940
                            alt12=8;}
941
                    }
942
                    else {
943
                        alt12=9;}
944
                }
945
                else {
946
                    alt12=9;}
947
                }
948
                break;
949
            case 'n':
950
                {
951
                int LA12_22 = input.LA(3);
952
953
                if ( (LA12_22=='t') ) {
954
                    int LA12_33 = input.LA(4);
955
956
                    if ( (LA12_33=='r') ) {
957
                        int LA12_39 = input.LA(5);
958
959
                        if ( (LA12_39=='y') ) {
960
                            int LA12_44 = input.LA(6);
961
962
                            if ( ((LA12_44>='0' && LA12_44<='9')||(LA12_44>='A' && LA12_44<='Z')||LA12_44=='_'||(LA12_44>='a' && LA12_44<='z')) ) {
963
                                alt12=9;
964
                            }
965
                            else {
966
                                alt12=6;}
967
                        }
968
                        else {
969
                            alt12=9;}
970
                    }
971
                    else {
972
                        alt12=9;}
973
                }
974
                else {
975
                    alt12=9;}
976
                }
977
                break;
978
            default:
979
                alt12=9;}
980
981
        }
982
        else if ( (LA12_0=='d') ) {
983
            int LA12_6 = input.LA(2);
984
985
            if ( (LA12_6=='o') ) {
986
                int LA12_23 = input.LA(3);
987
988
                if ( ((LA12_23>='0' && LA12_23<='9')||(LA12_23>='A' && LA12_23<='Z')||LA12_23=='_'||(LA12_23>='a' && LA12_23<='z')) ) {
989
                    alt12=9;
990
                }
991
                else {
992
                    alt12=7;}
993
            }
994
            else {
995
                alt12=9;}
996
        }
997
        else if ( (LA12_0=='^') ) {
998
            int LA12_7 = input.LA(2);
999
1000
            if ( ((LA12_7>='A' && LA12_7<='Z')||LA12_7=='_'||(LA12_7>='a' && LA12_7<='z')) ) {
1001
                alt12=9;
1002
            }
1003
            else {
1004
                alt12=15;}
1005
        }
1006
        else if ( ((LA12_0>='B' && LA12_0<='N')||(LA12_0>='P' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='c')||(LA12_0>='f' && LA12_0<='z')) ) {
1007
            alt12=9;
1008
        }
1009
        else if ( ((LA12_0>='0' && LA12_0<='9')) ) {
1010
            alt12=10;
1011
        }
1012
        else if ( (LA12_0=='\"') ) {
1013
            int LA12_10 = input.LA(2);
1014
1015
            if ( ((LA12_10>='\u0000' && LA12_10<='\uFFFE')) ) {
1016
                alt12=11;
1017
            }
1018
            else {
1019
                alt12=15;}
1020
        }
1021
        else if ( (LA12_0=='\'') ) {
1022
            int LA12_11 = input.LA(2);
1023
1024
            if ( ((LA12_11>='\u0000' && LA12_11<='\uFFFE')) ) {
1025
                alt12=11;
1026
            }
1027
            else {
1028
                alt12=15;}
1029
        }
1030
        else if ( (LA12_0=='/') ) {
1031
            switch ( input.LA(2) ) {
1032
            case '*':
1033
                {
1034
                alt12=12;
1035
                }
1036
                break;
1037
            case '/':
1038
                {
1039
                alt12=13;
1040
                }
1041
                break;
1042
            default:
1043
                alt12=15;}
1044
1045
        }
1046
        else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {
1047
            alt12=14;
1048
        }
1049
        else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='.')||(LA12_0>=';' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||(LA12_0>='{' && LA12_0<='\uFFFE')) ) {
1050
            alt12=15;
1051
        }
1052
        else {
1053
            NoViableAltException nvae =
1054
                new NoViableAltException("1:1: Tokens : ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );", 12, 0, input);
1055
1056
            throw nvae;
1057
        }
1058
        switch (alt12) {
730
        switch (alt12) {
1059
            case 1 :
731
            case 1 :
1060
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:10: T11
732
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:10: T__11
1061
                {
733
                {
1062
                mT11(); 
734
                mT__11(); 
1063
735
1064
                }
736
                }
1065
                break;
737
                break;
1066
            case 2 :
738
            case 2 :
1067
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:14: T12
739
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:16: T__12
1068
                {
740
                {
1069
                mT12(); 
741
                mT__12(); 
1070
742
1071
                }
743
                }
1072
                break;
744
                break;
1073
            case 3 :
745
            case 3 :
1074
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:18: T13
746
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:22: T__13
1075
                {
747
                {
1076
                mT13(); 
748
                mT__13(); 
1077
749
1078
                }
750
                }
1079
                break;
751
                break;
1080
            case 4 :
752
            case 4 :
1081
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:22: T14
753
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:28: T__14
1082
                {
754
                {
1083
                mT14(); 
755
                mT__14(); 
1084
756
1085
                }
757
                }
1086
                break;
758
                break;
1087
            case 5 :
759
            case 5 :
1088
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:26: T15
760
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:34: T__15
1089
                {
761
                {
1090
                mT15(); 
762
                mT__15(); 
1091
763
1092
                }
764
                }
1093
                break;
765
                break;
1094
            case 6 :
766
            case 6 :
1095
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:30: T16
767
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:40: T__16
1096
                {
768
                {
1097
                mT16(); 
769
                mT__16(); 
1098
770
1099
                }
771
                }
1100
                break;
772
                break;
1101
            case 7 :
773
            case 7 :
1102
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:34: T17
774
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:46: T__17
1103
                {
775
                {
1104
                mT17(); 
776
                mT__17(); 
1105
777
1106
                }
778
                }
1107
                break;
779
                break;
1108
            case 8 :
780
            case 8 :
1109
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:38: T18
781
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:52: T__18
1110
                {
782
                {
1111
                mT18(); 
783
                mT__18(); 
1112
784
1113
                }
785
                }
1114
                break;
786
                break;
1115
            case 9 :
787
            case 9 :
1116
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:42: RULE_ID
788
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:58: RULE_ID
1117
                {
789
                {
1118
                mRULE_ID(); 
790
                mRULE_ID(); 
1119
791
1120
                }
792
                }
1121
                break;
793
                break;
1122
            case 10 :
794
            case 10 :
1123
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:50: RULE_INT
795
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:66: RULE_INT
1124
                {
796
                {
1125
                mRULE_INT(); 
797
                mRULE_INT(); 
1126
798
1127
                }
799
                }
1128
                break;
800
                break;
1129
            case 11 :
801
            case 11 :
1130
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:59: RULE_STRING
802
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:75: RULE_STRING
1131
                {
803
                {
1132
                mRULE_STRING(); 
804
                mRULE_STRING(); 
1133
805
1134
                }
806
                }
1135
                break;
807
                break;
1136
            case 12 :
808
            case 12 :
1137
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:71: RULE_ML_COMMENT
809
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:87: RULE_ML_COMMENT
1138
                {
810
                {
1139
                mRULE_ML_COMMENT(); 
811
                mRULE_ML_COMMENT(); 
1140
812
1141
                }
813
                }
1142
                break;
814
                break;
1143
            case 13 :
815
            case 13 :
1144
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:87: RULE_SL_COMMENT
816
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:103: RULE_SL_COMMENT
1145
                {
817
                {
1146
                mRULE_SL_COMMENT(); 
818
                mRULE_SL_COMMENT(); 
1147
819
1148
                }
820
                }
1149
                break;
821
                break;
1150
            case 14 :
822
            case 14 :
1151
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:103: RULE_WS
823
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:119: RULE_WS
1152
                {
824
                {
1153
                mRULE_WS(); 
825
                mRULE_WS(); 
1154
826
1155
                }
827
                }
1156
                break;
828
                break;
1157
            case 15 :
829
            case 15 :
1158
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:111: RULE_ANY_OTHER
830
                // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1:127: RULE_ANY_OTHER
1159
                {
831
                {
1160
                mRULE_ANY_OTHER(); 
832
                mRULE_ANY_OTHER(); 
1161
833
Lines 1167-1172 Link Here
1167
    }
839
    }
1168
840
1169
841
842
    protected DFA12 dfa12 = new DFA12(this);
843
    static final String DFA12_eotS =
844
        "\1\uffff\3\20\1\24\2\20\1\16\2\uffff\3\16\2\uffff\1\20\1\uffff"+
845
        "\2\20\2\uffff\2\20\1\42\5\uffff\5\20\1\uffff\4\20\1\54\3\20\1\60"+
846
        "\1\uffff\3\20\1\uffff\3\20\1\67\2\20\1\uffff\6\20\1\100\1\20\1\uffff"+
847
        "\1\20\1\103\1\uffff";
848
    static final String DFA12_eofS =
849
        "\104\uffff";
850
    static final String DFA12_minS =
851
        "\1\0\1\143\1\164\1\160\1\72\1\156\1\157\1\101\2\uffff\2\0\1\52"+
852
        "\2\uffff\1\164\1\uffff\2\141\2\uffff\1\164\1\151\1\60\5\uffff\1"+
853
        "\151\1\164\1\161\1\162\1\164\1\uffff\1\166\1\145\1\165\1\171\1\60"+
854
        "\1\151\1\115\1\145\1\60\1\uffff\1\164\1\141\1\102\1\uffff\1\171"+
855
        "\1\143\1\145\1\60\2\150\1\uffff\1\151\1\141\1\156\1\166\1\145\1"+
856
        "\151\1\60\1\157\1\uffff\1\162\1\60\1\uffff";
857
    static final String DFA12_maxS =
858
        "\1\uffff\1\143\1\164\1\160\1\72\1\170\1\157\1\172\2\uffff\2\uffff"+
859
        "\1\57\2\uffff\1\164\1\uffff\2\141\2\uffff\1\164\1\151\1\172\5\uffff"+
860
        "\1\151\1\164\1\161\1\162\1\164\1\uffff\1\166\1\145\1\165\1\171\1"+
861
        "\172\1\151\1\115\1\145\1\172\1\uffff\1\164\1\141\1\102\1\uffff\1"+
862
        "\171\1\143\1\145\1\172\2\150\1\uffff\1\151\1\141\1\156\1\166\1\145"+
863
        "\1\151\1\172\1\157\1\uffff\1\162\1\172\1\uffff";
864
    static final String DFA12_acceptS =
865
        "\10\uffff\1\11\1\12\3\uffff\1\16\1\17\1\uffff\1\11\2\uffff\1\5"+
866
        "\1\4\3\uffff\1\12\1\13\1\14\1\15\1\16\5\uffff\1\7\11\uffff\1\10"+
867
        "\3\uffff\1\6\6\uffff\1\1\10\uffff\1\2\2\uffff\1\3";
868
    static final String DFA12_specialS =
869
        "\1\0\11\uffff\1\1\1\2\70\uffff}>";
870
    static final String[] DFA12_transitionS = {
871
            "\11\16\2\15\2\16\1\15\22\16\1\15\1\16\1\12\4\16\1\13\7\16\1"+
872
            "\14\12\11\1\4\6\16\1\1\15\10\1\3\3\10\1\2\7\10\3\16\1\7\1\10"+
873
            "\1\16\3\10\1\6\1\5\25\10\uff85\16",
874
            "\1\17",
875
            "\1\21",
876
            "\1\22",
877
            "\1\23",
878
            "\1\25\11\uffff\1\26",
879
            "\1\27",
880
            "\32\20\4\uffff\1\20\1\uffff\32\20",
881
            "",
882
            "",
883
            "\0\31",
884
            "\0\31",
885
            "\1\32\4\uffff\1\33",
886
            "",
887
            "",
888
            "\1\35",
889
            "",
890
            "\1\36",
891
            "\1\37",
892
            "",
893
            "",
894
            "\1\40",
895
            "\1\41",
896
            "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20",
897
            "",
898
            "",
899
            "",
900
            "",
901
            "",
902
            "\1\43",
903
            "\1\44",
904
            "\1\45",
905
            "\1\46",
906
            "\1\47",
907
            "",
908
            "\1\50",
909
            "\1\51",
910
            "\1\52",
911
            "\1\53",
912
            "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20",
913
            "\1\55",
914
            "\1\56",
915
            "\1\57",
916
            "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20",
917
            "",
918
            "\1\61",
919
            "\1\62",
920
            "\1\63",
921
            "",
922
            "\1\64",
923
            "\1\65",
924
            "\1\66",
925
            "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20",
926
            "\1\70",
927
            "\1\71",
928
            "",
929
            "\1\72",
930
            "\1\73",
931
            "\1\74",
932
            "\1\75",
933
            "\1\76",
934
            "\1\77",
935
            "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20",
936
            "\1\101",
937
            "",
938
            "\1\102",
939
            "\12\20\7\uffff\32\20\4\uffff\1\20\1\uffff\32\20",
940
            ""
941
    };
942
943
    static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS);
944
    static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS);
945
    static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS);
946
    static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS);
947
    static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS);
948
    static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS);
949
    static final short[][] DFA12_transition;
950
951
    static {
952
        int numStates = DFA12_transitionS.length;
953
        DFA12_transition = new short[numStates][];
954
        for (int i=0; i<numStates; i++) {
955
            DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]);
956
        }
957
    }
958
959
    class DFA12 extends DFA {
960
961
        public DFA12(BaseRecognizer recognizer) {
962
            this.recognizer = recognizer;
963
            this.decisionNumber = 12;
964
            this.eot = DFA12_eot;
965
            this.eof = DFA12_eof;
966
            this.min = DFA12_min;
967
            this.max = DFA12_max;
968
            this.accept = DFA12_accept;
969
            this.special = DFA12_special;
970
            this.transition = DFA12_transition;
971
        }
972
        public String getDescription() {
973
            return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
974
        }
975
        public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
976
            IntStream input = _input;
977
        	int _s = s;
978
            switch ( s ) {
979
                    case 0 : 
980
                        int LA12_0 = input.LA(1);
981
982
                        s = -1;
983
                        if ( (LA12_0=='A') ) {s = 1;}
984
985
                        else if ( (LA12_0=='S') ) {s = 2;}
986
987
                        else if ( (LA12_0=='O') ) {s = 3;}
988
989
                        else if ( (LA12_0==':') ) {s = 4;}
990
991
                        else if ( (LA12_0=='e') ) {s = 5;}
992
993
                        else if ( (LA12_0=='d') ) {s = 6;}
994
995
                        else if ( (LA12_0=='^') ) {s = 7;}
996
997
                        else if ( ((LA12_0>='B' && LA12_0<='N')||(LA12_0>='P' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='c')||(LA12_0>='f' && LA12_0<='z')) ) {s = 8;}
998
999
                        else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 9;}
1000
1001
                        else if ( (LA12_0=='\"') ) {s = 10;}
1002
1003
                        else if ( (LA12_0=='\'') ) {s = 11;}
1004
1005
                        else if ( (LA12_0=='/') ) {s = 12;}
1006
1007
                        else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 13;}
1008
1009
                        else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='.')||(LA12_0>=';' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||(LA12_0>='{' && LA12_0<='\uFFFF')) ) {s = 14;}
1010
1011
                        if ( s>=0 ) return s;
1012
                        break;
1013
                    case 1 : 
1014
                        int LA12_10 = input.LA(1);
1015
1016
                        s = -1;
1017
                        if ( ((LA12_10>='\u0000' && LA12_10<='\uFFFF')) ) {s = 25;}
1018
1019
                        else s = 14;
1020
1021
                        if ( s>=0 ) return s;
1022
                        break;
1023
                    case 2 : 
1024
                        int LA12_11 = input.LA(1);
1025
1026
                        s = -1;
1027
                        if ( ((LA12_11>='\u0000' && LA12_11<='\uFFFF')) ) {s = 25;}
1028
1029
                        else s = 14;
1030
1031
                        if ( s>=0 ) return s;
1032
                        break;
1033
            }
1034
            NoViableAltException nvae =
1035
                new NoViableAltException(getDescription(), 12, _s, input);
1036
            error(nvae);
1037
            throw nvae;
1038
        }
1039
    }
1170
 
1040
 
1171
1041
1172
}
1042
}
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.tokens (+8 lines)
Lines 1-5 Link Here
1
RULE_ID=4
1
RULE_ID=4
2
RULE_STRING=6
2
RULE_STRING=6
3
T__16=16
4
T__15=15
5
T__18=18
6
T__17=17
7
T__12=12
8
T__11=11
9
T__14=14
10
T__13=13
3
RULE_ANY_OTHER=10
11
RULE_ANY_OTHER=10
4
RULE_INT=5
12
RULE_INT=5
5
RULE_WS=9
13
RULE_WS=9
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlStateParser.java (-227 / +321 lines)
Lines 27-32 Link Here
27
    };
27
    };
28
    public static final int RULE_ID=4;
28
    public static final int RULE_ID=4;
29
    public static final int RULE_STRING=6;
29
    public static final int RULE_STRING=6;
30
    public static final int T__16=16;
31
    public static final int T__15=15;
32
    public static final int T__18=18;
33
    public static final int T__17=17;
34
    public static final int T__12=12;
35
    public static final int T__11=11;
36
    public static final int T__14=14;
37
    public static final int T__13=13;
30
    public static final int RULE_ANY_OTHER=10;
38
    public static final int RULE_ANY_OTHER=10;
31
    public static final int RULE_INT=5;
39
    public static final int RULE_INT=5;
32
    public static final int RULE_WS=9;
40
    public static final int RULE_WS=9;
Lines 34-45 Link Here
34
    public static final int EOF=-1;
42
    public static final int EOF=-1;
35
    public static final int RULE_ML_COMMENT=7;
43
    public static final int RULE_ML_COMMENT=7;
36
44
45
    // delegates
46
    // delegators
47
48
37
        public InternalUmlStateParser(TokenStream input) {
49
        public InternalUmlStateParser(TokenStream input) {
38
            super(input);
50
            this(input, new RecognizerSharedState());
51
        }
52
        public InternalUmlStateParser(TokenStream input, RecognizerSharedState state) {
53
            super(input, state);
54
             
39
        }
55
        }
40
        
56
        
41
57
42
    public String[] getTokenNames() { return tokenNames; }
58
    public String[] getTokenNames() { return InternalUmlStateParser.tokenNames; }
43
    public String getGrammarFileName() { return "../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g"; }
59
    public String getGrammarFileName() { return "../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g"; }
44
60
45
61
Lines 63-69 Link Here
63
79
64
80
65
81
66
    // $ANTLR start entryRuleStateRule
82
    // $ANTLR start "entryRuleStateRule"
67
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:61:1: entryRuleStateRule : ruleStateRule EOF ;
83
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:61:1: entryRuleStateRule : ruleStateRule EOF ;
68
    public final void entryRuleStateRule() throws RecognitionException {
84
    public final void entryRuleStateRule() throws RecognitionException {
69
        try {
85
        try {
Lines 73-79 Link Here
73
             before(grammarAccess.getStateRuleRule()); 
89
             before(grammarAccess.getStateRuleRule()); 
74
            pushFollow(FOLLOW_ruleStateRule_in_entryRuleStateRule61);
90
            pushFollow(FOLLOW_ruleStateRule_in_entryRuleStateRule61);
75
            ruleStateRule();
91
            ruleStateRule();
76
            _fsp--;
92
93
            state._fsp--;
77
94
78
             after(grammarAccess.getStateRuleRule()); 
95
             after(grammarAccess.getStateRuleRule()); 
79
            match(input,EOF,FOLLOW_EOF_in_entryRuleStateRule68); 
96
            match(input,EOF,FOLLOW_EOF_in_entryRuleStateRule68); 
Lines 89-98 Link Here
89
        }
106
        }
90
        return ;
107
        return ;
91
    }
108
    }
92
    // $ANTLR end entryRuleStateRule
109
    // $ANTLR end "entryRuleStateRule"
93
110
94
111
95
    // $ANTLR start ruleStateRule
112
    // $ANTLR start "ruleStateRule"
96
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:70:1: ruleStateRule : ( ( rule__StateRule__Group__0 ) ) ;
113
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:70:1: ruleStateRule : ( ( rule__StateRule__Group__0 ) ) ;
97
    public final void ruleStateRule() throws RecognitionException {
114
    public final void ruleStateRule() throws RecognitionException {
98
115
Lines 111-117 Link Here
111
            {
128
            {
112
            pushFollow(FOLLOW_rule__StateRule__Group__0_in_ruleStateRule94);
129
            pushFollow(FOLLOW_rule__StateRule__Group__0_in_ruleStateRule94);
113
            rule__StateRule__Group__0();
130
            rule__StateRule__Group__0();
114
            _fsp--;
131
132
            state._fsp--;
115
133
116
134
117
            }
135
            }
Lines 135-144 Link Here
135
        }
153
        }
136
        return ;
154
        return ;
137
    }
155
    }
138
    // $ANTLR end ruleStateRule
156
    // $ANTLR end "ruleStateRule"
139
157
140
158
141
    // $ANTLR start entryRuleSubmachineRule
159
    // $ANTLR start "entryRuleSubmachineRule"
142
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:89:1: entryRuleSubmachineRule : ruleSubmachineRule EOF ;
160
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:89:1: entryRuleSubmachineRule : ruleSubmachineRule EOF ;
143
    public final void entryRuleSubmachineRule() throws RecognitionException {
161
    public final void entryRuleSubmachineRule() throws RecognitionException {
144
        try {
162
        try {
Lines 148-154 Link Here
148
             before(grammarAccess.getSubmachineRuleRule()); 
166
             before(grammarAccess.getSubmachineRuleRule()); 
149
            pushFollow(FOLLOW_ruleSubmachineRule_in_entryRuleSubmachineRule121);
167
            pushFollow(FOLLOW_ruleSubmachineRule_in_entryRuleSubmachineRule121);
150
            ruleSubmachineRule();
168
            ruleSubmachineRule();
151
            _fsp--;
169
170
            state._fsp--;
152
171
153
             after(grammarAccess.getSubmachineRuleRule()); 
172
             after(grammarAccess.getSubmachineRuleRule()); 
154
            match(input,EOF,FOLLOW_EOF_in_entryRuleSubmachineRule128); 
173
            match(input,EOF,FOLLOW_EOF_in_entryRuleSubmachineRule128); 
Lines 164-173 Link Here
164
        }
183
        }
165
        return ;
184
        return ;
166
    }
185
    }
167
    // $ANTLR end entryRuleSubmachineRule
186
    // $ANTLR end "entryRuleSubmachineRule"
168
187
169
188
170
    // $ANTLR start ruleSubmachineRule
189
    // $ANTLR start "ruleSubmachineRule"
171
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:98:1: ruleSubmachineRule : ( ( rule__SubmachineRule__Group__0 ) ) ;
190
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:98:1: ruleSubmachineRule : ( ( rule__SubmachineRule__Group__0 ) ) ;
172
    public final void ruleSubmachineRule() throws RecognitionException {
191
    public final void ruleSubmachineRule() throws RecognitionException {
173
192
Lines 186-193 Link Here
186
            {
205
            {
187
            pushFollow(FOLLOW_rule__SubmachineRule__Group__0_in_ruleSubmachineRule154);
206
            pushFollow(FOLLOW_rule__SubmachineRule__Group__0_in_ruleSubmachineRule154);
188
            rule__SubmachineRule__Group__0();
207
            rule__SubmachineRule__Group__0();
189
            _fsp--;
190
208
209
            state._fsp--;
210
191
211
192
            }
212
            }
193
213
Lines 210-219 Link Here
210
        }
230
        }
211
        return ;
231
        return ;
212
    }
232
    }
213
    // $ANTLR end ruleSubmachineRule
233
    // $ANTLR end "ruleSubmachineRule"
214
234
215
235
216
    // $ANTLR start entryRuleQualifiedName
236
    // $ANTLR start "entryRuleQualifiedName"
217
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:117:1: entryRuleQualifiedName : ruleQualifiedName EOF ;
237
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:117:1: entryRuleQualifiedName : ruleQualifiedName EOF ;
218
    public final void entryRuleQualifiedName() throws RecognitionException {
238
    public final void entryRuleQualifiedName() throws RecognitionException {
219
        try {
239
        try {
Lines 223-229 Link Here
223
             before(grammarAccess.getQualifiedNameRule()); 
243
             before(grammarAccess.getQualifiedNameRule()); 
224
            pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName181);
244
            pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName181);
225
            ruleQualifiedName();
245
            ruleQualifiedName();
226
            _fsp--;
246
247
            state._fsp--;
227
248
228
             after(grammarAccess.getQualifiedNameRule()); 
249
             after(grammarAccess.getQualifiedNameRule()); 
229
            match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName188); 
250
            match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName188); 
Lines 239-248 Link Here
239
        }
260
        }
240
        return ;
261
        return ;
241
    }
262
    }
242
    // $ANTLR end entryRuleQualifiedName
263
    // $ANTLR end "entryRuleQualifiedName"
243
264
244
265
245
    // $ANTLR start ruleQualifiedName
266
    // $ANTLR start "ruleQualifiedName"
246
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:126:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ;
267
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:126:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ;
247
    public final void ruleQualifiedName() throws RecognitionException {
268
    public final void ruleQualifiedName() throws RecognitionException {
248
269
Lines 261-268 Link Here
261
            {
282
            {
262
            pushFollow(FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName214);
283
            pushFollow(FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName214);
263
            rule__QualifiedName__Group__0();
284
            rule__QualifiedName__Group__0();
264
            _fsp--;
265
285
286
            state._fsp--;
287
266
288
267
            }
289
            }
268
290
Lines 285-294 Link Here
285
        }
307
        }
286
        return ;
308
        return ;
287
    }
309
    }
288
    // $ANTLR end ruleQualifiedName
310
    // $ANTLR end "ruleQualifiedName"
289
311
290
312
291
    // $ANTLR start entryRuleEntryRule
313
    // $ANTLR start "entryRuleEntryRule"
292
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:145:1: entryRuleEntryRule : ruleEntryRule EOF ;
314
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:145:1: entryRuleEntryRule : ruleEntryRule EOF ;
293
    public final void entryRuleEntryRule() throws RecognitionException {
315
    public final void entryRuleEntryRule() throws RecognitionException {
294
        try {
316
        try {
Lines 298-304 Link Here
298
             before(grammarAccess.getEntryRuleRule()); 
320
             before(grammarAccess.getEntryRuleRule()); 
299
            pushFollow(FOLLOW_ruleEntryRule_in_entryRuleEntryRule241);
321
            pushFollow(FOLLOW_ruleEntryRule_in_entryRuleEntryRule241);
300
            ruleEntryRule();
322
            ruleEntryRule();
301
            _fsp--;
323
324
            state._fsp--;
302
325
303
             after(grammarAccess.getEntryRuleRule()); 
326
             after(grammarAccess.getEntryRuleRule()); 
304
            match(input,EOF,FOLLOW_EOF_in_entryRuleEntryRule248); 
327
            match(input,EOF,FOLLOW_EOF_in_entryRuleEntryRule248); 
Lines 314-323 Link Here
314
        }
337
        }
315
        return ;
338
        return ;
316
    }
339
    }
317
    // $ANTLR end entryRuleEntryRule
340
    // $ANTLR end "entryRuleEntryRule"
318
341
319
342
320
    // $ANTLR start ruleEntryRule
343
    // $ANTLR start "ruleEntryRule"
321
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:154:1: ruleEntryRule : ( ( rule__EntryRule__Group__0 ) ) ;
344
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:154:1: ruleEntryRule : ( ( rule__EntryRule__Group__0 ) ) ;
322
    public final void ruleEntryRule() throws RecognitionException {
345
    public final void ruleEntryRule() throws RecognitionException {
323
346
Lines 336-342 Link Here
336
            {
359
            {
337
            pushFollow(FOLLOW_rule__EntryRule__Group__0_in_ruleEntryRule274);
360
            pushFollow(FOLLOW_rule__EntryRule__Group__0_in_ruleEntryRule274);
338
            rule__EntryRule__Group__0();
361
            rule__EntryRule__Group__0();
339
            _fsp--;
362
363
            state._fsp--;
340
364
341
365
342
            }
366
            }
Lines 360-369 Link Here
360
        }
384
        }
361
        return ;
385
        return ;
362
    }
386
    }
363
    // $ANTLR end ruleEntryRule
387
    // $ANTLR end "ruleEntryRule"
364
388
365
389
366
    // $ANTLR start entryRuleDoRule
390
    // $ANTLR start "entryRuleDoRule"
367
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:173:1: entryRuleDoRule : ruleDoRule EOF ;
391
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:173:1: entryRuleDoRule : ruleDoRule EOF ;
368
    public final void entryRuleDoRule() throws RecognitionException {
392
    public final void entryRuleDoRule() throws RecognitionException {
369
        try {
393
        try {
Lines 373-379 Link Here
373
             before(grammarAccess.getDoRuleRule()); 
397
             before(grammarAccess.getDoRuleRule()); 
374
            pushFollow(FOLLOW_ruleDoRule_in_entryRuleDoRule301);
398
            pushFollow(FOLLOW_ruleDoRule_in_entryRuleDoRule301);
375
            ruleDoRule();
399
            ruleDoRule();
376
            _fsp--;
400
401
            state._fsp--;
377
402
378
             after(grammarAccess.getDoRuleRule()); 
403
             after(grammarAccess.getDoRuleRule()); 
379
            match(input,EOF,FOLLOW_EOF_in_entryRuleDoRule308); 
404
            match(input,EOF,FOLLOW_EOF_in_entryRuleDoRule308); 
Lines 389-398 Link Here
389
        }
414
        }
390
        return ;
415
        return ;
391
    }
416
    }
392
    // $ANTLR end entryRuleDoRule
417
    // $ANTLR end "entryRuleDoRule"
393
418
394
419
395
    // $ANTLR start ruleDoRule
420
    // $ANTLR start "ruleDoRule"
396
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:182:1: ruleDoRule : ( ( rule__DoRule__Group__0 ) ) ;
421
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:182:1: ruleDoRule : ( ( rule__DoRule__Group__0 ) ) ;
397
    public final void ruleDoRule() throws RecognitionException {
422
    public final void ruleDoRule() throws RecognitionException {
398
423
Lines 411-418 Link Here
411
            {
436
            {
412
            pushFollow(FOLLOW_rule__DoRule__Group__0_in_ruleDoRule334);
437
            pushFollow(FOLLOW_rule__DoRule__Group__0_in_ruleDoRule334);
413
            rule__DoRule__Group__0();
438
            rule__DoRule__Group__0();
414
            _fsp--;
415
439
440
            state._fsp--;
441
416
442
417
            }
443
            }
418
444
Lines 435-444 Link Here
435
        }
461
        }
436
        return ;
462
        return ;
437
    }
463
    }
438
    // $ANTLR end ruleDoRule
464
    // $ANTLR end "ruleDoRule"
439
465
440
466
441
    // $ANTLR start entryRuleExitRule
467
    // $ANTLR start "entryRuleExitRule"
442
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:201:1: entryRuleExitRule : ruleExitRule EOF ;
468
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:201:1: entryRuleExitRule : ruleExitRule EOF ;
443
    public final void entryRuleExitRule() throws RecognitionException {
469
    public final void entryRuleExitRule() throws RecognitionException {
444
        try {
470
        try {
Lines 448-454 Link Here
448
             before(grammarAccess.getExitRuleRule()); 
474
             before(grammarAccess.getExitRuleRule()); 
449
            pushFollow(FOLLOW_ruleExitRule_in_entryRuleExitRule361);
475
            pushFollow(FOLLOW_ruleExitRule_in_entryRuleExitRule361);
450
            ruleExitRule();
476
            ruleExitRule();
451
            _fsp--;
477
478
            state._fsp--;
452
479
453
             after(grammarAccess.getExitRuleRule()); 
480
             after(grammarAccess.getExitRuleRule()); 
454
            match(input,EOF,FOLLOW_EOF_in_entryRuleExitRule368); 
481
            match(input,EOF,FOLLOW_EOF_in_entryRuleExitRule368); 
Lines 464-473 Link Here
464
        }
491
        }
465
        return ;
492
        return ;
466
    }
493
    }
467
    // $ANTLR end entryRuleExitRule
494
    // $ANTLR end "entryRuleExitRule"
468
495
469
496
470
    // $ANTLR start ruleExitRule
497
    // $ANTLR start "ruleExitRule"
471
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:210:1: ruleExitRule : ( ( rule__ExitRule__Group__0 ) ) ;
498
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:210:1: ruleExitRule : ( ( rule__ExitRule__Group__0 ) ) ;
472
    public final void ruleExitRule() throws RecognitionException {
499
    public final void ruleExitRule() throws RecognitionException {
473
500
Lines 486-492 Link Here
486
            {
513
            {
487
            pushFollow(FOLLOW_rule__ExitRule__Group__0_in_ruleExitRule394);
514
            pushFollow(FOLLOW_rule__ExitRule__Group__0_in_ruleExitRule394);
488
            rule__ExitRule__Group__0();
515
            rule__ExitRule__Group__0();
489
            _fsp--;
516
517
            state._fsp--;
490
518
491
519
492
            }
520
            }
Lines 510-519 Link Here
510
        }
538
        }
511
        return ;
539
        return ;
512
    }
540
    }
513
    // $ANTLR end ruleExitRule
541
    // $ANTLR end "ruleExitRule"
514
542
515
543
516
    // $ANTLR start ruleBehaviorKind
544
    // $ANTLR start "ruleBehaviorKind"
517
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:230:1: ruleBehaviorKind : ( ( rule__BehaviorKind__Alternatives ) ) ;
545
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:230:1: ruleBehaviorKind : ( ( rule__BehaviorKind__Alternatives ) ) ;
518
    public final void ruleBehaviorKind() throws RecognitionException {
546
    public final void ruleBehaviorKind() throws RecognitionException {
519
547
Lines 532-538 Link Here
532
            {
560
            {
533
            pushFollow(FOLLOW_rule__BehaviorKind__Alternatives_in_ruleBehaviorKind431);
561
            pushFollow(FOLLOW_rule__BehaviorKind__Alternatives_in_ruleBehaviorKind431);
534
            rule__BehaviorKind__Alternatives();
562
            rule__BehaviorKind__Alternatives();
535
            _fsp--;
563
564
            state._fsp--;
536
565
537
566
538
            }
567
            }
Lines 556-565 Link Here
556
        }
585
        }
557
        return ;
586
        return ;
558
    }
587
    }
559
    // $ANTLR end ruleBehaviorKind
588
    // $ANTLR end "ruleBehaviorKind"
560
589
561
590
562
    // $ANTLR start rule__BehaviorKind__Alternatives
591
    // $ANTLR start "rule__BehaviorKind__Alternatives"
563
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:248:1: rule__BehaviorKind__Alternatives : ( ( ( 'Activity' ) ) | ( ( 'StateMachine' ) ) | ( ( 'OpaqueBehavior' ) ) );
592
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:248:1: rule__BehaviorKind__Alternatives : ( ( ( 'Activity' ) ) | ( ( 'StateMachine' ) ) | ( ( 'OpaqueBehavior' ) ) );
564
    public final void rule__BehaviorKind__Alternatives() throws RecognitionException {
593
    public final void rule__BehaviorKind__Alternatives() throws RecognitionException {
565
594
Lines 586-592 Link Here
586
                break;
615
                break;
587
            default:
616
            default:
588
                NoViableAltException nvae =
617
                NoViableAltException nvae =
589
                    new NoViableAltException("248:1: rule__BehaviorKind__Alternatives : ( ( ( 'Activity' ) ) | ( ( 'StateMachine' ) ) | ( ( 'OpaqueBehavior' ) ) );", 1, 0, input);
618
                    new NoViableAltException("", 1, 0, input);
590
619
591
                throw nvae;
620
                throw nvae;
592
            }
621
            }
Lines 669-678 Link Here
669
        }
698
        }
670
        return ;
699
        return ;
671
    }
700
    }
672
    // $ANTLR end rule__BehaviorKind__Alternatives
701
    // $ANTLR end "rule__BehaviorKind__Alternatives"
673
702
674
703
675
    // $ANTLR start rule__StateRule__Group__0
704
    // $ANTLR start "rule__StateRule__Group__0"
676
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:281:1: rule__StateRule__Group__0 : rule__StateRule__Group__0__Impl rule__StateRule__Group__1 ;
705
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:281:1: rule__StateRule__Group__0 : rule__StateRule__Group__0__Impl rule__StateRule__Group__1 ;
677
    public final void rule__StateRule__Group__0() throws RecognitionException {
706
    public final void rule__StateRule__Group__0() throws RecognitionException {
678
707
Lines 684-695 Link Here
684
            {
713
            {
685
            pushFollow(FOLLOW_rule__StateRule__Group__0__Impl_in_rule__StateRule__Group__0542);
714
            pushFollow(FOLLOW_rule__StateRule__Group__0__Impl_in_rule__StateRule__Group__0542);
686
            rule__StateRule__Group__0__Impl();
715
            rule__StateRule__Group__0__Impl();
687
            _fsp--;
716
717
            state._fsp--;
688
718
689
            pushFollow(FOLLOW_rule__StateRule__Group__1_in_rule__StateRule__Group__0545);
719
            pushFollow(FOLLOW_rule__StateRule__Group__1_in_rule__StateRule__Group__0545);
690
            rule__StateRule__Group__1();
720
            rule__StateRule__Group__1();
691
            _fsp--;
692
721
722
            state._fsp--;
723
693
724
694
            }
725
            }
695
726
Lines 705-714 Link Here
705
        }
736
        }
706
        return ;
737
        return ;
707
    }
738
    }
708
    // $ANTLR end rule__StateRule__Group__0
739
    // $ANTLR end "rule__StateRule__Group__0"
709
740
710
741
711
    // $ANTLR start rule__StateRule__Group__0__Impl
742
    // $ANTLR start "rule__StateRule__Group__0__Impl"
712
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:293:1: rule__StateRule__Group__0__Impl : ( ( rule__StateRule__NameAssignment_0 ) ) ;
743
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:293:1: rule__StateRule__Group__0__Impl : ( ( rule__StateRule__NameAssignment_0 ) ) ;
713
    public final void rule__StateRule__Group__0__Impl() throws RecognitionException {
744
    public final void rule__StateRule__Group__0__Impl() throws RecognitionException {
714
745
Lines 727-734 Link Here
727
            {
758
            {
728
            pushFollow(FOLLOW_rule__StateRule__NameAssignment_0_in_rule__StateRule__Group__0__Impl572);
759
            pushFollow(FOLLOW_rule__StateRule__NameAssignment_0_in_rule__StateRule__Group__0__Impl572);
729
            rule__StateRule__NameAssignment_0();
760
            rule__StateRule__NameAssignment_0();
730
            _fsp--;
731
761
762
            state._fsp--;
763
732
764
733
            }
765
            }
734
766
Lines 751-760 Link Here
751
        }
783
        }
752
        return ;
784
        return ;
753
    }
785
    }
754
    // $ANTLR end rule__StateRule__Group__0__Impl
786
    // $ANTLR end "rule__StateRule__Group__0__Impl"
755
787
756
788
757
    // $ANTLR start rule__StateRule__Group__1
789
    // $ANTLR start "rule__StateRule__Group__1"
758
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:310:1: rule__StateRule__Group__1 : rule__StateRule__Group__1__Impl rule__StateRule__Group__2 ;
790
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:310:1: rule__StateRule__Group__1 : rule__StateRule__Group__1__Impl rule__StateRule__Group__2 ;
759
    public final void rule__StateRule__Group__1() throws RecognitionException {
791
    public final void rule__StateRule__Group__1() throws RecognitionException {
760
792
Lines 766-776 Link Here
766
            {
798
            {
767
            pushFollow(FOLLOW_rule__StateRule__Group__1__Impl_in_rule__StateRule__Group__1602);
799
            pushFollow(FOLLOW_rule__StateRule__Group__1__Impl_in_rule__StateRule__Group__1602);
768
            rule__StateRule__Group__1__Impl();
800
            rule__StateRule__Group__1__Impl();
769
            _fsp--;
801
802
            state._fsp--;
770
803
771
            pushFollow(FOLLOW_rule__StateRule__Group__2_in_rule__StateRule__Group__1605);
804
            pushFollow(FOLLOW_rule__StateRule__Group__2_in_rule__StateRule__Group__1605);
772
            rule__StateRule__Group__2();
805
            rule__StateRule__Group__2();
773
            _fsp--;
806
807
            state._fsp--;
774
808
775
809
776
            }
810
            }
Lines 787-796 Link Here
787
        }
821
        }
788
        return ;
822
        return ;
789
    }
823
    }
790
    // $ANTLR end rule__StateRule__Group__1
824
    // $ANTLR end "rule__StateRule__Group__1"
791
825
792
826
793
    // $ANTLR start rule__StateRule__Group__1__Impl
827
    // $ANTLR start "rule__StateRule__Group__1__Impl"
794
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:322:1: rule__StateRule__Group__1__Impl : ( ( rule__StateRule__Group_1__0 )? ) ;
828
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:322:1: rule__StateRule__Group__1__Impl : ( ( rule__StateRule__Group_1__0 )? ) ;
795
    public final void rule__StateRule__Group__1__Impl() throws RecognitionException {
829
    public final void rule__StateRule__Group__1__Impl() throws RecognitionException {
796
830
Lines 817-824 Link Here
817
                    {
851
                    {
818
                    pushFollow(FOLLOW_rule__StateRule__Group_1__0_in_rule__StateRule__Group__1__Impl632);
852
                    pushFollow(FOLLOW_rule__StateRule__Group_1__0_in_rule__StateRule__Group__1__Impl632);
819
                    rule__StateRule__Group_1__0();
853
                    rule__StateRule__Group_1__0();
820
                    _fsp--;
821
854
855
                    state._fsp--;
856
822
857
823
                    }
858
                    }
824
                    break;
859
                    break;
Lines 844-853 Link Here
844
        }
879
        }
845
        return ;
880
        return ;
846
    }
881
    }
847
    // $ANTLR end rule__StateRule__Group__1__Impl
882
    // $ANTLR end "rule__StateRule__Group__1__Impl"
848
883
849
884
850
    // $ANTLR start rule__StateRule__Group__2
885
    // $ANTLR start "rule__StateRule__Group__2"
851
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:339:1: rule__StateRule__Group__2 : rule__StateRule__Group__2__Impl ;
886
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:339:1: rule__StateRule__Group__2 : rule__StateRule__Group__2__Impl ;
852
    public final void rule__StateRule__Group__2() throws RecognitionException {
887
    public final void rule__StateRule__Group__2() throws RecognitionException {
853
888
Lines 859-866 Link Here
859
            {
894
            {
860
            pushFollow(FOLLOW_rule__StateRule__Group__2__Impl_in_rule__StateRule__Group__2663);
895
            pushFollow(FOLLOW_rule__StateRule__Group__2__Impl_in_rule__StateRule__Group__2663);
861
            rule__StateRule__Group__2__Impl();
896
            rule__StateRule__Group__2__Impl();
862
            _fsp--;
863
897
898
            state._fsp--;
899
864
900
865
            }
901
            }
866
902
Lines 876-885 Link Here
876
        }
912
        }
877
        return ;
913
        return ;
878
    }
914
    }
879
    // $ANTLR end rule__StateRule__Group__2
915
    // $ANTLR end "rule__StateRule__Group__2"
880
916
881
917
882
    // $ANTLR start rule__StateRule__Group__2__Impl
918
    // $ANTLR start "rule__StateRule__Group__2__Impl"
883
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:350:1: rule__StateRule__Group__2__Impl : ( ( rule__StateRule__UnorderedGroup_2 ) ) ;
919
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:350:1: rule__StateRule__Group__2__Impl : ( ( rule__StateRule__UnorderedGroup_2 ) ) ;
884
    public final void rule__StateRule__Group__2__Impl() throws RecognitionException {
920
    public final void rule__StateRule__Group__2__Impl() throws RecognitionException {
885
921
Lines 898-905 Link Here
898
            {
934
            {
899
            pushFollow(FOLLOW_rule__StateRule__UnorderedGroup_2_in_rule__StateRule__Group__2__Impl690);
935
            pushFollow(FOLLOW_rule__StateRule__UnorderedGroup_2_in_rule__StateRule__Group__2__Impl690);
900
            rule__StateRule__UnorderedGroup_2();
936
            rule__StateRule__UnorderedGroup_2();
901
            _fsp--;
902
937
938
            state._fsp--;
939
903
940
904
            }
941
            }
905
942
Lines 922-931 Link Here
922
        }
959
        }
923
        return ;
960
        return ;
924
    }
961
    }
925
    // $ANTLR end rule__StateRule__Group__2__Impl
962
    // $ANTLR end "rule__StateRule__Group__2__Impl"
926
963
927
964
928
    // $ANTLR start rule__StateRule__Group_1__0
965
    // $ANTLR start "rule__StateRule__Group_1__0"
929
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:373:1: rule__StateRule__Group_1__0 : rule__StateRule__Group_1__0__Impl rule__StateRule__Group_1__1 ;
966
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:373:1: rule__StateRule__Group_1__0 : rule__StateRule__Group_1__0__Impl rule__StateRule__Group_1__1 ;
930
    public final void rule__StateRule__Group_1__0() throws RecognitionException {
967
    public final void rule__StateRule__Group_1__0() throws RecognitionException {
931
968
Lines 937-947 Link Here
937
            {
974
            {
938
            pushFollow(FOLLOW_rule__StateRule__Group_1__0__Impl_in_rule__StateRule__Group_1__0726);
975
            pushFollow(FOLLOW_rule__StateRule__Group_1__0__Impl_in_rule__StateRule__Group_1__0726);
939
            rule__StateRule__Group_1__0__Impl();
976
            rule__StateRule__Group_1__0__Impl();
940
            _fsp--;
977
978
            state._fsp--;
941
979
942
            pushFollow(FOLLOW_rule__StateRule__Group_1__1_in_rule__StateRule__Group_1__0729);
980
            pushFollow(FOLLOW_rule__StateRule__Group_1__1_in_rule__StateRule__Group_1__0729);
943
            rule__StateRule__Group_1__1();
981
            rule__StateRule__Group_1__1();
944
            _fsp--;
982
983
            state._fsp--;
945
984
946
985
947
            }
986
            }
Lines 958-967 Link Here
958
        }
997
        }
959
        return ;
998
        return ;
960
    }
999
    }
961
    // $ANTLR end rule__StateRule__Group_1__0
1000
    // $ANTLR end "rule__StateRule__Group_1__0"
962
1001
963
1002
964
    // $ANTLR start rule__StateRule__Group_1__0__Impl
1003
    // $ANTLR start "rule__StateRule__Group_1__0__Impl"
965
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:385:1: rule__StateRule__Group_1__0__Impl : ( ':' ) ;
1004
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:385:1: rule__StateRule__Group_1__0__Impl : ( ':' ) ;
966
    public final void rule__StateRule__Group_1__0__Impl() throws RecognitionException {
1005
    public final void rule__StateRule__Group_1__0__Impl() throws RecognitionException {
967
1006
Lines 995-1004 Link Here
995
        }
1034
        }
996
        return ;
1035
        return ;
997
    }
1036
    }
998
    // $ANTLR end rule__StateRule__Group_1__0__Impl
1037
    // $ANTLR end "rule__StateRule__Group_1__0__Impl"
999
1038
1000
1039
1001
    // $ANTLR start rule__StateRule__Group_1__1
1040
    // $ANTLR start "rule__StateRule__Group_1__1"
1002
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:404:1: rule__StateRule__Group_1__1 : rule__StateRule__Group_1__1__Impl ;
1041
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:404:1: rule__StateRule__Group_1__1 : rule__StateRule__Group_1__1__Impl ;
1003
    public final void rule__StateRule__Group_1__1() throws RecognitionException {
1042
    public final void rule__StateRule__Group_1__1() throws RecognitionException {
1004
1043
Lines 1010-1017 Link Here
1010
            {
1049
            {
1011
            pushFollow(FOLLOW_rule__StateRule__Group_1__1__Impl_in_rule__StateRule__Group_1__1788);
1050
            pushFollow(FOLLOW_rule__StateRule__Group_1__1__Impl_in_rule__StateRule__Group_1__1788);
1012
            rule__StateRule__Group_1__1__Impl();
1051
            rule__StateRule__Group_1__1__Impl();
1013
            _fsp--;
1014
1052
1053
            state._fsp--;
1054
1015
1055
1016
            }
1056
            }
1017
1057
Lines 1027-1036 Link Here
1027
        }
1067
        }
1028
        return ;
1068
        return ;
1029
    }
1069
    }
1030
    // $ANTLR end rule__StateRule__Group_1__1
1070
    // $ANTLR end "rule__StateRule__Group_1__1"
1031
1071
1032
1072
1033
    // $ANTLR start rule__StateRule__Group_1__1__Impl
1073
    // $ANTLR start "rule__StateRule__Group_1__1__Impl"
1034
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:415:1: rule__StateRule__Group_1__1__Impl : ( ( rule__StateRule__SubmachineAssignment_1_1 ) ) ;
1074
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:415:1: rule__StateRule__Group_1__1__Impl : ( ( rule__StateRule__SubmachineAssignment_1_1 ) ) ;
1035
    public final void rule__StateRule__Group_1__1__Impl() throws RecognitionException {
1075
    public final void rule__StateRule__Group_1__1__Impl() throws RecognitionException {
1036
1076
Lines 1049-1056 Link Here
1049
            {
1089
            {
1050
            pushFollow(FOLLOW_rule__StateRule__SubmachineAssignment_1_1_in_rule__StateRule__Group_1__1__Impl815);
1090
            pushFollow(FOLLOW_rule__StateRule__SubmachineAssignment_1_1_in_rule__StateRule__Group_1__1__Impl815);
1051
            rule__StateRule__SubmachineAssignment_1_1();
1091
            rule__StateRule__SubmachineAssignment_1_1();
1052
            _fsp--;
1053
1092
1093
            state._fsp--;
1094
1054
1095
1055
            }
1096
            }
1056
1097
Lines 1073-1082 Link Here
1073
        }
1114
        }
1074
        return ;
1115
        return ;
1075
    }
1116
    }
1076
    // $ANTLR end rule__StateRule__Group_1__1__Impl
1117
    // $ANTLR end "rule__StateRule__Group_1__1__Impl"
1077
1118
1078
1119
1079
    // $ANTLR start rule__SubmachineRule__Group__0
1120
    // $ANTLR start "rule__SubmachineRule__Group__0"
1080
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:436:1: rule__SubmachineRule__Group__0 : rule__SubmachineRule__Group__0__Impl rule__SubmachineRule__Group__1 ;
1121
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:436:1: rule__SubmachineRule__Group__0 : rule__SubmachineRule__Group__0__Impl rule__SubmachineRule__Group__1 ;
1081
    public final void rule__SubmachineRule__Group__0() throws RecognitionException {
1122
    public final void rule__SubmachineRule__Group__0() throws RecognitionException {
1082
1123
Lines 1088-1098 Link Here
1088
            {
1129
            {
1089
            pushFollow(FOLLOW_rule__SubmachineRule__Group__0__Impl_in_rule__SubmachineRule__Group__0849);
1130
            pushFollow(FOLLOW_rule__SubmachineRule__Group__0__Impl_in_rule__SubmachineRule__Group__0849);
1090
            rule__SubmachineRule__Group__0__Impl();
1131
            rule__SubmachineRule__Group__0__Impl();
1091
            _fsp--;
1132
1133
            state._fsp--;
1092
1134
1093
            pushFollow(FOLLOW_rule__SubmachineRule__Group__1_in_rule__SubmachineRule__Group__0852);
1135
            pushFollow(FOLLOW_rule__SubmachineRule__Group__1_in_rule__SubmachineRule__Group__0852);
1094
            rule__SubmachineRule__Group__1();
1136
            rule__SubmachineRule__Group__1();
1095
            _fsp--;
1137
1138
            state._fsp--;
1096
1139
1097
1140
1098
            }
1141
            }
Lines 1109-1118 Link Here
1109
        }
1152
        }
1110
        return ;
1153
        return ;
1111
    }
1154
    }
1112
    // $ANTLR end rule__SubmachineRule__Group__0
1155
    // $ANTLR end "rule__SubmachineRule__Group__0"
1113
1156
1114
1157
1115
    // $ANTLR start rule__SubmachineRule__Group__0__Impl
1158
    // $ANTLR start "rule__SubmachineRule__Group__0__Impl"
1116
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:448:1: rule__SubmachineRule__Group__0__Impl : ( ( rule__SubmachineRule__PathAssignment_0 )? ) ;
1159
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:448:1: rule__SubmachineRule__Group__0__Impl : ( ( rule__SubmachineRule__PathAssignment_0 )? ) ;
1117
    public final void rule__SubmachineRule__Group__0__Impl() throws RecognitionException {
1160
    public final void rule__SubmachineRule__Group__0__Impl() throws RecognitionException {
1118
1161
Lines 1143-1149 Link Here
1143
                    {
1186
                    {
1144
                    pushFollow(FOLLOW_rule__SubmachineRule__PathAssignment_0_in_rule__SubmachineRule__Group__0__Impl879);
1187
                    pushFollow(FOLLOW_rule__SubmachineRule__PathAssignment_0_in_rule__SubmachineRule__Group__0__Impl879);
1145
                    rule__SubmachineRule__PathAssignment_0();
1188
                    rule__SubmachineRule__PathAssignment_0();
1146
                    _fsp--;
1189
1190
                    state._fsp--;
1147
1191
1148
1192
1149
                    }
1193
                    }
Lines 1170-1179 Link Here
1170
        }
1214
        }
1171
        return ;
1215
        return ;
1172
    }
1216
    }
1173
    // $ANTLR end rule__SubmachineRule__Group__0__Impl
1217
    // $ANTLR end "rule__SubmachineRule__Group__0__Impl"
1174
1218
1175
1219
1176
    // $ANTLR start rule__SubmachineRule__Group__1
1220
    // $ANTLR start "rule__SubmachineRule__Group__1"
1177
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:465:1: rule__SubmachineRule__Group__1 : rule__SubmachineRule__Group__1__Impl ;
1221
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:465:1: rule__SubmachineRule__Group__1 : rule__SubmachineRule__Group__1__Impl ;
1178
    public final void rule__SubmachineRule__Group__1() throws RecognitionException {
1222
    public final void rule__SubmachineRule__Group__1() throws RecognitionException {
1179
1223
Lines 1185-1192 Link Here
1185
            {
1229
            {
1186
            pushFollow(FOLLOW_rule__SubmachineRule__Group__1__Impl_in_rule__SubmachineRule__Group__1910);
1230
            pushFollow(FOLLOW_rule__SubmachineRule__Group__1__Impl_in_rule__SubmachineRule__Group__1910);
1187
            rule__SubmachineRule__Group__1__Impl();
1231
            rule__SubmachineRule__Group__1__Impl();
1188
            _fsp--;
1189
1232
1233
            state._fsp--;
1234
1190
1235
1191
            }
1236
            }
1192
1237
Lines 1202-1211 Link Here
1202
        }
1247
        }
1203
        return ;
1248
        return ;
1204
    }
1249
    }
1205
    // $ANTLR end rule__SubmachineRule__Group__1
1250
    // $ANTLR end "rule__SubmachineRule__Group__1"
1206
1251
1207
1252
1208
    // $ANTLR start rule__SubmachineRule__Group__1__Impl
1253
    // $ANTLR start "rule__SubmachineRule__Group__1__Impl"
1209
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:476:1: rule__SubmachineRule__Group__1__Impl : ( ( rule__SubmachineRule__SubmachineAssignment_1 ) ) ;
1254
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:476:1: rule__SubmachineRule__Group__1__Impl : ( ( rule__SubmachineRule__SubmachineAssignment_1 ) ) ;
1210
    public final void rule__SubmachineRule__Group__1__Impl() throws RecognitionException {
1255
    public final void rule__SubmachineRule__Group__1__Impl() throws RecognitionException {
1211
1256
Lines 1224-1231 Link Here
1224
            {
1269
            {
1225
            pushFollow(FOLLOW_rule__SubmachineRule__SubmachineAssignment_1_in_rule__SubmachineRule__Group__1__Impl937);
1270
            pushFollow(FOLLOW_rule__SubmachineRule__SubmachineAssignment_1_in_rule__SubmachineRule__Group__1__Impl937);
1226
            rule__SubmachineRule__SubmachineAssignment_1();
1271
            rule__SubmachineRule__SubmachineAssignment_1();
1227
            _fsp--;
1228
1272
1273
            state._fsp--;
1274
1229
1275
1230
            }
1276
            }
1231
1277
Lines 1248-1257 Link Here
1248
        }
1294
        }
1249
        return ;
1295
        return ;
1250
    }
1296
    }
1251
    // $ANTLR end rule__SubmachineRule__Group__1__Impl
1297
    // $ANTLR end "rule__SubmachineRule__Group__1__Impl"
1252
1298
1253
1299
1254
    // $ANTLR start rule__QualifiedName__Group__0
1300
    // $ANTLR start "rule__QualifiedName__Group__0"
1255
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:497:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ;
1301
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:497:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ;
1256
    public final void rule__QualifiedName__Group__0() throws RecognitionException {
1302
    public final void rule__QualifiedName__Group__0() throws RecognitionException {
1257
1303
Lines 1263-1273 Link Here
1263
            {
1309
            {
1264
            pushFollow(FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__0971);
1310
            pushFollow(FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__0971);
1265
            rule__QualifiedName__Group__0__Impl();
1311
            rule__QualifiedName__Group__0__Impl();
1266
            _fsp--;
1312
1313
            state._fsp--;
1267
1314
1268
            pushFollow(FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__0974);
1315
            pushFollow(FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__0974);
1269
            rule__QualifiedName__Group__1();
1316
            rule__QualifiedName__Group__1();
1270
            _fsp--;
1317
1318
            state._fsp--;
1271
1319
1272
1320
1273
            }
1321
            }
Lines 1284-1293 Link Here
1284
        }
1332
        }
1285
        return ;
1333
        return ;
1286
    }
1334
    }
1287
    // $ANTLR end rule__QualifiedName__Group__0
1335
    // $ANTLR end "rule__QualifiedName__Group__0"
1288
1336
1289
1337
1290
    // $ANTLR start rule__QualifiedName__Group__0__Impl
1338
    // $ANTLR start "rule__QualifiedName__Group__0__Impl"
1291
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:509:1: rule__QualifiedName__Group__0__Impl : ( ( rule__QualifiedName__PathAssignment_0 ) ) ;
1339
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:509:1: rule__QualifiedName__Group__0__Impl : ( ( rule__QualifiedName__PathAssignment_0 ) ) ;
1292
    public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException {
1340
    public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException {
1293
1341
Lines 1306-1312 Link Here
1306
            {
1354
            {
1307
            pushFollow(FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl1001);
1355
            pushFollow(FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl1001);
1308
            rule__QualifiedName__PathAssignment_0();
1356
            rule__QualifiedName__PathAssignment_0();
1309
            _fsp--;
1357
1358
            state._fsp--;
1310
1359
1311
1360
1312
            }
1361
            }
Lines 1330-1339 Link Here
1330
        }
1379
        }
1331
        return ;
1380
        return ;
1332
    }
1381
    }
1333
    // $ANTLR end rule__QualifiedName__Group__0__Impl
1382
    // $ANTLR end "rule__QualifiedName__Group__0__Impl"
1334
1383
1335
1384
1336
    // $ANTLR start rule__QualifiedName__Group__1
1385
    // $ANTLR start "rule__QualifiedName__Group__1"
1337
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:526:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 ;
1386
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:526:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 ;
1338
    public final void rule__QualifiedName__Group__1() throws RecognitionException {
1387
    public final void rule__QualifiedName__Group__1() throws RecognitionException {
1339
1388
Lines 1345-1356 Link Here
1345
            {
1394
            {
1346
            pushFollow(FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__11031);
1395
            pushFollow(FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__11031);
1347
            rule__QualifiedName__Group__1__Impl();
1396
            rule__QualifiedName__Group__1__Impl();
1348
            _fsp--;
1397
1398
            state._fsp--;
1349
1399
1350
            pushFollow(FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__11034);
1400
            pushFollow(FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__11034);
1351
            rule__QualifiedName__Group__2();
1401
            rule__QualifiedName__Group__2();
1352
            _fsp--;
1353
1402
1403
            state._fsp--;
1404
1354
1405
1355
            }
1406
            }
1356
1407
Lines 1366-1375 Link Here
1366
        }
1417
        }
1367
        return ;
1418
        return ;
1368
    }
1419
    }
1369
    // $ANTLR end rule__QualifiedName__Group__1
1420
    // $ANTLR end "rule__QualifiedName__Group__1"
1370
1421
1371
1422
1372
    // $ANTLR start rule__QualifiedName__Group__1__Impl
1423
    // $ANTLR start "rule__QualifiedName__Group__1__Impl"
1373
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:538:1: rule__QualifiedName__Group__1__Impl : ( '::' ) ;
1424
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:538:1: rule__QualifiedName__Group__1__Impl : ( '::' ) ;
1374
    public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException {
1425
    public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException {
1375
1426
Lines 1403-1412 Link Here
1403
        }
1454
        }
1404
        return ;
1455
        return ;
1405
    }
1456
    }
1406
    // $ANTLR end rule__QualifiedName__Group__1__Impl
1457
    // $ANTLR end "rule__QualifiedName__Group__1__Impl"
1407
1458
1408
1459
1409
    // $ANTLR start rule__QualifiedName__Group__2
1460
    // $ANTLR start "rule__QualifiedName__Group__2"
1410
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:557:1: rule__QualifiedName__Group__2 : rule__QualifiedName__Group__2__Impl ;
1461
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:557:1: rule__QualifiedName__Group__2 : rule__QualifiedName__Group__2__Impl ;
1411
    public final void rule__QualifiedName__Group__2() throws RecognitionException {
1462
    public final void rule__QualifiedName__Group__2() throws RecognitionException {
1412
1463
Lines 1418-1425 Link Here
1418
            {
1469
            {
1419
            pushFollow(FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__21093);
1470
            pushFollow(FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__21093);
1420
            rule__QualifiedName__Group__2__Impl();
1471
            rule__QualifiedName__Group__2__Impl();
1421
            _fsp--;
1422
1472
1473
            state._fsp--;
1474
1423
1475
1424
            }
1476
            }
1425
1477
Lines 1435-1444 Link Here
1435
        }
1487
        }
1436
        return ;
1488
        return ;
1437
    }
1489
    }
1438
    // $ANTLR end rule__QualifiedName__Group__2
1490
    // $ANTLR end "rule__QualifiedName__Group__2"
1439
1491
1440
1492
1441
    // $ANTLR start rule__QualifiedName__Group__2__Impl
1493
    // $ANTLR start "rule__QualifiedName__Group__2__Impl"
1442
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:568:1: rule__QualifiedName__Group__2__Impl : ( ( rule__QualifiedName__RemainingAssignment_2 )? ) ;
1494
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:568:1: rule__QualifiedName__Group__2__Impl : ( ( rule__QualifiedName__RemainingAssignment_2 )? ) ;
1443
    public final void rule__QualifiedName__Group__2__Impl() throws RecognitionException {
1495
    public final void rule__QualifiedName__Group__2__Impl() throws RecognitionException {
1444
1496
Lines 1469-1475 Link Here
1469
                    {
1521
                    {
1470
                    pushFollow(FOLLOW_rule__QualifiedName__RemainingAssignment_2_in_rule__QualifiedName__Group__2__Impl1120);
1522
                    pushFollow(FOLLOW_rule__QualifiedName__RemainingAssignment_2_in_rule__QualifiedName__Group__2__Impl1120);
1471
                    rule__QualifiedName__RemainingAssignment_2();
1523
                    rule__QualifiedName__RemainingAssignment_2();
1472
                    _fsp--;
1524
1525
                    state._fsp--;
1473
1526
1474
1527
1475
                    }
1528
                    }
Lines 1496-1505 Link Here
1496
        }
1549
        }
1497
        return ;
1550
        return ;
1498
    }
1551
    }
1499
    // $ANTLR end rule__QualifiedName__Group__2__Impl
1552
    // $ANTLR end "rule__QualifiedName__Group__2__Impl"
1500
1553
1501
1554
1502
    // $ANTLR start rule__EntryRule__Group__0
1555
    // $ANTLR start "rule__EntryRule__Group__0"
1503
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:591:1: rule__EntryRule__Group__0 : rule__EntryRule__Group__0__Impl rule__EntryRule__Group__1 ;
1556
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:591:1: rule__EntryRule__Group__0 : rule__EntryRule__Group__0__Impl rule__EntryRule__Group__1 ;
1504
    public final void rule__EntryRule__Group__0() throws RecognitionException {
1557
    public final void rule__EntryRule__Group__0() throws RecognitionException {
1505
1558
Lines 1511-1522 Link Here
1511
            {
1564
            {
1512
            pushFollow(FOLLOW_rule__EntryRule__Group__0__Impl_in_rule__EntryRule__Group__01157);
1565
            pushFollow(FOLLOW_rule__EntryRule__Group__0__Impl_in_rule__EntryRule__Group__01157);
1513
            rule__EntryRule__Group__0__Impl();
1566
            rule__EntryRule__Group__0__Impl();
1514
            _fsp--;
1567
1568
            state._fsp--;
1515
1569
1516
            pushFollow(FOLLOW_rule__EntryRule__Group__1_in_rule__EntryRule__Group__01160);
1570
            pushFollow(FOLLOW_rule__EntryRule__Group__1_in_rule__EntryRule__Group__01160);
1517
            rule__EntryRule__Group__1();
1571
            rule__EntryRule__Group__1();
1518
            _fsp--;
1519
1572
1573
            state._fsp--;
1574
1520
1575
1521
            }
1576
            }
1522
1577
Lines 1532-1541 Link Here
1532
        }
1587
        }
1533
        return ;
1588
        return ;
1534
    }
1589
    }
1535
    // $ANTLR end rule__EntryRule__Group__0
1590
    // $ANTLR end "rule__EntryRule__Group__0"
1536
1591
1537
1592
1538
    // $ANTLR start rule__EntryRule__Group__0__Impl
1593
    // $ANTLR start "rule__EntryRule__Group__0__Impl"
1539
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:603:1: rule__EntryRule__Group__0__Impl : ( 'entry' ) ;
1594
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:603:1: rule__EntryRule__Group__0__Impl : ( 'entry' ) ;
1540
    public final void rule__EntryRule__Group__0__Impl() throws RecognitionException {
1595
    public final void rule__EntryRule__Group__0__Impl() throws RecognitionException {
1541
1596
Lines 1569-1578 Link Here
1569
        }
1624
        }
1570
        return ;
1625
        return ;
1571
    }
1626
    }
1572
    // $ANTLR end rule__EntryRule__Group__0__Impl
1627
    // $ANTLR end "rule__EntryRule__Group__0__Impl"
1573
1628
1574
1629
1575
    // $ANTLR start rule__EntryRule__Group__1
1630
    // $ANTLR start "rule__EntryRule__Group__1"
1576
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:622:1: rule__EntryRule__Group__1 : rule__EntryRule__Group__1__Impl rule__EntryRule__Group__2 ;
1631
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:622:1: rule__EntryRule__Group__1 : rule__EntryRule__Group__1__Impl rule__EntryRule__Group__2 ;
1577
    public final void rule__EntryRule__Group__1() throws RecognitionException {
1632
    public final void rule__EntryRule__Group__1() throws RecognitionException {
1578
1633
Lines 1584-1595 Link Here
1584
            {
1639
            {
1585
            pushFollow(FOLLOW_rule__EntryRule__Group__1__Impl_in_rule__EntryRule__Group__11219);
1640
            pushFollow(FOLLOW_rule__EntryRule__Group__1__Impl_in_rule__EntryRule__Group__11219);
1586
            rule__EntryRule__Group__1__Impl();
1641
            rule__EntryRule__Group__1__Impl();
1587
            _fsp--;
1642
1643
            state._fsp--;
1588
1644
1589
            pushFollow(FOLLOW_rule__EntryRule__Group__2_in_rule__EntryRule__Group__11222);
1645
            pushFollow(FOLLOW_rule__EntryRule__Group__2_in_rule__EntryRule__Group__11222);
1590
            rule__EntryRule__Group__2();
1646
            rule__EntryRule__Group__2();
1591
            _fsp--;
1592
1647
1648
            state._fsp--;
1649
1593
1650
1594
            }
1651
            }
1595
1652
Lines 1605-1614 Link Here
1605
        }
1662
        }
1606
        return ;
1663
        return ;
1607
    }
1664
    }
1608
    // $ANTLR end rule__EntryRule__Group__1
1665
    // $ANTLR end "rule__EntryRule__Group__1"
1609
1666
1610
1667
1611
    // $ANTLR start rule__EntryRule__Group__1__Impl
1668
    // $ANTLR start "rule__EntryRule__Group__1__Impl"
1612
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:634:1: rule__EntryRule__Group__1__Impl : ( ( rule__EntryRule__KindAssignment_1 ) ) ;
1669
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:634:1: rule__EntryRule__Group__1__Impl : ( ( rule__EntryRule__KindAssignment_1 ) ) ;
1613
    public final void rule__EntryRule__Group__1__Impl() throws RecognitionException {
1670
    public final void rule__EntryRule__Group__1__Impl() throws RecognitionException {
1614
1671
Lines 1627-1633 Link Here
1627
            {
1684
            {
1628
            pushFollow(FOLLOW_rule__EntryRule__KindAssignment_1_in_rule__EntryRule__Group__1__Impl1249);
1685
            pushFollow(FOLLOW_rule__EntryRule__KindAssignment_1_in_rule__EntryRule__Group__1__Impl1249);
1629
            rule__EntryRule__KindAssignment_1();
1686
            rule__EntryRule__KindAssignment_1();
1630
            _fsp--;
1687
1688
            state._fsp--;
1631
1689
1632
1690
1633
            }
1691
            }
Lines 1651-1660 Link Here
1651
        }
1709
        }
1652
        return ;
1710
        return ;
1653
    }
1711
    }
1654
    // $ANTLR end rule__EntryRule__Group__1__Impl
1712
    // $ANTLR end "rule__EntryRule__Group__1__Impl"
1655
1713
1656
1714
1657
    // $ANTLR start rule__EntryRule__Group__2
1715
    // $ANTLR start "rule__EntryRule__Group__2"
1658
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:651:1: rule__EntryRule__Group__2 : rule__EntryRule__Group__2__Impl ;
1716
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:651:1: rule__EntryRule__Group__2 : rule__EntryRule__Group__2__Impl ;
1659
    public final void rule__EntryRule__Group__2() throws RecognitionException {
1717
    public final void rule__EntryRule__Group__2() throws RecognitionException {
1660
1718
Lines 1666-1672 Link Here
1666
            {
1724
            {
1667
            pushFollow(FOLLOW_rule__EntryRule__Group__2__Impl_in_rule__EntryRule__Group__21279);
1725
            pushFollow(FOLLOW_rule__EntryRule__Group__2__Impl_in_rule__EntryRule__Group__21279);
1668
            rule__EntryRule__Group__2__Impl();
1726
            rule__EntryRule__Group__2__Impl();
1669
            _fsp--;
1727
1728
            state._fsp--;
1670
1729
1671
1730
1672
            }
1731
            }
Lines 1683-1692 Link Here
1683
        }
1742
        }
1684
        return ;
1743
        return ;
1685
    }
1744
    }
1686
    // $ANTLR end rule__EntryRule__Group__2
1745
    // $ANTLR end "rule__EntryRule__Group__2"
1687
1746
1688
1747
1689
    // $ANTLR start rule__EntryRule__Group__2__Impl
1748
    // $ANTLR start "rule__EntryRule__Group__2__Impl"
1690
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:662:1: rule__EntryRule__Group__2__Impl : ( ( rule__EntryRule__BehaviorNameAssignment_2 ) ) ;
1749
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:662:1: rule__EntryRule__Group__2__Impl : ( ( rule__EntryRule__BehaviorNameAssignment_2 ) ) ;
1691
    public final void rule__EntryRule__Group__2__Impl() throws RecognitionException {
1750
    public final void rule__EntryRule__Group__2__Impl() throws RecognitionException {
1692
1751
Lines 1705-1712 Link Here
1705
            {
1764
            {
1706
            pushFollow(FOLLOW_rule__EntryRule__BehaviorNameAssignment_2_in_rule__EntryRule__Group__2__Impl1306);
1765
            pushFollow(FOLLOW_rule__EntryRule__BehaviorNameAssignment_2_in_rule__EntryRule__Group__2__Impl1306);
1707
            rule__EntryRule__BehaviorNameAssignment_2();
1766
            rule__EntryRule__BehaviorNameAssignment_2();
1708
            _fsp--;
1709
1767
1768
            state._fsp--;
1769
1710
1770
1711
            }
1771
            }
1712
1772
Lines 1729-1738 Link Here
1729
        }
1789
        }
1730
        return ;
1790
        return ;
1731
    }
1791
    }
1732
    // $ANTLR end rule__EntryRule__Group__2__Impl
1792
    // $ANTLR end "rule__EntryRule__Group__2__Impl"
1733
1793
1734
1794
1735
    // $ANTLR start rule__DoRule__Group__0
1795
    // $ANTLR start "rule__DoRule__Group__0"
1736
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:685:1: rule__DoRule__Group__0 : rule__DoRule__Group__0__Impl rule__DoRule__Group__1 ;
1796
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:685:1: rule__DoRule__Group__0 : rule__DoRule__Group__0__Impl rule__DoRule__Group__1 ;
1737
    public final void rule__DoRule__Group__0() throws RecognitionException {
1797
    public final void rule__DoRule__Group__0() throws RecognitionException {
1738
1798
Lines 1744-1755 Link Here
1744
            {
1804
            {
1745
            pushFollow(FOLLOW_rule__DoRule__Group__0__Impl_in_rule__DoRule__Group__01342);
1805
            pushFollow(FOLLOW_rule__DoRule__Group__0__Impl_in_rule__DoRule__Group__01342);
1746
            rule__DoRule__Group__0__Impl();
1806
            rule__DoRule__Group__0__Impl();
1747
            _fsp--;
1807
1808
            state._fsp--;
1748
1809
1749
            pushFollow(FOLLOW_rule__DoRule__Group__1_in_rule__DoRule__Group__01345);
1810
            pushFollow(FOLLOW_rule__DoRule__Group__1_in_rule__DoRule__Group__01345);
1750
            rule__DoRule__Group__1();
1811
            rule__DoRule__Group__1();
1751
            _fsp--;
1752
1812
1813
            state._fsp--;
1814
1753
1815
1754
            }
1816
            }
1755
1817
Lines 1765-1774 Link Here
1765
        }
1827
        }
1766
        return ;
1828
        return ;
1767
    }
1829
    }
1768
    // $ANTLR end rule__DoRule__Group__0
1830
    // $ANTLR end "rule__DoRule__Group__0"
1769
1831
1770
1832
1771
    // $ANTLR start rule__DoRule__Group__0__Impl
1833
    // $ANTLR start "rule__DoRule__Group__0__Impl"
1772
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:697:1: rule__DoRule__Group__0__Impl : ( 'do' ) ;
1834
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:697:1: rule__DoRule__Group__0__Impl : ( 'do' ) ;
1773
    public final void rule__DoRule__Group__0__Impl() throws RecognitionException {
1835
    public final void rule__DoRule__Group__0__Impl() throws RecognitionException {
1774
1836
Lines 1802-1811 Link Here
1802
        }
1864
        }
1803
        return ;
1865
        return ;
1804
    }
1866
    }
1805
    // $ANTLR end rule__DoRule__Group__0__Impl
1867
    // $ANTLR end "rule__DoRule__Group__0__Impl"
1806
1868
1807
1869
1808
    // $ANTLR start rule__DoRule__Group__1
1870
    // $ANTLR start "rule__DoRule__Group__1"
1809
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:716:1: rule__DoRule__Group__1 : rule__DoRule__Group__1__Impl rule__DoRule__Group__2 ;
1871
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:716:1: rule__DoRule__Group__1 : rule__DoRule__Group__1__Impl rule__DoRule__Group__2 ;
1810
    public final void rule__DoRule__Group__1() throws RecognitionException {
1872
    public final void rule__DoRule__Group__1() throws RecognitionException {
1811
1873
Lines 1817-1827 Link Here
1817
            {
1879
            {
1818
            pushFollow(FOLLOW_rule__DoRule__Group__1__Impl_in_rule__DoRule__Group__11404);
1880
            pushFollow(FOLLOW_rule__DoRule__Group__1__Impl_in_rule__DoRule__Group__11404);
1819
            rule__DoRule__Group__1__Impl();
1881
            rule__DoRule__Group__1__Impl();
1820
            _fsp--;
1882
1883
            state._fsp--;
1821
1884
1822
            pushFollow(FOLLOW_rule__DoRule__Group__2_in_rule__DoRule__Group__11407);
1885
            pushFollow(FOLLOW_rule__DoRule__Group__2_in_rule__DoRule__Group__11407);
1823
            rule__DoRule__Group__2();
1886
            rule__DoRule__Group__2();
1824
            _fsp--;
1887
1888
            state._fsp--;
1825
1889
1826
1890
1827
            }
1891
            }
Lines 1838-1847 Link Here
1838
        }
1902
        }
1839
        return ;
1903
        return ;
1840
    }
1904
    }
1841
    // $ANTLR end rule__DoRule__Group__1
1905
    // $ANTLR end "rule__DoRule__Group__1"
1842
1906
1843
1907
1844
    // $ANTLR start rule__DoRule__Group__1__Impl
1908
    // $ANTLR start "rule__DoRule__Group__1__Impl"
1845
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:728:1: rule__DoRule__Group__1__Impl : ( ( rule__DoRule__KindAssignment_1 ) ) ;
1909
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:728:1: rule__DoRule__Group__1__Impl : ( ( rule__DoRule__KindAssignment_1 ) ) ;
1846
    public final void rule__DoRule__Group__1__Impl() throws RecognitionException {
1910
    public final void rule__DoRule__Group__1__Impl() throws RecognitionException {
1847
1911
Lines 1860-1867 Link Here
1860
            {
1924
            {
1861
            pushFollow(FOLLOW_rule__DoRule__KindAssignment_1_in_rule__DoRule__Group__1__Impl1434);
1925
            pushFollow(FOLLOW_rule__DoRule__KindAssignment_1_in_rule__DoRule__Group__1__Impl1434);
1862
            rule__DoRule__KindAssignment_1();
1926
            rule__DoRule__KindAssignment_1();
1863
            _fsp--;
1864
1927
1928
            state._fsp--;
1929
1865
1930
1866
            }
1931
            }
1867
1932
Lines 1884-1893 Link Here
1884
        }
1949
        }
1885
        return ;
1950
        return ;
1886
    }
1951
    }
1887
    // $ANTLR end rule__DoRule__Group__1__Impl
1952
    // $ANTLR end "rule__DoRule__Group__1__Impl"
1888
1953
1889
1954
1890
    // $ANTLR start rule__DoRule__Group__2
1955
    // $ANTLR start "rule__DoRule__Group__2"
1891
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:745:1: rule__DoRule__Group__2 : rule__DoRule__Group__2__Impl ;
1956
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:745:1: rule__DoRule__Group__2 : rule__DoRule__Group__2__Impl ;
1892
    public final void rule__DoRule__Group__2() throws RecognitionException {
1957
    public final void rule__DoRule__Group__2() throws RecognitionException {
1893
1958
Lines 1899-1906 Link Here
1899
            {
1964
            {
1900
            pushFollow(FOLLOW_rule__DoRule__Group__2__Impl_in_rule__DoRule__Group__21464);
1965
            pushFollow(FOLLOW_rule__DoRule__Group__2__Impl_in_rule__DoRule__Group__21464);
1901
            rule__DoRule__Group__2__Impl();
1966
            rule__DoRule__Group__2__Impl();
1902
            _fsp--;
1903
1967
1968
            state._fsp--;
1969
1904
1970
1905
            }
1971
            }
1906
1972
Lines 1916-1925 Link Here
1916
        }
1982
        }
1917
        return ;
1983
        return ;
1918
    }
1984
    }
1919
    // $ANTLR end rule__DoRule__Group__2
1985
    // $ANTLR end "rule__DoRule__Group__2"
1920
1986
1921
1987
1922
    // $ANTLR start rule__DoRule__Group__2__Impl
1988
    // $ANTLR start "rule__DoRule__Group__2__Impl"
1923
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:756:1: rule__DoRule__Group__2__Impl : ( ( rule__DoRule__BehaviorNameAssignment_2 ) ) ;
1989
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:756:1: rule__DoRule__Group__2__Impl : ( ( rule__DoRule__BehaviorNameAssignment_2 ) ) ;
1924
    public final void rule__DoRule__Group__2__Impl() throws RecognitionException {
1990
    public final void rule__DoRule__Group__2__Impl() throws RecognitionException {
1925
1991
Lines 1938-1945 Link Here
1938
            {
2004
            {
1939
            pushFollow(FOLLOW_rule__DoRule__BehaviorNameAssignment_2_in_rule__DoRule__Group__2__Impl1491);
2005
            pushFollow(FOLLOW_rule__DoRule__BehaviorNameAssignment_2_in_rule__DoRule__Group__2__Impl1491);
1940
            rule__DoRule__BehaviorNameAssignment_2();
2006
            rule__DoRule__BehaviorNameAssignment_2();
1941
            _fsp--;
1942
2007
2008
            state._fsp--;
2009
1943
2010
1944
            }
2011
            }
1945
2012
Lines 1962-1971 Link Here
1962
        }
2029
        }
1963
        return ;
2030
        return ;
1964
    }
2031
    }
1965
    // $ANTLR end rule__DoRule__Group__2__Impl
2032
    // $ANTLR end "rule__DoRule__Group__2__Impl"
1966
2033
1967
2034
1968
    // $ANTLR start rule__ExitRule__Group__0
2035
    // $ANTLR start "rule__ExitRule__Group__0"
1969
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:779:1: rule__ExitRule__Group__0 : rule__ExitRule__Group__0__Impl rule__ExitRule__Group__1 ;
2036
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:779:1: rule__ExitRule__Group__0 : rule__ExitRule__Group__0__Impl rule__ExitRule__Group__1 ;
1970
    public final void rule__ExitRule__Group__0() throws RecognitionException {
2037
    public final void rule__ExitRule__Group__0() throws RecognitionException {
1971
2038
Lines 1977-1987 Link Here
1977
            {
2044
            {
1978
            pushFollow(FOLLOW_rule__ExitRule__Group__0__Impl_in_rule__ExitRule__Group__01527);
2045
            pushFollow(FOLLOW_rule__ExitRule__Group__0__Impl_in_rule__ExitRule__Group__01527);
1979
            rule__ExitRule__Group__0__Impl();
2046
            rule__ExitRule__Group__0__Impl();
1980
            _fsp--;
2047
2048
            state._fsp--;
1981
2049
1982
            pushFollow(FOLLOW_rule__ExitRule__Group__1_in_rule__ExitRule__Group__01530);
2050
            pushFollow(FOLLOW_rule__ExitRule__Group__1_in_rule__ExitRule__Group__01530);
1983
            rule__ExitRule__Group__1();
2051
            rule__ExitRule__Group__1();
1984
            _fsp--;
2052
2053
            state._fsp--;
1985
2054
1986
2055
1987
            }
2056
            }
Lines 1998-2007 Link Here
1998
        }
2067
        }
1999
        return ;
2068
        return ;
2000
    }
2069
    }
2001
    // $ANTLR end rule__ExitRule__Group__0
2070
    // $ANTLR end "rule__ExitRule__Group__0"
2002
2071
2003
2072
2004
    // $ANTLR start rule__ExitRule__Group__0__Impl
2073
    // $ANTLR start "rule__ExitRule__Group__0__Impl"
2005
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:791:1: rule__ExitRule__Group__0__Impl : ( 'exit' ) ;
2074
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:791:1: rule__ExitRule__Group__0__Impl : ( 'exit' ) ;
2006
    public final void rule__ExitRule__Group__0__Impl() throws RecognitionException {
2075
    public final void rule__ExitRule__Group__0__Impl() throws RecognitionException {
2007
2076
Lines 2035-2044 Link Here
2035
        }
2104
        }
2036
        return ;
2105
        return ;
2037
    }
2106
    }
2038
    // $ANTLR end rule__ExitRule__Group__0__Impl
2107
    // $ANTLR end "rule__ExitRule__Group__0__Impl"
2039
2108
2040
2109
2041
    // $ANTLR start rule__ExitRule__Group__1
2110
    // $ANTLR start "rule__ExitRule__Group__1"
2042
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:810:1: rule__ExitRule__Group__1 : rule__ExitRule__Group__1__Impl rule__ExitRule__Group__2 ;
2111
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:810:1: rule__ExitRule__Group__1 : rule__ExitRule__Group__1__Impl rule__ExitRule__Group__2 ;
2043
    public final void rule__ExitRule__Group__1() throws RecognitionException {
2112
    public final void rule__ExitRule__Group__1() throws RecognitionException {
2044
2113
Lines 2050-2061 Link Here
2050
            {
2119
            {
2051
            pushFollow(FOLLOW_rule__ExitRule__Group__1__Impl_in_rule__ExitRule__Group__11589);
2120
            pushFollow(FOLLOW_rule__ExitRule__Group__1__Impl_in_rule__ExitRule__Group__11589);
2052
            rule__ExitRule__Group__1__Impl();
2121
            rule__ExitRule__Group__1__Impl();
2053
            _fsp--;
2122
2123
            state._fsp--;
2054
2124
2055
            pushFollow(FOLLOW_rule__ExitRule__Group__2_in_rule__ExitRule__Group__11592);
2125
            pushFollow(FOLLOW_rule__ExitRule__Group__2_in_rule__ExitRule__Group__11592);
2056
            rule__ExitRule__Group__2();
2126
            rule__ExitRule__Group__2();
2057
            _fsp--;
2058
2127
2128
            state._fsp--;
2129
2059
2130
2060
            }
2131
            }
2061
2132
Lines 2071-2080 Link Here
2071
        }
2142
        }
2072
        return ;
2143
        return ;
2073
    }
2144
    }
2074
    // $ANTLR end rule__ExitRule__Group__1
2145
    // $ANTLR end "rule__ExitRule__Group__1"
2075
2146
2076
2147
2077
    // $ANTLR start rule__ExitRule__Group__1__Impl
2148
    // $ANTLR start "rule__ExitRule__Group__1__Impl"
2078
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:822:1: rule__ExitRule__Group__1__Impl : ( ( rule__ExitRule__KindAssignment_1 ) ) ;
2149
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:822:1: rule__ExitRule__Group__1__Impl : ( ( rule__ExitRule__KindAssignment_1 ) ) ;
2079
    public final void rule__ExitRule__Group__1__Impl() throws RecognitionException {
2150
    public final void rule__ExitRule__Group__1__Impl() throws RecognitionException {
2080
2151
Lines 2093-2100 Link Here
2093
            {
2164
            {
2094
            pushFollow(FOLLOW_rule__ExitRule__KindAssignment_1_in_rule__ExitRule__Group__1__Impl1619);
2165
            pushFollow(FOLLOW_rule__ExitRule__KindAssignment_1_in_rule__ExitRule__Group__1__Impl1619);
2095
            rule__ExitRule__KindAssignment_1();
2166
            rule__ExitRule__KindAssignment_1();
2096
            _fsp--;
2097
2167
2168
            state._fsp--;
2169
2098
2170
2099
            }
2171
            }
2100
2172
Lines 2117-2126 Link Here
2117
        }
2189
        }
2118
        return ;
2190
        return ;
2119
    }
2191
    }
2120
    // $ANTLR end rule__ExitRule__Group__1__Impl
2192
    // $ANTLR end "rule__ExitRule__Group__1__Impl"
2121
2193
2122
2194
2123
    // $ANTLR start rule__ExitRule__Group__2
2195
    // $ANTLR start "rule__ExitRule__Group__2"
2124
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:839:1: rule__ExitRule__Group__2 : rule__ExitRule__Group__2__Impl ;
2196
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:839:1: rule__ExitRule__Group__2 : rule__ExitRule__Group__2__Impl ;
2125
    public final void rule__ExitRule__Group__2() throws RecognitionException {
2197
    public final void rule__ExitRule__Group__2() throws RecognitionException {
2126
2198
Lines 2132-2138 Link Here
2132
            {
2204
            {
2133
            pushFollow(FOLLOW_rule__ExitRule__Group__2__Impl_in_rule__ExitRule__Group__21649);
2205
            pushFollow(FOLLOW_rule__ExitRule__Group__2__Impl_in_rule__ExitRule__Group__21649);
2134
            rule__ExitRule__Group__2__Impl();
2206
            rule__ExitRule__Group__2__Impl();
2135
            _fsp--;
2207
2208
            state._fsp--;
2136
2209
2137
2210
2138
            }
2211
            }
Lines 2149-2158 Link Here
2149
        }
2222
        }
2150
        return ;
2223
        return ;
2151
    }
2224
    }
2152
    // $ANTLR end rule__ExitRule__Group__2
2225
    // $ANTLR end "rule__ExitRule__Group__2"
2153
2226
2154
2227
2155
    // $ANTLR start rule__ExitRule__Group__2__Impl
2228
    // $ANTLR start "rule__ExitRule__Group__2__Impl"
2156
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:850:1: rule__ExitRule__Group__2__Impl : ( ( rule__ExitRule__BehaviorNameAssignment_2 ) ) ;
2229
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:850:1: rule__ExitRule__Group__2__Impl : ( ( rule__ExitRule__BehaviorNameAssignment_2 ) ) ;
2157
    public final void rule__ExitRule__Group__2__Impl() throws RecognitionException {
2230
    public final void rule__ExitRule__Group__2__Impl() throws RecognitionException {
2158
2231
Lines 2171-2177 Link Here
2171
            {
2244
            {
2172
            pushFollow(FOLLOW_rule__ExitRule__BehaviorNameAssignment_2_in_rule__ExitRule__Group__2__Impl1676);
2245
            pushFollow(FOLLOW_rule__ExitRule__BehaviorNameAssignment_2_in_rule__ExitRule__Group__2__Impl1676);
2173
            rule__ExitRule__BehaviorNameAssignment_2();
2246
            rule__ExitRule__BehaviorNameAssignment_2();
2174
            _fsp--;
2247
2248
            state._fsp--;
2175
2249
2176
2250
2177
            }
2251
            }
Lines 2195-2204 Link Here
2195
        }
2269
        }
2196
        return ;
2270
        return ;
2197
    }
2271
    }
2198
    // $ANTLR end rule__ExitRule__Group__2__Impl
2272
    // $ANTLR end "rule__ExitRule__Group__2__Impl"
2199
2273
2200
2274
2201
    // $ANTLR start rule__StateRule__UnorderedGroup_2
2275
    // $ANTLR start "rule__StateRule__UnorderedGroup_2"
2202
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:874:1: rule__StateRule__UnorderedGroup_2 : ( rule__StateRule__UnorderedGroup_2__0 )? ;
2276
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:874:1: rule__StateRule__UnorderedGroup_2 : ( rule__StateRule__UnorderedGroup_2__0 )? ;
2203
    public final void rule__StateRule__UnorderedGroup_2() throws RecognitionException {
2277
    public final void rule__StateRule__UnorderedGroup_2() throws RecognitionException {
2204
2278
Lines 2228-2235 Link Here
2228
                    {
2302
                    {
2229
                    pushFollow(FOLLOW_rule__StateRule__UnorderedGroup_2__0_in_rule__StateRule__UnorderedGroup_21713);
2303
                    pushFollow(FOLLOW_rule__StateRule__UnorderedGroup_2__0_in_rule__StateRule__UnorderedGroup_21713);
2230
                    rule__StateRule__UnorderedGroup_2__0();
2304
                    rule__StateRule__UnorderedGroup_2__0();
2231
                    _fsp--;
2232
2305
2306
                    state._fsp--;
2307
2233
2308
2234
                    }
2309
                    }
2235
                    break;
2310
                    break;
Lines 2252-2261 Link Here
2252
        }
2327
        }
2253
        return ;
2328
        return ;
2254
    }
2329
    }
2255
    // $ANTLR end rule__StateRule__UnorderedGroup_2
2330
    // $ANTLR end "rule__StateRule__UnorderedGroup_2"
2256
2331
2257
2332
2258
    // $ANTLR start rule__StateRule__UnorderedGroup_2__Impl
2333
    // $ANTLR start "rule__StateRule__UnorderedGroup_2__Impl"
2259
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:890:1: rule__StateRule__UnorderedGroup_2__Impl : ( ({...}? => ( ( ( rule__StateRule__EntryAssignment_2_0 ) ) ) ) | ({...}? => ( ( ( rule__StateRule__DoAssignment_2_1 ) ) ) ) | ({...}? => ( ( ( rule__StateRule__ExitAssignment_2_2 ) ) ) ) ) ;
2334
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:890:1: rule__StateRule__UnorderedGroup_2__Impl : ( ({...}? => ( ( ( rule__StateRule__EntryAssignment_2_0 ) ) ) ) | ({...}? => ( ( ( rule__StateRule__DoAssignment_2_1 ) ) ) ) | ({...}? => ( ( ( rule__StateRule__ExitAssignment_2_2 ) ) ) ) ) ;
2260
    public final void rule__StateRule__UnorderedGroup_2__Impl() throws RecognitionException {
2335
    public final void rule__StateRule__UnorderedGroup_2__Impl() throws RecognitionException {
2261
2336
Lines 2281-2287 Link Here
2281
            }
2356
            }
2282
            else {
2357
            else {
2283
                NoViableAltException nvae =
2358
                NoViableAltException nvae =
2284
                    new NoViableAltException("896:3: ( ({...}? => ( ( ( rule__StateRule__EntryAssignment_2_0 ) ) ) ) | ({...}? => ( ( ( rule__StateRule__DoAssignment_2_1 ) ) ) ) | ({...}? => ( ( ( rule__StateRule__ExitAssignment_2_2 ) ) ) ) )", 6, 0, input);
2359
                    new NoViableAltException("", 6, 0, input);
2285
2360
2286
                throw nvae;
2361
                throw nvae;
2287
            }
2362
            }
Lines 2313-2320 Link Here
2313
                    {
2388
                    {
2314
                    pushFollow(FOLLOW_rule__StateRule__EntryAssignment_2_0_in_rule__StateRule__UnorderedGroup_2__Impl1800);
2389
                    pushFollow(FOLLOW_rule__StateRule__EntryAssignment_2_0_in_rule__StateRule__UnorderedGroup_2__Impl1800);
2315
                    rule__StateRule__EntryAssignment_2_0();
2390
                    rule__StateRule__EntryAssignment_2_0();
2316
                    _fsp--;
2317
2391
2392
                    state._fsp--;
2393
2318
2394
2319
                    }
2395
                    }
2320
2396
Lines 2358-2365 Link Here
2358
                    {
2434
                    {
2359
                    pushFollow(FOLLOW_rule__StateRule__DoAssignment_2_1_in_rule__StateRule__UnorderedGroup_2__Impl1891);
2435
                    pushFollow(FOLLOW_rule__StateRule__DoAssignment_2_1_in_rule__StateRule__UnorderedGroup_2__Impl1891);
2360
                    rule__StateRule__DoAssignment_2_1();
2436
                    rule__StateRule__DoAssignment_2_1();
2361
                    _fsp--;
2362
2437
2438
                    state._fsp--;
2439
2363
2440
2364
                    }
2441
                    }
2365
2442
Lines 2403-2409 Link Here
2403
                    {
2480
                    {
2404
                    pushFollow(FOLLOW_rule__StateRule__ExitAssignment_2_2_in_rule__StateRule__UnorderedGroup_2__Impl1982);
2481
                    pushFollow(FOLLOW_rule__StateRule__ExitAssignment_2_2_in_rule__StateRule__UnorderedGroup_2__Impl1982);
2405
                    rule__StateRule__ExitAssignment_2_2();
2482
                    rule__StateRule__ExitAssignment_2_2();
2406
                    _fsp--;
2483
2484
                    state._fsp--;
2407
2485
2408
2486
2409
                    }
2487
                    }
Lines 2441-2450 Link Here
2441
        }
2519
        }
2442
        return ;
2520
        return ;
2443
    }
2521
    }
2444
    // $ANTLR end rule__StateRule__UnorderedGroup_2__Impl
2522
    // $ANTLR end "rule__StateRule__UnorderedGroup_2__Impl"
2445
2523
2446
2524
2447
    // $ANTLR start rule__StateRule__UnorderedGroup_2__0
2525
    // $ANTLR start "rule__StateRule__UnorderedGroup_2__0"
2448
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:958:1: rule__StateRule__UnorderedGroup_2__0 : rule__StateRule__UnorderedGroup_2__Impl ( rule__StateRule__UnorderedGroup_2__1 )? ;
2526
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:958:1: rule__StateRule__UnorderedGroup_2__0 : rule__StateRule__UnorderedGroup_2__Impl ( rule__StateRule__UnorderedGroup_2__1 )? ;
2449
    public final void rule__StateRule__UnorderedGroup_2__0() throws RecognitionException {
2527
    public final void rule__StateRule__UnorderedGroup_2__0() throws RecognitionException {
2450
2528
Lines 2456-2462 Link Here
2456
            {
2534
            {
2457
            pushFollow(FOLLOW_rule__StateRule__UnorderedGroup_2__Impl_in_rule__StateRule__UnorderedGroup_2__02041);
2535
            pushFollow(FOLLOW_rule__StateRule__UnorderedGroup_2__Impl_in_rule__StateRule__UnorderedGroup_2__02041);
2458
            rule__StateRule__UnorderedGroup_2__Impl();
2536
            rule__StateRule__UnorderedGroup_2__Impl();
2459
            _fsp--;
2537
2538
            state._fsp--;
2460
2539
2461
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:964:2: ( rule__StateRule__UnorderedGroup_2__1 )?
2540
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:964:2: ( rule__StateRule__UnorderedGroup_2__1 )?
2462
            int alt7=2;
2541
            int alt7=2;
Lines 2477-2484 Link Here
2477
                    {
2556
                    {
2478
                    pushFollow(FOLLOW_rule__StateRule__UnorderedGroup_2__1_in_rule__StateRule__UnorderedGroup_2__02044);
2557
                    pushFollow(FOLLOW_rule__StateRule__UnorderedGroup_2__1_in_rule__StateRule__UnorderedGroup_2__02044);
2479
                    rule__StateRule__UnorderedGroup_2__1();
2558
                    rule__StateRule__UnorderedGroup_2__1();
2480
                    _fsp--;
2481
2559
2560
                    state._fsp--;
2561
2482
2562
2483
                    }
2563
                    }
2484
                    break;
2564
                    break;
Lines 2500-2509 Link Here
2500
        }
2580
        }
2501
        return ;
2581
        return ;
2502
    }
2582
    }
2503
    // $ANTLR end rule__StateRule__UnorderedGroup_2__0
2583
    // $ANTLR end "rule__StateRule__UnorderedGroup_2__0"
2504
2584
2505
2585
2506
    // $ANTLR start rule__StateRule__UnorderedGroup_2__1
2586
    // $ANTLR start "rule__StateRule__UnorderedGroup_2__1"
2507
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:971:1: rule__StateRule__UnorderedGroup_2__1 : rule__StateRule__UnorderedGroup_2__Impl ( rule__StateRule__UnorderedGroup_2__2 )? ;
2587
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:971:1: rule__StateRule__UnorderedGroup_2__1 : rule__StateRule__UnorderedGroup_2__Impl ( rule__StateRule__UnorderedGroup_2__2 )? ;
2508
    public final void rule__StateRule__UnorderedGroup_2__1() throws RecognitionException {
2588
    public final void rule__StateRule__UnorderedGroup_2__1() throws RecognitionException {
2509
2589
Lines 2515-2521 Link Here
2515
            {
2595
            {
2516
            pushFollow(FOLLOW_rule__StateRule__UnorderedGroup_2__Impl_in_rule__StateRule__UnorderedGroup_2__12069);
2596
            pushFollow(FOLLOW_rule__StateRule__UnorderedGroup_2__Impl_in_rule__StateRule__UnorderedGroup_2__12069);
2517
            rule__StateRule__UnorderedGroup_2__Impl();
2597
            rule__StateRule__UnorderedGroup_2__Impl();
2518
            _fsp--;
2598
2599
            state._fsp--;
2519
2600
2520
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:977:2: ( rule__StateRule__UnorderedGroup_2__2 )?
2601
            // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:977:2: ( rule__StateRule__UnorderedGroup_2__2 )?
2521
            int alt8=2;
2602
            int alt8=2;
Lines 2536-2543 Link Here
2536
                    {
2617
                    {
2537
                    pushFollow(FOLLOW_rule__StateRule__UnorderedGroup_2__2_in_rule__StateRule__UnorderedGroup_2__12072);
2618
                    pushFollow(FOLLOW_rule__StateRule__UnorderedGroup_2__2_in_rule__StateRule__UnorderedGroup_2__12072);
2538
                    rule__StateRule__UnorderedGroup_2__2();
2619
                    rule__StateRule__UnorderedGroup_2__2();
2539
                    _fsp--;
2540
2620
2621
                    state._fsp--;
2622
2541
2623
2542
                    }
2624
                    }
2543
                    break;
2625
                    break;
Lines 2559-2568 Link Here
2559
        }
2641
        }
2560
        return ;
2642
        return ;
2561
    }
2643
    }
2562
    // $ANTLR end rule__StateRule__UnorderedGroup_2__1
2644
    // $ANTLR end "rule__StateRule__UnorderedGroup_2__1"
2563
2645
2564
2646
2565
    // $ANTLR start rule__StateRule__UnorderedGroup_2__2
2647
    // $ANTLR start "rule__StateRule__UnorderedGroup_2__2"
2566
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:984:1: rule__StateRule__UnorderedGroup_2__2 : rule__StateRule__UnorderedGroup_2__Impl ;
2648
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:984:1: rule__StateRule__UnorderedGroup_2__2 : rule__StateRule__UnorderedGroup_2__Impl ;
2567
    public final void rule__StateRule__UnorderedGroup_2__2() throws RecognitionException {
2649
    public final void rule__StateRule__UnorderedGroup_2__2() throws RecognitionException {
2568
2650
Lines 2574-2580 Link Here
2574
            {
2656
            {
2575
            pushFollow(FOLLOW_rule__StateRule__UnorderedGroup_2__Impl_in_rule__StateRule__UnorderedGroup_2__22097);
2657
            pushFollow(FOLLOW_rule__StateRule__UnorderedGroup_2__Impl_in_rule__StateRule__UnorderedGroup_2__22097);
2576
            rule__StateRule__UnorderedGroup_2__Impl();
2658
            rule__StateRule__UnorderedGroup_2__Impl();
2577
            _fsp--;
2659
2660
            state._fsp--;
2578
2661
2579
2662
2580
            }
2663
            }
Lines 2591-2600 Link Here
2591
        }
2674
        }
2592
        return ;
2675
        return ;
2593
    }
2676
    }
2594
    // $ANTLR end rule__StateRule__UnorderedGroup_2__2
2677
    // $ANTLR end "rule__StateRule__UnorderedGroup_2__2"
2595
2678
2596
2679
2597
    // $ANTLR start rule__StateRule__NameAssignment_0
2680
    // $ANTLR start "rule__StateRule__NameAssignment_0"
2598
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1002:1: rule__StateRule__NameAssignment_0 : ( RULE_ID ) ;
2681
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1002:1: rule__StateRule__NameAssignment_0 : ( RULE_ID ) ;
2599
    public final void rule__StateRule__NameAssignment_0() throws RecognitionException {
2682
    public final void rule__StateRule__NameAssignment_0() throws RecognitionException {
2600
2683
Lines 2628-2637 Link Here
2628
        }
2711
        }
2629
        return ;
2712
        return ;
2630
    }
2713
    }
2631
    // $ANTLR end rule__StateRule__NameAssignment_0
2714
    // $ANTLR end "rule__StateRule__NameAssignment_0"
2632
2715
2633
2716
2634
    // $ANTLR start rule__StateRule__SubmachineAssignment_1_1
2717
    // $ANTLR start "rule__StateRule__SubmachineAssignment_1_1"
2635
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1017:1: rule__StateRule__SubmachineAssignment_1_1 : ( ruleSubmachineRule ) ;
2718
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1017:1: rule__StateRule__SubmachineAssignment_1_1 : ( ruleSubmachineRule ) ;
2636
    public final void rule__StateRule__SubmachineAssignment_1_1() throws RecognitionException {
2719
    public final void rule__StateRule__SubmachineAssignment_1_1() throws RecognitionException {
2637
2720
Lines 2647-2653 Link Here
2647
             before(grammarAccess.getStateRuleAccess().getSubmachineSubmachineRuleParserRuleCall_1_1_0()); 
2730
             before(grammarAccess.getStateRuleAccess().getSubmachineSubmachineRuleParserRuleCall_1_1_0()); 
2648
            pushFollow(FOLLOW_ruleSubmachineRule_in_rule__StateRule__SubmachineAssignment_1_12162);
2731
            pushFollow(FOLLOW_ruleSubmachineRule_in_rule__StateRule__SubmachineAssignment_1_12162);
2649
            ruleSubmachineRule();
2732
            ruleSubmachineRule();
2650
            _fsp--;
2733
2734
            state._fsp--;
2651
2735
2652
             after(grammarAccess.getStateRuleAccess().getSubmachineSubmachineRuleParserRuleCall_1_1_0()); 
2736
             after(grammarAccess.getStateRuleAccess().getSubmachineSubmachineRuleParserRuleCall_1_1_0()); 
2653
2737
Lines 2668-2677 Link Here
2668
        }
2752
        }
2669
        return ;
2753
        return ;
2670
    }
2754
    }
2671
    // $ANTLR end rule__StateRule__SubmachineAssignment_1_1
2755
    // $ANTLR end "rule__StateRule__SubmachineAssignment_1_1"
2672
2756
2673
2757
2674
    // $ANTLR start rule__StateRule__EntryAssignment_2_0
2758
    // $ANTLR start "rule__StateRule__EntryAssignment_2_0"
2675
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1032:1: rule__StateRule__EntryAssignment_2_0 : ( ruleEntryRule ) ;
2759
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1032:1: rule__StateRule__EntryAssignment_2_0 : ( ruleEntryRule ) ;
2676
    public final void rule__StateRule__EntryAssignment_2_0() throws RecognitionException {
2760
    public final void rule__StateRule__EntryAssignment_2_0() throws RecognitionException {
2677
2761
Lines 2687-2693 Link Here
2687
             before(grammarAccess.getStateRuleAccess().getEntryEntryRuleParserRuleCall_2_0_0()); 
2771
             before(grammarAccess.getStateRuleAccess().getEntryEntryRuleParserRuleCall_2_0_0()); 
2688
            pushFollow(FOLLOW_ruleEntryRule_in_rule__StateRule__EntryAssignment_2_02193);
2772
            pushFollow(FOLLOW_ruleEntryRule_in_rule__StateRule__EntryAssignment_2_02193);
2689
            ruleEntryRule();
2773
            ruleEntryRule();
2690
            _fsp--;
2774
2775
            state._fsp--;
2691
2776
2692
             after(grammarAccess.getStateRuleAccess().getEntryEntryRuleParserRuleCall_2_0_0()); 
2777
             after(grammarAccess.getStateRuleAccess().getEntryEntryRuleParserRuleCall_2_0_0()); 
2693
2778
Lines 2708-2717 Link Here
2708
        }
2793
        }
2709
        return ;
2794
        return ;
2710
    }
2795
    }
2711
    // $ANTLR end rule__StateRule__EntryAssignment_2_0
2796
    // $ANTLR end "rule__StateRule__EntryAssignment_2_0"
2712
2797
2713
2798
2714
    // $ANTLR start rule__StateRule__DoAssignment_2_1
2799
    // $ANTLR start "rule__StateRule__DoAssignment_2_1"
2715
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1047:1: rule__StateRule__DoAssignment_2_1 : ( ruleDoRule ) ;
2800
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1047:1: rule__StateRule__DoAssignment_2_1 : ( ruleDoRule ) ;
2716
    public final void rule__StateRule__DoAssignment_2_1() throws RecognitionException {
2801
    public final void rule__StateRule__DoAssignment_2_1() throws RecognitionException {
2717
2802
Lines 2727-2733 Link Here
2727
             before(grammarAccess.getStateRuleAccess().getDoDoRuleParserRuleCall_2_1_0()); 
2812
             before(grammarAccess.getStateRuleAccess().getDoDoRuleParserRuleCall_2_1_0()); 
2728
            pushFollow(FOLLOW_ruleDoRule_in_rule__StateRule__DoAssignment_2_12224);
2813
            pushFollow(FOLLOW_ruleDoRule_in_rule__StateRule__DoAssignment_2_12224);
2729
            ruleDoRule();
2814
            ruleDoRule();
2730
            _fsp--;
2815
2816
            state._fsp--;
2731
2817
2732
             after(grammarAccess.getStateRuleAccess().getDoDoRuleParserRuleCall_2_1_0()); 
2818
             after(grammarAccess.getStateRuleAccess().getDoDoRuleParserRuleCall_2_1_0()); 
2733
2819
Lines 2748-2757 Link Here
2748
        }
2834
        }
2749
        return ;
2835
        return ;
2750
    }
2836
    }
2751
    // $ANTLR end rule__StateRule__DoAssignment_2_1
2837
    // $ANTLR end "rule__StateRule__DoAssignment_2_1"
2752
2838
2753
2839
2754
    // $ANTLR start rule__StateRule__ExitAssignment_2_2
2840
    // $ANTLR start "rule__StateRule__ExitAssignment_2_2"
2755
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1062:1: rule__StateRule__ExitAssignment_2_2 : ( ruleExitRule ) ;
2841
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1062:1: rule__StateRule__ExitAssignment_2_2 : ( ruleExitRule ) ;
2756
    public final void rule__StateRule__ExitAssignment_2_2() throws RecognitionException {
2842
    public final void rule__StateRule__ExitAssignment_2_2() throws RecognitionException {
2757
2843
Lines 2767-2773 Link Here
2767
             before(grammarAccess.getStateRuleAccess().getExitExitRuleParserRuleCall_2_2_0()); 
2853
             before(grammarAccess.getStateRuleAccess().getExitExitRuleParserRuleCall_2_2_0()); 
2768
            pushFollow(FOLLOW_ruleExitRule_in_rule__StateRule__ExitAssignment_2_22255);
2854
            pushFollow(FOLLOW_ruleExitRule_in_rule__StateRule__ExitAssignment_2_22255);
2769
            ruleExitRule();
2855
            ruleExitRule();
2770
            _fsp--;
2856
2857
            state._fsp--;
2771
2858
2772
             after(grammarAccess.getStateRuleAccess().getExitExitRuleParserRuleCall_2_2_0()); 
2859
             after(grammarAccess.getStateRuleAccess().getExitExitRuleParserRuleCall_2_2_0()); 
2773
2860
Lines 2788-2797 Link Here
2788
        }
2875
        }
2789
        return ;
2876
        return ;
2790
    }
2877
    }
2791
    // $ANTLR end rule__StateRule__ExitAssignment_2_2
2878
    // $ANTLR end "rule__StateRule__ExitAssignment_2_2"
2792
2879
2793
2880
2794
    // $ANTLR start rule__SubmachineRule__PathAssignment_0
2881
    // $ANTLR start "rule__SubmachineRule__PathAssignment_0"
2795
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1077:1: rule__SubmachineRule__PathAssignment_0 : ( ruleQualifiedName ) ;
2882
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1077:1: rule__SubmachineRule__PathAssignment_0 : ( ruleQualifiedName ) ;
2796
    public final void rule__SubmachineRule__PathAssignment_0() throws RecognitionException {
2883
    public final void rule__SubmachineRule__PathAssignment_0() throws RecognitionException {
2797
2884
Lines 2807-2813 Link Here
2807
             before(grammarAccess.getSubmachineRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
2894
             before(grammarAccess.getSubmachineRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
2808
            pushFollow(FOLLOW_ruleQualifiedName_in_rule__SubmachineRule__PathAssignment_02286);
2895
            pushFollow(FOLLOW_ruleQualifiedName_in_rule__SubmachineRule__PathAssignment_02286);
2809
            ruleQualifiedName();
2896
            ruleQualifiedName();
2810
            _fsp--;
2897
2898
            state._fsp--;
2811
2899
2812
             after(grammarAccess.getSubmachineRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
2900
             after(grammarAccess.getSubmachineRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
2813
2901
Lines 2828-2837 Link Here
2828
        }
2916
        }
2829
        return ;
2917
        return ;
2830
    }
2918
    }
2831
    // $ANTLR end rule__SubmachineRule__PathAssignment_0
2919
    // $ANTLR end "rule__SubmachineRule__PathAssignment_0"
2832
2920
2833
2921
2834
    // $ANTLR start rule__SubmachineRule__SubmachineAssignment_1
2922
    // $ANTLR start "rule__SubmachineRule__SubmachineAssignment_1"
2835
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1092:1: rule__SubmachineRule__SubmachineAssignment_1 : ( ( RULE_ID ) ) ;
2923
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1092:1: rule__SubmachineRule__SubmachineAssignment_1 : ( ( RULE_ID ) ) ;
2836
    public final void rule__SubmachineRule__SubmachineAssignment_1() throws RecognitionException {
2924
    public final void rule__SubmachineRule__SubmachineAssignment_1() throws RecognitionException {
2837
2925
Lines 2873-2882 Link Here
2873
        }
2961
        }
2874
        return ;
2962
        return ;
2875
    }
2963
    }
2876
    // $ANTLR end rule__SubmachineRule__SubmachineAssignment_1
2964
    // $ANTLR end "rule__SubmachineRule__SubmachineAssignment_1"
2877
2965
2878
2966
2879
    // $ANTLR start rule__QualifiedName__PathAssignment_0
2967
    // $ANTLR start "rule__QualifiedName__PathAssignment_0"
2880
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1111:1: rule__QualifiedName__PathAssignment_0 : ( ( RULE_ID ) ) ;
2968
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1111:1: rule__QualifiedName__PathAssignment_0 : ( ( RULE_ID ) ) ;
2881
    public final void rule__QualifiedName__PathAssignment_0() throws RecognitionException {
2969
    public final void rule__QualifiedName__PathAssignment_0() throws RecognitionException {
2882
2970
Lines 2918-2927 Link Here
2918
        }
3006
        }
2919
        return ;
3007
        return ;
2920
    }
3008
    }
2921
    // $ANTLR end rule__QualifiedName__PathAssignment_0
3009
    // $ANTLR end "rule__QualifiedName__PathAssignment_0"
2922
3010
2923
3011
2924
    // $ANTLR start rule__QualifiedName__RemainingAssignment_2
3012
    // $ANTLR start "rule__QualifiedName__RemainingAssignment_2"
2925
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1130:1: rule__QualifiedName__RemainingAssignment_2 : ( ruleQualifiedName ) ;
3013
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1130:1: rule__QualifiedName__RemainingAssignment_2 : ( ruleQualifiedName ) ;
2926
    public final void rule__QualifiedName__RemainingAssignment_2() throws RecognitionException {
3014
    public final void rule__QualifiedName__RemainingAssignment_2() throws RecognitionException {
2927
3015
Lines 2937-2943 Link Here
2937
             before(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
3025
             before(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
2938
            pushFollow(FOLLOW_ruleQualifiedName_in_rule__QualifiedName__RemainingAssignment_22395);
3026
            pushFollow(FOLLOW_ruleQualifiedName_in_rule__QualifiedName__RemainingAssignment_22395);
2939
            ruleQualifiedName();
3027
            ruleQualifiedName();
2940
            _fsp--;
3028
3029
            state._fsp--;
2941
3030
2942
             after(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
3031
             after(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
2943
3032
Lines 2958-2967 Link Here
2958
        }
3047
        }
2959
        return ;
3048
        return ;
2960
    }
3049
    }
2961
    // $ANTLR end rule__QualifiedName__RemainingAssignment_2
3050
    // $ANTLR end "rule__QualifiedName__RemainingAssignment_2"
2962
3051
2963
3052
2964
    // $ANTLR start rule__EntryRule__KindAssignment_1
3053
    // $ANTLR start "rule__EntryRule__KindAssignment_1"
2965
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1145:1: rule__EntryRule__KindAssignment_1 : ( ruleBehaviorKind ) ;
3054
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1145:1: rule__EntryRule__KindAssignment_1 : ( ruleBehaviorKind ) ;
2966
    public final void rule__EntryRule__KindAssignment_1() throws RecognitionException {
3055
    public final void rule__EntryRule__KindAssignment_1() throws RecognitionException {
2967
3056
Lines 2977-2983 Link Here
2977
             before(grammarAccess.getEntryRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
3066
             before(grammarAccess.getEntryRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
2978
            pushFollow(FOLLOW_ruleBehaviorKind_in_rule__EntryRule__KindAssignment_12426);
3067
            pushFollow(FOLLOW_ruleBehaviorKind_in_rule__EntryRule__KindAssignment_12426);
2979
            ruleBehaviorKind();
3068
            ruleBehaviorKind();
2980
            _fsp--;
3069
3070
            state._fsp--;
2981
3071
2982
             after(grammarAccess.getEntryRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
3072
             after(grammarAccess.getEntryRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
2983
3073
Lines 2998-3007 Link Here
2998
        }
3088
        }
2999
        return ;
3089
        return ;
3000
    }
3090
    }
3001
    // $ANTLR end rule__EntryRule__KindAssignment_1
3091
    // $ANTLR end "rule__EntryRule__KindAssignment_1"
3002
3092
3003
3093
3004
    // $ANTLR start rule__EntryRule__BehaviorNameAssignment_2
3094
    // $ANTLR start "rule__EntryRule__BehaviorNameAssignment_2"
3005
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1160:1: rule__EntryRule__BehaviorNameAssignment_2 : ( RULE_ID ) ;
3095
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1160:1: rule__EntryRule__BehaviorNameAssignment_2 : ( RULE_ID ) ;
3006
    public final void rule__EntryRule__BehaviorNameAssignment_2() throws RecognitionException {
3096
    public final void rule__EntryRule__BehaviorNameAssignment_2() throws RecognitionException {
3007
3097
Lines 3035-3044 Link Here
3035
        }
3125
        }
3036
        return ;
3126
        return ;
3037
    }
3127
    }
3038
    // $ANTLR end rule__EntryRule__BehaviorNameAssignment_2
3128
    // $ANTLR end "rule__EntryRule__BehaviorNameAssignment_2"
3039
3129
3040
3130
3041
    // $ANTLR start rule__DoRule__KindAssignment_1
3131
    // $ANTLR start "rule__DoRule__KindAssignment_1"
3042
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1175:1: rule__DoRule__KindAssignment_1 : ( ruleBehaviorKind ) ;
3132
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1175:1: rule__DoRule__KindAssignment_1 : ( ruleBehaviorKind ) ;
3043
    public final void rule__DoRule__KindAssignment_1() throws RecognitionException {
3133
    public final void rule__DoRule__KindAssignment_1() throws RecognitionException {
3044
3134
Lines 3054-3060 Link Here
3054
             before(grammarAccess.getDoRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
3144
             before(grammarAccess.getDoRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
3055
            pushFollow(FOLLOW_ruleBehaviorKind_in_rule__DoRule__KindAssignment_12488);
3145
            pushFollow(FOLLOW_ruleBehaviorKind_in_rule__DoRule__KindAssignment_12488);
3056
            ruleBehaviorKind();
3146
            ruleBehaviorKind();
3057
            _fsp--;
3147
3148
            state._fsp--;
3058
3149
3059
             after(grammarAccess.getDoRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
3150
             after(grammarAccess.getDoRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
3060
3151
Lines 3075-3084 Link Here
3075
        }
3166
        }
3076
        return ;
3167
        return ;
3077
    }
3168
    }
3078
    // $ANTLR end rule__DoRule__KindAssignment_1
3169
    // $ANTLR end "rule__DoRule__KindAssignment_1"
3079
3170
3080
3171
3081
    // $ANTLR start rule__DoRule__BehaviorNameAssignment_2
3172
    // $ANTLR start "rule__DoRule__BehaviorNameAssignment_2"
3082
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1190:1: rule__DoRule__BehaviorNameAssignment_2 : ( RULE_ID ) ;
3173
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1190:1: rule__DoRule__BehaviorNameAssignment_2 : ( RULE_ID ) ;
3083
    public final void rule__DoRule__BehaviorNameAssignment_2() throws RecognitionException {
3174
    public final void rule__DoRule__BehaviorNameAssignment_2() throws RecognitionException {
3084
3175
Lines 3112-3121 Link Here
3112
        }
3203
        }
3113
        return ;
3204
        return ;
3114
    }
3205
    }
3115
    // $ANTLR end rule__DoRule__BehaviorNameAssignment_2
3206
    // $ANTLR end "rule__DoRule__BehaviorNameAssignment_2"
3116
3207
3117
3208
3118
    // $ANTLR start rule__ExitRule__KindAssignment_1
3209
    // $ANTLR start "rule__ExitRule__KindAssignment_1"
3119
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1205:1: rule__ExitRule__KindAssignment_1 : ( ruleBehaviorKind ) ;
3210
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1205:1: rule__ExitRule__KindAssignment_1 : ( ruleBehaviorKind ) ;
3120
    public final void rule__ExitRule__KindAssignment_1() throws RecognitionException {
3211
    public final void rule__ExitRule__KindAssignment_1() throws RecognitionException {
3121
3212
Lines 3131-3137 Link Here
3131
             before(grammarAccess.getExitRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
3222
             before(grammarAccess.getExitRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
3132
            pushFollow(FOLLOW_ruleBehaviorKind_in_rule__ExitRule__KindAssignment_12550);
3223
            pushFollow(FOLLOW_ruleBehaviorKind_in_rule__ExitRule__KindAssignment_12550);
3133
            ruleBehaviorKind();
3224
            ruleBehaviorKind();
3134
            _fsp--;
3225
3226
            state._fsp--;
3135
3227
3136
             after(grammarAccess.getExitRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
3228
             after(grammarAccess.getExitRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
3137
3229
Lines 3152-3161 Link Here
3152
        }
3244
        }
3153
        return ;
3245
        return ;
3154
    }
3246
    }
3155
    // $ANTLR end rule__ExitRule__KindAssignment_1
3247
    // $ANTLR end "rule__ExitRule__KindAssignment_1"
3156
3248
3157
3249
3158
    // $ANTLR start rule__ExitRule__BehaviorNameAssignment_2
3250
    // $ANTLR start "rule__ExitRule__BehaviorNameAssignment_2"
3159
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1220:1: rule__ExitRule__BehaviorNameAssignment_2 : ( RULE_ID ) ;
3251
    // ../org.eclipse.papyrus.state.editor.xtext.ui/src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g:1220:1: rule__ExitRule__BehaviorNameAssignment_2 : ( RULE_ID ) ;
3160
    public final void rule__ExitRule__BehaviorNameAssignment_2() throws RecognitionException {
3252
    public final void rule__ExitRule__BehaviorNameAssignment_2() throws RecognitionException {
3161
3253
Lines 3189-3196 Link Here
3189
        }
3281
        }
3190
        return ;
3282
        return ;
3191
    }
3283
    }
3192
    // $ANTLR end rule__ExitRule__BehaviorNameAssignment_2
3284
    // $ANTLR end "rule__ExitRule__BehaviorNameAssignment_2"
3193
3285
3286
    // Delegated rules
3287
3194
3288
3195
 
3289
 
3196
3290
Lines 3216-3225 Link Here
3216
    public static final BitSet FOLLOW_11_in_rule__BehaviorKind__Alternatives467 = new BitSet(new long[]{0x0000000000000002L});
3310
    public static final BitSet FOLLOW_11_in_rule__BehaviorKind__Alternatives467 = new BitSet(new long[]{0x0000000000000002L});
3217
    public static final BitSet FOLLOW_12_in_rule__BehaviorKind__Alternatives488 = new BitSet(new long[]{0x0000000000000002L});
3311
    public static final BitSet FOLLOW_12_in_rule__BehaviorKind__Alternatives488 = new BitSet(new long[]{0x0000000000000002L});
3218
    public static final BitSet FOLLOW_13_in_rule__BehaviorKind__Alternatives509 = new BitSet(new long[]{0x0000000000000002L});
3312
    public static final BitSet FOLLOW_13_in_rule__BehaviorKind__Alternatives509 = new BitSet(new long[]{0x0000000000000002L});
3219
    public static final BitSet FOLLOW_rule__StateRule__Group__0__Impl_in_rule__StateRule__Group__0542 = new BitSet(new long[]{0x0000000000074002L});
3313
    public static final BitSet FOLLOW_rule__StateRule__Group__0__Impl_in_rule__StateRule__Group__0542 = new BitSet(new long[]{0x0000000000074000L});
3220
    public static final BitSet FOLLOW_rule__StateRule__Group__1_in_rule__StateRule__Group__0545 = new BitSet(new long[]{0x0000000000000002L});
3314
    public static final BitSet FOLLOW_rule__StateRule__Group__1_in_rule__StateRule__Group__0545 = new BitSet(new long[]{0x0000000000000002L});
3221
    public static final BitSet FOLLOW_rule__StateRule__NameAssignment_0_in_rule__StateRule__Group__0__Impl572 = new BitSet(new long[]{0x0000000000000002L});
3315
    public static final BitSet FOLLOW_rule__StateRule__NameAssignment_0_in_rule__StateRule__Group__0__Impl572 = new BitSet(new long[]{0x0000000000000002L});
3222
    public static final BitSet FOLLOW_rule__StateRule__Group__1__Impl_in_rule__StateRule__Group__1602 = new BitSet(new long[]{0x0000000000070002L});
3316
    public static final BitSet FOLLOW_rule__StateRule__Group__1__Impl_in_rule__StateRule__Group__1602 = new BitSet(new long[]{0x0000000000074000L});
3223
    public static final BitSet FOLLOW_rule__StateRule__Group__2_in_rule__StateRule__Group__1605 = new BitSet(new long[]{0x0000000000000002L});
3317
    public static final BitSet FOLLOW_rule__StateRule__Group__2_in_rule__StateRule__Group__1605 = new BitSet(new long[]{0x0000000000000002L});
3224
    public static final BitSet FOLLOW_rule__StateRule__Group_1__0_in_rule__StateRule__Group__1__Impl632 = new BitSet(new long[]{0x0000000000000002L});
3318
    public static final BitSet FOLLOW_rule__StateRule__Group_1__0_in_rule__StateRule__Group__1__Impl632 = new BitSet(new long[]{0x0000000000000002L});
3225
    public static final BitSet FOLLOW_rule__StateRule__Group__2__Impl_in_rule__StateRule__Group__2663 = new BitSet(new long[]{0x0000000000000002L});
3319
    public static final BitSet FOLLOW_rule__StateRule__Group__2__Impl_in_rule__StateRule__Group__2663 = new BitSet(new long[]{0x0000000000000002L});
Lines 3237-3243 Link Here
3237
    public static final BitSet FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__0971 = new BitSet(new long[]{0x0000000000008000L});
3331
    public static final BitSet FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__0971 = new BitSet(new long[]{0x0000000000008000L});
3238
    public static final BitSet FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__0974 = new BitSet(new long[]{0x0000000000000002L});
3332
    public static final BitSet FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__0974 = new BitSet(new long[]{0x0000000000000002L});
3239
    public static final BitSet FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl1001 = new BitSet(new long[]{0x0000000000000002L});
3333
    public static final BitSet FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl1001 = new BitSet(new long[]{0x0000000000000002L});
3240
    public static final BitSet FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__11031 = new BitSet(new long[]{0x0000000000000012L});
3334
    public static final BitSet FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__11031 = new BitSet(new long[]{0x0000000000000010L});
3241
    public static final BitSet FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__11034 = new BitSet(new long[]{0x0000000000000002L});
3335
    public static final BitSet FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__11034 = new BitSet(new long[]{0x0000000000000002L});
3242
    public static final BitSet FOLLOW_15_in_rule__QualifiedName__Group__1__Impl1062 = new BitSet(new long[]{0x0000000000000002L});
3336
    public static final BitSet FOLLOW_15_in_rule__QualifiedName__Group__1__Impl1062 = new BitSet(new long[]{0x0000000000000002L});
3243
    public static final BitSet FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__21093 = new BitSet(new long[]{0x0000000000000002L});
3337
    public static final BitSet FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__21093 = new BitSet(new long[]{0x0000000000000002L});
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/ui/contentassist/antlr/internal/InternalUmlState.g (-1 / +1 lines)
Lines 1237-1243 Link Here
1237
1237
1238
RULE_INT : ('0'..'9')+;
1238
RULE_INT : ('0'..'9')+;
1239
1239
1240
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
1240
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
1241
1241
1242
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
1242
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
1243
1243
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/ui/UmlStateExecutableExtensionFactory.java (-3 / +2 lines)
Lines 1-8 Link Here
1
2
/*
1
/*
3
 * generated by Xtext
2
 * generated by Xtext
4
 */
3
 */
5
 
6
package org.eclipse.papyrus.state.editor.xtext.ui;
4
package org.eclipse.papyrus.state.editor.xtext.ui;
7
5
8
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
6
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
Lines 11-17 Link Here
11
import com.google.inject.Injector;
9
import com.google.inject.Injector;
12
10
13
/**
11
/**
14
 *@generated
12
 * This class was generated. Customizations should only happen in a newly
13
 * introduced subclass. 
15
 */
14
 */
16
public class UmlStateExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
15
public class UmlStateExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
17
16
(-)src/org/eclipse/papyrus/state/editor/xtext/ui/outline/UmlStateTransformer.java (-24 lines)
Lines 1-24 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.state.editor.xtext.ui.outline;
15
16
import org.eclipse.xtext.ui.editor.outline.transformer.AbstractDeclarativeSemanticModelTransformer;
17
18
/**
19
 * customization of the default outline structure
20
 * 
21
 */
22
public class UmlStateTransformer extends AbstractDeclarativeSemanticModelTransformer {
23
	
24
}
(-)src/org/eclipse/papyrus/state/editor/xtext/ui/outline/UmlStateOutlineTreeProvider.java (+14 lines)
Line 0 Link Here
1
/*
2
* generated by Xtext
3
*/
4
package org.eclipse.papyrus.state.editor.xtext.ui.outline;
5
6
import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;
7
8
/**
9
 * customization of the default outline structure
10
 * 
11
 */
12
public class UmlStateOutlineTreeProvider extends DefaultOutlineTreeProvider {
13
	
14
}
(-)src/org/eclipse/papyrus/state/editor/xtext/ui/outline/UmlStateOutlineNodeAdapterFactory.java (-32 lines)
Lines 1-32 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  CEA LIST - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.state.editor.xtext.ui.outline;
15
16
import org.eclipse.xtext.ui.editor.outline.actions.DefaultContentOutlineNodeAdapterFactory;
17
18
public class UmlStateOutlineNodeAdapterFactory extends DefaultContentOutlineNodeAdapterFactory {
19
20
	private static final Class<?>[] types = { 
21
		// provide list of classes to adapt to, e.g.:
22
		// Entity.class
23
		// Service.class
24
	};
25
26
	@Override
27
	public Class<?>[] getAdapterList() {
28
		return types;
29
	}
30
31
}
32
(-)META-INF/MANIFEST.MF (-2 / +2 lines)
Lines 17-26 Link Here
17
 org.eclipse.uml2.uml;bundle-version="3.1.0",
17
 org.eclipse.uml2.uml;bundle-version="3.1.0",
18
 org.eclipse.core.expressions;bundle-version="3.4.200",
18
 org.eclipse.core.expressions;bundle-version="3.4.200",
19
 org.eclipse.papyrus.extensionpoints.editors;bundle-version="0.8.0",
19
 org.eclipse.papyrus.extensionpoints.editors;bundle-version="0.8.0",
20
 org.eclipse.xtext.gmf.glue;bundle-version="1.0.0",
21
 org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.4.0",
20
 org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.4.0",
22
 org.eclipse.papyrus.core;bundle-version="0.8.0",
21
 org.eclipse.papyrus.core;bundle-version="0.8.0",
23
 org.eclipse.papyrus.properties.runtime;bundle-version="0.8.0"
22
 org.eclipse.papyrus.properties.runtime;bundle-version="0.8.0",
23
 org.eclipse.xtext.gmf.glue;bundle-version="0.8.0"
24
Import-Package: org.apache.log4j
24
Import-Package: org.apache.log4j
25
Bundle-RequiredExecutionEnvironment: J2SE-1.5
25
Bundle-RequiredExecutionEnvironment: J2SE-1.5
26
Export-Package: org.eclipse.papyrus.state.editor.xtext.ui.contentassist.antlr
26
Export-Package: org.eclipse.papyrus.state.editor.xtext.ui.contentassist.antlr
(-)META-INF/MANIFEST.MF (-2 / +2 lines)
Lines 21-28 Link Here
21
 org.eclipse.uml2.uml;bundle-version="3.1.0",
21
 org.eclipse.uml2.uml;bundle-version="3.1.0",
22
 org.eclipse.papyrus.log;bundle-version="0.8.0",
22
 org.eclipse.papyrus.log;bundle-version="0.8.0",
23
 org.eclipse.papyrus.properties.runtime;bundle-version="0.8.0",
23
 org.eclipse.papyrus.properties.runtime;bundle-version="0.8.0",
24
 org.eclipse.xtext.gmf.glue;bundle-version="1.0.0",
24
 org.eclipse.papyrus.common.editor.xtext;bundle-version="0.8.0";visibility:=reexport,
25
 org.eclipse.papyrus.common.editor.xtext;bundle-version="0.8.0";visibility:=reexport
25
 org.eclipse.xtext.gmf.glue;bundle-version="0.8.0"
26
Import-Package: org.apache.log4j
26
Import-Package: org.apache.log4j
27
Bundle-RequiredExecutionEnvironment: J2SE-1.5
27
Bundle-RequiredExecutionEnvironment: J2SE-1.5
28
Export-Package: org.eclipse.papyrus.collaborationuse.editor.xtext,
28
Export-Package: org.eclipse.papyrus.collaborationuse.editor.xtext,
(-)src/org/eclipse/papyrus/collaborationuse/editor/xtext/GenerateUmlCollaborationUse.mwe2 (-2 / +2 lines)
Lines 92-99 Link Here
92
			fragment = labeling.LabelProviderFragment {}
92
			fragment = labeling.LabelProviderFragment {}
93
93
94
			// outline API 
94
			// outline API 
95
			fragment = outline.TransformerFragment {}
95
			fragment = outline.OutlineTreeProviderFragment {}
96
			fragment = outline.OutlineNodeAdapterFactoryFragment {}
96
			fragment = outline.QuickOutlineFragment {}
97
			fragment = outline.QuickOutlineFragment {}
97
			fragment = outline.QuickOutlineFragment {}
98
98
99
			// quickfix API 
99
			// quickfix API 
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse.xmi (+2 lines)
Lines 244-249 Link Here
244
                <elements xsi:type="xtext:Keyword" value="n"/>
244
                <elements xsi:type="xtext:Keyword" value="n"/>
245
                <elements xsi:type="xtext:Keyword" value="f"/>
245
                <elements xsi:type="xtext:Keyword" value="f"/>
246
                <elements xsi:type="xtext:Keyword" value="r"/>
246
                <elements xsi:type="xtext:Keyword" value="r"/>
247
                <elements xsi:type="xtext:Keyword" value="u"/>
247
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
248
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
248
                <elements xsi:type="xtext:Keyword" value="'"/>
249
                <elements xsi:type="xtext:Keyword" value="'"/>
249
                <elements xsi:type="xtext:Keyword" value="\"/>
250
                <elements xsi:type="xtext:Keyword" value="\"/>
Lines 269-274 Link Here
269
                <elements xsi:type="xtext:Keyword" value="n"/>
270
                <elements xsi:type="xtext:Keyword" value="n"/>
270
                <elements xsi:type="xtext:Keyword" value="f"/>
271
                <elements xsi:type="xtext:Keyword" value="f"/>
271
                <elements xsi:type="xtext:Keyword" value="r"/>
272
                <elements xsi:type="xtext:Keyword" value="r"/>
273
                <elements xsi:type="xtext:Keyword" value="u"/>
272
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
274
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
273
                <elements xsi:type="xtext:Keyword" value="'"/>
275
                <elements xsi:type="xtext:Keyword" value="'"/>
274
                <elements xsi:type="xtext:Keyword" value="\"/>
276
                <elements xsi:type="xtext:Keyword" value="\"/>
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/UmlCollaborationUseStandaloneSetupGenerated.java (-20 / +7 lines)
Lines 1-22 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
1
15
package org.eclipse.papyrus.collaborationuse.editor.xtext;
2
package org.eclipse.papyrus.collaborationuse.editor.xtext;
16
3
17
import org.eclipse.emf.ecore.EPackage;
4
import org.eclipse.emf.ecore.EPackage;
18
import org.eclipse.emf.ecore.resource.Resource;
19
import org.eclipse.xtext.ISetup;
5
import org.eclipse.xtext.ISetup;
6
import org.eclipse.emf.ecore.resource.Resource;
20
7
21
import com.google.inject.Guice;
8
import com.google.inject.Guice;
22
import com.google.inject.Injector;
9
import com.google.inject.Injector;
Lines 34-54 Link Here
34
		register(injector);
21
		register(injector);
35
		return injector;
22
		return injector;
36
	}
23
	}
37
24
	
38
	public Injector createInjector() {
25
	public Injector createInjector() {
39
		return Guice.createInjector(new org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUseRuntimeModule());
26
		return Guice.createInjector(new org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUseRuntimeModule());
40
	}
27
	}
41
28
	
42
	public void register(Injector injector) {
29
	public void register(Injector injector) {
43
		if(!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse")) {
30
	if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse")) {
44
			EPackage.Registry.INSTANCE.put("http://www.eclipse.org/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse", org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage.eINSTANCE);
31
		EPackage.Registry.INSTANCE.put("http://www.eclipse.org/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse", org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage.eINSTANCE);
45
		}
32
	}
46
33
47
		org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
34
		org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
48
		org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
35
		org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
49
		Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("umlcollaborationuse", resourceFactory);
36
		Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("umlcollaborationuse", resourceFactory);
50
		org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("umlcollaborationuse", serviceProvider);
37
		org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("umlcollaborationuse", serviceProvider);
51
38
		
52
39
53
40
54
41
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/UmlCollaborationUseParser.java (-32 / +16 lines)
Lines 1-55 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
package org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr;
4
package org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr;
5
5
6
import org.antlr.runtime.CharStream;
7
import org.antlr.runtime.TokenSource;
8
import org.eclipse.papyrus.collaborationuse.editor.xtext.services.UmlCollaborationUseGrammarAccess;
9
import org.eclipse.xtext.parser.IParseResult;
10
import org.eclipse.xtext.parser.ParseException;
11
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
12
13
import com.google.inject.Inject;
6
import com.google.inject.Inject;
14
7
15
public class UmlCollaborationUseParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
8
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
9
import org.eclipse.papyrus.collaborationuse.editor.xtext.services.UmlCollaborationUseGrammarAccess;
16
10
11
public class UmlCollaborationUseParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
12
	
17
	@Inject
13
	@Inject
18
	private UmlCollaborationUseGrammarAccess grammarAccess;
14
	private UmlCollaborationUseGrammarAccess grammarAccess;
19
15
	
20
	@Override
16
	@Override
21
	protected IParseResult parse(String ruleName, CharStream in) {
17
	protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
22
		TokenSource tokenSource = createLexer(in);
23
		XtextTokenStream tokenStream = createTokenStream(tokenSource);
24
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
18
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
25
		org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr.internal.InternalUmlCollaborationUseParser parser = createParser(tokenStream);
26
		parser.setTokenTypeMap(getTokenDefProvider().getTokenDefMap());
27
		parser.setSyntaxErrorProvider(getSyntaxErrorProvider());
28
		parser.setUnorderedGroupHelper(getUnorderedGroupHelper().get());
29
		try {
30
			if(ruleName != null)
31
				return parser.parse(ruleName);
32
			return parser.parse();
33
		} catch (Exception re) {
34
			throw new ParseException(re.getMessage(), re);
35
		}
36
	}
19
	}
37
20
	
21
	@Override
38
	protected org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr.internal.InternalUmlCollaborationUseParser createParser(XtextTokenStream stream) {
22
	protected org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr.internal.InternalUmlCollaborationUseParser createParser(XtextTokenStream stream) {
39
		return new org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr.internal.InternalUmlCollaborationUseParser(stream, getElementFactory(), getGrammarAccess());
23
		return new org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr.internal.InternalUmlCollaborationUseParser(stream, getGrammarAccess());
40
	}
24
	}
41
25
	
42
	@Override
26
	@Override 
43
	protected String getDefaultRuleName() {
27
	protected String getDefaultRuleName() {
44
		return "CollaborationUseRule";
28
		return "CollaborationUseRule";
45
	}
29
	}
46
30
	
47
	public UmlCollaborationUseGrammarAccess getGrammarAccess() {
31
	public UmlCollaborationUseGrammarAccess getGrammarAccess() {
48
		return this.grammarAccess;
32
		return this.grammarAccess;
49
	}
33
	}
50
34
	
51
	public void setGrammarAccess(UmlCollaborationUseGrammarAccess grammarAccess) {
35
	public void setGrammarAccess(UmlCollaborationUseGrammarAccess grammarAccess) {
52
		this.grammarAccess = grammarAccess;
36
		this.grammarAccess = grammarAccess;
53
	}
37
	}
54
38
	
55
}
39
}
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/UmlCollaborationUseAntlrTokenFileProvider.java (-5 / +4 lines)
Lines 1-16 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
package org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr;
4
package org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr;
5
5
6
import java.io.InputStream;
6
import java.io.InputStream;
7
8
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
7
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
9
8
10
public class UmlCollaborationUseAntlrTokenFileProvider implements IAntlrTokenFileProvider {
9
public class UmlCollaborationUseAntlrTokenFileProvider implements IAntlrTokenFileProvider {
11
10
	
12
	public InputStream getAntlrTokenFile() {
11
	public InputStream getAntlrTokenFile() {
13
		ClassLoader classLoader = getClass().getClassLoader();
12
		ClassLoader classLoader = getClass().getClassLoader();
14
		return classLoader.getResourceAsStream("org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.tokens");
13
    	return classLoader.getResourceAsStream("org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.tokens");
15
	}
14
	}
16
}
15
}
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g (-141 / +83 lines)
Lines 19-29 Link Here
19
@parser::header {
19
@parser::header {
20
package org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr.internal; 
20
package org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr.internal; 
21
21
22
import java.io.InputStream;
23
import org.eclipse.xtext.*;
22
import org.eclipse.xtext.*;
24
import org.eclipse.xtext.parser.*;
23
import org.eclipse.xtext.parser.*;
25
import org.eclipse.xtext.parser.impl.*;
24
import org.eclipse.xtext.parser.impl.*;
26
import org.eclipse.xtext.parsetree.*;
27
import org.eclipse.emf.ecore.util.EcoreUtil;
25
import org.eclipse.emf.ecore.util.EcoreUtil;
28
import org.eclipse.emf.ecore.EObject;
26
import org.eclipse.emf.ecore.EObject;
29
import org.eclipse.emf.common.util.Enumerator;
27
import org.eclipse.emf.common.util.Enumerator;
Lines 31-37 Link Here
31
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
29
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
32
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
30
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
33
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
31
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
34
import org.eclipse.xtext.conversion.ValueConverterException;
35
import org.eclipse.papyrus.collaborationuse.editor.xtext.services.UmlCollaborationUseGrammarAccess;
32
import org.eclipse.papyrus.collaborationuse.editor.xtext.services.UmlCollaborationUseGrammarAccess;
36
33
37
}
34
}
Lines 40-56 Link Here
40
37
41
 	private UmlCollaborationUseGrammarAccess grammarAccess;
38
 	private UmlCollaborationUseGrammarAccess grammarAccess;
42
 	
39
 	
43
    public InternalUmlCollaborationUseParser(TokenStream input, IAstFactory factory, UmlCollaborationUseGrammarAccess grammarAccess) {
40
    public InternalUmlCollaborationUseParser(TokenStream input, UmlCollaborationUseGrammarAccess grammarAccess) {
44
        this(input);
41
        this(input);
45
        this.factory = factory;
46
        registerRules(grammarAccess.getGrammar());
47
        this.grammarAccess = grammarAccess;
42
        this.grammarAccess = grammarAccess;
48
    }
43
        registerRules(grammarAccess.getGrammar());
49
    
50
    @Override
51
    protected InputStream getTokenFile() {
52
    	ClassLoader classLoader = getClass().getClassLoader();
53
    	return classLoader.getResourceAsStream("org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.tokens");
54
    }
44
    }
55
    
45
    
56
    @Override
46
    @Override
Lines 77-83 Link Here
77
// Entry rule entryRuleCollaborationUseRule
67
// Entry rule entryRuleCollaborationUseRule
78
entryRuleCollaborationUseRule returns [EObject current=null] 
68
entryRuleCollaborationUseRule returns [EObject current=null] 
79
	:
69
	:
80
	{ currentNode = createCompositeNode(grammarAccess.getCollaborationUseRuleRule(), currentNode); }
70
	{ newCompositeNode(grammarAccess.getCollaborationUseRuleRule()); }
81
	 iv_ruleCollaborationUseRule=ruleCollaborationUseRule 
71
	 iv_ruleCollaborationUseRule=ruleCollaborationUseRule 
82
	 { $current=$iv_ruleCollaborationUseRule.current; } 
72
	 { $current=$iv_ruleCollaborationUseRule.current; } 
83
	 EOF 
73
	 EOF 
Lines 85-116 Link Here
85
75
86
// Rule CollaborationUseRule
76
// Rule CollaborationUseRule
87
ruleCollaborationUseRule returns [EObject current=null] 
77
ruleCollaborationUseRule returns [EObject current=null] 
88
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
78
    @init { enterRule(); 
89
    }
79
    }
90
    @after { resetLookahead(); 
80
    @after { leaveRule(); }:
91
    	lastConsumedNode = currentNode;
92
    }:
93
((
81
((
94
(
82
(
95
		{ 
83
		{ 
96
	        currentNode=createCompositeNode(grammarAccess.getCollaborationUseRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0(), currentNode); 
84
	        newCompositeNode(grammarAccess.getCollaborationUseRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); 
97
	    }
85
	    }
98
		lv_visibility_0_0=ruleVisibilityKind		{
86
		lv_visibility_0_0=ruleVisibilityKind		{
99
	        if ($current==null) {
87
	        if ($current==null) {
100
	            $current = factory.create(grammarAccess.getCollaborationUseRuleRule().getType().getClassifier());
88
	            $current = createModelElementForParent(grammarAccess.getCollaborationUseRuleRule());
101
	            associateNodeWithAstElement(currentNode.getParent(), $current);
102
	        }
89
	        }
103
	        try {
90
       		set(
104
	       		set(
91
       			$current, 
105
	       			$current, 
92
       			"visibility",
106
	       			"visibility",
93
        		lv_visibility_0_0, 
107
	        		lv_visibility_0_0, 
94
        		"VisibilityKind");
108
	        		"VisibilityKind", 
95
	        afterParserOrEnumRuleCall();
109
	        		currentNode);
110
	        } catch (ValueConverterException vce) {
111
				handleValueConverterException(vce);
112
	        }
113
	        currentNode = currentNode.getParent();
114
	    }
96
	    }
115
97
116
)
98
)
Lines 118-175 Link Here
118
(
100
(
119
		lv_name_1_0=RULE_ID
101
		lv_name_1_0=RULE_ID
120
		{
102
		{
121
			createLeafNode(grammarAccess.getCollaborationUseRuleAccess().getNameIDTerminalRuleCall_1_0(), "name"); 
103
			newLeafNode(lv_name_1_0, grammarAccess.getCollaborationUseRuleAccess().getNameIDTerminalRuleCall_1_0()); 
122
		}
104
		}
123
		{
105
		{
124
	        if ($current==null) {
106
	        if ($current==null) {
125
	            $current = factory.create(grammarAccess.getCollaborationUseRuleRule().getType().getClassifier());
107
	            $current = createModelElement(grammarAccess.getCollaborationUseRuleRule());
126
	            associateNodeWithAstElement(currentNode, $current);
127
	        }
108
	        }
128
	        try {
109
       		setWithLastConsumed(
129
	       		set(
110
       			$current, 
130
	       			$current, 
111
       			"name",
131
	       			"name",
112
        		lv_name_1_0, 
132
	        		lv_name_1_0, 
113
        		"ID");
133
	        		"ID", 
134
	        		lastConsumedNode);
135
	        } catch (ValueConverterException vce) {
136
				handleValueConverterException(vce);
137
	        }
138
	    }
114
	    }
139
115
140
)
116
)
141
)	':' 
117
)	otherlv_2=':' 
142
    {
118
    {
143
        createLeafNode(grammarAccess.getCollaborationUseRuleAccess().getColonKeyword_2(), null); 
119
    	newLeafNode(otherlv_2, grammarAccess.getCollaborationUseRuleAccess().getColonKeyword_2());
144
    }
120
    }
145
((
121
((
146
(
122
(
147
		{ 
123
		{ 
148
	        currentNode=createCompositeNode(grammarAccess.getCollaborationUseRuleAccess().getTypeTypeRuleParserRuleCall_3_0_0(), currentNode); 
124
	        newCompositeNode(grammarAccess.getCollaborationUseRuleAccess().getTypeTypeRuleParserRuleCall_3_0_0()); 
149
	    }
125
	    }
150
		lv_type_3_0=ruleTypeRule		{
126
		lv_type_3_0=ruleTypeRule		{
151
	        if ($current==null) {
127
	        if ($current==null) {
152
	            $current = factory.create(grammarAccess.getCollaborationUseRuleRule().getType().getClassifier());
128
	            $current = createModelElementForParent(grammarAccess.getCollaborationUseRuleRule());
153
	            associateNodeWithAstElement(currentNode.getParent(), $current);
154
	        }
129
	        }
155
	        try {
130
       		set(
156
	       		set(
131
       			$current, 
157
	       			$current, 
132
       			"type",
158
	       			"type",
133
        		lv_type_3_0, 
159
	        		lv_type_3_0, 
134
        		"TypeRule");
160
	        		"TypeRule", 
135
	        afterParserOrEnumRuleCall();
161
	        		currentNode);
162
	        } catch (ValueConverterException vce) {
163
				handleValueConverterException(vce);
164
	        }
165
	        currentNode = currentNode.getParent();
166
	    }
136
	    }
167
137
168
)
138
)
169
)
139
)
170
    |	'<Undefined>' 
140
    |	otherlv_4='<Undefined>' 
171
    {
141
    {
172
        createLeafNode(grammarAccess.getCollaborationUseRuleAccess().getUndefinedKeyword_3_1(), null); 
142
    	newLeafNode(otherlv_4, grammarAccess.getCollaborationUseRuleAccess().getUndefinedKeyword_3_1());
173
    }
143
    }
174
))
144
))
175
;
145
;
Lines 181-187 Link Here
181
// Entry rule entryRuleTypeRule
151
// Entry rule entryRuleTypeRule
182
entryRuleTypeRule returns [EObject current=null] 
152
entryRuleTypeRule returns [EObject current=null] 
183
	:
153
	:
184
	{ currentNode = createCompositeNode(grammarAccess.getTypeRuleRule(), currentNode); }
154
	{ newCompositeNode(grammarAccess.getTypeRuleRule()); }
185
	 iv_ruleTypeRule=ruleTypeRule 
155
	 iv_ruleTypeRule=ruleTypeRule 
186
	 { $current=$iv_ruleTypeRule.current; } 
156
	 { $current=$iv_ruleTypeRule.current; } 
187
	 EOF 
157
	 EOF 
Lines 189-220 Link Here
189
159
190
// Rule TypeRule
160
// Rule TypeRule
191
ruleTypeRule returns [EObject current=null] 
161
ruleTypeRule returns [EObject current=null] 
192
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
162
    @init { enterRule(); 
193
    }
163
    }
194
    @after { resetLookahead(); 
164
    @after { leaveRule(); }:
195
    	lastConsumedNode = currentNode;
196
    }:
197
((
165
((
198
(
166
(
199
		{ 
167
		{ 
200
	        currentNode=createCompositeNode(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); 
168
	        newCompositeNode(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
201
	    }
169
	    }
202
		lv_path_0_0=ruleQualifiedName		{
170
		lv_path_0_0=ruleQualifiedName		{
203
	        if ($current==null) {
171
	        if ($current==null) {
204
	            $current = factory.create(grammarAccess.getTypeRuleRule().getType().getClassifier());
172
	            $current = createModelElementForParent(grammarAccess.getTypeRuleRule());
205
	            associateNodeWithAstElement(currentNode.getParent(), $current);
206
	        }
173
	        }
207
	        try {
174
       		set(
208
	       		set(
175
       			$current, 
209
	       			$current, 
176
       			"path",
210
	       			"path",
177
        		lv_path_0_0, 
211
	        		lv_path_0_0, 
178
        		"QualifiedName");
212
	        		"QualifiedName", 
179
	        afterParserOrEnumRuleCall();
213
	        		currentNode);
214
	        } catch (ValueConverterException vce) {
215
				handleValueConverterException(vce);
216
	        }
217
	        currentNode = currentNode.getParent();
218
	    }
180
	    }
219
181
220
)
182
)
Lines 222-234 Link Here
222
(
184
(
223
		{
185
		{
224
			if ($current==null) {
186
			if ($current==null) {
225
	            $current = factory.create(grammarAccess.getTypeRuleRule().getType().getClassifier());
187
	            $current = createModelElement(grammarAccess.getTypeRuleRule());
226
	            associateNodeWithAstElement(currentNode, $current);
227
	        }
188
	        }
228
        }
189
        }
229
	RULE_ID
190
	otherlv_1=RULE_ID
230
	{
191
	{
231
		createLeafNode(grammarAccess.getTypeRuleAccess().getTypeCollaborationCrossReference_1_0(), "type"); 
192
		newLeafNode(otherlv_1, grammarAccess.getTypeRuleAccess().getTypeCollaborationCrossReference_1_0()); 
232
	}
193
	}
233
194
234
)
195
)
Lines 242-248 Link Here
242
// Entry rule entryRuleQualifiedName
203
// Entry rule entryRuleQualifiedName
243
entryRuleQualifiedName returns [EObject current=null] 
204
entryRuleQualifiedName returns [EObject current=null] 
244
	:
205
	:
245
	{ currentNode = createCompositeNode(grammarAccess.getQualifiedNameRule(), currentNode); }
206
	{ newCompositeNode(grammarAccess.getQualifiedNameRule()); }
246
	 iv_ruleQualifiedName=ruleQualifiedName 
207
	 iv_ruleQualifiedName=ruleQualifiedName 
247
	 { $current=$iv_ruleQualifiedName.current; } 
208
	 { $current=$iv_ruleQualifiedName.current; } 
248
	 EOF 
209
	 EOF 
Lines 250-299 Link Here
250
211
251
// Rule QualifiedName
212
// Rule QualifiedName
252
ruleQualifiedName returns [EObject current=null] 
213
ruleQualifiedName returns [EObject current=null] 
253
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
214
    @init { enterRule(); 
254
    }
215
    }
255
    @after { resetLookahead(); 
216
    @after { leaveRule(); }:
256
    	lastConsumedNode = currentNode;
257
    }:
258
((
217
((
259
(
218
(
260
		{
219
		{
261
			if ($current==null) {
220
			if ($current==null) {
262
	            $current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
221
	            $current = createModelElement(grammarAccess.getQualifiedNameRule());
263
	            associateNodeWithAstElement(currentNode, $current);
264
	        }
222
	        }
265
        }
223
        }
266
	RULE_ID
224
	otherlv_0=RULE_ID
267
	{
225
	{
268
		createLeafNode(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(), "path"); 
226
		newLeafNode(otherlv_0, grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); 
269
	}
227
	}
270
228
271
)
229
)
272
)	'::' 
230
)	otherlv_1='::' 
273
    {
231
    {
274
        createLeafNode(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1(), null); 
232
    	newLeafNode(otherlv_1, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
275
    }
233
    }
276
(
234
(
277
(
235
(
278
		{ 
236
		{ 
279
	        currentNode=createCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(), currentNode); 
237
	        newCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
280
	    }
238
	    }
281
		lv_remaining_2_0=ruleQualifiedName		{
239
		lv_remaining_2_0=ruleQualifiedName		{
282
	        if ($current==null) {
240
	        if ($current==null) {
283
	            $current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
241
	            $current = createModelElementForParent(grammarAccess.getQualifiedNameRule());
284
	            associateNodeWithAstElement(currentNode.getParent(), $current);
285
	        }
242
	        }
286
	        try {
243
       		set(
287
	       		set(
244
       			$current, 
288
	       			$current, 
245
       			"remaining",
289
	       			"remaining",
246
        		lv_remaining_2_0, 
290
	        		lv_remaining_2_0, 
247
        		"QualifiedName");
291
	        		"QualifiedName", 
248
	        afterParserOrEnumRuleCall();
292
	        		currentNode);
293
	        } catch (ValueConverterException vce) {
294
				handleValueConverterException(vce);
295
	        }
296
	        currentNode = currentNode.getParent();
297
	    }
249
	    }
298
250
299
)
251
)
Lines 309-315 Link Here
309
// Entry rule entryRuleBoundSpecification
261
// Entry rule entryRuleBoundSpecification
310
entryRuleBoundSpecification returns [EObject current=null] 
262
entryRuleBoundSpecification returns [EObject current=null] 
311
	:
263
	:
312
	{ currentNode = createCompositeNode(grammarAccess.getBoundSpecificationRule(), currentNode); }
264
	{ newCompositeNode(grammarAccess.getBoundSpecificationRule()); }
313
	 iv_ruleBoundSpecification=ruleBoundSpecification 
265
	 iv_ruleBoundSpecification=ruleBoundSpecification 
314
	 { $current=$iv_ruleBoundSpecification.current; } 
266
	 { $current=$iv_ruleBoundSpecification.current; } 
315
	 EOF 
267
	 EOF 
Lines 317-348 Link Here
317
269
318
// Rule BoundSpecification
270
// Rule BoundSpecification
319
ruleBoundSpecification returns [EObject current=null] 
271
ruleBoundSpecification returns [EObject current=null] 
320
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
272
    @init { enterRule(); 
321
    }
273
    }
322
    @after { resetLookahead(); 
274
    @after { leaveRule(); }:
323
    	lastConsumedNode = currentNode;
324
    }:
325
(
275
(
326
(
276
(
327
		lv_value_0_0=RULE_UNLIMITEDLITERAL
277
		lv_value_0_0=RULE_UNLIMITEDLITERAL
328
		{
278
		{
329
			createLeafNode(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0(), "value"); 
279
			newLeafNode(lv_value_0_0, grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0()); 
330
		}
280
		}
331
		{
281
		{
332
	        if ($current==null) {
282
	        if ($current==null) {
333
	            $current = factory.create(grammarAccess.getBoundSpecificationRule().getType().getClassifier());
283
	            $current = createModelElement(grammarAccess.getBoundSpecificationRule());
334
	            associateNodeWithAstElement(currentNode, $current);
335
	        }
284
	        }
336
	        try {
285
       		setWithLastConsumed(
337
	       		set(
286
       			$current, 
338
	       			$current, 
287
       			"value",
339
	       			"value",
288
        		lv_value_0_0, 
340
	        		lv_value_0_0, 
289
        		"UnlimitedLiteral");
341
	        		"UnlimitedLiteral", 
342
	        		lastConsumedNode);
343
	        } catch (ValueConverterException vce) {
344
				handleValueConverterException(vce);
345
	        }
346
	    }
290
	    }
347
291
348
)
292
)
Lines 355-386 Link Here
355
299
356
// Rule VisibilityKind
300
// Rule VisibilityKind
357
ruleVisibilityKind returns [Enumerator current=null] 
301
ruleVisibilityKind returns [Enumerator current=null] 
358
    @init { setCurrentLookahead(); resetLookahead(); }
302
    @init { enterRule(); }
359
    @after { resetLookahead(); 
303
    @after { leaveRule(); }:
360
    	lastConsumedNode = currentNode;
304
((	enumLiteral_0='+' 
361
    }:
362
((	'+' 
363
	{
305
	{
364
        $current = grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
306
        $current = grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
365
        createLeafNode(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0(), null); 
307
        newLeafNode(enumLiteral_0, grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0()); 
366
    }
308
    }
367
)
309
)
368
    |(	'-' 
310
    |(	enumLiteral_1='-' 
369
	{
311
	{
370
        $current = grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
312
        $current = grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
371
        createLeafNode(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1(), null); 
313
        newLeafNode(enumLiteral_1, grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1()); 
372
    }
314
    }
373
)
315
)
374
    |(	'#' 
316
    |(	enumLiteral_2='#' 
375
	{
317
	{
376
        $current = grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
318
        $current = grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
377
        createLeafNode(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2(), null); 
319
        newLeafNode(enumLiteral_2, grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2()); 
378
    }
320
    }
379
)
321
)
380
    |(	'~' 
322
    |(	enumLiteral_3='~' 
381
	{
323
	{
382
        $current = grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
324
        $current = grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
383
        createLeafNode(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3(), null); 
325
        newLeafNode(enumLiteral_3, grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3()); 
384
    }
326
    }
385
));
327
));
386
328
Lines 394-400 Link Here
394
336
395
RULE_INT : ('0'..'9')+;
337
RULE_INT : ('0'..'9')+;
396
338
397
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
339
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
398
340
399
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
341
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
400
342
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUseLexer.java (-735 / +848 lines)
Lines 1-936 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr.internal;
1
package org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr.internal;
15
2
16
// Hack: Use our own Lexer superclass by means of import. 
3
// Hack: Use our own Lexer superclass by means of import. 
17
// Currently there is no other way to specify the superclass for the lexer.
4
// Currently there is no other way to specify the superclass for the lexer.
18
import org.antlr.runtime.BaseRecognizer;
19
import org.antlr.runtime.CharStream;
20
import org.antlr.runtime.DFA;
21
import org.antlr.runtime.EarlyExitException;
22
import org.antlr.runtime.MismatchedSetException;
23
import org.antlr.runtime.NoViableAltException;
24
import org.antlr.runtime.RecognitionException;
25
import org.eclipse.xtext.parser.antlr.Lexer;
5
import org.eclipse.xtext.parser.antlr.Lexer;
26
6
27
@SuppressWarnings("all")
28
public class InternalUmlCollaborationUseLexer extends Lexer {
29
30
	public static final int RULE_ID = 4;
31
32
	public static final int RULE_UNLIMITEDLITERAL = 5;
33
34
	public static final int RULE_ANY_OTHER = 11;
35
36
	public static final int EOF = -1;
37
38
	public static final int RULE_SL_COMMENT = 9;
39
40
	public static final int Tokens = 19;
41
42
	public static final int RULE_ML_COMMENT = 8;
43
44
	public static final int RULE_STRING = 7;
45
7
46
	public static final int RULE_INT = 6;
8
import org.antlr.runtime.*;
9
import java.util.Stack;
10
import java.util.List;
11
import java.util.ArrayList;
47
12
48
	public static final int T12 = 12;
13
@SuppressWarnings("all")
49
14
public class InternalUmlCollaborationUseLexer extends Lexer {
50
	public static final int T13 = 13;
15
    public static final int RULE_ID=4;
51
16
    public static final int RULE_STRING=7;
52
	public static final int T14 = 14;
17
    public static final int RULE_UNLIMITEDLITERAL=5;
53
18
    public static final int T__16=16;
54
	public static final int RULE_WS = 10;
19
    public static final int T__15=15;
55
20
    public static final int T__18=18;
56
	public static final int T15 = 15;
21
    public static final int T__17=17;
57
22
    public static final int T__12=12;
58
	public static final int T16 = 16;
23
    public static final int T__14=14;
59
24
    public static final int T__13=13;
60
	public static final int T17 = 17;
25
    public static final int RULE_ANY_OTHER=11;
61
26
    public static final int RULE_INT=6;
62
	public static final int T18 = 18;
27
    public static final int RULE_WS=10;
63
28
    public static final int RULE_SL_COMMENT=9;
64
	public InternalUmlCollaborationUseLexer() {
29
    public static final int EOF=-1;
65
		;
30
    public static final int RULE_ML_COMMENT=8;
66
	}
67
68
	public InternalUmlCollaborationUseLexer(CharStream input) {
69
		super(input);
70
	}
71
72
	public String getGrammarFileName() {
73
		return "../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g";
74
	}
75
76
	// $ANTLR start T12
77
	public final void mT12() throws RecognitionException {
78
		try {
79
			int _type = T12;
80
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:10:5: ( ':' )
81
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:10:7: ':'
82
			{
83
				match(':');
84
85
			}
86
87
			this.type = _type;
88
		} finally {
89
		}
90
	}
91
92
	// $ANTLR end T12
93
94
	// $ANTLR start T13
95
	public final void mT13() throws RecognitionException {
96
		try {
97
			int _type = T13;
98
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:11:5: ( '<Undefined>' )
99
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:11:7: '<Undefined>'
100
			{
101
				match("<Undefined>");
102
31
32
    // delegates
33
    // delegators
103
34
104
			}
35
    public InternalUmlCollaborationUseLexer() {;} 
36
    public InternalUmlCollaborationUseLexer(CharStream input) {
37
        this(input, new RecognizerSharedState());
38
    }
39
    public InternalUmlCollaborationUseLexer(CharStream input, RecognizerSharedState state) {
40
        super(input,state);
105
41
106
			this.type = _type;
42
    }
107
		} finally {
43
    public String getGrammarFileName() { return "../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g"; }
108
		}
109
	}
110
44
111
	// $ANTLR end T13
45
    // $ANTLR start "T__12"
46
    public final void mT__12() throws RecognitionException {
47
        try {
48
            int _type = T__12;
49
            int _channel = DEFAULT_TOKEN_CHANNEL;
50
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:11:7: ( ':' )
51
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:11:9: ':'
52
            {
53
            match(':'); 
112
54
113
	// $ANTLR start T14
55
            }
114
	public final void mT14() throws RecognitionException {
115
		try {
116
			int _type = T14;
117
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:12:5: ( '::' )
118
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:12:7: '::'
119
			{
120
				match("::");
121
56
57
            state.type = _type;
58
            state.channel = _channel;
59
        }
60
        finally {
61
        }
62
    }
63
    // $ANTLR end "T__12"
122
64
123
			}
65
    // $ANTLR start "T__13"
66
    public final void mT__13() throws RecognitionException {
67
        try {
68
            int _type = T__13;
69
            int _channel = DEFAULT_TOKEN_CHANNEL;
70
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:12:7: ( '<Undefined>' )
71
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:12:9: '<Undefined>'
72
            {
73
            match("<Undefined>"); 
124
74
125
			this.type = _type;
126
		} finally {
127
		}
128
	}
129
75
130
	// $ANTLR end T14
76
            }
131
77
132
	// $ANTLR start T15
78
            state.type = _type;
133
	public final void mT15() throws RecognitionException {
79
            state.channel = _channel;
134
		try {
80
        }
135
			int _type = T15;
81
        finally {
136
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:13:5: ( '+' )
82
        }
137
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:13:7: '+'
83
    }
138
			{
84
    // $ANTLR end "T__13"
139
				match('+');
140
85
141
			}
86
    // $ANTLR start "T__14"
87
    public final void mT__14() throws RecognitionException {
88
        try {
89
            int _type = T__14;
90
            int _channel = DEFAULT_TOKEN_CHANNEL;
91
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:13:7: ( '::' )
92
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:13:9: '::'
93
            {
94
            match("::"); 
142
95
143
			this.type = _type;
144
		} finally {
145
		}
146
	}
147
96
148
	// $ANTLR end T15
97
            }
149
98
150
	// $ANTLR start T16
99
            state.type = _type;
151
	public final void mT16() throws RecognitionException {
100
            state.channel = _channel;
152
		try {
101
        }
153
			int _type = T16;
102
        finally {
154
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:14:5: ( '-' )
103
        }
155
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:14:7: '-'
104
    }
156
			{
105
    // $ANTLR end "T__14"
157
				match('-');
158
106
159
			}
107
    // $ANTLR start "T__15"
108
    public final void mT__15() throws RecognitionException {
109
        try {
110
            int _type = T__15;
111
            int _channel = DEFAULT_TOKEN_CHANNEL;
112
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:14:7: ( '+' )
113
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:14:9: '+'
114
            {
115
            match('+'); 
160
116
161
			this.type = _type;
117
            }
162
		} finally {
163
		}
164
	}
165
118
166
	// $ANTLR end T16
119
            state.type = _type;
120
            state.channel = _channel;
121
        }
122
        finally {
123
        }
124
    }
125
    // $ANTLR end "T__15"
167
126
168
	// $ANTLR start T17
127
    // $ANTLR start "T__16"
169
	public final void mT17() throws RecognitionException {
128
    public final void mT__16() throws RecognitionException {
170
		try {
129
        try {
171
			int _type = T17;
130
            int _type = T__16;
172
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:15:5: ( '#' )
131
            int _channel = DEFAULT_TOKEN_CHANNEL;
173
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:15:7: '#'
132
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:15:7: ( '-' )
174
			{
133
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:15:9: '-'
175
				match('#');
134
            {
135
            match('-'); 
176
136
177
			}
137
            }
178
138
179
			this.type = _type;
139
            state.type = _type;
180
		} finally {
140
            state.channel = _channel;
181
		}
141
        }
182
	}
142
        finally {
143
        }
144
    }
145
    // $ANTLR end "T__16"
183
146
184
	// $ANTLR end T17
147
    // $ANTLR start "T__17"
148
    public final void mT__17() throws RecognitionException {
149
        try {
150
            int _type = T__17;
151
            int _channel = DEFAULT_TOKEN_CHANNEL;
152
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:16:7: ( '#' )
153
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:16:9: '#'
154
            {
155
            match('#'); 
185
156
186
	// $ANTLR start T18
157
            }
187
	public final void mT18() throws RecognitionException {
188
		try {
189
			int _type = T18;
190
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:16:5: ( '~' )
191
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:16:7: '~'
192
			{
193
				match('~');
194
158
195
			}
159
            state.type = _type;
160
            state.channel = _channel;
161
        }
162
        finally {
163
        }
164
    }
165
    // $ANTLR end "T__17"
196
166
197
			this.type = _type;
167
    // $ANTLR start "T__18"
198
		} finally {
168
    public final void mT__18() throws RecognitionException {
199
		}
169
        try {
200
	}
170
            int _type = T__18;
171
            int _channel = DEFAULT_TOKEN_CHANNEL;
172
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:17:7: ( '~' )
173
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:17:9: '~'
174
            {
175
            match('~'); 
201
176
202
	// $ANTLR end T18
177
            }
203
178
204
	// $ANTLR start RULE_UNLIMITEDLITERAL
179
            state.type = _type;
205
	public final void mRULE_UNLIMITEDLITERAL() throws RecognitionException {
180
            state.channel = _channel;
206
		try {
181
        }
207
			int _type = RULE_UNLIMITEDLITERAL;
182
        finally {
208
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:391:23: ( ( '0' .. '9' ( '0' .. '9' )* | '*' ) )
183
        }
209
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:391:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
184
    }
210
			{
185
    // $ANTLR end "T__18"
211
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:391:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
212
				int alt2 = 2;
213
				int LA2_0 = input.LA(1);
214
186
215
				if(((LA2_0 >= '0' && LA2_0 <= '9'))) {
187
    // $ANTLR start "RULE_UNLIMITEDLITERAL"
216
					alt2 = 1;
188
    public final void mRULE_UNLIMITEDLITERAL() throws RecognitionException {
217
				} else if((LA2_0 == '*')) {
189
        try {
218
					alt2 = 2;
190
            int _type = RULE_UNLIMITEDLITERAL;
219
				} else {
191
            int _channel = DEFAULT_TOKEN_CHANNEL;
220
					NoViableAltException nvae = new NoViableAltException("391:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )", 2, 0, input);
192
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:333:23: ( ( '0' .. '9' ( '0' .. '9' )* | '*' ) )
193
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:333:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
194
            {
195
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:333:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
196
            int alt2=2;
197
            int LA2_0 = input.LA(1);
221
198
222
					throw nvae;
199
            if ( ((LA2_0>='0' && LA2_0<='9')) ) {
223
				}
200
                alt2=1;
224
				switch(alt2) {
201
            }
225
				case 1:
202
            else if ( (LA2_0=='*') ) {
226
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:391:26: '0' .. '9' ( '0' .. '9' )*
203
                alt2=2;
227
				{
204
            }
228
					matchRange('0', '9');
205
            else {
229
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:391:35: ( '0' .. '9' )*
206
                NoViableAltException nvae =
230
					loop1: do {
207
                    new NoViableAltException("", 2, 0, input);
231
						int alt1 = 2;
232
						int LA1_0 = input.LA(1);
233
208
234
						if(((LA1_0 >= '0' && LA1_0 <= '9'))) {
209
                throw nvae;
235
							alt1 = 1;
210
            }
236
						}
211
            switch (alt2) {
212
                case 1 :
213
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:333:26: '0' .. '9' ( '0' .. '9' )*
214
                    {
215
                    matchRange('0','9'); 
216
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:333:35: ( '0' .. '9' )*
217
                    loop1:
218
                    do {
219
                        int alt1=2;
220
                        int LA1_0 = input.LA(1);
237
221
222
                        if ( ((LA1_0>='0' && LA1_0<='9')) ) {
223
                            alt1=1;
224
                        }
238
225
239
						switch(alt1) {
240
						case 1:
241
							// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:391:36: '0' .. '9'
242
						{
243
							matchRange('0', '9');
244
226
245
						}
227
                        switch (alt1) {
246
							break;
228
                    	case 1 :
229
                    	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:333:36: '0' .. '9'
230
                    	    {
231
                    	    matchRange('0','9'); 
247
232
248
						default:
233
                    	    }
249
							break loop1;
234
                    	    break;
250
						}
251
					} while(true);
252
235
236
                    	default :
237
                    	    break loop1;
238
                        }
239
                    } while (true);
253
240
254
				}
255
					break;
256
				case 2:
257
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:391:47: '*'
258
				{
259
					match('*');
260
241
261
				}
242
                    }
262
					break;
243
                    break;
244
                case 2 :
245
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:333:47: '*'
246
                    {
247
                    match('*'); 
263
248
264
				}
249
                    }
250
                    break;
265
251
252
            }
266
253
267
			}
268
254
269
			this.type = _type;
255
            }
270
		} finally {
271
		}
272
	}
273
256
274
	// $ANTLR end RULE_UNLIMITEDLITERAL
257
            state.type = _type;
258
            state.channel = _channel;
259
        }
260
        finally {
261
        }
262
    }
263
    // $ANTLR end "RULE_UNLIMITEDLITERAL"
275
264
276
	// $ANTLR start RULE_ID
265
    // $ANTLR start "RULE_ID"
277
	public final void mRULE_ID() throws RecognitionException {
266
    public final void mRULE_ID() throws RecognitionException {
278
		try {
267
        try {
279
			int _type = RULE_ID;
268
            int _type = RULE_ID;
280
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:393:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
269
            int _channel = DEFAULT_TOKEN_CHANNEL;
281
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:393:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
270
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:335:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
282
			{
271
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:335:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
283
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:393:11: ( '^' )?
272
            {
284
				int alt3 = 2;
273
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:335:11: ( '^' )?
285
				int LA3_0 = input.LA(1);
274
            int alt3=2;
275
            int LA3_0 = input.LA(1);
286
276
287
				if((LA3_0 == '^')) {
277
            if ( (LA3_0=='^') ) {
288
					alt3 = 1;
278
                alt3=1;
289
				}
279
            }
290
				switch(alt3) {
280
            switch (alt3) {
291
				case 1:
281
                case 1 :
292
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:393:11: '^'
282
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:335:11: '^'
293
				{
283
                    {
294
					match('^');
284
                    match('^'); 
295
285
296
				}
286
                    }
297
					break;
287
                    break;
298
288
299
				}
289
            }
300
290
301
				if((input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
291
            if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
302
					input.consume();
292
                input.consume();
303
293
304
				} else {
294
            }
305
					MismatchedSetException mse = new MismatchedSetException(null, input);
295
            else {
306
					recover(mse);
296
                MismatchedSetException mse = new MismatchedSetException(null,input);
307
					throw mse;
297
                recover(mse);
308
				}
298
                throw mse;}
309
299
310
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:393:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
300
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:335:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
311
				loop4: do {
301
            loop4:
312
					int alt4 = 2;
302
            do {
313
					int LA4_0 = input.LA(1);
303
                int alt4=2;
304
                int LA4_0 = input.LA(1);
314
305
315
					if(((LA4_0 >= '0' && LA4_0 <= '9') || (LA4_0 >= 'A' && LA4_0 <= 'Z') || LA4_0 == '_' || (LA4_0 >= 'a' && LA4_0 <= 'z'))) {
306
                if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {
316
						alt4 = 1;
307
                    alt4=1;
317
					}
308
                }
318
309
319
310
320
					switch(alt4) {
311
                switch (alt4) {
321
					case 1:
312
            	case 1 :
322
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:
313
            	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:
323
					{
314
            	    {
324
						if((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
315
            	    if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
325
							input.consume();
316
            	        input.consume();
326
317
327
						} else {
318
            	    }
328
							MismatchedSetException mse = new MismatchedSetException(null, input);
319
            	    else {
329
							recover(mse);
320
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
330
							throw mse;
321
            	        recover(mse);
331
						}
322
            	        throw mse;}
332
323
333
324
334
					}
325
            	    }
335
						break;
326
            	    break;
336
327
337
					default:
328
            	default :
338
						break loop4;
329
            	    break loop4;
339
					}
330
                }
340
				} while(true);
331
            } while (true);
341
332
342
333
343
			}
334
            }
344
335
345
			this.type = _type;
336
            state.type = _type;
346
		} finally {
337
            state.channel = _channel;
347
		}
338
        }
348
	}
339
        finally {
340
        }
341
    }
342
    // $ANTLR end "RULE_ID"
349
343
350
	// $ANTLR end RULE_ID
344
    // $ANTLR start "RULE_INT"
345
    public final void mRULE_INT() throws RecognitionException {
346
        try {
347
            int _type = RULE_INT;
348
            int _channel = DEFAULT_TOKEN_CHANNEL;
349
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:337:10: ( ( '0' .. '9' )+ )
350
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:337:12: ( '0' .. '9' )+
351
            {
352
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:337:12: ( '0' .. '9' )+
353
            int cnt5=0;
354
            loop5:
355
            do {
356
                int alt5=2;
357
                int LA5_0 = input.LA(1);
351
358
352
	// $ANTLR start RULE_INT
359
                if ( ((LA5_0>='0' && LA5_0<='9')) ) {
353
	public final void mRULE_INT() throws RecognitionException {
360
                    alt5=1;
354
		try {
361
                }
355
			int _type = RULE_INT;
356
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:395:10: ( ( '0' .. '9' )+ )
357
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:395:12: ( '0' .. '9' )+
358
			{
359
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:395:12: ( '0' .. '9' )+
360
				int cnt5 = 0;
361
				loop5: do {
362
					int alt5 = 2;
363
					int LA5_0 = input.LA(1);
364
362
365
					if(((LA5_0 >= '0' && LA5_0 <= '9'))) {
366
						alt5 = 1;
367
					}
368
363
364
                switch (alt5) {
365
            	case 1 :
366
            	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:337:13: '0' .. '9'
367
            	    {
368
            	    matchRange('0','9'); 
369
369
370
					switch(alt5) {
370
            	    }
371
					case 1:
371
            	    break;
372
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:395:13: '0' .. '9'
373
					{
374
						matchRange('0', '9');
375
372
376
					}
373
            	default :
377
						break;
374
            	    if ( cnt5 >= 1 ) break loop5;
375
                        EarlyExitException eee =
376
                            new EarlyExitException(5, input);
377
                        throw eee;
378
                }
379
                cnt5++;
380
            } while (true);
378
381
379
					default:
380
						if(cnt5 >= 1)
381
							break loop5;
382
						EarlyExitException eee = new EarlyExitException(5, input);
383
						throw eee;
384
					}
385
					cnt5++;
386
				} while(true);
387
382
383
            }
388
384
389
			}
385
            state.type = _type;
386
            state.channel = _channel;
387
        }
388
        finally {
389
        }
390
    }
391
    // $ANTLR end "RULE_INT"
390
392
391
			this.type = _type;
393
    // $ANTLR start "RULE_STRING"
392
		} finally {
394
    public final void mRULE_STRING() throws RecognitionException {
393
		}
395
        try {
394
	}
396
            int _type = RULE_STRING;
397
            int _channel = DEFAULT_TOKEN_CHANNEL;
398
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:339:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
399
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:339:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
400
            {
401
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:339:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
402
            int alt8=2;
403
            int LA8_0 = input.LA(1);
395
404
396
	// $ANTLR end RULE_INT
405
            if ( (LA8_0=='\"') ) {
406
                alt8=1;
407
            }
408
            else if ( (LA8_0=='\'') ) {
409
                alt8=2;
410
            }
411
            else {
412
                NoViableAltException nvae =
413
                    new NoViableAltException("", 8, 0, input);
397
414
398
	// $ANTLR start RULE_STRING
415
                throw nvae;
399
	public final void mRULE_STRING() throws RecognitionException {
416
            }
400
		try {
417
            switch (alt8) {
401
			int _type = RULE_STRING;
418
                case 1 :
402
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:397:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
419
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:339:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
403
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:397:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
420
                    {
404
			{
421
                    match('\"'); 
405
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:397:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
422
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:339:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
406
				int alt8 = 2;
423
                    loop6:
407
				int LA8_0 = input.LA(1);
424
                    do {
425
                        int alt6=3;
426
                        int LA6_0 = input.LA(1);
408
427
409
				if((LA8_0 == '\"')) {
428
                        if ( (LA6_0=='\\') ) {
410
					alt8 = 1;
429
                            alt6=1;
411
				} else if((LA8_0 == '\'')) {
430
                        }
412
					alt8 = 2;
431
                        else if ( ((LA6_0>='\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) {
413
				} else {
432
                            alt6=2;
414
					NoViableAltException nvae = new NoViableAltException("397:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 8, 0, input);
433
                        }
415
434
416
					throw nvae;
417
				}
418
				switch(alt8) {
419
				case 1:
420
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:397:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
421
				{
422
					match('\"');
423
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:397:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
424
					loop6: do {
425
						int alt6 = 3;
426
						int LA6_0 = input.LA(1);
427
435
428
						if((LA6_0 == '\\')) {
436
                        switch (alt6) {
429
							alt6 = 1;
437
                    	case 1 :
430
						} else if(((LA6_0 >= '\u0000' && LA6_0 <= '!') || (LA6_0 >= '#' && LA6_0 <= '[') || (LA6_0 >= ']' && LA6_0 <= '\uFFFE'))) {
438
                    	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:339:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
431
							alt6 = 2;
439
                    	    {
432
						}
440
                    	    match('\\'); 
441
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
442
                    	        input.consume();
433
443
444
                    	    }
445
                    	    else {
446
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
447
                    	        recover(mse);
448
                    	        throw mse;}
434
449
435
						switch(alt6) {
436
						case 1:
437
							// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:397:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
438
						{
439
							match('\\');
440
							if(input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
441
								input.consume();
442
450
443
							} else {
451
                    	    }
444
								MismatchedSetException mse = new MismatchedSetException(null, input);
452
                    	    break;
445
								recover(mse);
453
                    	case 2 :
446
								throw mse;
454
                    	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:339:66: ~ ( ( '\\\\' | '\"' ) )
447
							}
455
                    	    {
456
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
457
                    	        input.consume();
448
458
459
                    	    }
460
                    	    else {
461
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
462
                    	        recover(mse);
463
                    	        throw mse;}
449
464
450
						}
451
							break;
452
						case 2:
453
							// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:397:62: ~ ( ( '\\\\' | '\"' ) )
454
						{
455
							if((input.LA(1) >= '\u0000' && input.LA(1) <= '!') || (input.LA(1) >= '#' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFE')) {
456
								input.consume();
457
465
458
							} else {
466
                    	    }
459
								MismatchedSetException mse = new MismatchedSetException(null, input);
467
                    	    break;
460
								recover(mse);
461
								throw mse;
462
							}
463
468
469
                    	default :
470
                    	    break loop6;
471
                        }
472
                    } while (true);
464
473
465
						}
474
                    match('\"'); 
466
							break;
467
475
468
						default:
476
                    }
469
							break loop6;
477
                    break;
470
						}
478
                case 2 :
471
					} while(true);
479
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:339:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
480
                    {
481
                    match('\''); 
482
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:339:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
483
                    loop7:
484
                    do {
485
                        int alt7=3;
486
                        int LA7_0 = input.LA(1);
472
487
473
					match('\"');
488
                        if ( (LA7_0=='\\') ) {
489
                            alt7=1;
490
                        }
491
                        else if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) {
492
                            alt7=2;
493
                        }
474
494
475
				}
476
					break;
477
				case 2:
478
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:397:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
479
				{
480
					match('\'');
481
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:397:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
482
					loop7: do {
483
						int alt7 = 3;
484
						int LA7_0 = input.LA(1);
485
495
486
						if((LA7_0 == '\\')) {
496
                        switch (alt7) {
487
							alt7 = 1;
497
                    	case 1 :
488
						} else if(((LA7_0 >= '\u0000' && LA7_0 <= '&') || (LA7_0 >= '(' && LA7_0 <= '[') || (LA7_0 >= ']' && LA7_0 <= '\uFFFE'))) {
498
                    	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:339:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
489
							alt7 = 2;
499
                    	    {
490
						}
500
                    	    match('\\'); 
501
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
502
                    	        input.consume();
491
503
504
                    	    }
505
                    	    else {
506
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
507
                    	        recover(mse);
508
                    	        throw mse;}
492
509
493
						switch(alt7) {
494
						case 1:
495
							// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:397:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
496
						{
497
							match('\\');
498
							if(input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
499
								input.consume();
500
510
501
							} else {
511
                    	    }
502
								MismatchedSetException mse = new MismatchedSetException(null, input);
512
                    	    break;
503
								recover(mse);
513
                    	case 2 :
504
								throw mse;
514
                    	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:339:137: ~ ( ( '\\\\' | '\\'' ) )
505
							}
515
                    	    {
516
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
517
                    	        input.consume();
506
518
519
                    	    }
520
                    	    else {
521
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
522
                    	        recover(mse);
523
                    	        throw mse;}
507
524
508
						}
509
							break;
510
						case 2:
511
							// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:397:129: ~ ( ( '\\\\' | '\\'' ) )
512
						{
513
							if((input.LA(1) >= '\u0000' && input.LA(1) <= '&') || (input.LA(1) >= '(' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFE')) {
514
								input.consume();
515
525
516
							} else {
526
                    	    }
517
								MismatchedSetException mse = new MismatchedSetException(null, input);
527
                    	    break;
518
								recover(mse);
519
								throw mse;
520
							}
521
528
529
                    	default :
530
                    	    break loop7;
531
                        }
532
                    } while (true);
522
533
523
						}
534
                    match('\''); 
524
							break;
525
535
526
						default:
536
                    }
527
							break loop7;
537
                    break;
528
						}
529
					} while(true);
530
538
531
					match('\'');
539
            }
532
540
533
				}
534
					break;
535
541
536
				}
542
            }
537
543
544
            state.type = _type;
545
            state.channel = _channel;
546
        }
547
        finally {
548
        }
549
    }
550
    // $ANTLR end "RULE_STRING"
538
551
539
			}
552
    // $ANTLR start "RULE_ML_COMMENT"
553
    public final void mRULE_ML_COMMENT() throws RecognitionException {
554
        try {
555
            int _type = RULE_ML_COMMENT;
556
            int _channel = DEFAULT_TOKEN_CHANNEL;
557
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:341:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
558
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:341:19: '/*' ( options {greedy=false; } : . )* '*/'
559
            {
560
            match("/*"); 
540
561
541
			this.type = _type;
562
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:341:24: ( options {greedy=false; } : . )*
542
		} finally {
563
            loop9:
543
		}
564
            do {
544
	}
565
                int alt9=2;
566
                int LA9_0 = input.LA(1);
545
567
546
	// $ANTLR end RULE_STRING
568
                if ( (LA9_0=='*') ) {
569
                    int LA9_1 = input.LA(2);
547
570
548
	// $ANTLR start RULE_ML_COMMENT
571
                    if ( (LA9_1=='/') ) {
549
	public final void mRULE_ML_COMMENT() throws RecognitionException {
572
                        alt9=2;
550
		try {
573
                    }
551
			int _type = RULE_ML_COMMENT;
574
                    else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) {
552
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:399:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
575
                        alt9=1;
553
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:399:19: '/*' ( options {greedy=false; } : . )* '*/'
576
                    }
554
			{
555
				match("/*");
556
577
557
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:399:24: ( options {greedy=false; } : . )*
558
				loop9: do {
559
					int alt9 = 2;
560
					int LA9_0 = input.LA(1);
561
578
562
					if((LA9_0 == '*')) {
579
                }
563
						int LA9_1 = input.LA(2);
580
                else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) {
581
                    alt9=1;
582
                }
564
583
565
						if((LA9_1 == '/')) {
566
							alt9 = 2;
567
						} else if(((LA9_1 >= '\u0000' && LA9_1 <= '.') || (LA9_1 >= '0' && LA9_1 <= '\uFFFE'))) {
568
							alt9 = 1;
569
						}
570
584
585
                switch (alt9) {
586
            	case 1 :
587
            	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:341:52: .
588
            	    {
589
            	    matchAny(); 
571
590
572
					} else if(((LA9_0 >= '\u0000' && LA9_0 <= ')') || (LA9_0 >= '+' && LA9_0 <= '\uFFFE'))) {
591
            	    }
573
						alt9 = 1;
592
            	    break;
574
					}
575
593
594
            	default :
595
            	    break loop9;
596
                }
597
            } while (true);
576
598
577
					switch(alt9) {
599
            match("*/"); 
578
					case 1:
579
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:399:52: .
580
					{
581
						matchAny();
582
600
583
					}
584
						break;
585
601
586
					default:
602
            }
587
						break loop9;
588
					}
589
				} while(true);
590
603
591
				match("*/");
604
            state.type = _type;
605
            state.channel = _channel;
606
        }
607
        finally {
608
        }
609
    }
610
    // $ANTLR end "RULE_ML_COMMENT"
592
611
612
    // $ANTLR start "RULE_SL_COMMENT"
613
    public final void mRULE_SL_COMMENT() throws RecognitionException {
614
        try {
615
            int _type = RULE_SL_COMMENT;
616
            int _channel = DEFAULT_TOKEN_CHANNEL;
617
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:343:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
618
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:343:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
619
            {
620
            match("//"); 
593
621
594
			}
622
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:343:24: (~ ( ( '\\n' | '\\r' ) ) )*
623
            loop10:
624
            do {
625
                int alt10=2;
626
                int LA10_0 = input.LA(1);
595
627
596
			this.type = _type;
628
                if ( ((LA10_0>='\u0000' && LA10_0<='\t')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\uFFFF')) ) {
597
		} finally {
629
                    alt10=1;
598
		}
630
                }
599
	}
600
631
601
	// $ANTLR end RULE_ML_COMMENT
602
632
603
	// $ANTLR start RULE_SL_COMMENT
633
                switch (alt10) {
604
	public final void mRULE_SL_COMMENT() throws RecognitionException {
634
            	case 1 :
605
		try {
635
            	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:343:24: ~ ( ( '\\n' | '\\r' ) )
606
			int _type = RULE_SL_COMMENT;
636
            	    {
607
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:401:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
637
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
608
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:401:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
638
            	        input.consume();
609
			{
610
				match("//");
611
639
612
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:401:24: (~ ( ( '\\n' | '\\r' ) ) )*
640
            	    }
613
				loop10: do {
641
            	    else {
614
					int alt10 = 2;
642
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
615
					int LA10_0 = input.LA(1);
643
            	        recover(mse);
644
            	        throw mse;}
616
645
617
					if(((LA10_0 >= '\u0000' && LA10_0 <= '\t') || (LA10_0 >= '\u000B' && LA10_0 <= '\f') || (LA10_0 >= '\u000E' && LA10_0 <= '\uFFFE'))) {
618
						alt10 = 1;
619
					}
620
646
647
            	    }
648
            	    break;
621
649
622
					switch(alt10) {
650
            	default :
623
					case 1:
651
            	    break loop10;
624
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:401:24: ~ ( ( '\\n' | '\\r' ) )
652
                }
625
					{
653
            } while (true);
626
						if((input.LA(1) >= '\u0000' && input.LA(1) <= '\t') || (input.LA(1) >= '\u000B' && input.LA(1) <= '\f') || (input.LA(1) >= '\u000E' && input.LA(1) <= '\uFFFE')) {
627
							input.consume();
628
654
629
						} else {
655
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:343:40: ( ( '\\r' )? '\\n' )?
630
							MismatchedSetException mse = new MismatchedSetException(null, input);
656
            int alt12=2;
631
							recover(mse);
657
            int LA12_0 = input.LA(1);
632
							throw mse;
633
						}
634
658
659
            if ( (LA12_0=='\n'||LA12_0=='\r') ) {
660
                alt12=1;
661
            }
662
            switch (alt12) {
663
                case 1 :
664
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:343:41: ( '\\r' )? '\\n'
665
                    {
666
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:343:41: ( '\\r' )?
667
                    int alt11=2;
668
                    int LA11_0 = input.LA(1);
635
669
636
					}
670
                    if ( (LA11_0=='\r') ) {
637
						break;
671
                        alt11=1;
672
                    }
673
                    switch (alt11) {
674
                        case 1 :
675
                            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:343:41: '\\r'
676
                            {
677
                            match('\r'); 
638
678
639
					default:
679
                            }
640
						break loop10;
680
                            break;
641
					}
642
				} while(true);
643
681
644
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:401:40: ( ( '\\r' )? '\\n' )?
682
                    }
645
				int alt12 = 2;
646
				int LA12_0 = input.LA(1);
647
683
648
				if((LA12_0 == '\n' || LA12_0 == '\r')) {
684
                    match('\n'); 
649
					alt12 = 1;
650
				}
651
				switch(alt12) {
652
				case 1:
653
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:401:41: ( '\\r' )? '\\n'
654
				{
655
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:401:41: ( '\\r' )?
656
					int alt11 = 2;
657
					int LA11_0 = input.LA(1);
658
685
659
					if((LA11_0 == '\r')) {
686
                    }
660
						alt11 = 1;
687
                    break;
661
					}
662
					switch(alt11) {
663
					case 1:
664
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:401:41: '\\r'
665
					{
666
						match('\r');
667
688
668
					}
689
            }
669
						break;
670
690
671
					}
672
691
673
					match('\n');
692
            }
674
693
675
				}
694
            state.type = _type;
676
					break;
695
            state.channel = _channel;
696
        }
697
        finally {
698
        }
699
    }
700
    // $ANTLR end "RULE_SL_COMMENT"
677
701
678
				}
702
    // $ANTLR start "RULE_WS"
703
    public final void mRULE_WS() throws RecognitionException {
704
        try {
705
            int _type = RULE_WS;
706
            int _channel = DEFAULT_TOKEN_CHANNEL;
707
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:345:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
708
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:345:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
709
            {
710
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:345:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
711
            int cnt13=0;
712
            loop13:
713
            do {
714
                int alt13=2;
715
                int LA13_0 = input.LA(1);
679
716
717
                if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) {
718
                    alt13=1;
719
                }
680
720
681
			}
682
721
683
			this.type = _type;
722
                switch (alt13) {
684
		} finally {
723
            	case 1 :
685
		}
724
            	    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:
686
	}
725
            	    {
726
            	    if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
727
            	        input.consume();
687
728
688
	// $ANTLR end RULE_SL_COMMENT
729
            	    }
730
            	    else {
731
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
732
            	        recover(mse);
733
            	        throw mse;}
689
734
690
	// $ANTLR start RULE_WS
691
	public final void mRULE_WS() throws RecognitionException {
692
		try {
693
			int _type = RULE_WS;
694
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:403:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
695
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:403:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
696
			{
697
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:403:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
698
				int cnt13 = 0;
699
				loop13: do {
700
					int alt13 = 2;
701
					int LA13_0 = input.LA(1);
702
735
703
					if(((LA13_0 >= '\t' && LA13_0 <= '\n') || LA13_0 == '\r' || LA13_0 == ' ')) {
736
            	    }
704
						alt13 = 1;
737
            	    break;
705
					}
706
738
739
            	default :
740
            	    if ( cnt13 >= 1 ) break loop13;
741
                        EarlyExitException eee =
742
                            new EarlyExitException(13, input);
743
                        throw eee;
744
                }
745
                cnt13++;
746
            } while (true);
707
747
708
					switch(alt13) {
709
					case 1:
710
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:
711
					{
712
						if((input.LA(1) >= '\t' && input.LA(1) <= '\n') || input.LA(1) == '\r' || input.LA(1) == ' ') {
713
							input.consume();
714
748
715
						} else {
749
            }
716
							MismatchedSetException mse = new MismatchedSetException(null, input);
717
							recover(mse);
718
							throw mse;
719
						}
720
750
751
            state.type = _type;
752
            state.channel = _channel;
753
        }
754
        finally {
755
        }
756
    }
757
    // $ANTLR end "RULE_WS"
721
758
722
					}
759
    // $ANTLR start "RULE_ANY_OTHER"
723
						break;
760
    public final void mRULE_ANY_OTHER() throws RecognitionException {
761
        try {
762
            int _type = RULE_ANY_OTHER;
763
            int _channel = DEFAULT_TOKEN_CHANNEL;
764
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:347:16: ( . )
765
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:347:18: .
766
            {
767
            matchAny(); 
724
768
725
					default:
769
            }
726
						if(cnt13 >= 1)
727
							break loop13;
728
						EarlyExitException eee = new EarlyExitException(13, input);
729
						throw eee;
730
					}
731
					cnt13++;
732
				} while(true);
733
770
771
            state.type = _type;
772
            state.channel = _channel;
773
        }
774
        finally {
775
        }
776
    }
777
    // $ANTLR end "RULE_ANY_OTHER"
734
778
735
			}
779
    public void mTokens() throws RecognitionException {
780
        // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
781
        int alt14=15;
782
        alt14 = dfa14.predict(input);
783
        switch (alt14) {
784
            case 1 :
785
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:10: T__12
786
                {
787
                mT__12(); 
736
788
737
			this.type = _type;
789
                }
738
		} finally {
790
                break;
739
		}
791
            case 2 :
740
	}
792
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:16: T__13
793
                {
794
                mT__13(); 
741
795
742
	// $ANTLR end RULE_WS
796
                }
797
                break;
798
            case 3 :
799
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:22: T__14
800
                {
801
                mT__14(); 
743
802
744
	// $ANTLR start RULE_ANY_OTHER
803
                }
745
	public final void mRULE_ANY_OTHER() throws RecognitionException {
804
                break;
746
		try {
805
            case 4 :
747
			int _type = RULE_ANY_OTHER;
806
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:28: T__15
748
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:405:16: ( . )
807
                {
749
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:405:18: .
808
                mT__15(); 
750
			{
751
				matchAny();
752
809
753
			}
810
                }
811
                break;
812
            case 5 :
813
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:34: T__16
814
                {
815
                mT__16(); 
754
816
755
			this.type = _type;
817
                }
756
		} finally {
818
                break;
757
		}
819
            case 6 :
758
	}
820
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:40: T__17
821
                {
822
                mT__17(); 
759
823
760
	// $ANTLR end RULE_ANY_OTHER
824
                }
825
                break;
826
            case 7 :
827
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:46: T__18
828
                {
829
                mT__18(); 
761
830
762
	public void mTokens() throws RecognitionException {
831
                }
763
		// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:8: ( T12 | T13 | T14 | T15 | T16 | T17 | T18 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
832
                break;
764
		int alt14 = 15;
833
            case 8 :
765
		alt14 = dfa14.predict(input);
834
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:52: RULE_UNLIMITEDLITERAL
766
		switch(alt14) {
835
                {
767
		case 1:
836
                mRULE_UNLIMITEDLITERAL(); 
768
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:10: T12
769
		{
770
			mT12();
771
837
772
		}
838
                }
773
			break;
839
                break;
774
		case 2:
840
            case 9 :
775
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:14: T13
841
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:74: RULE_ID
776
		{
842
                {
777
			mT13();
843
                mRULE_ID(); 
778
844
779
		}
845
                }
780
			break;
846
                break;
781
		case 3:
847
            case 10 :
782
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:18: T14
848
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:82: RULE_INT
783
		{
849
                {
784
			mT14();
850
                mRULE_INT(); 
785
851
786
		}
852
                }
787
			break;
853
                break;
788
		case 4:
854
            case 11 :
789
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:22: T15
855
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:91: RULE_STRING
790
		{
856
                {
791
			mT15();
857
                mRULE_STRING(); 
792
858
793
		}
859
                }
794
			break;
860
                break;
795
		case 5:
861
            case 12 :
796
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:26: T16
862
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:103: RULE_ML_COMMENT
797
		{
863
                {
798
			mT16();
864
                mRULE_ML_COMMENT(); 
799
865
800
		}
866
                }
801
			break;
867
                break;
802
		case 6:
868
            case 13 :
803
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:30: T17
869
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:119: RULE_SL_COMMENT
804
		{
870
                {
805
			mT17();
871
                mRULE_SL_COMMENT(); 
806
872
807
		}
873
                }
808
			break;
874
                break;
809
		case 7:
875
            case 14 :
810
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:34: T18
876
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:135: RULE_WS
811
		{
877
                {
812
			mT18();
878
                mRULE_WS(); 
813
879
814
		}
880
                }
815
			break;
881
                break;
816
		case 8:
882
            case 15 :
817
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:38: RULE_UNLIMITEDLITERAL
883
                // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:143: RULE_ANY_OTHER
818
		{
884
                {
819
			mRULE_UNLIMITEDLITERAL();
885
                mRULE_ANY_OTHER(); 
820
886
821
		}
887
                }
822
			break;
888
                break;
823
		case 9:
824
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:60: RULE_ID
825
		{
826
			mRULE_ID();
827
889
828
		}
890
        }
829
			break;
830
		case 10:
831
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:68: RULE_INT
832
		{
833
			mRULE_INT();
834
891
835
		}
892
    }
836
			break;
837
		case 11:
838
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:77: RULE_STRING
839
		{
840
			mRULE_STRING();
841
893
842
		}
843
			break;
844
		case 12:
845
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:89: RULE_ML_COMMENT
846
		{
847
			mRULE_ML_COMMENT();
848
894
849
		}
895
    protected DFA14 dfa14 = new DFA14(this);
850
			break;
896
    static final String DFA14_eotS =
851
		case 13:
897
        "\1\uffff\1\21\1\17\4\uffff\1\30\1\uffff\1\17\1\uffff\3\17\11\uffff"+
852
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:105: RULE_SL_COMMENT
898
        "\1\30\6\uffff";
853
		{
899
    static final String DFA14_eofS =
854
			mRULE_SL_COMMENT();
900
        "\36\uffff";
901
    static final String DFA14_minS =
902
        "\1\0\1\72\1\125\4\uffff\1\60\1\uffff\1\101\1\uffff\2\0\1\52\11"+
903
        "\uffff\1\60\6\uffff";
904
    static final String DFA14_maxS =
905
        "\1\uffff\1\72\1\125\4\uffff\1\71\1\uffff\1\172\1\uffff\2\uffff"+
906
        "\1\57\11\uffff\1\71\6\uffff";
907
    static final String DFA14_acceptS =
908
        "\3\uffff\1\4\1\5\1\6\1\7\1\uffff\1\10\1\uffff\1\11\3\uffff\1\16"+
909
        "\1\17\1\3\1\1\1\2\1\4\1\5\1\6\1\7\1\uffff\1\10\1\11\1\13\1\14\1"+
910
        "\15\1\16";
911
    static final String DFA14_specialS =
912
        "\1\0\12\uffff\1\1\1\2\21\uffff}>";
913
    static final String[] DFA14_transitionS = {
914
            "\11\17\2\16\2\17\1\16\22\17\1\16\1\17\1\13\1\5\3\17\1\14\2"+
915
            "\17\1\10\1\3\1\17\1\4\1\17\1\15\12\7\1\1\1\17\1\2\4\17\32\12"+
916
            "\3\17\1\11\1\12\1\17\32\12\3\17\1\6\uff81\17",
917
            "\1\20",
918
            "\1\22",
919
            "",
920
            "",
921
            "",
922
            "",
923
            "\12\27",
924
            "",
925
            "\32\31\4\uffff\1\31\1\uffff\32\31",
926
            "",
927
            "\0\32",
928
            "\0\32",
929
            "\1\33\4\uffff\1\34",
930
            "",
931
            "",
932
            "",
933
            "",
934
            "",
935
            "",
936
            "",
937
            "",
938
            "",
939
            "\12\27",
940
            "",
941
            "",
942
            "",
943
            "",
944
            "",
945
            ""
946
    };
855
947
856
		}
948
    static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS);
857
			break;
949
    static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS);
858
		case 14:
950
    static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS);
859
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:121: RULE_WS
951
    static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS);
860
		{
952
    static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS);
861
			mRULE_WS();
953
    static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS);
954
    static final short[][] DFA14_transition;
862
955
863
		}
956
    static {
864
			break;
957
        int numStates = DFA14_transitionS.length;
865
		case 15:
958
        DFA14_transition = new short[numStates][];
866
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:1:129: RULE_ANY_OTHER
959
        for (int i=0; i<numStates; i++) {
867
		{
960
            DFA14_transition[i] = DFA.unpackEncodedString(DFA14_transitionS[i]);
868
			mRULE_ANY_OTHER();
961
        }
962
    }
869
963
870
		}
964
    class DFA14 extends DFA {
871
			break;
872
965
873
		}
966
        public DFA14(BaseRecognizer recognizer) {
967
            this.recognizer = recognizer;
968
            this.decisionNumber = 14;
969
            this.eot = DFA14_eot;
970
            this.eof = DFA14_eof;
971
            this.min = DFA14_min;
972
            this.max = DFA14_max;
973
            this.accept = DFA14_accept;
974
            this.special = DFA14_special;
975
            this.transition = DFA14_transition;
976
        }
977
        public String getDescription() {
978
            return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
979
        }
980
        public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
981
            IntStream input = _input;
982
        	int _s = s;
983
            switch ( s ) {
984
                    case 0 : 
985
                        int LA14_0 = input.LA(1);
874
986
875
	}
987
                        s = -1;
988
                        if ( (LA14_0==':') ) {s = 1;}
876
989
990
                        else if ( (LA14_0=='<') ) {s = 2;}
877
991
878
	protected DFA14 dfa14 = new DFA14(this);
992
                        else if ( (LA14_0=='+') ) {s = 3;}
879
993
880
	static final String DFA14_eotS = "\1\uffff\1\21\1\17\4\uffff\1\30\1\uffff\1\17\1\uffff\3\17\11\uffff" + "\1\30\6\uffff";
994
                        else if ( (LA14_0=='-') ) {s = 4;}
881
995
882
	static final String DFA14_eofS = "\36\uffff";
996
                        else if ( (LA14_0=='#') ) {s = 5;}
883
997
884
	static final String DFA14_minS = "\1\0\1\72\1\125\4\uffff\1\60\1\uffff\1\101\1\uffff\2\0\1\52\11\uffff" + "\1\60\6\uffff";
998
                        else if ( (LA14_0=='~') ) {s = 6;}
885
999
886
	static final String DFA14_maxS = "\1\ufffe\1\72\1\125\4\uffff\1\71\1\uffff\1\172\1\uffff\2\ufffe\1" + "\57\11\uffff\1\71\6\uffff";
1000
                        else if ( ((LA14_0>='0' && LA14_0<='9')) ) {s = 7;}
887
1001
888
	static final String DFA14_acceptS = "\3\uffff\1\4\1\5\1\6\1\7\1\uffff\1\10\1\uffff\1\11\3\uffff\1\16" + "\1\17\1\3\1\1\1\2\1\4\1\5\1\6\1\7\1\uffff\1\10\1\11\1\13\1\15\1" + "\14\1\16";
1002
                        else if ( (LA14_0=='*') ) {s = 8;}
889
1003
890
	static final String DFA14_specialS = "\36\uffff}>";
1004
                        else if ( (LA14_0=='^') ) {s = 9;}
891
1005
892
	static final String[] DFA14_transitionS = { "\11\17\2\16\2\17\1\16\22\17\1\16\1\17\1\13\1\5\3\17\1\14\2\17" + "\1\10\1\3\1\17\1\4\1\17\1\15\12\7\1\1\1\17\1\2\4\17\32\12\3" + "\17\1\11\1\12\1\17\32\12\3\17\1\6\uff80\17", "\1\20", "\1\22", "", "", "", "", "\12\27", "", "\32\31\4\uffff\1\31\1\uffff\32\31", "", "\uffff\32", "\uffff\32", "\1\34\4\uffff\1\33", "", "", "", "", "", "", "", "", "", "\12\27", "", "", "", "", "", "" };
1006
                        else if ( ((LA14_0>='A' && LA14_0<='Z')||LA14_0=='_'||(LA14_0>='a' && LA14_0<='z')) ) {s = 10;}
893
1007
894
	static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS);
1008
                        else if ( (LA14_0=='\"') ) {s = 11;}
895
1009
896
	static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS);
1010
                        else if ( (LA14_0=='\'') ) {s = 12;}
897
1011
898
	static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS);
1012
                        else if ( (LA14_0=='/') ) {s = 13;}
899
1013
900
	static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS);
1014
                        else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 14;}
901
1015
902
	static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS);
1016
                        else if ( ((LA14_0>='\u0000' && LA14_0<='\b')||(LA14_0>='\u000B' && LA14_0<='\f')||(LA14_0>='\u000E' && LA14_0<='\u001F')||LA14_0=='!'||(LA14_0>='$' && LA14_0<='&')||(LA14_0>='(' && LA14_0<=')')||LA14_0==','||LA14_0=='.'||LA14_0==';'||(LA14_0>='=' && LA14_0<='@')||(LA14_0>='[' && LA14_0<=']')||LA14_0=='`'||(LA14_0>='{' && LA14_0<='}')||(LA14_0>='\u007F' && LA14_0<='\uFFFF')) ) {s = 15;}
903
1017
904
	static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS);
1018
                        if ( s>=0 ) return s;
1019
                        break;
1020
                    case 1 : 
1021
                        int LA14_11 = input.LA(1);
905
1022
906
	static final short[][] DFA14_transition;
1023
                        s = -1;
1024
                        if ( ((LA14_11>='\u0000' && LA14_11<='\uFFFF')) ) {s = 26;}
907
1025
908
	static {
1026
                        else s = 15;
909
		int numStates = DFA14_transitionS.length;
910
		DFA14_transition = new short[numStates][];
911
		for(int i = 0; i < numStates; i++) {
912
			DFA14_transition[i] = DFA.unpackEncodedString(DFA14_transitionS[i]);
913
		}
914
	}
915
1027
916
	class DFA14 extends DFA {
1028
                        if ( s>=0 ) return s;
1029
                        break;
1030
                    case 2 : 
1031
                        int LA14_12 = input.LA(1);
917
1032
918
		public DFA14(BaseRecognizer recognizer) {
1033
                        s = -1;
919
			this.recognizer = recognizer;
1034
                        if ( ((LA14_12>='\u0000' && LA14_12<='\uFFFF')) ) {s = 26;}
920
			this.decisionNumber = 14;
921
			this.eot = DFA14_eot;
922
			this.eof = DFA14_eof;
923
			this.min = DFA14_min;
924
			this.max = DFA14_max;
925
			this.accept = DFA14_accept;
926
			this.special = DFA14_special;
927
			this.transition = DFA14_transition;
928
		}
929
1035
930
		public String getDescription() {
1036
                        else s = 15;
931
			return "1:1: Tokens : ( T12 | T13 | T14 | T15 | T16 | T17 | T18 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
932
		}
933
	}
934
1037
1038
                        if ( s>=0 ) return s;
1039
                        break;
1040
            }
1041
            NoViableAltException nvae =
1042
                new NoViableAltException(getDescription(), 14, _s, input);
1043
            error(nvae);
1044
            throw nvae;
1045
        }
1046
    }
1047
 
935
1048
936
}
1049
}
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.tokens (+7 lines)
Lines 1-6 Link Here
1
RULE_ID=4
1
RULE_ID=4
2
RULE_STRING=7
2
RULE_STRING=7
3
RULE_UNLIMITEDLITERAL=5
3
RULE_UNLIMITEDLITERAL=5
4
T__16=16
5
T__15=15
6
T__18=18
7
T__17=17
8
T__12=12
9
T__14=14
10
T__13=13
4
RULE_ANY_OTHER=11
11
RULE_ANY_OTHER=11
5
RULE_INT=6
12
RULE_INT=6
6
RULE_WS=10
13
RULE_WS=10
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUseParser.java (-686 / +646 lines)
Lines 1-869 Link Here
1
/*****************************************************************************
1
package org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr.internal; 
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr.internal;
15
16
import java.io.InputStream;
17
2
18
import org.antlr.runtime.BitSet;
3
import org.eclipse.xtext.*;
19
import org.antlr.runtime.NoViableAltException;
4
import org.eclipse.xtext.parser.*;
20
import org.antlr.runtime.RecognitionException;
5
import org.eclipse.xtext.parser.impl.*;
21
import org.antlr.runtime.Token;
6
import org.eclipse.emf.ecore.util.EcoreUtil;
22
import org.antlr.runtime.TokenStream;
23
import org.eclipse.emf.common.util.Enumerator;
24
import org.eclipse.emf.ecore.EObject;
7
import org.eclipse.emf.ecore.EObject;
25
import org.eclipse.papyrus.collaborationuse.editor.xtext.services.UmlCollaborationUseGrammarAccess;
8
import org.eclipse.emf.common.util.Enumerator;
26
import org.eclipse.xtext.conversion.ValueConverterException;
27
import org.eclipse.xtext.parser.IAstFactory;
28
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
9
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
29
10
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
30
@SuppressWarnings("all")
11
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
31
public class InternalUmlCollaborationUseParser extends AbstractInternalAntlrParser {
12
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
32
13
import org.eclipse.papyrus.collaborationuse.editor.xtext.services.UmlCollaborationUseGrammarAccess;
33
	public static final String[] tokenNames = new String[]{ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_UNLIMITEDLITERAL", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "':'", "'<Undefined>'", "'::'", "'+'", "'-'", "'#'", "'~'" };
34
35
	public static final int RULE_ID = 4;
36
37
	public static final int RULE_STRING = 7;
38
39
	public static final int RULE_UNLIMITEDLITERAL = 5;
40
41
	public static final int RULE_ANY_OTHER = 11;
42
43
	public static final int RULE_INT = 6;
44
45
	public static final int RULE_WS = 10;
46
47
	public static final int RULE_SL_COMMENT = 9;
48
49
	public static final int EOF = -1;
50
51
	public static final int RULE_ML_COMMENT = 8;
52
53
	public InternalUmlCollaborationUseParser(TokenStream input) {
54
		super(input);
55
	}
56
57
58
	public String[] getTokenNames() {
59
		return tokenNames;
60
	}
61
62
	public String getGrammarFileName() {
63
		return "../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g";
64
	}
65
66
67
68
	private UmlCollaborationUseGrammarAccess grammarAccess;
69
70
	public InternalUmlCollaborationUseParser(TokenStream input, IAstFactory factory, UmlCollaborationUseGrammarAccess grammarAccess) {
71
		this(input);
72
		this.factory = factory;
73
		registerRules(grammarAccess.getGrammar());
74
		this.grammarAccess = grammarAccess;
75
	}
76
77
	@Override
78
	protected InputStream getTokenFile() {
79
		ClassLoader classLoader = getClass().getClassLoader();
80
		return classLoader.getResourceAsStream("org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.tokens");
81
	}
82
83
	@Override
84
	protected String getFirstRuleName() {
85
		return "CollaborationUseRule";
86
	}
87
88
	@Override
89
	protected UmlCollaborationUseGrammarAccess getGrammarAccess() {
90
		return grammarAccess;
91
	}
92
93
94
95
	// $ANTLR start entryRuleCollaborationUseRule
96
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:78:1: entryRuleCollaborationUseRule returns [EObject current=null] : iv_ruleCollaborationUseRule= ruleCollaborationUseRule EOF ;
97
	public final EObject entryRuleCollaborationUseRule() throws RecognitionException {
98
		EObject current = null;
99
100
		EObject iv_ruleCollaborationUseRule = null;
101
102
103
		try {
104
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:79:2: (iv_ruleCollaborationUseRule= ruleCollaborationUseRule EOF )
105
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:80:2: iv_ruleCollaborationUseRule= ruleCollaborationUseRule EOF
106
			{
107
				currentNode = createCompositeNode(grammarAccess.getCollaborationUseRuleRule(), currentNode);
108
				pushFollow(FOLLOW_ruleCollaborationUseRule_in_entryRuleCollaborationUseRule75);
109
				iv_ruleCollaborationUseRule = ruleCollaborationUseRule();
110
				_fsp--;
111
112
				current = iv_ruleCollaborationUseRule;
113
				match(input, EOF, FOLLOW_EOF_in_entryRuleCollaborationUseRule85);
114
115
			}
116
117
		}
118
119
		catch (RecognitionException re) {
120
			recover(input, re);
121
			appendSkippedTokens();
122
		} finally {
123
		}
124
		return current;
125
	}
126
127
	// $ANTLR end entryRuleCollaborationUseRule
128
129
130
	// $ANTLR start ruleCollaborationUseRule
131
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:87:1: ruleCollaborationUseRule returns [EObject current=null] : ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_name_1_0= RULE_ID ) ) ':' ( ( (lv_type_3_0= ruleTypeRule ) ) | '<Undefined>' ) ) ;
132
	public final EObject ruleCollaborationUseRule() throws RecognitionException {
133
		EObject current = null;
134
135
		Token lv_name_1_0 = null;
136
		Enumerator lv_visibility_0_0 = null;
137
138
		EObject lv_type_3_0 = null;
139
140
141
		EObject temp = null;
142
		setCurrentLookahead();
143
		resetLookahead();
144
145
		try {
146
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:92:6: ( ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_name_1_0= RULE_ID ) ) ':' ( ( (lv_type_3_0= ruleTypeRule ) ) | '<Undefined>' ) ) )
147
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:93:1: ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_name_1_0= RULE_ID ) ) ':' ( ( (lv_type_3_0= ruleTypeRule ) ) | '<Undefined>' ) )
148
			{
149
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:93:1: ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_name_1_0= RULE_ID ) ) ':' ( ( (lv_type_3_0= ruleTypeRule ) ) | '<Undefined>' ) )
150
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:93:2: ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_name_1_0= RULE_ID ) ) ':' ( ( (lv_type_3_0= ruleTypeRule ) ) | '<Undefined>' )
151
				{
152
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:93:2: ( (lv_visibility_0_0= ruleVisibilityKind ) )
153
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:94:1: (lv_visibility_0_0= ruleVisibilityKind )
154
					{
155
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:94:1: (lv_visibility_0_0= ruleVisibilityKind )
156
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:95:3: lv_visibility_0_0= ruleVisibilityKind
157
						{
158
159
							currentNode = createCompositeNode(grammarAccess.getCollaborationUseRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0(), currentNode);
160
161
							pushFollow(FOLLOW_ruleVisibilityKind_in_ruleCollaborationUseRule131);
162
							lv_visibility_0_0 = ruleVisibilityKind();
163
							_fsp--;
164
165
166
							if(current == null) {
167
								current = factory.create(grammarAccess.getCollaborationUseRuleRule().getType().getClassifier());
168
								associateNodeWithAstElement(currentNode.getParent(), current);
169
							}
170
							try {
171
								set(current, "visibility", lv_visibility_0_0, "VisibilityKind", currentNode);
172
							} catch (ValueConverterException vce) {
173
								handleValueConverterException(vce);
174
							}
175
							currentNode = currentNode.getParent();
176
177
178
						}
179
180
181
					}
182
183
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:117:2: ( (lv_name_1_0= RULE_ID ) )
184
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:118:1: (lv_name_1_0= RULE_ID )
185
					{
186
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:118:1: (lv_name_1_0= RULE_ID )
187
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:119:3: lv_name_1_0= RULE_ID
188
						{
189
							lv_name_1_0 = (Token)input.LT(1);
190
							match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleCollaborationUseRule148);
191
192
							createLeafNode(grammarAccess.getCollaborationUseRuleAccess().getNameIDTerminalRuleCall_1_0(), "name");
193
194
195
							if(current == null) {
196
								current = factory.create(grammarAccess.getCollaborationUseRuleRule().getType().getClassifier());
197
								associateNodeWithAstElement(currentNode, current);
198
							}
199
							try {
200
								set(current, "name", lv_name_1_0, "ID", lastConsumedNode);
201
							} catch (ValueConverterException vce) {
202
								handleValueConverterException(vce);
203
							}
204
205
206
						}
207
208
209
					}
210
211
					match(input, 12, FOLLOW_12_in_ruleCollaborationUseRule163);
212
213
					createLeafNode(grammarAccess.getCollaborationUseRuleAccess().getColonKeyword_2(), null);
214
215
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:145:1: ( ( (lv_type_3_0= ruleTypeRule ) ) | '<Undefined>' )
216
					int alt1 = 2;
217
					int LA1_0 = input.LA(1);
218
219
					if((LA1_0 == RULE_ID)) {
220
						alt1 = 1;
221
					} else if((LA1_0 == 13)) {
222
						alt1 = 2;
223
					} else {
224
						NoViableAltException nvae = new NoViableAltException("145:1: ( ( (lv_type_3_0= ruleTypeRule ) ) | '<Undefined>' )", 1, 0, input);
225
226
						throw nvae;
227
					}
228
					switch(alt1) {
229
					case 1:
230
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:145:2: ( (lv_type_3_0= ruleTypeRule ) )
231
					{
232
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:145:2: ( (lv_type_3_0= ruleTypeRule ) )
233
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:146:1: (lv_type_3_0= ruleTypeRule )
234
						{
235
							// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:146:1: (lv_type_3_0= ruleTypeRule )
236
							// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:147:3: lv_type_3_0= ruleTypeRule
237
							{
238
239
								currentNode = createCompositeNode(grammarAccess.getCollaborationUseRuleAccess().getTypeTypeRuleParserRuleCall_3_0_0(), currentNode);
240
241
								pushFollow(FOLLOW_ruleTypeRule_in_ruleCollaborationUseRule185);
242
								lv_type_3_0 = ruleTypeRule();
243
								_fsp--;
244
245
246
								if(current == null) {
247
									current = factory.create(grammarAccess.getCollaborationUseRuleRule().getType().getClassifier());
248
									associateNodeWithAstElement(currentNode.getParent(), current);
249
								}
250
								try {
251
									set(current, "type", lv_type_3_0, "TypeRule", currentNode);
252
								} catch (ValueConverterException vce) {
253
									handleValueConverterException(vce);
254
								}
255
								currentNode = currentNode.getParent();
256
257
258
							}
259
260
261
						}
262
263
264
					}
265
						break;
266
					case 2:
267
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:170:7: '<Undefined>'
268
					{
269
						match(input, 13, FOLLOW_13_in_ruleCollaborationUseRule201);
270
271
						createLeafNode(grammarAccess.getCollaborationUseRuleAccess().getUndefinedKeyword_3_1(), null);
272
273
274
					}
275
						break;
276
277
					}
278
279
280
				}
281
282
14
283
			}
284
15
285
			resetLookahead();
286
			lastConsumedNode = currentNode;
287
16
288
		}
17
import org.antlr.runtime.*;
18
import java.util.Stack;
19
import java.util.List;
20
import java.util.ArrayList;
289
21
290
		catch (RecognitionException re) {
22
@SuppressWarnings("all")
291
			recover(input, re);
23
public class InternalUmlCollaborationUseParser extends AbstractInternalAntlrParser {
292
			appendSkippedTokens();
24
    public static final String[] tokenNames = new String[] {
293
		} finally {
25
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_UNLIMITEDLITERAL", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "':'", "'<Undefined>'", "'::'", "'+'", "'-'", "'#'", "'~'"
294
		}
26
    };
295
		return current;
27
    public static final int RULE_ID=4;
296
	}
28
    public static final int RULE_STRING=7;
29
    public static final int RULE_UNLIMITEDLITERAL=5;
30
    public static final int T__16=16;
31
    public static final int T__15=15;
32
    public static final int T__18=18;
33
    public static final int T__17=17;
34
    public static final int T__12=12;
35
    public static final int T__14=14;
36
    public static final int T__13=13;
37
    public static final int RULE_ANY_OTHER=11;
38
    public static final int RULE_INT=6;
39
    public static final int RULE_WS=10;
40
    public static final int RULE_SL_COMMENT=9;
41
    public static final int EOF=-1;
42
    public static final int RULE_ML_COMMENT=8;
297
43
298
	// $ANTLR end ruleCollaborationUseRule
44
    // delegates
45
    // delegators
299
46
300
47
301
	// $ANTLR start entryRuleTypeRule
48
        public InternalUmlCollaborationUseParser(TokenStream input) {
302
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:182:1: entryRuleTypeRule returns [EObject current=null] : iv_ruleTypeRule= ruleTypeRule EOF ;
49
            this(input, new RecognizerSharedState());
303
	public final EObject entryRuleTypeRule() throws RecognitionException {
50
        }
304
		EObject current = null;
51
        public InternalUmlCollaborationUseParser(TokenStream input, RecognizerSharedState state) {
52
            super(input, state);
53
             
54
        }
55
        
305
56
306
		EObject iv_ruleTypeRule = null;
57
    public String[] getTokenNames() { return InternalUmlCollaborationUseParser.tokenNames; }
58
    public String getGrammarFileName() { return "../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g"; }
307
59
308
60
309
		try {
310
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:183:2: (iv_ruleTypeRule= ruleTypeRule EOF )
311
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:184:2: iv_ruleTypeRule= ruleTypeRule EOF
312
			{
313
				currentNode = createCompositeNode(grammarAccess.getTypeRuleRule(), currentNode);
314
				pushFollow(FOLLOW_ruleTypeRule_in_entryRuleTypeRule238);
315
				iv_ruleTypeRule = ruleTypeRule();
316
				_fsp--;
317
61
318
				current = iv_ruleTypeRule;
62
     	private UmlCollaborationUseGrammarAccess grammarAccess;
319
				match(input, EOF, FOLLOW_EOF_in_entryRuleTypeRule248);
63
     	
64
        public InternalUmlCollaborationUseParser(TokenStream input, UmlCollaborationUseGrammarAccess grammarAccess) {
65
            this(input);
66
            this.grammarAccess = grammarAccess;
67
            registerRules(grammarAccess.getGrammar());
68
        }
69
        
70
        @Override
71
        protected String getFirstRuleName() {
72
        	return "CollaborationUseRule";	
73
       	}
74
       	
75
       	@Override
76
       	protected UmlCollaborationUseGrammarAccess getGrammarAccess() {
77
       		return grammarAccess;
78
       	}
320
79
321
			}
322
80
323
		}
324
81
325
		catch (RecognitionException re) {
82
    // $ANTLR start "entryRuleCollaborationUseRule"
326
			recover(input, re);
83
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:68:1: entryRuleCollaborationUseRule returns [EObject current=null] : iv_ruleCollaborationUseRule= ruleCollaborationUseRule EOF ;
327
			appendSkippedTokens();
84
    public final EObject entryRuleCollaborationUseRule() throws RecognitionException {
328
		} finally {
85
        EObject current = null;
329
		}
330
		return current;
331
	}
332
86
333
	// $ANTLR end entryRuleTypeRule
87
        EObject iv_ruleCollaborationUseRule = null;
334
88
335
89
336
	// $ANTLR start ruleTypeRule
90
        try {
337
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:191:1: ruleTypeRule returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) ;
91
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:69:2: (iv_ruleCollaborationUseRule= ruleCollaborationUseRule EOF )
338
	public final EObject ruleTypeRule() throws RecognitionException {
92
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:70:2: iv_ruleCollaborationUseRule= ruleCollaborationUseRule EOF
339
		EObject current = null;
93
            {
94
             newCompositeNode(grammarAccess.getCollaborationUseRuleRule()); 
95
            pushFollow(FOLLOW_ruleCollaborationUseRule_in_entryRuleCollaborationUseRule75);
96
            iv_ruleCollaborationUseRule=ruleCollaborationUseRule();
340
97
341
		EObject lv_path_0_0 = null;
98
            state._fsp--;
342
99
100
             current =iv_ruleCollaborationUseRule; 
101
            match(input,EOF,FOLLOW_EOF_in_entryRuleCollaborationUseRule85); 
343
102
344
		EObject temp = null;
103
            }
345
		setCurrentLookahead();
346
		resetLookahead();
347
104
348
		try {
105
        }
349
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:196:6: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) )
106
         
350
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:197:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) )
107
            catch (RecognitionException re) { 
351
			{
108
                recover(input,re); 
352
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:197:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) )
109
                appendSkippedTokens();
353
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:197:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) )
110
            } 
354
				{
111
        finally {
355
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:197:2: ( (lv_path_0_0= ruleQualifiedName ) )?
112
        }
356
					int alt2 = 2;
113
        return current;
357
					int LA2_0 = input.LA(1);
114
    }
115
    // $ANTLR end "entryRuleCollaborationUseRule"
358
116
359
					if((LA2_0 == RULE_ID)) {
360
						int LA2_1 = input.LA(2);
361
117
362
						if((LA2_1 == 14)) {
118
    // $ANTLR start "ruleCollaborationUseRule"
363
							alt2 = 1;
119
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:77:1: ruleCollaborationUseRule returns [EObject current=null] : ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( (lv_type_3_0= ruleTypeRule ) ) | otherlv_4= '<Undefined>' ) ) ;
364
						}
120
    public final EObject ruleCollaborationUseRule() throws RecognitionException {
365
					}
121
        EObject current = null;
366
					switch(alt2) {
367
					case 1:
368
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:198:1: (lv_path_0_0= ruleQualifiedName )
369
					{
370
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:198:1: (lv_path_0_0= ruleQualifiedName )
371
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:199:3: lv_path_0_0= ruleQualifiedName
372
						{
373
122
374
							currentNode = createCompositeNode(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode);
123
        Token lv_name_1_0=null;
124
        Token otherlv_2=null;
125
        Token otherlv_4=null;
126
        Enumerator lv_visibility_0_0 = null;
375
127
376
							pushFollow(FOLLOW_ruleQualifiedName_in_ruleTypeRule294);
128
        EObject lv_type_3_0 = null;
377
							lv_path_0_0 = ruleQualifiedName();
378
							_fsp--;
379
129
380
130
381
							if(current == null) {
131
         enterRule(); 
382
								current = factory.create(grammarAccess.getTypeRuleRule().getType().getClassifier());
132
            
383
								associateNodeWithAstElement(currentNode.getParent(), current);
133
        try {
384
							}
134
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:80:28: ( ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( (lv_type_3_0= ruleTypeRule ) ) | otherlv_4= '<Undefined>' ) ) )
385
							try {
135
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:81:1: ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( (lv_type_3_0= ruleTypeRule ) ) | otherlv_4= '<Undefined>' ) )
386
								set(current, "path", lv_path_0_0, "QualifiedName", currentNode);
136
            {
387
							} catch (ValueConverterException vce) {
137
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:81:1: ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( (lv_type_3_0= ruleTypeRule ) ) | otherlv_4= '<Undefined>' ) )
388
								handleValueConverterException(vce);
138
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:81:2: ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( (lv_type_3_0= ruleTypeRule ) ) | otherlv_4= '<Undefined>' )
389
							}
139
            {
390
							currentNode = currentNode.getParent();
140
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:81:2: ( (lv_visibility_0_0= ruleVisibilityKind ) )
141
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:82:1: (lv_visibility_0_0= ruleVisibilityKind )
142
            {
143
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:82:1: (lv_visibility_0_0= ruleVisibilityKind )
144
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:83:3: lv_visibility_0_0= ruleVisibilityKind
145
            {
146
             
147
            	        newCompositeNode(grammarAccess.getCollaborationUseRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); 
148
            	    
149
            pushFollow(FOLLOW_ruleVisibilityKind_in_ruleCollaborationUseRule131);
150
            lv_visibility_0_0=ruleVisibilityKind();
391
151
152
            state._fsp--;
392
153
393
						}
394
154
155
            	        if (current==null) {
156
            	            current = createModelElementForParent(grammarAccess.getCollaborationUseRuleRule());
157
            	        }
158
                   		set(
159
                   			current, 
160
                   			"visibility",
161
                    		lv_visibility_0_0, 
162
                    		"VisibilityKind");
163
            	        afterParserOrEnumRuleCall();
164
            	    
395
165
396
					}
166
            }
397
						break;
398
167
399
					}
400
168
401
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:221:3: ( ( RULE_ID ) )
169
            }
402
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:222:1: ( RULE_ID )
403
					{
404
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:222:1: ( RULE_ID )
405
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:223:3: RULE_ID
406
						{
407
170
408
							if(current == null) {
171
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:99:2: ( (lv_name_1_0= RULE_ID ) )
409
								current = factory.create(grammarAccess.getTypeRuleRule().getType().getClassifier());
172
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:100:1: (lv_name_1_0= RULE_ID )
410
								associateNodeWithAstElement(currentNode, current);
173
            {
411
							}
174
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:100:1: (lv_name_1_0= RULE_ID )
175
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:101:3: lv_name_1_0= RULE_ID
176
            {
177
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleCollaborationUseRule148); 
412
178
413
							match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleTypeRule313);
179
            			newLeafNode(lv_name_1_0, grammarAccess.getCollaborationUseRuleAccess().getNameIDTerminalRuleCall_1_0()); 
180
            		
414
181
415
							createLeafNode(grammarAccess.getTypeRuleAccess().getTypeCollaborationCrossReference_1_0(), "type");
182
            	        if (current==null) {
183
            	            current = createModelElement(grammarAccess.getCollaborationUseRuleRule());
184
            	        }
185
                   		setWithLastConsumed(
186
                   			current, 
187
                   			"name",
188
                    		lv_name_1_0, 
189
                    		"ID");
190
            	    
416
191
192
            }
417
193
418
						}
419
194
195
            }
420
196
421
					}
197
            otherlv_2=(Token)match(input,12,FOLLOW_12_in_ruleCollaborationUseRule165); 
422
198
199
                	newLeafNode(otherlv_2, grammarAccess.getCollaborationUseRuleAccess().getColonKeyword_2());
200
                
201
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:121:1: ( ( (lv_type_3_0= ruleTypeRule ) ) | otherlv_4= '<Undefined>' )
202
            int alt1=2;
203
            int LA1_0 = input.LA(1);
423
204
424
				}
205
            if ( (LA1_0==RULE_ID) ) {
206
                alt1=1;
207
            }
208
            else if ( (LA1_0==13) ) {
209
                alt1=2;
210
            }
211
            else {
212
                NoViableAltException nvae =
213
                    new NoViableAltException("", 1, 0, input);
425
214
215
                throw nvae;
216
            }
217
            switch (alt1) {
218
                case 1 :
219
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:121:2: ( (lv_type_3_0= ruleTypeRule ) )
220
                    {
221
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:121:2: ( (lv_type_3_0= ruleTypeRule ) )
222
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:122:1: (lv_type_3_0= ruleTypeRule )
223
                    {
224
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:122:1: (lv_type_3_0= ruleTypeRule )
225
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:123:3: lv_type_3_0= ruleTypeRule
226
                    {
227
                     
228
                    	        newCompositeNode(grammarAccess.getCollaborationUseRuleAccess().getTypeTypeRuleParserRuleCall_3_0_0()); 
229
                    	    
230
                    pushFollow(FOLLOW_ruleTypeRule_in_ruleCollaborationUseRule187);
231
                    lv_type_3_0=ruleTypeRule();
426
232
427
			}
233
                    state._fsp--;
428
234
429
			resetLookahead();
430
			lastConsumedNode = currentNode;
431
235
432
		}
236
                    	        if (current==null) {
237
                    	            current = createModelElementForParent(grammarAccess.getCollaborationUseRuleRule());
238
                    	        }
239
                           		set(
240
                           			current, 
241
                           			"type",
242
                            		lv_type_3_0, 
243
                            		"TypeRule");
244
                    	        afterParserOrEnumRuleCall();
245
                    	    
433
246
434
		catch (RecognitionException re) {
247
                    }
435
			recover(input, re);
436
			appendSkippedTokens();
437
		} finally {
438
		}
439
		return current;
440
	}
441
248
442
	// $ANTLR end ruleTypeRule
443
249
250
                    }
444
251
445
	// $ANTLR start entryRuleQualifiedName
446
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:243:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
447
	public final EObject entryRuleQualifiedName() throws RecognitionException {
448
		EObject current = null;
449
252
450
		EObject iv_ruleQualifiedName = null;
253
                    }
254
                    break;
255
                case 2 :
256
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:140:7: otherlv_4= '<Undefined>'
257
                    {
258
                    otherlv_4=(Token)match(input,13,FOLLOW_13_in_ruleCollaborationUseRule205); 
451
259
260
                        	newLeafNode(otherlv_4, grammarAccess.getCollaborationUseRuleAccess().getUndefinedKeyword_3_1());
261
                        
452
262
453
		try {
263
                    }
454
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:244:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
264
                    break;
455
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:245:2: iv_ruleQualifiedName= ruleQualifiedName EOF
456
			{
457
				currentNode = createCompositeNode(grammarAccess.getQualifiedNameRule(), currentNode);
458
				pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName349);
459
				iv_ruleQualifiedName = ruleQualifiedName();
460
				_fsp--;
461
265
462
				current = iv_ruleQualifiedName;
266
            }
463
				match(input, EOF, FOLLOW_EOF_in_entryRuleQualifiedName359);
464
267
465
			}
466
268
467
		}
269
            }
468
270
469
		catch (RecognitionException re) {
470
			recover(input, re);
471
			appendSkippedTokens();
472
		} finally {
473
		}
474
		return current;
475
	}
476
271
477
	// $ANTLR end entryRuleQualifiedName
272
            }
478
273
274
             leaveRule(); 
275
        }
276
         
277
            catch (RecognitionException re) { 
278
                recover(input,re); 
279
                appendSkippedTokens();
280
            } 
281
        finally {
282
        }
283
        return current;
284
    }
285
    // $ANTLR end "ruleCollaborationUseRule"
479
286
480
	// $ANTLR start ruleQualifiedName
481
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:252:1: ruleQualifiedName returns [EObject current=null] : ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) ;
482
	public final EObject ruleQualifiedName() throws RecognitionException {
483
		EObject current = null;
484
287
485
		EObject lv_remaining_2_0 = null;
288
    // $ANTLR start "entryRuleTypeRule"
289
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:152:1: entryRuleTypeRule returns [EObject current=null] : iv_ruleTypeRule= ruleTypeRule EOF ;
290
    public final EObject entryRuleTypeRule() throws RecognitionException {
291
        EObject current = null;
486
292
293
        EObject iv_ruleTypeRule = null;
487
294
488
		EObject temp = null;
489
		setCurrentLookahead();
490
		resetLookahead();
491
295
492
		try {
296
        try {
493
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:257:6: ( ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) )
297
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:153:2: (iv_ruleTypeRule= ruleTypeRule EOF )
494
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:258:1: ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
298
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:154:2: iv_ruleTypeRule= ruleTypeRule EOF
495
			{
299
            {
496
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:258:1: ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
300
             newCompositeNode(grammarAccess.getTypeRuleRule()); 
497
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:258:2: ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )?
301
            pushFollow(FOLLOW_ruleTypeRule_in_entryRuleTypeRule242);
498
				{
302
            iv_ruleTypeRule=ruleTypeRule();
499
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:258:2: ( ( RULE_ID ) )
500
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:259:1: ( RULE_ID )
501
					{
502
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:259:1: ( RULE_ID )
503
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:260:3: RULE_ID
504
						{
505
303
506
							if(current == null) {
304
            state._fsp--;
507
								current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
508
								associateNodeWithAstElement(currentNode, current);
509
							}
510
305
511
							match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleQualifiedName402);
306
             current =iv_ruleTypeRule; 
307
            match(input,EOF,FOLLOW_EOF_in_entryRuleTypeRule252); 
512
308
513
							createLeafNode(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(), "path");
309
            }
514
310
311
        }
312
         
313
            catch (RecognitionException re) { 
314
                recover(input,re); 
315
                appendSkippedTokens();
316
            } 
317
        finally {
318
        }
319
        return current;
320
    }
321
    // $ANTLR end "entryRuleTypeRule"
515
322
516
						}
517
323
324
    // $ANTLR start "ruleTypeRule"
325
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:161:1: ruleTypeRule returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) ) ;
326
    public final EObject ruleTypeRule() throws RecognitionException {
327
        EObject current = null;
518
328
519
					}
329
        Token otherlv_1=null;
330
        EObject lv_path_0_0 = null;
520
331
521
					match(input, 14, FOLLOW_14_in_ruleQualifiedName412);
522
332
523
					createLeafNode(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1(), null);
333
         enterRule(); 
334
            
335
        try {
336
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:164:28: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) ) )
337
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:165:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) )
338
            {
339
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:165:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) )
340
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:165:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) )
341
            {
342
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:165:2: ( (lv_path_0_0= ruleQualifiedName ) )?
343
            int alt2=2;
344
            int LA2_0 = input.LA(1);
524
345
525
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:276:1: ( (lv_remaining_2_0= ruleQualifiedName ) )?
346
            if ( (LA2_0==RULE_ID) ) {
526
					int alt3 = 2;
347
                int LA2_1 = input.LA(2);
527
					int LA3_0 = input.LA(1);
528
348
529
					if((LA3_0 == RULE_ID)) {
349
                if ( (LA2_1==14) ) {
530
						int LA3_1 = input.LA(2);
350
                    alt2=1;
351
                }
352
            }
353
            switch (alt2) {
354
                case 1 :
355
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:166:1: (lv_path_0_0= ruleQualifiedName )
356
                    {
357
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:166:1: (lv_path_0_0= ruleQualifiedName )
358
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:167:3: lv_path_0_0= ruleQualifiedName
359
                    {
360
                     
361
                    	        newCompositeNode(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
362
                    	    
363
                    pushFollow(FOLLOW_ruleQualifiedName_in_ruleTypeRule298);
364
                    lv_path_0_0=ruleQualifiedName();
531
365
532
						if((LA3_1 == 14)) {
366
                    state._fsp--;
533
							alt3 = 1;
534
						}
535
					}
536
					switch(alt3) {
537
					case 1:
538
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:277:1: (lv_remaining_2_0= ruleQualifiedName )
539
					{
540
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:277:1: (lv_remaining_2_0= ruleQualifiedName )
541
						// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:278:3: lv_remaining_2_0= ruleQualifiedName
542
						{
543
367
544
							currentNode = createCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(), currentNode);
545
368
546
							pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedName433);
369
                    	        if (current==null) {
547
							lv_remaining_2_0 = ruleQualifiedName();
370
                    	            current = createModelElementForParent(grammarAccess.getTypeRuleRule());
548
							_fsp--;
371
                    	        }
372
                           		set(
373
                           			current, 
374
                           			"path",
375
                            		lv_path_0_0, 
376
                            		"QualifiedName");
377
                    	        afterParserOrEnumRuleCall();
378
                    	    
549
379
380
                    }
550
381
551
							if(current == null) {
552
								current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
553
								associateNodeWithAstElement(currentNode.getParent(), current);
554
							}
555
							try {
556
								set(current, "remaining", lv_remaining_2_0, "QualifiedName", currentNode);
557
							} catch (ValueConverterException vce) {
558
								handleValueConverterException(vce);
559
							}
560
							currentNode = currentNode.getParent();
561
382
383
                    }
384
                    break;
562
385
563
						}
386
            }
564
387
388
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:183:3: ( (otherlv_1= RULE_ID ) )
389
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:184:1: (otherlv_1= RULE_ID )
390
            {
391
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:184:1: (otherlv_1= RULE_ID )
392
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:185:3: otherlv_1= RULE_ID
393
            {
565
394
566
					}
395
            			if (current==null) {
567
						break;
396
            	            current = createModelElement(grammarAccess.getTypeRuleRule());
397
            	        }
398
                    
399
            otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTypeRule319); 
568
400
569
					}
401
            		newLeafNode(otherlv_1, grammarAccess.getTypeRuleAccess().getTypeCollaborationCrossReference_1_0()); 
402
            	
570
403
404
            }
571
405
572
				}
573
406
407
            }
574
408
575
			}
576
409
577
			resetLookahead();
410
            }
578
			lastConsumedNode = currentNode;
579
411
580
		}
581
412
582
		catch (RecognitionException re) {
413
            }
583
			recover(input, re);
584
			appendSkippedTokens();
585
		} finally {
586
		}
587
		return current;
588
	}
589
414
590
	// $ANTLR end ruleQualifiedName
415
             leaveRule(); 
416
        }
417
         
418
            catch (RecognitionException re) { 
419
                recover(input,re); 
420
                appendSkippedTokens();
421
            } 
422
        finally {
423
        }
424
        return current;
425
    }
426
    // $ANTLR end "ruleTypeRule"
591
427
592
428
593
	// $ANTLR start entryRuleBoundSpecification
429
    // $ANTLR start "entryRuleQualifiedName"
594
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:310:1: entryRuleBoundSpecification returns [EObject current=null] : iv_ruleBoundSpecification= ruleBoundSpecification EOF ;
430
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:204:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
595
	public final EObject entryRuleBoundSpecification() throws RecognitionException {
431
    public final EObject entryRuleQualifiedName() throws RecognitionException {
596
		EObject current = null;
432
        EObject current = null;
597
433
598
		EObject iv_ruleBoundSpecification = null;
434
        EObject iv_ruleQualifiedName = null;
599
435
600
436
601
		try {
437
        try {
602
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:311:2: (iv_ruleBoundSpecification= ruleBoundSpecification EOF )
438
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:205:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
603
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:312:2: iv_ruleBoundSpecification= ruleBoundSpecification EOF
439
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:206:2: iv_ruleQualifiedName= ruleQualifiedName EOF
604
			{
440
            {
605
				currentNode = createCompositeNode(grammarAccess.getBoundSpecificationRule(), currentNode);
441
             newCompositeNode(grammarAccess.getQualifiedNameRule()); 
606
				pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification472);
442
            pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName355);
607
				iv_ruleBoundSpecification = ruleBoundSpecification();
443
            iv_ruleQualifiedName=ruleQualifiedName();
608
				_fsp--;
609
444
610
				current = iv_ruleBoundSpecification;
445
            state._fsp--;
611
				match(input, EOF, FOLLOW_EOF_in_entryRuleBoundSpecification482);
612
446
613
			}
447
             current =iv_ruleQualifiedName; 
448
            match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName365); 
614
449
615
		}
450
            }
616
451
617
		catch (RecognitionException re) {
452
        }
618
			recover(input, re);
453
         
619
			appendSkippedTokens();
454
            catch (RecognitionException re) { 
620
		} finally {
455
                recover(input,re); 
621
		}
456
                appendSkippedTokens();
622
		return current;
457
            } 
623
	}
458
        finally {
459
        }
460
        return current;
461
    }
462
    // $ANTLR end "entryRuleQualifiedName"
624
463
625
	// $ANTLR end entryRuleBoundSpecification
626
464
465
    // $ANTLR start "ruleQualifiedName"
466
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:213:1: ruleQualifiedName returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) ;
467
    public final EObject ruleQualifiedName() throws RecognitionException {
468
        EObject current = null;
627
469
628
	// $ANTLR start ruleBoundSpecification
470
        Token otherlv_0=null;
629
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:319:1: ruleBoundSpecification returns [EObject current=null] : ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) ) ;
471
        Token otherlv_1=null;
630
	public final EObject ruleBoundSpecification() throws RecognitionException {
472
        EObject lv_remaining_2_0 = null;
631
		EObject current = null;
632
473
633
		Token lv_value_0_0 = null;
634
474
635
		EObject temp = null;
475
         enterRule(); 
636
		setCurrentLookahead();
476
            
637
		resetLookahead();
477
        try {
478
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:216:28: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) )
479
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:217:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
480
            {
481
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:217:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
482
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:217:2: ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )?
483
            {
484
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:217:2: ( (otherlv_0= RULE_ID ) )
485
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:218:1: (otherlv_0= RULE_ID )
486
            {
487
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:218:1: (otherlv_0= RULE_ID )
488
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:219:3: otherlv_0= RULE_ID
489
            {
638
490
639
		try {
491
            			if (current==null) {
640
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:324:6: ( ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) ) )
492
            	            current = createModelElement(grammarAccess.getQualifiedNameRule());
641
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:325:1: ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) )
493
            	        }
642
			{
494
                    
643
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:325:1: ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) )
495
            otherlv_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName410); 
644
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:326:1: (lv_value_0_0= RULE_UNLIMITEDLITERAL )
645
				{
646
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:326:1: (lv_value_0_0= RULE_UNLIMITEDLITERAL )
647
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:327:3: lv_value_0_0= RULE_UNLIMITEDLITERAL
648
					{
649
						lv_value_0_0 = (Token)input.LT(1);
650
						match(input, RULE_UNLIMITEDLITERAL, FOLLOW_RULE_UNLIMITEDLITERAL_in_ruleBoundSpecification523);
651
496
652
						createLeafNode(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0(), "value");
497
            		newLeafNode(otherlv_0, grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); 
498
            	
653
499
500
            }
654
501
655
						if(current == null) {
656
							current = factory.create(grammarAccess.getBoundSpecificationRule().getType().getClassifier());
657
							associateNodeWithAstElement(currentNode, current);
658
						}
659
						try {
660
							set(current, "value", lv_value_0_0, "UnlimitedLiteral", lastConsumedNode);
661
						} catch (ValueConverterException vce) {
662
							handleValueConverterException(vce);
663
						}
664
502
503
            }
665
504
666
					}
505
            otherlv_1=(Token)match(input,14,FOLLOW_14_in_ruleQualifiedName422); 
667
506
507
                	newLeafNode(otherlv_1, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
508
                
509
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:234:1: ( (lv_remaining_2_0= ruleQualifiedName ) )?
510
            int alt3=2;
511
            int LA3_0 = input.LA(1);
668
512
669
				}
513
            if ( (LA3_0==RULE_ID) ) {
514
                int LA3_1 = input.LA(2);
670
515
516
                if ( (LA3_1==14) ) {
517
                    alt3=1;
518
                }
519
            }
520
            switch (alt3) {
521
                case 1 :
522
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:235:1: (lv_remaining_2_0= ruleQualifiedName )
523
                    {
524
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:235:1: (lv_remaining_2_0= ruleQualifiedName )
525
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:236:3: lv_remaining_2_0= ruleQualifiedName
526
                    {
527
                     
528
                    	        newCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
529
                    	    
530
                    pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedName443);
531
                    lv_remaining_2_0=ruleQualifiedName();
671
532
672
			}
533
                    state._fsp--;
673
534
674
			resetLookahead();
675
			lastConsumedNode = currentNode;
676
535
677
		}
536
                    	        if (current==null) {
537
                    	            current = createModelElementForParent(grammarAccess.getQualifiedNameRule());
538
                    	        }
539
                           		set(
540
                           			current, 
541
                           			"remaining",
542
                            		lv_remaining_2_0, 
543
                            		"QualifiedName");
544
                    	        afterParserOrEnumRuleCall();
545
                    	    
678
546
679
		catch (RecognitionException re) {
547
                    }
680
			recover(input, re);
681
			appendSkippedTokens();
682
		} finally {
683
		}
684
		return current;
685
	}
686
548
687
	// $ANTLR end ruleBoundSpecification
688
549
550
                    }
551
                    break;
689
552
690
	// $ANTLR start ruleVisibilityKind
553
            }
691
	// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:357:1: ruleVisibilityKind returns [Enumerator current=null] : ( ( '+' ) | ( '-' ) | ( '#' ) | ( '~' ) ) ;
692
	public final Enumerator ruleVisibilityKind() throws RecognitionException {
693
		Enumerator current = null;
694
554
695
		setCurrentLookahead();
696
		resetLookahead();
697
		try {
698
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:361:6: ( ( ( '+' ) | ( '-' ) | ( '#' ) | ( '~' ) ) )
699
			// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:362:1: ( ( '+' ) | ( '-' ) | ( '#' ) | ( '~' ) )
700
			{
701
				// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:362:1: ( ( '+' ) | ( '-' ) | ( '#' ) | ( '~' ) )
702
				int alt4 = 4;
703
				switch(input.LA(1)) {
704
				case 15:
705
				{
706
					alt4 = 1;
707
				}
708
					break;
709
				case 16:
710
				{
711
					alt4 = 2;
712
				}
713
					break;
714
				case 17:
715
				{
716
					alt4 = 3;
717
				}
718
					break;
719
				case 18:
720
				{
721
					alt4 = 4;
722
				}
723
					break;
724
				default:
725
					NoViableAltException nvae = new NoViableAltException("362:1: ( ( '+' ) | ( '-' ) | ( '#' ) | ( '~' ) )", 4, 0, input);
726
555
727
					throw nvae;
556
            }
728
				}
729
557
730
				switch(alt4) {
731
				case 1:
732
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:362:2: ( '+' )
733
				{
734
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:362:2: ( '+' )
735
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:362:4: '+'
736
					{
737
						match(input, 15, FOLLOW_15_in_ruleVisibilityKind575);
738
558
739
						current = grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
559
            }
740
						createLeafNode(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0(), null);
741
560
561
             leaveRule(); 
562
        }
563
         
564
            catch (RecognitionException re) { 
565
                recover(input,re); 
566
                appendSkippedTokens();
567
            } 
568
        finally {
569
        }
570
        return current;
571
    }
572
    // $ANTLR end "ruleQualifiedName"
742
573
743
					}
744
574
575
    // $ANTLR start "entryRuleBoundSpecification"
576
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:262:1: entryRuleBoundSpecification returns [EObject current=null] : iv_ruleBoundSpecification= ruleBoundSpecification EOF ;
577
    public final EObject entryRuleBoundSpecification() throws RecognitionException {
578
        EObject current = null;
745
579
746
				}
580
        EObject iv_ruleBoundSpecification = null;
747
					break;
748
				case 2:
749
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:368:6: ( '-' )
750
				{
751
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:368:6: ( '-' )
752
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:368:8: '-'
753
					{
754
						match(input, 16, FOLLOW_16_in_ruleVisibilityKind590);
755
581
756
						current = grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
757
						createLeafNode(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1(), null);
758
582
583
        try {
584
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:263:2: (iv_ruleBoundSpecification= ruleBoundSpecification EOF )
585
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:264:2: iv_ruleBoundSpecification= ruleBoundSpecification EOF
586
            {
587
             newCompositeNode(grammarAccess.getBoundSpecificationRule()); 
588
            pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification482);
589
            iv_ruleBoundSpecification=ruleBoundSpecification();
759
590
760
					}
591
            state._fsp--;
761
592
593
             current =iv_ruleBoundSpecification; 
594
            match(input,EOF,FOLLOW_EOF_in_entryRuleBoundSpecification492); 
762
595
763
				}
596
            }
764
					break;
765
				case 3:
766
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:374:6: ( '#' )
767
				{
768
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:374:6: ( '#' )
769
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:374:8: '#'
770
					{
771
						match(input, 17, FOLLOW_17_in_ruleVisibilityKind605);
772
597
773
						current = grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
598
        }
774
						createLeafNode(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2(), null);
599
         
600
            catch (RecognitionException re) { 
601
                recover(input,re); 
602
                appendSkippedTokens();
603
            } 
604
        finally {
605
        }
606
        return current;
607
    }
608
    // $ANTLR end "entryRuleBoundSpecification"
775
609
776
610
777
					}
611
    // $ANTLR start "ruleBoundSpecification"
612
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:271:1: ruleBoundSpecification returns [EObject current=null] : ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) ) ;
613
    public final EObject ruleBoundSpecification() throws RecognitionException {
614
        EObject current = null;
778
615
616
        Token lv_value_0_0=null;
779
617
780
				}
618
         enterRule(); 
781
					break;
619
            
782
				case 4:
620
        try {
783
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:380:6: ( '~' )
621
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:274:28: ( ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) ) )
784
				{
622
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:275:1: ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) )
785
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:380:6: ( '~' )
623
            {
786
					// ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:380:8: '~'
624
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:275:1: ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) )
787
					{
625
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:276:1: (lv_value_0_0= RULE_UNLIMITEDLITERAL )
788
						match(input, 18, FOLLOW_18_in_ruleVisibilityKind620);
626
            {
627
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:276:1: (lv_value_0_0= RULE_UNLIMITEDLITERAL )
628
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:277:3: lv_value_0_0= RULE_UNLIMITEDLITERAL
629
            {
630
            lv_value_0_0=(Token)match(input,RULE_UNLIMITEDLITERAL,FOLLOW_RULE_UNLIMITEDLITERAL_in_ruleBoundSpecification533); 
789
631
790
						current = grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
632
            			newLeafNode(lv_value_0_0, grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0()); 
791
						createLeafNode(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3(), null);
633
            		
792
634
635
            	        if (current==null) {
636
            	            current = createModelElement(grammarAccess.getBoundSpecificationRule());
637
            	        }
638
                   		setWithLastConsumed(
639
                   			current, 
640
                   			"value",
641
                    		lv_value_0_0, 
642
                    		"UnlimitedLiteral");
643
            	    
793
644
794
					}
645
            }
795
646
796
647
797
				}
648
            }
798
					break;
799
649
800
				}
801
650
651
            }
802
652
803
			}
653
             leaveRule(); 
654
        }
655
         
656
            catch (RecognitionException re) { 
657
                recover(input,re); 
658
                appendSkippedTokens();
659
            } 
660
        finally {
661
        }
662
        return current;
663
    }
664
    // $ANTLR end "ruleBoundSpecification"
804
665
805
			resetLookahead();
806
			lastConsumedNode = currentNode;
807
666
808
		}
667
    // $ANTLR start "ruleVisibilityKind"
668
    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:301:1: ruleVisibilityKind returns [Enumerator current=null] : ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) ) ;
669
    public final Enumerator ruleVisibilityKind() throws RecognitionException {
670
        Enumerator current = null;
809
671
810
		catch (RecognitionException re) {
672
        Token enumLiteral_0=null;
811
			recover(input, re);
673
        Token enumLiteral_1=null;
812
			appendSkippedTokens();
674
        Token enumLiteral_2=null;
813
		} finally {
675
        Token enumLiteral_3=null;
814
		}
815
		return current;
816
	}
817
676
818
	// $ANTLR end ruleVisibilityKind
677
         enterRule(); 
678
        try {
679
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:303:28: ( ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) ) )
680
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:304:1: ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) )
681
            {
682
            // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:304:1: ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) )
683
            int alt4=4;
684
            switch ( input.LA(1) ) {
685
            case 15:
686
                {
687
                alt4=1;
688
                }
689
                break;
690
            case 16:
691
                {
692
                alt4=2;
693
                }
694
                break;
695
            case 17:
696
                {
697
                alt4=3;
698
                }
699
                break;
700
            case 18:
701
                {
702
                alt4=4;
703
                }
704
                break;
705
            default:
706
                NoViableAltException nvae =
707
                    new NoViableAltException("", 4, 0, input);
819
708
709
                throw nvae;
710
            }
820
711
712
            switch (alt4) {
713
                case 1 :
714
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:304:2: (enumLiteral_0= '+' )
715
                    {
716
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:304:2: (enumLiteral_0= '+' )
717
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:304:4: enumLiteral_0= '+'
718
                    {
719
                    enumLiteral_0=(Token)match(input,15,FOLLOW_15_in_ruleVisibilityKind587); 
821
720
721
                            current = grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
722
                            newLeafNode(enumLiteral_0, grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0()); 
723
                        
822
724
823
	public static final BitSet FOLLOW_ruleCollaborationUseRule_in_entryRuleCollaborationUseRule75 = new BitSet(new long[]{ 0x0000000000000000L });
725
                    }
824
726
825
	public static final BitSet FOLLOW_EOF_in_entryRuleCollaborationUseRule85 = new BitSet(new long[]{ 0x0000000000000002L });
826
727
827
	public static final BitSet FOLLOW_ruleVisibilityKind_in_ruleCollaborationUseRule131 = new BitSet(new long[]{ 0x0000000000000010L });
728
                    }
729
                    break;
730
                case 2 :
731
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:310:6: (enumLiteral_1= '-' )
732
                    {
733
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:310:6: (enumLiteral_1= '-' )
734
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:310:8: enumLiteral_1= '-'
735
                    {
736
                    enumLiteral_1=(Token)match(input,16,FOLLOW_16_in_ruleVisibilityKind604); 
828
737
829
	public static final BitSet FOLLOW_RULE_ID_in_ruleCollaborationUseRule148 = new BitSet(new long[]{ 0x0000000000001000L });
738
                            current = grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
739
                            newLeafNode(enumLiteral_1, grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1()); 
740
                        
830
741
831
	public static final BitSet FOLLOW_12_in_ruleCollaborationUseRule163 = new BitSet(new long[]{ 0x0000000000002010L });
742
                    }
832
743
833
	public static final BitSet FOLLOW_ruleTypeRule_in_ruleCollaborationUseRule185 = new BitSet(new long[]{ 0x0000000000000002L });
834
744
835
	public static final BitSet FOLLOW_13_in_ruleCollaborationUseRule201 = new BitSet(new long[]{ 0x0000000000000002L });
745
                    }
746
                    break;
747
                case 3 :
748
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:316:6: (enumLiteral_2= '#' )
749
                    {
750
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:316:6: (enumLiteral_2= '#' )
751
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:316:8: enumLiteral_2= '#'
752
                    {
753
                    enumLiteral_2=(Token)match(input,17,FOLLOW_17_in_ruleVisibilityKind621); 
836
754
837
	public static final BitSet FOLLOW_ruleTypeRule_in_entryRuleTypeRule238 = new BitSet(new long[]{ 0x0000000000000000L });
755
                            current = grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
756
                            newLeafNode(enumLiteral_2, grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2()); 
757
                        
838
758
839
	public static final BitSet FOLLOW_EOF_in_entryRuleTypeRule248 = new BitSet(new long[]{ 0x0000000000000002L });
759
                    }
840
760
841
	public static final BitSet FOLLOW_ruleQualifiedName_in_ruleTypeRule294 = new BitSet(new long[]{ 0x0000000000000010L });
842
761
843
	public static final BitSet FOLLOW_RULE_ID_in_ruleTypeRule313 = new BitSet(new long[]{ 0x0000000000000002L });
762
                    }
763
                    break;
764
                case 4 :
765
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:322:6: (enumLiteral_3= '~' )
766
                    {
767
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:322:6: (enumLiteral_3= '~' )
768
                    // ../org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parser/antlr/internal/InternalUmlCollaborationUse.g:322:8: enumLiteral_3= '~'
769
                    {
770
                    enumLiteral_3=(Token)match(input,18,FOLLOW_18_in_ruleVisibilityKind638); 
844
771
845
	public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName349 = new BitSet(new long[]{ 0x0000000000000000L });
772
                            current = grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
773
                            newLeafNode(enumLiteral_3, grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3()); 
774
                        
846
775
847
	public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName359 = new BitSet(new long[]{ 0x0000000000000002L });
776
                    }
848
777
849
	public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName402 = new BitSet(new long[]{ 0x0000000000004000L });
850
778
851
	public static final BitSet FOLLOW_14_in_ruleQualifiedName412 = new BitSet(new long[]{ 0x0000000000000012L });
779
                    }
780
                    break;
852
781
853
	public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedName433 = new BitSet(new long[]{ 0x0000000000000002L });
782
            }
854
783
855
	public static final BitSet FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification472 = new BitSet(new long[]{ 0x0000000000000000L });
856
784
857
	public static final BitSet FOLLOW_EOF_in_entryRuleBoundSpecification482 = new BitSet(new long[]{ 0x0000000000000002L });
785
            }
858
786
859
	public static final BitSet FOLLOW_RULE_UNLIMITEDLITERAL_in_ruleBoundSpecification523 = new BitSet(new long[]{ 0x0000000000000002L });
787
             leaveRule(); 
788
        }
789
         
790
            catch (RecognitionException re) { 
791
                recover(input,re); 
792
                appendSkippedTokens();
793
            } 
794
        finally {
795
        }
796
        return current;
797
    }
798
    // $ANTLR end "ruleVisibilityKind"
860
799
861
	public static final BitSet FOLLOW_15_in_ruleVisibilityKind575 = new BitSet(new long[]{ 0x0000000000000002L });
800
    // Delegated rules
862
801
863
	public static final BitSet FOLLOW_16_in_ruleVisibilityKind590 = new BitSet(new long[]{ 0x0000000000000002L });
864
802
865
	public static final BitSet FOLLOW_17_in_ruleVisibilityKind605 = new BitSet(new long[]{ 0x0000000000000002L });
803
 
866
804
867
	public static final BitSet FOLLOW_18_in_ruleVisibilityKind620 = new BitSet(new long[]{ 0x0000000000000002L });
805
    public static final BitSet FOLLOW_ruleCollaborationUseRule_in_entryRuleCollaborationUseRule75 = new BitSet(new long[]{0x0000000000000000L});
806
    public static final BitSet FOLLOW_EOF_in_entryRuleCollaborationUseRule85 = new BitSet(new long[]{0x0000000000000002L});
807
    public static final BitSet FOLLOW_ruleVisibilityKind_in_ruleCollaborationUseRule131 = new BitSet(new long[]{0x0000000000000010L});
808
    public static final BitSet FOLLOW_RULE_ID_in_ruleCollaborationUseRule148 = new BitSet(new long[]{0x0000000000001000L});
809
    public static final BitSet FOLLOW_12_in_ruleCollaborationUseRule165 = new BitSet(new long[]{0x0000000000002010L});
810
    public static final BitSet FOLLOW_ruleTypeRule_in_ruleCollaborationUseRule187 = new BitSet(new long[]{0x0000000000000002L});
811
    public static final BitSet FOLLOW_13_in_ruleCollaborationUseRule205 = new BitSet(new long[]{0x0000000000000002L});
812
    public static final BitSet FOLLOW_ruleTypeRule_in_entryRuleTypeRule242 = new BitSet(new long[]{0x0000000000000000L});
813
    public static final BitSet FOLLOW_EOF_in_entryRuleTypeRule252 = new BitSet(new long[]{0x0000000000000002L});
814
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleTypeRule298 = new BitSet(new long[]{0x0000000000000010L});
815
    public static final BitSet FOLLOW_RULE_ID_in_ruleTypeRule319 = new BitSet(new long[]{0x0000000000000002L});
816
    public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName355 = new BitSet(new long[]{0x0000000000000000L});
817
    public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName365 = new BitSet(new long[]{0x0000000000000002L});
818
    public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName410 = new BitSet(new long[]{0x0000000000004000L});
819
    public static final BitSet FOLLOW_14_in_ruleQualifiedName422 = new BitSet(new long[]{0x0000000000000012L});
820
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedName443 = new BitSet(new long[]{0x0000000000000002L});
821
    public static final BitSet FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification482 = new BitSet(new long[]{0x0000000000000000L});
822
    public static final BitSet FOLLOW_EOF_in_entryRuleBoundSpecification492 = new BitSet(new long[]{0x0000000000000002L});
823
    public static final BitSet FOLLOW_RULE_UNLIMITEDLITERAL_in_ruleBoundSpecification533 = new BitSet(new long[]{0x0000000000000002L});
824
    public static final BitSet FOLLOW_15_in_ruleVisibilityKind587 = new BitSet(new long[]{0x0000000000000002L});
825
    public static final BitSet FOLLOW_16_in_ruleVisibilityKind604 = new BitSet(new long[]{0x0000000000000002L});
826
    public static final BitSet FOLLOW_17_in_ruleVisibilityKind621 = new BitSet(new long[]{0x0000000000000002L});
827
    public static final BitSet FOLLOW_18_in_ruleVisibilityKind638 = new BitSet(new long[]{0x0000000000000002L});
868
828
869
}
829
}
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/services/UmlCollaborationUseGrammarAccess.java (-121 / +58 lines)
Lines 1-196 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
4
5
package org.eclipse.papyrus.collaborationuse.editor.xtext.services;
5
package org.eclipse.papyrus.collaborationuse.editor.xtext.services;
6
6
7
import org.eclipse.papyrus.common.editor.xtext.services.UmlCommonGrammarAccess;
7
import com.google.inject.Singleton;
8
import org.eclipse.xtext.Alternatives;
8
import com.google.inject.Inject;
9
import org.eclipse.xtext.Assignment;
9
10
import org.eclipse.xtext.CrossReference;
10
import org.eclipse.xtext.*;
11
import org.eclipse.xtext.EnumRule;
12
import org.eclipse.xtext.Grammar;
13
import org.eclipse.xtext.GrammarUtil;
14
import org.eclipse.xtext.Group;
15
import org.eclipse.xtext.Keyword;
16
import org.eclipse.xtext.ParserRule;
17
import org.eclipse.xtext.RuleCall;
18
import org.eclipse.xtext.TerminalRule;
19
import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder;
20
import org.eclipse.xtext.service.GrammarProvider;
11
import org.eclipse.xtext.service.GrammarProvider;
12
import org.eclipse.xtext.service.AbstractElementFinder.*;
21
13
22
import com.google.inject.Inject;
14
import org.eclipse.papyrus.common.editor.xtext.services.UmlCommonGrammarAccess;
23
import com.google.inject.Singleton;
24
15
25
@Singleton
16
@Singleton
26
public class UmlCollaborationUseGrammarAccess extends AbstractGrammarElementFinder {
17
public class UmlCollaborationUseGrammarAccess extends AbstractGrammarElementFinder {
27
18
	
28
19
	
29
	public class CollaborationUseRuleElements extends AbstractParserRuleElementFinder {
20
	public class CollaborationUseRuleElements extends AbstractParserRuleElementFinder {
30
21
		private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "CollaborationUseRule");
31
		private final ParserRule rule = (ParserRule)GrammarUtil.findRuleForName(getGrammar(), "CollaborationUseRule");
32
33
		private final Group cGroup = (Group)rule.eContents().get(1);
22
		private final Group cGroup = (Group)rule.eContents().get(1);
34
35
		private final Assignment cVisibilityAssignment_0 = (Assignment)cGroup.eContents().get(0);
23
		private final Assignment cVisibilityAssignment_0 = (Assignment)cGroup.eContents().get(0);
36
37
		private final RuleCall cVisibilityVisibilityKindEnumRuleCall_0_0 = (RuleCall)cVisibilityAssignment_0.eContents().get(0);
24
		private final RuleCall cVisibilityVisibilityKindEnumRuleCall_0_0 = (RuleCall)cVisibilityAssignment_0.eContents().get(0);
38
39
		private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
25
		private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
40
41
		private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
26
		private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
42
43
		private final Keyword cColonKeyword_2 = (Keyword)cGroup.eContents().get(2);
27
		private final Keyword cColonKeyword_2 = (Keyword)cGroup.eContents().get(2);
44
45
		private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3);
28
		private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3);
46
47
		private final Assignment cTypeAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0);
29
		private final Assignment cTypeAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0);
48
49
		private final RuleCall cTypeTypeRuleParserRuleCall_3_0_0 = (RuleCall)cTypeAssignment_3_0.eContents().get(0);
30
		private final RuleCall cTypeTypeRuleParserRuleCall_3_0_0 = (RuleCall)cTypeAssignment_3_0.eContents().get(0);
50
51
		private final Keyword cUndefinedKeyword_3_1 = (Keyword)cAlternatives_3.eContents().get(1);
31
		private final Keyword cUndefinedKeyword_3_1 = (Keyword)cAlternatives_3.eContents().get(1);
52
32
		
53
		//CollaborationUseRule:
33
		//CollaborationUseRule:
54
		//	visibility=VisibilityKind name=ID ":" (type=TypeRule | "<Undefined>");
34
		//	visibility=VisibilityKind name=ID ":" (type=TypeRule | "<Undefined>");
55
		public ParserRule getRule() {
35
		public ParserRule getRule() { return rule; }
56
			return rule;
57
		}
58
36
59
		//visibility=VisibilityKind name=ID ":" (type=TypeRule | "<Undefined>")
37
		//visibility=VisibilityKind name=ID ":" (type=TypeRule | "<Undefined>")
60
		public Group getGroup() {
38
		public Group getGroup() { return cGroup; }
61
			return cGroup;
62
		}
63
39
64
		//visibility=VisibilityKind
40
		//visibility=VisibilityKind
65
		public Assignment getVisibilityAssignment_0() {
41
		public Assignment getVisibilityAssignment_0() { return cVisibilityAssignment_0; }
66
			return cVisibilityAssignment_0;
67
		}
68
42
69
		//VisibilityKind
43
		//VisibilityKind
70
		public RuleCall getVisibilityVisibilityKindEnumRuleCall_0_0() {
44
		public RuleCall getVisibilityVisibilityKindEnumRuleCall_0_0() { return cVisibilityVisibilityKindEnumRuleCall_0_0; }
71
			return cVisibilityVisibilityKindEnumRuleCall_0_0;
72
		}
73
45
74
		//name=ID
46
		//name=ID
75
		public Assignment getNameAssignment_1() {
47
		public Assignment getNameAssignment_1() { return cNameAssignment_1; }
76
			return cNameAssignment_1;
77
		}
78
48
79
		//ID
49
		//ID
80
		public RuleCall getNameIDTerminalRuleCall_1_0() {
50
		public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
81
			return cNameIDTerminalRuleCall_1_0;
82
		}
83
51
84
		//":"
52
		//":"
85
		public Keyword getColonKeyword_2() {
53
		public Keyword getColonKeyword_2() { return cColonKeyword_2; }
86
			return cColonKeyword_2;
87
		}
88
54
89
		//type=TypeRule | "<Undefined>"
55
		//type=TypeRule | "<Undefined>"
90
		public Alternatives getAlternatives_3() {
56
		public Alternatives getAlternatives_3() { return cAlternatives_3; }
91
			return cAlternatives_3;
92
		}
93
57
94
		//type=TypeRule
58
		//type=TypeRule
95
		public Assignment getTypeAssignment_3_0() {
59
		public Assignment getTypeAssignment_3_0() { return cTypeAssignment_3_0; }
96
			return cTypeAssignment_3_0;
97
		}
98
60
99
		//TypeRule
61
		//TypeRule
100
		public RuleCall getTypeTypeRuleParserRuleCall_3_0_0() {
62
		public RuleCall getTypeTypeRuleParserRuleCall_3_0_0() { return cTypeTypeRuleParserRuleCall_3_0_0; }
101
			return cTypeTypeRuleParserRuleCall_3_0_0;
102
		}
103
63
104
		//"<Undefined>"
64
		//"<Undefined>"
105
		public Keyword getUndefinedKeyword_3_1() {
65
		public Keyword getUndefinedKeyword_3_1() { return cUndefinedKeyword_3_1; }
106
			return cUndefinedKeyword_3_1;
107
		}
108
	}
66
	}
109
67
110
	public class TypeRuleElements extends AbstractParserRuleElementFinder {
68
	public class TypeRuleElements extends AbstractParserRuleElementFinder {
111
69
		private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TypeRule");
112
		private final ParserRule rule = (ParserRule)GrammarUtil.findRuleForName(getGrammar(), "TypeRule");
113
114
		private final Group cGroup = (Group)rule.eContents().get(1);
70
		private final Group cGroup = (Group)rule.eContents().get(1);
115
116
		private final Assignment cPathAssignment_0 = (Assignment)cGroup.eContents().get(0);
71
		private final Assignment cPathAssignment_0 = (Assignment)cGroup.eContents().get(0);
117
118
		private final RuleCall cPathQualifiedNameParserRuleCall_0_0 = (RuleCall)cPathAssignment_0.eContents().get(0);
72
		private final RuleCall cPathQualifiedNameParserRuleCall_0_0 = (RuleCall)cPathAssignment_0.eContents().get(0);
119
120
		private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1);
73
		private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1);
121
122
		private final CrossReference cTypeCollaborationCrossReference_1_0 = (CrossReference)cTypeAssignment_1.eContents().get(0);
74
		private final CrossReference cTypeCollaborationCrossReference_1_0 = (CrossReference)cTypeAssignment_1.eContents().get(0);
123
124
		private final RuleCall cTypeCollaborationIDTerminalRuleCall_1_0_1 = (RuleCall)cTypeCollaborationCrossReference_1_0.eContents().get(1);
75
		private final RuleCall cTypeCollaborationIDTerminalRuleCall_1_0_1 = (RuleCall)cTypeCollaborationCrossReference_1_0.eContents().get(1);
125
76
		
126
		//TypeRule:
77
		//TypeRule:
127
		//	path=QualifiedName? type=[uml::Collaboration];
78
		//	path=QualifiedName? type=[uml::Collaboration];
128
		public ParserRule getRule() {
79
		public ParserRule getRule() { return rule; }
129
			return rule;
130
		}
131
80
132
		//path=QualifiedName? type=[uml::Collaboration]
81
		//path=QualifiedName? type=[uml::Collaboration]
133
		public Group getGroup() {
82
		public Group getGroup() { return cGroup; }
134
			return cGroup;
135
		}
136
83
137
		//path=QualifiedName?
84
		//path=QualifiedName?
138
		public Assignment getPathAssignment_0() {
85
		public Assignment getPathAssignment_0() { return cPathAssignment_0; }
139
			return cPathAssignment_0;
140
		}
141
86
142
		//QualifiedName
87
		//QualifiedName
143
		public RuleCall getPathQualifiedNameParserRuleCall_0_0() {
88
		public RuleCall getPathQualifiedNameParserRuleCall_0_0() { return cPathQualifiedNameParserRuleCall_0_0; }
144
			return cPathQualifiedNameParserRuleCall_0_0;
145
		}
146
89
147
		//type=[uml::Collaboration]
90
		//type=[uml::Collaboration]
148
		public Assignment getTypeAssignment_1() {
91
		public Assignment getTypeAssignment_1() { return cTypeAssignment_1; }
149
			return cTypeAssignment_1;
150
		}
151
92
152
		//[uml::Collaboration]
93
		//[uml::Collaboration]
153
		public CrossReference getTypeCollaborationCrossReference_1_0() {
94
		public CrossReference getTypeCollaborationCrossReference_1_0() { return cTypeCollaborationCrossReference_1_0; }
154
			return cTypeCollaborationCrossReference_1_0;
155
		}
156
95
157
		//ID
96
		//ID
158
		public RuleCall getTypeCollaborationIDTerminalRuleCall_1_0_1() {
97
		public RuleCall getTypeCollaborationIDTerminalRuleCall_1_0_1() { return cTypeCollaborationIDTerminalRuleCall_1_0_1; }
159
			return cTypeCollaborationIDTerminalRuleCall_1_0_1;
160
		}
161
	}
98
	}
162
99
	
163
100
	
164
	private CollaborationUseRuleElements pCollaborationUseRule;
101
	private CollaborationUseRuleElements pCollaborationUseRule;
165
166
	private TypeRuleElements pTypeRule;
102
	private TypeRuleElements pTypeRule;
167
103
	
168
	private final GrammarProvider grammarProvider;
104
	private final GrammarProvider grammarProvider;
169
105
170
	private UmlCommonGrammarAccess gaUmlCommon;
106
	private UmlCommonGrammarAccess gaUmlCommon;
171
107
172
	@Inject
108
	@Inject
173
	public UmlCollaborationUseGrammarAccess(GrammarProvider grammarProvider, UmlCommonGrammarAccess gaUmlCommon) {
109
	public UmlCollaborationUseGrammarAccess(GrammarProvider grammarProvider,
110
		UmlCommonGrammarAccess gaUmlCommon) {
174
		this.grammarProvider = grammarProvider;
111
		this.grammarProvider = grammarProvider;
175
		this.gaUmlCommon = gaUmlCommon;
112
		this.gaUmlCommon = gaUmlCommon;
176
	}
113
	}
177
114
	
178
	public Grammar getGrammar() {
115
	public Grammar getGrammar() {	
179
		return grammarProvider.getGrammar(this);
116
		return grammarProvider.getGrammar(this);
180
	}
117
	}
181
118
	
182
119
183
	public UmlCommonGrammarAccess getUmlCommonGrammarAccess() {
120
	public UmlCommonGrammarAccess getUmlCommonGrammarAccess() {
184
		return gaUmlCommon;
121
		return gaUmlCommon;
185
	}
122
	}
186
123
187
124
	
188
	//CollaborationUseRule:
125
	//CollaborationUseRule:
189
	//	visibility=VisibilityKind name=ID ":" (type=TypeRule | "<Undefined>");
126
	//	visibility=VisibilityKind name=ID ":" (type=TypeRule | "<Undefined>");
190
	public CollaborationUseRuleElements getCollaborationUseRuleAccess() {
127
	public CollaborationUseRuleElements getCollaborationUseRuleAccess() {
191
		return (pCollaborationUseRule != null) ? pCollaborationUseRule : (pCollaborationUseRule = new CollaborationUseRuleElements());
128
		return (pCollaborationUseRule != null) ? pCollaborationUseRule : (pCollaborationUseRule = new CollaborationUseRuleElements());
192
	}
129
	}
193
130
	
194
	public ParserRule getCollaborationUseRuleRule() {
131
	public ParserRule getCollaborationUseRuleRule() {
195
		return getCollaborationUseRuleAccess().getRule();
132
		return getCollaborationUseRuleAccess().getRule();
196
	}
133
	}
Lines 200-206 Link Here
200
	public TypeRuleElements getTypeRuleAccess() {
137
	public TypeRuleElements getTypeRuleAccess() {
201
		return (pTypeRule != null) ? pTypeRule : (pTypeRule = new TypeRuleElements());
138
		return (pTypeRule != null) ? pTypeRule : (pTypeRule = new TypeRuleElements());
202
	}
139
	}
203
140
	
204
	public ParserRule getTypeRuleRule() {
141
	public ParserRule getTypeRuleRule() {
205
		return getTypeRuleAccess().getRule();
142
		return getTypeRuleAccess().getRule();
206
	}
143
	}
Lines 210-216 Link Here
210
	public UmlCommonGrammarAccess.QualifiedNameElements getQualifiedNameAccess() {
147
	public UmlCommonGrammarAccess.QualifiedNameElements getQualifiedNameAccess() {
211
		return gaUmlCommon.getQualifiedNameAccess();
148
		return gaUmlCommon.getQualifiedNameAccess();
212
	}
149
	}
213
150
	
214
	public ParserRule getQualifiedNameRule() {
151
	public ParserRule getQualifiedNameRule() {
215
		return getQualifiedNameAccess().getRule();
152
		return getQualifiedNameAccess().getRule();
216
	}
153
	}
Lines 220-226 Link Here
220
	public UmlCommonGrammarAccess.VisibilityKindElements getVisibilityKindAccess() {
157
	public UmlCommonGrammarAccess.VisibilityKindElements getVisibilityKindAccess() {
221
		return gaUmlCommon.getVisibilityKindAccess();
158
		return gaUmlCommon.getVisibilityKindAccess();
222
	}
159
	}
223
160
	
224
	public EnumRule getVisibilityKindRule() {
161
	public EnumRule getVisibilityKindRule() {
225
		return getVisibilityKindAccess().getRule();
162
		return getVisibilityKindAccess().getRule();
226
	}
163
	}
Lines 230-236 Link Here
230
	public UmlCommonGrammarAccess.MultiplicityRuleElements getMultiplicityRuleAccess() {
167
	public UmlCommonGrammarAccess.MultiplicityRuleElements getMultiplicityRuleAccess() {
231
		return gaUmlCommon.getMultiplicityRuleAccess();
168
		return gaUmlCommon.getMultiplicityRuleAccess();
232
	}
169
	}
233
170
	
234
	public ParserRule getMultiplicityRuleRule() {
171
	public ParserRule getMultiplicityRuleRule() {
235
		return getMultiplicityRuleAccess().getRule();
172
		return getMultiplicityRuleAccess().getRule();
236
	}
173
	}
Lines 240-246 Link Here
240
	public UmlCommonGrammarAccess.BoundSpecificationElements getBoundSpecificationAccess() {
177
	public UmlCommonGrammarAccess.BoundSpecificationElements getBoundSpecificationAccess() {
241
		return gaUmlCommon.getBoundSpecificationAccess();
178
		return gaUmlCommon.getBoundSpecificationAccess();
242
	}
179
	}
243
180
	
244
	public ParserRule getBoundSpecificationRule() {
181
	public ParserRule getBoundSpecificationRule() {
245
		return getBoundSpecificationAccess().getRule();
182
		return getBoundSpecificationAccess().getRule();
246
	}
183
	}
Lines 249-262 Link Here
249
	//	"0".."9" "0".."9"* | "*";
186
	//	"0".."9" "0".."9"* | "*";
250
	public TerminalRule getUnlimitedLiteralRule() {
187
	public TerminalRule getUnlimitedLiteralRule() {
251
		return gaUmlCommon.getUnlimitedLiteralRule();
188
		return gaUmlCommon.getUnlimitedLiteralRule();
252
	}
189
	} 
253
190
254
	//enum Direction:
191
	//enum Direction:
255
	//	IN="in" | OUT="out" | INOUT="inout" | RETURN="return";
192
	//	IN="in" | OUT="out" | INOUT="inout" | RETURN="return";
256
	public UmlCommonGrammarAccess.DirectionElements getDirectionAccess() {
193
	public UmlCommonGrammarAccess.DirectionElements getDirectionAccess() {
257
		return gaUmlCommon.getDirectionAccess();
194
		return gaUmlCommon.getDirectionAccess();
258
	}
195
	}
259
196
	
260
	public EnumRule getDirectionRule() {
197
	public EnumRule getDirectionRule() {
261
		return getDirectionAccess().getRule();
198
		return getDirectionAccess().getRule();
262
	}
199
	}
Lines 265-306 Link Here
265
	//	"^"? ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")*;
202
	//	"^"? ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")*;
266
	public TerminalRule getIDRule() {
203
	public TerminalRule getIDRule() {
267
		return gaUmlCommon.getIDRule();
204
		return gaUmlCommon.getIDRule();
268
	}
205
	} 
269
206
270
	//terminal INT returns ecore::EInt:
207
	//terminal INT returns ecore::EInt:
271
	//	"0".."9"+;
208
	//	"0".."9"+;
272
	public TerminalRule getINTRule() {
209
	public TerminalRule getINTRule() {
273
		return gaUmlCommon.getINTRule();
210
		return gaUmlCommon.getINTRule();
274
	}
211
	} 
275
212
276
	//terminal STRING:
213
	//terminal STRING:
277
	//	"\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" | "n" |
214
	//	"\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" |
278
	//	"f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
215
	//	"n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
279
	public TerminalRule getSTRINGRule() {
216
	public TerminalRule getSTRINGRule() {
280
		return gaUmlCommon.getSTRINGRule();
217
		return gaUmlCommon.getSTRINGRule();
281
	}
218
	} 
282
219
283
	//terminal ML_COMMENT:
220
	//terminal ML_COMMENT:
284
	//	"/ *"->"* /";
221
	//	"/ *"->"* /";
285
	public TerminalRule getML_COMMENTRule() {
222
	public TerminalRule getML_COMMENTRule() {
286
		return gaUmlCommon.getML_COMMENTRule();
223
		return gaUmlCommon.getML_COMMENTRule();
287
	}
224
	} 
288
225
289
	//terminal SL_COMMENT:
226
	//terminal SL_COMMENT:
290
	//	"//" !("\n" | "\r")* ("\r"? "\n")?;
227
	//	"//" !("\n" | "\r")* ("\r"? "\n")?;
291
	public TerminalRule getSL_COMMENTRule() {
228
	public TerminalRule getSL_COMMENTRule() {
292
		return gaUmlCommon.getSL_COMMENTRule();
229
		return gaUmlCommon.getSL_COMMENTRule();
293
	}
230
	} 
294
231
295
	//terminal WS:
232
	//terminal WS:
296
	//	(" " | "\t" | "\r" | "\n")+;
233
	//	(" " | "\t" | "\r" | "\n")+;
297
	public TerminalRule getWSRule() {
234
	public TerminalRule getWSRule() {
298
		return gaUmlCommon.getWSRule();
235
		return gaUmlCommon.getWSRule();
299
	}
236
	} 
300
237
301
	//terminal ANY_OTHER:
238
	//terminal ANY_OTHER:
302
	//	.;
239
	//	.;
303
	public TerminalRule getANY_OTHERRule() {
240
	public TerminalRule getANY_OTHERRule() {
304
		return gaUmlCommon.getANY_OTHERRule();
241
		return gaUmlCommon.getANY_OTHERRule();
305
	}
242
	} 
306
}
243
}
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/validation/AbstractUmlCollaborationUseJavaValidator.java (-17 / +4 lines)
Lines 1-18 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.collaborationuse.editor.xtext.validation;
1
package org.eclipse.papyrus.collaborationuse.editor.xtext.validation;
15
2
 
16
import java.util.ArrayList;
3
import java.util.ArrayList;
17
import java.util.List;
4
import java.util.List;
18
5
Lines 20-32 Link Here
20
import org.eclipse.xtext.validation.AbstractDeclarativeValidator;
7
import org.eclipse.xtext.validation.AbstractDeclarativeValidator;
21
import org.eclipse.xtext.validation.ComposedChecks;
8
import org.eclipse.xtext.validation.ComposedChecks;
22
9
23
@ComposedChecks(validators = { org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class })
10
@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class})
24
public class AbstractUmlCollaborationUseJavaValidator extends AbstractDeclarativeValidator {
11
public class AbstractUmlCollaborationUseJavaValidator extends AbstractDeclarativeValidator {
25
12
26
	@Override
13
	@Override
27
	protected List<EPackage> getEPackages() {
14
	protected List<EPackage> getEPackages() {
28
		List<EPackage> result = new ArrayList<EPackage>();
15
	    List<EPackage> result = new ArrayList<EPackage>();
29
		result.add(org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage.eINSTANCE);
16
	    result.add(org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage.eINSTANCE);
30
		return result;
17
		return result;
31
	}
18
	}
32
19
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/parseTreeConstruction/UmlCollaborationUseParsetreeConstructor.java (-720 / +639 lines)
Lines 1-879 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
package org.eclipse.papyrus.collaborationuse.editor.xtext.parseTreeConstruction;
4
package org.eclipse.papyrus.collaborationuse.editor.xtext.parseTreeConstruction;
5
5
6
import org.eclipse.emf.ecore.EObject;
6
import org.eclipse.emf.ecore.*;
7
import org.eclipse.papyrus.collaborationuse.editor.xtext.services.UmlCollaborationUseGrammarAccess;
7
import org.eclipse.xtext.*;
8
import org.eclipse.xtext.Alternatives;
9
import org.eclipse.xtext.Assignment;
10
import org.eclipse.xtext.Group;
11
import org.eclipse.xtext.Keyword;
12
import org.eclipse.xtext.parsetree.reconstr.IEObjectConsumer;
8
import org.eclipse.xtext.parsetree.reconstr.IEObjectConsumer;
13
import org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor;
9
import org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor;
14
10
11
import org.eclipse.papyrus.collaborationuse.editor.xtext.services.UmlCollaborationUseGrammarAccess;
12
15
import com.google.inject.Inject;
13
import com.google.inject.Inject;
16
14
17
@SuppressWarnings("all")
15
@SuppressWarnings("all")
18
public class UmlCollaborationUseParsetreeConstructor extends AbstractParseTreeConstructor {
16
public class UmlCollaborationUseParsetreeConstructor extends AbstractParseTreeConstructor {
19
17
		
20
	@Inject
18
	@Inject
21
	private UmlCollaborationUseGrammarAccess grammarAccess;
19
	private UmlCollaborationUseGrammarAccess grammarAccess;
22
20
	
23
	@Override
21
	@Override
24
	protected AbstractToken getRootToken(IEObjectConsumer inst) {
22
	protected AbstractToken getRootToken(IEObjectConsumer inst) {
25
		return new ThisRootNode(inst);
23
		return new ThisRootNode(inst);	
26
	}
24
	}
27
25
	
28
	protected class ThisRootNode extends RootToken {
26
protected class ThisRootNode extends RootToken {
29
27
	public ThisRootNode(IEObjectConsumer inst) {
30
		public ThisRootNode(IEObjectConsumer inst) {
28
		super(inst);
31
			super(inst);
32
		}
33
34
		@Override
35
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
36
			switch(index) {
37
			case 0:
38
				return new CollaborationUseRule_Group(this, this, 0, inst);
39
			case 1:
40
				return new TypeRule_Group(this, this, 1, inst);
41
			case 2:
42
				return new QualifiedName_Group(this, this, 2, inst);
43
			case 3:
44
				return new MultiplicityRule_Group(this, this, 3, inst);
45
			case 4:
46
				return new BoundSpecification_ValueAssignment(this, this, 4, inst);
47
			default:
48
				return null;
49
			}
50
		}
51
	}
29
	}
52
30
	
53
31
	@Override
54
	/************
32
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
55
	 * begin Rule CollaborationUseRule ****************
33
		switch(index) {
56
	 * 
34
			case 0: return new CollaborationUseRule_Group(this, this, 0, inst);
57
	 * CollaborationUseRule:
35
			case 1: return new TypeRule_Group(this, this, 1, inst);
58
	 * visibility=VisibilityKind name=ID ":" (type=TypeRule | "<Undefined>");
36
			case 2: return new QualifiedName_Group(this, this, 2, inst);
59
	 * 
37
			case 3: return new MultiplicityRule_Group(this, this, 3, inst);
60
	 **/
38
			case 4: return new BoundSpecification_ValueAssignment(this, this, 4, inst);
61
39
			default: return null;
62
	// visibility=VisibilityKind name=ID ":" (type=TypeRule | "<Undefined>")
40
		}	
63
	protected class CollaborationUseRule_Group extends GroupToken {
41
	}	
64
42
}
65
		public CollaborationUseRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
43
	
66
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
67
		}
68
69
		@Override
70
		public Group getGrammarElement() {
71
			return grammarAccess.getCollaborationUseRuleAccess().getGroup();
72
		}
73
44
74
		@Override
45
/************ begin Rule CollaborationUseRule ****************
75
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
46
 *
76
			switch(index) {
47
 * CollaborationUseRule:
77
			case 0:
48
 * 	visibility=VisibilityKind name=ID ":" (type=TypeRule | "<Undefined>");
78
				return new CollaborationUseRule_Alternatives_3(lastRuleCallOrigin, this, 0, inst);
49
 *
79
			default:
50
 **/
80
				return null;
81
			}
82
		}
83
51
84
		@Override
52
// visibility=VisibilityKind name=ID ":" (type=TypeRule | "<Undefined>")
85
		public IEObjectConsumer tryConsume() {
53
protected class CollaborationUseRule_Group extends GroupToken {
86
			if(getEObject().eClass() != grammarAccess.getCollaborationUseRuleRule().getType().getClassifier())
54
	
87
				return null;
55
	public CollaborationUseRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
88
			return eObjectConsumer;
56
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
89
		}
90
91
	}
57
	}
92
58
	
93
	// visibility=VisibilityKind
59
	@Override
94
	protected class CollaborationUseRule_VisibilityAssignment_0 extends AssignmentToken {
60
	public Group getGrammarElement() {
95
61
		return grammarAccess.getCollaborationUseRuleAccess().getGroup();
96
		public CollaborationUseRule_VisibilityAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
62
	}
97
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
98
		}
99
100
		@Override
101
		public Assignment getGrammarElement() {
102
			return grammarAccess.getCollaborationUseRuleAccess().getVisibilityAssignment_0();
103
		}
104
63
105
		@Override
64
    @Override
106
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
65
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
107
			switch(index) {
66
		switch(index) {
108
			default:
67
			case 0: return new CollaborationUseRule_Alternatives_3(lastRuleCallOrigin, this, 0, inst);
109
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
68
			default: return null;
110
			}
69
		}	
111
		}
70
	}
112
71
113
		@Override
72
    @Override
114
		public IEObjectConsumer tryConsume() {
73
	public IEObjectConsumer tryConsume() {
115
			if((value = eObjectConsumer.getConsumable("visibility", true)) == null)
74
		if(getEObject().eClass() != grammarAccess.getCollaborationUseRuleRule().getType().getClassifier())
116
				return null;
117
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("visibility");
118
			if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getCollaborationUseRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0(), value, null)) {
119
				type = AssignmentType.ENUM_RULE_CALL;
120
				element = grammarAccess.getCollaborationUseRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0();
121
				return obj;
122
			}
123
			return null;
75
			return null;
124
		}
76
		return eObjectConsumer;
125
126
	}
77
	}
127
78
128
	// name=ID
79
}
129
	protected class CollaborationUseRule_NameAssignment_1 extends AssignmentToken {
130
131
		public CollaborationUseRule_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
132
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
133
		}
134
135
		@Override
136
		public Assignment getGrammarElement() {
137
			return grammarAccess.getCollaborationUseRuleAccess().getNameAssignment_1();
138
		}
139
140
		@Override
141
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
142
			switch(index) {
143
			case 0:
144
				return new CollaborationUseRule_VisibilityAssignment_0(lastRuleCallOrigin, this, 0, inst);
145
			default:
146
				return null;
147
			}
148
		}
149
150
		@Override
151
		public IEObjectConsumer tryConsume() {
152
			if((value = eObjectConsumer.getConsumable("name", true)) == null)
153
				return null;
154
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name");
155
			if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getCollaborationUseRuleAccess().getNameIDTerminalRuleCall_1_0(), value, null)) {
156
				type = AssignmentType.TERMINAL_RULE_CALL;
157
				element = grammarAccess.getCollaborationUseRuleAccess().getNameIDTerminalRuleCall_1_0();
158
				return obj;
159
			}
160
			return null;
161
		}
162
80
81
// visibility=VisibilityKind
82
protected class CollaborationUseRule_VisibilityAssignment_0 extends AssignmentToken  {
83
	
84
	public CollaborationUseRule_VisibilityAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
85
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
163
	}
86
	}
164
87
	
165
	// ":"
88
	@Override
166
	protected class CollaborationUseRule_ColonKeyword_2 extends KeywordToken {
89
	public Assignment getGrammarElement() {
90
		return grammarAccess.getCollaborationUseRuleAccess().getVisibilityAssignment_0();
91
	}
167
92
168
		public CollaborationUseRule_ColonKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
93
    @Override
169
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
94
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
170
		}
95
		switch(index) {
96
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
97
		}	
98
	}
171
99
172
		@Override
100
    @Override	
173
		public Keyword getGrammarElement() {
101
	public IEObjectConsumer tryConsume() {
174
			return grammarAccess.getCollaborationUseRuleAccess().getColonKeyword_2();
102
		if((value = eObjectConsumer.getConsumable("visibility",true)) == null) return null;
103
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("visibility");
104
		if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getCollaborationUseRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0(), value, null)) { 
105
			type = AssignmentType.ENUM_RULE_CALL;
106
			element = grammarAccess.getCollaborationUseRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0();
107
			return obj;
175
		}
108
		}
109
		return null;
110
	}
176
111
177
		@Override
112
}
178
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
179
			switch(index) {
180
			case 0:
181
				return new CollaborationUseRule_NameAssignment_1(lastRuleCallOrigin, this, 0, inst);
182
			default:
183
				return null;
184
			}
185
		}
186
113
114
// name=ID
115
protected class CollaborationUseRule_NameAssignment_1 extends AssignmentToken  {
116
	
117
	public CollaborationUseRule_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
118
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
187
	}
119
	}
188
120
	
189
	// type=TypeRule | "<Undefined>"
121
	@Override
190
	protected class CollaborationUseRule_Alternatives_3 extends AlternativesToken {
122
	public Assignment getGrammarElement() {
123
		return grammarAccess.getCollaborationUseRuleAccess().getNameAssignment_1();
124
	}
191
125
192
		public CollaborationUseRule_Alternatives_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
126
    @Override
193
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
127
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
194
		}
128
		switch(index) {
129
			case 0: return new CollaborationUseRule_VisibilityAssignment_0(lastRuleCallOrigin, this, 0, inst);
130
			default: return null;
131
		}	
132
	}
195
133
196
		@Override
134
    @Override	
197
		public Alternatives getGrammarElement() {
135
	public IEObjectConsumer tryConsume() {
198
			return grammarAccess.getCollaborationUseRuleAccess().getAlternatives_3();
136
		if((value = eObjectConsumer.getConsumable("name",true)) == null) return null;
137
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name");
138
		if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getCollaborationUseRuleAccess().getNameIDTerminalRuleCall_1_0(), value, null)) {
139
			type = AssignmentType.TERMINAL_RULE_CALL;
140
			element = grammarAccess.getCollaborationUseRuleAccess().getNameIDTerminalRuleCall_1_0();
141
			return obj;
199
		}
142
		}
143
		return null;
144
	}
200
145
201
		@Override
146
}
202
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
203
			switch(index) {
204
			case 0:
205
				return new CollaborationUseRule_TypeAssignment_3_0(lastRuleCallOrigin, this, 0, inst);
206
			case 1:
207
				return new CollaborationUseRule_UndefinedKeyword_3_1(lastRuleCallOrigin, this, 1, inst);
208
			default:
209
				return null;
210
			}
211
		}
212
147
148
// ":"
149
protected class CollaborationUseRule_ColonKeyword_2 extends KeywordToken  {
150
	
151
	public CollaborationUseRule_ColonKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
152
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
213
	}
153
	}
214
154
	
215
	// type=TypeRule
155
	@Override
216
	protected class CollaborationUseRule_TypeAssignment_3_0 extends AssignmentToken {
156
	public Keyword getGrammarElement() {
157
		return grammarAccess.getCollaborationUseRuleAccess().getColonKeyword_2();
158
	}
217
159
218
		public CollaborationUseRule_TypeAssignment_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
160
    @Override
219
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
161
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
220
		}
162
		switch(index) {
163
			case 0: return new CollaborationUseRule_NameAssignment_1(lastRuleCallOrigin, this, 0, inst);
164
			default: return null;
165
		}	
166
	}
221
167
222
		@Override
168
}
223
		public Assignment getGrammarElement() {
224
			return grammarAccess.getCollaborationUseRuleAccess().getTypeAssignment_3_0();
225
		}
226
169
227
		@Override
170
// type=TypeRule | "<Undefined>"
228
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
171
protected class CollaborationUseRule_Alternatives_3 extends AlternativesToken {
229
			switch(index) {
230
			case 0:
231
				return new TypeRule_Group(this, this, 0, inst);
232
			default:
233
				return null;
234
			}
235
		}
236
172
237
		@Override
173
	public CollaborationUseRule_Alternatives_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
238
		public IEObjectConsumer tryConsume() {
174
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
239
			if((value = eObjectConsumer.getConsumable("type", true)) == null)
175
	}
240
				return null;
176
	
241
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type");
177
	@Override
242
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
178
	public Alternatives getGrammarElement() {
243
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
179
		return grammarAccess.getCollaborationUseRuleAccess().getAlternatives_3();
244
				if(param.isInstanceOf(grammarAccess.getTypeRuleRule().getType().getClassifier())) {
180
	}
245
					type = AssignmentType.PARSER_RULE_CALL;
246
					element = grammarAccess.getCollaborationUseRuleAccess().getTypeTypeRuleParserRuleCall_3_0_0();
247
					consumed = obj;
248
					return param;
249
				}
250
			}
251
			return null;
252
		}
253
181
254
		@Override
182
    @Override
255
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
183
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
256
			if(value == inst.getEObject() && !inst.isConsumed())
184
		switch(index) {
257
				return null;
185
			case 0: return new CollaborationUseRule_TypeAssignment_3_0(lastRuleCallOrigin, this, 0, inst);
258
			switch(index) {
186
			case 1: return new CollaborationUseRule_UndefinedKeyword_3_1(lastRuleCallOrigin, this, 1, inst);
259
			case 0:
187
			default: return null;
260
				return new CollaborationUseRule_ColonKeyword_2(lastRuleCallOrigin, next, actIndex, consumed);
188
		}	
261
			default:
262
				return null;
263
			}
264
		}
265
	}
189
	}
266
190
267
	// "<Undefined>"
191
}
268
	protected class CollaborationUseRule_UndefinedKeyword_3_1 extends KeywordToken {
269
192
270
		public CollaborationUseRule_UndefinedKeyword_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
193
// type=TypeRule
271
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
194
protected class CollaborationUseRule_TypeAssignment_3_0 extends AssignmentToken  {
272
		}
195
	
196
	public CollaborationUseRule_TypeAssignment_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
197
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
198
	}
199
	
200
	@Override
201
	public Assignment getGrammarElement() {
202
		return grammarAccess.getCollaborationUseRuleAccess().getTypeAssignment_3_0();
203
	}
273
204
274
		@Override
205
    @Override
275
		public Keyword getGrammarElement() {
206
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
276
			return grammarAccess.getCollaborationUseRuleAccess().getUndefinedKeyword_3_1();
207
		switch(index) {
277
		}
208
			case 0: return new TypeRule_Group(this, this, 0, inst);
209
			default: return null;
210
		}	
211
	}
278
212
279
		@Override
213
    @Override	
280
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
214
	public IEObjectConsumer tryConsume() {
281
			switch(index) {
215
		if((value = eObjectConsumer.getConsumable("type",true)) == null) return null;
282
			case 0:
216
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type");
283
				return new CollaborationUseRule_ColonKeyword_2(lastRuleCallOrigin, this, 0, inst);
217
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
284
			default:
218
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
285
				return null;
219
			if(param.isInstanceOf(grammarAccess.getTypeRuleRule().getType().getClassifier())) {
220
				type = AssignmentType.PARSER_RULE_CALL;
221
				element = grammarAccess.getCollaborationUseRuleAccess().getTypeTypeRuleParserRuleCall_3_0_0(); 
222
				consumed = obj;
223
				return param;
286
			}
224
			}
287
		}
225
		}
288
226
		return null;
289
	}
227
	}
290
228
291
229
    @Override
230
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
231
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
232
		switch(index) {
233
			case 0: return new CollaborationUseRule_ColonKeyword_2(lastRuleCallOrigin, next, actIndex, consumed);
234
			default: return null;
235
		}	
236
	}	
237
}
292
238
293
	/************ end Rule CollaborationUseRule ****************/
239
// "<Undefined>"
240
protected class CollaborationUseRule_UndefinedKeyword_3_1 extends KeywordToken  {
241
	
242
	public CollaborationUseRule_UndefinedKeyword_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
243
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
244
	}
245
	
246
	@Override
247
	public Keyword getGrammarElement() {
248
		return grammarAccess.getCollaborationUseRuleAccess().getUndefinedKeyword_3_1();
249
	}
294
250
251
    @Override
252
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
253
		switch(index) {
254
			case 0: return new CollaborationUseRule_ColonKeyword_2(lastRuleCallOrigin, this, 0, inst);
255
			default: return null;
256
		}	
257
	}
295
258
296
	/************
259
}
297
	 * begin Rule TypeRule ****************
298
	 * 
299
	 * TypeRule:
300
	 * path=QualifiedName? type=[uml::Collaboration];
301
	 * 
302
	 **/
303
260
304
	// path=QualifiedName? type=[uml::Collaboration]
305
	protected class TypeRule_Group extends GroupToken {
306
261
307
		public TypeRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
308
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
309
		}
310
262
311
		@Override
263
/************ end Rule CollaborationUseRule ****************/
312
		public Group getGrammarElement() {
313
			return grammarAccess.getTypeRuleAccess().getGroup();
314
		}
315
264
316
		@Override
317
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
318
			switch(index) {
319
			case 0:
320
				return new TypeRule_TypeAssignment_1(lastRuleCallOrigin, this, 0, inst);
321
			default:
322
				return null;
323
			}
324
		}
325
265
326
		@Override
266
/************ begin Rule TypeRule ****************
327
		public IEObjectConsumer tryConsume() {
267
 *
328
			if(getEObject().eClass() != grammarAccess.getTypeRuleRule().getType().getClassifier())
268
 * TypeRule:
329
				return null;
269
 * 	path=QualifiedName? type=[uml::Collaboration];
330
			return eObjectConsumer;
270
 *
331
		}
271
 **/
332
272
273
// path=QualifiedName? type=[uml::Collaboration]
274
protected class TypeRule_Group extends GroupToken {
275
	
276
	public TypeRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
277
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
333
	}
278
	}
334
279
	
335
	// path=QualifiedName?
280
	@Override
336
	protected class TypeRule_PathAssignment_0 extends AssignmentToken {
281
	public Group getGrammarElement() {
337
282
		return grammarAccess.getTypeRuleAccess().getGroup();
338
		public TypeRule_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
283
	}
339
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
340
		}
341
342
		@Override
343
		public Assignment getGrammarElement() {
344
			return grammarAccess.getTypeRuleAccess().getPathAssignment_0();
345
		}
346
284
347
		@Override
285
    @Override
348
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
286
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
349
			switch(index) {
287
		switch(index) {
350
			case 0:
288
			case 0: return new TypeRule_TypeAssignment_1(lastRuleCallOrigin, this, 0, inst);
351
				return new QualifiedName_Group(this, this, 0, inst);
289
			default: return null;
352
			default:
290
		}	
353
				return null;
291
	}
354
			}
355
		}
356
292
357
		@Override
293
    @Override
358
		public IEObjectConsumer tryConsume() {
294
	public IEObjectConsumer tryConsume() {
359
			if((value = eObjectConsumer.getConsumable("path", false)) == null)
295
		if(getEObject().eClass() != grammarAccess.getTypeRuleRule().getType().getClassifier())
360
				return null;
361
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
362
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
363
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
364
				if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
365
					type = AssignmentType.PARSER_RULE_CALL;
366
					element = grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0();
367
					consumed = obj;
368
					return param;
369
				}
370
			}
371
			return null;
296
			return null;
372
		}
297
		return eObjectConsumer;
373
374
		@Override
375
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
376
			if(value == inst.getEObject() && !inst.isConsumed())
377
				return null;
378
			switch(index) {
379
			default:
380
				return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
381
			}
382
		}
383
	}
298
	}
384
299
385
	// type=[uml::Collaboration]
300
}
386
	protected class TypeRule_TypeAssignment_1 extends AssignmentToken {
387
388
		public TypeRule_TypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
389
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
390
		}
391
301
392
		@Override
302
// path=QualifiedName?
393
		public Assignment getGrammarElement() {
303
protected class TypeRule_PathAssignment_0 extends AssignmentToken  {
394
			return grammarAccess.getTypeRuleAccess().getTypeAssignment_1();
304
	
395
		}
305
	public TypeRule_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
306
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
307
	}
308
	
309
	@Override
310
	public Assignment getGrammarElement() {
311
		return grammarAccess.getTypeRuleAccess().getPathAssignment_0();
312
	}
396
313
397
		@Override
314
    @Override
398
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
315
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
399
			switch(index) {
316
		switch(index) {
400
			case 0:
317
			case 0: return new QualifiedName_Group(this, this, 0, inst);
401
				return new TypeRule_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
318
			default: return null;
402
			default:
319
		}	
403
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
320
	}
404
			}
405
		}
406
321
407
		@Override
322
    @Override	
408
		public IEObjectConsumer tryConsume() {
323
	public IEObjectConsumer tryConsume() {
409
			if((value = eObjectConsumer.getConsumable("type", true)) == null)
324
		if((value = eObjectConsumer.getConsumable("path",false)) == null) return null;
410
				return null;
325
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
411
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type");
326
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
412
			if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
327
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
413
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
328
			if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
414
				if(param.isInstanceOf(grammarAccess.getTypeRuleAccess().getTypeCollaborationCrossReference_1_0().getType().getClassifier())) {
329
				type = AssignmentType.PARSER_RULE_CALL;
415
					type = AssignmentType.CROSS_REFERENCE;
330
				element = grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0(); 
416
					element = grammarAccess.getTypeRuleAccess().getTypeCollaborationCrossReference_1_0();
331
				consumed = obj;
417
					return obj;
332
				return param;
418
				}
419
			}
333
			}
420
			return null;
421
		}
334
		}
422
335
		return null;
423
	}
336
	}
424
337
425
338
    @Override
426
	/************ end Rule TypeRule ****************/
339
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
427
340
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
428
341
		switch(index) {
429
	/************
342
			default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed);
430
	 * begin Rule QualifiedName ****************
343
		}	
431
	 * 
344
	}	
432
	 * QualifiedName:
345
}
433
	 * path=[uml::Namespace] "::" remaining=QualifiedName?;
434
	 * 
435
	 **/
436
437
	// path=[uml::Namespace] "::" remaining=QualifiedName?
438
	protected class QualifiedName_Group extends GroupToken {
439
346
440
		public QualifiedName_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
347
// type=[uml::Collaboration]
441
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
348
protected class TypeRule_TypeAssignment_1 extends AssignmentToken  {
442
		}
349
	
350
	public TypeRule_TypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
351
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
352
	}
353
	
354
	@Override
355
	public Assignment getGrammarElement() {
356
		return grammarAccess.getTypeRuleAccess().getTypeAssignment_1();
357
	}
443
358
444
		@Override
359
    @Override
445
		public Group getGrammarElement() {
360
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
446
			return grammarAccess.getQualifiedNameAccess().getGroup();
361
		switch(index) {
447
		}
362
			case 0: return new TypeRule_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
363
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
364
		}	
365
	}
448
366
449
		@Override
367
    @Override	
450
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
368
	public IEObjectConsumer tryConsume() {
451
			switch(index) {
369
		if((value = eObjectConsumer.getConsumable("type",true)) == null) return null;
452
			case 0:
370
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type");
453
				return new QualifiedName_RemainingAssignment_2(lastRuleCallOrigin, this, 0, inst);
371
		if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
454
			case 1:
372
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
455
				return new QualifiedName_ColonColonKeyword_1(lastRuleCallOrigin, this, 1, inst);
373
			if(param.isInstanceOf(grammarAccess.getTypeRuleAccess().getTypeCollaborationCrossReference_1_0().getType().getClassifier())) {
456
			default:
374
				type = AssignmentType.CROSS_REFERENCE;
457
				return null;
375
				element = grammarAccess.getTypeRuleAccess().getTypeCollaborationCrossReference_1_0(); 
376
				return obj;
458
			}
377
			}
459
		}
378
		}
460
379
		return null;
461
		@Override
462
		public IEObjectConsumer tryConsume() {
463
			if(getEObject().eClass() != grammarAccess.getQualifiedNameRule().getType().getClassifier())
464
				return null;
465
			return eObjectConsumer;
466
		}
467
468
	}
380
	}
469
381
470
	// path=[uml::Namespace]
382
}
471
	protected class QualifiedName_PathAssignment_0 extends AssignmentToken {
472
383
473
		public QualifiedName_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
474
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
475
		}
476
384
477
		@Override
385
/************ end Rule TypeRule ****************/
478
		public Assignment getGrammarElement() {
479
			return grammarAccess.getQualifiedNameAccess().getPathAssignment_0();
480
		}
481
386
482
		@Override
483
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
484
			switch(index) {
485
			default:
486
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
487
			}
488
		}
489
387
490
		@Override
388
/************ begin Rule QualifiedName ****************
491
		public IEObjectConsumer tryConsume() {
389
 *
492
			if((value = eObjectConsumer.getConsumable("path", true)) == null)
390
 * QualifiedName:
493
				return null;
391
 * 	path=[uml::Namespace] "::" remaining=QualifiedName?;
494
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
392
 *
495
			if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
393
 **/
496
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
497
				if(param.isInstanceOf(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0().getType().getClassifier())) {
498
					type = AssignmentType.CROSS_REFERENCE;
499
					element = grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0();
500
					return obj;
501
				}
502
			}
503
			return null;
504
		}
505
394
395
// path=[uml::Namespace] "::" remaining=QualifiedName?
396
protected class QualifiedName_Group extends GroupToken {
397
	
398
	public QualifiedName_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
399
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
506
	}
400
	}
507
401
	
508
	// "::"
402
	@Override
509
	protected class QualifiedName_ColonColonKeyword_1 extends KeywordToken {
403
	public Group getGrammarElement() {
510
404
		return grammarAccess.getQualifiedNameAccess().getGroup();
511
		public QualifiedName_ColonColonKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
512
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
513
		}
514
515
		@Override
516
		public Keyword getGrammarElement() {
517
			return grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1();
518
		}
519
520
		@Override
521
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
522
			switch(index) {
523
			case 0:
524
				return new QualifiedName_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
525
			default:
526
				return null;
527
			}
528
		}
529
530
	}
405
	}
531
406
532
	// remaining=QualifiedName?
407
    @Override
533
	protected class QualifiedName_RemainingAssignment_2 extends AssignmentToken {
408
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
409
		switch(index) {
410
			case 0: return new QualifiedName_RemainingAssignment_2(lastRuleCallOrigin, this, 0, inst);
411
			case 1: return new QualifiedName_ColonColonKeyword_1(lastRuleCallOrigin, this, 1, inst);
412
			default: return null;
413
		}	
414
	}
534
415
535
		public QualifiedName_RemainingAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
416
    @Override
536
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
417
	public IEObjectConsumer tryConsume() {
537
		}
418
		if(getEObject().eClass() != grammarAccess.getQualifiedNameRule().getType().getClassifier())
419
			return null;
420
		return eObjectConsumer;
421
	}
538
422
539
		@Override
423
}
540
		public Assignment getGrammarElement() {
541
			return grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2();
542
		}
543
424
544
		@Override
425
// path=[uml::Namespace]
545
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
426
protected class QualifiedName_PathAssignment_0 extends AssignmentToken  {
546
			switch(index) {
427
	
547
			case 0:
428
	public QualifiedName_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
548
				return new QualifiedName_Group(this, this, 0, inst);
429
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
549
			default:
430
	}
550
				return null;
431
	
551
			}
432
	@Override
552
		}
433
	public Assignment getGrammarElement() {
434
		return grammarAccess.getQualifiedNameAccess().getPathAssignment_0();
435
	}
553
436
554
		@Override
437
    @Override
555
		public IEObjectConsumer tryConsume() {
438
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
556
			if((value = eObjectConsumer.getConsumable("remaining", false)) == null)
439
		switch(index) {
557
				return null;
440
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
558
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("remaining");
441
		}	
559
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
442
	}
560
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
561
				if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
562
					type = AssignmentType.PARSER_RULE_CALL;
563
					element = grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0();
564
					consumed = obj;
565
					return param;
566
				}
567
			}
568
			return null;
569
		}
570
443
571
		@Override
444
    @Override	
572
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
445
	public IEObjectConsumer tryConsume() {
573
			if(value == inst.getEObject() && !inst.isConsumed())
446
		if((value = eObjectConsumer.getConsumable("path",true)) == null) return null;
574
				return null;
447
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
575
			switch(index) {
448
		if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
576
			case 0:
449
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
577
				return new QualifiedName_ColonColonKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
450
			if(param.isInstanceOf(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0().getType().getClassifier())) {
578
			default:
451
				type = AssignmentType.CROSS_REFERENCE;
579
				return null;
452
				element = grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(); 
453
				return obj;
580
			}
454
			}
581
		}
455
		}
456
		return null;
582
	}
457
	}
583
458
584
459
}
585
	/************ end Rule QualifiedName ****************/
586
460
461
// "::"
462
protected class QualifiedName_ColonColonKeyword_1 extends KeywordToken  {
463
	
464
	public QualifiedName_ColonColonKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
465
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
466
	}
467
	
468
	@Override
469
	public Keyword getGrammarElement() {
470
		return grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1();
471
	}
587
472
588
	/************
473
    @Override
589
	 * begin Rule MultiplicityRule ****************
474
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
590
	 * 
475
		switch(index) {
591
	 * MultiplicityRule:
476
			case 0: return new QualifiedName_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
592
	 * "[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]";
477
			default: return null;
593
	 * 
478
		}	
594
	 **/
479
	}
595
480
596
	// "[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]"
481
}
597
	protected class MultiplicityRule_Group extends GroupToken {
598
482
599
		public MultiplicityRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
483
// remaining=QualifiedName?
600
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
484
protected class QualifiedName_RemainingAssignment_2 extends AssignmentToken  {
601
		}
485
	
486
	public QualifiedName_RemainingAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
487
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
488
	}
489
	
490
	@Override
491
	public Assignment getGrammarElement() {
492
		return grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2();
493
	}
602
494
603
		@Override
495
    @Override
604
		public Group getGrammarElement() {
496
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
605
			return grammarAccess.getMultiplicityRuleAccess().getGroup();
497
		switch(index) {
606
		}
498
			case 0: return new QualifiedName_Group(this, this, 0, inst);
499
			default: return null;
500
		}	
501
	}
607
502
608
		@Override
503
    @Override	
609
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
504
	public IEObjectConsumer tryConsume() {
610
			switch(index) {
505
		if((value = eObjectConsumer.getConsumable("remaining",false)) == null) return null;
611
			case 0:
506
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("remaining");
612
				return new MultiplicityRule_RightSquareBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
507
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
613
			default:
508
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
614
				return null;
509
			if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
510
				type = AssignmentType.PARSER_RULE_CALL;
511
				element = grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(); 
512
				consumed = obj;
513
				return param;
615
			}
514
			}
616
		}
515
		}
617
516
		return null;
618
		@Override
619
		public IEObjectConsumer tryConsume() {
620
			if(getEObject().eClass() != grammarAccess.getMultiplicityRuleRule().getType().getClassifier())
621
				return null;
622
			return eObjectConsumer;
623
		}
624
625
	}
517
	}
626
518
627
	// "["
519
    @Override
628
	protected class MultiplicityRule_LeftSquareBracketKeyword_0 extends KeywordToken {
520
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
521
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
522
		switch(index) {
523
			case 0: return new QualifiedName_ColonColonKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
524
			default: return null;
525
		}	
526
	}	
527
}
629
528
630
		public MultiplicityRule_LeftSquareBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
631
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
632
		}
633
529
634
		@Override
530
/************ end Rule QualifiedName ****************/
635
		public Keyword getGrammarElement() {
636
			return grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0();
637
		}
638
531
639
		@Override
640
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
641
			switch(index) {
642
			default:
643
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
644
			}
645
		}
646
532
647
	}
533
/************ begin Rule MultiplicityRule ****************
534
 *
535
 * MultiplicityRule:
536
 * 	"[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]";
537
 *
538
 **/
648
539
649
	// bounds+=BoundSpecification
540
// "[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]"
650
	protected class MultiplicityRule_BoundsAssignment_1 extends AssignmentToken {
541
protected class MultiplicityRule_Group extends GroupToken {
542
	
543
	public MultiplicityRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
544
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
545
	}
546
	
547
	@Override
548
	public Group getGrammarElement() {
549
		return grammarAccess.getMultiplicityRuleAccess().getGroup();
550
	}
651
551
652
		public MultiplicityRule_BoundsAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
552
    @Override
653
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
553
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
654
		}
554
		switch(index) {
555
			case 0: return new MultiplicityRule_RightSquareBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
556
			default: return null;
557
		}	
558
	}
655
559
656
		@Override
560
    @Override
657
		public Assignment getGrammarElement() {
561
	public IEObjectConsumer tryConsume() {
658
			return grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1();
562
		if(getEObject().eClass() != grammarAccess.getMultiplicityRuleRule().getType().getClassifier())
659
		}
563
			return null;
564
		return eObjectConsumer;
565
	}
660
566
661
		@Override
567
}
662
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
663
			switch(index) {
664
			case 0:
665
				return new BoundSpecification_ValueAssignment(this, this, 0, inst);
666
			default:
667
				return null;
668
			}
669
		}
670
568
671
		@Override
569
// "["
672
		public IEObjectConsumer tryConsume() {
570
protected class MultiplicityRule_LeftSquareBracketKeyword_0 extends KeywordToken  {
673
			if((value = eObjectConsumer.getConsumable("bounds", true)) == null)
571
	
674
				return null;
572
	public MultiplicityRule_LeftSquareBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
675
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("bounds");
573
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
676
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
574
	}
677
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
575
	
678
				if(param.isInstanceOf(grammarAccess.getBoundSpecificationRule().getType().getClassifier())) {
576
	@Override
679
					type = AssignmentType.PARSER_RULE_CALL;
577
	public Keyword getGrammarElement() {
680
					element = grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0();
578
		return grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0();
681
					consumed = obj;
579
	}
682
					return param;
683
				}
684
			}
685
			return null;
686
		}
687
580
688
		@Override
581
    @Override
689
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
582
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
690
			if(value == inst.getEObject() && !inst.isConsumed())
583
		switch(index) {
691
				return null;
584
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
692
			switch(index) {
585
		}	
693
			case 0:
694
				return new MultiplicityRule_LeftSquareBracketKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
695
			default:
696
				return null;
697
			}
698
		}
699
	}
586
	}
700
587
701
	// (".." bounds+=BoundSpecification)?
588
}
702
	protected class MultiplicityRule_Group_2 extends GroupToken {
703
589
704
		public MultiplicityRule_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
590
// bounds+=BoundSpecification
705
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
591
protected class MultiplicityRule_BoundsAssignment_1 extends AssignmentToken  {
706
		}
592
	
593
	public MultiplicityRule_BoundsAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
594
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
595
	}
596
	
597
	@Override
598
	public Assignment getGrammarElement() {
599
		return grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1();
600
	}
707
601
708
		@Override
602
    @Override
709
		public Group getGrammarElement() {
603
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
710
			return grammarAccess.getMultiplicityRuleAccess().getGroup_2();
604
		switch(index) {
711
		}
605
			case 0: return new BoundSpecification_ValueAssignment(this, this, 0, inst);
606
			default: return null;
607
		}	
608
	}
712
609
713
		@Override
610
    @Override	
714
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
611
	public IEObjectConsumer tryConsume() {
715
			switch(index) {
612
		if((value = eObjectConsumer.getConsumable("bounds",true)) == null) return null;
716
			case 0:
613
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("bounds");
717
				return new MultiplicityRule_BoundsAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
614
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
718
			default:
615
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
719
				return null;
616
			if(param.isInstanceOf(grammarAccess.getBoundSpecificationRule().getType().getClassifier())) {
617
				type = AssignmentType.PARSER_RULE_CALL;
618
				element = grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0(); 
619
				consumed = obj;
620
				return param;
720
			}
621
			}
721
		}
622
		}
722
623
		return null;
723
	}
624
	}
724
625
725
	// ".."
626
    @Override
726
	protected class MultiplicityRule_FullStopFullStopKeyword_2_0 extends KeywordToken {
627
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
628
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
629
		switch(index) {
630
			case 0: return new MultiplicityRule_LeftSquareBracketKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
631
			default: return null;
632
		}	
633
	}	
634
}
727
635
728
		public MultiplicityRule_FullStopFullStopKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
636
// (".." bounds+=BoundSpecification)?
729
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
637
protected class MultiplicityRule_Group_2 extends GroupToken {
730
		}
638
	
639
	public MultiplicityRule_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
640
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
641
	}
642
	
643
	@Override
644
	public Group getGrammarElement() {
645
		return grammarAccess.getMultiplicityRuleAccess().getGroup_2();
646
	}
731
647
732
		@Override
648
    @Override
733
		public Keyword getGrammarElement() {
649
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
734
			return grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0();
650
		switch(index) {
735
		}
651
			case 0: return new MultiplicityRule_BoundsAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
652
			default: return null;
653
		}	
654
	}
736
655
737
		@Override
656
}
738
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
739
			switch(index) {
740
			case 0:
741
				return new MultiplicityRule_BoundsAssignment_1(lastRuleCallOrigin, this, 0, inst);
742
			default:
743
				return null;
744
			}
745
		}
746
657
658
// ".."
659
protected class MultiplicityRule_FullStopFullStopKeyword_2_0 extends KeywordToken  {
660
	
661
	public MultiplicityRule_FullStopFullStopKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
662
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
747
	}
663
	}
748
664
	
749
	// bounds+=BoundSpecification
665
	@Override
750
	protected class MultiplicityRule_BoundsAssignment_2_1 extends AssignmentToken {
666
	public Keyword getGrammarElement() {
667
		return grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0();
668
	}
751
669
752
		public MultiplicityRule_BoundsAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
670
    @Override
753
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
671
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
754
		}
672
		switch(index) {
673
			case 0: return new MultiplicityRule_BoundsAssignment_1(lastRuleCallOrigin, this, 0, inst);
674
			default: return null;
675
		}	
676
	}
755
677
756
		@Override
678
}
757
		public Assignment getGrammarElement() {
758
			return grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1();
759
		}
760
679
761
		@Override
680
// bounds+=BoundSpecification
762
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
681
protected class MultiplicityRule_BoundsAssignment_2_1 extends AssignmentToken  {
763
			switch(index) {
682
	
764
			case 0:
683
	public MultiplicityRule_BoundsAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
765
				return new BoundSpecification_ValueAssignment(this, this, 0, inst);
684
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
766
			default:
685
	}
767
				return null;
686
	
768
			}
687
	@Override
769
		}
688
	public Assignment getGrammarElement() {
689
		return grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1();
690
	}
770
691
771
		@Override
692
    @Override
772
		public IEObjectConsumer tryConsume() {
693
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
773
			if((value = eObjectConsumer.getConsumable("bounds", false)) == null)
694
		switch(index) {
774
				return null;
695
			case 0: return new BoundSpecification_ValueAssignment(this, this, 0, inst);
775
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("bounds");
696
			default: return null;
776
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
697
		}	
777
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
698
	}
778
				if(param.isInstanceOf(grammarAccess.getBoundSpecificationRule().getType().getClassifier())) {
779
					type = AssignmentType.PARSER_RULE_CALL;
780
					element = grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0();
781
					consumed = obj;
782
					return param;
783
				}
784
			}
785
			return null;
786
		}
787
699
788
		@Override
700
    @Override	
789
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
701
	public IEObjectConsumer tryConsume() {
790
			if(value == inst.getEObject() && !inst.isConsumed())
702
		if((value = eObjectConsumer.getConsumable("bounds",false)) == null) return null;
791
				return null;
703
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("bounds");
792
			switch(index) {
704
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
793
			case 0:
705
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
794
				return new MultiplicityRule_FullStopFullStopKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
706
			if(param.isInstanceOf(grammarAccess.getBoundSpecificationRule().getType().getClassifier())) {
795
			default:
707
				type = AssignmentType.PARSER_RULE_CALL;
796
				return null;
708
				element = grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0(); 
709
				consumed = obj;
710
				return param;
797
			}
711
			}
798
		}
712
		}
713
		return null;
799
	}
714
	}
800
715
801
716
    @Override
802
	// "]"
717
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
803
	protected class MultiplicityRule_RightSquareBracketKeyword_3 extends KeywordToken {
718
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
804
719
		switch(index) {
805
		public MultiplicityRule_RightSquareBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
720
			case 0: return new MultiplicityRule_FullStopFullStopKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
806
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
721
			default: return null;
807
		}
722
		}	
808
723
	}	
809
		@Override
724
}
810
		public Keyword getGrammarElement() {
811
			return grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3();
812
		}
813
725
814
		@Override
815
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
816
			switch(index) {
817
			case 0:
818
				return new MultiplicityRule_Group_2(lastRuleCallOrigin, this, 0, inst);
819
			case 1:
820
				return new MultiplicityRule_BoundsAssignment_1(lastRuleCallOrigin, this, 1, inst);
821
			default:
822
				return null;
823
			}
824
		}
825
726
727
// "]"
728
protected class MultiplicityRule_RightSquareBracketKeyword_3 extends KeywordToken  {
729
	
730
	public MultiplicityRule_RightSquareBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
731
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
732
	}
733
	
734
	@Override
735
	public Keyword getGrammarElement() {
736
		return grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3();
826
	}
737
	}
827
738
739
    @Override
740
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
741
		switch(index) {
742
			case 0: return new MultiplicityRule_Group_2(lastRuleCallOrigin, this, 0, inst);
743
			case 1: return new MultiplicityRule_BoundsAssignment_1(lastRuleCallOrigin, this, 1, inst);
744
			default: return null;
745
		}	
746
	}
828
747
829
	/************ end Rule MultiplicityRule ****************/
748
}
830
749
831
750
832
	/************
751
/************ end Rule MultiplicityRule ****************/
833
	 * begin Rule BoundSpecification ****************
834
	 * 
835
	 * BoundSpecification:
836
	 * value=UnlimitedLiteral;
837
	 * 
838
	 **/
839
752
840
	// value=UnlimitedLiteral
841
	protected class BoundSpecification_ValueAssignment extends AssignmentToken {
842
753
843
		public BoundSpecification_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
754
/************ begin Rule BoundSpecification ****************
844
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
755
 *
845
		}
756
 * BoundSpecification:
757
 * 	value=UnlimitedLiteral;
758
 *
759
 **/
846
760
847
		@Override
761
// value=UnlimitedLiteral
848
		public Assignment getGrammarElement() {
762
protected class BoundSpecification_ValueAssignment extends AssignmentToken  {
849
			return grammarAccess.getBoundSpecificationAccess().getValueAssignment();
763
	
850
		}
764
	public BoundSpecification_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
765
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
766
	}
767
	
768
	@Override
769
	public Assignment getGrammarElement() {
770
		return grammarAccess.getBoundSpecificationAccess().getValueAssignment();
771
	}
851
772
852
		@Override
773
    @Override
853
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
774
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
854
			switch(index) {
775
		switch(index) {
855
			default:
776
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
856
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
777
		}	
857
			}
778
	}
858
		}
859
779
860
		@Override
780
    @Override	
861
		public IEObjectConsumer tryConsume() {
781
	public IEObjectConsumer tryConsume() {
862
			if(getEObject().eClass() != grammarAccess.getBoundSpecificationRule().getType().getClassifier())
782
		if(getEObject().eClass() != grammarAccess.getBoundSpecificationRule().getType().getClassifier())
863
				return null;
864
			if((value = eObjectConsumer.getConsumable("value", true)) == null)
865
				return null;
866
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
867
			if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0(), value, null)) {
868
				type = AssignmentType.TERMINAL_RULE_CALL;
869
				element = grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0();
870
				return obj;
871
			}
872
			return null;
783
			return null;
784
		if((value = eObjectConsumer.getConsumable("value",true)) == null) return null;
785
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
786
		if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0(), value, null)) {
787
			type = AssignmentType.TERMINAL_RULE_CALL;
788
			element = grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0();
789
			return obj;
873
		}
790
		}
874
791
		return null;
875
	}
792
	}
876
793
877
	/************ end Rule BoundSpecification ****************/
794
}
795
796
/************ end Rule BoundSpecification ****************/
878
797
879
}
798
}
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/AbstractUmlCollaborationUseRuntimeModule.java (-10 / +14 lines)
Lines 14-20 Link Here
14
/**
14
/**
15
 * Manual modifications go to {org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUseRuntimeModule}
15
 * Manual modifications go to {org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUseRuntimeModule}
16
 */
16
 */
17
@SuppressWarnings("all")
17
 @SuppressWarnings("all")
18
public abstract class AbstractUmlCollaborationUseRuntimeModule extends DefaultRuntimeModule {
18
public abstract class AbstractUmlCollaborationUseRuntimeModule extends DefaultRuntimeModule {
19
19
20
	protected Properties properties = null;
20
	protected Properties properties = null;
Lines 24-39 Link Here
24
		properties = tryBindProperties(binder, "org/eclipse/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse.properties");
24
		properties = tryBindProperties(binder, "org/eclipse/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse.properties");
25
		super.configure(binder);
25
		super.configure(binder);
26
	}
26
	}
27
27
	
28
	public void configureLanguageName(Binder binder) {
28
	public void configureLanguageName(Binder binder) {
29
		binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUse");
29
		binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.papyrus.collaborationuse.editor.xtext.UmlCollaborationUse");
30
	}
30
	}
31
31
	
32
	public void configureFileExtensions(Binder binder) {
32
	public void configureFileExtensions(Binder binder) {
33
		if(properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
33
		if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
34
			binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("umlcollaborationuse");
34
			binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("umlcollaborationuse");
35
	}
35
	}
36
36
	
37
	// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
37
	// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
38
	public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
38
	public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
39
		return org.eclipse.papyrus.collaborationuse.editor.xtext.services.UmlCollaborationUseGrammarAccess.class;
39
		return org.eclipse.papyrus.collaborationuse.editor.xtext.services.UmlCollaborationUseGrammarAccess.class;
Lines 45-51 Link Here
45
	}
45
	}
46
46
47
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
47
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
48
	public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrParser> bindIAntlrParser() {
48
	public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
49
		return org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr.UmlCollaborationUseParser.class;
49
		return org.eclipse.papyrus.collaborationuse.editor.xtext.parser.antlr.UmlCollaborationUseParser.class;
50
	}
50
	}
51
51
Lines 80-87 Link Here
80
	}
80
	}
81
81
82
	// contributed by org.eclipse.xtext.generator.validation.JavaValidatorFragment
82
	// contributed by org.eclipse.xtext.generator.validation.JavaValidatorFragment
83
	@org.eclipse.xtext.service.SingletonBinding(eager = true)
83
	@org.eclipse.xtext.service.SingletonBinding(eager=true)	public Class<? extends org.eclipse.papyrus.collaborationuse.editor.xtext.validation.UmlCollaborationUseJavaValidator> bindUmlCollaborationUseJavaValidator() {
84
	public Class<? extends org.eclipse.papyrus.collaborationuse.editor.xtext.validation.UmlCollaborationUseJavaValidator> bindUmlCollaborationUseJavaValidator() {
85
		return org.eclipse.papyrus.collaborationuse.editor.xtext.validation.UmlCollaborationUseJavaValidator.class;
84
		return org.eclipse.papyrus.collaborationuse.editor.xtext.validation.UmlCollaborationUseJavaValidator.class;
86
	}
85
	}
87
86
Lines 92-98 Link Here
92
91
93
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
92
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
94
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
93
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
95
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named("org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegate")).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
94
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
96
	}
95
	}
97
96
98
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
97
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
Lines 100-105 Link Here
100
		return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
99
		return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
101
	}
100
	}
102
101
102
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
103
	public void configureIgnoreCaseLinking(com.google.inject.Binder binder) {
104
		binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false);
105
	}
106
103
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
107
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
104
	public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
108
	public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
105
		return org.eclipse.xtext.naming.SimpleNameProvider.class;
109
		return org.eclipse.xtext.naming.SimpleNameProvider.class;
Lines 122-128 Link Here
122
126
123
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
127
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
124
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
128
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
125
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
129
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
126
	}
130
	}
127
131
128
	// contributed by org.eclipse.xtext.generator.formatting.FormatterFragment
132
	// contributed by org.eclipse.xtext.generator.formatting.FormatterFragment
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/umlCollaborationUse/UmlCollaborationUsePackage.java (-253 / +219 lines)
Lines 10-15 Link Here
10
import org.eclipse.emf.ecore.EClass;
10
import org.eclipse.emf.ecore.EClass;
11
import org.eclipse.emf.ecore.EPackage;
11
import org.eclipse.emf.ecore.EPackage;
12
import org.eclipse.emf.ecore.EReference;
12
import org.eclipse.emf.ecore.EReference;
13
13
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
14
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
14
15
15
/**
16
/**
Lines 17-305 Link Here
17
 * The <b>Package</b> for the model.
18
 * The <b>Package</b> for the model.
18
 * It contains accessors for the meta objects to represent
19
 * It contains accessors for the meta objects to represent
19
 * <ul>
20
 * <ul>
20
 * <li>each class,</li>
21
 *   <li>each class,</li>
21
 * <li>each feature of each class,</li>
22
 *   <li>each feature of each class,</li>
22
 * <li>each enum,</li>
23
 *   <li>each enum,</li>
23
 * <li>and each data type</li>
24
 *   <li>and each data type</li>
24
 * </ul>
25
 * </ul>
25
 * <!-- end-user-doc -->
26
 * <!-- end-user-doc -->
26
 * 
27
 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUseFactory
27
 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUseFactory
28
 * @model kind="package"
28
 * @model kind="package"
29
 * @generated
29
 * @generated
30
 */
30
 */
31
public interface UmlCollaborationUsePackage extends EPackage {
31
public interface UmlCollaborationUsePackage extends EPackage
32
{
33
  /**
34
   * The package name.
35
   * <!-- begin-user-doc -->
36
   * <!-- end-user-doc -->
37
   * @generated
38
   */
39
  String eNAME = "umlCollaborationUse";
32
40
33
	/**
41
  /**
34
	 * The package name.
42
   * The package namespace URI.
35
	 * <!-- begin-user-doc -->
43
   * <!-- begin-user-doc -->
36
	 * <!-- end-user-doc -->
44
   * <!-- end-user-doc -->
37
	 * 
45
   * @generated
38
	 * @generated
46
   */
39
	 */
47
  String eNS_URI = "http://www.eclipse.org/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse";
40
	String eNAME = "umlCollaborationUse";
41
48
42
	/**
49
  /**
43
	 * The package namespace URI.
50
   * The package namespace name.
44
	 * <!-- begin-user-doc -->
51
   * <!-- begin-user-doc -->
45
	 * <!-- end-user-doc -->
52
   * <!-- end-user-doc -->
46
	 * 
53
   * @generated
47
	 * @generated
54
   */
48
	 */
55
  String eNS_PREFIX = "umlCollaborationUse";
49
	String eNS_URI = "http://www.eclipse.org/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse";
50
56
51
	/**
57
  /**
52
	 * The package namespace name.
58
   * The singleton instance of the package.
53
	 * <!-- begin-user-doc -->
59
   * <!-- begin-user-doc -->
54
	 * <!-- end-user-doc -->
60
   * <!-- end-user-doc -->
55
	 * 
61
   * @generated
56
	 * @generated
62
   */
57
	 */
63
  UmlCollaborationUsePackage eINSTANCE = org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.UmlCollaborationUsePackageImpl.init();
58
	String eNS_PREFIX = "umlCollaborationUse";
59
64
60
	/**
65
  /**
61
	 * The singleton instance of the package.
66
   * The meta object id for the '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.CollaborationUseRuleImpl <em>Collaboration Use Rule</em>}' class.
62
	 * <!-- begin-user-doc -->
67
   * <!-- begin-user-doc -->
63
	 * <!-- end-user-doc -->
68
   * <!-- end-user-doc -->
64
	 * 
69
   * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.CollaborationUseRuleImpl
65
	 * @generated
70
   * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.UmlCollaborationUsePackageImpl#getCollaborationUseRule()
66
	 */
71
   * @generated
67
	UmlCollaborationUsePackage eINSTANCE = org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.UmlCollaborationUsePackageImpl.init();
72
   */
73
  int COLLABORATION_USE_RULE = 0;
68
74
69
	/**
75
  /**
70
	 * The meta object id for the '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.CollaborationUseRuleImpl
76
   * The feature id for the '<em><b>Visibility</b></em>' attribute.
71
	 * <em>Collaboration Use Rule</em>}' class.
77
   * <!-- begin-user-doc -->
72
	 * <!-- begin-user-doc -->
78
   * <!-- end-user-doc -->
73
	 * <!-- end-user-doc -->
79
   * @generated
74
	 * 
80
   * @ordered
75
	 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.CollaborationUseRuleImpl
81
   */
76
	 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.UmlCollaborationUsePackageImpl#getCollaborationUseRule()
82
  int COLLABORATION_USE_RULE__VISIBILITY = 0;
77
	 * @generated
78
	 */
79
	int COLLABORATION_USE_RULE = 0;
80
83
81
	/**
84
  /**
82
	 * The feature id for the '<em><b>Visibility</b></em>' attribute.
85
   * The feature id for the '<em><b>Name</b></em>' attribute.
83
	 * <!-- begin-user-doc -->
86
   * <!-- begin-user-doc -->
84
	 * <!-- end-user-doc -->
87
   * <!-- end-user-doc -->
85
	 * 
88
   * @generated
86
	 * @generated
89
   * @ordered
87
	 * @ordered
90
   */
88
	 */
91
  int COLLABORATION_USE_RULE__NAME = 1;
89
	int COLLABORATION_USE_RULE__VISIBILITY = 0;
90
92
91
	/**
93
  /**
92
	 * The feature id for the '<em><b>Name</b></em>' attribute.
94
   * The feature id for the '<em><b>Type</b></em>' containment reference.
93
	 * <!-- begin-user-doc -->
95
   * <!-- begin-user-doc -->
94
	 * <!-- end-user-doc -->
96
   * <!-- end-user-doc -->
95
	 * 
97
   * @generated
96
	 * @generated
98
   * @ordered
97
	 * @ordered
99
   */
98
	 */
100
  int COLLABORATION_USE_RULE__TYPE = 2;
99
	int COLLABORATION_USE_RULE__NAME = 1;
100
101
101
	/**
102
  /**
102
	 * The feature id for the '<em><b>Type</b></em>' containment reference.
103
   * The number of structural features of the '<em>Collaboration Use Rule</em>' class.
103
	 * <!-- begin-user-doc -->
104
   * <!-- begin-user-doc -->
104
	 * <!-- end-user-doc -->
105
   * <!-- end-user-doc -->
105
	 * 
106
   * @generated
106
	 * @generated
107
   * @ordered
107
	 * @ordered
108
   */
108
	 */
109
  int COLLABORATION_USE_RULE_FEATURE_COUNT = 3;
109
	int COLLABORATION_USE_RULE__TYPE = 2;
110
110
111
	/**
111
  /**
112
	 * The number of structural features of the '<em>Collaboration Use Rule</em>' class.
112
   * The meta object id for the '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.TypeRuleImpl <em>Type Rule</em>}' class.
113
	 * <!-- begin-user-doc -->
113
   * <!-- begin-user-doc -->
114
	 * <!-- end-user-doc -->
114
   * <!-- end-user-doc -->
115
	 * 
115
   * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.TypeRuleImpl
116
	 * @generated
116
   * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.UmlCollaborationUsePackageImpl#getTypeRule()
117
	 * @ordered
117
   * @generated
118
	 */
118
   */
119
	int COLLABORATION_USE_RULE_FEATURE_COUNT = 3;
119
  int TYPE_RULE = 1;
120
120
121
	/**
121
  /**
122
	 * The meta object id for the '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.TypeRuleImpl <em>Type Rule</em>}'
122
   * The feature id for the '<em><b>Path</b></em>' containment reference.
123
	 * class.
123
   * <!-- begin-user-doc -->
124
	 * <!-- begin-user-doc -->
124
   * <!-- end-user-doc -->
125
	 * <!-- end-user-doc -->
125
   * @generated
126
	 * 
126
   * @ordered
127
	 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.TypeRuleImpl
127
   */
128
	 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.UmlCollaborationUsePackageImpl#getTypeRule()
128
  int TYPE_RULE__PATH = UmlCommonPackage.TYPE_RULE__PATH;
129
	 * @generated
130
	 */
131
	int TYPE_RULE = 1;
132
129
133
	/**
130
  /**
134
	 * The feature id for the '<em><b>Path</b></em>' containment reference.
131
   * The feature id for the '<em><b>Type</b></em>' reference.
135
	 * <!-- begin-user-doc -->
132
   * <!-- begin-user-doc -->
136
	 * <!-- end-user-doc -->
133
   * <!-- end-user-doc -->
137
	 * 
134
   * @generated
138
	 * @generated
135
   * @ordered
139
	 * @ordered
136
   */
140
	 */
137
  int TYPE_RULE__TYPE = UmlCommonPackage.TYPE_RULE__TYPE;
141
	int TYPE_RULE__PATH = UmlCommonPackage.TYPE_RULE__PATH;
142
138
143
	/**
139
  /**
144
	 * The feature id for the '<em><b>Type</b></em>' reference.
140
   * The number of structural features of the '<em>Type Rule</em>' class.
145
	 * <!-- begin-user-doc -->
141
   * <!-- begin-user-doc -->
146
	 * <!-- end-user-doc -->
142
   * <!-- end-user-doc -->
147
	 * 
143
   * @generated
148
	 * @generated
144
   * @ordered
149
	 * @ordered
145
   */
150
	 */
146
  int TYPE_RULE_FEATURE_COUNT = UmlCommonPackage.TYPE_RULE_FEATURE_COUNT + 0;
151
	int TYPE_RULE__TYPE = UmlCommonPackage.TYPE_RULE__TYPE;
152
147
153
	/**
154
	 * The number of structural features of the '<em>Type Rule</em>' class.
155
	 * <!-- begin-user-doc -->
156
	 * <!-- end-user-doc -->
157
	 * 
158
	 * @generated
159
	 * @ordered
160
	 */
161
	int TYPE_RULE_FEATURE_COUNT = UmlCommonPackage.TYPE_RULE_FEATURE_COUNT + 0;
162
148
149
  /**
150
   * Returns the meta object for class '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule <em>Collaboration Use Rule</em>}'.
151
   * <!-- begin-user-doc -->
152
   * <!-- end-user-doc -->
153
   * @return the meta object for class '<em>Collaboration Use Rule</em>'.
154
   * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule
155
   * @generated
156
   */
157
  EClass getCollaborationUseRule();
163
158
164
	/**
159
  /**
165
	 * Returns the meta object for class '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule
160
   * Returns the meta object for the attribute '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getVisibility <em>Visibility</em>}'.
166
	 * <em>Collaboration Use Rule</em>}'.
161
   * <!-- begin-user-doc -->
167
	 * <!-- begin-user-doc -->
162
   * <!-- end-user-doc -->
168
	 * <!-- end-user-doc -->
163
   * @return the meta object for the attribute '<em>Visibility</em>'.
169
	 * 
164
   * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getVisibility()
170
	 * @return the meta object for class '<em>Collaboration Use Rule</em>'.
165
   * @see #getCollaborationUseRule()
171
	 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule
166
   * @generated
172
	 * @generated
167
   */
173
	 */
168
  EAttribute getCollaborationUseRule_Visibility();
174
	EClass getCollaborationUseRule();
175
169
176
	/**
170
  /**
177
	 * Returns the meta object for the attribute '
171
   * Returns the meta object for the attribute '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getName <em>Name</em>}'.
178
	 * {@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getVisibility <em>Visibility</em>}'.
172
   * <!-- begin-user-doc -->
179
	 * <!-- begin-user-doc -->
173
   * <!-- end-user-doc -->
180
	 * <!-- end-user-doc -->
174
   * @return the meta object for the attribute '<em>Name</em>'.
181
	 * 
175
   * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getName()
182
	 * @return the meta object for the attribute '<em>Visibility</em>'.
176
   * @see #getCollaborationUseRule()
183
	 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getVisibility()
177
   * @generated
184
	 * @see #getCollaborationUseRule()
178
   */
185
	 * @generated
179
  EAttribute getCollaborationUseRule_Name();
186
	 */
187
	EAttribute getCollaborationUseRule_Visibility();
188
180
189
	/**
181
  /**
190
	 * Returns the meta object for the attribute '
182
   * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getType <em>Type</em>}'.
191
	 * {@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getName <em>Name</em>}'.
183
   * <!-- begin-user-doc -->
192
	 * <!-- begin-user-doc -->
184
   * <!-- end-user-doc -->
193
	 * <!-- end-user-doc -->
185
   * @return the meta object for the containment reference '<em>Type</em>'.
194
	 * 
186
   * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getType()
195
	 * @return the meta object for the attribute '<em>Name</em>'.
187
   * @see #getCollaborationUseRule()
196
	 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getName()
188
   * @generated
197
	 * @see #getCollaborationUseRule()
189
   */
198
	 * @generated
190
  EReference getCollaborationUseRule_Type();
199
	 */
200
	EAttribute getCollaborationUseRule_Name();
201
191
202
	/**
192
  /**
203
	 * Returns the meta object for the containment reference '
193
   * Returns the meta object for class '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule <em>Type Rule</em>}'.
204
	 * {@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getType <em>Type</em>}'.
194
   * <!-- begin-user-doc -->
205
	 * <!-- begin-user-doc -->
195
   * <!-- end-user-doc -->
206
	 * <!-- end-user-doc -->
196
   * @return the meta object for class '<em>Type Rule</em>'.
207
	 * 
197
   * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule
208
	 * @return the meta object for the containment reference '<em>Type</em>'.
198
   * @generated
209
	 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getType()
199
   */
210
	 * @see #getCollaborationUseRule()
200
  EClass getTypeRule();
211
	 * @generated
212
	 */
213
	EReference getCollaborationUseRule_Type();
214
201
215
	/**
202
  /**
216
	 * Returns the meta object for class '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule <em>Type Rule</em>}'.
203
   * Returns the factory that creates the instances of the model.
217
	 * <!-- begin-user-doc -->
204
   * <!-- begin-user-doc -->
218
	 * <!-- end-user-doc -->
205
   * <!-- end-user-doc -->
219
	 * 
206
   * @return the factory that creates the instances of the model.
220
	 * @return the meta object for class '<em>Type Rule</em>'.
207
   * @generated
221
	 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule
208
   */
222
	 * @generated
209
  UmlCollaborationUseFactory getUmlCollaborationUseFactory();
223
	 */
224
	EClass getTypeRule();
225
210
226
	/**
211
  /**
227
	 * Returns the factory that creates the instances of the model.
212
   * <!-- begin-user-doc -->
228
	 * <!-- begin-user-doc -->
213
   * Defines literals for the meta objects that represent
229
	 * <!-- end-user-doc -->
214
   * <ul>
230
	 * 
215
   *   <li>each class,</li>
231
	 * @return the factory that creates the instances of the model.
216
   *   <li>each feature of each class,</li>
232
	 * @generated
217
   *   <li>each enum,</li>
233
	 */
218
   *   <li>and each data type</li>
234
	UmlCollaborationUseFactory getUmlCollaborationUseFactory();
219
   * </ul>
220
   * <!-- end-user-doc -->
221
   * @generated
222
   */
223
  interface Literals
224
  {
225
    /**
226
     * The meta object literal for the '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.CollaborationUseRuleImpl <em>Collaboration Use Rule</em>}' class.
227
     * <!-- begin-user-doc -->
228
     * <!-- end-user-doc -->
229
     * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.CollaborationUseRuleImpl
230
     * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.UmlCollaborationUsePackageImpl#getCollaborationUseRule()
231
     * @generated
232
     */
233
    EClass COLLABORATION_USE_RULE = eINSTANCE.getCollaborationUseRule();
235
234
236
	/**
235
    /**
237
	 * <!-- begin-user-doc -->
236
     * The meta object literal for the '<em><b>Visibility</b></em>' attribute feature.
238
	 * Defines literals for the meta objects that represent
237
     * <!-- begin-user-doc -->
239
	 * <ul>
238
     * <!-- end-user-doc -->
240
	 * <li>each class,</li>
239
     * @generated
241
	 * <li>each feature of each class,</li>
240
     */
242
	 * <li>each enum,</li>
241
    EAttribute COLLABORATION_USE_RULE__VISIBILITY = eINSTANCE.getCollaborationUseRule_Visibility();
243
	 * <li>and each data type</li>
244
	 * </ul>
245
	 * <!-- end-user-doc -->
246
	 * 
247
	 * @generated
248
	 */
249
	interface Literals {
250
242
251
		/**
243
    /**
252
		 * The meta object literal for the '
244
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
253
		 * {@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.CollaborationUseRuleImpl <em>Collaboration Use Rule</em>}
245
     * <!-- begin-user-doc -->
254
		 * ' class.
246
     * <!-- end-user-doc -->
255
		 * <!-- begin-user-doc -->
247
     * @generated
256
		 * <!-- end-user-doc -->
248
     */
257
		 * 
249
    EAttribute COLLABORATION_USE_RULE__NAME = eINSTANCE.getCollaborationUseRule_Name();
258
		 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.CollaborationUseRuleImpl
259
		 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.UmlCollaborationUsePackageImpl#getCollaborationUseRule()
260
		 * @generated
261
		 */
262
		EClass COLLABORATION_USE_RULE = eINSTANCE.getCollaborationUseRule();
263
250
264
		/**
251
    /**
265
		 * The meta object literal for the '<em><b>Visibility</b></em>' attribute feature.
252
     * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.
266
		 * <!-- begin-user-doc -->
253
     * <!-- begin-user-doc -->
267
		 * <!-- end-user-doc -->
254
     * <!-- end-user-doc -->
268
		 * 
255
     * @generated
269
		 * @generated
256
     */
270
		 */
257
    EReference COLLABORATION_USE_RULE__TYPE = eINSTANCE.getCollaborationUseRule_Type();
271
		EAttribute COLLABORATION_USE_RULE__VISIBILITY = eINSTANCE.getCollaborationUseRule_Visibility();
272
258
273
		/**
259
    /**
274
		 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
260
     * The meta object literal for the '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.TypeRuleImpl <em>Type Rule</em>}' class.
275
		 * <!-- begin-user-doc -->
261
     * <!-- begin-user-doc -->
276
		 * <!-- end-user-doc -->
262
     * <!-- end-user-doc -->
277
		 * 
263
     * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.TypeRuleImpl
278
		 * @generated
264
     * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.UmlCollaborationUsePackageImpl#getTypeRule()
279
		 */
265
     * @generated
280
		EAttribute COLLABORATION_USE_RULE__NAME = eINSTANCE.getCollaborationUseRule_Name();
266
     */
267
    EClass TYPE_RULE = eINSTANCE.getTypeRule();
281
268
282
		/**
269
  }
283
		 * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.
284
		 * <!-- begin-user-doc -->
285
		 * <!-- end-user-doc -->
286
		 * 
287
		 * @generated
288
		 */
289
		EReference COLLABORATION_USE_RULE__TYPE = eINSTANCE.getCollaborationUseRule_Type();
290
291
		/**
292
		 * The meta object literal for the '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.TypeRuleImpl
293
		 * <em>Type Rule</em>}' class.
294
		 * <!-- begin-user-doc -->
295
		 * <!-- end-user-doc -->
296
		 * 
297
		 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.TypeRuleImpl
298
		 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.UmlCollaborationUsePackageImpl#getTypeRule()
299
		 * @generated
300
		 */
301
		EClass TYPE_RULE = eINSTANCE.getTypeRule();
302
303
	}
304
270
305
} //UmlCollaborationUsePackage
271
} //UmlCollaborationUsePackage
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/umlCollaborationUse/UmlCollaborationUseFactory.java (-38 / +33 lines)
Lines 13-61 Link Here
13
 * The <b>Factory</b> for the model.
13
 * The <b>Factory</b> for the model.
14
 * It provides a create method for each non-abstract class of the model.
14
 * It provides a create method for each non-abstract class of the model.
15
 * <!-- end-user-doc -->
15
 * <!-- end-user-doc -->
16
 * 
17
 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage
16
 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage
18
 * @generated
17
 * @generated
19
 */
18
 */
20
public interface UmlCollaborationUseFactory extends EFactory {
19
public interface UmlCollaborationUseFactory extends EFactory
20
{
21
  /**
22
   * The singleton instance of the factory.
23
   * <!-- begin-user-doc -->
24
   * <!-- end-user-doc -->
25
   * @generated
26
   */
27
  UmlCollaborationUseFactory eINSTANCE = org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.UmlCollaborationUseFactoryImpl.init();
21
28
22
	/**
29
  /**
23
	 * The singleton instance of the factory.
30
   * Returns a new object of class '<em>Collaboration Use Rule</em>'.
24
	 * <!-- begin-user-doc -->
31
   * <!-- begin-user-doc -->
25
	 * <!-- end-user-doc -->
32
   * <!-- end-user-doc -->
26
	 * 
33
   * @return a new object of class '<em>Collaboration Use Rule</em>'.
27
	 * @generated
34
   * @generated
28
	 */
35
   */
29
	UmlCollaborationUseFactory eINSTANCE = org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.UmlCollaborationUseFactoryImpl.init();
36
  CollaborationUseRule createCollaborationUseRule();
30
37
31
	/**
38
  /**
32
	 * Returns a new object of class '<em>Collaboration Use Rule</em>'.
39
   * Returns a new object of class '<em>Type Rule</em>'.
33
	 * <!-- begin-user-doc -->
40
   * <!-- begin-user-doc -->
34
	 * <!-- end-user-doc -->
41
   * <!-- end-user-doc -->
35
	 * 
42
   * @return a new object of class '<em>Type Rule</em>'.
36
	 * @return a new object of class '<em>Collaboration Use Rule</em>'.
43
   * @generated
37
	 * @generated
44
   */
38
	 */
45
  TypeRule createTypeRule();
39
	CollaborationUseRule createCollaborationUseRule();
40
46
41
	/**
47
  /**
42
	 * Returns a new object of class '<em>Type Rule</em>'.
48
   * Returns the package supported by this factory.
43
	 * <!-- begin-user-doc -->
49
   * <!-- begin-user-doc -->
44
	 * <!-- end-user-doc -->
50
   * <!-- end-user-doc -->
45
	 * 
51
   * @return the package supported by this factory.
46
	 * @return a new object of class '<em>Type Rule</em>'.
52
   * @generated
47
	 * @generated
53
   */
48
	 */
54
  UmlCollaborationUsePackage getUmlCollaborationUsePackage();
49
	TypeRule createTypeRule();
50
51
	/**
52
	 * Returns the package supported by this factory.
53
	 * <!-- begin-user-doc -->
54
	 * <!-- end-user-doc -->
55
	 * 
56
	 * @return the package supported by this factory.
57
	 * @generated
58
	 */
59
	UmlCollaborationUsePackage getUmlCollaborationUsePackage();
60
55
61
} //UmlCollaborationUseFactory
56
} //UmlCollaborationUseFactory
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/umlCollaborationUse/impl/TypeRuleImpl.java (-22 / +23 lines)
Lines 7-12 Link Here
7
package org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl;
7
package org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl;
8
8
9
import org.eclipse.emf.ecore.EClass;
9
import org.eclipse.emf.ecore.EClass;
10
10
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule;
11
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule;
11
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage;
12
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage;
12
13
Lines 16-45 Link Here
16
 * <!-- end-user-doc -->
17
 * <!-- end-user-doc -->
17
 * <p>
18
 * <p>
18
 * </p>
19
 * </p>
19
 * 
20
 *
20
 * @generated
21
 * @generated
21
 */
22
 */
22
public class TypeRuleImpl extends org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.TypeRuleImpl implements TypeRule {
23
public class TypeRuleImpl extends org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.TypeRuleImpl implements TypeRule
24
{
25
  /**
26
   * <!-- begin-user-doc -->
27
   * <!-- end-user-doc -->
28
   * @generated
29
   */
30
  protected TypeRuleImpl()
31
  {
32
    super();
33
  }
23
34
24
	/**
35
  /**
25
	 * <!-- begin-user-doc -->
36
   * <!-- begin-user-doc -->
26
	 * <!-- end-user-doc -->
37
   * <!-- end-user-doc -->
27
	 * 
38
   * @generated
28
	 * @generated
39
   */
29
	 */
40
  @Override
30
	protected TypeRuleImpl() {
41
  protected EClass eStaticClass()
31
		super();
42
  {
32
	}
43
    return UmlCollaborationUsePackage.Literals.TYPE_RULE;
33
44
  }
34
	/**
35
	 * <!-- begin-user-doc -->
36
	 * <!-- end-user-doc -->
37
	 * 
38
	 * @generated
39
	 */
40
	@Override
41
	protected EClass eStaticClass() {
42
		return UmlCollaborationUsePackage.Literals.TYPE_RULE;
43
	}
44
45
45
} //TypeRuleImpl
46
} //TypeRuleImpl
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/umlCollaborationUse/impl/CollaborationUseRuleImpl.java (-273 / +275 lines)
Lines 8-20 Link Here
8
8
9
import org.eclipse.emf.common.notify.Notification;
9
import org.eclipse.emf.common.notify.Notification;
10
import org.eclipse.emf.common.notify.NotificationChain;
10
import org.eclipse.emf.common.notify.NotificationChain;
11
11
import org.eclipse.emf.ecore.EClass;
12
import org.eclipse.emf.ecore.EClass;
12
import org.eclipse.emf.ecore.InternalEObject;
13
import org.eclipse.emf.ecore.InternalEObject;
14
13
import org.eclipse.emf.ecore.impl.ENotificationImpl;
15
import org.eclipse.emf.ecore.impl.ENotificationImpl;
14
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
16
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
17
15
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule;
18
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule;
16
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule;
19
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule;
17
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage;
20
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage;
21
18
import org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind;
22
import org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind;
19
23
20
/**
24
/**
Lines 24-325 Link Here
24
 * <p>
28
 * <p>
25
 * The following features are implemented:
29
 * The following features are implemented:
26
 * <ul>
30
 * <ul>
27
 * <li>{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.CollaborationUseRuleImpl#getVisibility <em>Visibility</em>}</li>
31
 *   <li>{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.CollaborationUseRuleImpl#getVisibility <em>Visibility</em>}</li>
28
 * <li>{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.CollaborationUseRuleImpl#getName <em>Name</em>}</li>
32
 *   <li>{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.CollaborationUseRuleImpl#getName <em>Name</em>}</li>
29
 * <li>{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.CollaborationUseRuleImpl#getType <em>Type</em>}</li>
33
 *   <li>{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.impl.CollaborationUseRuleImpl#getType <em>Type</em>}</li>
30
 * </ul>
34
 * </ul>
31
 * </p>
35
 * </p>
32
 * 
36
 *
33
 * @generated
37
 * @generated
34
 */
38
 */
35
public class CollaborationUseRuleImpl extends MinimalEObjectImpl.Container implements CollaborationUseRule {
39
public class CollaborationUseRuleImpl extends MinimalEObjectImpl.Container implements CollaborationUseRule
40
{
41
  /**
42
   * The default value of the '{@link #getVisibility() <em>Visibility</em>}' attribute.
43
   * <!-- begin-user-doc -->
44
   * <!-- end-user-doc -->
45
   * @see #getVisibility()
46
   * @generated
47
   * @ordered
48
   */
49
  protected static final VisibilityKind VISIBILITY_EDEFAULT = VisibilityKind.PUBLIC;
36
50
37
	/**
51
  /**
38
	 * The default value of the '{@link #getVisibility() <em>Visibility</em>}' attribute.
52
   * The cached value of the '{@link #getVisibility() <em>Visibility</em>}' attribute.
39
	 * <!-- begin-user-doc -->
53
   * <!-- begin-user-doc -->
40
	 * <!-- end-user-doc -->
54
   * <!-- end-user-doc -->
41
	 * 
55
   * @see #getVisibility()
42
	 * @see #getVisibility()
56
   * @generated
43
	 * @generated
57
   * @ordered
44
	 * @ordered
58
   */
45
	 */
59
  protected VisibilityKind visibility = VISIBILITY_EDEFAULT;
46
	protected static final VisibilityKind VISIBILITY_EDEFAULT = VisibilityKind.PUBLIC;
47
60
48
	/**
61
  /**
49
	 * The cached value of the '{@link #getVisibility() <em>Visibility</em>}' attribute.
62
   * The default value of the '{@link #getName() <em>Name</em>}' attribute.
50
	 * <!-- begin-user-doc -->
63
   * <!-- begin-user-doc -->
51
	 * <!-- end-user-doc -->
64
   * <!-- end-user-doc -->
52
	 * 
65
   * @see #getName()
53
	 * @see #getVisibility()
66
   * @generated
54
	 * @generated
67
   * @ordered
55
	 * @ordered
68
   */
56
	 */
69
  protected static final String NAME_EDEFAULT = null;
57
	protected VisibilityKind visibility = VISIBILITY_EDEFAULT;
58
70
59
	/**
71
  /**
60
	 * The default value of the '{@link #getName() <em>Name</em>}' attribute.
72
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
61
	 * <!-- begin-user-doc -->
73
   * <!-- begin-user-doc -->
62
	 * <!-- end-user-doc -->
74
   * <!-- end-user-doc -->
63
	 * 
75
   * @see #getName()
64
	 * @see #getName()
76
   * @generated
65
	 * @generated
77
   * @ordered
66
	 * @ordered
78
   */
67
	 */
79
  protected String name = NAME_EDEFAULT;
68
	protected static final String NAME_EDEFAULT = null;
69
80
70
	/**
81
  /**
71
	 * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
82
   * The cached value of the '{@link #getType() <em>Type</em>}' containment reference.
72
	 * <!-- begin-user-doc -->
83
   * <!-- begin-user-doc -->
73
	 * <!-- end-user-doc -->
84
   * <!-- end-user-doc -->
74
	 * 
85
   * @see #getType()
75
	 * @see #getName()
86
   * @generated
76
	 * @generated
87
   * @ordered
77
	 * @ordered
88
   */
78
	 */
89
  protected TypeRule type;
79
	protected String name = NAME_EDEFAULT;
80
90
81
	/**
91
  /**
82
	 * The cached value of the '{@link #getType() <em>Type</em>}' containment reference.
92
   * <!-- begin-user-doc -->
83
	 * <!-- begin-user-doc -->
93
   * <!-- end-user-doc -->
84
	 * <!-- end-user-doc -->
94
   * @generated
85
	 * 
95
   */
86
	 * @see #getType()
96
  protected CollaborationUseRuleImpl()
87
	 * @generated
97
  {
88
	 * @ordered
98
    super();
89
	 */
99
  }
90
	protected TypeRule type;
91
100
92
	/**
101
  /**
93
	 * <!-- begin-user-doc -->
102
   * <!-- begin-user-doc -->
94
	 * <!-- end-user-doc -->
103
   * <!-- end-user-doc -->
95
	 * 
104
   * @generated
96
	 * @generated
105
   */
97
	 */
106
  @Override
98
	protected CollaborationUseRuleImpl() {
107
  protected EClass eStaticClass()
99
		super();
108
  {
100
	}
109
    return UmlCollaborationUsePackage.Literals.COLLABORATION_USE_RULE;
110
  }
101
111
102
	/**
112
  /**
103
	 * <!-- begin-user-doc -->
113
   * <!-- begin-user-doc -->
104
	 * <!-- end-user-doc -->
114
   * <!-- end-user-doc -->
105
	 * 
115
   * @generated
106
	 * @generated
116
   */
107
	 */
117
  public VisibilityKind getVisibility()
108
	@Override
118
  {
109
	protected EClass eStaticClass() {
119
    return visibility;
110
		return UmlCollaborationUsePackage.Literals.COLLABORATION_USE_RULE;
120
  }
111
	}
112
121
113
	/**
122
  /**
114
	 * <!-- begin-user-doc -->
123
   * <!-- begin-user-doc -->
115
	 * <!-- end-user-doc -->
124
   * <!-- end-user-doc -->
116
	 * 
125
   * @generated
117
	 * @generated
126
   */
118
	 */
127
  public void setVisibility(VisibilityKind newVisibility)
119
	public VisibilityKind getVisibility() {
128
  {
120
		return visibility;
129
    VisibilityKind oldVisibility = visibility;
121
	}
130
    visibility = newVisibility == null ? VISIBILITY_EDEFAULT : newVisibility;
131
    if (eNotificationRequired())
132
      eNotify(new ENotificationImpl(this, Notification.SET, UmlCollaborationUsePackage.COLLABORATION_USE_RULE__VISIBILITY, oldVisibility, visibility));
133
  }
122
134
123
	/**
135
  /**
124
	 * <!-- begin-user-doc -->
136
   * <!-- begin-user-doc -->
125
	 * <!-- end-user-doc -->
137
   * <!-- end-user-doc -->
126
	 * 
138
   * @generated
127
	 * @generated
139
   */
128
	 */
140
  public String getName()
129
	public void setVisibility(VisibilityKind newVisibility) {
141
  {
130
		VisibilityKind oldVisibility = visibility;
142
    return name;
131
		visibility = newVisibility == null ? VISIBILITY_EDEFAULT : newVisibility;
143
  }
132
		if(eNotificationRequired())
133
			eNotify(new ENotificationImpl(this, Notification.SET, UmlCollaborationUsePackage.COLLABORATION_USE_RULE__VISIBILITY, oldVisibility, visibility));
134
	}
135
144
136
	/**
145
  /**
137
	 * <!-- begin-user-doc -->
146
   * <!-- begin-user-doc -->
138
	 * <!-- end-user-doc -->
147
   * <!-- end-user-doc -->
139
	 * 
148
   * @generated
140
	 * @generated
149
   */
141
	 */
150
  public void setName(String newName)
142
	public String getName() {
151
  {
143
		return name;
152
    String oldName = name;
144
	}
153
    name = newName;
154
    if (eNotificationRequired())
155
      eNotify(new ENotificationImpl(this, Notification.SET, UmlCollaborationUsePackage.COLLABORATION_USE_RULE__NAME, oldName, name));
156
  }
145
157
146
	/**
158
  /**
147
	 * <!-- begin-user-doc -->
159
   * <!-- begin-user-doc -->
148
	 * <!-- end-user-doc -->
160
   * <!-- end-user-doc -->
149
	 * 
161
   * @generated
150
	 * @generated
162
   */
151
	 */
163
  public TypeRule getType()
152
	public void setName(String newName) {
164
  {
153
		String oldName = name;
165
    return type;
154
		name = newName;
166
  }
155
		if(eNotificationRequired())
156
			eNotify(new ENotificationImpl(this, Notification.SET, UmlCollaborationUsePackage.COLLABORATION_USE_RULE__NAME, oldName, name));
157
	}
158
167
159
	/**
168
  /**
160
	 * <!-- begin-user-doc -->
169
   * <!-- begin-user-doc -->
161
	 * <!-- end-user-doc -->
170
   * <!-- end-user-doc -->
162
	 * 
171
   * @generated
163
	 * @generated
172
   */
164
	 */
173
  public NotificationChain basicSetType(TypeRule newType, NotificationChain msgs)
165
	public TypeRule getType() {
174
  {
166
		return type;
175
    TypeRule oldType = type;
167
	}
176
    type = newType;
177
    if (eNotificationRequired())
178
    {
179
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE, oldType, newType);
180
      if (msgs == null) msgs = notification; else msgs.add(notification);
181
    }
182
    return msgs;
183
  }
168
184
169
	/**
185
  /**
170
	 * <!-- begin-user-doc -->
186
   * <!-- begin-user-doc -->
171
	 * <!-- end-user-doc -->
187
   * <!-- end-user-doc -->
172
	 * 
188
   * @generated
173
	 * @generated
189
   */
174
	 */
190
  public void setType(TypeRule newType)
175
	public NotificationChain basicSetType(TypeRule newType, NotificationChain msgs) {
191
  {
176
		TypeRule oldType = type;
192
    if (newType != type)
177
		type = newType;
193
    {
178
		if(eNotificationRequired()) {
194
      NotificationChain msgs = null;
179
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE, oldType, newType);
195
      if (type != null)
180
			if(msgs == null)
196
        msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE, null, msgs);
181
				msgs = notification;
197
      if (newType != null)
182
			else
198
        msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE, null, msgs);
183
				msgs.add(notification);
199
      msgs = basicSetType(newType, msgs);
184
		}
200
      if (msgs != null) msgs.dispatch();
185
		return msgs;
201
    }
186
	}
202
    else if (eNotificationRequired())
203
      eNotify(new ENotificationImpl(this, Notification.SET, UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE, newType, newType));
204
  }
187
205
188
	/**
206
  /**
189
	 * <!-- begin-user-doc -->
207
   * <!-- begin-user-doc -->
190
	 * <!-- end-user-doc -->
208
   * <!-- end-user-doc -->
191
	 * 
209
   * @generated
192
	 * @generated
210
   */
193
	 */
211
  @Override
194
	public void setType(TypeRule newType) {
212
  public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
195
		if(newType != type) {
213
  {
196
			NotificationChain msgs = null;
214
    switch (featureID)
197
			if(type != null)
215
    {
198
				msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE, null, msgs);
216
      case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE:
199
			if(newType != null)
217
        return basicSetType(null, msgs);
200
				msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE, null, msgs);
218
    }
201
			msgs = basicSetType(newType, msgs);
219
    return super.eInverseRemove(otherEnd, featureID, msgs);
202
			if(msgs != null)
220
  }
203
				msgs.dispatch();
204
		} else if(eNotificationRequired())
205
			eNotify(new ENotificationImpl(this, Notification.SET, UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE, newType, newType));
206
	}
207
221
208
	/**
222
  /**
209
	 * <!-- begin-user-doc -->
223
   * <!-- begin-user-doc -->
210
	 * <!-- end-user-doc -->
224
   * <!-- end-user-doc -->
211
	 * 
225
   * @generated
212
	 * @generated
226
   */
213
	 */
227
  @Override
214
	@Override
228
  public Object eGet(int featureID, boolean resolve, boolean coreType)
215
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
229
  {
216
		switch(featureID) {
230
    switch (featureID)
217
		case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE:
231
    {
218
			return basicSetType(null, msgs);
232
      case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__VISIBILITY:
219
		}
233
        return getVisibility();
220
		return super.eInverseRemove(otherEnd, featureID, msgs);
234
      case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__NAME:
221
	}
235
        return getName();
236
      case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE:
237
        return getType();
238
    }
239
    return super.eGet(featureID, resolve, coreType);
240
  }
222
241
223
	/**
242
  /**
224
	 * <!-- begin-user-doc -->
243
   * <!-- begin-user-doc -->
225
	 * <!-- end-user-doc -->
244
   * <!-- end-user-doc -->
226
	 * 
245
   * @generated
227
	 * @generated
246
   */
228
	 */
247
  @Override
229
	@Override
248
  public void eSet(int featureID, Object newValue)
230
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
249
  {
231
		switch(featureID) {
250
    switch (featureID)
232
		case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__VISIBILITY:
251
    {
233
			return getVisibility();
252
      case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__VISIBILITY:
234
		case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__NAME:
253
        setVisibility((VisibilityKind)newValue);
235
			return getName();
254
        return;
236
		case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE:
255
      case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__NAME:
237
			return getType();
256
        setName((String)newValue);
238
		}
257
        return;
239
		return super.eGet(featureID, resolve, coreType);
258
      case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE:
240
	}
259
        setType((TypeRule)newValue);
260
        return;
261
    }
262
    super.eSet(featureID, newValue);
263
  }
241
264
242
	/**
265
  /**
243
	 * <!-- begin-user-doc -->
266
   * <!-- begin-user-doc -->
244
	 * <!-- end-user-doc -->
267
   * <!-- end-user-doc -->
245
	 * 
268
   * @generated
246
	 * @generated
269
   */
247
	 */
270
  @Override
248
	@Override
271
  public void eUnset(int featureID)
249
	public void eSet(int featureID, Object newValue) {
272
  {
250
		switch(featureID) {
273
    switch (featureID)
251
		case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__VISIBILITY:
274
    {
252
			setVisibility((VisibilityKind)newValue);
275
      case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__VISIBILITY:
253
			return;
276
        setVisibility(VISIBILITY_EDEFAULT);
254
		case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__NAME:
277
        return;
255
			setName((String)newValue);
278
      case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__NAME:
256
			return;
279
        setName(NAME_EDEFAULT);
257
		case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE:
280
        return;
258
			setType((TypeRule)newValue);
281
      case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE:
259
			return;
282
        setType((TypeRule)null);
260
		}
283
        return;
261
		super.eSet(featureID, newValue);
284
    }
262
	}
285
    super.eUnset(featureID);
286
  }
263
287
264
	/**
288
  /**
265
	 * <!-- begin-user-doc -->
289
   * <!-- begin-user-doc -->
266
	 * <!-- end-user-doc -->
290
   * <!-- end-user-doc -->
267
	 * 
291
   * @generated
268
	 * @generated
292
   */
269
	 */
293
  @Override
270
	@Override
294
  public boolean eIsSet(int featureID)
271
	public void eUnset(int featureID) {
295
  {
272
		switch(featureID) {
296
    switch (featureID)
273
		case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__VISIBILITY:
297
    {
274
			setVisibility(VISIBILITY_EDEFAULT);
298
      case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__VISIBILITY:
275
			return;
299
        return visibility != VISIBILITY_EDEFAULT;
276
		case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__NAME:
300
      case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__NAME:
277
			setName(NAME_EDEFAULT);
301
        return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
278
			return;
302
      case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE:
279
		case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE:
303
        return type != null;
280
			setType((TypeRule)null);
304
    }
281
			return;
305
    return super.eIsSet(featureID);
282
		}
306
  }
283
		super.eUnset(featureID);
284
	}
285
307
286
	/**
308
  /**
287
	 * <!-- begin-user-doc -->
309
   * <!-- begin-user-doc -->
288
	 * <!-- end-user-doc -->
310
   * <!-- end-user-doc -->
289
	 * 
311
   * @generated
290
	 * @generated
312
   */
291
	 */
313
  @Override
292
	@Override
314
  public String toString()
293
	public boolean eIsSet(int featureID) {
315
  {
294
		switch(featureID) {
316
    if (eIsProxy()) return super.toString();
295
		case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__VISIBILITY:
296
			return visibility != VISIBILITY_EDEFAULT;
297
		case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__NAME:
298
			return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
299
		case UmlCollaborationUsePackage.COLLABORATION_USE_RULE__TYPE:
300
			return type != null;
301
		}
302
		return super.eIsSet(featureID);
303
	}
304
317
305
	/**
318
    StringBuffer result = new StringBuffer(super.toString());
306
	 * <!-- begin-user-doc -->
319
    result.append(" (visibility: ");
307
	 * <!-- end-user-doc -->
320
    result.append(visibility);
308
	 * 
321
    result.append(", name: ");
309
	 * @generated
322
    result.append(name);
310
	 */
323
    result.append(')');
311
	@Override
324
    return result.toString();
312
	public String toString() {
325
  }
313
		if(eIsProxy())
314
			return super.toString();
315
316
		StringBuffer result = new StringBuffer(super.toString());
317
		result.append(" (visibility: ");
318
		result.append(visibility);
319
		result.append(", name: ");
320
		result.append(name);
321
		result.append(')');
322
		return result.toString();
323
	}
324
326
325
} //CollaborationUseRuleImpl
327
} //CollaborationUseRuleImpl
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/umlCollaborationUse/impl/UmlCollaborationUseFactoryImpl.java (-92 / +94 lines)
Lines 9-120 Link Here
9
import org.eclipse.emf.ecore.EClass;
9
import org.eclipse.emf.ecore.EClass;
10
import org.eclipse.emf.ecore.EObject;
10
import org.eclipse.emf.ecore.EObject;
11
import org.eclipse.emf.ecore.EPackage;
11
import org.eclipse.emf.ecore.EPackage;
12
12
import org.eclipse.emf.ecore.impl.EFactoryImpl;
13
import org.eclipse.emf.ecore.impl.EFactoryImpl;
14
13
import org.eclipse.emf.ecore.plugin.EcorePlugin;
15
import org.eclipse.emf.ecore.plugin.EcorePlugin;
14
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule;
16
15
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule;
17
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.*;
16
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUseFactory;
17
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage;
18
18
19
/**
19
/**
20
 * <!-- begin-user-doc -->
20
 * <!-- begin-user-doc -->
21
 * An implementation of the model <b>Factory</b>.
21
 * An implementation of the model <b>Factory</b>.
22
 * <!-- end-user-doc -->
22
 * <!-- end-user-doc -->
23
 * 
24
 * @generated
23
 * @generated
25
 */
24
 */
26
public class UmlCollaborationUseFactoryImpl extends EFactoryImpl implements UmlCollaborationUseFactory {
25
public class UmlCollaborationUseFactoryImpl extends EFactoryImpl implements UmlCollaborationUseFactory
26
{
27
  /**
28
   * Creates the default factory implementation.
29
   * <!-- begin-user-doc -->
30
   * <!-- end-user-doc -->
31
   * @generated
32
   */
33
  public static UmlCollaborationUseFactory init()
34
  {
35
    try
36
    {
37
      UmlCollaborationUseFactory theUmlCollaborationUseFactory = (UmlCollaborationUseFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse"); 
38
      if (theUmlCollaborationUseFactory != null)
39
      {
40
        return theUmlCollaborationUseFactory;
41
      }
42
    }
43
    catch (Exception exception)
44
    {
45
      EcorePlugin.INSTANCE.log(exception);
46
    }
47
    return new UmlCollaborationUseFactoryImpl();
48
  }
27
49
28
	/**
50
  /**
29
	 * Creates the default factory implementation.
51
   * Creates an instance of the factory.
30
	 * <!-- begin-user-doc -->
52
   * <!-- begin-user-doc -->
31
	 * <!-- end-user-doc -->
53
   * <!-- end-user-doc -->
32
	 * 
54
   * @generated
33
	 * @generated
55
   */
34
	 */
56
  public UmlCollaborationUseFactoryImpl()
35
	public static UmlCollaborationUseFactory init() {
57
  {
36
		try {
58
    super();
37
			UmlCollaborationUseFactory theUmlCollaborationUseFactory = (UmlCollaborationUseFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse");
59
  }
38
			if(theUmlCollaborationUseFactory != null) {
39
				return theUmlCollaborationUseFactory;
40
			}
41
		} catch (Exception exception) {
42
			EcorePlugin.INSTANCE.log(exception);
43
		}
44
		return new UmlCollaborationUseFactoryImpl();
45
	}
46
60
47
	/**
61
  /**
48
	 * Creates an instance of the factory.
62
   * <!-- begin-user-doc -->
49
	 * <!-- begin-user-doc -->
63
   * <!-- end-user-doc -->
50
	 * <!-- end-user-doc -->
64
   * @generated
51
	 * 
65
   */
52
	 * @generated
66
  @Override
53
	 */
67
  public EObject create(EClass eClass)
54
	public UmlCollaborationUseFactoryImpl() {
68
  {
55
		super();
69
    switch (eClass.getClassifierID())
56
	}
70
    {
71
      case UmlCollaborationUsePackage.COLLABORATION_USE_RULE: return createCollaborationUseRule();
72
      case UmlCollaborationUsePackage.TYPE_RULE: return createTypeRule();
73
      default:
74
        throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
75
    }
76
  }
57
77
58
	/**
78
  /**
59
	 * <!-- begin-user-doc -->
79
   * <!-- begin-user-doc -->
60
	 * <!-- end-user-doc -->
80
   * <!-- end-user-doc -->
61
	 * 
81
   * @generated
62
	 * @generated
82
   */
63
	 */
83
  public CollaborationUseRule createCollaborationUseRule()
64
	@Override
84
  {
65
	public EObject create(EClass eClass) {
85
    CollaborationUseRuleImpl collaborationUseRule = new CollaborationUseRuleImpl();
66
		switch(eClass.getClassifierID()) {
86
    return collaborationUseRule;
67
		case UmlCollaborationUsePackage.COLLABORATION_USE_RULE:
87
  }
68
			return createCollaborationUseRule();
69
		case UmlCollaborationUsePackage.TYPE_RULE:
70
			return createTypeRule();
71
		default:
72
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
73
		}
74
	}
75
88
76
	/**
89
  /**
77
	 * <!-- begin-user-doc -->
90
   * <!-- begin-user-doc -->
78
	 * <!-- end-user-doc -->
91
   * <!-- end-user-doc -->
79
	 * 
92
   * @generated
80
	 * @generated
93
   */
81
	 */
94
  public TypeRule createTypeRule()
82
	public CollaborationUseRule createCollaborationUseRule() {
95
  {
83
		CollaborationUseRuleImpl collaborationUseRule = new CollaborationUseRuleImpl();
96
    TypeRuleImpl typeRule = new TypeRuleImpl();
84
		return collaborationUseRule;
97
    return typeRule;
85
	}
98
  }
86
99
87
	/**
100
  /**
88
	 * <!-- begin-user-doc -->
101
   * <!-- begin-user-doc -->
89
	 * <!-- end-user-doc -->
102
   * <!-- end-user-doc -->
90
	 * 
103
   * @generated
91
	 * @generated
104
   */
92
	 */
105
  public UmlCollaborationUsePackage getUmlCollaborationUsePackage()
93
	public TypeRule createTypeRule() {
106
  {
94
		TypeRuleImpl typeRule = new TypeRuleImpl();
107
    return (UmlCollaborationUsePackage)getEPackage();
95
		return typeRule;
108
  }
96
	}
97
109
98
	/**
110
  /**
99
	 * <!-- begin-user-doc -->
111
   * <!-- begin-user-doc -->
100
	 * <!-- end-user-doc -->
112
   * <!-- end-user-doc -->
101
	 * 
113
   * @deprecated
102
	 * @generated
114
   * @generated
103
	 */
115
   */
104
	public UmlCollaborationUsePackage getUmlCollaborationUsePackage() {
116
  @Deprecated
105
		return (UmlCollaborationUsePackage)getEPackage();
117
  public static UmlCollaborationUsePackage getPackage()
106
	}
118
  {
107
119
    return UmlCollaborationUsePackage.eINSTANCE;
108
	/**
120
  }
109
	 * <!-- begin-user-doc -->
110
	 * <!-- end-user-doc -->
111
	 * 
112
	 * @deprecated
113
	 * @generated
114
	 */
115
	@Deprecated
116
	public static UmlCollaborationUsePackage getPackage() {
117
		return UmlCollaborationUsePackage.eINSTANCE;
118
	}
119
121
120
} //UmlCollaborationUseFactoryImpl
122
} //UmlCollaborationUseFactoryImpl
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/umlCollaborationUse/impl/UmlCollaborationUsePackageImpl.java (-189 / +187 lines)
Lines 10-247 Link Here
10
import org.eclipse.emf.ecore.EClass;
10
import org.eclipse.emf.ecore.EClass;
11
import org.eclipse.emf.ecore.EPackage;
11
import org.eclipse.emf.ecore.EPackage;
12
import org.eclipse.emf.ecore.EReference;
12
import org.eclipse.emf.ecore.EReference;
13
13
import org.eclipse.emf.ecore.impl.EPackageImpl;
14
import org.eclipse.emf.ecore.impl.EPackageImpl;
15
14
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule;
16
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule;
15
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule;
17
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule;
16
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUseFactory;
18
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUseFactory;
17
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage;
19
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage;
20
18
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
21
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
19
22
20
/**
23
/**
21
 * <!-- begin-user-doc -->
24
 * <!-- begin-user-doc -->
22
 * An implementation of the model <b>Package</b>.
25
 * An implementation of the model <b>Package</b>.
23
 * <!-- end-user-doc -->
26
 * <!-- end-user-doc -->
24
 * 
25
 * @generated
27
 * @generated
26
 */
28
 */
27
public class UmlCollaborationUsePackageImpl extends EPackageImpl implements UmlCollaborationUsePackage {
29
public class UmlCollaborationUsePackageImpl extends EPackageImpl implements UmlCollaborationUsePackage
30
{
31
  /**
32
   * <!-- begin-user-doc -->
33
   * <!-- end-user-doc -->
34
   * @generated
35
   */
36
  private EClass collaborationUseRuleEClass = null;
28
37
29
	/**
38
  /**
30
	 * <!-- begin-user-doc -->
39
   * <!-- begin-user-doc -->
31
	 * <!-- end-user-doc -->
40
   * <!-- end-user-doc -->
32
	 * 
41
   * @generated
33
	 * @generated
42
   */
34
	 */
43
  private EClass typeRuleEClass = null;
35
	private EClass collaborationUseRuleEClass = null;
36
44
37
	/**
45
  /**
38
	 * <!-- begin-user-doc -->
46
   * Creates an instance of the model <b>Package</b>, registered with
39
	 * <!-- end-user-doc -->
47
   * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
40
	 * 
48
   * package URI value.
41
	 * @generated
49
   * <p>Note: the correct way to create the package is via the static
42
	 */
50
   * factory method {@link #init init()}, which also performs
43
	private EClass typeRuleEClass = null;
51
   * initialization of the package, or returns the registered package,
52
   * if one already exists.
53
   * <!-- begin-user-doc -->
54
   * <!-- end-user-doc -->
55
   * @see org.eclipse.emf.ecore.EPackage.Registry
56
   * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage#eNS_URI
57
   * @see #init()
58
   * @generated
59
   */
60
  private UmlCollaborationUsePackageImpl()
61
  {
62
    super(eNS_URI, UmlCollaborationUseFactory.eINSTANCE);
63
  }
44
64
45
	/**
65
  /**
46
	 * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the
66
   * <!-- begin-user-doc -->
47
	 * package
67
   * <!-- end-user-doc -->
48
	 * package URI value.
68
   * @generated
49
	 * <p>
69
   */
50
	 * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
70
  private static boolean isInited = false;
51
	 * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
52
	 * 
53
	 * @see org.eclipse.emf.ecore.EPackage.Registry
54
	 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage#eNS_URI
55
	 * @see #init()
56
	 * @generated
57
	 */
58
	private UmlCollaborationUsePackageImpl() {
59
		super(eNS_URI, UmlCollaborationUseFactory.eINSTANCE);
60
	}
61
71
62
	/**
72
  /**
63
	 * <!-- begin-user-doc -->
73
   * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
64
	 * <!-- end-user-doc -->
74
   * 
65
	 * 
75
   * <p>This method is used to initialize {@link UmlCollaborationUsePackage#eINSTANCE} when that field is accessed.
66
	 * @generated
76
   * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
67
	 */
77
   * <!-- begin-user-doc -->
68
	private static boolean isInited = false;
78
   * <!-- end-user-doc -->
79
   * @see #eNS_URI
80
   * @see #createPackageContents()
81
   * @see #initializePackageContents()
82
   * @generated
83
   */
84
  public static UmlCollaborationUsePackage init()
85
  {
86
    if (isInited) return (UmlCollaborationUsePackage)EPackage.Registry.INSTANCE.getEPackage(UmlCollaborationUsePackage.eNS_URI);
69
87
70
	/**
88
    // Obtain or create and register package
71
	 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
89
    UmlCollaborationUsePackageImpl theUmlCollaborationUsePackage = (UmlCollaborationUsePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof UmlCollaborationUsePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new UmlCollaborationUsePackageImpl());
72
	 * 
73
	 * <p>
74
	 * This method is used to initialize {@link UmlCollaborationUsePackage#eINSTANCE} when that field is accessed. Clients should not invoke it
75
	 * directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
76
	 * 
77
	 * @see #eNS_URI
78
	 * @see #createPackageContents()
79
	 * @see #initializePackageContents()
80
	 * @generated
81
	 */
82
	public static UmlCollaborationUsePackage init() {
83
		if(isInited)
84
			return (UmlCollaborationUsePackage)EPackage.Registry.INSTANCE.getEPackage(UmlCollaborationUsePackage.eNS_URI);
85
90
86
		// Obtain or create and register package
91
    isInited = true;
87
		UmlCollaborationUsePackageImpl theUmlCollaborationUsePackage = (UmlCollaborationUsePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof UmlCollaborationUsePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new UmlCollaborationUsePackageImpl());
88
92
89
		isInited = true;
93
    // Initialize simple dependencies
94
    UmlCommonPackage.eINSTANCE.eClass();
90
95
91
		// Initialize simple dependencies
96
    // Create package meta-data objects
92
		UmlCommonPackage.eINSTANCE.eClass();
97
    theUmlCollaborationUsePackage.createPackageContents();
93
98
94
		// Create package meta-data objects
99
    // Initialize created meta-data
95
		theUmlCollaborationUsePackage.createPackageContents();
100
    theUmlCollaborationUsePackage.initializePackageContents();
96
101
97
		// Initialize created meta-data
102
    // Mark meta-data to indicate it can't be changed
98
		theUmlCollaborationUsePackage.initializePackageContents();
103
    theUmlCollaborationUsePackage.freeze();
99
104
100
		// Mark meta-data to indicate it can't be changed
105
  
101
		theUmlCollaborationUsePackage.freeze();
106
    // Update the registry and return the package
107
    EPackage.Registry.INSTANCE.put(UmlCollaborationUsePackage.eNS_URI, theUmlCollaborationUsePackage);
108
    return theUmlCollaborationUsePackage;
109
  }
102
110
111
  /**
112
   * <!-- begin-user-doc -->
113
   * <!-- end-user-doc -->
114
   * @generated
115
   */
116
  public EClass getCollaborationUseRule()
117
  {
118
    return collaborationUseRuleEClass;
119
  }
103
120
104
		// Update the registry and return the package
121
  /**
105
		EPackage.Registry.INSTANCE.put(UmlCollaborationUsePackage.eNS_URI, theUmlCollaborationUsePackage);
122
   * <!-- begin-user-doc -->
106
		return theUmlCollaborationUsePackage;
123
   * <!-- end-user-doc -->
107
	}
124
   * @generated
125
   */
126
  public EAttribute getCollaborationUseRule_Visibility()
127
  {
128
    return (EAttribute)collaborationUseRuleEClass.getEStructuralFeatures().get(0);
129
  }
108
130
109
	/**
131
  /**
110
	 * <!-- begin-user-doc -->
132
   * <!-- begin-user-doc -->
111
	 * <!-- end-user-doc -->
133
   * <!-- end-user-doc -->
112
	 * 
134
   * @generated
113
	 * @generated
135
   */
114
	 */
136
  public EAttribute getCollaborationUseRule_Name()
115
	public EClass getCollaborationUseRule() {
137
  {
116
		return collaborationUseRuleEClass;
138
    return (EAttribute)collaborationUseRuleEClass.getEStructuralFeatures().get(1);
117
	}
139
  }
118
140
119
	/**
141
  /**
120
	 * <!-- begin-user-doc -->
142
   * <!-- begin-user-doc -->
121
	 * <!-- end-user-doc -->
143
   * <!-- end-user-doc -->
122
	 * 
144
   * @generated
123
	 * @generated
145
   */
124
	 */
146
  public EReference getCollaborationUseRule_Type()
125
	public EAttribute getCollaborationUseRule_Visibility() {
147
  {
126
		return (EAttribute)collaborationUseRuleEClass.getEStructuralFeatures().get(0);
148
    return (EReference)collaborationUseRuleEClass.getEStructuralFeatures().get(2);
127
	}
149
  }
128
150
129
	/**
151
  /**
130
	 * <!-- begin-user-doc -->
152
   * <!-- begin-user-doc -->
131
	 * <!-- end-user-doc -->
153
   * <!-- end-user-doc -->
132
	 * 
154
   * @generated
133
	 * @generated
155
   */
134
	 */
156
  public EClass getTypeRule()
135
	public EAttribute getCollaborationUseRule_Name() {
157
  {
136
		return (EAttribute)collaborationUseRuleEClass.getEStructuralFeatures().get(1);
158
    return typeRuleEClass;
137
	}
159
  }
138
160
139
	/**
161
  /**
140
	 * <!-- begin-user-doc -->
162
   * <!-- begin-user-doc -->
141
	 * <!-- end-user-doc -->
163
   * <!-- end-user-doc -->
142
	 * 
164
   * @generated
143
	 * @generated
165
   */
144
	 */
166
  public UmlCollaborationUseFactory getUmlCollaborationUseFactory()
145
	public EReference getCollaborationUseRule_Type() {
167
  {
146
		return (EReference)collaborationUseRuleEClass.getEStructuralFeatures().get(2);
168
    return (UmlCollaborationUseFactory)getEFactoryInstance();
147
	}
169
  }
148
170
149
	/**
171
  /**
150
	 * <!-- begin-user-doc -->
172
   * <!-- begin-user-doc -->
151
	 * <!-- end-user-doc -->
173
   * <!-- end-user-doc -->
152
	 * 
174
   * @generated
153
	 * @generated
175
   */
154
	 */
176
  private boolean isCreated = false;
155
	public EClass getTypeRule() {
156
		return typeRuleEClass;
157
	}
158
177
159
	/**
178
  /**
160
	 * <!-- begin-user-doc -->
179
   * Creates the meta-model objects for the package.  This method is
161
	 * <!-- end-user-doc -->
180
   * guarded to have no affect on any invocation but its first.
162
	 * 
181
   * <!-- begin-user-doc -->
163
	 * @generated
182
   * <!-- end-user-doc -->
164
	 */
183
   * @generated
165
	public UmlCollaborationUseFactory getUmlCollaborationUseFactory() {
184
   */
166
		return (UmlCollaborationUseFactory)getEFactoryInstance();
185
  public void createPackageContents()
167
	}
186
  {
187
    if (isCreated) return;
188
    isCreated = true;
168
189
169
	/**
190
    // Create classes and their features
170
	 * <!-- begin-user-doc -->
191
    collaborationUseRuleEClass = createEClass(COLLABORATION_USE_RULE);
171
	 * <!-- end-user-doc -->
192
    createEAttribute(collaborationUseRuleEClass, COLLABORATION_USE_RULE__VISIBILITY);
172
	 * 
193
    createEAttribute(collaborationUseRuleEClass, COLLABORATION_USE_RULE__NAME);
173
	 * @generated
194
    createEReference(collaborationUseRuleEClass, COLLABORATION_USE_RULE__TYPE);
174
	 */
175
	private boolean isCreated = false;
176
195
177
	/**
196
    typeRuleEClass = createEClass(TYPE_RULE);
178
	 * Creates the meta-model objects for the package. This method is
197
  }
179
	 * guarded to have no affect on any invocation but its first.
180
	 * <!-- begin-user-doc -->
181
	 * <!-- end-user-doc -->
182
	 * 
183
	 * @generated
184
	 */
185
	public void createPackageContents() {
186
		if(isCreated)
187
			return;
188
		isCreated = true;
189
198
190
		// Create classes and their features
199
  /**
191
		collaborationUseRuleEClass = createEClass(COLLABORATION_USE_RULE);
200
   * <!-- begin-user-doc -->
192
		createEAttribute(collaborationUseRuleEClass, COLLABORATION_USE_RULE__VISIBILITY);
201
   * <!-- end-user-doc -->
193
		createEAttribute(collaborationUseRuleEClass, COLLABORATION_USE_RULE__NAME);
202
   * @generated
194
		createEReference(collaborationUseRuleEClass, COLLABORATION_USE_RULE__TYPE);
203
   */
204
  private boolean isInitialized = false;
195
205
196
		typeRuleEClass = createEClass(TYPE_RULE);
206
  /**
197
	}
207
   * Complete the initialization of the package and its meta-model.  This
208
   * method is guarded to have no affect on any invocation but its first.
209
   * <!-- begin-user-doc -->
210
   * <!-- end-user-doc -->
211
   * @generated
212
   */
213
  public void initializePackageContents()
214
  {
215
    if (isInitialized) return;
216
    isInitialized = true;
198
217
199
	/**
218
    // Initialize package
200
	 * <!-- begin-user-doc -->
219
    setName(eNAME);
201
	 * <!-- end-user-doc -->
220
    setNsPrefix(eNS_PREFIX);
202
	 * 
221
    setNsURI(eNS_URI);
203
	 * @generated
204
	 */
205
	private boolean isInitialized = false;
206
222
207
	/**
223
    // Obtain other dependent packages
208
	 * Complete the initialization of the package and its meta-model. This
224
    UmlCommonPackage theUmlCommonPackage = (UmlCommonPackage)EPackage.Registry.INSTANCE.getEPackage(UmlCommonPackage.eNS_URI);
209
	 * method is guarded to have no affect on any invocation but its first.
210
	 * <!-- begin-user-doc -->
211
	 * <!-- end-user-doc -->
212
	 * 
213
	 * @generated
214
	 */
215
	public void initializePackageContents() {
216
		if(isInitialized)
217
			return;
218
		isInitialized = true;
219
225
220
		// Initialize package
226
    // Create type parameters
221
		setName(eNAME);
222
		setNsPrefix(eNS_PREFIX);
223
		setNsURI(eNS_URI);
224
227
225
		// Obtain other dependent packages
228
    // Set bounds for type parameters
226
		UmlCommonPackage theUmlCommonPackage = (UmlCommonPackage)EPackage.Registry.INSTANCE.getEPackage(UmlCommonPackage.eNS_URI);
227
229
228
		// Create type parameters
230
    // Add supertypes to classes
231
    typeRuleEClass.getESuperTypes().add(theUmlCommonPackage.getTypeRule());
229
232
230
		// Set bounds for type parameters
233
    // Initialize classes and features; add operations and parameters
234
    initEClass(collaborationUseRuleEClass, CollaborationUseRule.class, "CollaborationUseRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
235
    initEAttribute(getCollaborationUseRule_Visibility(), theUmlCommonPackage.getVisibilityKind(), "visibility", null, 0, 1, CollaborationUseRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
236
    initEAttribute(getCollaborationUseRule_Name(), ecorePackage.getEString(), "name", null, 0, 1, CollaborationUseRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
237
    initEReference(getCollaborationUseRule_Type(), this.getTypeRule(), null, "type", null, 0, 1, CollaborationUseRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
231
238
232
		// Add supertypes to classes
239
    initEClass(typeRuleEClass, TypeRule.class, "TypeRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
233
		typeRuleEClass.getESuperTypes().add(theUmlCommonPackage.getTypeRule());
234
240
235
		// Initialize classes and features; add operations and parameters
241
    // Create resource
236
		initEClass(collaborationUseRuleEClass, CollaborationUseRule.class, "CollaborationUseRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
242
    createResource(eNS_URI);
237
		initEAttribute(getCollaborationUseRule_Visibility(), theUmlCommonPackage.getVisibilityKind(), "visibility", null, 0, 1, CollaborationUseRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
243
  }
238
		initEAttribute(getCollaborationUseRule_Name(), ecorePackage.getEString(), "name", null, 0, 1, CollaborationUseRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
239
		initEReference(getCollaborationUseRule_Type(), this.getTypeRule(), null, "type", null, 0, 1, CollaborationUseRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
240
241
		initEClass(typeRuleEClass, TypeRule.class, "TypeRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
242
243
		// Create resource
244
		createResource(eNS_URI);
245
	}
246
244
247
} //UmlCollaborationUsePackageImpl
245
} //UmlCollaborationUsePackageImpl
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/umlCollaborationUse/util/UmlCollaborationUseResourceImpl.java (-15 / +14 lines)
Lines 7-35 Link Here
7
package org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.util;
7
package org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.util;
8
8
9
import org.eclipse.emf.common.util.URI;
9
import org.eclipse.emf.common.util.URI;
10
10
import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
11
import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
11
12
12
/**
13
/**
13
 * <!-- begin-user-doc -->
14
 * <!-- begin-user-doc -->
14
 * The <b>Resource </b> associated with the package.
15
 * The <b>Resource </b> associated with the package.
15
 * <!-- end-user-doc -->
16
 * <!-- end-user-doc -->
16
 * 
17
 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.util.UmlCollaborationUseResourceFactoryImpl
17
 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.util.UmlCollaborationUseResourceFactoryImpl
18
 * @generated
18
 * @generated
19
 */
19
 */
20
public class UmlCollaborationUseResourceImpl extends XMLResourceImpl {
20
public class UmlCollaborationUseResourceImpl extends XMLResourceImpl
21
21
{
22
	/**
22
  /**
23
	 * Creates an instance of the resource.
23
   * Creates an instance of the resource.
24
	 * <!-- begin-user-doc -->
24
   * <!-- begin-user-doc -->
25
	 * <!-- end-user-doc -->
25
   * <!-- end-user-doc -->
26
	 * 
26
   * @param uri the URI of the new resource.
27
	 * @param uri
27
   * @generated
28
	 *        the URI of the new resource.
28
   */
29
	 * @generated
29
  public UmlCollaborationUseResourceImpl(URI uri)
30
	 */
30
  {
31
	public UmlCollaborationUseResourceImpl(URI uri) {
31
    super(uri);
32
		super(uri);
32
  }
33
	}
34
33
35
} //UmlCollaborationUseResourceImpl
34
} //UmlCollaborationUseResourceImpl
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/umlCollaborationUse/util/UmlCollaborationUseXMLProcessor.java (-30 / +34 lines)
Lines 9-54 Link Here
9
import java.util.Map;
9
import java.util.Map;
10
10
11
import org.eclipse.emf.ecore.EPackage;
11
import org.eclipse.emf.ecore.EPackage;
12
12
import org.eclipse.emf.ecore.resource.Resource;
13
import org.eclipse.emf.ecore.resource.Resource;
14
13
import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
15
import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
16
14
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage;
17
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage;
15
18
16
/**
19
/**
17
 * This class contains helper methods to serialize and deserialize XML documents
20
 * This class contains helper methods to serialize and deserialize XML documents
18
 * <!-- begin-user-doc -->
21
 * <!-- begin-user-doc -->
19
 * <!-- end-user-doc -->
22
 * <!-- end-user-doc -->
20
 * 
21
 * @generated
23
 * @generated
22
 */
24
 */
23
public class UmlCollaborationUseXMLProcessor extends XMLProcessor {
25
public class UmlCollaborationUseXMLProcessor extends XMLProcessor
26
{
24
27
25
	/**
28
  /**
26
	 * Public constructor to instantiate the helper.
29
   * Public constructor to instantiate the helper.
27
	 * <!-- begin-user-doc -->
30
   * <!-- begin-user-doc -->
28
	 * <!-- end-user-doc -->
31
   * <!-- end-user-doc -->
29
	 * 
32
   * @generated
30
	 * @generated
33
   */
31
	 */
34
  public UmlCollaborationUseXMLProcessor()
32
	public UmlCollaborationUseXMLProcessor() {
35
  {
33
		super((EPackage.Registry.INSTANCE));
36
    super((EPackage.Registry.INSTANCE));
34
		UmlCollaborationUsePackage.eINSTANCE.eClass();
37
    UmlCollaborationUsePackage.eINSTANCE.eClass();
35
	}
38
  }
36
39
  
37
	/**
40
  /**
38
	 * Register for "*" and "xml" file extensions the UmlCollaborationUseResourceFactoryImpl factory.
41
   * Register for "*" and "xml" file extensions the UmlCollaborationUseResourceFactoryImpl factory.
39
	 * <!-- begin-user-doc -->
42
   * <!-- begin-user-doc -->
40
	 * <!-- end-user-doc -->
43
   * <!-- end-user-doc -->
41
	 * 
44
   * @generated
42
	 * @generated
45
   */
43
	 */
46
  @Override
44
	@Override
47
  protected Map<String, Resource.Factory> getRegistrations()
45
	protected Map<String, Resource.Factory> getRegistrations() {
48
  {
46
		if(registrations == null) {
49
    if (registrations == null)
47
			super.getRegistrations();
50
    {
48
			registrations.put(XML_EXTENSION, new UmlCollaborationUseResourceFactoryImpl());
51
      super.getRegistrations();
49
			registrations.put(STAR_EXTENSION, new UmlCollaborationUseResourceFactoryImpl());
52
      registrations.put(XML_EXTENSION, new UmlCollaborationUseResourceFactoryImpl());
50
		}
53
      registrations.put(STAR_EXTENSION, new UmlCollaborationUseResourceFactoryImpl());
51
		return registrations;
54
    }
52
	}
55
    return registrations;
56
  }
53
57
54
} //UmlCollaborationUseXMLProcessor
58
} //UmlCollaborationUseXMLProcessor
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/umlCollaborationUse/util/UmlCollaborationUseResourceFactoryImpl.java (-31 / +33 lines)
Lines 7-57 Link Here
7
package org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.util;
7
package org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.util;
8
8
9
import org.eclipse.emf.common.util.URI;
9
import org.eclipse.emf.common.util.URI;
10
10
import org.eclipse.emf.ecore.resource.Resource;
11
import org.eclipse.emf.ecore.resource.Resource;
12
11
import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
13
import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
14
12
import org.eclipse.emf.ecore.xmi.XMLResource;
15
import org.eclipse.emf.ecore.xmi.XMLResource;
13
16
14
/**
17
/**
15
 * <!-- begin-user-doc -->
18
 * <!-- begin-user-doc -->
16
 * The <b>Resource Factory</b> associated with the package.
19
 * The <b>Resource Factory</b> associated with the package.
17
 * <!-- end-user-doc -->
20
 * <!-- end-user-doc -->
18
 * 
19
 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.util.UmlCollaborationUseResourceImpl
21
 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.util.UmlCollaborationUseResourceImpl
20
 * @generated
22
 * @generated
21
 */
23
 */
22
public class UmlCollaborationUseResourceFactoryImpl extends ResourceFactoryImpl {
24
public class UmlCollaborationUseResourceFactoryImpl extends ResourceFactoryImpl
25
{
26
  /**
27
   * Creates an instance of the resource factory.
28
   * <!-- begin-user-doc -->
29
   * <!-- end-user-doc -->
30
   * @generated
31
   */
32
  public UmlCollaborationUseResourceFactoryImpl()
33
  {
34
    super();
35
  }
23
36
24
	/**
37
  /**
25
	 * Creates an instance of the resource factory.
38
   * Creates an instance of the resource.
26
	 * <!-- begin-user-doc -->
39
   * <!-- begin-user-doc -->
27
	 * <!-- end-user-doc -->
40
   * <!-- end-user-doc -->
28
	 * 
41
   * @generated
29
	 * @generated
42
   */
30
	 */
43
  @Override
31
	public UmlCollaborationUseResourceFactoryImpl() {
44
  public Resource createResource(URI uri)
32
		super();
45
  {
33
	}
46
    XMLResource result = new UmlCollaborationUseResourceImpl(uri);
47
    result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
48
    result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
34
49
35
	/**
50
    result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
36
	 * Creates an instance of the resource.
37
	 * <!-- begin-user-doc -->
38
	 * <!-- end-user-doc -->
39
	 * 
40
	 * @generated
41
	 */
42
	@Override
43
	public Resource createResource(URI uri) {
44
		XMLResource result = new UmlCollaborationUseResourceImpl(uri);
45
		result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
46
		result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
47
51
48
		result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
52
    result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
53
    result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
49
54
50
		result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
55
    result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
51
		result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
56
    return result;
52
57
  }
53
		result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
54
		return result;
55
	}
56
58
57
} //UmlCollaborationUseResourceFactoryImpl
59
} //UmlCollaborationUseResourceFactoryImpl
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/umlCollaborationUse/util/UmlCollaborationUseSwitch.java (-154 / +133 lines)
Lines 6-184 Link Here
6
 */
6
 */
7
package org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.util;
7
package org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.util;
8
8
9
import java.util.List;
10
11
import org.eclipse.emf.ecore.EClass;
12
import org.eclipse.emf.ecore.EObject;
9
import org.eclipse.emf.ecore.EObject;
13
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule;
10
import org.eclipse.emf.ecore.EPackage;
14
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule;
11
15
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage;
12
import org.eclipse.emf.ecore.util.Switch;
13
14
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.*;
16
15
17
/**
16
/**
18
 * <!-- begin-user-doc -->
17
 * <!-- begin-user-doc -->
19
 * The <b>Switch</b> for the model's inheritance hierarchy.
18
 * The <b>Switch</b> for the model's inheritance hierarchy.
20
 * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
19
 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
20
 * to invoke the <code>caseXXX</code> method for each class of the model,
21
 * starting with the actual class of the object
21
 * starting with the actual class of the object
22
 * and proceeding up the inheritance hierarchy
22
 * and proceeding up the inheritance hierarchy
23
 * until a non-null result is returned,
23
 * until a non-null result is returned,
24
 * which is the result of the switch.
24
 * which is the result of the switch.
25
 * <!-- end-user-doc -->
25
 * <!-- end-user-doc -->
26
 * 
27
 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage
26
 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage
28
 * @generated
27
 * @generated
29
 */
28
 */
30
public class UmlCollaborationUseSwitch<T> {
29
public class UmlCollaborationUseSwitch<T> extends Switch<T>
30
{
31
  /**
32
   * The cached model package
33
   * <!-- begin-user-doc -->
34
   * <!-- end-user-doc -->
35
   * @generated
36
   */
37
  protected static UmlCollaborationUsePackage modelPackage;
31
38
32
	/**
39
  /**
33
	 * The cached model package
40
   * Creates an instance of the switch.
34
	 * <!-- begin-user-doc -->
41
   * <!-- begin-user-doc -->
35
	 * <!-- end-user-doc -->
42
   * <!-- end-user-doc -->
36
	 * 
43
   * @generated
37
	 * @generated
44
   */
38
	 */
45
  public UmlCollaborationUseSwitch()
39
	protected static UmlCollaborationUsePackage modelPackage;
46
  {
47
    if (modelPackage == null)
48
    {
49
      modelPackage = UmlCollaborationUsePackage.eINSTANCE;
50
    }
51
  }
40
52
41
	/**
53
  /**
42
	 * Creates an instance of the switch.
54
   * Checks whether this is a switch for the given package.
43
	 * <!-- begin-user-doc -->
55
   * <!-- begin-user-doc -->
44
	 * <!-- end-user-doc -->
56
   * <!-- end-user-doc -->
45
	 * 
57
   * @parameter ePackage the package in question.
46
	 * @generated
58
   * @return whether this is a switch for the given package.
47
	 */
59
   * @generated
48
	public UmlCollaborationUseSwitch() {
60
   */
49
		if(modelPackage == null) {
61
  @Override
50
			modelPackage = UmlCollaborationUsePackage.eINSTANCE;
62
  protected boolean isSwitchFor(EPackage ePackage)
51
		}
63
  {
52
	}
64
    return ePackage == modelPackage;
65
  }
53
66
54
	/**
67
  /**
55
	 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
68
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
56
	 * <!-- begin-user-doc -->
69
   * <!-- begin-user-doc -->
57
	 * <!-- end-user-doc -->
70
   * <!-- end-user-doc -->
58
	 * 
71
   * @return the first non-null result returned by a <code>caseXXX</code> call.
59
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
72
   * @generated
60
	 * @generated
73
   */
61
	 */
74
  @Override
62
	public T doSwitch(EObject theEObject) {
75
  protected T doSwitch(int classifierID, EObject theEObject)
63
		return doSwitch(theEObject.eClass(), theEObject);
76
  {
64
	}
77
    switch (classifierID)
78
    {
79
      case UmlCollaborationUsePackage.COLLABORATION_USE_RULE:
80
      {
81
        CollaborationUseRule collaborationUseRule = (CollaborationUseRule)theEObject;
82
        T result = caseCollaborationUseRule(collaborationUseRule);
83
        if (result == null) result = defaultCase(theEObject);
84
        return result;
85
      }
86
      case UmlCollaborationUsePackage.TYPE_RULE:
87
      {
88
        TypeRule typeRule = (TypeRule)theEObject;
89
        T result = caseTypeRule(typeRule);
90
        if (result == null) result = caseUmlCommon_TypeRule(typeRule);
91
        if (result == null) result = defaultCase(theEObject);
92
        return result;
93
      }
94
      default: return defaultCase(theEObject);
95
    }
96
  }
65
97
66
	/**
98
  /**
67
	 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
99
   * Returns the result of interpreting the object as an instance of '<em>Collaboration Use Rule</em>'.
68
	 * <!-- begin-user-doc -->
100
   * <!-- begin-user-doc -->
69
	 * <!-- end-user-doc -->
101
   * This implementation returns null;
70
	 * 
102
   * returning a non-null result will terminate the switch.
71
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
103
   * <!-- end-user-doc -->
72
	 * @generated
104
   * @param object the target of the switch.
73
	 */
105
   * @return the result of interpreting the object as an instance of '<em>Collaboration Use Rule</em>'.
74
	protected T doSwitch(EClass theEClass, EObject theEObject) {
106
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
75
		if(theEClass.eContainer() == modelPackage) {
107
   * @generated
76
			return doSwitch(theEClass.getClassifierID(), theEObject);
108
   */
77
		} else {
109
  public T caseCollaborationUseRule(CollaborationUseRule object)
78
			List<EClass> eSuperTypes = theEClass.getESuperTypes();
110
  {
79
			return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject);
111
    return null;
80
		}
112
  }
81
	}
82
113
83
	/**
114
  /**
84
	 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
115
   * Returns the result of interpreting the object as an instance of '<em>Type Rule</em>'.
85
	 * <!-- begin-user-doc -->
116
   * <!-- begin-user-doc -->
86
	 * <!-- end-user-doc -->
117
   * This implementation returns null;
87
	 * 
118
   * returning a non-null result will terminate the switch.
88
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
119
   * <!-- end-user-doc -->
89
	 * @generated
120
   * @param object the target of the switch.
90
	 */
121
   * @return the result of interpreting the object as an instance of '<em>Type Rule</em>'.
91
	protected T doSwitch(int classifierID, EObject theEObject) {
122
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
92
		switch(classifierID) {
123
   * @generated
93
		case UmlCollaborationUsePackage.COLLABORATION_USE_RULE:
124
   */
94
		{
125
  public T caseTypeRule(TypeRule object)
95
			CollaborationUseRule collaborationUseRule = (CollaborationUseRule)theEObject;
126
  {
96
			T result = caseCollaborationUseRule(collaborationUseRule);
127
    return null;
97
			if(result == null)
128
  }
98
				result = defaultCase(theEObject);
99
			return result;
100
		}
101
		case UmlCollaborationUsePackage.TYPE_RULE:
102
		{
103
			TypeRule typeRule = (TypeRule)theEObject;
104
			T result = caseTypeRule(typeRule);
105
			if(result == null)
106
				result = caseUmlCommon_TypeRule(typeRule);
107
			if(result == null)
108
				result = defaultCase(theEObject);
109
			return result;
110
		}
111
		default:
112
			return defaultCase(theEObject);
113
		}
114
	}
115
129
116
	/**
130
  /**
117
	 * Returns the result of interpreting the object as an instance of '<em>Collaboration Use Rule</em>'.
131
   * Returns the result of interpreting the object as an instance of '<em>Type Rule</em>'.
118
	 * <!-- begin-user-doc -->
132
   * <!-- begin-user-doc -->
119
	 * This implementation returns null;
133
   * This implementation returns null;
120
	 * returning a non-null result will terminate the switch.
134
   * returning a non-null result will terminate the switch.
121
	 * <!-- end-user-doc -->
135
   * <!-- end-user-doc -->
122
	 * 
136
   * @param object the target of the switch.
123
	 * @param object
137
   * @return the result of interpreting the object as an instance of '<em>Type Rule</em>'.
124
	 *        the target of the switch.
138
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
125
	 * @return the result of interpreting the object as an instance of '<em>Collaboration Use Rule</em>'.
139
   * @generated
126
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
140
   */
127
	 * @generated
141
  public T caseUmlCommon_TypeRule(org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule object)
128
	 */
142
  {
129
	public T caseCollaborationUseRule(CollaborationUseRule object) {
143
    return null;
130
		return null;
144
  }
131
	}
132
145
133
	/**
146
  /**
134
	 * Returns the result of interpreting the object as an instance of '<em>Type Rule</em>'.
147
   * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
135
	 * <!-- begin-user-doc -->
148
   * <!-- begin-user-doc -->
136
	 * This implementation returns null;
149
   * This implementation returns null;
137
	 * returning a non-null result will terminate the switch.
150
   * returning a non-null result will terminate the switch, but this is the last case anyway.
138
	 * <!-- end-user-doc -->
151
   * <!-- end-user-doc -->
139
	 * 
152
   * @param object the target of the switch.
140
	 * @param object
153
   * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
141
	 *        the target of the switch.
154
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
142
	 * @return the result of interpreting the object as an instance of '<em>Type Rule</em>'.
155
   * @generated
143
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
156
   */
144
	 * @generated
157
  @Override
145
	 */
158
  public T defaultCase(EObject object)
146
	public T caseTypeRule(TypeRule object) {
159
  {
147
		return null;
160
    return null;
148
	}
161
  }
149
150
	/**
151
	 * Returns the result of interpreting the object as an instance of '<em>Type Rule</em>'.
152
	 * <!-- begin-user-doc -->
153
	 * This implementation returns null;
154
	 * returning a non-null result will terminate the switch.
155
	 * <!-- end-user-doc -->
156
	 * 
157
	 * @param object
158
	 *        the target of the switch.
159
	 * @return the result of interpreting the object as an instance of '<em>Type Rule</em>'.
160
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
161
	 * @generated
162
	 */
163
	public T caseUmlCommon_TypeRule(org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule object) {
164
		return null;
165
	}
166
167
	/**
168
	 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
169
	 * <!-- begin-user-doc -->
170
	 * This implementation returns null;
171
	 * returning a non-null result will terminate the switch, but this is the last case anyway.
172
	 * <!-- end-user-doc -->
173
	 * 
174
	 * @param object
175
	 *        the target of the switch.
176
	 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
177
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
178
	 * @generated
179
	 */
180
	public T defaultCase(EObject object) {
181
		return null;
182
	}
183
162
184
} //UmlCollaborationUseSwitch
163
} //UmlCollaborationUseSwitch
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/umlCollaborationUse/util/UmlCollaborationUseAdapterFactory.java (-144 / +144 lines)
Lines 8-176 Link Here
8
8
9
import org.eclipse.emf.common.notify.Adapter;
9
import org.eclipse.emf.common.notify.Adapter;
10
import org.eclipse.emf.common.notify.Notifier;
10
import org.eclipse.emf.common.notify.Notifier;
11
11
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
12
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
13
12
import org.eclipse.emf.ecore.EObject;
14
import org.eclipse.emf.ecore.EObject;
13
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule;
15
14
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule;
16
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.*;
15
import org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage;
16
17
17
/**
18
/**
18
 * <!-- begin-user-doc -->
19
 * <!-- begin-user-doc -->
19
 * The <b>Adapter Factory</b> for the model.
20
 * The <b>Adapter Factory</b> for the model.
20
 * It provides an adapter <code>createXXX</code> method for each class of the model.
21
 * It provides an adapter <code>createXXX</code> method for each class of the model.
21
 * <!-- end-user-doc -->
22
 * <!-- end-user-doc -->
22
 * 
23
 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage
23
 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage
24
 * @generated
24
 * @generated
25
 */
25
 */
26
public class UmlCollaborationUseAdapterFactory extends AdapterFactoryImpl {
26
public class UmlCollaborationUseAdapterFactory extends AdapterFactoryImpl
27
27
{
28
	/**
28
  /**
29
	 * The cached model package.
29
   * The cached model package.
30
	 * <!-- begin-user-doc -->
30
   * <!-- begin-user-doc -->
31
	 * <!-- end-user-doc -->
31
   * <!-- end-user-doc -->
32
	 * 
32
   * @generated
33
	 * @generated
33
   */
34
	 */
34
  protected static UmlCollaborationUsePackage modelPackage;
35
	protected static UmlCollaborationUsePackage modelPackage;
36
37
	/**
38
	 * Creates an instance of the adapter factory.
39
	 * <!-- begin-user-doc -->
40
	 * <!-- end-user-doc -->
41
	 * 
42
	 * @generated
43
	 */
44
	public UmlCollaborationUseAdapterFactory() {
45
		if(modelPackage == null) {
46
			modelPackage = UmlCollaborationUsePackage.eINSTANCE;
47
		}
48
	}
49
50
	/**
51
	 * Returns whether this factory is applicable for the type of the object.
52
	 * <!-- begin-user-doc -->
53
	 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
54
	 * <!-- end-user-doc -->
55
	 * 
56
	 * @return whether this factory is applicable for the type of the object.
57
	 * @generated
58
	 */
59
	@Override
60
	public boolean isFactoryForType(Object object) {
61
		if(object == modelPackage) {
62
			return true;
63
		}
64
		if(object instanceof EObject) {
65
			return ((EObject)object).eClass().getEPackage() == modelPackage;
66
		}
67
		return false;
68
	}
69
70
	/**
71
	 * The switch that delegates to the <code>createXXX</code> methods.
72
	 * <!-- begin-user-doc -->
73
	 * <!-- end-user-doc -->
74
	 * 
75
	 * @generated
76
	 */
77
	protected UmlCollaborationUseSwitch<Adapter> modelSwitch = new UmlCollaborationUseSwitch<Adapter>() {
78
35
79
		@Override
36
  /**
80
		public Adapter caseCollaborationUseRule(CollaborationUseRule object) {
37
   * Creates an instance of the adapter factory.
81
			return createCollaborationUseRuleAdapter();
38
   * <!-- begin-user-doc -->
82
		}
39
   * <!-- end-user-doc -->
40
   * @generated
41
   */
42
  public UmlCollaborationUseAdapterFactory()
43
  {
44
    if (modelPackage == null)
45
    {
46
      modelPackage = UmlCollaborationUsePackage.eINSTANCE;
47
    }
48
  }
83
49
84
		@Override
50
  /**
85
		public Adapter caseTypeRule(TypeRule object) {
51
   * Returns whether this factory is applicable for the type of the object.
86
			return createTypeRuleAdapter();
52
   * <!-- begin-user-doc -->
87
		}
53
   * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
54
   * <!-- end-user-doc -->
55
   * @return whether this factory is applicable for the type of the object.
56
   * @generated
57
   */
58
  @Override
59
  public boolean isFactoryForType(Object object)
60
  {
61
    if (object == modelPackage)
62
    {
63
      return true;
64
    }
65
    if (object instanceof EObject)
66
    {
67
      return ((EObject)object).eClass().getEPackage() == modelPackage;
68
    }
69
    return false;
70
  }
88
71
89
		@Override
72
  /**
90
		public Adapter caseUmlCommon_TypeRule(org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule object) {
73
   * The switch that delegates to the <code>createXXX</code> methods.
91
			return createUmlCommon_TypeRuleAdapter();
74
   * <!-- begin-user-doc -->
92
		}
75
   * <!-- end-user-doc -->
76
   * @generated
77
   */
78
  protected UmlCollaborationUseSwitch<Adapter> modelSwitch =
79
    new UmlCollaborationUseSwitch<Adapter>()
80
    {
81
      @Override
82
      public Adapter caseCollaborationUseRule(CollaborationUseRule object)
83
      {
84
        return createCollaborationUseRuleAdapter();
85
      }
86
      @Override
87
      public Adapter caseTypeRule(TypeRule object)
88
      {
89
        return createTypeRuleAdapter();
90
      }
91
      @Override
92
      public Adapter caseUmlCommon_TypeRule(org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule object)
93
      {
94
        return createUmlCommon_TypeRuleAdapter();
95
      }
96
      @Override
97
      public Adapter defaultCase(EObject object)
98
      {
99
        return createEObjectAdapter();
100
      }
101
    };
93
102
94
		@Override
103
  /**
95
		public Adapter defaultCase(EObject object) {
104
   * Creates an adapter for the <code>target</code>.
96
			return createEObjectAdapter();
105
   * <!-- begin-user-doc -->
97
		}
106
   * <!-- end-user-doc -->
98
	};
107
   * @param target the object to adapt.
108
   * @return the adapter for the <code>target</code>.
109
   * @generated
110
   */
111
  @Override
112
  public Adapter createAdapter(Notifier target)
113
  {
114
    return modelSwitch.doSwitch((EObject)target);
115
  }
99
116
100
	/**
101
	 * Creates an adapter for the <code>target</code>.
102
	 * <!-- begin-user-doc -->
103
	 * <!-- end-user-doc -->
104
	 * 
105
	 * @param target
106
	 *        the object to adapt.
107
	 * @return the adapter for the <code>target</code>.
108
	 * @generated
109
	 */
110
	@Override
111
	public Adapter createAdapter(Notifier target) {
112
		return modelSwitch.doSwitch((EObject)target);
113
	}
114
117
118
  /**
119
   * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule <em>Collaboration Use Rule</em>}'.
120
   * <!-- begin-user-doc -->
121
   * This default implementation returns null so that we can easily ignore cases;
122
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
123
   * <!-- end-user-doc -->
124
   * @return the new adapter.
125
   * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule
126
   * @generated
127
   */
128
  public Adapter createCollaborationUseRuleAdapter()
129
  {
130
    return null;
131
  }
115
132
116
	/**
133
  /**
117
	 * Creates a new adapter for an object of class '
134
   * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule <em>Type Rule</em>}'.
118
	 * {@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule <em>Collaboration Use Rule</em>}'.
135
   * <!-- begin-user-doc -->
119
	 * <!-- begin-user-doc -->
136
   * This default implementation returns null so that we can easily ignore cases;
120
	 * This default implementation returns null so that we can easily ignore cases;
137
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
121
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
138
   * <!-- end-user-doc -->
122
	 * <!-- end-user-doc -->
139
   * @return the new adapter.
123
	 * 
140
   * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule
124
	 * @return the new adapter.
141
   * @generated
125
	 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule
142
   */
126
	 * @generated
143
  public Adapter createTypeRuleAdapter()
127
	 */
144
  {
128
	public Adapter createCollaborationUseRuleAdapter() {
145
    return null;
129
		return null;
146
  }
130
	}
131
147
132
	/**
148
  /**
133
	 * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule
149
   * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule <em>Type Rule</em>}'.
134
	 * <em>Type Rule</em>}'.
150
   * <!-- begin-user-doc -->
135
	 * <!-- begin-user-doc -->
151
   * This default implementation returns null so that we can easily ignore cases;
136
	 * This default implementation returns null so that we can easily ignore cases;
152
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
137
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
153
   * <!-- end-user-doc -->
138
	 * <!-- end-user-doc -->
154
   * @return the new adapter.
139
	 * 
155
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule
140
	 * @return the new adapter.
156
   * @generated
141
	 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.TypeRule
157
   */
142
	 * @generated
158
  public Adapter createUmlCommon_TypeRuleAdapter()
143
	 */
159
  {
144
	public Adapter createTypeRuleAdapter() {
160
    return null;
145
		return null;
161
  }
146
	}
147
162
148
	/**
163
  /**
149
	 * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule <em>Type Rule</em>}'.
164
   * Creates a new adapter for the default case.
150
	 * <!-- begin-user-doc -->
165
   * <!-- begin-user-doc -->
151
	 * This default implementation returns null so that we can easily ignore cases;
166
   * This default implementation returns null.
152
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
167
   * <!-- end-user-doc -->
153
	 * <!-- end-user-doc -->
168
   * @return the new adapter.
154
	 * 
169
   * @generated
155
	 * @return the new adapter.
170
   */
156
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule
171
  public Adapter createEObjectAdapter()
157
	 * @generated
172
  {
158
	 */
173
    return null;
159
	public Adapter createUmlCommon_TypeRuleAdapter() {
174
  }
160
		return null;
161
	}
162
163
	/**
164
	 * Creates a new adapter for the default case.
165
	 * <!-- begin-user-doc -->
166
	 * This default implementation returns null.
167
	 * <!-- end-user-doc -->
168
	 * 
169
	 * @return the new adapter.
170
	 * @generated
171
	 */
172
	public Adapter createEObjectAdapter() {
173
		return null;
174
	}
175
175
176
} //UmlCollaborationUseAdapterFactory
176
} //UmlCollaborationUseAdapterFactory
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/umlCollaborationUse/CollaborationUseRule.java (-91 / +83 lines)
Lines 7-122 Link Here
7
package org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse;
7
package org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse;
8
8
9
import org.eclipse.emf.ecore.EObject;
9
import org.eclipse.emf.ecore.EObject;
10
10
import org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind;
11
import org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind;
11
12
12
/**
13
/**
13
 * <!-- begin-user-doc -->
14
 * <!-- begin-user-doc -->
14
 * A representation of the model object '<em><b>Collaboration Use Rule</b></em>'.
15
 * A representation of the model object '<em><b>Collaboration Use Rule</b></em>'.
15
 * <!-- end-user-doc -->
16
 * <!-- end-user-doc -->
16
 * 
17
 *
17
 * <p>
18
 * <p>
18
 * The following features are supported:
19
 * The following features are supported:
19
 * <ul>
20
 * <ul>
20
 * <li>{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getVisibility <em>Visibility</em>}</li>
21
 *   <li>{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getVisibility <em>Visibility</em>}</li>
21
 * <li>{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getName <em>Name</em>}</li>
22
 *   <li>{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getName <em>Name</em>}</li>
22
 * <li>{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getType <em>Type</em>}</li>
23
 *   <li>{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getType <em>Type</em>}</li>
23
 * </ul>
24
 * </ul>
24
 * </p>
25
 * </p>
25
 * 
26
 *
26
 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage#getCollaborationUseRule()
27
 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage#getCollaborationUseRule()
27
 * @model
28
 * @model
28
 * @generated
29
 * @generated
29
 */
30
 */
30
public interface CollaborationUseRule extends EObject {
31
public interface CollaborationUseRule extends EObject
32
{
33
  /**
34
   * Returns the value of the '<em><b>Visibility</b></em>' attribute.
35
   * The literals are from the enumeration {@link org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind}.
36
   * <!-- begin-user-doc -->
37
   * <p>
38
   * If the meaning of the '<em>Visibility</em>' attribute isn't clear,
39
   * there really should be more of a description here...
40
   * </p>
41
   * <!-- end-user-doc -->
42
   * @return the value of the '<em>Visibility</em>' attribute.
43
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind
44
   * @see #setVisibility(VisibilityKind)
45
   * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage#getCollaborationUseRule_Visibility()
46
   * @model
47
   * @generated
48
   */
49
  VisibilityKind getVisibility();
31
50
32
	/**
51
  /**
33
	 * Returns the value of the '<em><b>Visibility</b></em>' attribute.
52
   * Sets the value of the '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getVisibility <em>Visibility</em>}' attribute.
34
	 * The literals are from the enumeration {@link org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind}.
53
   * <!-- begin-user-doc -->
35
	 * <!-- begin-user-doc -->
54
   * <!-- end-user-doc -->
36
	 * <p>
55
   * @param value the new value of the '<em>Visibility</em>' attribute.
37
	 * If the meaning of the '<em>Visibility</em>' attribute isn't clear, there really should be more of a description here...
56
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind
38
	 * </p>
57
   * @see #getVisibility()
39
	 * <!-- end-user-doc -->
58
   * @generated
40
	 * 
59
   */
41
	 * @return the value of the '<em>Visibility</em>' attribute.
60
  void setVisibility(VisibilityKind value);
42
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind
43
	 * @see #setVisibility(VisibilityKind)
44
	 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage#getCollaborationUseRule_Visibility()
45
	 * @model
46
	 * @generated
47
	 */
48
	VisibilityKind getVisibility();
49
61
50
	/**
62
  /**
51
	 * Sets the value of the '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getVisibility
63
   * Returns the value of the '<em><b>Name</b></em>' attribute.
52
	 * <em>Visibility</em>}' attribute.
64
   * <!-- begin-user-doc -->
53
	 * <!-- begin-user-doc -->
65
   * <p>
54
	 * <!-- end-user-doc -->
66
   * If the meaning of the '<em>Name</em>' attribute isn't clear,
55
	 * 
67
   * there really should be more of a description here...
56
	 * @param value
68
   * </p>
57
	 *        the new value of the '<em>Visibility</em>' attribute.
69
   * <!-- end-user-doc -->
58
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind
70
   * @return the value of the '<em>Name</em>' attribute.
59
	 * @see #getVisibility()
71
   * @see #setName(String)
60
	 * @generated
72
   * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage#getCollaborationUseRule_Name()
61
	 */
73
   * @model
62
	void setVisibility(VisibilityKind value);
74
   * @generated
75
   */
76
  String getName();
63
77
64
	/**
78
  /**
65
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
79
   * Sets the value of the '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getName <em>Name</em>}' attribute.
66
	 * <!-- begin-user-doc -->
80
   * <!-- begin-user-doc -->
67
	 * <p>
81
   * <!-- end-user-doc -->
68
	 * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
82
   * @param value the new value of the '<em>Name</em>' attribute.
69
	 * </p>
83
   * @see #getName()
70
	 * <!-- end-user-doc -->
84
   * @generated
71
	 * 
85
   */
72
	 * @return the value of the '<em>Name</em>' attribute.
86
  void setName(String value);
73
	 * @see #setName(String)
74
	 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage#getCollaborationUseRule_Name()
75
	 * @model
76
	 * @generated
77
	 */
78
	String getName();
79
87
80
	/**
88
  /**
81
	 * Sets the value of the '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getName <em>Name</em>}
89
   * Returns the value of the '<em><b>Type</b></em>' containment reference.
82
	 * ' attribute.
90
   * <!-- begin-user-doc -->
83
	 * <!-- begin-user-doc -->
91
   * <p>
84
	 * <!-- end-user-doc -->
92
   * If the meaning of the '<em>Type</em>' containment reference isn't clear,
85
	 * 
93
   * there really should be more of a description here...
86
	 * @param value
94
   * </p>
87
	 *        the new value of the '<em>Name</em>' attribute.
95
   * <!-- end-user-doc -->
88
	 * @see #getName()
96
   * @return the value of the '<em>Type</em>' containment reference.
89
	 * @generated
97
   * @see #setType(TypeRule)
90
	 */
98
   * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage#getCollaborationUseRule_Type()
91
	void setName(String value);
99
   * @model containment="true"
100
   * @generated
101
   */
102
  TypeRule getType();
92
103
93
	/**
104
  /**
94
	 * Returns the value of the '<em><b>Type</b></em>' containment reference.
105
   * Sets the value of the '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getType <em>Type</em>}' containment reference.
95
	 * <!-- begin-user-doc -->
106
   * <!-- begin-user-doc -->
96
	 * <p>
107
   * <!-- end-user-doc -->
97
	 * If the meaning of the '<em>Type</em>' containment reference isn't clear, there really should be more of a description here...
108
   * @param value the new value of the '<em>Type</em>' containment reference.
98
	 * </p>
109
   * @see #getType()
99
	 * <!-- end-user-doc -->
110
   * @generated
100
	 * 
111
   */
101
	 * @return the value of the '<em>Type</em>' containment reference.
112
  void setType(TypeRule value);
102
	 * @see #setType(TypeRule)
103
	 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage#getCollaborationUseRule_Type()
104
	 * @model containment="true"
105
	 * @generated
106
	 */
107
	TypeRule getType();
108
109
	/**
110
	 * Sets the value of the '{@link org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.CollaborationUseRule#getType <em>Type</em>}
111
	 * ' containment reference.
112
	 * <!-- begin-user-doc -->
113
	 * <!-- end-user-doc -->
114
	 * 
115
	 * @param value
116
	 *        the new value of the '<em>Type</em>' containment reference.
117
	 * @see #getType()
118
	 * @generated
119
	 */
120
	void setType(TypeRule value);
121
113
122
} // CollaborationUseRule
114
} // CollaborationUseRule
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/umlCollaborationUse/TypeRule.java (-3 / +4 lines)
Lines 11-21 Link Here
11
 * <!-- begin-user-doc -->
11
 * <!-- begin-user-doc -->
12
 * A representation of the model object '<em><b>Type Rule</b></em>'.
12
 * A representation of the model object '<em><b>Type Rule</b></em>'.
13
 * <!-- end-user-doc -->
13
 * <!-- end-user-doc -->
14
 * 
14
 *
15
 * 
15
 *
16
 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage#getTypeRule()
16
 * @see org.eclipse.papyrus.collaborationuse.editor.xtext.umlCollaborationUse.UmlCollaborationUsePackage#getTypeRule()
17
 * @model
17
 * @model
18
 * @generated
18
 * @generated
19
 */
19
 */
20
public interface TypeRule extends org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule {
20
public interface TypeRule extends org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule
21
{
21
} // TypeRule
22
} // TypeRule
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse.ecore (-3 / +3 lines)
Lines 5-14 Link Here
5
    nsURI="http://www.eclipse.org/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse"
5
    nsURI="http://www.eclipse.org/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse"
6
    nsPrefix="umlCollaborationUse">
6
    nsPrefix="umlCollaborationUse">
7
  <eClassifiers xsi:type="ecore:EClass" name="CollaborationUseRule">
7
  <eClassifiers xsi:type="ecore:EClass" name="CollaborationUseRule">
8
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="visibility" eType="ecore:EEnum ../../../../../../../../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//VisibilityKind"/>
8
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="visibility" eType="ecore:EEnum platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//VisibilityKind"/>
9
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
9
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
10
    <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//TypeRule"
10
    <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse.ecore#//TypeRule"
11
        containment="true"/>
11
        containment="true"/>
12
  </eClassifiers>
12
  </eClassifiers>
13
  <eClassifiers xsi:type="ecore:EClass" name="TypeRule" eSuperTypes="../../../../../../../../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//TypeRule"/>
13
  <eClassifiers xsi:type="ecore:EClass" name="TypeRule" eSuperTypes="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//TypeRule"/>
14
</ecore:EPackage>
14
</ecore:EPackage>
(-)src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse.genmodel (-7 / +7 lines)
Lines 6-19 Link Here
6
    modelPluginID="org.eclipse.papyrus.collaborationuse.editor.xtext" forceOverwrite="true"
6
    modelPluginID="org.eclipse.papyrus.collaborationuse.editor.xtext" forceOverwrite="true"
7
    modelName="UmlCollaborationUse" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
7
    modelName="UmlCollaborationUse" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.collaborationuse.editor.xtext.edit"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.collaborationuse.editor.xtext.edit"
9
    editorPluginID="org.eclipse.papyrus.collaborationuse.editor.xtext.editor" usedGenPackages="../../../../../../../../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UMLCommon.genmodel#//umlCommon">
9
    editorPluginID="org.eclipse.papyrus.collaborationuse.editor.xtext.editor" usedGenPackages="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UMLCommon.genmodel#//umlCommon">
10
  <genPackages prefix="UmlCollaborationUse" basePackage="org.eclipse.papyrus.collaborationuse.editor.xtext"
10
  <genPackages prefix="UmlCollaborationUse" basePackage="org.eclipse.papyrus.collaborationuse.editor.xtext"
11
      resource="XML" disposableProviderFactory="true" ecorePackage="UmlCollaborationUse.ecore#/">
11
      resource="XML" disposableProviderFactory="true" ecorePackage="platform:/resource/org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse.ecore#/">
12
    <genClasses ecoreClass="UmlCollaborationUse.ecore#//CollaborationUseRule">
12
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse.ecore#//CollaborationUseRule">
13
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlCollaborationUse.ecore#//CollaborationUseRule/visibility"/>
13
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse.ecore#//CollaborationUseRule/visibility"/>
14
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlCollaborationUse.ecore#//CollaborationUseRule/name"/>
14
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse.ecore#//CollaborationUseRule/name"/>
15
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlCollaborationUse.ecore#//CollaborationUseRule/type"/>
15
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse.ecore#//CollaborationUseRule/type"/>
16
    </genClasses>
16
    </genClasses>
17
    <genClasses ecoreClass="UmlCollaborationUse.ecore#//TypeRule"/>
17
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.collaborationuse.editor.xtext/src-gen/org/eclipse/papyrus/collaborationuse/editor/xtext/UmlCollaborationUse.ecore#//TypeRule"/>
18
  </genPackages>
18
  </genPackages>
19
</genmodel:GenModel>
19
</genmodel:GenModel>
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/UmlCommonAntlrTokenFileProvider.java (-5 / +4 lines)
Lines 1-16 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
package org.eclipse.papyrus.common.editor.xtext.parser.antlr;
4
package org.eclipse.papyrus.common.editor.xtext.parser.antlr;
5
5
6
import java.io.InputStream;
6
import java.io.InputStream;
7
8
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
7
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
9
8
10
public class UmlCommonAntlrTokenFileProvider implements IAntlrTokenFileProvider {
9
public class UmlCommonAntlrTokenFileProvider implements IAntlrTokenFileProvider {
11
10
	
12
	public InputStream getAntlrTokenFile() {
11
	public InputStream getAntlrTokenFile() {
13
		ClassLoader classLoader = getClass().getClassLoader();
12
		ClassLoader classLoader = getClass().getClassLoader();
14
		return classLoader.getResourceAsStream("org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.tokens");
13
    	return classLoader.getResourceAsStream("org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.tokens");
15
	}
14
	}
16
}
15
}
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/UmlCommonParser.java (-32 / +16 lines)
Lines 1-55 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
package org.eclipse.papyrus.common.editor.xtext.parser.antlr;
4
package org.eclipse.papyrus.common.editor.xtext.parser.antlr;
5
5
6
import org.antlr.runtime.CharStream;
7
import org.antlr.runtime.TokenSource;
8
import org.eclipse.papyrus.common.editor.xtext.services.UmlCommonGrammarAccess;
9
import org.eclipse.xtext.parser.IParseResult;
10
import org.eclipse.xtext.parser.ParseException;
11
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
12
13
import com.google.inject.Inject;
6
import com.google.inject.Inject;
14
7
15
public class UmlCommonParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
8
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
9
import org.eclipse.papyrus.common.editor.xtext.services.UmlCommonGrammarAccess;
16
10
11
public class UmlCommonParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
12
	
17
	@Inject
13
	@Inject
18
	private UmlCommonGrammarAccess grammarAccess;
14
	private UmlCommonGrammarAccess grammarAccess;
19
15
	
20
	@Override
16
	@Override
21
	protected IParseResult parse(String ruleName, CharStream in) {
17
	protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
22
		TokenSource tokenSource = createLexer(in);
23
		XtextTokenStream tokenStream = createTokenStream(tokenSource);
24
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
18
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
25
		org.eclipse.papyrus.common.editor.xtext.parser.antlr.internal.InternalUmlCommonParser parser = createParser(tokenStream);
26
		parser.setTokenTypeMap(getTokenDefProvider().getTokenDefMap());
27
		parser.setSyntaxErrorProvider(getSyntaxErrorProvider());
28
		parser.setUnorderedGroupHelper(getUnorderedGroupHelper().get());
29
		try {
30
			if(ruleName != null)
31
				return parser.parse(ruleName);
32
			return parser.parse();
33
		} catch (Exception re) {
34
			throw new ParseException(re.getMessage(), re);
35
		}
36
	}
19
	}
37
20
	
21
	@Override
38
	protected org.eclipse.papyrus.common.editor.xtext.parser.antlr.internal.InternalUmlCommonParser createParser(XtextTokenStream stream) {
22
	protected org.eclipse.papyrus.common.editor.xtext.parser.antlr.internal.InternalUmlCommonParser createParser(XtextTokenStream stream) {
39
		return new org.eclipse.papyrus.common.editor.xtext.parser.antlr.internal.InternalUmlCommonParser(stream, getElementFactory(), getGrammarAccess());
23
		return new org.eclipse.papyrus.common.editor.xtext.parser.antlr.internal.InternalUmlCommonParser(stream, getGrammarAccess());
40
	}
24
	}
41
25
	
42
	@Override
26
	@Override 
43
	protected String getDefaultRuleName() {
27
	protected String getDefaultRuleName() {
44
		return "QualifiedName";
28
		return "QualifiedName";
45
	}
29
	}
46
30
	
47
	public UmlCommonGrammarAccess getGrammarAccess() {
31
	public UmlCommonGrammarAccess getGrammarAccess() {
48
		return this.grammarAccess;
32
		return this.grammarAccess;
49
	}
33
	}
50
34
	
51
	public void setGrammarAccess(UmlCommonGrammarAccess grammarAccess) {
35
	public void setGrammarAccess(UmlCommonGrammarAccess grammarAccess) {
52
		this.grammarAccess = grammarAccess;
36
		this.grammarAccess = grammarAccess;
53
	}
37
	}
54
38
	
55
}
39
}
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g (-56 / +29 lines)
Lines 19-29 Link Here
19
@parser::header {
19
@parser::header {
20
package org.eclipse.papyrus.common.editor.xtext.parser.antlr.internal; 
20
package org.eclipse.papyrus.common.editor.xtext.parser.antlr.internal; 
21
21
22
import java.io.InputStream;
23
import org.eclipse.xtext.*;
22
import org.eclipse.xtext.*;
24
import org.eclipse.xtext.parser.*;
23
import org.eclipse.xtext.parser.*;
25
import org.eclipse.xtext.parser.impl.*;
24
import org.eclipse.xtext.parser.impl.*;
26
import org.eclipse.xtext.parsetree.*;
27
import org.eclipse.emf.ecore.util.EcoreUtil;
25
import org.eclipse.emf.ecore.util.EcoreUtil;
28
import org.eclipse.emf.ecore.EObject;
26
import org.eclipse.emf.ecore.EObject;
29
import org.eclipse.emf.common.util.Enumerator;
27
import org.eclipse.emf.common.util.Enumerator;
Lines 31-37 Link Here
31
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
29
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
32
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
30
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
33
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
31
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
34
import org.eclipse.xtext.conversion.ValueConverterException;
35
import org.eclipse.papyrus.common.editor.xtext.services.UmlCommonGrammarAccess;
32
import org.eclipse.papyrus.common.editor.xtext.services.UmlCommonGrammarAccess;
36
33
37
}
34
}
Lines 40-56 Link Here
40
37
41
 	private UmlCommonGrammarAccess grammarAccess;
38
 	private UmlCommonGrammarAccess grammarAccess;
42
 	
39
 	
43
    public InternalUmlCommonParser(TokenStream input, IAstFactory factory, UmlCommonGrammarAccess grammarAccess) {
40
    public InternalUmlCommonParser(TokenStream input, UmlCommonGrammarAccess grammarAccess) {
44
        this(input);
41
        this(input);
45
        this.factory = factory;
46
        registerRules(grammarAccess.getGrammar());
47
        this.grammarAccess = grammarAccess;
42
        this.grammarAccess = grammarAccess;
48
    }
43
        registerRules(grammarAccess.getGrammar());
49
    
50
    @Override
51
    protected InputStream getTokenFile() {
52
    	ClassLoader classLoader = getClass().getClassLoader();
53
    	return classLoader.getResourceAsStream("org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.tokens");
54
    }
44
    }
55
    
45
    
56
    @Override
46
    @Override
Lines 77-83 Link Here
77
// Entry rule entryRuleQualifiedName
67
// Entry rule entryRuleQualifiedName
78
entryRuleQualifiedName returns [EObject current=null] 
68
entryRuleQualifiedName returns [EObject current=null] 
79
	:
69
	:
80
	{ currentNode = createCompositeNode(grammarAccess.getQualifiedNameRule(), currentNode); }
70
	{ newCompositeNode(grammarAccess.getQualifiedNameRule()); }
81
	 iv_ruleQualifiedName=ruleQualifiedName 
71
	 iv_ruleQualifiedName=ruleQualifiedName 
82
	 { $current=$iv_ruleQualifiedName.current; } 
72
	 { $current=$iv_ruleQualifiedName.current; } 
83
	 EOF 
73
	 EOF 
Lines 85-134 Link Here
85
75
86
// Rule QualifiedName
76
// Rule QualifiedName
87
ruleQualifiedName returns [EObject current=null] 
77
ruleQualifiedName returns [EObject current=null] 
88
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
78
    @init { enterRule(); 
89
    }
79
    }
90
    @after { resetLookahead(); 
80
    @after { leaveRule(); }:
91
    	lastConsumedNode = currentNode;
92
    }:
93
((
81
((
94
(
82
(
95
		{
83
		{
96
			if ($current==null) {
84
			if ($current==null) {
97
	            $current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
85
	            $current = createModelElement(grammarAccess.getQualifiedNameRule());
98
	            associateNodeWithAstElement(currentNode, $current);
99
	        }
86
	        }
100
        }
87
        }
101
	RULE_ID
88
	otherlv_0=RULE_ID
102
	{
89
	{
103
		createLeafNode(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(), "path"); 
90
		newLeafNode(otherlv_0, grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); 
104
	}
91
	}
105
92
106
)
93
)
107
)	'::' 
94
)	otherlv_1='::' 
108
    {
95
    {
109
        createLeafNode(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1(), null); 
96
    	newLeafNode(otherlv_1, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
110
    }
97
    }
111
(
98
(
112
(
99
(
113
		{ 
100
		{ 
114
	        currentNode=createCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(), currentNode); 
101
	        newCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
115
	    }
102
	    }
116
		lv_remaining_2_0=ruleQualifiedName		{
103
		lv_remaining_2_0=ruleQualifiedName		{
117
	        if ($current==null) {
104
	        if ($current==null) {
118
	            $current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
105
	            $current = createModelElementForParent(grammarAccess.getQualifiedNameRule());
119
	            associateNodeWithAstElement(currentNode.getParent(), $current);
120
	        }
106
	        }
121
	        try {
107
       		set(
122
	       		set(
108
       			$current, 
123
	       			$current, 
109
       			"remaining",
124
	       			"remaining",
110
        		lv_remaining_2_0, 
125
	        		lv_remaining_2_0, 
111
        		"QualifiedName");
126
	        		"QualifiedName", 
112
	        afterParserOrEnumRuleCall();
127
	        		currentNode);
128
	        } catch (ValueConverterException vce) {
129
				handleValueConverterException(vce);
130
	        }
131
	        currentNode = currentNode.getParent();
132
	    }
113
	    }
133
114
134
)
115
)
Lines 146-152 Link Here
146
// Entry rule entryRuleBoundSpecification
127
// Entry rule entryRuleBoundSpecification
147
entryRuleBoundSpecification returns [EObject current=null] 
128
entryRuleBoundSpecification returns [EObject current=null] 
148
	:
129
	:
149
	{ currentNode = createCompositeNode(grammarAccess.getBoundSpecificationRule(), currentNode); }
130
	{ newCompositeNode(grammarAccess.getBoundSpecificationRule()); }
150
	 iv_ruleBoundSpecification=ruleBoundSpecification 
131
	 iv_ruleBoundSpecification=ruleBoundSpecification 
151
	 { $current=$iv_ruleBoundSpecification.current; } 
132
	 { $current=$iv_ruleBoundSpecification.current; } 
152
	 EOF 
133
	 EOF 
Lines 154-185 Link Here
154
135
155
// Rule BoundSpecification
136
// Rule BoundSpecification
156
ruleBoundSpecification returns [EObject current=null] 
137
ruleBoundSpecification returns [EObject current=null] 
157
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
138
    @init { enterRule(); 
158
    }
139
    }
159
    @after { resetLookahead(); 
140
    @after { leaveRule(); }:
160
    	lastConsumedNode = currentNode;
161
    }:
162
(
141
(
163
(
142
(
164
		lv_value_0_0=RULE_UNLIMITEDLITERAL
143
		lv_value_0_0=RULE_UNLIMITEDLITERAL
165
		{
144
		{
166
			createLeafNode(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0(), "value"); 
145
			newLeafNode(lv_value_0_0, grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0()); 
167
		}
146
		}
168
		{
147
		{
169
	        if ($current==null) {
148
	        if ($current==null) {
170
	            $current = factory.create(grammarAccess.getBoundSpecificationRule().getType().getClassifier());
149
	            $current = createModelElement(grammarAccess.getBoundSpecificationRule());
171
	            associateNodeWithAstElement(currentNode, $current);
172
	        }
150
	        }
173
	        try {
151
       		setWithLastConsumed(
174
	       		set(
152
       			$current, 
175
	       			$current, 
153
       			"value",
176
	       			"value",
154
        		lv_value_0_0, 
177
	        		lv_value_0_0, 
155
        		"UnlimitedLiteral");
178
	        		"UnlimitedLiteral", 
179
	        		lastConsumedNode);
180
	        } catch (ValueConverterException vce) {
181
				handleValueConverterException(vce);
182
	        }
183
	    }
156
	    }
184
157
185
)
158
)
Lines 200-206 Link Here
200
173
201
RULE_INT : ('0'..'9')+;
174
RULE_INT : ('0'..'9')+;
202
175
203
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
176
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
204
177
205
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
178
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
206
179
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.tokens (+1 lines)
Lines 1-6 Link Here
1
RULE_ID=4
1
RULE_ID=4
2
RULE_STRING=7
2
RULE_STRING=7
3
RULE_UNLIMITEDLITERAL=5
3
RULE_UNLIMITEDLITERAL=5
4
T__12=12
4
RULE_ANY_OTHER=11
5
RULE_ANY_OTHER=11
5
RULE_INT=6
6
RULE_INT=6
6
RULE_WS=10
7
RULE_WS=10
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommonParser.java (-277 / +248 lines)
Lines 1-352 Link Here
1
/*****************************************************************************
1
package org.eclipse.papyrus.common.editor.xtext.parser.antlr.internal; 
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.common.editor.xtext.parser.antlr.internal;
15
16
import java.io.InputStream;
17
2
18
import org.antlr.runtime.BitSet;
3
import org.eclipse.xtext.*;
19
import org.antlr.runtime.RecognitionException;
4
import org.eclipse.xtext.parser.*;
20
import org.antlr.runtime.Token;
5
import org.eclipse.xtext.parser.impl.*;
21
import org.antlr.runtime.TokenStream;
6
import org.eclipse.emf.ecore.util.EcoreUtil;
22
import org.eclipse.emf.ecore.EObject;
7
import org.eclipse.emf.ecore.EObject;
23
import org.eclipse.papyrus.common.editor.xtext.services.UmlCommonGrammarAccess;
8
import org.eclipse.emf.common.util.Enumerator;
24
import org.eclipse.xtext.conversion.ValueConverterException;
25
import org.eclipse.xtext.parser.IAstFactory;
26
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
9
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
27
10
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
28
@SuppressWarnings("all")
11
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
29
public class InternalUmlCommonParser extends AbstractInternalAntlrParser {
12
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
30
13
import org.eclipse.papyrus.common.editor.xtext.services.UmlCommonGrammarAccess;
31
	public static final String[] tokenNames = new String[]{ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_UNLIMITEDLITERAL", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'::'" };
32
33
	public static final int RULE_ID = 4;
34
35
	public static final int RULE_STRING = 7;
36
37
	public static final int RULE_UNLIMITEDLITERAL = 5;
38
39
	public static final int RULE_ANY_OTHER = 11;
40
41
	public static final int RULE_INT = 6;
42
43
	public static final int RULE_WS = 10;
44
45
	public static final int RULE_SL_COMMENT = 9;
46
47
	public static final int EOF = -1;
48
49
	public static final int RULE_ML_COMMENT = 8;
50
51
	public InternalUmlCommonParser(TokenStream input) {
52
		super(input);
53
	}
54
55
56
	public String[] getTokenNames() {
57
		return tokenNames;
58
	}
59
60
	public String getGrammarFileName() {
61
		return "../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g";
62
	}
63
64
65
66
	private UmlCommonGrammarAccess grammarAccess;
67
68
	public InternalUmlCommonParser(TokenStream input, IAstFactory factory, UmlCommonGrammarAccess grammarAccess) {
69
		this(input);
70
		this.factory = factory;
71
		registerRules(grammarAccess.getGrammar());
72
		this.grammarAccess = grammarAccess;
73
	}
74
75
	@Override
76
	protected InputStream getTokenFile() {
77
		ClassLoader classLoader = getClass().getClassLoader();
78
		return classLoader.getResourceAsStream("org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.tokens");
79
	}
80
81
	@Override
82
	protected String getFirstRuleName() {
83
		return "QualifiedName";
84
	}
85
86
	@Override
87
	protected UmlCommonGrammarAccess getGrammarAccess() {
88
		return grammarAccess;
89
	}
90
91
92
93
	// $ANTLR start entryRuleQualifiedName
94
	// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:78:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
95
	public final EObject entryRuleQualifiedName() throws RecognitionException {
96
		EObject current = null;
97
98
		EObject iv_ruleQualifiedName = null;
99
100
101
		try {
102
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:79:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
103
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:80:2: iv_ruleQualifiedName= ruleQualifiedName EOF
104
			{
105
				currentNode = createCompositeNode(grammarAccess.getQualifiedNameRule(), currentNode);
106
				pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName75);
107
				iv_ruleQualifiedName = ruleQualifiedName();
108
				_fsp--;
109
110
				current = iv_ruleQualifiedName;
111
				match(input, EOF, FOLLOW_EOF_in_entryRuleQualifiedName85);
112
113
			}
114
115
		}
116
117
		catch (RecognitionException re) {
118
			recover(input, re);
119
			appendSkippedTokens();
120
		} finally {
121
		}
122
		return current;
123
	}
124
125
	// $ANTLR end entryRuleQualifiedName
126
127
128
	// $ANTLR start ruleQualifiedName
129
	// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:87:1: ruleQualifiedName returns [EObject current=null] : ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) ;
130
	public final EObject ruleQualifiedName() throws RecognitionException {
131
		EObject current = null;
132
14
133
		EObject lv_remaining_2_0 = null;
134
15
135
16
136
		EObject temp = null;
17
import org.antlr.runtime.*;
137
		setCurrentLookahead();
18
import java.util.Stack;
138
		resetLookahead();
19
import java.util.List;
20
import java.util.ArrayList;
139
21
140
		try {
22
@SuppressWarnings("all")
141
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:92:6: ( ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) )
23
public class InternalUmlCommonParser extends AbstractInternalAntlrParser {
142
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:93:1: ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
24
    public static final String[] tokenNames = new String[] {
143
			{
25
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_UNLIMITEDLITERAL", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'::'"
144
				// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:93:1: ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
26
    };
145
				// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:93:2: ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )?
27
    public static final int RULE_ID=4;
146
				{
28
    public static final int RULE_STRING=7;
147
					// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:93:2: ( ( RULE_ID ) )
29
    public static final int RULE_UNLIMITEDLITERAL=5;
148
					// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:94:1: ( RULE_ID )
30
    public static final int T__12=12;
149
					{
31
    public static final int RULE_ANY_OTHER=11;
150
						// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:94:1: ( RULE_ID )
32
    public static final int RULE_INT=6;
151
						// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:95:3: RULE_ID
33
    public static final int RULE_WS=10;
152
						{
34
    public static final int RULE_SL_COMMENT=9;
35
    public static final int EOF=-1;
36
    public static final int RULE_ML_COMMENT=8;
153
37
154
							if(current == null) {
38
    // delegates
155
								current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
39
    // delegators
156
								associateNodeWithAstElement(currentNode, current);
157
							}
158
40
159
							match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleQualifiedName128);
160
41
161
							createLeafNode(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(), "path");
42
        public InternalUmlCommonParser(TokenStream input) {
43
            this(input, new RecognizerSharedState());
44
        }
45
        public InternalUmlCommonParser(TokenStream input, RecognizerSharedState state) {
46
            super(input, state);
47
             
48
        }
49
        
162
50
51
    public String[] getTokenNames() { return InternalUmlCommonParser.tokenNames; }
52
    public String getGrammarFileName() { return "../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g"; }
163
53
164
						}
165
54
166
55
167
					}
56
     	private UmlCommonGrammarAccess grammarAccess;
57
     	
58
        public InternalUmlCommonParser(TokenStream input, UmlCommonGrammarAccess grammarAccess) {
59
            this(input);
60
            this.grammarAccess = grammarAccess;
61
            registerRules(grammarAccess.getGrammar());
62
        }
63
        
64
        @Override
65
        protected String getFirstRuleName() {
66
        	return "QualifiedName";	
67
       	}
68
       	
69
       	@Override
70
       	protected UmlCommonGrammarAccess getGrammarAccess() {
71
       		return grammarAccess;
72
       	}
168
73
169
					match(input, 12, FOLLOW_12_in_ruleQualifiedName138);
170
74
171
					createLeafNode(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1(), null);
172
75
173
					// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:111:1: ( (lv_remaining_2_0= ruleQualifiedName ) )?
76
    // $ANTLR start "entryRuleQualifiedName"
174
					int alt1 = 2;
77
    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:68:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
175
					int LA1_0 = input.LA(1);
78
    public final EObject entryRuleQualifiedName() throws RecognitionException {
79
        EObject current = null;
176
80
177
					if((LA1_0 == RULE_ID)) {
81
        EObject iv_ruleQualifiedName = null;
178
						alt1 = 1;
179
					}
180
					switch(alt1) {
181
					case 1:
182
						// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:112:1: (lv_remaining_2_0= ruleQualifiedName )
183
					{
184
						// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:112:1: (lv_remaining_2_0= ruleQualifiedName )
185
						// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:113:3: lv_remaining_2_0= ruleQualifiedName
186
						{
187
82
188
							currentNode = createCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(), currentNode);
189
83
190
							pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedName159);
84
        try {
191
							lv_remaining_2_0 = ruleQualifiedName();
85
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:69:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
192
							_fsp--;
86
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:70:2: iv_ruleQualifiedName= ruleQualifiedName EOF
87
            {
88
             newCompositeNode(grammarAccess.getQualifiedNameRule()); 
89
            pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName75);
90
            iv_ruleQualifiedName=ruleQualifiedName();
193
91
92
            state._fsp--;
194
93
195
							if(current == null) {
94
             current =iv_ruleQualifiedName; 
196
								current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
95
            match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName85); 
197
								associateNodeWithAstElement(currentNode.getParent(), current);
198
							}
199
							try {
200
								set(current, "remaining", lv_remaining_2_0, "QualifiedName", currentNode);
201
							} catch (ValueConverterException vce) {
202
								handleValueConverterException(vce);
203
							}
204
							currentNode = currentNode.getParent();
205
96
97
            }
206
98
207
						}
99
        }
100
         
101
            catch (RecognitionException re) { 
102
                recover(input,re); 
103
                appendSkippedTokens();
104
            } 
105
        finally {
106
        }
107
        return current;
108
    }
109
    // $ANTLR end "entryRuleQualifiedName"
208
110
209
111
210
					}
112
    // $ANTLR start "ruleQualifiedName"
211
						break;
113
    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:77:1: ruleQualifiedName returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) ;
114
    public final EObject ruleQualifiedName() throws RecognitionException {
115
        EObject current = null;
212
116
213
					}
117
        Token otherlv_0=null;
118
        Token otherlv_1=null;
119
        EObject lv_remaining_2_0 = null;
214
120
215
121
216
				}
122
         enterRule(); 
123
            
124
        try {
125
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:80:28: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) )
126
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:81:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
127
            {
128
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:81:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
129
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:81:2: ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )?
130
            {
131
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:81:2: ( (otherlv_0= RULE_ID ) )
132
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:82:1: (otherlv_0= RULE_ID )
133
            {
134
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:82:1: (otherlv_0= RULE_ID )
135
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:83:3: otherlv_0= RULE_ID
136
            {
217
137
138
            			if (current==null) {
139
            	            current = createModelElement(grammarAccess.getQualifiedNameRule());
140
            	        }
141
                    
142
            otherlv_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName130); 
218
143
219
			}
144
            		newLeafNode(otherlv_0, grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); 
145
            	
220
146
221
			resetLookahead();
147
            }
222
			lastConsumedNode = currentNode;
223
148
224
		}
225
149
226
		catch (RecognitionException re) {
150
            }
227
			recover(input, re);
228
			appendSkippedTokens();
229
		} finally {
230
		}
231
		return current;
232
	}
233
151
234
	// $ANTLR end ruleQualifiedName
152
            otherlv_1=(Token)match(input,12,FOLLOW_12_in_ruleQualifiedName142); 
235
153
154
                	newLeafNode(otherlv_1, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
155
                
156
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:98:1: ( (lv_remaining_2_0= ruleQualifiedName ) )?
157
            int alt1=2;
158
            int LA1_0 = input.LA(1);
236
159
237
	// $ANTLR start entryRuleBoundSpecification
160
            if ( (LA1_0==RULE_ID) ) {
238
	// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:147:1: entryRuleBoundSpecification returns [EObject current=null] : iv_ruleBoundSpecification= ruleBoundSpecification EOF ;
161
                alt1=1;
239
	public final EObject entryRuleBoundSpecification() throws RecognitionException {
162
            }
240
		EObject current = null;
163
            switch (alt1) {
164
                case 1 :
165
                    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:99:1: (lv_remaining_2_0= ruleQualifiedName )
166
                    {
167
                    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:99:1: (lv_remaining_2_0= ruleQualifiedName )
168
                    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:100:3: lv_remaining_2_0= ruleQualifiedName
169
                    {
170
                     
171
                    	        newCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
172
                    	    
173
                    pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedName163);
174
                    lv_remaining_2_0=ruleQualifiedName();
241
175
242
		EObject iv_ruleBoundSpecification = null;
176
                    state._fsp--;
243
177
244
178
245
		try {
179
                    	        if (current==null) {
246
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:148:2: (iv_ruleBoundSpecification= ruleBoundSpecification EOF )
180
                    	            current = createModelElementForParent(grammarAccess.getQualifiedNameRule());
247
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:149:2: iv_ruleBoundSpecification= ruleBoundSpecification EOF
181
                    	        }
248
			{
182
                           		set(
249
				currentNode = createCompositeNode(grammarAccess.getBoundSpecificationRule(), currentNode);
183
                           			current, 
250
				pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification200);
184
                           			"remaining",
251
				iv_ruleBoundSpecification = ruleBoundSpecification();
185
                            		lv_remaining_2_0, 
252
				_fsp--;
186
                            		"QualifiedName");
187
                    	        afterParserOrEnumRuleCall();
188
                    	    
253
189
254
				current = iv_ruleBoundSpecification;
190
                    }
255
				match(input, EOF, FOLLOW_EOF_in_entryRuleBoundSpecification210);
256
191
257
			}
258
192
259
		}
193
                    }
194
                    break;
260
195
261
		catch (RecognitionException re) {
196
            }
262
			recover(input, re);
263
			appendSkippedTokens();
264
		} finally {
265
		}
266
		return current;
267
	}
268
197
269
	// $ANTLR end entryRuleBoundSpecification
270
198
199
            }
271
200
272
	// $ANTLR start ruleBoundSpecification
273
	// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:156:1: ruleBoundSpecification returns [EObject current=null] : ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) ) ;
274
	public final EObject ruleBoundSpecification() throws RecognitionException {
275
		EObject current = null;
276
201
277
		Token lv_value_0_0 = null;
202
            }
278
203
279
		EObject temp = null;
204
             leaveRule(); 
280
		setCurrentLookahead();
205
        }
281
		resetLookahead();
206
         
207
            catch (RecognitionException re) { 
208
                recover(input,re); 
209
                appendSkippedTokens();
210
            } 
211
        finally {
212
        }
213
        return current;
214
    }
215
    // $ANTLR end "ruleQualifiedName"
282
216
283
		try {
284
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:161:6: ( ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) ) )
285
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:162:1: ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) )
286
			{
287
				// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:162:1: ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) )
288
				// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:163:1: (lv_value_0_0= RULE_UNLIMITEDLITERAL )
289
				{
290
					// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:163:1: (lv_value_0_0= RULE_UNLIMITEDLITERAL )
291
					// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:164:3: lv_value_0_0= RULE_UNLIMITEDLITERAL
292
					{
293
						lv_value_0_0 = (Token)input.LT(1);
294
						match(input, RULE_UNLIMITEDLITERAL, FOLLOW_RULE_UNLIMITEDLITERAL_in_ruleBoundSpecification251);
295
217
296
						createLeafNode(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0(), "value");
218
    // $ANTLR start "entryRuleBoundSpecification"
219
    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:128:1: entryRuleBoundSpecification returns [EObject current=null] : iv_ruleBoundSpecification= ruleBoundSpecification EOF ;
220
    public final EObject entryRuleBoundSpecification() throws RecognitionException {
221
        EObject current = null;
297
222
223
        EObject iv_ruleBoundSpecification = null;
298
224
299
						if(current == null) {
300
							current = factory.create(grammarAccess.getBoundSpecificationRule().getType().getClassifier());
301
							associateNodeWithAstElement(currentNode, current);
302
						}
303
						try {
304
							set(current, "value", lv_value_0_0, "UnlimitedLiteral", lastConsumedNode);
305
						} catch (ValueConverterException vce) {
306
							handleValueConverterException(vce);
307
						}
308
225
226
        try {
227
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:129:2: (iv_ruleBoundSpecification= ruleBoundSpecification EOF )
228
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:130:2: iv_ruleBoundSpecification= ruleBoundSpecification EOF
229
            {
230
             newCompositeNode(grammarAccess.getBoundSpecificationRule()); 
231
            pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification204);
232
            iv_ruleBoundSpecification=ruleBoundSpecification();
309
233
310
					}
234
            state._fsp--;
311
235
236
             current =iv_ruleBoundSpecification; 
237
            match(input,EOF,FOLLOW_EOF_in_entryRuleBoundSpecification214); 
312
238
313
				}
239
            }
314
240
241
        }
242
         
243
            catch (RecognitionException re) { 
244
                recover(input,re); 
245
                appendSkippedTokens();
246
            } 
247
        finally {
248
        }
249
        return current;
250
    }
251
    // $ANTLR end "entryRuleBoundSpecification"
315
252
316
			}
317
253
318
			resetLookahead();
254
    // $ANTLR start "ruleBoundSpecification"
319
			lastConsumedNode = currentNode;
255
    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:137:1: ruleBoundSpecification returns [EObject current=null] : ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) ) ;
256
    public final EObject ruleBoundSpecification() throws RecognitionException {
257
        EObject current = null;
320
258
321
		}
259
        Token lv_value_0_0=null;
322
260
323
		catch (RecognitionException re) {
261
         enterRule(); 
324
			recover(input, re);
262
            
325
			appendSkippedTokens();
263
        try {
326
		} finally {
264
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:140:28: ( ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) ) )
327
		}
265
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:141:1: ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) )
328
		return current;
266
            {
329
	}
267
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:141:1: ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) )
268
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:142:1: (lv_value_0_0= RULE_UNLIMITEDLITERAL )
269
            {
270
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:142:1: (lv_value_0_0= RULE_UNLIMITEDLITERAL )
271
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:143:3: lv_value_0_0= RULE_UNLIMITEDLITERAL
272
            {
273
            lv_value_0_0=(Token)match(input,RULE_UNLIMITEDLITERAL,FOLLOW_RULE_UNLIMITEDLITERAL_in_ruleBoundSpecification255); 
330
274
331
	// $ANTLR end ruleBoundSpecification
275
            			newLeafNode(lv_value_0_0, grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0()); 
276
            		
332
277
278
            	        if (current==null) {
279
            	            current = createModelElement(grammarAccess.getBoundSpecificationRule());
280
            	        }
281
                   		setWithLastConsumed(
282
                   			current, 
283
                   			"value",
284
                    		lv_value_0_0, 
285
                    		"UnlimitedLiteral");
286
            	    
333
287
288
            }
334
289
335
290
336
	public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName75 = new BitSet(new long[]{ 0x0000000000000000L });
291
            }
337
292
338
	public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName85 = new BitSet(new long[]{ 0x0000000000000002L });
339
293
340
	public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName128 = new BitSet(new long[]{ 0x0000000000001000L });
294
            }
341
295
342
	public static final BitSet FOLLOW_12_in_ruleQualifiedName138 = new BitSet(new long[]{ 0x0000000000000012L });
296
             leaveRule(); 
297
        }
298
         
299
            catch (RecognitionException re) { 
300
                recover(input,re); 
301
                appendSkippedTokens();
302
            } 
303
        finally {
304
        }
305
        return current;
306
    }
307
    // $ANTLR end "ruleBoundSpecification"
343
308
344
	public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedName159 = new BitSet(new long[]{ 0x0000000000000002L });
309
    // Delegated rules
345
310
346
	public static final BitSet FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification200 = new BitSet(new long[]{ 0x0000000000000000L });
347
311
348
	public static final BitSet FOLLOW_EOF_in_entryRuleBoundSpecification210 = new BitSet(new long[]{ 0x0000000000000002L });
312
 
349
313
350
	public static final BitSet FOLLOW_RULE_UNLIMITEDLITERAL_in_ruleBoundSpecification251 = new BitSet(new long[]{ 0x0000000000000002L });
314
    public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName75 = new BitSet(new long[]{0x0000000000000000L});
315
    public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName85 = new BitSet(new long[]{0x0000000000000002L});
316
    public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName130 = new BitSet(new long[]{0x0000000000001000L});
317
    public static final BitSet FOLLOW_12_in_ruleQualifiedName142 = new BitSet(new long[]{0x0000000000000012L});
318
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedName163 = new BitSet(new long[]{0x0000000000000002L});
319
    public static final BitSet FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification204 = new BitSet(new long[]{0x0000000000000000L});
320
    public static final BitSet FOLLOW_EOF_in_entryRuleBoundSpecification214 = new BitSet(new long[]{0x0000000000000002L});
321
    public static final BitSet FOLLOW_RULE_UNLIMITEDLITERAL_in_ruleBoundSpecification255 = new BitSet(new long[]{0x0000000000000002L});
351
322
352
}
323
}
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommonLexer.java (-602 / +684 lines)
Lines 1-773 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.common.editor.xtext.parser.antlr.internal;
1
package org.eclipse.papyrus.common.editor.xtext.parser.antlr.internal;
15
2
16
// Hack: Use our own Lexer superclass by means of import. 
3
// Hack: Use our own Lexer superclass by means of import. 
17
// Currently there is no other way to specify the superclass for the lexer.
4
// Currently there is no other way to specify the superclass for the lexer.
18
import org.antlr.runtime.BaseRecognizer;
19
import org.antlr.runtime.CharStream;
20
import org.antlr.runtime.DFA;
21
import org.antlr.runtime.EarlyExitException;
22
import org.antlr.runtime.MismatchedSetException;
23
import org.antlr.runtime.NoViableAltException;
24
import org.antlr.runtime.RecognitionException;
25
import org.eclipse.xtext.parser.antlr.Lexer;
5
import org.eclipse.xtext.parser.antlr.Lexer;
26
6
27
@SuppressWarnings("all")
28
public class InternalUmlCommonLexer extends Lexer {
29
30
	public static final int RULE_ID = 4;
31
32
	public static final int RULE_STRING = 7;
33
34
	public static final int RULE_UNLIMITEDLITERAL = 5;
35
36
	public static final int RULE_ANY_OTHER = 11;
37
38
	public static final int RULE_INT = 6;
39
40
	public static final int T12 = 12;
41
42
	public static final int RULE_WS = 10;
43
44
	public static final int Tokens = 13;
45
46
	public static final int RULE_SL_COMMENT = 9;
47
48
	public static final int EOF = -1;
49
50
	public static final int RULE_ML_COMMENT = 8;
51
52
	public InternalUmlCommonLexer() {
53
		;
54
	}
55
56
	public InternalUmlCommonLexer(CharStream input) {
57
		super(input);
58
	}
59
60
	public String getGrammarFileName() {
61
		return "../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g";
62
	}
63
7
64
	// $ANTLR start T12
8
import org.antlr.runtime.*;
65
	public final void mT12() throws RecognitionException {
9
import java.util.Stack;
66
		try {
10
import java.util.List;
67
			int _type = T12;
11
import java.util.ArrayList;
68
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:10:5: ( '::' )
69
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:10:7: '::'
70
			{
71
				match("::");
72
12
73
13
@SuppressWarnings("all")
74
			}
14
public class InternalUmlCommonLexer extends Lexer {
75
15
    public static final int RULE_ID=4;
76
			this.type = _type;
16
    public static final int RULE_STRING=7;
77
		} finally {
17
    public static final int RULE_UNLIMITEDLITERAL=5;
78
		}
18
    public static final int T__12=12;
79
	}
19
    public static final int RULE_ANY_OTHER=11;
20
    public static final int RULE_INT=6;
21
    public static final int RULE_WS=10;
22
    public static final int RULE_SL_COMMENT=9;
23
    public static final int EOF=-1;
24
    public static final int RULE_ML_COMMENT=8;
80
25
81
	// $ANTLR end T12
26
    // delegates
27
    // delegators
82
28
83
	// $ANTLR start RULE_UNLIMITEDLITERAL
29
    public InternalUmlCommonLexer() {;} 
84
	public final void mRULE_UNLIMITEDLITERAL() throws RecognitionException {
30
    public InternalUmlCommonLexer(CharStream input) {
85
		try {
31
        this(input, new RecognizerSharedState());
86
			int _type = RULE_UNLIMITEDLITERAL;
32
    }
87
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:197:23: ( ( '0' .. '9' ( '0' .. '9' )* | '*' ) )
33
    public InternalUmlCommonLexer(CharStream input, RecognizerSharedState state) {
88
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:197:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
34
        super(input,state);
89
			{
90
				// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:197:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
91
				int alt2 = 2;
92
				int LA2_0 = input.LA(1);
93
35
94
				if(((LA2_0 >= '0' && LA2_0 <= '9'))) {
36
    }
95
					alt2 = 1;
37
    public String getGrammarFileName() { return "../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g"; }
96
				} else if((LA2_0 == '*')) {
97
					alt2 = 2;
98
				} else {
99
					NoViableAltException nvae = new NoViableAltException("197:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )", 2, 0, input);
100
38
101
					throw nvae;
39
    // $ANTLR start "T__12"
102
				}
40
    public final void mT__12() throws RecognitionException {
103
				switch(alt2) {
41
        try {
104
				case 1:
42
            int _type = T__12;
105
					// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:197:26: '0' .. '9' ( '0' .. '9' )*
43
            int _channel = DEFAULT_TOKEN_CHANNEL;
106
				{
44
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:11:7: ( '::' )
107
					matchRange('0', '9');
45
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:11:9: '::'
108
					// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:197:35: ( '0' .. '9' )*
46
            {
109
					loop1: do {
47
            match("::"); 
110
						int alt1 = 2;
111
						int LA1_0 = input.LA(1);
112
48
113
						if(((LA1_0 >= '0' && LA1_0 <= '9'))) {
114
							alt1 = 1;
115
						}
116
49
50
            }
117
51
118
						switch(alt1) {
52
            state.type = _type;
119
						case 1:
53
            state.channel = _channel;
120
							// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:197:36: '0' .. '9'
54
        }
121
						{
55
        finally {
122
							matchRange('0', '9');
56
        }
57
    }
58
    // $ANTLR end "T__12"
123
59
124
						}
60
    // $ANTLR start "RULE_UNLIMITEDLITERAL"
125
							break;
61
    public final void mRULE_UNLIMITEDLITERAL() throws RecognitionException {
62
        try {
63
            int _type = RULE_UNLIMITEDLITERAL;
64
            int _channel = DEFAULT_TOKEN_CHANNEL;
65
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:170:23: ( ( '0' .. '9' ( '0' .. '9' )* | '*' ) )
66
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:170:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
67
            {
68
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:170:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
69
            int alt2=2;
70
            int LA2_0 = input.LA(1);
126
71
127
						default:
72
            if ( ((LA2_0>='0' && LA2_0<='9')) ) {
128
							break loop1;
73
                alt2=1;
129
						}
74
            }
130
					} while(true);
75
            else if ( (LA2_0=='*') ) {
76
                alt2=2;
77
            }
78
            else {
79
                NoViableAltException nvae =
80
                    new NoViableAltException("", 2, 0, input);
131
81
82
                throw nvae;
83
            }
84
            switch (alt2) {
85
                case 1 :
86
                    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:170:26: '0' .. '9' ( '0' .. '9' )*
87
                    {
88
                    matchRange('0','9'); 
89
                    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:170:35: ( '0' .. '9' )*
90
                    loop1:
91
                    do {
92
                        int alt1=2;
93
                        int LA1_0 = input.LA(1);
132
94
133
				}
95
                        if ( ((LA1_0>='0' && LA1_0<='9')) ) {
134
					break;
96
                            alt1=1;
135
				case 2:
97
                        }
136
					// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:197:47: '*'
137
				{
138
					match('*');
139
98
140
				}
141
					break;
142
99
143
				}
100
                        switch (alt1) {
101
                    	case 1 :
102
                    	    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:170:36: '0' .. '9'
103
                    	    {
104
                    	    matchRange('0','9'); 
144
105
106
                    	    }
107
                    	    break;
145
108
146
			}
109
                    	default :
110
                    	    break loop1;
111
                        }
112
                    } while (true);
147
113
148
			this.type = _type;
149
		} finally {
150
		}
151
	}
152
114
153
	// $ANTLR end RULE_UNLIMITEDLITERAL
115
                    }
116
                    break;
117
                case 2 :
118
                    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:170:47: '*'
119
                    {
120
                    match('*'); 
154
121
155
	// $ANTLR start RULE_ID
122
                    }
156
	public final void mRULE_ID() throws RecognitionException {
123
                    break;
157
		try {
158
			int _type = RULE_ID;
159
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:199:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
160
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:199:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
161
			{
162
				// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:199:11: ( '^' )?
163
				int alt3 = 2;
164
				int LA3_0 = input.LA(1);
165
124
166
				if((LA3_0 == '^')) {
125
            }
167
					alt3 = 1;
168
				}
169
				switch(alt3) {
170
				case 1:
171
					// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:199:11: '^'
172
				{
173
					match('^');
174
126
175
				}
176
					break;
177
127
178
				}
128
            }
179
129
180
				if((input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
130
            state.type = _type;
181
					input.consume();
131
            state.channel = _channel;
132
        }
133
        finally {
134
        }
135
    }
136
    // $ANTLR end "RULE_UNLIMITEDLITERAL"
182
137
183
				} else {
138
    // $ANTLR start "RULE_ID"
184
					MismatchedSetException mse = new MismatchedSetException(null, input);
139
    public final void mRULE_ID() throws RecognitionException {
185
					recover(mse);
140
        try {
186
					throw mse;
141
            int _type = RULE_ID;
187
				}
142
            int _channel = DEFAULT_TOKEN_CHANNEL;
143
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:172:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
144
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:172:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
145
            {
146
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:172:11: ( '^' )?
147
            int alt3=2;
148
            int LA3_0 = input.LA(1);
188
149
189
				// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:199:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
150
            if ( (LA3_0=='^') ) {
190
				loop4: do {
151
                alt3=1;
191
					int alt4 = 2;
152
            }
192
					int LA4_0 = input.LA(1);
153
            switch (alt3) {
154
                case 1 :
155
                    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:172:11: '^'
156
                    {
157
                    match('^'); 
193
158
194
					if(((LA4_0 >= '0' && LA4_0 <= '9') || (LA4_0 >= 'A' && LA4_0 <= 'Z') || LA4_0 == '_' || (LA4_0 >= 'a' && LA4_0 <= 'z'))) {
159
                    }
195
						alt4 = 1;
160
                    break;
196
					}
197
161
162
            }
198
163
199
					switch(alt4) {
164
            if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
200
					case 1:
165
                input.consume();
201
						// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:
202
					{
203
						if((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
204
							input.consume();
205
166
206
						} else {
167
            }
207
							MismatchedSetException mse = new MismatchedSetException(null, input);
168
            else {
208
							recover(mse);
169
                MismatchedSetException mse = new MismatchedSetException(null,input);
209
							throw mse;
170
                recover(mse);
210
						}
171
                throw mse;}
211
172
173
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:172:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
174
            loop4:
175
            do {
176
                int alt4=2;
177
                int LA4_0 = input.LA(1);
212
178
213
					}
179
                if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {
214
						break;
180
                    alt4=1;
181
                }
215
182
216
					default:
217
						break loop4;
218
					}
219
				} while(true);
220
183
184
                switch (alt4) {
185
            	case 1 :
186
            	    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:
187
            	    {
188
            	    if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
189
            	        input.consume();
221
190
222
			}
191
            	    }
192
            	    else {
193
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
194
            	        recover(mse);
195
            	        throw mse;}
223
196
224
			this.type = _type;
225
		} finally {
226
		}
227
	}
228
197
229
	// $ANTLR end RULE_ID
198
            	    }
199
            	    break;
230
200
231
	// $ANTLR start RULE_INT
201
            	default :
232
	public final void mRULE_INT() throws RecognitionException {
202
            	    break loop4;
233
		try {
203
                }
234
			int _type = RULE_INT;
204
            } while (true);
235
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:201:10: ( ( '0' .. '9' )+ )
236
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:201:12: ( '0' .. '9' )+
237
			{
238
				// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:201:12: ( '0' .. '9' )+
239
				int cnt5 = 0;
240
				loop5: do {
241
					int alt5 = 2;
242
					int LA5_0 = input.LA(1);
243
205
244
					if(((LA5_0 >= '0' && LA5_0 <= '9'))) {
245
						alt5 = 1;
246
					}
247
206
207
            }
248
208
249
					switch(alt5) {
209
            state.type = _type;
250
					case 1:
210
            state.channel = _channel;
251
						// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:201:13: '0' .. '9'
211
        }
252
					{
212
        finally {
253
						matchRange('0', '9');
213
        }
214
    }
215
    // $ANTLR end "RULE_ID"
254
216
255
					}
217
    // $ANTLR start "RULE_INT"
256
						break;
218
    public final void mRULE_INT() throws RecognitionException {
219
        try {
220
            int _type = RULE_INT;
221
            int _channel = DEFAULT_TOKEN_CHANNEL;
222
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:174:10: ( ( '0' .. '9' )+ )
223
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:174:12: ( '0' .. '9' )+
224
            {
225
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:174:12: ( '0' .. '9' )+
226
            int cnt5=0;
227
            loop5:
228
            do {
229
                int alt5=2;
230
                int LA5_0 = input.LA(1);
257
231
258
					default:
232
                if ( ((LA5_0>='0' && LA5_0<='9')) ) {
259
						if(cnt5 >= 1)
233
                    alt5=1;
260
							break loop5;
234
                }
261
						EarlyExitException eee = new EarlyExitException(5, input);
262
						throw eee;
263
					}
264
					cnt5++;
265
				} while(true);
266
235
267
236
268
			}
237
                switch (alt5) {
238
            	case 1 :
239
            	    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:174:13: '0' .. '9'
240
            	    {
241
            	    matchRange('0','9'); 
269
242
270
			this.type = _type;
243
            	    }
271
		} finally {
244
            	    break;
272
		}
273
	}
274
245
275
	// $ANTLR end RULE_INT
246
            	default :
247
            	    if ( cnt5 >= 1 ) break loop5;
248
                        EarlyExitException eee =
249
                            new EarlyExitException(5, input);
250
                        throw eee;
251
                }
252
                cnt5++;
253
            } while (true);
276
254
277
	// $ANTLR start RULE_STRING
278
	public final void mRULE_STRING() throws RecognitionException {
279
		try {
280
			int _type = RULE_STRING;
281
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:203:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
282
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:203:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
283
			{
284
				// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:203:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
285
				int alt8 = 2;
286
				int LA8_0 = input.LA(1);
287
255
288
				if((LA8_0 == '\"')) {
256
            }
289
					alt8 = 1;
290
				} else if((LA8_0 == '\'')) {
291
					alt8 = 2;
292
				} else {
293
					NoViableAltException nvae = new NoViableAltException("203:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 8, 0, input);
294
257
295
					throw nvae;
258
            state.type = _type;
296
				}
259
            state.channel = _channel;
297
				switch(alt8) {
260
        }
298
				case 1:
261
        finally {
299
					// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:203:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
262
        }
300
				{
263
    }
301
					match('\"');
264
    // $ANTLR end "RULE_INT"
302
					// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:203:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
303
					loop6: do {
304
						int alt6 = 3;
305
						int LA6_0 = input.LA(1);
306
265
307
						if((LA6_0 == '\\')) {
266
    // $ANTLR start "RULE_STRING"
308
							alt6 = 1;
267
    public final void mRULE_STRING() throws RecognitionException {
309
						} else if(((LA6_0 >= '\u0000' && LA6_0 <= '!') || (LA6_0 >= '#' && LA6_0 <= '[') || (LA6_0 >= ']' && LA6_0 <= '\uFFFE'))) {
268
        try {
310
							alt6 = 2;
269
            int _type = RULE_STRING;
311
						}
270
            int _channel = DEFAULT_TOKEN_CHANNEL;
271
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:176:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
272
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:176:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
273
            {
274
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:176:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
275
            int alt8=2;
276
            int LA8_0 = input.LA(1);
312
277
278
            if ( (LA8_0=='\"') ) {
279
                alt8=1;
280
            }
281
            else if ( (LA8_0=='\'') ) {
282
                alt8=2;
283
            }
284
            else {
285
                NoViableAltException nvae =
286
                    new NoViableAltException("", 8, 0, input);
313
287
314
						switch(alt6) {
288
                throw nvae;
315
						case 1:
289
            }
316
							// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:203:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
290
            switch (alt8) {
317
						{
291
                case 1 :
318
							match('\\');
292
                    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:176:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
319
							if(input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
293
                    {
320
								input.consume();
294
                    match('\"'); 
295
                    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:176:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
296
                    loop6:
297
                    do {
298
                        int alt6=3;
299
                        int LA6_0 = input.LA(1);
321
300
322
							} else {
301
                        if ( (LA6_0=='\\') ) {
323
								MismatchedSetException mse = new MismatchedSetException(null, input);
302
                            alt6=1;
324
								recover(mse);
303
                        }
325
								throw mse;
304
                        else if ( ((LA6_0>='\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) {
326
							}
305
                            alt6=2;
306
                        }
327
307
328
308
329
						}
309
                        switch (alt6) {
330
							break;
310
                    	case 1 :
331
						case 2:
311
                    	    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:176:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
332
							// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:203:62: ~ ( ( '\\\\' | '\"' ) )
312
                    	    {
333
						{
313
                    	    match('\\'); 
334
							if((input.LA(1) >= '\u0000' && input.LA(1) <= '!') || (input.LA(1) >= '#' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFE')) {
314
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
335
								input.consume();
315
                    	        input.consume();
336
316
337
							} else {
317
                    	    }
338
								MismatchedSetException mse = new MismatchedSetException(null, input);
318
                    	    else {
339
								recover(mse);
319
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
340
								throw mse;
320
                    	        recover(mse);
341
							}
321
                    	        throw mse;}
342
322
343
323
344
						}
324
                    	    }
345
							break;
325
                    	    break;
326
                    	case 2 :
327
                    	    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:176:66: ~ ( ( '\\\\' | '\"' ) )
328
                    	    {
329
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
330
                    	        input.consume();
346
331
347
						default:
332
                    	    }
348
							break loop6;
333
                    	    else {
349
						}
334
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
350
					} while(true);
335
                    	        recover(mse);
336
                    	        throw mse;}
351
337
352
					match('\"');
353
338
354
				}
339
                    	    }
355
					break;
340
                    	    break;
356
				case 2:
357
					// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:203:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
358
				{
359
					match('\'');
360
					// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:203:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
361
					loop7: do {
362
						int alt7 = 3;
363
						int LA7_0 = input.LA(1);
364
341
365
						if((LA7_0 == '\\')) {
342
                    	default :
366
							alt7 = 1;
343
                    	    break loop6;
367
						} else if(((LA7_0 >= '\u0000' && LA7_0 <= '&') || (LA7_0 >= '(' && LA7_0 <= '[') || (LA7_0 >= ']' && LA7_0 <= '\uFFFE'))) {
344
                        }
368
							alt7 = 2;
345
                    } while (true);
369
						}
370
346
347
                    match('\"'); 
371
348
372
						switch(alt7) {
349
                    }
373
						case 1:
350
                    break;
374
							// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:203:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
351
                case 2 :
375
						{
352
                    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:176:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
376
							match('\\');
353
                    {
377
							if(input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
354
                    match('\''); 
378
								input.consume();
355
                    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:176:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
356
                    loop7:
357
                    do {
358
                        int alt7=3;
359
                        int LA7_0 = input.LA(1);
379
360
380
							} else {
361
                        if ( (LA7_0=='\\') ) {
381
								MismatchedSetException mse = new MismatchedSetException(null, input);
362
                            alt7=1;
382
								recover(mse);
363
                        }
383
								throw mse;
364
                        else if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) {
384
							}
365
                            alt7=2;
366
                        }
385
367
386
368
387
						}
369
                        switch (alt7) {
388
							break;
370
                    	case 1 :
389
						case 2:
371
                    	    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:176:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
390
							// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:203:129: ~ ( ( '\\\\' | '\\'' ) )
372
                    	    {
391
						{
373
                    	    match('\\'); 
392
							if((input.LA(1) >= '\u0000' && input.LA(1) <= '&') || (input.LA(1) >= '(' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFE')) {
374
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
393
								input.consume();
375
                    	        input.consume();
394
376
395
							} else {
377
                    	    }
396
								MismatchedSetException mse = new MismatchedSetException(null, input);
378
                    	    else {
397
								recover(mse);
379
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
398
								throw mse;
380
                    	        recover(mse);
399
							}
381
                    	        throw mse;}
400
382
401
383
402
						}
384
                    	    }
403
							break;
385
                    	    break;
386
                    	case 2 :
387
                    	    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:176:137: ~ ( ( '\\\\' | '\\'' ) )
388
                    	    {
389
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
390
                    	        input.consume();
404
391
405
						default:
392
                    	    }
406
							break loop7;
393
                    	    else {
407
						}
394
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
408
					} while(true);
395
                    	        recover(mse);
396
                    	        throw mse;}
409
397
410
					match('\'');
411
398
412
				}
399
                    	    }
413
					break;
400
                    	    break;
414
401
415
				}
402
                    	default :
403
                    	    break loop7;
404
                        }
405
                    } while (true);
416
406
407
                    match('\''); 
417
408
418
			}
409
                    }
410
                    break;
419
411
420
			this.type = _type;
412
            }
421
		} finally {
422
		}
423
	}
424
413
425
	// $ANTLR end RULE_STRING
426
414
427
	// $ANTLR start RULE_ML_COMMENT
415
            }
428
	public final void mRULE_ML_COMMENT() throws RecognitionException {
429
		try {
430
			int _type = RULE_ML_COMMENT;
431
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:205:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
432
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:205:19: '/*' ( options {greedy=false; } : . )* '*/'
433
			{
434
				match("/*");
435
416
436
				// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:205:24: ( options {greedy=false; } : . )*
417
            state.type = _type;
437
				loop9: do {
418
            state.channel = _channel;
438
					int alt9 = 2;
419
        }
439
					int LA9_0 = input.LA(1);
420
        finally {
421
        }
422
    }
423
    // $ANTLR end "RULE_STRING"
440
424
441
					if((LA9_0 == '*')) {
425
    // $ANTLR start "RULE_ML_COMMENT"
442
						int LA9_1 = input.LA(2);
426
    public final void mRULE_ML_COMMENT() throws RecognitionException {
427
        try {
428
            int _type = RULE_ML_COMMENT;
429
            int _channel = DEFAULT_TOKEN_CHANNEL;
430
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:178:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
431
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:178:19: '/*' ( options {greedy=false; } : . )* '*/'
432
            {
433
            match("/*"); 
443
434
444
						if((LA9_1 == '/')) {
435
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:178:24: ( options {greedy=false; } : . )*
445
							alt9 = 2;
436
            loop9:
446
						} else if(((LA9_1 >= '\u0000' && LA9_1 <= '.') || (LA9_1 >= '0' && LA9_1 <= '\uFFFE'))) {
437
            do {
447
							alt9 = 1;
438
                int alt9=2;
448
						}
439
                int LA9_0 = input.LA(1);
449
440
441
                if ( (LA9_0=='*') ) {
442
                    int LA9_1 = input.LA(2);
450
443
451
					} else if(((LA9_0 >= '\u0000' && LA9_0 <= ')') || (LA9_0 >= '+' && LA9_0 <= '\uFFFE'))) {
444
                    if ( (LA9_1=='/') ) {
452
						alt9 = 1;
445
                        alt9=2;
453
					}
446
                    }
447
                    else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) {
448
                        alt9=1;
449
                    }
454
450
455
451
456
					switch(alt9) {
452
                }
457
					case 1:
453
                else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) {
458
						// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:205:52: .
454
                    alt9=1;
459
					{
455
                }
460
						matchAny();
461
456
462
					}
463
						break;
464
457
465
					default:
458
                switch (alt9) {
466
						break loop9;
459
            	case 1 :
467
					}
460
            	    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:178:52: .
468
				} while(true);
461
            	    {
462
            	    matchAny(); 
469
463
470
				match("*/");
464
            	    }
465
            	    break;
471
466
467
            	default :
468
            	    break loop9;
469
                }
470
            } while (true);
472
471
473
			}
472
            match("*/"); 
474
473
475
			this.type = _type;
476
		} finally {
477
		}
478
	}
479
474
480
	// $ANTLR end RULE_ML_COMMENT
475
            }
481
476
482
	// $ANTLR start RULE_SL_COMMENT
477
            state.type = _type;
483
	public final void mRULE_SL_COMMENT() throws RecognitionException {
478
            state.channel = _channel;
484
		try {
479
        }
485
			int _type = RULE_SL_COMMENT;
480
        finally {
486
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:207:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
481
        }
487
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:207:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
482
    }
488
			{
483
    // $ANTLR end "RULE_ML_COMMENT"
489
				match("//");
490
484
491
				// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:207:24: (~ ( ( '\\n' | '\\r' ) ) )*
485
    // $ANTLR start "RULE_SL_COMMENT"
492
				loop10: do {
486
    public final void mRULE_SL_COMMENT() throws RecognitionException {
493
					int alt10 = 2;
487
        try {
494
					int LA10_0 = input.LA(1);
488
            int _type = RULE_SL_COMMENT;
489
            int _channel = DEFAULT_TOKEN_CHANNEL;
490
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:180:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
491
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:180:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
492
            {
493
            match("//"); 
495
494
496
					if(((LA10_0 >= '\u0000' && LA10_0 <= '\t') || (LA10_0 >= '\u000B' && LA10_0 <= '\f') || (LA10_0 >= '\u000E' && LA10_0 <= '\uFFFE'))) {
495
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:180:24: (~ ( ( '\\n' | '\\r' ) ) )*
497
						alt10 = 1;
496
            loop10:
498
					}
497
            do {
498
                int alt10=2;
499
                int LA10_0 = input.LA(1);
499
500
501
                if ( ((LA10_0>='\u0000' && LA10_0<='\t')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\uFFFF')) ) {
502
                    alt10=1;
503
                }
500
504
501
					switch(alt10) {
502
					case 1:
503
						// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:207:24: ~ ( ( '\\n' | '\\r' ) )
504
					{
505
						if((input.LA(1) >= '\u0000' && input.LA(1) <= '\t') || (input.LA(1) >= '\u000B' && input.LA(1) <= '\f') || (input.LA(1) >= '\u000E' && input.LA(1) <= '\uFFFE')) {
506
							input.consume();
507
505
508
						} else {
506
                switch (alt10) {
509
							MismatchedSetException mse = new MismatchedSetException(null, input);
507
            	case 1 :
510
							recover(mse);
508
            	    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:180:24: ~ ( ( '\\n' | '\\r' ) )
511
							throw mse;
509
            	    {
512
						}
510
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
511
            	        input.consume();
513
512
513
            	    }
514
            	    else {
515
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
516
            	        recover(mse);
517
            	        throw mse;}
514
518
515
					}
516
						break;
517
519
518
					default:
520
            	    }
519
						break loop10;
521
            	    break;
520
					}
521
				} while(true);
522
522
523
				// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:207:40: ( ( '\\r' )? '\\n' )?
523
            	default :
524
				int alt12 = 2;
524
            	    break loop10;
525
				int LA12_0 = input.LA(1);
525
                }
526
            } while (true);
526
527
527
				if((LA12_0 == '\n' || LA12_0 == '\r')) {
528
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:180:40: ( ( '\\r' )? '\\n' )?
528
					alt12 = 1;
529
            int alt12=2;
529
				}
530
            int LA12_0 = input.LA(1);
530
				switch(alt12) {
531
				case 1:
532
					// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:207:41: ( '\\r' )? '\\n'
533
				{
534
					// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:207:41: ( '\\r' )?
535
					int alt11 = 2;
536
					int LA11_0 = input.LA(1);
537
531
538
					if((LA11_0 == '\r')) {
532
            if ( (LA12_0=='\n'||LA12_0=='\r') ) {
539
						alt11 = 1;
533
                alt12=1;
540
					}
534
            }
541
					switch(alt11) {
535
            switch (alt12) {
542
					case 1:
536
                case 1 :
543
						// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:207:41: '\\r'
537
                    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:180:41: ( '\\r' )? '\\n'
544
					{
538
                    {
545
						match('\r');
539
                    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:180:41: ( '\\r' )?
540
                    int alt11=2;
541
                    int LA11_0 = input.LA(1);
546
542
547
					}
543
                    if ( (LA11_0=='\r') ) {
548
						break;
544
                        alt11=1;
545
                    }
546
                    switch (alt11) {
547
                        case 1 :
548
                            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:180:41: '\\r'
549
                            {
550
                            match('\r'); 
549
551
550
					}
552
                            }
553
                            break;
551
554
552
					match('\n');
555
                    }
553
556
554
				}
557
                    match('\n'); 
555
					break;
556
558
557
				}
559
                    }
560
                    break;
558
561
562
            }
559
563
560
			}
561
564
562
			this.type = _type;
565
            }
563
		} finally {
564
		}
565
	}
566
566
567
	// $ANTLR end RULE_SL_COMMENT
567
            state.type = _type;
568
            state.channel = _channel;
569
        }
570
        finally {
571
        }
572
    }
573
    // $ANTLR end "RULE_SL_COMMENT"
568
574
569
	// $ANTLR start RULE_WS
575
    // $ANTLR start "RULE_WS"
570
	public final void mRULE_WS() throws RecognitionException {
576
    public final void mRULE_WS() throws RecognitionException {
571
		try {
577
        try {
572
			int _type = RULE_WS;
578
            int _type = RULE_WS;
573
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:209:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
579
            int _channel = DEFAULT_TOKEN_CHANNEL;
574
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:209:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
580
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:182:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
575
			{
581
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:182:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
576
				// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:209:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
582
            {
577
				int cnt13 = 0;
583
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:182:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
578
				loop13: do {
584
            int cnt13=0;
579
					int alt13 = 2;
585
            loop13:
580
					int LA13_0 = input.LA(1);
586
            do {
587
                int alt13=2;
588
                int LA13_0 = input.LA(1);
581
589
582
					if(((LA13_0 >= '\t' && LA13_0 <= '\n') || LA13_0 == '\r' || LA13_0 == ' ')) {
590
                if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) {
583
						alt13 = 1;
591
                    alt13=1;
584
					}
592
                }
585
593
586
594
587
					switch(alt13) {
595
                switch (alt13) {
588
					case 1:
596
            	case 1 :
589
						// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:
597
            	    // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:
590
					{
598
            	    {
591
						if((input.LA(1) >= '\t' && input.LA(1) <= '\n') || input.LA(1) == '\r' || input.LA(1) == ' ') {
599
            	    if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
592
							input.consume();
600
            	        input.consume();
593
601
594
						} else {
602
            	    }
595
							MismatchedSetException mse = new MismatchedSetException(null, input);
603
            	    else {
596
							recover(mse);
604
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
597
							throw mse;
605
            	        recover(mse);
598
						}
606
            	        throw mse;}
599
607
600
608
601
					}
609
            	    }
602
						break;
610
            	    break;
603
611
604
					default:
612
            	default :
605
						if(cnt13 >= 1)
613
            	    if ( cnt13 >= 1 ) break loop13;
606
							break loop13;
614
                        EarlyExitException eee =
607
						EarlyExitException eee = new EarlyExitException(13, input);
615
                            new EarlyExitException(13, input);
608
						throw eee;
616
                        throw eee;
609
					}
617
                }
610
					cnt13++;
618
                cnt13++;
611
				} while(true);
619
            } while (true);
612
620
613
621
614
			}
622
            }
615
623
616
			this.type = _type;
624
            state.type = _type;
617
		} finally {
625
            state.channel = _channel;
618
		}
626
        }
619
	}
627
        finally {
628
        }
629
    }
630
    // $ANTLR end "RULE_WS"
620
631
621
	// $ANTLR end RULE_WS
632
    // $ANTLR start "RULE_ANY_OTHER"
633
    public final void mRULE_ANY_OTHER() throws RecognitionException {
634
        try {
635
            int _type = RULE_ANY_OTHER;
636
            int _channel = DEFAULT_TOKEN_CHANNEL;
637
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:184:16: ( . )
638
            // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:184:18: .
639
            {
640
            matchAny(); 
622
641
623
	// $ANTLR start RULE_ANY_OTHER
642
            }
624
	public final void mRULE_ANY_OTHER() throws RecognitionException {
625
		try {
626
			int _type = RULE_ANY_OTHER;
627
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:211:16: ( . )
628
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:211:18: .
629
			{
630
				matchAny();
631
643
632
			}
644
            state.type = _type;
645
            state.channel = _channel;
646
        }
647
        finally {
648
        }
649
    }
650
    // $ANTLR end "RULE_ANY_OTHER"
633
651
634
			this.type = _type;
652
    public void mTokens() throws RecognitionException {
635
		} finally {
653
        // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:8: ( T__12 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
636
		}
654
        int alt14=9;
637
	}
655
        alt14 = dfa14.predict(input);
656
        switch (alt14) {
657
            case 1 :
658
                // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:10: T__12
659
                {
660
                mT__12(); 
638
661
639
	// $ANTLR end RULE_ANY_OTHER
662
                }
663
                break;
664
            case 2 :
665
                // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:16: RULE_UNLIMITEDLITERAL
666
                {
667
                mRULE_UNLIMITEDLITERAL(); 
640
668
641
	public void mTokens() throws RecognitionException {
669
                }
642
		// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:8: ( T12 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
670
                break;
643
		int alt14 = 9;
671
            case 3 :
644
		alt14 = dfa14.predict(input);
672
                // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:38: RULE_ID
645
		switch(alt14) {
673
                {
646
		case 1:
674
                mRULE_ID(); 
647
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:10: T12
648
		{
649
			mT12();
650
675
651
		}
676
                }
652
			break;
677
                break;
653
		case 2:
678
            case 4 :
654
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:14: RULE_UNLIMITEDLITERAL
679
                // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:46: RULE_INT
655
		{
680
                {
656
			mRULE_UNLIMITEDLITERAL();
681
                mRULE_INT(); 
657
682
658
		}
683
                }
659
			break;
684
                break;
660
		case 3:
685
            case 5 :
661
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:36: RULE_ID
686
                // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:55: RULE_STRING
662
		{
687
                {
663
			mRULE_ID();
688
                mRULE_STRING(); 
664
689
665
		}
690
                }
666
			break;
691
                break;
667
		case 4:
692
            case 6 :
668
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:44: RULE_INT
693
                // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:67: RULE_ML_COMMENT
669
		{
694
                {
670
			mRULE_INT();
695
                mRULE_ML_COMMENT(); 
671
696
672
		}
697
                }
673
			break;
698
                break;
674
		case 5:
699
            case 7 :
675
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:53: RULE_STRING
700
                // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:83: RULE_SL_COMMENT
676
		{
701
                {
677
			mRULE_STRING();
702
                mRULE_SL_COMMENT(); 
678
703
679
		}
704
                }
680
			break;
705
                break;
681
		case 6:
706
            case 8 :
682
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:65: RULE_ML_COMMENT
707
                // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:99: RULE_WS
683
		{
708
                {
684
			mRULE_ML_COMMENT();
709
                mRULE_WS(); 
685
710
686
		}
711
                }
687
			break;
712
                break;
688
		case 7:
713
            case 9 :
689
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:81: RULE_SL_COMMENT
714
                // ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:107: RULE_ANY_OTHER
690
		{
715
                {
691
			mRULE_SL_COMMENT();
716
                mRULE_ANY_OTHER(); 
692
717
693
		}
718
                }
694
			break;
719
                break;
695
		case 8:
696
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:97: RULE_WS
697
		{
698
			mRULE_WS();
699
720
700
		}
721
        }
701
			break;
702
		case 9:
703
			// ../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/parser/antlr/internal/InternalUmlCommon.g:1:105: RULE_ANY_OTHER
704
		{
705
			mRULE_ANY_OTHER();
706
722
707
		}
723
    }
708
			break;
709
724
710
		}
711
725
712
	}
726
    protected DFA14 dfa14 = new DFA14(this);
727
    static final String DFA14_eotS =
728
        "\1\uffff\1\12\1\15\1\uffff\1\12\1\uffff\3\12\3\uffff\1\15\6\uffff";
729
    static final String DFA14_eofS =
730
        "\23\uffff";
731
    static final String DFA14_minS =
732
        "\1\0\1\72\1\60\1\uffff\1\101\1\uffff\2\0\1\52\3\uffff\1\60\6\uffff";
733
    static final String DFA14_maxS =
734
        "\1\uffff\1\72\1\71\1\uffff\1\172\1\uffff\2\uffff\1\57\3\uffff\1"+
735
        "\71\6\uffff";
736
    static final String DFA14_acceptS =
737
        "\3\uffff\1\2\1\uffff\1\3\3\uffff\1\10\1\11\1\1\1\uffff\1\2\1\3"+
738
        "\1\5\1\6\1\7\1\10";
739
    static final String DFA14_specialS =
740
        "\1\1\5\uffff\1\2\1\0\13\uffff}>";
741
    static final String[] DFA14_transitionS = {
742
            "\11\12\2\11\2\12\1\11\22\12\1\11\1\12\1\6\4\12\1\7\2\12\1\3"+
743
            "\4\12\1\10\12\2\1\1\6\12\32\5\3\12\1\4\1\5\1\12\32\5\uff85\12",
744
            "\1\13",
745
            "\12\14",
746
            "",
747
            "\32\16\4\uffff\1\16\1\uffff\32\16",
748
            "",
749
            "\0\17",
750
            "\0\17",
751
            "\1\20\4\uffff\1\21",
752
            "",
753
            "",
754
            "",
755
            "\12\14",
756
            "",
757
            "",
758
            "",
759
            "",
760
            "",
761
            ""
762
    };
713
763
764
    static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS);
765
    static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS);
766
    static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS);
767
    static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS);
768
    static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS);
769
    static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS);
770
    static final short[][] DFA14_transition;
714
771
715
	protected DFA14 dfa14 = new DFA14(this);
772
    static {
773
        int numStates = DFA14_transitionS.length;
774
        DFA14_transition = new short[numStates][];
775
        for (int i=0; i<numStates; i++) {
776
            DFA14_transition[i] = DFA.unpackEncodedString(DFA14_transitionS[i]);
777
        }
778
    }
716
779
717
	static final String DFA14_eotS = "\1\uffff\1\12\1\15\1\uffff\1\12\1\uffff\3\12\3\uffff\1\15\6\uffff";
780
    class DFA14 extends DFA {
718
781
719
	static final String DFA14_eofS = "\23\uffff";
782
        public DFA14(BaseRecognizer recognizer) {
783
            this.recognizer = recognizer;
784
            this.decisionNumber = 14;
785
            this.eot = DFA14_eot;
786
            this.eof = DFA14_eof;
787
            this.min = DFA14_min;
788
            this.max = DFA14_max;
789
            this.accept = DFA14_accept;
790
            this.special = DFA14_special;
791
            this.transition = DFA14_transition;
792
        }
793
        public String getDescription() {
794
            return "1:1: Tokens : ( T__12 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
795
        }
796
        public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
797
            IntStream input = _input;
798
        	int _s = s;
799
            switch ( s ) {
800
                    case 0 : 
801
                        int LA14_7 = input.LA(1);
720
802
721
	static final String DFA14_minS = "\1\0\1\72\1\60\1\uffff\1\101\1\uffff\2\0\1\52\3\uffff\1\60\6\uffff";
803
                        s = -1;
804
                        if ( ((LA14_7>='\u0000' && LA14_7<='\uFFFF')) ) {s = 15;}
722
805
723
	static final String DFA14_maxS = "\1\ufffe\1\72\1\71\1\uffff\1\172\1\uffff\2\ufffe\1\57\3\uffff\1" + "\71\6\uffff";
806
                        else s = 10;
724
807
725
	static final String DFA14_acceptS = "\3\uffff\1\2\1\uffff\1\3\3\uffff\1\10\1\11\1\1\1\uffff\1\2\1\3\1" + "\5\1\7\1\6\1\10";
808
                        if ( s>=0 ) return s;
809
                        break;
810
                    case 1 : 
811
                        int LA14_0 = input.LA(1);
726
812
727
	static final String DFA14_specialS = "\23\uffff}>";
813
                        s = -1;
814
                        if ( (LA14_0==':') ) {s = 1;}
728
815
729
	static final String[] DFA14_transitionS = { "\11\12\2\11\2\12\1\11\22\12\1\11\1\12\1\6\4\12\1\7\2\12\1\3" + "\4\12\1\10\12\2\1\1\6\12\32\5\3\12\1\4\1\5\1\12\32\5\uff84\12", "\1\13", "\12\14", "", "\32\16\4\uffff\1\16\1\uffff\32\16", "", "\uffff\17", "\uffff\17", "\1\21\4\uffff\1\20", "", "", "", "\12\14", "", "", "", "", "", "" };
816
                        else if ( ((LA14_0>='0' && LA14_0<='9')) ) {s = 2;}
730
817
731
	static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS);
818
                        else if ( (LA14_0=='*') ) {s = 3;}
732
819
733
	static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS);
820
                        else if ( (LA14_0=='^') ) {s = 4;}
734
821
735
	static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS);
822
                        else if ( ((LA14_0>='A' && LA14_0<='Z')||LA14_0=='_'||(LA14_0>='a' && LA14_0<='z')) ) {s = 5;}
736
823
737
	static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS);
824
                        else if ( (LA14_0=='\"') ) {s = 6;}
738
825
739
	static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS);
826
                        else if ( (LA14_0=='\'') ) {s = 7;}
740
827
741
	static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS);
828
                        else if ( (LA14_0=='/') ) {s = 8;}
742
829
743
	static final short[][] DFA14_transition;
830
                        else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 9;}
744
831
745
	static {
832
                        else if ( ((LA14_0>='\u0000' && LA14_0<='\b')||(LA14_0>='\u000B' && LA14_0<='\f')||(LA14_0>='\u000E' && LA14_0<='\u001F')||LA14_0=='!'||(LA14_0>='#' && LA14_0<='&')||(LA14_0>='(' && LA14_0<=')')||(LA14_0>='+' && LA14_0<='.')||(LA14_0>=';' && LA14_0<='@')||(LA14_0>='[' && LA14_0<=']')||LA14_0=='`'||(LA14_0>='{' && LA14_0<='\uFFFF')) ) {s = 10;}
746
		int numStates = DFA14_transitionS.length;
747
		DFA14_transition = new short[numStates][];
748
		for(int i = 0; i < numStates; i++) {
749
			DFA14_transition[i] = DFA.unpackEncodedString(DFA14_transitionS[i]);
750
		}
751
	}
752
833
753
	class DFA14 extends DFA {
834
                        if ( s>=0 ) return s;
835
                        break;
836
                    case 2 : 
837
                        int LA14_6 = input.LA(1);
754
838
755
		public DFA14(BaseRecognizer recognizer) {
839
                        s = -1;
756
			this.recognizer = recognizer;
840
                        if ( ((LA14_6>='\u0000' && LA14_6<='\uFFFF')) ) {s = 15;}
757
			this.decisionNumber = 14;
758
			this.eot = DFA14_eot;
759
			this.eof = DFA14_eof;
760
			this.min = DFA14_min;
761
			this.max = DFA14_max;
762
			this.accept = DFA14_accept;
763
			this.special = DFA14_special;
764
			this.transition = DFA14_transition;
765
		}
766
841
767
		public String getDescription() {
842
                        else s = 10;
768
			return "1:1: Tokens : ( T12 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
769
		}
770
	}
771
843
844
                        if ( s>=0 ) return s;
845
                        break;
846
            }
847
            NoViableAltException nvae =
848
                new NoViableAltException(getDescription(), 14, _s, input);
849
            error(nvae);
850
            throw nvae;
851
        }
852
    }
853
 
772
854
773
}
855
}
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore (-5 / +6 lines)
Lines 4-17 Link Here
4
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="umlCommon"
4
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="umlCommon"
5
    nsURI="http://www.eclipse.org/papyrus/common/editor/xtext/UmlCommon" nsPrefix="umlCommon">
5
    nsURI="http://www.eclipse.org/papyrus/common/editor/xtext/UmlCommon" nsPrefix="umlCommon">
6
  <eClassifiers xsi:type="ecore:EClass" name="QualifiedName">
6
  <eClassifiers xsi:type="ecore:EClass" name="QualifiedName">
7
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="ecore:EClass ../../../../../../../model/UML.ecore#//Namespace"/>
7
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.common.editor.xtext/model/UML.ecore#//Namespace"/>
8
    <eStructuralFeatures xsi:type="ecore:EReference" name="remaining" eType="#//QualifiedName"
8
    <eStructuralFeatures xsi:type="ecore:EReference" name="remaining" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//QualifiedName"
9
        containment="true"/>
9
        containment="true"/>
10
  </eClassifiers>
10
  </eClassifiers>
11
  <eClassifiers xsi:type="ecore:EClass" name="TypeRule">
11
  <eClassifiers xsi:type="ecore:EClass" name="TypeRule">
12
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="#//QualifiedName"
12
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//QualifiedName"
13
        containment="true"/>
13
        containment="true"/>
14
    <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="ecore:EClass ../../../../../../../model/UML.ecore#//Type"/>
14
    <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.common.editor.xtext/model/UML.ecore#//Type"/>
15
  </eClassifiers>
15
  </eClassifiers>
16
  <eClassifiers xsi:type="ecore:EEnum" name="VisibilityKind">
16
  <eClassifiers xsi:type="ecore:EEnum" name="VisibilityKind">
17
    <eLiterals name="public" literal="+"/>
17
    <eLiterals name="public" literal="+"/>
Lines 21-27 Link Here
21
  </eClassifiers>
21
  </eClassifiers>
22
  <eClassifiers xsi:type="ecore:EClass" name="MultiplicityRule">
22
  <eClassifiers xsi:type="ecore:EClass" name="MultiplicityRule">
23
    <eStructuralFeatures xsi:type="ecore:EReference" name="bounds" upperBound="-1"
23
    <eStructuralFeatures xsi:type="ecore:EReference" name="bounds" upperBound="-1"
24
        eType="#//BoundSpecification" containment="true"/>
24
        eType="ecore:EClass platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//BoundSpecification"
25
        containment="true"/>
25
  </eClassifiers>
26
  </eClassifiers>
26
  <eClassifiers xsi:type="ecore:EClass" name="BoundSpecification">
27
  <eClassifiers xsi:type="ecore:EClass" name="BoundSpecification">
27
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
28
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.genmodel (-22 / +22 lines)
Lines 6-39 Link Here
6
    modelPluginID="org.eclipse.papyrus.common.editor.xtext" forceOverwrite="true"
6
    modelPluginID="org.eclipse.papyrus.common.editor.xtext" forceOverwrite="true"
7
    modelName="UmlCommon" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
7
    modelName="UmlCommon" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.common.editor.xtext.edit"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.common.editor.xtext.edit"
9
    editorPluginID="org.eclipse.papyrus.common.editor.xtext.editor" usedGenPackages="../../../../../../../model/UML.genmodel#//uml">
9
    editorPluginID="org.eclipse.papyrus.common.editor.xtext.editor" usedGenPackages="platform:/resource/org.eclipse.papyrus.common.editor.xtext/model/UML.genmodel#//uml">
10
  <genPackages prefix="UmlCommon" basePackage="org.eclipse.papyrus.common.editor.xtext"
10
  <genPackages prefix="UmlCommon" basePackage="org.eclipse.papyrus.common.editor.xtext"
11
      resource="XML" disposableProviderFactory="true" ecorePackage="UmlCommon.ecore#/">
11
      resource="XML" disposableProviderFactory="true" ecorePackage="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#/">
12
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="UmlCommon.ecore#//VisibilityKind">
12
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//VisibilityKind">
13
      <genEnumLiterals ecoreEnumLiteral="UmlCommon.ecore#//VisibilityKind/public"/>
13
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//VisibilityKind/public"/>
14
      <genEnumLiterals ecoreEnumLiteral="UmlCommon.ecore#//VisibilityKind/private"/>
14
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//VisibilityKind/private"/>
15
      <genEnumLiterals ecoreEnumLiteral="UmlCommon.ecore#//VisibilityKind/protected"/>
15
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//VisibilityKind/protected"/>
16
      <genEnumLiterals ecoreEnumLiteral="UmlCommon.ecore#//VisibilityKind/package"/>
16
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//VisibilityKind/package"/>
17
    </genEnums>
17
    </genEnums>
18
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="UmlCommon.ecore#//Direction">
18
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//Direction">
19
      <genEnumLiterals ecoreEnumLiteral="UmlCommon.ecore#//Direction/IN"/>
19
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//Direction/IN"/>
20
      <genEnumLiterals ecoreEnumLiteral="UmlCommon.ecore#//Direction/OUT"/>
20
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//Direction/OUT"/>
21
      <genEnumLiterals ecoreEnumLiteral="UmlCommon.ecore#//Direction/INOUT"/>
21
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//Direction/INOUT"/>
22
      <genEnumLiterals ecoreEnumLiteral="UmlCommon.ecore#//Direction/RETURN"/>
22
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//Direction/RETURN"/>
23
    </genEnums>
23
    </genEnums>
24
    <genClasses ecoreClass="UmlCommon.ecore#//QualifiedName">
24
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//QualifiedName">
25
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UmlCommon.ecore#//QualifiedName/path"/>
25
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//QualifiedName/path"/>
26
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlCommon.ecore#//QualifiedName/remaining"/>
26
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//QualifiedName/remaining"/>
27
    </genClasses>
27
    </genClasses>
28
    <genClasses ecoreClass="UmlCommon.ecore#//TypeRule">
28
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//TypeRule">
29
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlCommon.ecore#//TypeRule/path"/>
29
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//TypeRule/path"/>
30
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UmlCommon.ecore#//TypeRule/type"/>
30
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//TypeRule/type"/>
31
    </genClasses>
31
    </genClasses>
32
    <genClasses ecoreClass="UmlCommon.ecore#//MultiplicityRule">
32
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//MultiplicityRule">
33
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlCommon.ecore#//MultiplicityRule/bounds"/>
33
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//MultiplicityRule/bounds"/>
34
    </genClasses>
34
    </genClasses>
35
    <genClasses ecoreClass="UmlCommon.ecore#//BoundSpecification">
35
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//BoundSpecification">
36
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlCommon.ecore#//BoundSpecification/value"/>
36
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//BoundSpecification/value"/>
37
    </genClasses>
37
    </genClasses>
38
  </genPackages>
38
  </genPackages>
39
</genmodel:GenModel>
39
</genmodel:GenModel>
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommonStandaloneSetupGenerated.java (-21 / +7 lines)
Lines 1-22 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
1
15
package org.eclipse.papyrus.common.editor.xtext;
2
package org.eclipse.papyrus.common.editor.xtext;
16
3
17
import org.eclipse.emf.ecore.EPackage;
4
import org.eclipse.emf.ecore.EPackage;
18
import org.eclipse.emf.ecore.resource.Resource;
19
import org.eclipse.xtext.ISetup;
5
import org.eclipse.xtext.ISetup;
6
import org.eclipse.emf.ecore.resource.Resource;
20
7
21
import com.google.inject.Guice;
8
import com.google.inject.Guice;
22
import com.google.inject.Injector;
9
import com.google.inject.Injector;
Lines 34-55 Link Here
34
		register(injector);
21
		register(injector);
35
		return injector;
22
		return injector;
36
	}
23
	}
37
24
	
38
	public Injector createInjector() {
25
	public Injector createInjector() {
39
		return Guice.createInjector(new org.eclipse.papyrus.common.editor.xtext.UmlCommonRuntimeModule());
26
		return Guice.createInjector(new org.eclipse.papyrus.common.editor.xtext.UmlCommonRuntimeModule());
40
	}
27
	}
41
28
	
42
	public void register(Injector injector) {
29
	public void register(Injector injector) {
43
		if(!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/papyrus/common/editor/xtext/UmlCommon")) {
30
	if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/papyrus/common/editor/xtext/UmlCommon")) {
44
			EPackage.Registry.INSTANCE.put("http://www.eclipse.org/papyrus/common/editor/xtext/UmlCommon", org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage.eINSTANCE);
31
		EPackage.Registry.INSTANCE.put("http://www.eclipse.org/papyrus/common/editor/xtext/UmlCommon", org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage.eINSTANCE);
45
		}
32
	}
46
33
47
		org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
34
		org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
48
		org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
35
		org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
49
		Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("umlcommon", resourceFactory);
36
		Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("umlcommon", resourceFactory);
50
		org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("umlcommon", serviceProvider);
37
		org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("umlcommon", serviceProvider);
51
38
		
52
53
39
54
40
55
41
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/services/UmlCommonGrammarAccess.java (-256 / +97 lines)
Lines 1-433 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
4
5
package org.eclipse.papyrus.common.editor.xtext.services;
5
package org.eclipse.papyrus.common.editor.xtext.services;
6
6
7
import org.eclipse.xtext.Alternatives;
7
import com.google.inject.Singleton;
8
import org.eclipse.xtext.Assignment;
8
import com.google.inject.Inject;
9
import org.eclipse.xtext.CrossReference;
9
10
import org.eclipse.xtext.EnumLiteralDeclaration;
10
import org.eclipse.xtext.*;
11
import org.eclipse.xtext.EnumRule;
12
import org.eclipse.xtext.Grammar;
13
import org.eclipse.xtext.GrammarUtil;
14
import org.eclipse.xtext.Group;
15
import org.eclipse.xtext.Keyword;
16
import org.eclipse.xtext.ParserRule;
17
import org.eclipse.xtext.RuleCall;
18
import org.eclipse.xtext.TerminalRule;
19
import org.eclipse.xtext.common.services.TerminalsGrammarAccess;
20
import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder;
21
import org.eclipse.xtext.service.GrammarProvider;
11
import org.eclipse.xtext.service.GrammarProvider;
12
import org.eclipse.xtext.service.AbstractElementFinder.*;
22
13
23
import com.google.inject.Inject;
14
import org.eclipse.xtext.common.services.TerminalsGrammarAccess;
24
import com.google.inject.Singleton;
25
15
26
@Singleton
16
@Singleton
27
public class UmlCommonGrammarAccess extends AbstractGrammarElementFinder {
17
public class UmlCommonGrammarAccess extends AbstractGrammarElementFinder {
28
18
	
29
19
	
30
	public class QualifiedNameElements extends AbstractParserRuleElementFinder {
20
	public class QualifiedNameElements extends AbstractParserRuleElementFinder {
31
21
		private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "QualifiedName");
32
		private final ParserRule rule = (ParserRule)GrammarUtil.findRuleForName(getGrammar(), "QualifiedName");
33
34
		private final Group cGroup = (Group)rule.eContents().get(1);
22
		private final Group cGroup = (Group)rule.eContents().get(1);
35
36
		private final Assignment cPathAssignment_0 = (Assignment)cGroup.eContents().get(0);
23
		private final Assignment cPathAssignment_0 = (Assignment)cGroup.eContents().get(0);
37
38
		private final CrossReference cPathNamespaceCrossReference_0_0 = (CrossReference)cPathAssignment_0.eContents().get(0);
24
		private final CrossReference cPathNamespaceCrossReference_0_0 = (CrossReference)cPathAssignment_0.eContents().get(0);
39
40
		private final RuleCall cPathNamespaceIDTerminalRuleCall_0_0_1 = (RuleCall)cPathNamespaceCrossReference_0_0.eContents().get(1);
25
		private final RuleCall cPathNamespaceIDTerminalRuleCall_0_0_1 = (RuleCall)cPathNamespaceCrossReference_0_0.eContents().get(1);
41
42
		private final Keyword cColonColonKeyword_1 = (Keyword)cGroup.eContents().get(1);
26
		private final Keyword cColonColonKeyword_1 = (Keyword)cGroup.eContents().get(1);
43
44
		private final Assignment cRemainingAssignment_2 = (Assignment)cGroup.eContents().get(2);
27
		private final Assignment cRemainingAssignment_2 = (Assignment)cGroup.eContents().get(2);
45
46
		private final RuleCall cRemainingQualifiedNameParserRuleCall_2_0 = (RuleCall)cRemainingAssignment_2.eContents().get(0);
28
		private final RuleCall cRemainingQualifiedNameParserRuleCall_2_0 = (RuleCall)cRemainingAssignment_2.eContents().get(0);
47
29
		
48
		//QualifiedName:
30
		//QualifiedName:
49
		//	path=[uml::Namespace] "::" remaining=QualifiedName?;
31
		//	path=[uml::Namespace] "::" remaining=QualifiedName?;
50
		public ParserRule getRule() {
32
		public ParserRule getRule() { return rule; }
51
			return rule;
52
		}
53
33
54
		//path=[uml::Namespace] "::" remaining=QualifiedName?
34
		//path=[uml::Namespace] "::" remaining=QualifiedName?
55
		public Group getGroup() {
35
		public Group getGroup() { return cGroup; }
56
			return cGroup;
57
		}
58
36
59
		//path=[uml::Namespace]
37
		//path=[uml::Namespace]
60
		public Assignment getPathAssignment_0() {
38
		public Assignment getPathAssignment_0() { return cPathAssignment_0; }
61
			return cPathAssignment_0;
62
		}
63
39
64
		//[uml::Namespace]
40
		//[uml::Namespace]
65
		public CrossReference getPathNamespaceCrossReference_0_0() {
41
		public CrossReference getPathNamespaceCrossReference_0_0() { return cPathNamespaceCrossReference_0_0; }
66
			return cPathNamespaceCrossReference_0_0;
67
		}
68
42
69
		//ID
43
		//ID
70
		public RuleCall getPathNamespaceIDTerminalRuleCall_0_0_1() {
44
		public RuleCall getPathNamespaceIDTerminalRuleCall_0_0_1() { return cPathNamespaceIDTerminalRuleCall_0_0_1; }
71
			return cPathNamespaceIDTerminalRuleCall_0_0_1;
72
		}
73
45
74
		//"::"
46
		//"::"
75
		public Keyword getColonColonKeyword_1() {
47
		public Keyword getColonColonKeyword_1() { return cColonColonKeyword_1; }
76
			return cColonColonKeyword_1;
77
		}
78
48
79
		//remaining=QualifiedName?
49
		//remaining=QualifiedName?
80
		public Assignment getRemainingAssignment_2() {
50
		public Assignment getRemainingAssignment_2() { return cRemainingAssignment_2; }
81
			return cRemainingAssignment_2;
82
		}
83
51
84
		//QualifiedName
52
		//QualifiedName
85
		public RuleCall getRemainingQualifiedNameParserRuleCall_2_0() {
53
		public RuleCall getRemainingQualifiedNameParserRuleCall_2_0() { return cRemainingQualifiedNameParserRuleCall_2_0; }
86
			return cRemainingQualifiedNameParserRuleCall_2_0;
87
		}
88
	}
54
	}
89
55
90
	public class TypeRuleElements extends AbstractParserRuleElementFinder {
56
	public class TypeRuleElements extends AbstractParserRuleElementFinder {
91
57
		private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TypeRule");
92
		private final ParserRule rule = (ParserRule)GrammarUtil.findRuleForName(getGrammar(), "TypeRule");
93
94
		private final Group cGroup = (Group)rule.eContents().get(1);
58
		private final Group cGroup = (Group)rule.eContents().get(1);
95
96
		private final Assignment cPathAssignment_0 = (Assignment)cGroup.eContents().get(0);
59
		private final Assignment cPathAssignment_0 = (Assignment)cGroup.eContents().get(0);
97
98
		private final RuleCall cPathQualifiedNameParserRuleCall_0_0 = (RuleCall)cPathAssignment_0.eContents().get(0);
60
		private final RuleCall cPathQualifiedNameParserRuleCall_0_0 = (RuleCall)cPathAssignment_0.eContents().get(0);
99
100
		private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1);
61
		private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1);
101
102
		private final CrossReference cTypeTypeCrossReference_1_0 = (CrossReference)cTypeAssignment_1.eContents().get(0);
62
		private final CrossReference cTypeTypeCrossReference_1_0 = (CrossReference)cTypeAssignment_1.eContents().get(0);
103
104
		private final RuleCall cTypeTypeIDTerminalRuleCall_1_0_1 = (RuleCall)cTypeTypeCrossReference_1_0.eContents().get(1);
63
		private final RuleCall cTypeTypeIDTerminalRuleCall_1_0_1 = (RuleCall)cTypeTypeCrossReference_1_0.eContents().get(1);
105
64
		
106
		//TypeRule:
65
		//TypeRule:
107
		//	path=QualifiedName? type=[uml::Type];
66
		//	path=QualifiedName? type=[uml::Type];
108
		public ParserRule getRule() {
67
		public ParserRule getRule() { return rule; }
109
			return rule;
110
		}
111
68
112
		//path=QualifiedName? type=[uml::Type]
69
		//path=QualifiedName? type=[uml::Type]
113
		public Group getGroup() {
70
		public Group getGroup() { return cGroup; }
114
			return cGroup;
115
		}
116
71
117
		//path=QualifiedName?
72
		//path=QualifiedName?
118
		public Assignment getPathAssignment_0() {
73
		public Assignment getPathAssignment_0() { return cPathAssignment_0; }
119
			return cPathAssignment_0;
120
		}
121
74
122
		//QualifiedName
75
		//QualifiedName
123
		public RuleCall getPathQualifiedNameParserRuleCall_0_0() {
76
		public RuleCall getPathQualifiedNameParserRuleCall_0_0() { return cPathQualifiedNameParserRuleCall_0_0; }
124
			return cPathQualifiedNameParserRuleCall_0_0;
125
		}
126
77
127
		//type=[uml::Type]
78
		//type=[uml::Type]
128
		public Assignment getTypeAssignment_1() {
79
		public Assignment getTypeAssignment_1() { return cTypeAssignment_1; }
129
			return cTypeAssignment_1;
130
		}
131
80
132
		//[uml::Type]
81
		//[uml::Type]
133
		public CrossReference getTypeTypeCrossReference_1_0() {
82
		public CrossReference getTypeTypeCrossReference_1_0() { return cTypeTypeCrossReference_1_0; }
134
			return cTypeTypeCrossReference_1_0;
135
		}
136
83
137
		//ID
84
		//ID
138
		public RuleCall getTypeTypeIDTerminalRuleCall_1_0_1() {
85
		public RuleCall getTypeTypeIDTerminalRuleCall_1_0_1() { return cTypeTypeIDTerminalRuleCall_1_0_1; }
139
			return cTypeTypeIDTerminalRuleCall_1_0_1;
140
		}
141
	}
86
	}
142
87
143
	public class MultiplicityRuleElements extends AbstractParserRuleElementFinder {
88
	public class MultiplicityRuleElements extends AbstractParserRuleElementFinder {
144
89
		private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "MultiplicityRule");
145
		private final ParserRule rule = (ParserRule)GrammarUtil.findRuleForName(getGrammar(), "MultiplicityRule");
146
147
		private final Group cGroup = (Group)rule.eContents().get(1);
90
		private final Group cGroup = (Group)rule.eContents().get(1);
148
149
		private final Keyword cLeftSquareBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
91
		private final Keyword cLeftSquareBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
150
151
		private final Assignment cBoundsAssignment_1 = (Assignment)cGroup.eContents().get(1);
92
		private final Assignment cBoundsAssignment_1 = (Assignment)cGroup.eContents().get(1);
152
153
		private final RuleCall cBoundsBoundSpecificationParserRuleCall_1_0 = (RuleCall)cBoundsAssignment_1.eContents().get(0);
93
		private final RuleCall cBoundsBoundSpecificationParserRuleCall_1_0 = (RuleCall)cBoundsAssignment_1.eContents().get(0);
154
155
		private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
94
		private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
156
157
		private final Keyword cFullStopFullStopKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
95
		private final Keyword cFullStopFullStopKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
158
159
		private final Assignment cBoundsAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
96
		private final Assignment cBoundsAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
160
161
		private final RuleCall cBoundsBoundSpecificationParserRuleCall_2_1_0 = (RuleCall)cBoundsAssignment_2_1.eContents().get(0);
97
		private final RuleCall cBoundsBoundSpecificationParserRuleCall_2_1_0 = (RuleCall)cBoundsAssignment_2_1.eContents().get(0);
162
163
		private final Keyword cRightSquareBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
98
		private final Keyword cRightSquareBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
164
99
		
165
		//MultiplicityRule:
100
		//MultiplicityRule:
166
		//	"[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]";
101
		//	"[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]";
167
		public ParserRule getRule() {
102
		public ParserRule getRule() { return rule; }
168
			return rule;
169
		}
170
103
171
		//"[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]"
104
		//"[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]"
172
		public Group getGroup() {
105
		public Group getGroup() { return cGroup; }
173
			return cGroup;
174
		}
175
106
176
		//"["
107
		//"["
177
		public Keyword getLeftSquareBracketKeyword_0() {
108
		public Keyword getLeftSquareBracketKeyword_0() { return cLeftSquareBracketKeyword_0; }
178
			return cLeftSquareBracketKeyword_0;
179
		}
180
109
181
		//bounds+=BoundSpecification
110
		//bounds+=BoundSpecification
182
		public Assignment getBoundsAssignment_1() {
111
		public Assignment getBoundsAssignment_1() { return cBoundsAssignment_1; }
183
			return cBoundsAssignment_1;
184
		}
185
112
186
		//BoundSpecification
113
		//BoundSpecification
187
		public RuleCall getBoundsBoundSpecificationParserRuleCall_1_0() {
114
		public RuleCall getBoundsBoundSpecificationParserRuleCall_1_0() { return cBoundsBoundSpecificationParserRuleCall_1_0; }
188
			return cBoundsBoundSpecificationParserRuleCall_1_0;
189
		}
190
115
191
		//(".." bounds+=BoundSpecification)?
116
		//(".." bounds+=BoundSpecification)?
192
		public Group getGroup_2() {
117
		public Group getGroup_2() { return cGroup_2; }
193
			return cGroup_2;
194
		}
195
118
196
		//".."
119
		//".."
197
		public Keyword getFullStopFullStopKeyword_2_0() {
120
		public Keyword getFullStopFullStopKeyword_2_0() { return cFullStopFullStopKeyword_2_0; }
198
			return cFullStopFullStopKeyword_2_0;
199
		}
200
121
201
		//bounds+=BoundSpecification
122
		//bounds+=BoundSpecification
202
		public Assignment getBoundsAssignment_2_1() {
123
		public Assignment getBoundsAssignment_2_1() { return cBoundsAssignment_2_1; }
203
			return cBoundsAssignment_2_1;
204
		}
205
124
206
		//BoundSpecification
125
		//BoundSpecification
207
		public RuleCall getBoundsBoundSpecificationParserRuleCall_2_1_0() {
126
		public RuleCall getBoundsBoundSpecificationParserRuleCall_2_1_0() { return cBoundsBoundSpecificationParserRuleCall_2_1_0; }
208
			return cBoundsBoundSpecificationParserRuleCall_2_1_0;
209
		}
210
127
211
		//"]"
128
		//"]"
212
		public Keyword getRightSquareBracketKeyword_3() {
129
		public Keyword getRightSquareBracketKeyword_3() { return cRightSquareBracketKeyword_3; }
213
			return cRightSquareBracketKeyword_3;
214
		}
215
	}
130
	}
216
131
217
	public class BoundSpecificationElements extends AbstractParserRuleElementFinder {
132
	public class BoundSpecificationElements extends AbstractParserRuleElementFinder {
218
133
		private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "BoundSpecification");
219
		private final ParserRule rule = (ParserRule)GrammarUtil.findRuleForName(getGrammar(), "BoundSpecification");
220
221
		private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1);
134
		private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1);
222
223
		private final RuleCall cValueUnlimitedLiteralTerminalRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0);
135
		private final RuleCall cValueUnlimitedLiteralTerminalRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0);
224
136
		
225
		//BoundSpecification:
137
		//BoundSpecification:
226
		//	value=UnlimitedLiteral;
138
		//	value=UnlimitedLiteral;
227
		public ParserRule getRule() {
139
		public ParserRule getRule() { return rule; }
228
			return rule;
229
		}
230
140
231
		//value=UnlimitedLiteral
141
		//value=UnlimitedLiteral
232
		public Assignment getValueAssignment() {
142
		public Assignment getValueAssignment() { return cValueAssignment; }
233
			return cValueAssignment;
234
		}
235
143
236
		//UnlimitedLiteral
144
		//UnlimitedLiteral
237
		public RuleCall getValueUnlimitedLiteralTerminalRuleCall_0() {
145
		public RuleCall getValueUnlimitedLiteralTerminalRuleCall_0() { return cValueUnlimitedLiteralTerminalRuleCall_0; }
238
			return cValueUnlimitedLiteralTerminalRuleCall_0;
239
		}
240
	}
146
	}
241
147
	
242
148
	
243
	public class VisibilityKindElements extends AbstractEnumRuleElementFinder {
149
	public class VisibilityKindElements extends AbstractEnumRuleElementFinder {
244
150
		private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "VisibilityKind");
245
		private final EnumRule rule = (EnumRule)GrammarUtil.findRuleForName(getGrammar(), "VisibilityKind");
246
247
		private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
151
		private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
248
249
		private final EnumLiteralDeclaration cPublicEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
152
		private final EnumLiteralDeclaration cPublicEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
250
251
		private final Keyword cPublicPlusSignKeyword_0_0 = (Keyword)cPublicEnumLiteralDeclaration_0.eContents().get(0);
153
		private final Keyword cPublicPlusSignKeyword_0_0 = (Keyword)cPublicEnumLiteralDeclaration_0.eContents().get(0);
252
253
		private final EnumLiteralDeclaration cPrivateEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
154
		private final EnumLiteralDeclaration cPrivateEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
254
255
		private final Keyword cPrivateHyphenMinusKeyword_1_0 = (Keyword)cPrivateEnumLiteralDeclaration_1.eContents().get(0);
155
		private final Keyword cPrivateHyphenMinusKeyword_1_0 = (Keyword)cPrivateEnumLiteralDeclaration_1.eContents().get(0);
256
257
		private final EnumLiteralDeclaration cProtectedEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
156
		private final EnumLiteralDeclaration cProtectedEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
258
259
		private final Keyword cProtectedNumberSignKeyword_2_0 = (Keyword)cProtectedEnumLiteralDeclaration_2.eContents().get(0);
157
		private final Keyword cProtectedNumberSignKeyword_2_0 = (Keyword)cProtectedEnumLiteralDeclaration_2.eContents().get(0);
260
261
		private final EnumLiteralDeclaration cPackageEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
158
		private final EnumLiteralDeclaration cPackageEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
262
263
		private final Keyword cPackageTildeKeyword_3_0 = (Keyword)cPackageEnumLiteralDeclaration_3.eContents().get(0);
159
		private final Keyword cPackageTildeKeyword_3_0 = (Keyword)cPackageEnumLiteralDeclaration_3.eContents().get(0);
264
160
		
265
		//enum VisibilityKind:
161
		//enum VisibilityKind:
266
		//	public="+" | private="-" | protected="#" | package="~";
162
		//	public="+" | private="-" | protected="#" | package="~";
267
		public EnumRule getRule() {
163
		public EnumRule getRule() { return rule; }
268
			return rule;
269
		}
270
164
271
		//public="+" | private="-" | protected="#" | package="~"
165
		//public="+" | private="-" | protected="#" | package="~"
272
		public Alternatives getAlternatives() {
166
		public Alternatives getAlternatives() { return cAlternatives; }
273
			return cAlternatives;
274
		}
275
167
276
		//public="+"
168
		//public="+"
277
		public EnumLiteralDeclaration getPublicEnumLiteralDeclaration_0() {
169
		public EnumLiteralDeclaration getPublicEnumLiteralDeclaration_0() { return cPublicEnumLiteralDeclaration_0; }
278
			return cPublicEnumLiteralDeclaration_0;
279
		}
280
170
281
		//"+"
171
		//"+"
282
		public Keyword getPublicPlusSignKeyword_0_0() {
172
		public Keyword getPublicPlusSignKeyword_0_0() { return cPublicPlusSignKeyword_0_0; }
283
			return cPublicPlusSignKeyword_0_0;
284
		}
285
173
286
		//private="-"
174
		//private="-"
287
		public EnumLiteralDeclaration getPrivateEnumLiteralDeclaration_1() {
175
		public EnumLiteralDeclaration getPrivateEnumLiteralDeclaration_1() { return cPrivateEnumLiteralDeclaration_1; }
288
			return cPrivateEnumLiteralDeclaration_1;
289
		}
290
176
291
		//"-"
177
		//"-"
292
		public Keyword getPrivateHyphenMinusKeyword_1_0() {
178
		public Keyword getPrivateHyphenMinusKeyword_1_0() { return cPrivateHyphenMinusKeyword_1_0; }
293
			return cPrivateHyphenMinusKeyword_1_0;
294
		}
295
179
296
		//protected="#"
180
		//protected="#"
297
		public EnumLiteralDeclaration getProtectedEnumLiteralDeclaration_2() {
181
		public EnumLiteralDeclaration getProtectedEnumLiteralDeclaration_2() { return cProtectedEnumLiteralDeclaration_2; }
298
			return cProtectedEnumLiteralDeclaration_2;
299
		}
300
182
301
		//"#"
183
		//"#"
302
		public Keyword getProtectedNumberSignKeyword_2_0() {
184
		public Keyword getProtectedNumberSignKeyword_2_0() { return cProtectedNumberSignKeyword_2_0; }
303
			return cProtectedNumberSignKeyword_2_0;
304
		}
305
185
306
		//package="~"
186
		//package="~"
307
		public EnumLiteralDeclaration getPackageEnumLiteralDeclaration_3() {
187
		public EnumLiteralDeclaration getPackageEnumLiteralDeclaration_3() { return cPackageEnumLiteralDeclaration_3; }
308
			return cPackageEnumLiteralDeclaration_3;
309
		}
310
188
311
		//"~"
189
		//"~"
312
		public Keyword getPackageTildeKeyword_3_0() {
190
		public Keyword getPackageTildeKeyword_3_0() { return cPackageTildeKeyword_3_0; }
313
			return cPackageTildeKeyword_3_0;
314
		}
315
	}
191
	}
316
192
317
	public class DirectionElements extends AbstractEnumRuleElementFinder {
193
	public class DirectionElements extends AbstractEnumRuleElementFinder {
318
194
		private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "Direction");
319
		private final EnumRule rule = (EnumRule)GrammarUtil.findRuleForName(getGrammar(), "Direction");
320
321
		private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
195
		private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
322
323
		private final EnumLiteralDeclaration cINEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
196
		private final EnumLiteralDeclaration cINEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
324
325
		private final Keyword cINInKeyword_0_0 = (Keyword)cINEnumLiteralDeclaration_0.eContents().get(0);
197
		private final Keyword cINInKeyword_0_0 = (Keyword)cINEnumLiteralDeclaration_0.eContents().get(0);
326
327
		private final EnumLiteralDeclaration cOUTEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
198
		private final EnumLiteralDeclaration cOUTEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
328
329
		private final Keyword cOUTOutKeyword_1_0 = (Keyword)cOUTEnumLiteralDeclaration_1.eContents().get(0);
199
		private final Keyword cOUTOutKeyword_1_0 = (Keyword)cOUTEnumLiteralDeclaration_1.eContents().get(0);
330
331
		private final EnumLiteralDeclaration cINOUTEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
200
		private final EnumLiteralDeclaration cINOUTEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
332
333
		private final Keyword cINOUTInoutKeyword_2_0 = (Keyword)cINOUTEnumLiteralDeclaration_2.eContents().get(0);
201
		private final Keyword cINOUTInoutKeyword_2_0 = (Keyword)cINOUTEnumLiteralDeclaration_2.eContents().get(0);
334
335
		private final EnumLiteralDeclaration cRETURNEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
202
		private final EnumLiteralDeclaration cRETURNEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
336
337
		private final Keyword cRETURNReturnKeyword_3_0 = (Keyword)cRETURNEnumLiteralDeclaration_3.eContents().get(0);
203
		private final Keyword cRETURNReturnKeyword_3_0 = (Keyword)cRETURNEnumLiteralDeclaration_3.eContents().get(0);
338
204
		
339
		//enum Direction:
205
		//enum Direction:
340
		//	IN="in" | OUT="out" | INOUT="inout" | RETURN="return";
206
		//	IN="in" | OUT="out" | INOUT="inout" | RETURN="return";
341
		public EnumRule getRule() {
207
		public EnumRule getRule() { return rule; }
342
			return rule;
343
		}
344
208
345
		//IN="in" | OUT="out" | INOUT="inout" | RETURN="return"
209
		//IN="in" | OUT="out" | INOUT="inout" | RETURN="return"
346
		public Alternatives getAlternatives() {
210
		public Alternatives getAlternatives() { return cAlternatives; }
347
			return cAlternatives;
348
		}
349
211
350
		//IN="in"
212
		//IN="in"
351
		public EnumLiteralDeclaration getINEnumLiteralDeclaration_0() {
213
		public EnumLiteralDeclaration getINEnumLiteralDeclaration_0() { return cINEnumLiteralDeclaration_0; }
352
			return cINEnumLiteralDeclaration_0;
353
		}
354
214
355
		//"in"
215
		//"in"
356
		public Keyword getINInKeyword_0_0() {
216
		public Keyword getINInKeyword_0_0() { return cINInKeyword_0_0; }
357
			return cINInKeyword_0_0;
358
		}
359
217
360
		//OUT="out"
218
		//OUT="out"
361
		public EnumLiteralDeclaration getOUTEnumLiteralDeclaration_1() {
219
		public EnumLiteralDeclaration getOUTEnumLiteralDeclaration_1() { return cOUTEnumLiteralDeclaration_1; }
362
			return cOUTEnumLiteralDeclaration_1;
363
		}
364
220
365
		//"out"
221
		//"out"
366
		public Keyword getOUTOutKeyword_1_0() {
222
		public Keyword getOUTOutKeyword_1_0() { return cOUTOutKeyword_1_0; }
367
			return cOUTOutKeyword_1_0;
368
		}
369
223
370
		//INOUT="inout"
224
		//INOUT="inout"
371
		public EnumLiteralDeclaration getINOUTEnumLiteralDeclaration_2() {
225
		public EnumLiteralDeclaration getINOUTEnumLiteralDeclaration_2() { return cINOUTEnumLiteralDeclaration_2; }
372
			return cINOUTEnumLiteralDeclaration_2;
373
		}
374
226
375
		//"inout"
227
		//"inout"
376
		public Keyword getINOUTInoutKeyword_2_0() {
228
		public Keyword getINOUTInoutKeyword_2_0() { return cINOUTInoutKeyword_2_0; }
377
			return cINOUTInoutKeyword_2_0;
378
		}
379
229
380
		//RETURN="return"
230
		//RETURN="return"
381
		public EnumLiteralDeclaration getRETURNEnumLiteralDeclaration_3() {
231
		public EnumLiteralDeclaration getRETURNEnumLiteralDeclaration_3() { return cRETURNEnumLiteralDeclaration_3; }
382
			return cRETURNEnumLiteralDeclaration_3;
383
		}
384
232
385
		//"return"
233
		//"return"
386
		public Keyword getRETURNReturnKeyword_3_0() {
234
		public Keyword getRETURNReturnKeyword_3_0() { return cRETURNReturnKeyword_3_0; }
387
			return cRETURNReturnKeyword_3_0;
388
		}
389
	}
235
	}
390
236
	
391
	private QualifiedNameElements pQualifiedName;
237
	private QualifiedNameElements pQualifiedName;
392
393
	private TypeRuleElements pTypeRule;
238
	private TypeRuleElements pTypeRule;
394
395
	private VisibilityKindElements unknownRuleVisibilityKind;
239
	private VisibilityKindElements unknownRuleVisibilityKind;
396
397
	private MultiplicityRuleElements pMultiplicityRule;
240
	private MultiplicityRuleElements pMultiplicityRule;
398
399
	private BoundSpecificationElements pBoundSpecification;
241
	private BoundSpecificationElements pBoundSpecification;
400
401
	private TerminalRule tUnlimitedLiteral;
242
	private TerminalRule tUnlimitedLiteral;
402
403
	private DirectionElements unknownRuleDirection;
243
	private DirectionElements unknownRuleDirection;
404
244
	
405
	private final GrammarProvider grammarProvider;
245
	private final GrammarProvider grammarProvider;
406
246
407
	private TerminalsGrammarAccess gaTerminals;
247
	private TerminalsGrammarAccess gaTerminals;
408
248
409
	@Inject
249
	@Inject
410
	public UmlCommonGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) {
250
	public UmlCommonGrammarAccess(GrammarProvider grammarProvider,
251
		TerminalsGrammarAccess gaTerminals) {
411
		this.grammarProvider = grammarProvider;
252
		this.grammarProvider = grammarProvider;
412
		this.gaTerminals = gaTerminals;
253
		this.gaTerminals = gaTerminals;
413
	}
254
	}
414
255
	
415
	public Grammar getGrammar() {
256
	public Grammar getGrammar() {	
416
		return grammarProvider.getGrammar(this);
257
		return grammarProvider.getGrammar(this);
417
	}
258
	}
418
259
	
419
260
420
	public TerminalsGrammarAccess getTerminalsGrammarAccess() {
261
	public TerminalsGrammarAccess getTerminalsGrammarAccess() {
421
		return gaTerminals;
262
		return gaTerminals;
422
	}
263
	}
423
264
424
265
	
425
	//QualifiedName:
266
	//QualifiedName:
426
	//	path=[uml::Namespace] "::" remaining=QualifiedName?;
267
	//	path=[uml::Namespace] "::" remaining=QualifiedName?;
427
	public QualifiedNameElements getQualifiedNameAccess() {
268
	public QualifiedNameElements getQualifiedNameAccess() {
428
		return (pQualifiedName != null) ? pQualifiedName : (pQualifiedName = new QualifiedNameElements());
269
		return (pQualifiedName != null) ? pQualifiedName : (pQualifiedName = new QualifiedNameElements());
429
	}
270
	}
430
271
	
431
	public ParserRule getQualifiedNameRule() {
272
	public ParserRule getQualifiedNameRule() {
432
		return getQualifiedNameAccess().getRule();
273
		return getQualifiedNameAccess().getRule();
433
	}
274
	}
Lines 437-443 Link Here
437
	public TypeRuleElements getTypeRuleAccess() {
278
	public TypeRuleElements getTypeRuleAccess() {
438
		return (pTypeRule != null) ? pTypeRule : (pTypeRule = new TypeRuleElements());
279
		return (pTypeRule != null) ? pTypeRule : (pTypeRule = new TypeRuleElements());
439
	}
280
	}
440
281
	
441
	public ParserRule getTypeRuleRule() {
282
	public ParserRule getTypeRuleRule() {
442
		return getTypeRuleAccess().getRule();
283
		return getTypeRuleAccess().getRule();
443
	}
284
	}
Lines 447-453 Link Here
447
	public VisibilityKindElements getVisibilityKindAccess() {
288
	public VisibilityKindElements getVisibilityKindAccess() {
448
		return (unknownRuleVisibilityKind != null) ? unknownRuleVisibilityKind : (unknownRuleVisibilityKind = new VisibilityKindElements());
289
		return (unknownRuleVisibilityKind != null) ? unknownRuleVisibilityKind : (unknownRuleVisibilityKind = new VisibilityKindElements());
449
	}
290
	}
450
291
	
451
	public EnumRule getVisibilityKindRule() {
292
	public EnumRule getVisibilityKindRule() {
452
		return getVisibilityKindAccess().getRule();
293
		return getVisibilityKindAccess().getRule();
453
	}
294
	}
Lines 457-463 Link Here
457
	public MultiplicityRuleElements getMultiplicityRuleAccess() {
298
	public MultiplicityRuleElements getMultiplicityRuleAccess() {
458
		return (pMultiplicityRule != null) ? pMultiplicityRule : (pMultiplicityRule = new MultiplicityRuleElements());
299
		return (pMultiplicityRule != null) ? pMultiplicityRule : (pMultiplicityRule = new MultiplicityRuleElements());
459
	}
300
	}
460
301
	
461
	public ParserRule getMultiplicityRuleRule() {
302
	public ParserRule getMultiplicityRuleRule() {
462
		return getMultiplicityRuleAccess().getRule();
303
		return getMultiplicityRuleAccess().getRule();
463
	}
304
	}
Lines 467-473 Link Here
467
	public BoundSpecificationElements getBoundSpecificationAccess() {
308
	public BoundSpecificationElements getBoundSpecificationAccess() {
468
		return (pBoundSpecification != null) ? pBoundSpecification : (pBoundSpecification = new BoundSpecificationElements());
309
		return (pBoundSpecification != null) ? pBoundSpecification : (pBoundSpecification = new BoundSpecificationElements());
469
	}
310
	}
470
311
	
471
	public ParserRule getBoundSpecificationRule() {
312
	public ParserRule getBoundSpecificationRule() {
472
		return getBoundSpecificationAccess().getRule();
313
		return getBoundSpecificationAccess().getRule();
473
	}
314
	}
Lines 475-489 Link Here
475
	//terminal UnlimitedLiteral:
316
	//terminal UnlimitedLiteral:
476
	//	"0".."9" "0".."9"* | "*";
317
	//	"0".."9" "0".."9"* | "*";
477
	public TerminalRule getUnlimitedLiteralRule() {
318
	public TerminalRule getUnlimitedLiteralRule() {
478
		return (tUnlimitedLiteral != null) ? tUnlimitedLiteral : (tUnlimitedLiteral = (TerminalRule)GrammarUtil.findRuleForName(getGrammar(), "UnlimitedLiteral"));
319
		return (tUnlimitedLiteral != null) ? tUnlimitedLiteral : (tUnlimitedLiteral = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "UnlimitedLiteral"));
479
	}
320
	} 
480
321
481
	//enum Direction:
322
	//enum Direction:
482
	//	IN="in" | OUT="out" | INOUT="inout" | RETURN="return";
323
	//	IN="in" | OUT="out" | INOUT="inout" | RETURN="return";
483
	public DirectionElements getDirectionAccess() {
324
	public DirectionElements getDirectionAccess() {
484
		return (unknownRuleDirection != null) ? unknownRuleDirection : (unknownRuleDirection = new DirectionElements());
325
		return (unknownRuleDirection != null) ? unknownRuleDirection : (unknownRuleDirection = new DirectionElements());
485
	}
326
	}
486
327
	
487
	public EnumRule getDirectionRule() {
328
	public EnumRule getDirectionRule() {
488
		return getDirectionAccess().getRule();
329
		return getDirectionAccess().getRule();
489
	}
330
	}
Lines 492-533 Link Here
492
	//	"^"? ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")*;
333
	//	"^"? ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")*;
493
	public TerminalRule getIDRule() {
334
	public TerminalRule getIDRule() {
494
		return gaTerminals.getIDRule();
335
		return gaTerminals.getIDRule();
495
	}
336
	} 
496
337
497
	//terminal INT returns ecore::EInt:
338
	//terminal INT returns ecore::EInt:
498
	//	"0".."9"+;
339
	//	"0".."9"+;
499
	public TerminalRule getINTRule() {
340
	public TerminalRule getINTRule() {
500
		return gaTerminals.getINTRule();
341
		return gaTerminals.getINTRule();
501
	}
342
	} 
502
343
503
	//terminal STRING:
344
	//terminal STRING:
504
	//	"\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" | "n" |
345
	//	"\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" |
505
	//	"f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
346
	//	"n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
506
	public TerminalRule getSTRINGRule() {
347
	public TerminalRule getSTRINGRule() {
507
		return gaTerminals.getSTRINGRule();
348
		return gaTerminals.getSTRINGRule();
508
	}
349
	} 
509
350
510
	//terminal ML_COMMENT:
351
	//terminal ML_COMMENT:
511
	//	"/ *"->"* /";
352
	//	"/ *"->"* /";
512
	public TerminalRule getML_COMMENTRule() {
353
	public TerminalRule getML_COMMENTRule() {
513
		return gaTerminals.getML_COMMENTRule();
354
		return gaTerminals.getML_COMMENTRule();
514
	}
355
	} 
515
356
516
	//terminal SL_COMMENT:
357
	//terminal SL_COMMENT:
517
	//	"//" !("\n" | "\r")* ("\r"? "\n")?;
358
	//	"//" !("\n" | "\r")* ("\r"? "\n")?;
518
	public TerminalRule getSL_COMMENTRule() {
359
	public TerminalRule getSL_COMMENTRule() {
519
		return gaTerminals.getSL_COMMENTRule();
360
		return gaTerminals.getSL_COMMENTRule();
520
	}
361
	} 
521
362
522
	//terminal WS:
363
	//terminal WS:
523
	//	(" " | "\t" | "\r" | "\n")+;
364
	//	(" " | "\t" | "\r" | "\n")+;
524
	public TerminalRule getWSRule() {
365
	public TerminalRule getWSRule() {
525
		return gaTerminals.getWSRule();
366
		return gaTerminals.getWSRule();
526
	}
367
	} 
527
368
528
	//terminal ANY_OTHER:
369
	//terminal ANY_OTHER:
529
	//	.;
370
	//	.;
530
	public TerminalRule getANY_OTHERRule() {
371
	public TerminalRule getANY_OTHERRule() {
531
		return gaTerminals.getANY_OTHERRule();
372
		return gaTerminals.getANY_OTHERRule();
532
	}
373
	} 
533
}
374
}
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/util/UmlCommonResourceFactoryImpl.java (-31 / +33 lines)
Lines 7-57 Link Here
7
package org.eclipse.papyrus.common.editor.xtext.umlCommon.util;
7
package org.eclipse.papyrus.common.editor.xtext.umlCommon.util;
8
8
9
import org.eclipse.emf.common.util.URI;
9
import org.eclipse.emf.common.util.URI;
10
10
import org.eclipse.emf.ecore.resource.Resource;
11
import org.eclipse.emf.ecore.resource.Resource;
12
11
import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
13
import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
14
12
import org.eclipse.emf.ecore.xmi.XMLResource;
15
import org.eclipse.emf.ecore.xmi.XMLResource;
13
16
14
/**
17
/**
15
 * <!-- begin-user-doc -->
18
 * <!-- begin-user-doc -->
16
 * The <b>Resource Factory</b> associated with the package.
19
 * The <b>Resource Factory</b> associated with the package.
17
 * <!-- end-user-doc -->
20
 * <!-- end-user-doc -->
18
 * 
19
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.util.UmlCommonResourceImpl
21
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.util.UmlCommonResourceImpl
20
 * @generated
22
 * @generated
21
 */
23
 */
22
public class UmlCommonResourceFactoryImpl extends ResourceFactoryImpl {
24
public class UmlCommonResourceFactoryImpl extends ResourceFactoryImpl
25
{
26
  /**
27
   * Creates an instance of the resource factory.
28
   * <!-- begin-user-doc -->
29
   * <!-- end-user-doc -->
30
   * @generated
31
   */
32
  public UmlCommonResourceFactoryImpl()
33
  {
34
    super();
35
  }
23
36
24
	/**
37
  /**
25
	 * Creates an instance of the resource factory.
38
   * Creates an instance of the resource.
26
	 * <!-- begin-user-doc -->
39
   * <!-- begin-user-doc -->
27
	 * <!-- end-user-doc -->
40
   * <!-- end-user-doc -->
28
	 * 
41
   * @generated
29
	 * @generated
42
   */
30
	 */
43
  @Override
31
	public UmlCommonResourceFactoryImpl() {
44
  public Resource createResource(URI uri)
32
		super();
45
  {
33
	}
46
    XMLResource result = new UmlCommonResourceImpl(uri);
47
    result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
48
    result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
34
49
35
	/**
50
    result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
36
	 * Creates an instance of the resource.
37
	 * <!-- begin-user-doc -->
38
	 * <!-- end-user-doc -->
39
	 * 
40
	 * @generated
41
	 */
42
	@Override
43
	public Resource createResource(URI uri) {
44
		XMLResource result = new UmlCommonResourceImpl(uri);
45
		result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
46
		result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
47
51
48
		result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
52
    result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
53
    result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
49
54
50
		result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
55
    result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
51
		result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
56
    return result;
52
57
  }
53
		result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
54
		return result;
55
	}
56
58
57
} //UmlCommonResourceFactoryImpl
59
} //UmlCommonResourceFactoryImpl
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/util/UmlCommonXMLProcessor.java (-30 / +34 lines)
Lines 9-54 Link Here
9
import java.util.Map;
9
import java.util.Map;
10
10
11
import org.eclipse.emf.ecore.EPackage;
11
import org.eclipse.emf.ecore.EPackage;
12
12
import org.eclipse.emf.ecore.resource.Resource;
13
import org.eclipse.emf.ecore.resource.Resource;
14
13
import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
15
import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
16
14
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
17
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
15
18
16
/**
19
/**
17
 * This class contains helper methods to serialize and deserialize XML documents
20
 * This class contains helper methods to serialize and deserialize XML documents
18
 * <!-- begin-user-doc -->
21
 * <!-- begin-user-doc -->
19
 * <!-- end-user-doc -->
22
 * <!-- end-user-doc -->
20
 * 
21
 * @generated
23
 * @generated
22
 */
24
 */
23
public class UmlCommonXMLProcessor extends XMLProcessor {
25
public class UmlCommonXMLProcessor extends XMLProcessor
26
{
24
27
25
	/**
28
  /**
26
	 * Public constructor to instantiate the helper.
29
   * Public constructor to instantiate the helper.
27
	 * <!-- begin-user-doc -->
30
   * <!-- begin-user-doc -->
28
	 * <!-- end-user-doc -->
31
   * <!-- end-user-doc -->
29
	 * 
32
   * @generated
30
	 * @generated
33
   */
31
	 */
34
  public UmlCommonXMLProcessor()
32
	public UmlCommonXMLProcessor() {
35
  {
33
		super((EPackage.Registry.INSTANCE));
36
    super((EPackage.Registry.INSTANCE));
34
		UmlCommonPackage.eINSTANCE.eClass();
37
    UmlCommonPackage.eINSTANCE.eClass();
35
	}
38
  }
36
39
  
37
	/**
40
  /**
38
	 * Register for "*" and "xml" file extensions the UmlCommonResourceFactoryImpl factory.
41
   * Register for "*" and "xml" file extensions the UmlCommonResourceFactoryImpl factory.
39
	 * <!-- begin-user-doc -->
42
   * <!-- begin-user-doc -->
40
	 * <!-- end-user-doc -->
43
   * <!-- end-user-doc -->
41
	 * 
44
   * @generated
42
	 * @generated
45
   */
43
	 */
46
  @Override
44
	@Override
47
  protected Map<String, Resource.Factory> getRegistrations()
45
	protected Map<String, Resource.Factory> getRegistrations() {
48
  {
46
		if(registrations == null) {
49
    if (registrations == null)
47
			super.getRegistrations();
50
    {
48
			registrations.put(XML_EXTENSION, new UmlCommonResourceFactoryImpl());
51
      super.getRegistrations();
49
			registrations.put(STAR_EXTENSION, new UmlCommonResourceFactoryImpl());
52
      registrations.put(XML_EXTENSION, new UmlCommonResourceFactoryImpl());
50
		}
53
      registrations.put(STAR_EXTENSION, new UmlCommonResourceFactoryImpl());
51
		return registrations;
54
    }
52
	}
55
    return registrations;
56
  }
53
57
54
} //UmlCommonXMLProcessor
58
} //UmlCommonXMLProcessor
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/util/UmlCommonResourceImpl.java (-15 / +14 lines)
Lines 7-35 Link Here
7
package org.eclipse.papyrus.common.editor.xtext.umlCommon.util;
7
package org.eclipse.papyrus.common.editor.xtext.umlCommon.util;
8
8
9
import org.eclipse.emf.common.util.URI;
9
import org.eclipse.emf.common.util.URI;
10
10
import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
11
import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
11
12
12
/**
13
/**
13
 * <!-- begin-user-doc -->
14
 * <!-- begin-user-doc -->
14
 * The <b>Resource </b> associated with the package.
15
 * The <b>Resource </b> associated with the package.
15
 * <!-- end-user-doc -->
16
 * <!-- end-user-doc -->
16
 * 
17
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.util.UmlCommonResourceFactoryImpl
17
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.util.UmlCommonResourceFactoryImpl
18
 * @generated
18
 * @generated
19
 */
19
 */
20
public class UmlCommonResourceImpl extends XMLResourceImpl {
20
public class UmlCommonResourceImpl extends XMLResourceImpl
21
21
{
22
	/**
22
  /**
23
	 * Creates an instance of the resource.
23
   * Creates an instance of the resource.
24
	 * <!-- begin-user-doc -->
24
   * <!-- begin-user-doc -->
25
	 * <!-- end-user-doc -->
25
   * <!-- end-user-doc -->
26
	 * 
26
   * @param uri the URI of the new resource.
27
	 * @param uri
27
   * @generated
28
	 *        the URI of the new resource.
28
   */
29
	 * @generated
29
  public UmlCommonResourceImpl(URI uri)
30
	 */
30
  {
31
	public UmlCommonResourceImpl(URI uri) {
31
    super(uri);
32
		super(uri);
32
  }
33
	}
34
33
35
} //UmlCommonResourceImpl
34
} //UmlCommonResourceImpl
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/util/UmlCommonSwitch.java (-186 / +161 lines)
Lines 6-217 Link Here
6
 */
6
 */
7
package org.eclipse.papyrus.common.editor.xtext.umlCommon.util;
7
package org.eclipse.papyrus.common.editor.xtext.umlCommon.util;
8
8
9
import java.util.List;
10
11
import org.eclipse.emf.ecore.EClass;
12
import org.eclipse.emf.ecore.EObject;
9
import org.eclipse.emf.ecore.EObject;
13
import org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification;
10
import org.eclipse.emf.ecore.EPackage;
14
import org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule;
11
15
import org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName;
12
import org.eclipse.emf.ecore.util.Switch;
16
import org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule;
13
17
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
14
import org.eclipse.papyrus.common.editor.xtext.umlCommon.*;
18
15
19
/**
16
/**
20
 * <!-- begin-user-doc -->
17
 * <!-- begin-user-doc -->
21
 * The <b>Switch</b> for the model's inheritance hierarchy.
18
 * The <b>Switch</b> for the model's inheritance hierarchy.
22
 * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
19
 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
20
 * to invoke the <code>caseXXX</code> method for each class of the model,
23
 * starting with the actual class of the object
21
 * starting with the actual class of the object
24
 * and proceeding up the inheritance hierarchy
22
 * and proceeding up the inheritance hierarchy
25
 * until a non-null result is returned,
23
 * until a non-null result is returned,
26
 * which is the result of the switch.
24
 * which is the result of the switch.
27
 * <!-- end-user-doc -->
25
 * <!-- end-user-doc -->
28
 * 
29
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage
26
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage
30
 * @generated
27
 * @generated
31
 */
28
 */
32
public class UmlCommonSwitch<T> {
29
public class UmlCommonSwitch<T> extends Switch<T>
30
{
31
  /**
32
   * The cached model package
33
   * <!-- begin-user-doc -->
34
   * <!-- end-user-doc -->
35
   * @generated
36
   */
37
  protected static UmlCommonPackage modelPackage;
33
38
34
	/**
39
  /**
35
	 * The cached model package
40
   * Creates an instance of the switch.
36
	 * <!-- begin-user-doc -->
41
   * <!-- begin-user-doc -->
37
	 * <!-- end-user-doc -->
42
   * <!-- end-user-doc -->
38
	 * 
43
   * @generated
39
	 * @generated
44
   */
40
	 */
45
  public UmlCommonSwitch()
41
	protected static UmlCommonPackage modelPackage;
46
  {
47
    if (modelPackage == null)
48
    {
49
      modelPackage = UmlCommonPackage.eINSTANCE;
50
    }
51
  }
42
52
43
	/**
53
  /**
44
	 * Creates an instance of the switch.
54
   * Checks whether this is a switch for the given package.
45
	 * <!-- begin-user-doc -->
55
   * <!-- begin-user-doc -->
46
	 * <!-- end-user-doc -->
56
   * <!-- end-user-doc -->
47
	 * 
57
   * @parameter ePackage the package in question.
48
	 * @generated
58
   * @return whether this is a switch for the given package.
49
	 */
59
   * @generated
50
	public UmlCommonSwitch() {
60
   */
51
		if(modelPackage == null) {
61
  @Override
52
			modelPackage = UmlCommonPackage.eINSTANCE;
62
  protected boolean isSwitchFor(EPackage ePackage)
53
		}
63
  {
54
	}
64
    return ePackage == modelPackage;
65
  }
55
66
56
	/**
67
  /**
57
	 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
68
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
58
	 * <!-- begin-user-doc -->
69
   * <!-- begin-user-doc -->
59
	 * <!-- end-user-doc -->
70
   * <!-- end-user-doc -->
60
	 * 
71
   * @return the first non-null result returned by a <code>caseXXX</code> call.
61
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
72
   * @generated
62
	 * @generated
73
   */
63
	 */
74
  @Override
64
	public T doSwitch(EObject theEObject) {
75
  protected T doSwitch(int classifierID, EObject theEObject)
65
		return doSwitch(theEObject.eClass(), theEObject);
76
  {
66
	}
77
    switch (classifierID)
78
    {
79
      case UmlCommonPackage.QUALIFIED_NAME:
80
      {
81
        QualifiedName qualifiedName = (QualifiedName)theEObject;
82
        T result = caseQualifiedName(qualifiedName);
83
        if (result == null) result = defaultCase(theEObject);
84
        return result;
85
      }
86
      case UmlCommonPackage.TYPE_RULE:
87
      {
88
        TypeRule typeRule = (TypeRule)theEObject;
89
        T result = caseTypeRule(typeRule);
90
        if (result == null) result = defaultCase(theEObject);
91
        return result;
92
      }
93
      case UmlCommonPackage.MULTIPLICITY_RULE:
94
      {
95
        MultiplicityRule multiplicityRule = (MultiplicityRule)theEObject;
96
        T result = caseMultiplicityRule(multiplicityRule);
97
        if (result == null) result = defaultCase(theEObject);
98
        return result;
99
      }
100
      case UmlCommonPackage.BOUND_SPECIFICATION:
101
      {
102
        BoundSpecification boundSpecification = (BoundSpecification)theEObject;
103
        T result = caseBoundSpecification(boundSpecification);
104
        if (result == null) result = defaultCase(theEObject);
105
        return result;
106
      }
107
      default: return defaultCase(theEObject);
108
    }
109
  }
67
110
68
	/**
111
  /**
69
	 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
112
   * Returns the result of interpreting the object as an instance of '<em>Qualified Name</em>'.
70
	 * <!-- begin-user-doc -->
113
   * <!-- begin-user-doc -->
71
	 * <!-- end-user-doc -->
114
   * This implementation returns null;
72
	 * 
115
   * returning a non-null result will terminate the switch.
73
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
116
   * <!-- end-user-doc -->
74
	 * @generated
117
   * @param object the target of the switch.
75
	 */
118
   * @return the result of interpreting the object as an instance of '<em>Qualified Name</em>'.
76
	protected T doSwitch(EClass theEClass, EObject theEObject) {
119
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
77
		if(theEClass.eContainer() == modelPackage) {
120
   * @generated
78
			return doSwitch(theEClass.getClassifierID(), theEObject);
121
   */
79
		} else {
122
  public T caseQualifiedName(QualifiedName object)
80
			List<EClass> eSuperTypes = theEClass.getESuperTypes();
123
  {
81
			return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject);
124
    return null;
82
		}
125
  }
83
	}
84
126
85
	/**
127
  /**
86
	 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
128
   * Returns the result of interpreting the object as an instance of '<em>Type Rule</em>'.
87
	 * <!-- begin-user-doc -->
129
   * <!-- begin-user-doc -->
88
	 * <!-- end-user-doc -->
130
   * This implementation returns null;
89
	 * 
131
   * returning a non-null result will terminate the switch.
90
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
132
   * <!-- end-user-doc -->
91
	 * @generated
133
   * @param object the target of the switch.
92
	 */
134
   * @return the result of interpreting the object as an instance of '<em>Type Rule</em>'.
93
	protected T doSwitch(int classifierID, EObject theEObject) {
135
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
94
		switch(classifierID) {
136
   * @generated
95
		case UmlCommonPackage.QUALIFIED_NAME:
137
   */
96
		{
138
  public T caseTypeRule(TypeRule object)
97
			QualifiedName qualifiedName = (QualifiedName)theEObject;
139
  {
98
			T result = caseQualifiedName(qualifiedName);
140
    return null;
99
			if(result == null)
141
  }
100
				result = defaultCase(theEObject);
101
			return result;
102
		}
103
		case UmlCommonPackage.TYPE_RULE:
104
		{
105
			TypeRule typeRule = (TypeRule)theEObject;
106
			T result = caseTypeRule(typeRule);
107
			if(result == null)
108
				result = defaultCase(theEObject);
109
			return result;
110
		}
111
		case UmlCommonPackage.MULTIPLICITY_RULE:
112
		{
113
			MultiplicityRule multiplicityRule = (MultiplicityRule)theEObject;
114
			T result = caseMultiplicityRule(multiplicityRule);
115
			if(result == null)
116
				result = defaultCase(theEObject);
117
			return result;
118
		}
119
		case UmlCommonPackage.BOUND_SPECIFICATION:
120
		{
121
			BoundSpecification boundSpecification = (BoundSpecification)theEObject;
122
			T result = caseBoundSpecification(boundSpecification);
123
			if(result == null)
124
				result = defaultCase(theEObject);
125
			return result;
126
		}
127
		default:
128
			return defaultCase(theEObject);
129
		}
130
	}
131
142
132
	/**
143
  /**
133
	 * Returns the result of interpreting the object as an instance of '<em>Qualified Name</em>'.
144
   * Returns the result of interpreting the object as an instance of '<em>Multiplicity Rule</em>'.
134
	 * <!-- begin-user-doc -->
145
   * <!-- begin-user-doc -->
135
	 * This implementation returns null;
146
   * This implementation returns null;
136
	 * returning a non-null result will terminate the switch.
147
   * returning a non-null result will terminate the switch.
137
	 * <!-- end-user-doc -->
148
   * <!-- end-user-doc -->
138
	 * 
149
   * @param object the target of the switch.
139
	 * @param object
150
   * @return the result of interpreting the object as an instance of '<em>Multiplicity Rule</em>'.
140
	 *        the target of the switch.
151
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
141
	 * @return the result of interpreting the object as an instance of '<em>Qualified Name</em>'.
152
   * @generated
142
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
153
   */
143
	 * @generated
154
  public T caseMultiplicityRule(MultiplicityRule object)
144
	 */
155
  {
145
	public T caseQualifiedName(QualifiedName object) {
156
    return null;
146
		return null;
157
  }
147
	}
148
158
149
	/**
159
  /**
150
	 * Returns the result of interpreting the object as an instance of '<em>Type Rule</em>'.
160
   * Returns the result of interpreting the object as an instance of '<em>Bound Specification</em>'.
151
	 * <!-- begin-user-doc -->
161
   * <!-- begin-user-doc -->
152
	 * This implementation returns null;
162
   * This implementation returns null;
153
	 * returning a non-null result will terminate the switch.
163
   * returning a non-null result will terminate the switch.
154
	 * <!-- end-user-doc -->
164
   * <!-- end-user-doc -->
155
	 * 
165
   * @param object the target of the switch.
156
	 * @param object
166
   * @return the result of interpreting the object as an instance of '<em>Bound Specification</em>'.
157
	 *        the target of the switch.
167
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
158
	 * @return the result of interpreting the object as an instance of '<em>Type Rule</em>'.
168
   * @generated
159
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
169
   */
160
	 * @generated
170
  public T caseBoundSpecification(BoundSpecification object)
161
	 */
171
  {
162
	public T caseTypeRule(TypeRule object) {
172
    return null;
163
		return null;
173
  }
164
	}
165
174
166
	/**
175
  /**
167
	 * Returns the result of interpreting the object as an instance of '<em>Multiplicity Rule</em>'.
176
   * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
168
	 * <!-- begin-user-doc -->
177
   * <!-- begin-user-doc -->
169
	 * This implementation returns null;
178
   * This implementation returns null;
170
	 * returning a non-null result will terminate the switch.
179
   * returning a non-null result will terminate the switch, but this is the last case anyway.
171
	 * <!-- end-user-doc -->
180
   * <!-- end-user-doc -->
172
	 * 
181
   * @param object the target of the switch.
173
	 * @param object
182
   * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
174
	 *        the target of the switch.
183
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
175
	 * @return the result of interpreting the object as an instance of '<em>Multiplicity Rule</em>'.
184
   * @generated
176
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
185
   */
177
	 * @generated
186
  @Override
178
	 */
187
  public T defaultCase(EObject object)
179
	public T caseMultiplicityRule(MultiplicityRule object) {
188
  {
180
		return null;
189
    return null;
181
	}
190
  }
182
183
	/**
184
	 * Returns the result of interpreting the object as an instance of '<em>Bound Specification</em>'.
185
	 * <!-- begin-user-doc -->
186
	 * This implementation returns null;
187
	 * returning a non-null result will terminate the switch.
188
	 * <!-- end-user-doc -->
189
	 * 
190
	 * @param object
191
	 *        the target of the switch.
192
	 * @return the result of interpreting the object as an instance of '<em>Bound Specification</em>'.
193
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
194
	 * @generated
195
	 */
196
	public T caseBoundSpecification(BoundSpecification object) {
197
		return null;
198
	}
199
200
	/**
201
	 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
202
	 * <!-- begin-user-doc -->
203
	 * This implementation returns null;
204
	 * returning a non-null result will terminate the switch, but this is the last case anyway.
205
	 * <!-- end-user-doc -->
206
	 * 
207
	 * @param object
208
	 *        the target of the switch.
209
	 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
210
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
211
	 * @generated
212
	 */
213
	public T defaultCase(EObject object) {
214
		return null;
215
	}
216
191
217
} //UmlCommonSwitch
192
} //UmlCommonSwitch
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/util/UmlCommonAdapterFactory.java (-165 / +163 lines)
Lines 8-198 Link Here
8
8
9
import org.eclipse.emf.common.notify.Adapter;
9
import org.eclipse.emf.common.notify.Adapter;
10
import org.eclipse.emf.common.notify.Notifier;
10
import org.eclipse.emf.common.notify.Notifier;
11
11
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
12
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
13
12
import org.eclipse.emf.ecore.EObject;
14
import org.eclipse.emf.ecore.EObject;
13
import org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification;
15
14
import org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule;
16
import org.eclipse.papyrus.common.editor.xtext.umlCommon.*;
15
import org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName;
16
import org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule;
17
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
18
17
19
/**
18
/**
20
 * <!-- begin-user-doc -->
19
 * <!-- begin-user-doc -->
21
 * The <b>Adapter Factory</b> for the model.
20
 * The <b>Adapter Factory</b> for the model.
22
 * It provides an adapter <code>createXXX</code> method for each class of the model.
21
 * It provides an adapter <code>createXXX</code> method for each class of the model.
23
 * <!-- end-user-doc -->
22
 * <!-- end-user-doc -->
24
 * 
25
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage
23
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage
26
 * @generated
24
 * @generated
27
 */
25
 */
28
public class UmlCommonAdapterFactory extends AdapterFactoryImpl {
26
public class UmlCommonAdapterFactory extends AdapterFactoryImpl
27
{
28
  /**
29
   * The cached model package.
30
   * <!-- begin-user-doc -->
31
   * <!-- end-user-doc -->
32
   * @generated
33
   */
34
  protected static UmlCommonPackage modelPackage;
29
35
30
	/**
36
  /**
31
	 * The cached model package.
37
   * Creates an instance of the adapter factory.
32
	 * <!-- begin-user-doc -->
38
   * <!-- begin-user-doc -->
33
	 * <!-- end-user-doc -->
39
   * <!-- end-user-doc -->
34
	 * 
40
   * @generated
35
	 * @generated
41
   */
36
	 */
42
  public UmlCommonAdapterFactory()
37
	protected static UmlCommonPackage modelPackage;
43
  {
44
    if (modelPackage == null)
45
    {
46
      modelPackage = UmlCommonPackage.eINSTANCE;
47
    }
48
  }
38
49
39
	/**
50
  /**
40
	 * Creates an instance of the adapter factory.
51
   * Returns whether this factory is applicable for the type of the object.
41
	 * <!-- begin-user-doc -->
52
   * <!-- begin-user-doc -->
42
	 * <!-- end-user-doc -->
53
   * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
43
	 * 
54
   * <!-- end-user-doc -->
44
	 * @generated
55
   * @return whether this factory is applicable for the type of the object.
45
	 */
56
   * @generated
46
	public UmlCommonAdapterFactory() {
57
   */
47
		if(modelPackage == null) {
58
  @Override
48
			modelPackage = UmlCommonPackage.eINSTANCE;
59
  public boolean isFactoryForType(Object object)
49
		}
60
  {
50
	}
61
    if (object == modelPackage)
62
    {
63
      return true;
64
    }
65
    if (object instanceof EObject)
66
    {
67
      return ((EObject)object).eClass().getEPackage() == modelPackage;
68
    }
69
    return false;
70
  }
51
71
52
	/**
72
  /**
53
	 * Returns whether this factory is applicable for the type of the object.
73
   * The switch that delegates to the <code>createXXX</code> methods.
54
	 * <!-- begin-user-doc -->
74
   * <!-- begin-user-doc -->
55
	 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
75
   * <!-- end-user-doc -->
56
	 * <!-- end-user-doc -->
76
   * @generated
57
	 * 
77
   */
58
	 * @return whether this factory is applicable for the type of the object.
78
  protected UmlCommonSwitch<Adapter> modelSwitch =
59
	 * @generated
79
    new UmlCommonSwitch<Adapter>()
60
	 */
80
    {
61
	@Override
81
      @Override
62
	public boolean isFactoryForType(Object object) {
82
      public Adapter caseQualifiedName(QualifiedName object)
63
		if(object == modelPackage) {
83
      {
64
			return true;
84
        return createQualifiedNameAdapter();
65
		}
85
      }
66
		if(object instanceof EObject) {
86
      @Override
67
			return ((EObject)object).eClass().getEPackage() == modelPackage;
87
      public Adapter caseTypeRule(TypeRule object)
68
		}
88
      {
69
		return false;
89
        return createTypeRuleAdapter();
70
	}
90
      }
91
      @Override
92
      public Adapter caseMultiplicityRule(MultiplicityRule object)
93
      {
94
        return createMultiplicityRuleAdapter();
95
      }
96
      @Override
97
      public Adapter caseBoundSpecification(BoundSpecification object)
98
      {
99
        return createBoundSpecificationAdapter();
100
      }
101
      @Override
102
      public Adapter defaultCase(EObject object)
103
      {
104
        return createEObjectAdapter();
105
      }
106
    };
71
107
72
	/**
108
  /**
73
	 * The switch that delegates to the <code>createXXX</code> methods.
109
   * Creates an adapter for the <code>target</code>.
74
	 * <!-- begin-user-doc -->
110
   * <!-- begin-user-doc -->
75
	 * <!-- end-user-doc -->
111
   * <!-- end-user-doc -->
76
	 * 
112
   * @param target the object to adapt.
77
	 * @generated
113
   * @return the adapter for the <code>target</code>.
78
	 */
114
   * @generated
79
	protected UmlCommonSwitch<Adapter> modelSwitch = new UmlCommonSwitch<Adapter>() {
115
   */
116
  @Override
117
  public Adapter createAdapter(Notifier target)
118
  {
119
    return modelSwitch.doSwitch((EObject)target);
120
  }
80
121
81
		@Override
82
		public Adapter caseQualifiedName(QualifiedName object) {
83
			return createQualifiedNameAdapter();
84
		}
85
122
86
		@Override
123
  /**
87
		public Adapter caseTypeRule(TypeRule object) {
124
   * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName <em>Qualified Name</em>}'.
88
			return createTypeRuleAdapter();
125
   * <!-- begin-user-doc -->
89
		}
126
   * This default implementation returns null so that we can easily ignore cases;
127
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
128
   * <!-- end-user-doc -->
129
   * @return the new adapter.
130
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName
131
   * @generated
132
   */
133
  public Adapter createQualifiedNameAdapter()
134
  {
135
    return null;
136
  }
90
137
91
		@Override
138
  /**
92
		public Adapter caseMultiplicityRule(MultiplicityRule object) {
139
   * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule <em>Type Rule</em>}'.
93
			return createMultiplicityRuleAdapter();
140
   * <!-- begin-user-doc -->
94
		}
141
   * This default implementation returns null so that we can easily ignore cases;
142
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
143
   * <!-- end-user-doc -->
144
   * @return the new adapter.
145
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule
146
   * @generated
147
   */
148
  public Adapter createTypeRuleAdapter()
149
  {
150
    return null;
151
  }
95
152
96
		@Override
153
  /**
97
		public Adapter caseBoundSpecification(BoundSpecification object) {
154
   * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule <em>Multiplicity Rule</em>}'.
98
			return createBoundSpecificationAdapter();
155
   * <!-- begin-user-doc -->
99
		}
156
   * This default implementation returns null so that we can easily ignore cases;
157
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
158
   * <!-- end-user-doc -->
159
   * @return the new adapter.
160
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule
161
   * @generated
162
   */
163
  public Adapter createMultiplicityRuleAdapter()
164
  {
165
    return null;
166
  }
100
167
101
		@Override
168
  /**
102
		public Adapter defaultCase(EObject object) {
169
   * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification <em>Bound Specification</em>}'.
103
			return createEObjectAdapter();
170
   * <!-- begin-user-doc -->
104
		}
171
   * This default implementation returns null so that we can easily ignore cases;
105
	};
172
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
173
   * <!-- end-user-doc -->
174
   * @return the new adapter.
175
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification
176
   * @generated
177
   */
178
  public Adapter createBoundSpecificationAdapter()
179
  {
180
    return null;
181
  }
106
182
107
	/**
183
  /**
108
	 * Creates an adapter for the <code>target</code>.
184
   * Creates a new adapter for the default case.
109
	 * <!-- begin-user-doc -->
185
   * <!-- begin-user-doc -->
110
	 * <!-- end-user-doc -->
186
   * This default implementation returns null.
111
	 * 
187
   * <!-- end-user-doc -->
112
	 * @param target
188
   * @return the new adapter.
113
	 *        the object to adapt.
189
   * @generated
114
	 * @return the adapter for the <code>target</code>.
190
   */
115
	 * @generated
191
  public Adapter createEObjectAdapter()
116
	 */
192
  {
117
	@Override
193
    return null;
118
	public Adapter createAdapter(Notifier target) {
194
  }
119
		return modelSwitch.doSwitch((EObject)target);
120
	}
121
122
123
	/**
124
	 * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName <em>Qualified Name</em>}'.
125
	 * <!-- begin-user-doc -->
126
	 * This default implementation returns null so that we can easily ignore cases;
127
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
128
	 * <!-- end-user-doc -->
129
	 * 
130
	 * @return the new adapter.
131
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName
132
	 * @generated
133
	 */
134
	public Adapter createQualifiedNameAdapter() {
135
		return null;
136
	}
137
138
	/**
139
	 * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule <em>Type Rule</em>}'.
140
	 * <!-- begin-user-doc -->
141
	 * This default implementation returns null so that we can easily ignore cases;
142
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
143
	 * <!-- end-user-doc -->
144
	 * 
145
	 * @return the new adapter.
146
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule
147
	 * @generated
148
	 */
149
	public Adapter createTypeRuleAdapter() {
150
		return null;
151
	}
152
153
	/**
154
	 * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule
155
	 * <em>Multiplicity Rule</em>}'.
156
	 * <!-- begin-user-doc -->
157
	 * This default implementation returns null so that we can easily ignore cases;
158
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
159
	 * <!-- end-user-doc -->
160
	 * 
161
	 * @return the new adapter.
162
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule
163
	 * @generated
164
	 */
165
	public Adapter createMultiplicityRuleAdapter() {
166
		return null;
167
	}
168
169
	/**
170
	 * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification
171
	 * <em>Bound Specification</em>}'.
172
	 * <!-- begin-user-doc -->
173
	 * This default implementation returns null so that we can easily ignore cases;
174
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
175
	 * <!-- end-user-doc -->
176
	 * 
177
	 * @return the new adapter.
178
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification
179
	 * @generated
180
	 */
181
	public Adapter createBoundSpecificationAdapter() {
182
		return null;
183
	}
184
185
	/**
186
	 * Creates a new adapter for the default case.
187
	 * <!-- begin-user-doc -->
188
	 * This default implementation returns null.
189
	 * <!-- end-user-doc -->
190
	 * 
191
	 * @return the new adapter.
192
	 * @generated
193
	 */
194
	public Adapter createEObjectAdapter() {
195
		return null;
196
	}
197
195
198
} //UmlCommonAdapterFactory
196
} //UmlCommonAdapterFactory
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/Direction.java (-238 / +237 lines)
Lines 17-282 Link Here
17
 * A representation of the literals of the enumeration '<em><b>Direction</b></em>',
17
 * A representation of the literals of the enumeration '<em><b>Direction</b></em>',
18
 * and utility methods for working with them.
18
 * and utility methods for working with them.
19
 * <!-- end-user-doc -->
19
 * <!-- end-user-doc -->
20
 * 
21
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getDirection()
20
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getDirection()
22
 * @model
21
 * @model
23
 * @generated
22
 * @generated
24
 */
23
 */
25
public enum Direction implements Enumerator {
24
public enum Direction implements Enumerator
26
	/**
25
{
27
	 * The '<em><b>IN</b></em>' literal object.
26
  /**
28
	 * <!-- begin-user-doc -->
27
   * The '<em><b>IN</b></em>' literal object.
29
	 * <!-- end-user-doc -->
28
   * <!-- begin-user-doc -->
30
	 * 
29
   * <!-- end-user-doc -->
31
	 * @see #IN_VALUE
30
   * @see #IN_VALUE
32
	 * @generated
31
   * @generated
33
	 * @ordered
32
   * @ordered
34
	 */
33
   */
35
	IN(0, "IN", "in"),
34
  IN(0, "IN", "in"),
36
35
37
	/**
36
  /**
38
	 * The '<em><b>OUT</b></em>' literal object.
37
   * The '<em><b>OUT</b></em>' literal object.
39
	 * <!-- begin-user-doc -->
38
   * <!-- begin-user-doc -->
40
	 * <!-- end-user-doc -->
39
   * <!-- end-user-doc -->
41
	 * 
40
   * @see #OUT_VALUE
42
	 * @see #OUT_VALUE
41
   * @generated
43
	 * @generated
42
   * @ordered
44
	 * @ordered
43
   */
45
	 */
44
  OUT(1, "OUT", "out"),
46
	OUT(1, "OUT", "out"),
47
45
48
	/**
46
  /**
49
	 * The '<em><b>INOUT</b></em>' literal object.
47
   * The '<em><b>INOUT</b></em>' literal object.
50
	 * <!-- begin-user-doc -->
48
   * <!-- begin-user-doc -->
51
	 * <!-- end-user-doc -->
49
   * <!-- end-user-doc -->
52
	 * 
50
   * @see #INOUT_VALUE
53
	 * @see #INOUT_VALUE
51
   * @generated
54
	 * @generated
52
   * @ordered
55
	 * @ordered
53
   */
56
	 */
54
  INOUT(2, "INOUT", "inout"),
57
	INOUT(2, "INOUT", "inout"),
58
55
59
	/**
56
  /**
60
	 * The '<em><b>RETURN</b></em>' literal object.
57
   * The '<em><b>RETURN</b></em>' literal object.
61
	 * <!-- begin-user-doc -->
58
   * <!-- begin-user-doc -->
62
	 * <!-- end-user-doc -->
59
   * <!-- end-user-doc -->
63
	 * 
60
   * @see #RETURN_VALUE
64
	 * @see #RETURN_VALUE
61
   * @generated
65
	 * @generated
62
   * @ordered
66
	 * @ordered
63
   */
67
	 */
64
  RETURN(3, "RETURN", "return");
68
	RETURN(3, "RETURN", "return");
69
65
70
	/**
66
  /**
71
	 * The '<em><b>IN</b></em>' literal value.
67
   * The '<em><b>IN</b></em>' literal value.
72
	 * <!-- begin-user-doc -->
68
   * <!-- begin-user-doc -->
73
	 * <p>
69
   * <p>
74
	 * If the meaning of '<em><b>IN</b></em>' literal object isn't clear, there really should be more of a description here...
70
   * If the meaning of '<em><b>IN</b></em>' literal object isn't clear,
75
	 * </p>
71
   * there really should be more of a description here...
76
	 * <!-- end-user-doc -->
72
   * </p>
77
	 * 
73
   * <!-- end-user-doc -->
78
	 * @see #IN
74
   * @see #IN
79
	 * @model literal="in"
75
   * @model literal="in"
80
	 * @generated
76
   * @generated
81
	 * @ordered
77
   * @ordered
82
	 */
78
   */
83
	public static final int IN_VALUE = 0;
79
  public static final int IN_VALUE = 0;
84
80
85
	/**
81
  /**
86
	 * The '<em><b>OUT</b></em>' literal value.
82
   * The '<em><b>OUT</b></em>' literal value.
87
	 * <!-- begin-user-doc -->
83
   * <!-- begin-user-doc -->
88
	 * <p>
84
   * <p>
89
	 * If the meaning of '<em><b>OUT</b></em>' literal object isn't clear, there really should be more of a description here...
85
   * If the meaning of '<em><b>OUT</b></em>' literal object isn't clear,
90
	 * </p>
86
   * there really should be more of a description here...
91
	 * <!-- end-user-doc -->
87
   * </p>
92
	 * 
88
   * <!-- end-user-doc -->
93
	 * @see #OUT
89
   * @see #OUT
94
	 * @model literal="out"
90
   * @model literal="out"
95
	 * @generated
91
   * @generated
96
	 * @ordered
92
   * @ordered
97
	 */
93
   */
98
	public static final int OUT_VALUE = 1;
94
  public static final int OUT_VALUE = 1;
99
95
100
	/**
96
  /**
101
	 * The '<em><b>INOUT</b></em>' literal value.
97
   * The '<em><b>INOUT</b></em>' literal value.
102
	 * <!-- begin-user-doc -->
98
   * <!-- begin-user-doc -->
103
	 * <p>
99
   * <p>
104
	 * If the meaning of '<em><b>INOUT</b></em>' literal object isn't clear, there really should be more of a description here...
100
   * If the meaning of '<em><b>INOUT</b></em>' literal object isn't clear,
105
	 * </p>
101
   * there really should be more of a description here...
106
	 * <!-- end-user-doc -->
102
   * </p>
107
	 * 
103
   * <!-- end-user-doc -->
108
	 * @see #INOUT
104
   * @see #INOUT
109
	 * @model literal="inout"
105
   * @model literal="inout"
110
	 * @generated
106
   * @generated
111
	 * @ordered
107
   * @ordered
112
	 */
108
   */
113
	public static final int INOUT_VALUE = 2;
109
  public static final int INOUT_VALUE = 2;
114
110
115
	/**
111
  /**
116
	 * The '<em><b>RETURN</b></em>' literal value.
112
   * The '<em><b>RETURN</b></em>' literal value.
117
	 * <!-- begin-user-doc -->
113
   * <!-- begin-user-doc -->
118
	 * <p>
114
   * <p>
119
	 * If the meaning of '<em><b>RETURN</b></em>' literal object isn't clear, there really should be more of a description here...
115
   * If the meaning of '<em><b>RETURN</b></em>' literal object isn't clear,
120
	 * </p>
116
   * there really should be more of a description here...
121
	 * <!-- end-user-doc -->
117
   * </p>
122
	 * 
118
   * <!-- end-user-doc -->
123
	 * @see #RETURN
119
   * @see #RETURN
124
	 * @model literal="return"
120
   * @model literal="return"
125
	 * @generated
121
   * @generated
126
	 * @ordered
122
   * @ordered
127
	 */
123
   */
128
	public static final int RETURN_VALUE = 3;
124
  public static final int RETURN_VALUE = 3;
129
125
130
	/**
126
  /**
131
	 * An array of all the '<em><b>Direction</b></em>' enumerators.
127
   * An array of all the '<em><b>Direction</b></em>' enumerators.
132
	 * <!-- begin-user-doc -->
128
   * <!-- begin-user-doc -->
133
	 * <!-- end-user-doc -->
129
   * <!-- end-user-doc -->
134
	 * 
130
   * @generated
135
	 * @generated
131
   */
136
	 */
132
  private static final Direction[] VALUES_ARRAY =
137
	private static final Direction[] VALUES_ARRAY = new Direction[]{ IN, OUT, INOUT, RETURN, };
133
    new Direction[]
134
    {
135
      IN,
136
      OUT,
137
      INOUT,
138
      RETURN,
139
    };
138
140
139
	/**
141
  /**
140
	 * A public read-only list of all the '<em><b>Direction</b></em>' enumerators.
142
   * A public read-only list of all the '<em><b>Direction</b></em>' enumerators.
141
	 * <!-- begin-user-doc -->
143
   * <!-- begin-user-doc -->
142
	 * <!-- end-user-doc -->
144
   * <!-- end-user-doc -->
143
	 * 
145
   * @generated
144
	 * @generated
146
   */
145
	 */
147
  public static final List<Direction> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
146
	public static final List<Direction> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
147
148
148
	/**
149
  /**
149
	 * Returns the '<em><b>Direction</b></em>' literal with the specified literal value.
150
   * Returns the '<em><b>Direction</b></em>' literal with the specified literal value.
150
	 * <!-- begin-user-doc -->
151
   * <!-- begin-user-doc -->
151
	 * <!-- end-user-doc -->
152
   * <!-- end-user-doc -->
152
	 * 
153
   * @generated
153
	 * @generated
154
   */
154
	 */
155
  public static Direction get(String literal)
155
	public static Direction get(String literal) {
156
  {
156
		for(int i = 0; i < VALUES_ARRAY.length; ++i) {
157
    for (int i = 0; i < VALUES_ARRAY.length; ++i)
157
			Direction result = VALUES_ARRAY[i];
158
    {
158
			if(result.toString().equals(literal)) {
159
      Direction result = VALUES_ARRAY[i];
159
				return result;
160
      if (result.toString().equals(literal))
160
			}
161
      {
161
		}
162
        return result;
162
		return null;
163
      }
163
	}
164
    }
165
    return null;
166
  }
164
167
165
	/**
168
  /**
166
	 * Returns the '<em><b>Direction</b></em>' literal with the specified name.
169
   * Returns the '<em><b>Direction</b></em>' literal with the specified name.
167
	 * <!-- begin-user-doc -->
170
   * <!-- begin-user-doc -->
168
	 * <!-- end-user-doc -->
171
   * <!-- end-user-doc -->
169
	 * 
172
   * @generated
170
	 * @generated
173
   */
171
	 */
174
  public static Direction getByName(String name)
172
	public static Direction getByName(String name) {
175
  {
173
		for(int i = 0; i < VALUES_ARRAY.length; ++i) {
176
    for (int i = 0; i < VALUES_ARRAY.length; ++i)
174
			Direction result = VALUES_ARRAY[i];
177
    {
175
			if(result.getName().equals(name)) {
178
      Direction result = VALUES_ARRAY[i];
176
				return result;
179
      if (result.getName().equals(name))
177
			}
180
      {
178
		}
181
        return result;
179
		return null;
182
      }
180
	}
183
    }
184
    return null;
185
  }
181
186
182
	/**
187
  /**
183
	 * Returns the '<em><b>Direction</b></em>' literal with the specified integer value.
188
   * Returns the '<em><b>Direction</b></em>' literal with the specified integer value.
184
	 * <!-- begin-user-doc -->
189
   * <!-- begin-user-doc -->
185
	 * <!-- end-user-doc -->
190
   * <!-- end-user-doc -->
186
	 * 
191
   * @generated
187
	 * @generated
192
   */
188
	 */
193
  public static Direction get(int value)
189
	public static Direction get(int value) {
194
  {
190
		switch(value) {
195
    switch (value)
191
		case IN_VALUE:
196
    {
192
			return IN;
197
      case IN_VALUE: return IN;
193
		case OUT_VALUE:
198
      case OUT_VALUE: return OUT;
194
			return OUT;
199
      case INOUT_VALUE: return INOUT;
195
		case INOUT_VALUE:
200
      case RETURN_VALUE: return RETURN;
196
			return INOUT;
201
    }
197
		case RETURN_VALUE:
202
    return null;
198
			return RETURN;
203
  }
199
		}
200
		return null;
201
	}
202
204
203
	/**
205
  /**
204
	 * <!-- begin-user-doc -->
206
   * <!-- begin-user-doc -->
205
	 * <!-- end-user-doc -->
207
   * <!-- end-user-doc -->
206
	 * 
208
   * @generated
207
	 * @generated
209
   */
208
	 */
210
  private final int value;
209
	private final int value;
210
211
211
	/**
212
  /**
212
	 * <!-- begin-user-doc -->
213
   * <!-- begin-user-doc -->
213
	 * <!-- end-user-doc -->
214
   * <!-- end-user-doc -->
214
	 * 
215
   * @generated
215
	 * @generated
216
   */
216
	 */
217
  private final String name;
217
	private final String name;
218
218
219
	/**
219
  /**
220
	 * <!-- begin-user-doc -->
220
   * <!-- begin-user-doc -->
221
	 * <!-- end-user-doc -->
221
   * <!-- end-user-doc -->
222
	 * 
222
   * @generated
223
	 * @generated
223
   */
224
	 */
224
  private final String literal;
225
	private final String literal;
226
225
227
	/**
226
  /**
228
	 * Only this class can construct instances.
227
   * Only this class can construct instances.
229
	 * <!-- begin-user-doc -->
228
   * <!-- begin-user-doc -->
230
	 * <!-- end-user-doc -->
229
   * <!-- end-user-doc -->
231
	 * 
230
   * @generated
232
	 * @generated
231
   */
233
	 */
232
  private Direction(int value, String name, String literal)
234
	private Direction(int value, String name, String literal) {
233
  {
235
		this.value = value;
234
    this.value = value;
236
		this.name = name;
235
    this.name = name;
237
		this.literal = literal;
236
    this.literal = literal;
238
	}
237
  }
239
238
240
	/**
239
  /**
241
	 * <!-- begin-user-doc -->
240
   * <!-- begin-user-doc -->
242
	 * <!-- end-user-doc -->
241
   * <!-- end-user-doc -->
243
	 * 
242
   * @generated
244
	 * @generated
243
   */
245
	 */
244
  public int getValue()
246
	public int getValue() {
245
  {
247
		return value;
246
    return value;
248
	}
247
  }
249
248
250
	/**
249
  /**
251
	 * <!-- begin-user-doc -->
250
   * <!-- begin-user-doc -->
252
	 * <!-- end-user-doc -->
251
   * <!-- end-user-doc -->
253
	 * 
252
   * @generated
254
	 * @generated
253
   */
255
	 */
254
  public String getName()
256
	public String getName() {
255
  {
257
		return name;
256
    return name;
258
	}
257
  }
259
258
260
	/**
259
  /**
261
	 * <!-- begin-user-doc -->
260
   * <!-- begin-user-doc -->
262
	 * <!-- end-user-doc -->
261
   * <!-- end-user-doc -->
263
	 * 
262
   * @generated
264
	 * @generated
263
   */
265
	 */
264
  public String getLiteral()
266
	public String getLiteral() {
265
  {
267
		return literal;
266
    return literal;
268
	}
267
  }
269
268
270
	/**
269
  /**
271
	 * Returns the literal value of the enumerator, which is its string representation.
270
   * Returns the literal value of the enumerator, which is its string representation.
272
	 * <!-- begin-user-doc -->
271
   * <!-- begin-user-doc -->
273
	 * <!-- end-user-doc -->
272
   * <!-- end-user-doc -->
274
	 * 
273
   * @generated
275
	 * @generated
274
   */
276
	 */
275
  @Override
277
	@Override
276
  public String toString()
278
	public String toString() {
277
  {
279
		return literal;
278
    return literal;
280
	}
279
  }
281
280
  
282
} //Direction
281
} //Direction
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/UmlCommonPackage.java (-457 / +401 lines)
Lines 17-530 Link Here
17
 * The <b>Package</b> for the model.
17
 * The <b>Package</b> for the model.
18
 * It contains accessors for the meta objects to represent
18
 * It contains accessors for the meta objects to represent
19
 * <ul>
19
 * <ul>
20
 * <li>each class,</li>
20
 *   <li>each class,</li>
21
 * <li>each feature of each class,</li>
21
 *   <li>each feature of each class,</li>
22
 * <li>each enum,</li>
22
 *   <li>each enum,</li>
23
 * <li>and each data type</li>
23
 *   <li>and each data type</li>
24
 * </ul>
24
 * </ul>
25
 * <!-- end-user-doc -->
25
 * <!-- end-user-doc -->
26
 * 
27
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonFactory
26
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonFactory
28
 * @model kind="package"
27
 * @model kind="package"
29
 * @generated
28
 * @generated
30
 */
29
 */
31
public interface UmlCommonPackage extends EPackage {
30
public interface UmlCommonPackage extends EPackage
32
31
{
33
	/**
32
  /**
34
	 * The package name.
33
   * The package name.
35
	 * <!-- begin-user-doc -->
34
   * <!-- begin-user-doc -->
36
	 * <!-- end-user-doc -->
35
   * <!-- end-user-doc -->
37
	 * 
36
   * @generated
38
	 * @generated
37
   */
39
	 */
38
  String eNAME = "umlCommon";
40
	String eNAME = "umlCommon";
41
39
42
	/**
40
  /**
43
	 * The package namespace URI.
41
   * The package namespace URI.
44
	 * <!-- begin-user-doc -->
42
   * <!-- begin-user-doc -->
45
	 * <!-- end-user-doc -->
43
   * <!-- end-user-doc -->
46
	 * 
44
   * @generated
47
	 * @generated
45
   */
48
	 */
46
  String eNS_URI = "http://www.eclipse.org/papyrus/common/editor/xtext/UmlCommon";
49
	String eNS_URI = "http://www.eclipse.org/papyrus/common/editor/xtext/UmlCommon";
50
47
51
	/**
48
  /**
52
	 * The package namespace name.
49
   * The package namespace name.
53
	 * <!-- begin-user-doc -->
50
   * <!-- begin-user-doc -->
54
	 * <!-- end-user-doc -->
51
   * <!-- end-user-doc -->
55
	 * 
52
   * @generated
56
	 * @generated
53
   */
57
	 */
54
  String eNS_PREFIX = "umlCommon";
58
	String eNS_PREFIX = "umlCommon";
59
55
60
	/**
56
  /**
61
	 * The singleton instance of the package.
57
   * The singleton instance of the package.
62
	 * <!-- begin-user-doc -->
58
   * <!-- begin-user-doc -->
63
	 * <!-- end-user-doc -->
59
   * <!-- end-user-doc -->
64
	 * 
60
   * @generated
65
	 * @generated
61
   */
66
	 */
62
  UmlCommonPackage eINSTANCE = org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl.init();
67
	UmlCommonPackage eINSTANCE = org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl.init();
68
63
69
	/**
64
  /**
70
	 * The meta object id for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.QualifiedNameImpl <em>Qualified Name</em>}' class.
65
   * The meta object id for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.QualifiedNameImpl <em>Qualified Name</em>}' class.
71
	 * <!-- begin-user-doc -->
66
   * <!-- begin-user-doc -->
72
	 * <!-- end-user-doc -->
67
   * <!-- end-user-doc -->
73
	 * 
68
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.QualifiedNameImpl
74
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.QualifiedNameImpl
69
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getQualifiedName()
75
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getQualifiedName()
70
   * @generated
76
	 * @generated
71
   */
77
	 */
72
  int QUALIFIED_NAME = 0;
78
	int QUALIFIED_NAME = 0;
79
73
80
	/**
74
  /**
81
	 * The feature id for the '<em><b>Path</b></em>' reference.
75
   * The feature id for the '<em><b>Path</b></em>' reference.
82
	 * <!-- begin-user-doc -->
76
   * <!-- begin-user-doc -->
83
	 * <!-- end-user-doc -->
77
   * <!-- end-user-doc -->
84
	 * 
78
   * @generated
85
	 * @generated
79
   * @ordered
86
	 * @ordered
80
   */
87
	 */
81
  int QUALIFIED_NAME__PATH = 0;
88
	int QUALIFIED_NAME__PATH = 0;
89
82
90
	/**
83
  /**
91
	 * The feature id for the '<em><b>Remaining</b></em>' containment reference.
84
   * The feature id for the '<em><b>Remaining</b></em>' containment reference.
92
	 * <!-- begin-user-doc -->
85
   * <!-- begin-user-doc -->
93
	 * <!-- end-user-doc -->
86
   * <!-- end-user-doc -->
94
	 * 
87
   * @generated
95
	 * @generated
88
   * @ordered
96
	 * @ordered
89
   */
97
	 */
90
  int QUALIFIED_NAME__REMAINING = 1;
98
	int QUALIFIED_NAME__REMAINING = 1;
99
91
100
	/**
92
  /**
101
	 * The number of structural features of the '<em>Qualified Name</em>' class.
93
   * The number of structural features of the '<em>Qualified Name</em>' class.
102
	 * <!-- begin-user-doc -->
94
   * <!-- begin-user-doc -->
103
	 * <!-- end-user-doc -->
95
   * <!-- end-user-doc -->
104
	 * 
96
   * @generated
105
	 * @generated
97
   * @ordered
106
	 * @ordered
98
   */
107
	 */
99
  int QUALIFIED_NAME_FEATURE_COUNT = 2;
108
	int QUALIFIED_NAME_FEATURE_COUNT = 2;
109
100
110
	/**
101
  /**
111
	 * The meta object id for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.TypeRuleImpl <em>Type Rule</em>}' class.
102
   * The meta object id for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.TypeRuleImpl <em>Type Rule</em>}' class.
112
	 * <!-- begin-user-doc -->
103
   * <!-- begin-user-doc -->
113
	 * <!-- end-user-doc -->
104
   * <!-- end-user-doc -->
114
	 * 
105
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.TypeRuleImpl
115
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.TypeRuleImpl
106
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getTypeRule()
116
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getTypeRule()
107
   * @generated
117
	 * @generated
108
   */
118
	 */
109
  int TYPE_RULE = 1;
119
	int TYPE_RULE = 1;
120
110
121
	/**
111
  /**
122
	 * The feature id for the '<em><b>Path</b></em>' containment reference.
112
   * The feature id for the '<em><b>Path</b></em>' containment reference.
123
	 * <!-- begin-user-doc -->
113
   * <!-- begin-user-doc -->
124
	 * <!-- end-user-doc -->
114
   * <!-- end-user-doc -->
125
	 * 
115
   * @generated
126
	 * @generated
116
   * @ordered
127
	 * @ordered
117
   */
128
	 */
118
  int TYPE_RULE__PATH = 0;
129
	int TYPE_RULE__PATH = 0;
130
119
131
	/**
120
  /**
132
	 * The feature id for the '<em><b>Type</b></em>' reference.
121
   * The feature id for the '<em><b>Type</b></em>' reference.
133
	 * <!-- begin-user-doc -->
122
   * <!-- begin-user-doc -->
134
	 * <!-- end-user-doc -->
123
   * <!-- end-user-doc -->
135
	 * 
124
   * @generated
136
	 * @generated
125
   * @ordered
137
	 * @ordered
126
   */
138
	 */
127
  int TYPE_RULE__TYPE = 1;
139
	int TYPE_RULE__TYPE = 1;
140
128
141
	/**
129
  /**
142
	 * The number of structural features of the '<em>Type Rule</em>' class.
130
   * The number of structural features of the '<em>Type Rule</em>' class.
143
	 * <!-- begin-user-doc -->
131
   * <!-- begin-user-doc -->
144
	 * <!-- end-user-doc -->
132
   * <!-- end-user-doc -->
145
	 * 
133
   * @generated
146
	 * @generated
134
   * @ordered
147
	 * @ordered
135
   */
148
	 */
136
  int TYPE_RULE_FEATURE_COUNT = 2;
149
	int TYPE_RULE_FEATURE_COUNT = 2;
150
137
151
	/**
138
  /**
152
	 * The meta object id for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.MultiplicityRuleImpl <em>Multiplicity Rule</em>}'
139
   * The meta object id for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.MultiplicityRuleImpl <em>Multiplicity Rule</em>}' class.
153
	 * class.
140
   * <!-- begin-user-doc -->
154
	 * <!-- begin-user-doc -->
141
   * <!-- end-user-doc -->
155
	 * <!-- end-user-doc -->
142
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.MultiplicityRuleImpl
156
	 * 
143
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getMultiplicityRule()
157
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.MultiplicityRuleImpl
144
   * @generated
158
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getMultiplicityRule()
145
   */
159
	 * @generated
146
  int MULTIPLICITY_RULE = 2;
160
	 */
161
	int MULTIPLICITY_RULE = 2;
162
147
163
	/**
148
  /**
164
	 * The feature id for the '<em><b>Bounds</b></em>' containment reference list.
149
   * The feature id for the '<em><b>Bounds</b></em>' containment reference list.
165
	 * <!-- begin-user-doc -->
150
   * <!-- begin-user-doc -->
166
	 * <!-- end-user-doc -->
151
   * <!-- end-user-doc -->
167
	 * 
152
   * @generated
168
	 * @generated
153
   * @ordered
169
	 * @ordered
154
   */
170
	 */
155
  int MULTIPLICITY_RULE__BOUNDS = 0;
171
	int MULTIPLICITY_RULE__BOUNDS = 0;
172
156
173
	/**
157
  /**
174
	 * The number of structural features of the '<em>Multiplicity Rule</em>' class.
158
   * The number of structural features of the '<em>Multiplicity Rule</em>' class.
175
	 * <!-- begin-user-doc -->
159
   * <!-- begin-user-doc -->
176
	 * <!-- end-user-doc -->
160
   * <!-- end-user-doc -->
177
	 * 
161
   * @generated
178
	 * @generated
162
   * @ordered
179
	 * @ordered
163
   */
180
	 */
164
  int MULTIPLICITY_RULE_FEATURE_COUNT = 1;
181
	int MULTIPLICITY_RULE_FEATURE_COUNT = 1;
182
165
183
	/**
166
  /**
184
	 * The meta object id for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.BoundSpecificationImpl <em>Bound Specification</em>}'
167
   * The meta object id for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.BoundSpecificationImpl <em>Bound Specification</em>}' class.
185
	 * class.
168
   * <!-- begin-user-doc -->
186
	 * <!-- begin-user-doc -->
169
   * <!-- end-user-doc -->
187
	 * <!-- end-user-doc -->
170
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.BoundSpecificationImpl
188
	 * 
171
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getBoundSpecification()
189
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.BoundSpecificationImpl
172
   * @generated
190
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getBoundSpecification()
173
   */
191
	 * @generated
174
  int BOUND_SPECIFICATION = 3;
192
	 */
193
	int BOUND_SPECIFICATION = 3;
194
175
195
	/**
176
  /**
196
	 * The feature id for the '<em><b>Value</b></em>' attribute.
177
   * The feature id for the '<em><b>Value</b></em>' attribute.
197
	 * <!-- begin-user-doc -->
178
   * <!-- begin-user-doc -->
198
	 * <!-- end-user-doc -->
179
   * <!-- end-user-doc -->
199
	 * 
180
   * @generated
200
	 * @generated
181
   * @ordered
201
	 * @ordered
182
   */
202
	 */
183
  int BOUND_SPECIFICATION__VALUE = 0;
203
	int BOUND_SPECIFICATION__VALUE = 0;
204
184
205
	/**
185
  /**
206
	 * The number of structural features of the '<em>Bound Specification</em>' class.
186
   * The number of structural features of the '<em>Bound Specification</em>' class.
207
	 * <!-- begin-user-doc -->
187
   * <!-- begin-user-doc -->
208
	 * <!-- end-user-doc -->
188
   * <!-- end-user-doc -->
209
	 * 
189
   * @generated
210
	 * @generated
190
   * @ordered
211
	 * @ordered
191
   */
212
	 */
192
  int BOUND_SPECIFICATION_FEATURE_COUNT = 1;
213
	int BOUND_SPECIFICATION_FEATURE_COUNT = 1;
214
193
215
	/**
194
  /**
216
	 * The meta object id for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind <em>Visibility Kind</em>}' enum.
195
   * The meta object id for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind <em>Visibility Kind</em>}' enum.
217
	 * <!-- begin-user-doc -->
196
   * <!-- begin-user-doc -->
218
	 * <!-- end-user-doc -->
197
   * <!-- end-user-doc -->
219
	 * 
198
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind
220
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind
199
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getVisibilityKind()
221
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getVisibilityKind()
200
   * @generated
222
	 * @generated
201
   */
223
	 */
202
  int VISIBILITY_KIND = 4;
224
	int VISIBILITY_KIND = 4;
225
203
226
	/**
204
  /**
227
	 * The meta object id for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction <em>Direction</em>}' enum.
205
   * The meta object id for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction <em>Direction</em>}' enum.
228
	 * <!-- begin-user-doc -->
206
   * <!-- begin-user-doc -->
229
	 * <!-- end-user-doc -->
207
   * <!-- end-user-doc -->
230
	 * 
208
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction
231
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction
209
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getDirection()
232
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getDirection()
210
   * @generated
233
	 * @generated
211
   */
234
	 */
212
  int DIRECTION = 5;
235
	int DIRECTION = 5;
236
213
237
214
238
	/**
215
  /**
239
	 * Returns the meta object for class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName <em>Qualified Name</em>}'.
216
   * Returns the meta object for class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName <em>Qualified Name</em>}'.
240
	 * <!-- begin-user-doc -->
217
   * <!-- begin-user-doc -->
241
	 * <!-- end-user-doc -->
218
   * <!-- end-user-doc -->
242
	 * 
219
   * @return the meta object for class '<em>Qualified Name</em>'.
243
	 * @return the meta object for class '<em>Qualified Name</em>'.
220
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName
244
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName
221
   * @generated
245
	 * @generated
222
   */
246
	 */
223
  EClass getQualifiedName();
247
	EClass getQualifiedName();
248
224
249
	/**
225
  /**
250
	 * Returns the meta object for the reference '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName#getPath <em>Path</em>}'.
226
   * Returns the meta object for the reference '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName#getPath <em>Path</em>}'.
251
	 * <!-- begin-user-doc -->
227
   * <!-- begin-user-doc -->
252
	 * <!-- end-user-doc -->
228
   * <!-- end-user-doc -->
253
	 * 
229
   * @return the meta object for the reference '<em>Path</em>'.
254
	 * @return the meta object for the reference '<em>Path</em>'.
230
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName#getPath()
255
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName#getPath()
231
   * @see #getQualifiedName()
256
	 * @see #getQualifiedName()
232
   * @generated
257
	 * @generated
233
   */
258
	 */
234
  EReference getQualifiedName_Path();
259
	EReference getQualifiedName_Path();
260
235
261
	/**
236
  /**
262
	 * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName#getRemaining
237
   * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName#getRemaining <em>Remaining</em>}'.
263
	 * <em>Remaining</em>}'.
238
   * <!-- begin-user-doc -->
264
	 * <!-- begin-user-doc -->
239
   * <!-- end-user-doc -->
265
	 * <!-- end-user-doc -->
240
   * @return the meta object for the containment reference '<em>Remaining</em>'.
266
	 * 
241
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName#getRemaining()
267
	 * @return the meta object for the containment reference '<em>Remaining</em>'.
242
   * @see #getQualifiedName()
268
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName#getRemaining()
243
   * @generated
269
	 * @see #getQualifiedName()
244
   */
270
	 * @generated
245
  EReference getQualifiedName_Remaining();
271
	 */
272
	EReference getQualifiedName_Remaining();
273
246
274
	/**
247
  /**
275
	 * Returns the meta object for class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule <em>Type Rule</em>}'.
248
   * Returns the meta object for class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule <em>Type Rule</em>}'.
276
	 * <!-- begin-user-doc -->
249
   * <!-- begin-user-doc -->
277
	 * <!-- end-user-doc -->
250
   * <!-- end-user-doc -->
278
	 * 
251
   * @return the meta object for class '<em>Type Rule</em>'.
279
	 * @return the meta object for class '<em>Type Rule</em>'.
252
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule
280
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule
253
   * @generated
281
	 * @generated
254
   */
282
	 */
255
  EClass getTypeRule();
283
	EClass getTypeRule();
284
256
285
	/**
257
  /**
286
	 * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule#getPath <em>Path</em>}
258
   * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule#getPath <em>Path</em>}'.
287
	 * '.
259
   * <!-- begin-user-doc -->
288
	 * <!-- begin-user-doc -->
260
   * <!-- end-user-doc -->
289
	 * <!-- end-user-doc -->
261
   * @return the meta object for the containment reference '<em>Path</em>'.
290
	 * 
262
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule#getPath()
291
	 * @return the meta object for the containment reference '<em>Path</em>'.
263
   * @see #getTypeRule()
292
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule#getPath()
264
   * @generated
293
	 * @see #getTypeRule()
265
   */
294
	 * @generated
266
  EReference getTypeRule_Path();
295
	 */
296
	EReference getTypeRule_Path();
297
267
298
	/**
268
  /**
299
	 * Returns the meta object for the reference '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule#getType <em>Type</em>}'.
269
   * Returns the meta object for the reference '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule#getType <em>Type</em>}'.
300
	 * <!-- begin-user-doc -->
270
   * <!-- begin-user-doc -->
301
	 * <!-- end-user-doc -->
271
   * <!-- end-user-doc -->
302
	 * 
272
   * @return the meta object for the reference '<em>Type</em>'.
303
	 * @return the meta object for the reference '<em>Type</em>'.
273
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule#getType()
304
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule#getType()
274
   * @see #getTypeRule()
305
	 * @see #getTypeRule()
275
   * @generated
306
	 * @generated
276
   */
307
	 */
277
  EReference getTypeRule_Type();
308
	EReference getTypeRule_Type();
309
278
310
	/**
279
  /**
311
	 * Returns the meta object for class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule <em>Multiplicity Rule</em>}'.
280
   * Returns the meta object for class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule <em>Multiplicity Rule</em>}'.
312
	 * <!-- begin-user-doc -->
281
   * <!-- begin-user-doc -->
313
	 * <!-- end-user-doc -->
282
   * <!-- end-user-doc -->
314
	 * 
283
   * @return the meta object for class '<em>Multiplicity Rule</em>'.
315
	 * @return the meta object for class '<em>Multiplicity Rule</em>'.
284
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule
316
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule
285
   * @generated
317
	 * @generated
286
   */
318
	 */
287
  EClass getMultiplicityRule();
319
	EClass getMultiplicityRule();
320
288
321
	/**
289
  /**
322
	 * Returns the meta object for the containment reference list '
290
   * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule#getBounds <em>Bounds</em>}'.
323
	 * {@link org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule#getBounds <em>Bounds</em>}'.
291
   * <!-- begin-user-doc -->
324
	 * <!-- begin-user-doc -->
292
   * <!-- end-user-doc -->
325
	 * <!-- end-user-doc -->
293
   * @return the meta object for the containment reference list '<em>Bounds</em>'.
326
	 * 
294
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule#getBounds()
327
	 * @return the meta object for the containment reference list '<em>Bounds</em>'.
295
   * @see #getMultiplicityRule()
328
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule#getBounds()
296
   * @generated
329
	 * @see #getMultiplicityRule()
297
   */
330
	 * @generated
298
  EReference getMultiplicityRule_Bounds();
331
	 */
332
	EReference getMultiplicityRule_Bounds();
333
299
334
	/**
300
  /**
335
	 * Returns the meta object for class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification <em>Bound Specification</em>}'.
301
   * Returns the meta object for class '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification <em>Bound Specification</em>}'.
336
	 * <!-- begin-user-doc -->
302
   * <!-- begin-user-doc -->
337
	 * <!-- end-user-doc -->
303
   * <!-- end-user-doc -->
338
	 * 
304
   * @return the meta object for class '<em>Bound Specification</em>'.
339
	 * @return the meta object for class '<em>Bound Specification</em>'.
305
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification
340
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification
306
   * @generated
341
	 * @generated
307
   */
342
	 */
308
  EClass getBoundSpecification();
343
	EClass getBoundSpecification();
344
309
345
	/**
310
  /**
346
	 * Returns the meta object for the attribute '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification#getValue <em>Value</em>}
311
   * Returns the meta object for the attribute '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification#getValue <em>Value</em>}'.
347
	 * '.
312
   * <!-- begin-user-doc -->
348
	 * <!-- begin-user-doc -->
313
   * <!-- end-user-doc -->
349
	 * <!-- end-user-doc -->
314
   * @return the meta object for the attribute '<em>Value</em>'.
350
	 * 
315
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification#getValue()
351
	 * @return the meta object for the attribute '<em>Value</em>'.
316
   * @see #getBoundSpecification()
352
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification#getValue()
317
   * @generated
353
	 * @see #getBoundSpecification()
318
   */
354
	 * @generated
319
  EAttribute getBoundSpecification_Value();
355
	 */
356
	EAttribute getBoundSpecification_Value();
357
320
358
	/**
321
  /**
359
	 * Returns the meta object for enum '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind <em>Visibility Kind</em>}'.
322
   * Returns the meta object for enum '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind <em>Visibility Kind</em>}'.
360
	 * <!-- begin-user-doc -->
323
   * <!-- begin-user-doc -->
361
	 * <!-- end-user-doc -->
324
   * <!-- end-user-doc -->
362
	 * 
325
   * @return the meta object for enum '<em>Visibility Kind</em>'.
363
	 * @return the meta object for enum '<em>Visibility Kind</em>'.
326
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind
364
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind
327
   * @generated
365
	 * @generated
328
   */
366
	 */
329
  EEnum getVisibilityKind();
367
	EEnum getVisibilityKind();
368
330
369
	/**
331
  /**
370
	 * Returns the meta object for enum '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction <em>Direction</em>}'.
332
   * Returns the meta object for enum '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction <em>Direction</em>}'.
371
	 * <!-- begin-user-doc -->
333
   * <!-- begin-user-doc -->
372
	 * <!-- end-user-doc -->
334
   * <!-- end-user-doc -->
373
	 * 
335
   * @return the meta object for enum '<em>Direction</em>'.
374
	 * @return the meta object for enum '<em>Direction</em>'.
336
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction
375
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction
337
   * @generated
376
	 * @generated
338
   */
377
	 */
339
  EEnum getDirection();
378
	EEnum getDirection();
379
340
380
	/**
341
  /**
381
	 * Returns the factory that creates the instances of the model.
342
   * Returns the factory that creates the instances of the model.
382
	 * <!-- begin-user-doc -->
343
   * <!-- begin-user-doc -->
383
	 * <!-- end-user-doc -->
344
   * <!-- end-user-doc -->
384
	 * 
345
   * @return the factory that creates the instances of the model.
385
	 * @return the factory that creates the instances of the model.
346
   * @generated
386
	 * @generated
347
   */
387
	 */
348
  UmlCommonFactory getUmlCommonFactory();
388
	UmlCommonFactory getUmlCommonFactory();
389
349
390
	/**
350
  /**
391
	 * <!-- begin-user-doc -->
351
   * <!-- begin-user-doc -->
392
	 * Defines literals for the meta objects that represent
352
   * Defines literals for the meta objects that represent
393
	 * <ul>
353
   * <ul>
394
	 * <li>each class,</li>
354
   *   <li>each class,</li>
395
	 * <li>each feature of each class,</li>
355
   *   <li>each feature of each class,</li>
396
	 * <li>each enum,</li>
356
   *   <li>each enum,</li>
397
	 * <li>and each data type</li>
357
   *   <li>and each data type</li>
398
	 * </ul>
358
   * </ul>
399
	 * <!-- end-user-doc -->
359
   * <!-- end-user-doc -->
400
	 * 
360
   * @generated
401
	 * @generated
361
   */
402
	 */
362
  interface Literals
403
	interface Literals {
363
  {
364
    /**
365
     * The meta object literal for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.QualifiedNameImpl <em>Qualified Name</em>}' class.
366
     * <!-- begin-user-doc -->
367
     * <!-- end-user-doc -->
368
     * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.QualifiedNameImpl
369
     * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getQualifiedName()
370
     * @generated
371
     */
372
    EClass QUALIFIED_NAME = eINSTANCE.getQualifiedName();
404
373
405
		/**
374
    /**
406
		 * The meta object literal for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.QualifiedNameImpl <em>Qualified Name</em>}'
375
     * The meta object literal for the '<em><b>Path</b></em>' reference feature.
407
		 * class.
376
     * <!-- begin-user-doc -->
408
		 * <!-- begin-user-doc -->
377
     * <!-- end-user-doc -->
409
		 * <!-- end-user-doc -->
378
     * @generated
410
		 * 
379
     */
411
		 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.QualifiedNameImpl
380
    EReference QUALIFIED_NAME__PATH = eINSTANCE.getQualifiedName_Path();
412
		 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getQualifiedName()
413
		 * @generated
414
		 */
415
		EClass QUALIFIED_NAME = eINSTANCE.getQualifiedName();
416
381
417
		/**
382
    /**
418
		 * The meta object literal for the '<em><b>Path</b></em>' reference feature.
383
     * The meta object literal for the '<em><b>Remaining</b></em>' containment reference feature.
419
		 * <!-- begin-user-doc -->
384
     * <!-- begin-user-doc -->
420
		 * <!-- end-user-doc -->
385
     * <!-- end-user-doc -->
421
		 * 
386
     * @generated
422
		 * @generated
387
     */
423
		 */
388
    EReference QUALIFIED_NAME__REMAINING = eINSTANCE.getQualifiedName_Remaining();
424
		EReference QUALIFIED_NAME__PATH = eINSTANCE.getQualifiedName_Path();
425
389
426
		/**
390
    /**
427
		 * The meta object literal for the '<em><b>Remaining</b></em>' containment reference feature.
391
     * The meta object literal for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.TypeRuleImpl <em>Type Rule</em>}' class.
428
		 * <!-- begin-user-doc -->
392
     * <!-- begin-user-doc -->
429
		 * <!-- end-user-doc -->
393
     * <!-- end-user-doc -->
430
		 * 
394
     * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.TypeRuleImpl
431
		 * @generated
395
     * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getTypeRule()
432
		 */
396
     * @generated
433
		EReference QUALIFIED_NAME__REMAINING = eINSTANCE.getQualifiedName_Remaining();
397
     */
398
    EClass TYPE_RULE = eINSTANCE.getTypeRule();
434
399
435
		/**
400
    /**
436
		 * The meta object literal for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.TypeRuleImpl <em>Type Rule</em>}' class.
401
     * The meta object literal for the '<em><b>Path</b></em>' containment reference feature.
437
		 * <!-- begin-user-doc -->
402
     * <!-- begin-user-doc -->
438
		 * <!-- end-user-doc -->
403
     * <!-- end-user-doc -->
439
		 * 
404
     * @generated
440
		 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.TypeRuleImpl
405
     */
441
		 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getTypeRule()
406
    EReference TYPE_RULE__PATH = eINSTANCE.getTypeRule_Path();
442
		 * @generated
443
		 */
444
		EClass TYPE_RULE = eINSTANCE.getTypeRule();
445
407
446
		/**
408
    /**
447
		 * The meta object literal for the '<em><b>Path</b></em>' containment reference feature.
409
     * The meta object literal for the '<em><b>Type</b></em>' reference feature.
448
		 * <!-- begin-user-doc -->
410
     * <!-- begin-user-doc -->
449
		 * <!-- end-user-doc -->
411
     * <!-- end-user-doc -->
450
		 * 
412
     * @generated
451
		 * @generated
413
     */
452
		 */
414
    EReference TYPE_RULE__TYPE = eINSTANCE.getTypeRule_Type();
453
		EReference TYPE_RULE__PATH = eINSTANCE.getTypeRule_Path();
454
415
455
		/**
416
    /**
456
		 * The meta object literal for the '<em><b>Type</b></em>' reference feature.
417
     * The meta object literal for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.MultiplicityRuleImpl <em>Multiplicity Rule</em>}' class.
457
		 * <!-- begin-user-doc -->
418
     * <!-- begin-user-doc -->
458
		 * <!-- end-user-doc -->
419
     * <!-- end-user-doc -->
459
		 * 
420
     * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.MultiplicityRuleImpl
460
		 * @generated
421
     * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getMultiplicityRule()
461
		 */
422
     * @generated
462
		EReference TYPE_RULE__TYPE = eINSTANCE.getTypeRule_Type();
423
     */
424
    EClass MULTIPLICITY_RULE = eINSTANCE.getMultiplicityRule();
463
425
464
		/**
426
    /**
465
		 * The meta object literal for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.MultiplicityRuleImpl
427
     * The meta object literal for the '<em><b>Bounds</b></em>' containment reference list feature.
466
		 * <em>Multiplicity Rule</em>}' class.
428
     * <!-- begin-user-doc -->
467
		 * <!-- begin-user-doc -->
429
     * <!-- end-user-doc -->
468
		 * <!-- end-user-doc -->
430
     * @generated
469
		 * 
431
     */
470
		 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.MultiplicityRuleImpl
432
    EReference MULTIPLICITY_RULE__BOUNDS = eINSTANCE.getMultiplicityRule_Bounds();
471
		 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getMultiplicityRule()
472
		 * @generated
473
		 */
474
		EClass MULTIPLICITY_RULE = eINSTANCE.getMultiplicityRule();
475
433
476
		/**
434
    /**
477
		 * The meta object literal for the '<em><b>Bounds</b></em>' containment reference list feature.
435
     * The meta object literal for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.BoundSpecificationImpl <em>Bound Specification</em>}' class.
478
		 * <!-- begin-user-doc -->
436
     * <!-- begin-user-doc -->
479
		 * <!-- end-user-doc -->
437
     * <!-- end-user-doc -->
480
		 * 
438
     * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.BoundSpecificationImpl
481
		 * @generated
439
     * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getBoundSpecification()
482
		 */
440
     * @generated
483
		EReference MULTIPLICITY_RULE__BOUNDS = eINSTANCE.getMultiplicityRule_Bounds();
441
     */
442
    EClass BOUND_SPECIFICATION = eINSTANCE.getBoundSpecification();
484
443
485
		/**
444
    /**
486
		 * The meta object literal for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.BoundSpecificationImpl
445
     * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
487
		 * <em>Bound Specification</em>}' class.
446
     * <!-- begin-user-doc -->
488
		 * <!-- begin-user-doc -->
447
     * <!-- end-user-doc -->
489
		 * <!-- end-user-doc -->
448
     * @generated
490
		 * 
449
     */
491
		 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.BoundSpecificationImpl
450
    EAttribute BOUND_SPECIFICATION__VALUE = eINSTANCE.getBoundSpecification_Value();
492
		 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getBoundSpecification()
493
		 * @generated
494
		 */
495
		EClass BOUND_SPECIFICATION = eINSTANCE.getBoundSpecification();
496
451
497
		/**
452
    /**
498
		 * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
453
     * The meta object literal for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind <em>Visibility Kind</em>}' enum.
499
		 * <!-- begin-user-doc -->
454
     * <!-- begin-user-doc -->
500
		 * <!-- end-user-doc -->
455
     * <!-- end-user-doc -->
501
		 * 
456
     * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind
502
		 * @generated
457
     * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getVisibilityKind()
503
		 */
458
     * @generated
504
		EAttribute BOUND_SPECIFICATION__VALUE = eINSTANCE.getBoundSpecification_Value();
459
     */
460
    EEnum VISIBILITY_KIND = eINSTANCE.getVisibilityKind();
505
461
506
		/**
462
    /**
507
		 * The meta object literal for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind <em>Visibility Kind</em>}' enum.
463
     * The meta object literal for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction <em>Direction</em>}' enum.
508
		 * <!-- begin-user-doc -->
464
     * <!-- begin-user-doc -->
509
		 * <!-- end-user-doc -->
465
     * <!-- end-user-doc -->
510
		 * 
466
     * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction
511
		 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind
467
     * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getDirection()
512
		 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getVisibilityKind()
468
     * @generated
513
		 * @generated
469
     */
514
		 */
470
    EEnum DIRECTION = eINSTANCE.getDirection();
515
		EEnum VISIBILITY_KIND = eINSTANCE.getVisibilityKind();
516
471
517
		/**
472
  }
518
		 * The meta object literal for the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction <em>Direction</em>}' enum.
519
		 * <!-- begin-user-doc -->
520
		 * <!-- end-user-doc -->
521
		 * 
522
		 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction
523
		 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonPackageImpl#getDirection()
524
		 * @generated
525
		 */
526
		EEnum DIRECTION = eINSTANCE.getDirection();
527
528
	}
529
473
530
} //UmlCommonPackage
474
} //UmlCommonPackage
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/impl/BoundSpecificationImpl.java (-138 / +142 lines)
Lines 7-15 Link Here
7
package org.eclipse.papyrus.common.editor.xtext.umlCommon.impl;
7
package org.eclipse.papyrus.common.editor.xtext.umlCommon.impl;
8
8
9
import org.eclipse.emf.common.notify.Notification;
9
import org.eclipse.emf.common.notify.Notification;
10
10
import org.eclipse.emf.ecore.EClass;
11
import org.eclipse.emf.ecore.EClass;
12
11
import org.eclipse.emf.ecore.impl.ENotificationImpl;
13
import org.eclipse.emf.ecore.impl.ENotificationImpl;
12
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
14
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
15
13
import org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification;
16
import org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification;
14
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
17
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
15
18
Lines 20-177 Link Here
20
 * <p>
23
 * <p>
21
 * The following features are implemented:
24
 * The following features are implemented:
22
 * <ul>
25
 * <ul>
23
 * <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.BoundSpecificationImpl#getValue <em>Value</em>}</li>
26
 *   <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.BoundSpecificationImpl#getValue <em>Value</em>}</li>
24
 * </ul>
27
 * </ul>
25
 * </p>
28
 * </p>
26
 * 
29
 *
27
 * @generated
30
 * @generated
28
 */
31
 */
29
public class BoundSpecificationImpl extends MinimalEObjectImpl.Container implements BoundSpecification {
32
public class BoundSpecificationImpl extends MinimalEObjectImpl.Container implements BoundSpecification
33
{
34
  /**
35
   * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
36
   * <!-- begin-user-doc -->
37
   * <!-- end-user-doc -->
38
   * @see #getValue()
39
   * @generated
40
   * @ordered
41
   */
42
  protected static final String VALUE_EDEFAULT = null;
30
43
31
	/**
44
  /**
32
	 * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
45
   * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
33
	 * <!-- begin-user-doc -->
46
   * <!-- begin-user-doc -->
34
	 * <!-- end-user-doc -->
47
   * <!-- end-user-doc -->
35
	 * 
48
   * @see #getValue()
36
	 * @see #getValue()
49
   * @generated
37
	 * @generated
50
   * @ordered
38
	 * @ordered
51
   */
39
	 */
52
  protected String value = VALUE_EDEFAULT;
40
	protected static final String VALUE_EDEFAULT = null;
41
53
42
	/**
54
  /**
43
	 * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
55
   * <!-- begin-user-doc -->
44
	 * <!-- begin-user-doc -->
56
   * <!-- end-user-doc -->
45
	 * <!-- end-user-doc -->
57
   * @generated
46
	 * 
58
   */
47
	 * @see #getValue()
59
  protected BoundSpecificationImpl()
48
	 * @generated
60
  {
49
	 * @ordered
61
    super();
50
	 */
62
  }
51
	protected String value = VALUE_EDEFAULT;
52
63
53
	/**
64
  /**
54
	 * <!-- begin-user-doc -->
65
   * <!-- begin-user-doc -->
55
	 * <!-- end-user-doc -->
66
   * <!-- end-user-doc -->
56
	 * 
67
   * @generated
57
	 * @generated
68
   */
58
	 */
69
  @Override
59
	protected BoundSpecificationImpl() {
70
  protected EClass eStaticClass()
60
		super();
71
  {
61
	}
72
    return UmlCommonPackage.Literals.BOUND_SPECIFICATION;
73
  }
62
74
63
	/**
75
  /**
64
	 * <!-- begin-user-doc -->
76
   * <!-- begin-user-doc -->
65
	 * <!-- end-user-doc -->
77
   * <!-- end-user-doc -->
66
	 * 
78
   * @generated
67
	 * @generated
79
   */
68
	 */
80
  public String getValue()
69
	@Override
81
  {
70
	protected EClass eStaticClass() {
82
    return value;
71
		return UmlCommonPackage.Literals.BOUND_SPECIFICATION;
83
  }
72
	}
73
84
74
	/**
85
  /**
75
	 * <!-- begin-user-doc -->
86
   * <!-- begin-user-doc -->
76
	 * <!-- end-user-doc -->
87
   * <!-- end-user-doc -->
77
	 * 
88
   * @generated
78
	 * @generated
89
   */
79
	 */
90
  public void setValue(String newValue)
80
	public String getValue() {
91
  {
81
		return value;
92
    String oldValue = value;
82
	}
93
    value = newValue;
94
    if (eNotificationRequired())
95
      eNotify(new ENotificationImpl(this, Notification.SET, UmlCommonPackage.BOUND_SPECIFICATION__VALUE, oldValue, value));
96
  }
83
97
84
	/**
98
  /**
85
	 * <!-- begin-user-doc -->
99
   * <!-- begin-user-doc -->
86
	 * <!-- end-user-doc -->
100
   * <!-- end-user-doc -->
87
	 * 
101
   * @generated
88
	 * @generated
102
   */
89
	 */
103
  @Override
90
	public void setValue(String newValue) {
104
  public Object eGet(int featureID, boolean resolve, boolean coreType)
91
		String oldValue = value;
105
  {
92
		value = newValue;
106
    switch (featureID)
93
		if(eNotificationRequired())
107
    {
94
			eNotify(new ENotificationImpl(this, Notification.SET, UmlCommonPackage.BOUND_SPECIFICATION__VALUE, oldValue, value));
108
      case UmlCommonPackage.BOUND_SPECIFICATION__VALUE:
95
	}
109
        return getValue();
110
    }
111
    return super.eGet(featureID, resolve, coreType);
112
  }
96
113
97
	/**
114
  /**
98
	 * <!-- begin-user-doc -->
115
   * <!-- begin-user-doc -->
99
	 * <!-- end-user-doc -->
116
   * <!-- end-user-doc -->
100
	 * 
117
   * @generated
101
	 * @generated
118
   */
102
	 */
119
  @Override
103
	@Override
120
  public void eSet(int featureID, Object newValue)
104
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
121
  {
105
		switch(featureID) {
122
    switch (featureID)
106
		case UmlCommonPackage.BOUND_SPECIFICATION__VALUE:
123
    {
107
			return getValue();
124
      case UmlCommonPackage.BOUND_SPECIFICATION__VALUE:
108
		}
125
        setValue((String)newValue);
109
		return super.eGet(featureID, resolve, coreType);
126
        return;
110
	}
127
    }
128
    super.eSet(featureID, newValue);
129
  }
111
130
112
	/**
131
  /**
113
	 * <!-- begin-user-doc -->
132
   * <!-- begin-user-doc -->
114
	 * <!-- end-user-doc -->
133
   * <!-- end-user-doc -->
115
	 * 
134
   * @generated
116
	 * @generated
135
   */
117
	 */
136
  @Override
118
	@Override
137
  public void eUnset(int featureID)
119
	public void eSet(int featureID, Object newValue) {
138
  {
120
		switch(featureID) {
139
    switch (featureID)
121
		case UmlCommonPackage.BOUND_SPECIFICATION__VALUE:
140
    {
122
			setValue((String)newValue);
141
      case UmlCommonPackage.BOUND_SPECIFICATION__VALUE:
123
			return;
142
        setValue(VALUE_EDEFAULT);
124
		}
143
        return;
125
		super.eSet(featureID, newValue);
144
    }
126
	}
145
    super.eUnset(featureID);
146
  }
127
147
128
	/**
148
  /**
129
	 * <!-- begin-user-doc -->
149
   * <!-- begin-user-doc -->
130
	 * <!-- end-user-doc -->
150
   * <!-- end-user-doc -->
131
	 * 
151
   * @generated
132
	 * @generated
152
   */
133
	 */
153
  @Override
134
	@Override
154
  public boolean eIsSet(int featureID)
135
	public void eUnset(int featureID) {
155
  {
136
		switch(featureID) {
156
    switch (featureID)
137
		case UmlCommonPackage.BOUND_SPECIFICATION__VALUE:
157
    {
138
			setValue(VALUE_EDEFAULT);
158
      case UmlCommonPackage.BOUND_SPECIFICATION__VALUE:
139
			return;
159
        return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
140
		}
160
    }
141
		super.eUnset(featureID);
161
    return super.eIsSet(featureID);
142
	}
162
  }
143
163
144
	/**
164
  /**
145
	 * <!-- begin-user-doc -->
165
   * <!-- begin-user-doc -->
146
	 * <!-- end-user-doc -->
166
   * <!-- end-user-doc -->
147
	 * 
167
   * @generated
148
	 * @generated
168
   */
149
	 */
169
  @Override
150
	@Override
170
  public String toString()
151
	public boolean eIsSet(int featureID) {
171
  {
152
		switch(featureID) {
172
    if (eIsProxy()) return super.toString();
153
		case UmlCommonPackage.BOUND_SPECIFICATION__VALUE:
154
			return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
155
		}
156
		return super.eIsSet(featureID);
157
	}
158
173
159
	/**
174
    StringBuffer result = new StringBuffer(super.toString());
160
	 * <!-- begin-user-doc -->
175
    result.append(" (value: ");
161
	 * <!-- end-user-doc -->
176
    result.append(value);
162
	 * 
177
    result.append(')');
163
	 * @generated
178
    return result.toString();
164
	 */
179
  }
165
	@Override
166
	public String toString() {
167
		if(eIsProxy())
168
			return super.toString();
169
170
		StringBuffer result = new StringBuffer(super.toString());
171
		result.append(" (value: ");
172
		result.append(value);
173
		result.append(')');
174
		return result.toString();
175
	}
176
180
177
} //BoundSpecificationImpl
181
} //BoundSpecificationImpl
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/impl/MultiplicityRuleImpl.java (-119 / +129 lines)
Lines 9-20 Link Here
9
import java.util.Collection;
9
import java.util.Collection;
10
10
11
import org.eclipse.emf.common.notify.NotificationChain;
11
import org.eclipse.emf.common.notify.NotificationChain;
12
12
import org.eclipse.emf.common.util.EList;
13
import org.eclipse.emf.common.util.EList;
14
13
import org.eclipse.emf.ecore.EClass;
15
import org.eclipse.emf.ecore.EClass;
14
import org.eclipse.emf.ecore.InternalEObject;
16
import org.eclipse.emf.ecore.InternalEObject;
17
15
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
18
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
19
16
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
20
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
17
import org.eclipse.emf.ecore.util.InternalEList;
21
import org.eclipse.emf.ecore.util.InternalEList;
22
18
import org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification;
23
import org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification;
19
import org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule;
24
import org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule;
20
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
25
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
Lines 26-161 Link Here
26
 * <p>
31
 * <p>
27
 * The following features are implemented:
32
 * The following features are implemented:
28
 * <ul>
33
 * <ul>
29
 * <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.MultiplicityRuleImpl#getBounds <em>Bounds</em>}</li>
34
 *   <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.MultiplicityRuleImpl#getBounds <em>Bounds</em>}</li>
30
 * </ul>
35
 * </ul>
31
 * </p>
36
 * </p>
32
 * 
37
 *
33
 * @generated
38
 * @generated
34
 */
39
 */
35
public class MultiplicityRuleImpl extends MinimalEObjectImpl.Container implements MultiplicityRule {
40
public class MultiplicityRuleImpl extends MinimalEObjectImpl.Container implements MultiplicityRule
41
{
42
  /**
43
   * The cached value of the '{@link #getBounds() <em>Bounds</em>}' containment reference list.
44
   * <!-- begin-user-doc -->
45
   * <!-- end-user-doc -->
46
   * @see #getBounds()
47
   * @generated
48
   * @ordered
49
   */
50
  protected EList<BoundSpecification> bounds;
36
51
37
	/**
52
  /**
38
	 * The cached value of the '{@link #getBounds() <em>Bounds</em>}' containment reference list.
53
   * <!-- begin-user-doc -->
39
	 * <!-- begin-user-doc -->
54
   * <!-- end-user-doc -->
40
	 * <!-- end-user-doc -->
55
   * @generated
41
	 * 
56
   */
42
	 * @see #getBounds()
57
  protected MultiplicityRuleImpl()
43
	 * @generated
58
  {
44
	 * @ordered
59
    super();
45
	 */
60
  }
46
	protected EList<BoundSpecification> bounds;
47
61
48
	/**
62
  /**
49
	 * <!-- begin-user-doc -->
63
   * <!-- begin-user-doc -->
50
	 * <!-- end-user-doc -->
64
   * <!-- end-user-doc -->
51
	 * 
65
   * @generated
52
	 * @generated
66
   */
53
	 */
67
  @Override
54
	protected MultiplicityRuleImpl() {
68
  protected EClass eStaticClass()
55
		super();
69
  {
56
	}
70
    return UmlCommonPackage.Literals.MULTIPLICITY_RULE;
71
  }
57
72
58
	/**
73
  /**
59
	 * <!-- begin-user-doc -->
74
   * <!-- begin-user-doc -->
60
	 * <!-- end-user-doc -->
75
   * <!-- end-user-doc -->
61
	 * 
76
   * @generated
62
	 * @generated
77
   */
63
	 */
78
  public EList<BoundSpecification> getBounds()
64
	@Override
79
  {
65
	protected EClass eStaticClass() {
80
    if (bounds == null)
66
		return UmlCommonPackage.Literals.MULTIPLICITY_RULE;
81
    {
67
	}
82
      bounds = new EObjectContainmentEList<BoundSpecification>(BoundSpecification.class, this, UmlCommonPackage.MULTIPLICITY_RULE__BOUNDS);
83
    }
84
    return bounds;
85
  }
68
86
69
	/**
87
  /**
70
	 * <!-- begin-user-doc -->
88
   * <!-- begin-user-doc -->
71
	 * <!-- end-user-doc -->
89
   * <!-- end-user-doc -->
72
	 * 
90
   * @generated
73
	 * @generated
91
   */
74
	 */
92
  @Override
75
	public EList<BoundSpecification> getBounds() {
93
  public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
76
		if(bounds == null) {
94
  {
77
			bounds = new EObjectContainmentEList<BoundSpecification>(BoundSpecification.class, this, UmlCommonPackage.MULTIPLICITY_RULE__BOUNDS);
95
    switch (featureID)
78
		}
96
    {
79
		return bounds;
97
      case UmlCommonPackage.MULTIPLICITY_RULE__BOUNDS:
80
	}
98
        return ((InternalEList<?>)getBounds()).basicRemove(otherEnd, msgs);
99
    }
100
    return super.eInverseRemove(otherEnd, featureID, msgs);
101
  }
81
102
82
	/**
103
  /**
83
	 * <!-- begin-user-doc -->
104
   * <!-- begin-user-doc -->
84
	 * <!-- end-user-doc -->
105
   * <!-- end-user-doc -->
85
	 * 
106
   * @generated
86
	 * @generated
107
   */
87
	 */
108
  @Override
88
	@Override
109
  public Object eGet(int featureID, boolean resolve, boolean coreType)
89
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
110
  {
90
		switch(featureID) {
111
    switch (featureID)
91
		case UmlCommonPackage.MULTIPLICITY_RULE__BOUNDS:
112
    {
92
			return ((InternalEList<?>)getBounds()).basicRemove(otherEnd, msgs);
113
      case UmlCommonPackage.MULTIPLICITY_RULE__BOUNDS:
93
		}
114
        return getBounds();
94
		return super.eInverseRemove(otherEnd, featureID, msgs);
115
    }
95
	}
116
    return super.eGet(featureID, resolve, coreType);
117
  }
96
118
97
	/**
119
  /**
98
	 * <!-- begin-user-doc -->
120
   * <!-- begin-user-doc -->
99
	 * <!-- end-user-doc -->
121
   * <!-- end-user-doc -->
100
	 * 
122
   * @generated
101
	 * @generated
123
   */
102
	 */
124
  @SuppressWarnings("unchecked")
103
	@Override
125
  @Override
104
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
126
  public void eSet(int featureID, Object newValue)
105
		switch(featureID) {
127
  {
106
		case UmlCommonPackage.MULTIPLICITY_RULE__BOUNDS:
128
    switch (featureID)
107
			return getBounds();
129
    {
108
		}
130
      case UmlCommonPackage.MULTIPLICITY_RULE__BOUNDS:
109
		return super.eGet(featureID, resolve, coreType);
131
        getBounds().clear();
110
	}
132
        getBounds().addAll((Collection<? extends BoundSpecification>)newValue);
133
        return;
134
    }
135
    super.eSet(featureID, newValue);
136
  }
111
137
112
	/**
138
  /**
113
	 * <!-- begin-user-doc -->
139
   * <!-- begin-user-doc -->
114
	 * <!-- end-user-doc -->
140
   * <!-- end-user-doc -->
115
	 * 
141
   * @generated
116
	 * @generated
142
   */
117
	 */
143
  @Override
118
	@SuppressWarnings("unchecked")
144
  public void eUnset(int featureID)
119
	@Override
145
  {
120
	public void eSet(int featureID, Object newValue) {
146
    switch (featureID)
121
		switch(featureID) {
147
    {
122
		case UmlCommonPackage.MULTIPLICITY_RULE__BOUNDS:
148
      case UmlCommonPackage.MULTIPLICITY_RULE__BOUNDS:
123
			getBounds().clear();
149
        getBounds().clear();
124
			getBounds().addAll((Collection<? extends BoundSpecification>)newValue);
150
        return;
125
			return;
151
    }
126
		}
152
    super.eUnset(featureID);
127
		super.eSet(featureID, newValue);
153
  }
128
	}
129
154
130
	/**
155
  /**
131
	 * <!-- begin-user-doc -->
156
   * <!-- begin-user-doc -->
132
	 * <!-- end-user-doc -->
157
   * <!-- end-user-doc -->
133
	 * 
158
   * @generated
134
	 * @generated
159
   */
135
	 */
160
  @Override
136
	@Override
161
  public boolean eIsSet(int featureID)
137
	public void eUnset(int featureID) {
162
  {
138
		switch(featureID) {
163
    switch (featureID)
139
		case UmlCommonPackage.MULTIPLICITY_RULE__BOUNDS:
164
    {
140
			getBounds().clear();
165
      case UmlCommonPackage.MULTIPLICITY_RULE__BOUNDS:
141
			return;
166
        return bounds != null && !bounds.isEmpty();
142
		}
167
    }
143
		super.eUnset(featureID);
168
    return super.eIsSet(featureID);
144
	}
169
  }
145
146
	/**
147
	 * <!-- begin-user-doc -->
148
	 * <!-- end-user-doc -->
149
	 * 
150
	 * @generated
151
	 */
152
	@Override
153
	public boolean eIsSet(int featureID) {
154
		switch(featureID) {
155
		case UmlCommonPackage.MULTIPLICITY_RULE__BOUNDS:
156
			return bounds != null && !bounds.isEmpty();
157
		}
158
		return super.eIsSet(featureID);
159
	}
160
170
161
} //MultiplicityRuleImpl
171
} //MultiplicityRuleImpl
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/impl/TypeRuleImpl.java (-212 / +219 lines)
Lines 8-20 Link Here
8
8
9
import org.eclipse.emf.common.notify.Notification;
9
import org.eclipse.emf.common.notify.Notification;
10
import org.eclipse.emf.common.notify.NotificationChain;
10
import org.eclipse.emf.common.notify.NotificationChain;
11
11
import org.eclipse.emf.ecore.EClass;
12
import org.eclipse.emf.ecore.EClass;
12
import org.eclipse.emf.ecore.InternalEObject;
13
import org.eclipse.emf.ecore.InternalEObject;
14
13
import org.eclipse.emf.ecore.impl.ENotificationImpl;
15
import org.eclipse.emf.ecore.impl.ENotificationImpl;
14
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
16
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
17
15
import org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName;
18
import org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName;
16
import org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule;
19
import org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule;
17
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
20
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
21
18
import org.eclipse.uml2.uml.Type;
22
import org.eclipse.uml2.uml.Type;
19
23
20
/**
24
/**
Lines 24-258 Link Here
24
 * <p>
28
 * <p>
25
 * The following features are implemented:
29
 * The following features are implemented:
26
 * <ul>
30
 * <ul>
27
 * <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.TypeRuleImpl#getPath <em>Path</em>}</li>
31
 *   <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.TypeRuleImpl#getPath <em>Path</em>}</li>
28
 * <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.TypeRuleImpl#getType <em>Type</em>}</li>
32
 *   <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.TypeRuleImpl#getType <em>Type</em>}</li>
29
 * </ul>
33
 * </ul>
30
 * </p>
34
 * </p>
31
 * 
35
 *
32
 * @generated
36
 * @generated
33
 */
37
 */
34
public class TypeRuleImpl extends MinimalEObjectImpl.Container implements TypeRule {
38
public class TypeRuleImpl extends MinimalEObjectImpl.Container implements TypeRule
39
{
40
  /**
41
   * The cached value of the '{@link #getPath() <em>Path</em>}' containment reference.
42
   * <!-- begin-user-doc -->
43
   * <!-- end-user-doc -->
44
   * @see #getPath()
45
   * @generated
46
   * @ordered
47
   */
48
  protected QualifiedName path;
35
49
36
	/**
50
  /**
37
	 * The cached value of the '{@link #getPath() <em>Path</em>}' containment reference.
51
   * The cached value of the '{@link #getType() <em>Type</em>}' reference.
38
	 * <!-- begin-user-doc -->
52
   * <!-- begin-user-doc -->
39
	 * <!-- end-user-doc -->
53
   * <!-- end-user-doc -->
40
	 * 
54
   * @see #getType()
41
	 * @see #getPath()
55
   * @generated
42
	 * @generated
56
   * @ordered
43
	 * @ordered
57
   */
44
	 */
58
  protected Type type;
45
	protected QualifiedName path;
46
59
47
	/**
60
  /**
48
	 * The cached value of the '{@link #getType() <em>Type</em>}' reference.
61
   * <!-- begin-user-doc -->
49
	 * <!-- begin-user-doc -->
62
   * <!-- end-user-doc -->
50
	 * <!-- end-user-doc -->
63
   * @generated
51
	 * 
64
   */
52
	 * @see #getType()
65
  protected TypeRuleImpl()
53
	 * @generated
66
  {
54
	 * @ordered
67
    super();
55
	 */
68
  }
56
	protected Type type;
57
69
58
	/**
70
  /**
59
	 * <!-- begin-user-doc -->
71
   * <!-- begin-user-doc -->
60
	 * <!-- end-user-doc -->
72
   * <!-- end-user-doc -->
61
	 * 
73
   * @generated
62
	 * @generated
74
   */
63
	 */
75
  @Override
64
	protected TypeRuleImpl() {
76
  protected EClass eStaticClass()
65
		super();
77
  {
66
	}
78
    return UmlCommonPackage.Literals.TYPE_RULE;
79
  }
67
80
68
	/**
81
  /**
69
	 * <!-- begin-user-doc -->
82
   * <!-- begin-user-doc -->
70
	 * <!-- end-user-doc -->
83
   * <!-- end-user-doc -->
71
	 * 
84
   * @generated
72
	 * @generated
85
   */
73
	 */
86
  public QualifiedName getPath()
74
	@Override
87
  {
75
	protected EClass eStaticClass() {
88
    return path;
76
		return UmlCommonPackage.Literals.TYPE_RULE;
89
  }
77
	}
78
90
79
	/**
91
  /**
80
	 * <!-- begin-user-doc -->
92
   * <!-- begin-user-doc -->
81
	 * <!-- end-user-doc -->
93
   * <!-- end-user-doc -->
82
	 * 
94
   * @generated
83
	 * @generated
95
   */
84
	 */
96
  public NotificationChain basicSetPath(QualifiedName newPath, NotificationChain msgs)
85
	public QualifiedName getPath() {
97
  {
86
		return path;
98
    QualifiedName oldPath = path;
87
	}
99
    path = newPath;
100
    if (eNotificationRequired())
101
    {
102
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlCommonPackage.TYPE_RULE__PATH, oldPath, newPath);
103
      if (msgs == null) msgs = notification; else msgs.add(notification);
104
    }
105
    return msgs;
106
  }
88
107
89
	/**
108
  /**
90
	 * <!-- begin-user-doc -->
109
   * <!-- begin-user-doc -->
91
	 * <!-- end-user-doc -->
110
   * <!-- end-user-doc -->
92
	 * 
111
   * @generated
93
	 * @generated
112
   */
94
	 */
113
  public void setPath(QualifiedName newPath)
95
	public NotificationChain basicSetPath(QualifiedName newPath, NotificationChain msgs) {
114
  {
96
		QualifiedName oldPath = path;
115
    if (newPath != path)
97
		path = newPath;
116
    {
98
		if(eNotificationRequired()) {
117
      NotificationChain msgs = null;
99
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlCommonPackage.TYPE_RULE__PATH, oldPath, newPath);
118
      if (path != null)
100
			if(msgs == null)
119
        msgs = ((InternalEObject)path).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlCommonPackage.TYPE_RULE__PATH, null, msgs);
101
				msgs = notification;
120
      if (newPath != null)
102
			else
121
        msgs = ((InternalEObject)newPath).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlCommonPackage.TYPE_RULE__PATH, null, msgs);
103
				msgs.add(notification);
122
      msgs = basicSetPath(newPath, msgs);
104
		}
123
      if (msgs != null) msgs.dispatch();
105
		return msgs;
124
    }
106
	}
125
    else if (eNotificationRequired())
126
      eNotify(new ENotificationImpl(this, Notification.SET, UmlCommonPackage.TYPE_RULE__PATH, newPath, newPath));
127
  }
107
128
108
	/**
129
  /**
109
	 * <!-- begin-user-doc -->
130
   * <!-- begin-user-doc -->
110
	 * <!-- end-user-doc -->
131
   * <!-- end-user-doc -->
111
	 * 
132
   * @generated
112
	 * @generated
133
   */
113
	 */
134
  public Type getType()
114
	public void setPath(QualifiedName newPath) {
135
  {
115
		if(newPath != path) {
136
    if (type != null && type.eIsProxy())
116
			NotificationChain msgs = null;
137
    {
117
			if(path != null)
138
      InternalEObject oldType = (InternalEObject)type;
118
				msgs = ((InternalEObject)path).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlCommonPackage.TYPE_RULE__PATH, null, msgs);
139
      type = (Type)eResolveProxy(oldType);
119
			if(newPath != null)
140
      if (type != oldType)
120
				msgs = ((InternalEObject)newPath).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlCommonPackage.TYPE_RULE__PATH, null, msgs);
141
      {
121
			msgs = basicSetPath(newPath, msgs);
142
        if (eNotificationRequired())
122
			if(msgs != null)
143
          eNotify(new ENotificationImpl(this, Notification.RESOLVE, UmlCommonPackage.TYPE_RULE__TYPE, oldType, type));
123
				msgs.dispatch();
144
      }
124
		} else if(eNotificationRequired())
145
    }
125
			eNotify(new ENotificationImpl(this, Notification.SET, UmlCommonPackage.TYPE_RULE__PATH, newPath, newPath));
146
    return type;
126
	}
147
  }
127
148
128
	/**
149
  /**
129
	 * <!-- begin-user-doc -->
150
   * <!-- begin-user-doc -->
130
	 * <!-- end-user-doc -->
151
   * <!-- end-user-doc -->
131
	 * 
152
   * @generated
132
	 * @generated
153
   */
133
	 */
154
  public Type basicGetType()
134
	public Type getType() {
155
  {
135
		if(type != null && type.eIsProxy()) {
156
    return type;
136
			InternalEObject oldType = (InternalEObject)type;
157
  }
137
			type = (Type)eResolveProxy(oldType);
138
			if(type != oldType) {
139
				if(eNotificationRequired())
140
					eNotify(new ENotificationImpl(this, Notification.RESOLVE, UmlCommonPackage.TYPE_RULE__TYPE, oldType, type));
141
			}
142
		}
143
		return type;
144
	}
145
158
146
	/**
159
  /**
147
	 * <!-- begin-user-doc -->
160
   * <!-- begin-user-doc -->
148
	 * <!-- end-user-doc -->
161
   * <!-- end-user-doc -->
149
	 * 
162
   * @generated
150
	 * @generated
163
   */
151
	 */
164
  public void setType(Type newType)
152
	public Type basicGetType() {
165
  {
153
		return type;
166
    Type oldType = type;
154
	}
167
    type = newType;
168
    if (eNotificationRequired())
169
      eNotify(new ENotificationImpl(this, Notification.SET, UmlCommonPackage.TYPE_RULE__TYPE, oldType, type));
170
  }
155
171
156
	/**
172
  /**
157
	 * <!-- begin-user-doc -->
173
   * <!-- begin-user-doc -->
158
	 * <!-- end-user-doc -->
174
   * <!-- end-user-doc -->
159
	 * 
175
   * @generated
160
	 * @generated
176
   */
161
	 */
177
  @Override
162
	public void setType(Type newType) {
178
  public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
163
		Type oldType = type;
179
  {
164
		type = newType;
180
    switch (featureID)
165
		if(eNotificationRequired())
181
    {
166
			eNotify(new ENotificationImpl(this, Notification.SET, UmlCommonPackage.TYPE_RULE__TYPE, oldType, type));
182
      case UmlCommonPackage.TYPE_RULE__PATH:
167
	}
183
        return basicSetPath(null, msgs);
184
    }
185
    return super.eInverseRemove(otherEnd, featureID, msgs);
186
  }
168
187
169
	/**
188
  /**
170
	 * <!-- begin-user-doc -->
189
   * <!-- begin-user-doc -->
171
	 * <!-- end-user-doc -->
190
   * <!-- end-user-doc -->
172
	 * 
191
   * @generated
173
	 * @generated
192
   */
174
	 */
193
  @Override
175
	@Override
194
  public Object eGet(int featureID, boolean resolve, boolean coreType)
176
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
195
  {
177
		switch(featureID) {
196
    switch (featureID)
178
		case UmlCommonPackage.TYPE_RULE__PATH:
197
    {
179
			return basicSetPath(null, msgs);
198
      case UmlCommonPackage.TYPE_RULE__PATH:
180
		}
199
        return getPath();
181
		return super.eInverseRemove(otherEnd, featureID, msgs);
200
      case UmlCommonPackage.TYPE_RULE__TYPE:
182
	}
201
        if (resolve) return getType();
202
        return basicGetType();
203
    }
204
    return super.eGet(featureID, resolve, coreType);
205
  }
183
206
184
	/**
207
  /**
185
	 * <!-- begin-user-doc -->
208
   * <!-- begin-user-doc -->
186
	 * <!-- end-user-doc -->
209
   * <!-- end-user-doc -->
187
	 * 
210
   * @generated
188
	 * @generated
211
   */
189
	 */
212
  @Override
190
	@Override
213
  public void eSet(int featureID, Object newValue)
191
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
214
  {
192
		switch(featureID) {
215
    switch (featureID)
193
		case UmlCommonPackage.TYPE_RULE__PATH:
216
    {
194
			return getPath();
217
      case UmlCommonPackage.TYPE_RULE__PATH:
195
		case UmlCommonPackage.TYPE_RULE__TYPE:
218
        setPath((QualifiedName)newValue);
196
			if(resolve)
219
        return;
197
				return getType();
220
      case UmlCommonPackage.TYPE_RULE__TYPE:
198
			return basicGetType();
221
        setType((Type)newValue);
199
		}
222
        return;
200
		return super.eGet(featureID, resolve, coreType);
223
    }
201
	}
224
    super.eSet(featureID, newValue);
225
  }
202
226
203
	/**
227
  /**
204
	 * <!-- begin-user-doc -->
228
   * <!-- begin-user-doc -->
205
	 * <!-- end-user-doc -->
229
   * <!-- end-user-doc -->
206
	 * 
230
   * @generated
207
	 * @generated
231
   */
208
	 */
232
  @Override
209
	@Override
233
  public void eUnset(int featureID)
210
	public void eSet(int featureID, Object newValue) {
234
  {
211
		switch(featureID) {
235
    switch (featureID)
212
		case UmlCommonPackage.TYPE_RULE__PATH:
236
    {
213
			setPath((QualifiedName)newValue);
237
      case UmlCommonPackage.TYPE_RULE__PATH:
214
			return;
238
        setPath((QualifiedName)null);
215
		case UmlCommonPackage.TYPE_RULE__TYPE:
239
        return;
216
			setType((Type)newValue);
240
      case UmlCommonPackage.TYPE_RULE__TYPE:
217
			return;
241
        setType((Type)null);
218
		}
242
        return;
219
		super.eSet(featureID, newValue);
243
    }
220
	}
244
    super.eUnset(featureID);
245
  }
221
246
222
	/**
247
  /**
223
	 * <!-- begin-user-doc -->
248
   * <!-- begin-user-doc -->
224
	 * <!-- end-user-doc -->
249
   * <!-- end-user-doc -->
225
	 * 
250
   * @generated
226
	 * @generated
251
   */
227
	 */
252
  @Override
228
	@Override
253
  public boolean eIsSet(int featureID)
229
	public void eUnset(int featureID) {
254
  {
230
		switch(featureID) {
255
    switch (featureID)
231
		case UmlCommonPackage.TYPE_RULE__PATH:
256
    {
232
			setPath((QualifiedName)null);
257
      case UmlCommonPackage.TYPE_RULE__PATH:
233
			return;
258
        return path != null;
234
		case UmlCommonPackage.TYPE_RULE__TYPE:
259
      case UmlCommonPackage.TYPE_RULE__TYPE:
235
			setType((Type)null);
260
        return type != null;
236
			return;
261
    }
237
		}
262
    return super.eIsSet(featureID);
238
		super.eUnset(featureID);
263
  }
239
	}
240
241
	/**
242
	 * <!-- begin-user-doc -->
243
	 * <!-- end-user-doc -->
244
	 * 
245
	 * @generated
246
	 */
247
	@Override
248
	public boolean eIsSet(int featureID) {
249
		switch(featureID) {
250
		case UmlCommonPackage.TYPE_RULE__PATH:
251
			return path != null;
252
		case UmlCommonPackage.TYPE_RULE__TYPE:
253
			return type != null;
254
		}
255
		return super.eIsSet(featureID);
256
	}
257
264
258
} //TypeRuleImpl
265
} //TypeRuleImpl
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/impl/UmlCommonFactoryImpl.java (-196 / +192 lines)
Lines 10-233 Link Here
10
import org.eclipse.emf.ecore.EDataType;
10
import org.eclipse.emf.ecore.EDataType;
11
import org.eclipse.emf.ecore.EObject;
11
import org.eclipse.emf.ecore.EObject;
12
import org.eclipse.emf.ecore.EPackage;
12
import org.eclipse.emf.ecore.EPackage;
13
13
import org.eclipse.emf.ecore.impl.EFactoryImpl;
14
import org.eclipse.emf.ecore.impl.EFactoryImpl;
15
14
import org.eclipse.emf.ecore.plugin.EcorePlugin;
16
import org.eclipse.emf.ecore.plugin.EcorePlugin;
15
import org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification;
17
16
import org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction;
18
import org.eclipse.papyrus.common.editor.xtext.umlCommon.*;
17
import org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule;
18
import org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName;
19
import org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule;
20
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonFactory;
21
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
22
import org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind;
23
19
24
/**
20
/**
25
 * <!-- begin-user-doc -->
21
 * <!-- begin-user-doc -->
26
 * An implementation of the model <b>Factory</b>.
22
 * An implementation of the model <b>Factory</b>.
27
 * <!-- end-user-doc -->
23
 * <!-- end-user-doc -->
28
 * 
29
 * @generated
24
 * @generated
30
 */
25
 */
31
public class UmlCommonFactoryImpl extends EFactoryImpl implements UmlCommonFactory {
26
public class UmlCommonFactoryImpl extends EFactoryImpl implements UmlCommonFactory
27
{
28
  /**
29
   * Creates the default factory implementation.
30
   * <!-- begin-user-doc -->
31
   * <!-- end-user-doc -->
32
   * @generated
33
   */
34
  public static UmlCommonFactory init()
35
  {
36
    try
37
    {
38
      UmlCommonFactory theUmlCommonFactory = (UmlCommonFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/common/editor/xtext/UmlCommon"); 
39
      if (theUmlCommonFactory != null)
40
      {
41
        return theUmlCommonFactory;
42
      }
43
    }
44
    catch (Exception exception)
45
    {
46
      EcorePlugin.INSTANCE.log(exception);
47
    }
48
    return new UmlCommonFactoryImpl();
49
  }
32
50
33
	/**
51
  /**
34
	 * Creates the default factory implementation.
52
   * Creates an instance of the factory.
35
	 * <!-- begin-user-doc -->
53
   * <!-- begin-user-doc -->
36
	 * <!-- end-user-doc -->
54
   * <!-- end-user-doc -->
37
	 * 
55
   * @generated
38
	 * @generated
56
   */
39
	 */
57
  public UmlCommonFactoryImpl()
40
	public static UmlCommonFactory init() {
58
  {
41
		try {
59
    super();
42
			UmlCommonFactory theUmlCommonFactory = (UmlCommonFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/common/editor/xtext/UmlCommon");
60
  }
43
			if(theUmlCommonFactory != null) {
44
				return theUmlCommonFactory;
45
			}
46
		} catch (Exception exception) {
47
			EcorePlugin.INSTANCE.log(exception);
48
		}
49
		return new UmlCommonFactoryImpl();
50
	}
51
61
52
	/**
62
  /**
53
	 * Creates an instance of the factory.
63
   * <!-- begin-user-doc -->
54
	 * <!-- begin-user-doc -->
64
   * <!-- end-user-doc -->
55
	 * <!-- end-user-doc -->
65
   * @generated
56
	 * 
66
   */
57
	 * @generated
67
  @Override
58
	 */
68
  public EObject create(EClass eClass)
59
	public UmlCommonFactoryImpl() {
69
  {
60
		super();
70
    switch (eClass.getClassifierID())
61
	}
71
    {
72
      case UmlCommonPackage.QUALIFIED_NAME: return createQualifiedName();
73
      case UmlCommonPackage.TYPE_RULE: return createTypeRule();
74
      case UmlCommonPackage.MULTIPLICITY_RULE: return createMultiplicityRule();
75
      case UmlCommonPackage.BOUND_SPECIFICATION: return createBoundSpecification();
76
      default:
77
        throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
78
    }
79
  }
62
80
63
	/**
81
  /**
64
	 * <!-- begin-user-doc -->
82
   * <!-- begin-user-doc -->
65
	 * <!-- end-user-doc -->
83
   * <!-- end-user-doc -->
66
	 * 
84
   * @generated
67
	 * @generated
85
   */
68
	 */
86
  @Override
69
	@Override
87
  public Object createFromString(EDataType eDataType, String initialValue)
70
	public EObject create(EClass eClass) {
88
  {
71
		switch(eClass.getClassifierID()) {
89
    switch (eDataType.getClassifierID())
72
		case UmlCommonPackage.QUALIFIED_NAME:
90
    {
73
			return createQualifiedName();
91
      case UmlCommonPackage.VISIBILITY_KIND:
74
		case UmlCommonPackage.TYPE_RULE:
92
        return createVisibilityKindFromString(eDataType, initialValue);
75
			return createTypeRule();
93
      case UmlCommonPackage.DIRECTION:
76
		case UmlCommonPackage.MULTIPLICITY_RULE:
94
        return createDirectionFromString(eDataType, initialValue);
77
			return createMultiplicityRule();
95
      default:
78
		case UmlCommonPackage.BOUND_SPECIFICATION:
96
        throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
79
			return createBoundSpecification();
97
    }
80
		default:
98
  }
81
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
82
		}
83
	}
84
99
85
	/**
100
  /**
86
	 * <!-- begin-user-doc -->
101
   * <!-- begin-user-doc -->
87
	 * <!-- end-user-doc -->
102
   * <!-- end-user-doc -->
88
	 * 
103
   * @generated
89
	 * @generated
104
   */
90
	 */
105
  @Override
91
	@Override
106
  public String convertToString(EDataType eDataType, Object instanceValue)
92
	public Object createFromString(EDataType eDataType, String initialValue) {
107
  {
93
		switch(eDataType.getClassifierID()) {
108
    switch (eDataType.getClassifierID())
94
		case UmlCommonPackage.VISIBILITY_KIND:
109
    {
95
			return createVisibilityKindFromString(eDataType, initialValue);
110
      case UmlCommonPackage.VISIBILITY_KIND:
96
		case UmlCommonPackage.DIRECTION:
111
        return convertVisibilityKindToString(eDataType, instanceValue);
97
			return createDirectionFromString(eDataType, initialValue);
112
      case UmlCommonPackage.DIRECTION:
98
		default:
113
        return convertDirectionToString(eDataType, instanceValue);
99
			throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
114
      default:
100
		}
115
        throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
101
	}
116
    }
117
  }
102
118
103
	/**
119
  /**
104
	 * <!-- begin-user-doc -->
120
   * <!-- begin-user-doc -->
105
	 * <!-- end-user-doc -->
121
   * <!-- end-user-doc -->
106
	 * 
122
   * @generated
107
	 * @generated
123
   */
108
	 */
124
  public QualifiedName createQualifiedName()
109
	@Override
125
  {
110
	public String convertToString(EDataType eDataType, Object instanceValue) {
126
    QualifiedNameImpl qualifiedName = new QualifiedNameImpl();
111
		switch(eDataType.getClassifierID()) {
127
    return qualifiedName;
112
		case UmlCommonPackage.VISIBILITY_KIND:
128
  }
113
			return convertVisibilityKindToString(eDataType, instanceValue);
114
		case UmlCommonPackage.DIRECTION:
115
			return convertDirectionToString(eDataType, instanceValue);
116
		default:
117
			throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
118
		}
119
	}
120
129
121
	/**
130
  /**
122
	 * <!-- begin-user-doc -->
131
   * <!-- begin-user-doc -->
123
	 * <!-- end-user-doc -->
132
   * <!-- end-user-doc -->
124
	 * 
133
   * @generated
125
	 * @generated
134
   */
126
	 */
135
  public TypeRule createTypeRule()
127
	public QualifiedName createQualifiedName() {
136
  {
128
		QualifiedNameImpl qualifiedName = new QualifiedNameImpl();
137
    TypeRuleImpl typeRule = new TypeRuleImpl();
129
		return qualifiedName;
138
    return typeRule;
130
	}
139
  }
131
140
132
	/**
141
  /**
133
	 * <!-- begin-user-doc -->
142
   * <!-- begin-user-doc -->
134
	 * <!-- end-user-doc -->
143
   * <!-- end-user-doc -->
135
	 * 
144
   * @generated
136
	 * @generated
145
   */
137
	 */
146
  public MultiplicityRule createMultiplicityRule()
138
	public TypeRule createTypeRule() {
147
  {
139
		TypeRuleImpl typeRule = new TypeRuleImpl();
148
    MultiplicityRuleImpl multiplicityRule = new MultiplicityRuleImpl();
140
		return typeRule;
149
    return multiplicityRule;
141
	}
150
  }
142
151
143
	/**
152
  /**
144
	 * <!-- begin-user-doc -->
153
   * <!-- begin-user-doc -->
145
	 * <!-- end-user-doc -->
154
   * <!-- end-user-doc -->
146
	 * 
155
   * @generated
147
	 * @generated
156
   */
148
	 */
157
  public BoundSpecification createBoundSpecification()
149
	public MultiplicityRule createMultiplicityRule() {
158
  {
150
		MultiplicityRuleImpl multiplicityRule = new MultiplicityRuleImpl();
159
    BoundSpecificationImpl boundSpecification = new BoundSpecificationImpl();
151
		return multiplicityRule;
160
    return boundSpecification;
152
	}
161
  }
153
162
154
	/**
163
  /**
155
	 * <!-- begin-user-doc -->
164
   * <!-- begin-user-doc -->
156
	 * <!-- end-user-doc -->
165
   * <!-- end-user-doc -->
157
	 * 
166
   * @generated
158
	 * @generated
167
   */
159
	 */
168
  public VisibilityKind createVisibilityKindFromString(EDataType eDataType, String initialValue)
160
	public BoundSpecification createBoundSpecification() {
169
  {
161
		BoundSpecificationImpl boundSpecification = new BoundSpecificationImpl();
170
    VisibilityKind result = VisibilityKind.get(initialValue);
162
		return boundSpecification;
171
    if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
163
	}
172
    return result;
173
  }
164
174
165
	/**
175
  /**
166
	 * <!-- begin-user-doc -->
176
   * <!-- begin-user-doc -->
167
	 * <!-- end-user-doc -->
177
   * <!-- end-user-doc -->
168
	 * 
178
   * @generated
169
	 * @generated
179
   */
170
	 */
180
  public String convertVisibilityKindToString(EDataType eDataType, Object instanceValue)
171
	public VisibilityKind createVisibilityKindFromString(EDataType eDataType, String initialValue) {
181
  {
172
		VisibilityKind result = VisibilityKind.get(initialValue);
182
    return instanceValue == null ? null : instanceValue.toString();
173
		if(result == null)
183
  }
174
			throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
175
		return result;
176
	}
177
184
178
	/**
185
  /**
179
	 * <!-- begin-user-doc -->
186
   * <!-- begin-user-doc -->
180
	 * <!-- end-user-doc -->
187
   * <!-- end-user-doc -->
181
	 * 
188
   * @generated
182
	 * @generated
189
   */
183
	 */
190
  public Direction createDirectionFromString(EDataType eDataType, String initialValue)
184
	public String convertVisibilityKindToString(EDataType eDataType, Object instanceValue) {
191
  {
185
		return instanceValue == null ? null : instanceValue.toString();
192
    Direction result = Direction.get(initialValue);
186
	}
193
    if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
194
    return result;
195
  }
187
196
188
	/**
197
  /**
189
	 * <!-- begin-user-doc -->
198
   * <!-- begin-user-doc -->
190
	 * <!-- end-user-doc -->
199
   * <!-- end-user-doc -->
191
	 * 
200
   * @generated
192
	 * @generated
201
   */
193
	 */
202
  public String convertDirectionToString(EDataType eDataType, Object instanceValue)
194
	public Direction createDirectionFromString(EDataType eDataType, String initialValue) {
203
  {
195
		Direction result = Direction.get(initialValue);
204
    return instanceValue == null ? null : instanceValue.toString();
196
		if(result == null)
205
  }
197
			throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
198
		return result;
199
	}
200
206
201
	/**
207
  /**
202
	 * <!-- begin-user-doc -->
208
   * <!-- begin-user-doc -->
203
	 * <!-- end-user-doc -->
209
   * <!-- end-user-doc -->
204
	 * 
210
   * @generated
205
	 * @generated
211
   */
206
	 */
212
  public UmlCommonPackage getUmlCommonPackage()
207
	public String convertDirectionToString(EDataType eDataType, Object instanceValue) {
213
  {
208
		return instanceValue == null ? null : instanceValue.toString();
214
    return (UmlCommonPackage)getEPackage();
209
	}
215
  }
210
216
211
	/**
217
  /**
212
	 * <!-- begin-user-doc -->
218
   * <!-- begin-user-doc -->
213
	 * <!-- end-user-doc -->
219
   * <!-- end-user-doc -->
214
	 * 
220
   * @deprecated
215
	 * @generated
221
   * @generated
216
	 */
222
   */
217
	public UmlCommonPackage getUmlCommonPackage() {
223
  @Deprecated
218
		return (UmlCommonPackage)getEPackage();
224
  public static UmlCommonPackage getPackage()
219
	}
225
  {
220
226
    return UmlCommonPackage.eINSTANCE;
221
	/**
227
  }
222
	 * <!-- begin-user-doc -->
223
	 * <!-- end-user-doc -->
224
	 * 
225
	 * @deprecated
226
	 * @generated
227
	 */
228
	@Deprecated
229
	public static UmlCommonPackage getPackage() {
230
		return UmlCommonPackage.eINSTANCE;
231
	}
232
228
233
} //UmlCommonFactoryImpl
229
} //UmlCommonFactoryImpl
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/impl/QualifiedNameImpl.java (-212 / +219 lines)
Lines 8-19 Link Here
8
8
9
import org.eclipse.emf.common.notify.Notification;
9
import org.eclipse.emf.common.notify.Notification;
10
import org.eclipse.emf.common.notify.NotificationChain;
10
import org.eclipse.emf.common.notify.NotificationChain;
11
11
import org.eclipse.emf.ecore.EClass;
12
import org.eclipse.emf.ecore.EClass;
12
import org.eclipse.emf.ecore.InternalEObject;
13
import org.eclipse.emf.ecore.InternalEObject;
14
13
import org.eclipse.emf.ecore.impl.ENotificationImpl;
15
import org.eclipse.emf.ecore.impl.ENotificationImpl;
14
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
16
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
17
15
import org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName;
18
import org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName;
16
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
19
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
20
17
import org.eclipse.uml2.uml.Namespace;
21
import org.eclipse.uml2.uml.Namespace;
18
22
19
/**
23
/**
Lines 23-257 Link Here
23
 * <p>
27
 * <p>
24
 * The following features are implemented:
28
 * The following features are implemented:
25
 * <ul>
29
 * <ul>
26
 * <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.QualifiedNameImpl#getPath <em>Path</em>}</li>
30
 *   <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.QualifiedNameImpl#getPath <em>Path</em>}</li>
27
 * <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.QualifiedNameImpl#getRemaining <em>Remaining</em>}</li>
31
 *   <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.QualifiedNameImpl#getRemaining <em>Remaining</em>}</li>
28
 * </ul>
32
 * </ul>
29
 * </p>
33
 * </p>
30
 * 
34
 *
31
 * @generated
35
 * @generated
32
 */
36
 */
33
public class QualifiedNameImpl extends MinimalEObjectImpl.Container implements QualifiedName {
37
public class QualifiedNameImpl extends MinimalEObjectImpl.Container implements QualifiedName
38
{
39
  /**
40
   * The cached value of the '{@link #getPath() <em>Path</em>}' reference.
41
   * <!-- begin-user-doc -->
42
   * <!-- end-user-doc -->
43
   * @see #getPath()
44
   * @generated
45
   * @ordered
46
   */
47
  protected Namespace path;
34
48
35
	/**
49
  /**
36
	 * The cached value of the '{@link #getPath() <em>Path</em>}' reference.
50
   * The cached value of the '{@link #getRemaining() <em>Remaining</em>}' containment reference.
37
	 * <!-- begin-user-doc -->
51
   * <!-- begin-user-doc -->
38
	 * <!-- end-user-doc -->
52
   * <!-- end-user-doc -->
39
	 * 
53
   * @see #getRemaining()
40
	 * @see #getPath()
54
   * @generated
41
	 * @generated
55
   * @ordered
42
	 * @ordered
56
   */
43
	 */
57
  protected QualifiedName remaining;
44
	protected Namespace path;
45
58
46
	/**
59
  /**
47
	 * The cached value of the '{@link #getRemaining() <em>Remaining</em>}' containment reference.
60
   * <!-- begin-user-doc -->
48
	 * <!-- begin-user-doc -->
61
   * <!-- end-user-doc -->
49
	 * <!-- end-user-doc -->
62
   * @generated
50
	 * 
63
   */
51
	 * @see #getRemaining()
64
  protected QualifiedNameImpl()
52
	 * @generated
65
  {
53
	 * @ordered
66
    super();
54
	 */
67
  }
55
	protected QualifiedName remaining;
56
68
57
	/**
69
  /**
58
	 * <!-- begin-user-doc -->
70
   * <!-- begin-user-doc -->
59
	 * <!-- end-user-doc -->
71
   * <!-- end-user-doc -->
60
	 * 
72
   * @generated
61
	 * @generated
73
   */
62
	 */
74
  @Override
63
	protected QualifiedNameImpl() {
75
  protected EClass eStaticClass()
64
		super();
76
  {
65
	}
77
    return UmlCommonPackage.Literals.QUALIFIED_NAME;
78
  }
66
79
67
	/**
80
  /**
68
	 * <!-- begin-user-doc -->
81
   * <!-- begin-user-doc -->
69
	 * <!-- end-user-doc -->
82
   * <!-- end-user-doc -->
70
	 * 
83
   * @generated
71
	 * @generated
84
   */
72
	 */
85
  public Namespace getPath()
73
	@Override
86
  {
74
	protected EClass eStaticClass() {
87
    if (path != null && path.eIsProxy())
75
		return UmlCommonPackage.Literals.QUALIFIED_NAME;
88
    {
76
	}
89
      InternalEObject oldPath = (InternalEObject)path;
90
      path = (Namespace)eResolveProxy(oldPath);
91
      if (path != oldPath)
92
      {
93
        if (eNotificationRequired())
94
          eNotify(new ENotificationImpl(this, Notification.RESOLVE, UmlCommonPackage.QUALIFIED_NAME__PATH, oldPath, path));
95
      }
96
    }
97
    return path;
98
  }
77
99
78
	/**
100
  /**
79
	 * <!-- begin-user-doc -->
101
   * <!-- begin-user-doc -->
80
	 * <!-- end-user-doc -->
102
   * <!-- end-user-doc -->
81
	 * 
103
   * @generated
82
	 * @generated
104
   */
83
	 */
105
  public Namespace basicGetPath()
84
	public Namespace getPath() {
106
  {
85
		if(path != null && path.eIsProxy()) {
107
    return path;
86
			InternalEObject oldPath = (InternalEObject)path;
108
  }
87
			path = (Namespace)eResolveProxy(oldPath);
88
			if(path != oldPath) {
89
				if(eNotificationRequired())
90
					eNotify(new ENotificationImpl(this, Notification.RESOLVE, UmlCommonPackage.QUALIFIED_NAME__PATH, oldPath, path));
91
			}
92
		}
93
		return path;
94
	}
95
109
96
	/**
110
  /**
97
	 * <!-- begin-user-doc -->
111
   * <!-- begin-user-doc -->
98
	 * <!-- end-user-doc -->
112
   * <!-- end-user-doc -->
99
	 * 
113
   * @generated
100
	 * @generated
114
   */
101
	 */
115
  public void setPath(Namespace newPath)
102
	public Namespace basicGetPath() {
116
  {
103
		return path;
117
    Namespace oldPath = path;
104
	}
118
    path = newPath;
119
    if (eNotificationRequired())
120
      eNotify(new ENotificationImpl(this, Notification.SET, UmlCommonPackage.QUALIFIED_NAME__PATH, oldPath, path));
121
  }
105
122
106
	/**
123
  /**
107
	 * <!-- begin-user-doc -->
124
   * <!-- begin-user-doc -->
108
	 * <!-- end-user-doc -->
125
   * <!-- end-user-doc -->
109
	 * 
126
   * @generated
110
	 * @generated
127
   */
111
	 */
128
  public QualifiedName getRemaining()
112
	public void setPath(Namespace newPath) {
129
  {
113
		Namespace oldPath = path;
130
    return remaining;
114
		path = newPath;
131
  }
115
		if(eNotificationRequired())
116
			eNotify(new ENotificationImpl(this, Notification.SET, UmlCommonPackage.QUALIFIED_NAME__PATH, oldPath, path));
117
	}
118
132
119
	/**
133
  /**
120
	 * <!-- begin-user-doc -->
134
   * <!-- begin-user-doc -->
121
	 * <!-- end-user-doc -->
135
   * <!-- end-user-doc -->
122
	 * 
136
   * @generated
123
	 * @generated
137
   */
124
	 */
138
  public NotificationChain basicSetRemaining(QualifiedName newRemaining, NotificationChain msgs)
125
	public QualifiedName getRemaining() {
139
  {
126
		return remaining;
140
    QualifiedName oldRemaining = remaining;
127
	}
141
    remaining = newRemaining;
142
    if (eNotificationRequired())
143
    {
144
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlCommonPackage.QUALIFIED_NAME__REMAINING, oldRemaining, newRemaining);
145
      if (msgs == null) msgs = notification; else msgs.add(notification);
146
    }
147
    return msgs;
148
  }
128
149
129
	/**
150
  /**
130
	 * <!-- begin-user-doc -->
151
   * <!-- begin-user-doc -->
131
	 * <!-- end-user-doc -->
152
   * <!-- end-user-doc -->
132
	 * 
153
   * @generated
133
	 * @generated
154
   */
134
	 */
155
  public void setRemaining(QualifiedName newRemaining)
135
	public NotificationChain basicSetRemaining(QualifiedName newRemaining, NotificationChain msgs) {
156
  {
136
		QualifiedName oldRemaining = remaining;
157
    if (newRemaining != remaining)
137
		remaining = newRemaining;
158
    {
138
		if(eNotificationRequired()) {
159
      NotificationChain msgs = null;
139
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlCommonPackage.QUALIFIED_NAME__REMAINING, oldRemaining, newRemaining);
160
      if (remaining != null)
140
			if(msgs == null)
161
        msgs = ((InternalEObject)remaining).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlCommonPackage.QUALIFIED_NAME__REMAINING, null, msgs);
141
				msgs = notification;
162
      if (newRemaining != null)
142
			else
163
        msgs = ((InternalEObject)newRemaining).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlCommonPackage.QUALIFIED_NAME__REMAINING, null, msgs);
143
				msgs.add(notification);
164
      msgs = basicSetRemaining(newRemaining, msgs);
144
		}
165
      if (msgs != null) msgs.dispatch();
145
		return msgs;
166
    }
146
	}
167
    else if (eNotificationRequired())
168
      eNotify(new ENotificationImpl(this, Notification.SET, UmlCommonPackage.QUALIFIED_NAME__REMAINING, newRemaining, newRemaining));
169
  }
147
170
148
	/**
171
  /**
149
	 * <!-- begin-user-doc -->
172
   * <!-- begin-user-doc -->
150
	 * <!-- end-user-doc -->
173
   * <!-- end-user-doc -->
151
	 * 
174
   * @generated
152
	 * @generated
175
   */
153
	 */
176
  @Override
154
	public void setRemaining(QualifiedName newRemaining) {
177
  public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
155
		if(newRemaining != remaining) {
178
  {
156
			NotificationChain msgs = null;
179
    switch (featureID)
157
			if(remaining != null)
180
    {
158
				msgs = ((InternalEObject)remaining).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlCommonPackage.QUALIFIED_NAME__REMAINING, null, msgs);
181
      case UmlCommonPackage.QUALIFIED_NAME__REMAINING:
159
			if(newRemaining != null)
182
        return basicSetRemaining(null, msgs);
160
				msgs = ((InternalEObject)newRemaining).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlCommonPackage.QUALIFIED_NAME__REMAINING, null, msgs);
183
    }
161
			msgs = basicSetRemaining(newRemaining, msgs);
184
    return super.eInverseRemove(otherEnd, featureID, msgs);
162
			if(msgs != null)
185
  }
163
				msgs.dispatch();
164
		} else if(eNotificationRequired())
165
			eNotify(new ENotificationImpl(this, Notification.SET, UmlCommonPackage.QUALIFIED_NAME__REMAINING, newRemaining, newRemaining));
166
	}
167
186
168
	/**
187
  /**
169
	 * <!-- begin-user-doc -->
188
   * <!-- begin-user-doc -->
170
	 * <!-- end-user-doc -->
189
   * <!-- end-user-doc -->
171
	 * 
190
   * @generated
172
	 * @generated
191
   */
173
	 */
192
  @Override
174
	@Override
193
  public Object eGet(int featureID, boolean resolve, boolean coreType)
175
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
194
  {
176
		switch(featureID) {
195
    switch (featureID)
177
		case UmlCommonPackage.QUALIFIED_NAME__REMAINING:
196
    {
178
			return basicSetRemaining(null, msgs);
197
      case UmlCommonPackage.QUALIFIED_NAME__PATH:
179
		}
198
        if (resolve) return getPath();
180
		return super.eInverseRemove(otherEnd, featureID, msgs);
199
        return basicGetPath();
181
	}
200
      case UmlCommonPackage.QUALIFIED_NAME__REMAINING:
201
        return getRemaining();
202
    }
203
    return super.eGet(featureID, resolve, coreType);
204
  }
182
205
183
	/**
206
  /**
184
	 * <!-- begin-user-doc -->
207
   * <!-- begin-user-doc -->
185
	 * <!-- end-user-doc -->
208
   * <!-- end-user-doc -->
186
	 * 
209
   * @generated
187
	 * @generated
210
   */
188
	 */
211
  @Override
189
	@Override
212
  public void eSet(int featureID, Object newValue)
190
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
213
  {
191
		switch(featureID) {
214
    switch (featureID)
192
		case UmlCommonPackage.QUALIFIED_NAME__PATH:
215
    {
193
			if(resolve)
216
      case UmlCommonPackage.QUALIFIED_NAME__PATH:
194
				return getPath();
217
        setPath((Namespace)newValue);
195
			return basicGetPath();
218
        return;
196
		case UmlCommonPackage.QUALIFIED_NAME__REMAINING:
219
      case UmlCommonPackage.QUALIFIED_NAME__REMAINING:
197
			return getRemaining();
220
        setRemaining((QualifiedName)newValue);
198
		}
221
        return;
199
		return super.eGet(featureID, resolve, coreType);
222
    }
200
	}
223
    super.eSet(featureID, newValue);
224
  }
201
225
202
	/**
226
  /**
203
	 * <!-- begin-user-doc -->
227
   * <!-- begin-user-doc -->
204
	 * <!-- end-user-doc -->
228
   * <!-- end-user-doc -->
205
	 * 
229
   * @generated
206
	 * @generated
230
   */
207
	 */
231
  @Override
208
	@Override
232
  public void eUnset(int featureID)
209
	public void eSet(int featureID, Object newValue) {
233
  {
210
		switch(featureID) {
234
    switch (featureID)
211
		case UmlCommonPackage.QUALIFIED_NAME__PATH:
235
    {
212
			setPath((Namespace)newValue);
236
      case UmlCommonPackage.QUALIFIED_NAME__PATH:
213
			return;
237
        setPath((Namespace)null);
214
		case UmlCommonPackage.QUALIFIED_NAME__REMAINING:
238
        return;
215
			setRemaining((QualifiedName)newValue);
239
      case UmlCommonPackage.QUALIFIED_NAME__REMAINING:
216
			return;
240
        setRemaining((QualifiedName)null);
217
		}
241
        return;
218
		super.eSet(featureID, newValue);
242
    }
219
	}
243
    super.eUnset(featureID);
244
  }
220
245
221
	/**
246
  /**
222
	 * <!-- begin-user-doc -->
247
   * <!-- begin-user-doc -->
223
	 * <!-- end-user-doc -->
248
   * <!-- end-user-doc -->
224
	 * 
249
   * @generated
225
	 * @generated
250
   */
226
	 */
251
  @Override
227
	@Override
252
  public boolean eIsSet(int featureID)
228
	public void eUnset(int featureID) {
253
  {
229
		switch(featureID) {
254
    switch (featureID)
230
		case UmlCommonPackage.QUALIFIED_NAME__PATH:
255
    {
231
			setPath((Namespace)null);
256
      case UmlCommonPackage.QUALIFIED_NAME__PATH:
232
			return;
257
        return path != null;
233
		case UmlCommonPackage.QUALIFIED_NAME__REMAINING:
258
      case UmlCommonPackage.QUALIFIED_NAME__REMAINING:
234
			setRemaining((QualifiedName)null);
259
        return remaining != null;
235
			return;
260
    }
236
		}
261
    return super.eIsSet(featureID);
237
		super.eUnset(featureID);
262
  }
238
	}
239
240
	/**
241
	 * <!-- begin-user-doc -->
242
	 * <!-- end-user-doc -->
243
	 * 
244
	 * @generated
245
	 */
246
	@Override
247
	public boolean eIsSet(int featureID) {
248
		switch(featureID) {
249
		case UmlCommonPackage.QUALIFIED_NAME__PATH:
250
			return path != null;
251
		case UmlCommonPackage.QUALIFIED_NAME__REMAINING:
252
			return remaining != null;
253
		}
254
		return super.eIsSet(featureID);
255
	}
256
263
257
} //QualifiedNameImpl
264
} //QualifiedNameImpl
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/impl/UmlCommonPackageImpl.java (-303 / +297 lines)
Lines 11-17 Link Here
11
import org.eclipse.emf.ecore.EEnum;
11
import org.eclipse.emf.ecore.EEnum;
12
import org.eclipse.emf.ecore.EPackage;
12
import org.eclipse.emf.ecore.EPackage;
13
import org.eclipse.emf.ecore.EReference;
13
import org.eclipse.emf.ecore.EReference;
14
14
import org.eclipse.emf.ecore.impl.EPackageImpl;
15
import org.eclipse.emf.ecore.impl.EPackageImpl;
16
15
import org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification;
17
import org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification;
16
import org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction;
18
import org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction;
17
import org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule;
19
import org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule;
Lines 20-384 Link Here
20
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonFactory;
22
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonFactory;
21
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
23
import org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage;
22
import org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind;
24
import org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind;
25
23
import org.eclipse.uml2.uml.UMLPackage;
26
import org.eclipse.uml2.uml.UMLPackage;
24
27
25
/**
28
/**
26
 * <!-- begin-user-doc -->
29
 * <!-- begin-user-doc -->
27
 * An implementation of the model <b>Package</b>.
30
 * An implementation of the model <b>Package</b>.
28
 * <!-- end-user-doc -->
31
 * <!-- end-user-doc -->
29
 * 
30
 * @generated
32
 * @generated
31
 */
33
 */
32
public class UmlCommonPackageImpl extends EPackageImpl implements UmlCommonPackage {
34
public class UmlCommonPackageImpl extends EPackageImpl implements UmlCommonPackage
35
{
36
  /**
37
   * <!-- begin-user-doc -->
38
   * <!-- end-user-doc -->
39
   * @generated
40
   */
41
  private EClass qualifiedNameEClass = null;
33
42
34
	/**
43
  /**
35
	 * <!-- begin-user-doc -->
44
   * <!-- begin-user-doc -->
36
	 * <!-- end-user-doc -->
45
   * <!-- end-user-doc -->
37
	 * 
46
   * @generated
38
	 * @generated
47
   */
39
	 */
48
  private EClass typeRuleEClass = null;
40
	private EClass qualifiedNameEClass = null;
41
49
42
	/**
50
  /**
43
	 * <!-- begin-user-doc -->
51
   * <!-- begin-user-doc -->
44
	 * <!-- end-user-doc -->
52
   * <!-- end-user-doc -->
45
	 * 
53
   * @generated
46
	 * @generated
54
   */
47
	 */
55
  private EClass multiplicityRuleEClass = null;
48
	private EClass typeRuleEClass = null;
49
56
50
	/**
57
  /**
51
	 * <!-- begin-user-doc -->
58
   * <!-- begin-user-doc -->
52
	 * <!-- end-user-doc -->
59
   * <!-- end-user-doc -->
53
	 * 
60
   * @generated
54
	 * @generated
61
   */
55
	 */
62
  private EClass boundSpecificationEClass = null;
56
	private EClass multiplicityRuleEClass = null;
57
63
58
	/**
64
  /**
59
	 * <!-- begin-user-doc -->
65
   * <!-- begin-user-doc -->
60
	 * <!-- end-user-doc -->
66
   * <!-- end-user-doc -->
61
	 * 
67
   * @generated
62
	 * @generated
68
   */
63
	 */
69
  private EEnum visibilityKindEEnum = null;
64
	private EClass boundSpecificationEClass = null;
65
70
66
	/**
71
  /**
67
	 * <!-- begin-user-doc -->
72
   * <!-- begin-user-doc -->
68
	 * <!-- end-user-doc -->
73
   * <!-- end-user-doc -->
69
	 * 
74
   * @generated
70
	 * @generated
75
   */
71
	 */
76
  private EEnum directionEEnum = null;
72
	private EEnum visibilityKindEEnum = null;
73
77
74
	/**
78
  /**
75
	 * <!-- begin-user-doc -->
79
   * Creates an instance of the model <b>Package</b>, registered with
76
	 * <!-- end-user-doc -->
80
   * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
77
	 * 
81
   * package URI value.
78
	 * @generated
82
   * <p>Note: the correct way to create the package is via the static
79
	 */
83
   * factory method {@link #init init()}, which also performs
80
	private EEnum directionEEnum = null;
84
   * initialization of the package, or returns the registered package,
85
   * if one already exists.
86
   * <!-- begin-user-doc -->
87
   * <!-- end-user-doc -->
88
   * @see org.eclipse.emf.ecore.EPackage.Registry
89
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#eNS_URI
90
   * @see #init()
91
   * @generated
92
   */
93
  private UmlCommonPackageImpl()
94
  {
95
    super(eNS_URI, UmlCommonFactory.eINSTANCE);
96
  }
81
97
82
	/**
98
  /**
83
	 * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the
99
   * <!-- begin-user-doc -->
84
	 * package
100
   * <!-- end-user-doc -->
85
	 * package URI value.
101
   * @generated
86
	 * <p>
102
   */
87
	 * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
103
  private static boolean isInited = false;
88
	 * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
89
	 * 
90
	 * @see org.eclipse.emf.ecore.EPackage.Registry
91
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#eNS_URI
92
	 * @see #init()
93
	 * @generated
94
	 */
95
	private UmlCommonPackageImpl() {
96
		super(eNS_URI, UmlCommonFactory.eINSTANCE);
97
	}
98
104
99
	/**
105
  /**
100
	 * <!-- begin-user-doc -->
106
   * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
101
	 * <!-- end-user-doc -->
107
   * 
102
	 * 
108
   * <p>This method is used to initialize {@link UmlCommonPackage#eINSTANCE} when that field is accessed.
103
	 * @generated
109
   * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
104
	 */
110
   * <!-- begin-user-doc -->
105
	private static boolean isInited = false;
111
   * <!-- end-user-doc -->
112
   * @see #eNS_URI
113
   * @see #createPackageContents()
114
   * @see #initializePackageContents()
115
   * @generated
116
   */
117
  public static UmlCommonPackage init()
118
  {
119
    if (isInited) return (UmlCommonPackage)EPackage.Registry.INSTANCE.getEPackage(UmlCommonPackage.eNS_URI);
106
120
107
	/**
121
    // Obtain or create and register package
108
	 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
122
    UmlCommonPackageImpl theUmlCommonPackage = (UmlCommonPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof UmlCommonPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new UmlCommonPackageImpl());
109
	 * 
110
	 * <p>
111
	 * This method is used to initialize {@link UmlCommonPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly.
112
	 * Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
113
	 * 
114
	 * @see #eNS_URI
115
	 * @see #createPackageContents()
116
	 * @see #initializePackageContents()
117
	 * @generated
118
	 */
119
	public static UmlCommonPackage init() {
120
		if(isInited)
121
			return (UmlCommonPackage)EPackage.Registry.INSTANCE.getEPackage(UmlCommonPackage.eNS_URI);
122
123
123
		// Obtain or create and register package
124
    isInited = true;
124
		UmlCommonPackageImpl theUmlCommonPackage = (UmlCommonPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof UmlCommonPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new UmlCommonPackageImpl());
125
125
126
		isInited = true;
126
    // Initialize simple dependencies
127
    UMLPackage.eINSTANCE.eClass();
127
128
128
		// Initialize simple dependencies
129
    // Create package meta-data objects
129
		UMLPackage.eINSTANCE.eClass();
130
    theUmlCommonPackage.createPackageContents();
130
131
131
		// Create package meta-data objects
132
    // Initialize created meta-data
132
		theUmlCommonPackage.createPackageContents();
133
    theUmlCommonPackage.initializePackageContents();
133
134
134
		// Initialize created meta-data
135
    // Mark meta-data to indicate it can't be changed
135
		theUmlCommonPackage.initializePackageContents();
136
    theUmlCommonPackage.freeze();
136
137
137
		// Mark meta-data to indicate it can't be changed
138
  
138
		theUmlCommonPackage.freeze();
139
    // Update the registry and return the package
140
    EPackage.Registry.INSTANCE.put(UmlCommonPackage.eNS_URI, theUmlCommonPackage);
141
    return theUmlCommonPackage;
142
  }
139
143
144
  /**
145
   * <!-- begin-user-doc -->
146
   * <!-- end-user-doc -->
147
   * @generated
148
   */
149
  public EClass getQualifiedName()
150
  {
151
    return qualifiedNameEClass;
152
  }
140
153
141
		// Update the registry and return the package
154
  /**
142
		EPackage.Registry.INSTANCE.put(UmlCommonPackage.eNS_URI, theUmlCommonPackage);
155
   * <!-- begin-user-doc -->
143
		return theUmlCommonPackage;
156
   * <!-- end-user-doc -->
144
	}
157
   * @generated
158
   */
159
  public EReference getQualifiedName_Path()
160
  {
161
    return (EReference)qualifiedNameEClass.getEStructuralFeatures().get(0);
162
  }
145
163
146
	/**
164
  /**
147
	 * <!-- begin-user-doc -->
165
   * <!-- begin-user-doc -->
148
	 * <!-- end-user-doc -->
166
   * <!-- end-user-doc -->
149
	 * 
167
   * @generated
150
	 * @generated
168
   */
151
	 */
169
  public EReference getQualifiedName_Remaining()
152
	public EClass getQualifiedName() {
170
  {
153
		return qualifiedNameEClass;
171
    return (EReference)qualifiedNameEClass.getEStructuralFeatures().get(1);
154
	}
172
  }
155
173
156
	/**
174
  /**
157
	 * <!-- begin-user-doc -->
175
   * <!-- begin-user-doc -->
158
	 * <!-- end-user-doc -->
176
   * <!-- end-user-doc -->
159
	 * 
177
   * @generated
160
	 * @generated
178
   */
161
	 */
179
  public EClass getTypeRule()
162
	public EReference getQualifiedName_Path() {
180
  {
163
		return (EReference)qualifiedNameEClass.getEStructuralFeatures().get(0);
181
    return typeRuleEClass;
164
	}
182
  }
165
183
166
	/**
184
  /**
167
	 * <!-- begin-user-doc -->
185
   * <!-- begin-user-doc -->
168
	 * <!-- end-user-doc -->
186
   * <!-- end-user-doc -->
169
	 * 
187
   * @generated
170
	 * @generated
188
   */
171
	 */
189
  public EReference getTypeRule_Path()
172
	public EReference getQualifiedName_Remaining() {
190
  {
173
		return (EReference)qualifiedNameEClass.getEStructuralFeatures().get(1);
191
    return (EReference)typeRuleEClass.getEStructuralFeatures().get(0);
174
	}
192
  }
175
193
176
	/**
194
  /**
177
	 * <!-- begin-user-doc -->
195
   * <!-- begin-user-doc -->
178
	 * <!-- end-user-doc -->
196
   * <!-- end-user-doc -->
179
	 * 
197
   * @generated
180
	 * @generated
198
   */
181
	 */
199
  public EReference getTypeRule_Type()
182
	public EClass getTypeRule() {
200
  {
183
		return typeRuleEClass;
201
    return (EReference)typeRuleEClass.getEStructuralFeatures().get(1);
184
	}
202
  }
185
203
186
	/**
204
  /**
187
	 * <!-- begin-user-doc -->
205
   * <!-- begin-user-doc -->
188
	 * <!-- end-user-doc -->
206
   * <!-- end-user-doc -->
189
	 * 
207
   * @generated
190
	 * @generated
208
   */
191
	 */
209
  public EClass getMultiplicityRule()
192
	public EReference getTypeRule_Path() {
210
  {
193
		return (EReference)typeRuleEClass.getEStructuralFeatures().get(0);
211
    return multiplicityRuleEClass;
194
	}
212
  }
195
213
196
	/**
214
  /**
197
	 * <!-- begin-user-doc -->
215
   * <!-- begin-user-doc -->
198
	 * <!-- end-user-doc -->
216
   * <!-- end-user-doc -->
199
	 * 
217
   * @generated
200
	 * @generated
218
   */
201
	 */
219
  public EReference getMultiplicityRule_Bounds()
202
	public EReference getTypeRule_Type() {
220
  {
203
		return (EReference)typeRuleEClass.getEStructuralFeatures().get(1);
221
    return (EReference)multiplicityRuleEClass.getEStructuralFeatures().get(0);
204
	}
222
  }
205
223
206
	/**
224
  /**
207
	 * <!-- begin-user-doc -->
225
   * <!-- begin-user-doc -->
208
	 * <!-- end-user-doc -->
226
   * <!-- end-user-doc -->
209
	 * 
227
   * @generated
210
	 * @generated
228
   */
211
	 */
229
  public EClass getBoundSpecification()
212
	public EClass getMultiplicityRule() {
230
  {
213
		return multiplicityRuleEClass;
231
    return boundSpecificationEClass;
214
	}
232
  }
215
233
216
	/**
234
  /**
217
	 * <!-- begin-user-doc -->
235
   * <!-- begin-user-doc -->
218
	 * <!-- end-user-doc -->
236
   * <!-- end-user-doc -->
219
	 * 
237
   * @generated
220
	 * @generated
238
   */
221
	 */
239
  public EAttribute getBoundSpecification_Value()
222
	public EReference getMultiplicityRule_Bounds() {
240
  {
223
		return (EReference)multiplicityRuleEClass.getEStructuralFeatures().get(0);
241
    return (EAttribute)boundSpecificationEClass.getEStructuralFeatures().get(0);
224
	}
242
  }
225
243
226
	/**
244
  /**
227
	 * <!-- begin-user-doc -->
245
   * <!-- begin-user-doc -->
228
	 * <!-- end-user-doc -->
246
   * <!-- end-user-doc -->
229
	 * 
247
   * @generated
230
	 * @generated
248
   */
231
	 */
249
  public EEnum getVisibilityKind()
232
	public EClass getBoundSpecification() {
250
  {
233
		return boundSpecificationEClass;
251
    return visibilityKindEEnum;
234
	}
252
  }
235
253
236
	/**
254
  /**
237
	 * <!-- begin-user-doc -->
255
   * <!-- begin-user-doc -->
238
	 * <!-- end-user-doc -->
256
   * <!-- end-user-doc -->
239
	 * 
257
   * @generated
240
	 * @generated
258
   */
241
	 */
259
  public EEnum getDirection()
242
	public EAttribute getBoundSpecification_Value() {
260
  {
243
		return (EAttribute)boundSpecificationEClass.getEStructuralFeatures().get(0);
261
    return directionEEnum;
244
	}
262
  }
245
263
246
	/**
264
  /**
247
	 * <!-- begin-user-doc -->
265
   * <!-- begin-user-doc -->
248
	 * <!-- end-user-doc -->
266
   * <!-- end-user-doc -->
249
	 * 
267
   * @generated
250
	 * @generated
268
   */
251
	 */
269
  public UmlCommonFactory getUmlCommonFactory()
252
	public EEnum getVisibilityKind() {
270
  {
253
		return visibilityKindEEnum;
271
    return (UmlCommonFactory)getEFactoryInstance();
254
	}
272
  }
255
273
256
	/**
274
  /**
257
	 * <!-- begin-user-doc -->
275
   * <!-- begin-user-doc -->
258
	 * <!-- end-user-doc -->
276
   * <!-- end-user-doc -->
259
	 * 
277
   * @generated
260
	 * @generated
278
   */
261
	 */
279
  private boolean isCreated = false;
262
	public EEnum getDirection() {
263
		return directionEEnum;
264
	}
265
280
266
	/**
281
  /**
267
	 * <!-- begin-user-doc -->
282
   * Creates the meta-model objects for the package.  This method is
268
	 * <!-- end-user-doc -->
283
   * guarded to have no affect on any invocation but its first.
269
	 * 
284
   * <!-- begin-user-doc -->
270
	 * @generated
285
   * <!-- end-user-doc -->
271
	 */
286
   * @generated
272
	public UmlCommonFactory getUmlCommonFactory() {
287
   */
273
		return (UmlCommonFactory)getEFactoryInstance();
288
  public void createPackageContents()
274
	}
289
  {
290
    if (isCreated) return;
291
    isCreated = true;
275
292
276
	/**
293
    // Create classes and their features
277
	 * <!-- begin-user-doc -->
294
    qualifiedNameEClass = createEClass(QUALIFIED_NAME);
278
	 * <!-- end-user-doc -->
295
    createEReference(qualifiedNameEClass, QUALIFIED_NAME__PATH);
279
	 * 
296
    createEReference(qualifiedNameEClass, QUALIFIED_NAME__REMAINING);
280
	 * @generated
281
	 */
282
	private boolean isCreated = false;
283
297
284
	/**
298
    typeRuleEClass = createEClass(TYPE_RULE);
285
	 * Creates the meta-model objects for the package. This method is
299
    createEReference(typeRuleEClass, TYPE_RULE__PATH);
286
	 * guarded to have no affect on any invocation but its first.
300
    createEReference(typeRuleEClass, TYPE_RULE__TYPE);
287
	 * <!-- begin-user-doc -->
288
	 * <!-- end-user-doc -->
289
	 * 
290
	 * @generated
291
	 */
292
	public void createPackageContents() {
293
		if(isCreated)
294
			return;
295
		isCreated = true;
296
301
297
		// Create classes and their features
302
    multiplicityRuleEClass = createEClass(MULTIPLICITY_RULE);
298
		qualifiedNameEClass = createEClass(QUALIFIED_NAME);
303
    createEReference(multiplicityRuleEClass, MULTIPLICITY_RULE__BOUNDS);
299
		createEReference(qualifiedNameEClass, QUALIFIED_NAME__PATH);
300
		createEReference(qualifiedNameEClass, QUALIFIED_NAME__REMAINING);
301
304
302
		typeRuleEClass = createEClass(TYPE_RULE);
305
    boundSpecificationEClass = createEClass(BOUND_SPECIFICATION);
303
		createEReference(typeRuleEClass, TYPE_RULE__PATH);
306
    createEAttribute(boundSpecificationEClass, BOUND_SPECIFICATION__VALUE);
304
		createEReference(typeRuleEClass, TYPE_RULE__TYPE);
305
307
306
		multiplicityRuleEClass = createEClass(MULTIPLICITY_RULE);
308
    // Create enums
307
		createEReference(multiplicityRuleEClass, MULTIPLICITY_RULE__BOUNDS);
309
    visibilityKindEEnum = createEEnum(VISIBILITY_KIND);
310
    directionEEnum = createEEnum(DIRECTION);
311
  }
308
312
309
		boundSpecificationEClass = createEClass(BOUND_SPECIFICATION);
313
  /**
310
		createEAttribute(boundSpecificationEClass, BOUND_SPECIFICATION__VALUE);
314
   * <!-- begin-user-doc -->
315
   * <!-- end-user-doc -->
316
   * @generated
317
   */
318
  private boolean isInitialized = false;
311
319
312
		// Create enums
320
  /**
313
		visibilityKindEEnum = createEEnum(VISIBILITY_KIND);
321
   * Complete the initialization of the package and its meta-model.  This
314
		directionEEnum = createEEnum(DIRECTION);
322
   * method is guarded to have no affect on any invocation but its first.
315
	}
323
   * <!-- begin-user-doc -->
324
   * <!-- end-user-doc -->
325
   * @generated
326
   */
327
  public void initializePackageContents()
328
  {
329
    if (isInitialized) return;
330
    isInitialized = true;
316
331
317
	/**
332
    // Initialize package
318
	 * <!-- begin-user-doc -->
333
    setName(eNAME);
319
	 * <!-- end-user-doc -->
334
    setNsPrefix(eNS_PREFIX);
320
	 * 
335
    setNsURI(eNS_URI);
321
	 * @generated
322
	 */
323
	private boolean isInitialized = false;
324
336
325
	/**
337
    // Obtain other dependent packages
326
	 * Complete the initialization of the package and its meta-model. This
338
    UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
327
	 * method is guarded to have no affect on any invocation but its first.
328
	 * <!-- begin-user-doc -->
329
	 * <!-- end-user-doc -->
330
	 * 
331
	 * @generated
332
	 */
333
	public void initializePackageContents() {
334
		if(isInitialized)
335
			return;
336
		isInitialized = true;
337
339
338
		// Initialize package
340
    // Create type parameters
339
		setName(eNAME);
340
		setNsPrefix(eNS_PREFIX);
341
		setNsURI(eNS_URI);
342
341
343
		// Obtain other dependent packages
342
    // Set bounds for type parameters
344
		UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
345
343
346
		// Create type parameters
344
    // Add supertypes to classes
347
345
348
		// Set bounds for type parameters
346
    // Initialize classes and features; add operations and parameters
347
    initEClass(qualifiedNameEClass, QualifiedName.class, "QualifiedName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
348
    initEReference(getQualifiedName_Path(), theUMLPackage.getNamespace(), null, "path", null, 0, 1, QualifiedName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
349
    initEReference(getQualifiedName_Remaining(), this.getQualifiedName(), null, "remaining", null, 0, 1, QualifiedName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
349
350
350
		// Add supertypes to classes
351
    initEClass(typeRuleEClass, TypeRule.class, "TypeRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
352
    initEReference(getTypeRule_Path(), this.getQualifiedName(), null, "path", null, 0, 1, TypeRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
353
    initEReference(getTypeRule_Type(), theUMLPackage.getType(), null, "type", null, 0, 1, TypeRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
351
354
352
		// Initialize classes and features; add operations and parameters
355
    initEClass(multiplicityRuleEClass, MultiplicityRule.class, "MultiplicityRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
353
		initEClass(qualifiedNameEClass, QualifiedName.class, "QualifiedName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
356
    initEReference(getMultiplicityRule_Bounds(), this.getBoundSpecification(), null, "bounds", null, 0, -1, MultiplicityRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
354
		initEReference(getQualifiedName_Path(), theUMLPackage.getNamespace(), null, "path", null, 0, 1, QualifiedName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
355
		initEReference(getQualifiedName_Remaining(), this.getQualifiedName(), null, "remaining", null, 0, 1, QualifiedName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
356
357
357
		initEClass(typeRuleEClass, TypeRule.class, "TypeRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
358
    initEClass(boundSpecificationEClass, BoundSpecification.class, "BoundSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
358
		initEReference(getTypeRule_Path(), this.getQualifiedName(), null, "path", null, 0, 1, TypeRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
359
    initEAttribute(getBoundSpecification_Value(), ecorePackage.getEString(), "value", null, 0, 1, BoundSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
359
		initEReference(getTypeRule_Type(), theUMLPackage.getType(), null, "type", null, 0, 1, TypeRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
360
360
361
		initEClass(multiplicityRuleEClass, MultiplicityRule.class, "MultiplicityRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
361
    // Initialize enums and add enum literals
362
		initEReference(getMultiplicityRule_Bounds(), this.getBoundSpecification(), null, "bounds", null, 0, -1, MultiplicityRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
362
    initEEnum(visibilityKindEEnum, VisibilityKind.class, "VisibilityKind");
363
    addEEnumLiteral(visibilityKindEEnum, VisibilityKind.PUBLIC);
364
    addEEnumLiteral(visibilityKindEEnum, VisibilityKind.PRIVATE);
365
    addEEnumLiteral(visibilityKindEEnum, VisibilityKind.PROTECTED);
366
    addEEnumLiteral(visibilityKindEEnum, VisibilityKind.PACKAGE);
363
367
364
		initEClass(boundSpecificationEClass, BoundSpecification.class, "BoundSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
368
    initEEnum(directionEEnum, Direction.class, "Direction");
365
		initEAttribute(getBoundSpecification_Value(), ecorePackage.getEString(), "value", null, 0, 1, BoundSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
369
    addEEnumLiteral(directionEEnum, Direction.IN);
370
    addEEnumLiteral(directionEEnum, Direction.OUT);
371
    addEEnumLiteral(directionEEnum, Direction.INOUT);
372
    addEEnumLiteral(directionEEnum, Direction.RETURN);
366
373
367
		// Initialize enums and add enum literals
374
    // Create resource
368
		initEEnum(visibilityKindEEnum, VisibilityKind.class, "VisibilityKind");
375
    createResource(eNS_URI);
369
		addEEnumLiteral(visibilityKindEEnum, VisibilityKind.PUBLIC);
376
  }
370
		addEEnumLiteral(visibilityKindEEnum, VisibilityKind.PRIVATE);
371
		addEEnumLiteral(visibilityKindEEnum, VisibilityKind.PROTECTED);
372
		addEEnumLiteral(visibilityKindEEnum, VisibilityKind.PACKAGE);
373
374
		initEEnum(directionEEnum, Direction.class, "Direction");
375
		addEEnumLiteral(directionEEnum, Direction.IN);
376
		addEEnumLiteral(directionEEnum, Direction.OUT);
377
		addEEnumLiteral(directionEEnum, Direction.INOUT);
378
		addEEnumLiteral(directionEEnum, Direction.RETURN);
379
380
		// Create resource
381
		createResource(eNS_URI);
382
	}
383
377
384
} //UmlCommonPackageImpl
378
} //UmlCommonPackageImpl
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/BoundSpecification.java (-31 / +29 lines)
Lines 12-57 Link Here
12
 * <!-- begin-user-doc -->
12
 * <!-- begin-user-doc -->
13
 * A representation of the model object '<em><b>Bound Specification</b></em>'.
13
 * A representation of the model object '<em><b>Bound Specification</b></em>'.
14
 * <!-- end-user-doc -->
14
 * <!-- end-user-doc -->
15
 * 
15
 *
16
 * <p>
16
 * <p>
17
 * The following features are supported:
17
 * The following features are supported:
18
 * <ul>
18
 * <ul>
19
 * <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification#getValue <em>Value</em>}</li>
19
 *   <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification#getValue <em>Value</em>}</li>
20
 * </ul>
20
 * </ul>
21
 * </p>
21
 * </p>
22
 * 
22
 *
23
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getBoundSpecification()
23
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getBoundSpecification()
24
 * @model
24
 * @model
25
 * @generated
25
 * @generated
26
 */
26
 */
27
public interface BoundSpecification extends EObject {
27
public interface BoundSpecification extends EObject
28
{
29
  /**
30
   * Returns the value of the '<em><b>Value</b></em>' attribute.
31
   * <!-- begin-user-doc -->
32
   * <p>
33
   * If the meaning of the '<em>Value</em>' attribute isn't clear,
34
   * there really should be more of a description here...
35
   * </p>
36
   * <!-- end-user-doc -->
37
   * @return the value of the '<em>Value</em>' attribute.
38
   * @see #setValue(String)
39
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getBoundSpecification_Value()
40
   * @model
41
   * @generated
42
   */
43
  String getValue();
28
44
29
	/**
45
  /**
30
	 * Returns the value of the '<em><b>Value</b></em>' attribute.
46
   * Sets the value of the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification#getValue <em>Value</em>}' attribute.
31
	 * <!-- begin-user-doc -->
47
   * <!-- begin-user-doc -->
32
	 * <p>
48
   * <!-- end-user-doc -->
33
	 * If the meaning of the '<em>Value</em>' attribute isn't clear, there really should be more of a description here...
49
   * @param value the new value of the '<em>Value</em>' attribute.
34
	 * </p>
50
   * @see #getValue()
35
	 * <!-- end-user-doc -->
51
   * @generated
36
	 * 
52
   */
37
	 * @return the value of the '<em>Value</em>' attribute.
53
  void setValue(String value);
38
	 * @see #setValue(String)
39
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getBoundSpecification_Value()
40
	 * @model
41
	 * @generated
42
	 */
43
	String getValue();
44
45
	/**
46
	 * Sets the value of the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification#getValue <em>Value</em>}' attribute.
47
	 * <!-- begin-user-doc -->
48
	 * <!-- end-user-doc -->
49
	 * 
50
	 * @param value
51
	 *        the new value of the '<em>Value</em>' attribute.
52
	 * @see #getValue()
53
	 * @generated
54
	 */
55
	void setValue(String value);
56
54
57
} // BoundSpecification
55
} // BoundSpecification
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/VisibilityKind.java (-238 / +237 lines)
Lines 17-282 Link Here
17
 * A representation of the literals of the enumeration '<em><b>Visibility Kind</b></em>',
17
 * A representation of the literals of the enumeration '<em><b>Visibility Kind</b></em>',
18
 * and utility methods for working with them.
18
 * and utility methods for working with them.
19
 * <!-- end-user-doc -->
19
 * <!-- end-user-doc -->
20
 * 
21
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getVisibilityKind()
20
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getVisibilityKind()
22
 * @model
21
 * @model
23
 * @generated
22
 * @generated
24
 */
23
 */
25
public enum VisibilityKind implements Enumerator {
24
public enum VisibilityKind implements Enumerator
26
	/**
25
{
27
	 * The '<em><b>Public</b></em>' literal object.
26
  /**
28
	 * <!-- begin-user-doc -->
27
   * The '<em><b>Public</b></em>' literal object.
29
	 * <!-- end-user-doc -->
28
   * <!-- begin-user-doc -->
30
	 * 
29
   * <!-- end-user-doc -->
31
	 * @see #PUBLIC_VALUE
30
   * @see #PUBLIC_VALUE
32
	 * @generated
31
   * @generated
33
	 * @ordered
32
   * @ordered
34
	 */
33
   */
35
	PUBLIC(0, "public", "+"),
34
  PUBLIC(0, "public", "+"),
36
35
37
	/**
36
  /**
38
	 * The '<em><b>Private</b></em>' literal object.
37
   * The '<em><b>Private</b></em>' literal object.
39
	 * <!-- begin-user-doc -->
38
   * <!-- begin-user-doc -->
40
	 * <!-- end-user-doc -->
39
   * <!-- end-user-doc -->
41
	 * 
40
   * @see #PRIVATE_VALUE
42
	 * @see #PRIVATE_VALUE
41
   * @generated
43
	 * @generated
42
   * @ordered
44
	 * @ordered
43
   */
45
	 */
44
  PRIVATE(1, "private", "-"),
46
	PRIVATE(1, "private", "-"),
47
45
48
	/**
46
  /**
49
	 * The '<em><b>Protected</b></em>' literal object.
47
   * The '<em><b>Protected</b></em>' literal object.
50
	 * <!-- begin-user-doc -->
48
   * <!-- begin-user-doc -->
51
	 * <!-- end-user-doc -->
49
   * <!-- end-user-doc -->
52
	 * 
50
   * @see #PROTECTED_VALUE
53
	 * @see #PROTECTED_VALUE
51
   * @generated
54
	 * @generated
52
   * @ordered
55
	 * @ordered
53
   */
56
	 */
54
  PROTECTED(2, "protected", "#"),
57
	PROTECTED(2, "protected", "#"),
58
55
59
	/**
56
  /**
60
	 * The '<em><b>Package</b></em>' literal object.
57
   * The '<em><b>Package</b></em>' literal object.
61
	 * <!-- begin-user-doc -->
58
   * <!-- begin-user-doc -->
62
	 * <!-- end-user-doc -->
59
   * <!-- end-user-doc -->
63
	 * 
60
   * @see #PACKAGE_VALUE
64
	 * @see #PACKAGE_VALUE
61
   * @generated
65
	 * @generated
62
   * @ordered
66
	 * @ordered
63
   */
67
	 */
64
  PACKAGE(3, "package", "~");
68
	PACKAGE(3, "package", "~");
69
65
70
	/**
66
  /**
71
	 * The '<em><b>Public</b></em>' literal value.
67
   * The '<em><b>Public</b></em>' literal value.
72
	 * <!-- begin-user-doc -->
68
   * <!-- begin-user-doc -->
73
	 * <p>
69
   * <p>
74
	 * If the meaning of '<em><b>Public</b></em>' literal object isn't clear, there really should be more of a description here...
70
   * If the meaning of '<em><b>Public</b></em>' literal object isn't clear,
75
	 * </p>
71
   * there really should be more of a description here...
76
	 * <!-- end-user-doc -->
72
   * </p>
77
	 * 
73
   * <!-- end-user-doc -->
78
	 * @see #PUBLIC
74
   * @see #PUBLIC
79
	 * @model name="public" literal="+"
75
   * @model name="public" literal="+"
80
	 * @generated
76
   * @generated
81
	 * @ordered
77
   * @ordered
82
	 */
78
   */
83
	public static final int PUBLIC_VALUE = 0;
79
  public static final int PUBLIC_VALUE = 0;
84
80
85
	/**
81
  /**
86
	 * The '<em><b>Private</b></em>' literal value.
82
   * The '<em><b>Private</b></em>' literal value.
87
	 * <!-- begin-user-doc -->
83
   * <!-- begin-user-doc -->
88
	 * <p>
84
   * <p>
89
	 * If the meaning of '<em><b>Private</b></em>' literal object isn't clear, there really should be more of a description here...
85
   * If the meaning of '<em><b>Private</b></em>' literal object isn't clear,
90
	 * </p>
86
   * there really should be more of a description here...
91
	 * <!-- end-user-doc -->
87
   * </p>
92
	 * 
88
   * <!-- end-user-doc -->
93
	 * @see #PRIVATE
89
   * @see #PRIVATE
94
	 * @model name="private" literal="-"
90
   * @model name="private" literal="-"
95
	 * @generated
91
   * @generated
96
	 * @ordered
92
   * @ordered
97
	 */
93
   */
98
	public static final int PRIVATE_VALUE = 1;
94
  public static final int PRIVATE_VALUE = 1;
99
95
100
	/**
96
  /**
101
	 * The '<em><b>Protected</b></em>' literal value.
97
   * The '<em><b>Protected</b></em>' literal value.
102
	 * <!-- begin-user-doc -->
98
   * <!-- begin-user-doc -->
103
	 * <p>
99
   * <p>
104
	 * If the meaning of '<em><b>Protected</b></em>' literal object isn't clear, there really should be more of a description here...
100
   * If the meaning of '<em><b>Protected</b></em>' literal object isn't clear,
105
	 * </p>
101
   * there really should be more of a description here...
106
	 * <!-- end-user-doc -->
102
   * </p>
107
	 * 
103
   * <!-- end-user-doc -->
108
	 * @see #PROTECTED
104
   * @see #PROTECTED
109
	 * @model name="protected" literal="#"
105
   * @model name="protected" literal="#"
110
	 * @generated
106
   * @generated
111
	 * @ordered
107
   * @ordered
112
	 */
108
   */
113
	public static final int PROTECTED_VALUE = 2;
109
  public static final int PROTECTED_VALUE = 2;
114
110
115
	/**
111
  /**
116
	 * The '<em><b>Package</b></em>' literal value.
112
   * The '<em><b>Package</b></em>' literal value.
117
	 * <!-- begin-user-doc -->
113
   * <!-- begin-user-doc -->
118
	 * <p>
114
   * <p>
119
	 * If the meaning of '<em><b>Package</b></em>' literal object isn't clear, there really should be more of a description here...
115
   * If the meaning of '<em><b>Package</b></em>' literal object isn't clear,
120
	 * </p>
116
   * there really should be more of a description here...
121
	 * <!-- end-user-doc -->
117
   * </p>
122
	 * 
118
   * <!-- end-user-doc -->
123
	 * @see #PACKAGE
119
   * @see #PACKAGE
124
	 * @model name="package" literal="~"
120
   * @model name="package" literal="~"
125
	 * @generated
121
   * @generated
126
	 * @ordered
122
   * @ordered
127
	 */
123
   */
128
	public static final int PACKAGE_VALUE = 3;
124
  public static final int PACKAGE_VALUE = 3;
129
125
130
	/**
126
  /**
131
	 * An array of all the '<em><b>Visibility Kind</b></em>' enumerators.
127
   * An array of all the '<em><b>Visibility Kind</b></em>' enumerators.
132
	 * <!-- begin-user-doc -->
128
   * <!-- begin-user-doc -->
133
	 * <!-- end-user-doc -->
129
   * <!-- end-user-doc -->
134
	 * 
130
   * @generated
135
	 * @generated
131
   */
136
	 */
132
  private static final VisibilityKind[] VALUES_ARRAY =
137
	private static final VisibilityKind[] VALUES_ARRAY = new VisibilityKind[]{ PUBLIC, PRIVATE, PROTECTED, PACKAGE, };
133
    new VisibilityKind[]
134
    {
135
      PUBLIC,
136
      PRIVATE,
137
      PROTECTED,
138
      PACKAGE,
139
    };
138
140
139
	/**
141
  /**
140
	 * A public read-only list of all the '<em><b>Visibility Kind</b></em>' enumerators.
142
   * A public read-only list of all the '<em><b>Visibility Kind</b></em>' enumerators.
141
	 * <!-- begin-user-doc -->
143
   * <!-- begin-user-doc -->
142
	 * <!-- end-user-doc -->
144
   * <!-- end-user-doc -->
143
	 * 
145
   * @generated
144
	 * @generated
146
   */
145
	 */
147
  public static final List<VisibilityKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
146
	public static final List<VisibilityKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
147
148
148
	/**
149
  /**
149
	 * Returns the '<em><b>Visibility Kind</b></em>' literal with the specified literal value.
150
   * Returns the '<em><b>Visibility Kind</b></em>' literal with the specified literal value.
150
	 * <!-- begin-user-doc -->
151
   * <!-- begin-user-doc -->
151
	 * <!-- end-user-doc -->
152
   * <!-- end-user-doc -->
152
	 * 
153
   * @generated
153
	 * @generated
154
   */
154
	 */
155
  public static VisibilityKind get(String literal)
155
	public static VisibilityKind get(String literal) {
156
  {
156
		for(int i = 0; i < VALUES_ARRAY.length; ++i) {
157
    for (int i = 0; i < VALUES_ARRAY.length; ++i)
157
			VisibilityKind result = VALUES_ARRAY[i];
158
    {
158
			if(result.toString().equals(literal)) {
159
      VisibilityKind result = VALUES_ARRAY[i];
159
				return result;
160
      if (result.toString().equals(literal))
160
			}
161
      {
161
		}
162
        return result;
162
		return null;
163
      }
163
	}
164
    }
165
    return null;
166
  }
164
167
165
	/**
168
  /**
166
	 * Returns the '<em><b>Visibility Kind</b></em>' literal with the specified name.
169
   * Returns the '<em><b>Visibility Kind</b></em>' literal with the specified name.
167
	 * <!-- begin-user-doc -->
170
   * <!-- begin-user-doc -->
168
	 * <!-- end-user-doc -->
171
   * <!-- end-user-doc -->
169
	 * 
172
   * @generated
170
	 * @generated
173
   */
171
	 */
174
  public static VisibilityKind getByName(String name)
172
	public static VisibilityKind getByName(String name) {
175
  {
173
		for(int i = 0; i < VALUES_ARRAY.length; ++i) {
176
    for (int i = 0; i < VALUES_ARRAY.length; ++i)
174
			VisibilityKind result = VALUES_ARRAY[i];
177
    {
175
			if(result.getName().equals(name)) {
178
      VisibilityKind result = VALUES_ARRAY[i];
176
				return result;
179
      if (result.getName().equals(name))
177
			}
180
      {
178
		}
181
        return result;
179
		return null;
182
      }
180
	}
183
    }
184
    return null;
185
  }
181
186
182
	/**
187
  /**
183
	 * Returns the '<em><b>Visibility Kind</b></em>' literal with the specified integer value.
188
   * Returns the '<em><b>Visibility Kind</b></em>' literal with the specified integer value.
184
	 * <!-- begin-user-doc -->
189
   * <!-- begin-user-doc -->
185
	 * <!-- end-user-doc -->
190
   * <!-- end-user-doc -->
186
	 * 
191
   * @generated
187
	 * @generated
192
   */
188
	 */
193
  public static VisibilityKind get(int value)
189
	public static VisibilityKind get(int value) {
194
  {
190
		switch(value) {
195
    switch (value)
191
		case PUBLIC_VALUE:
196
    {
192
			return PUBLIC;
197
      case PUBLIC_VALUE: return PUBLIC;
193
		case PRIVATE_VALUE:
198
      case PRIVATE_VALUE: return PRIVATE;
194
			return PRIVATE;
199
      case PROTECTED_VALUE: return PROTECTED;
195
		case PROTECTED_VALUE:
200
      case PACKAGE_VALUE: return PACKAGE;
196
			return PROTECTED;
201
    }
197
		case PACKAGE_VALUE:
202
    return null;
198
			return PACKAGE;
203
  }
199
		}
200
		return null;
201
	}
202
204
203
	/**
205
  /**
204
	 * <!-- begin-user-doc -->
206
   * <!-- begin-user-doc -->
205
	 * <!-- end-user-doc -->
207
   * <!-- end-user-doc -->
206
	 * 
208
   * @generated
207
	 * @generated
209
   */
208
	 */
210
  private final int value;
209
	private final int value;
210
211
211
	/**
212
  /**
212
	 * <!-- begin-user-doc -->
213
   * <!-- begin-user-doc -->
213
	 * <!-- end-user-doc -->
214
   * <!-- end-user-doc -->
214
	 * 
215
   * @generated
215
	 * @generated
216
   */
216
	 */
217
  private final String name;
217
	private final String name;
218
218
219
	/**
219
  /**
220
	 * <!-- begin-user-doc -->
220
   * <!-- begin-user-doc -->
221
	 * <!-- end-user-doc -->
221
   * <!-- end-user-doc -->
222
	 * 
222
   * @generated
223
	 * @generated
223
   */
224
	 */
224
  private final String literal;
225
	private final String literal;
226
225
227
	/**
226
  /**
228
	 * Only this class can construct instances.
227
   * Only this class can construct instances.
229
	 * <!-- begin-user-doc -->
228
   * <!-- begin-user-doc -->
230
	 * <!-- end-user-doc -->
229
   * <!-- end-user-doc -->
231
	 * 
230
   * @generated
232
	 * @generated
231
   */
233
	 */
232
  private VisibilityKind(int value, String name, String literal)
234
	private VisibilityKind(int value, String name, String literal) {
233
  {
235
		this.value = value;
234
    this.value = value;
236
		this.name = name;
235
    this.name = name;
237
		this.literal = literal;
236
    this.literal = literal;
238
	}
237
  }
239
238
240
	/**
239
  /**
241
	 * <!-- begin-user-doc -->
240
   * <!-- begin-user-doc -->
242
	 * <!-- end-user-doc -->
241
   * <!-- end-user-doc -->
243
	 * 
242
   * @generated
244
	 * @generated
243
   */
245
	 */
244
  public int getValue()
246
	public int getValue() {
245
  {
247
		return value;
246
    return value;
248
	}
247
  }
249
248
250
	/**
249
  /**
251
	 * <!-- begin-user-doc -->
250
   * <!-- begin-user-doc -->
252
	 * <!-- end-user-doc -->
251
   * <!-- end-user-doc -->
253
	 * 
252
   * @generated
254
	 * @generated
253
   */
255
	 */
254
  public String getName()
256
	public String getName() {
255
  {
257
		return name;
256
    return name;
258
	}
257
  }
259
258
260
	/**
259
  /**
261
	 * <!-- begin-user-doc -->
260
   * <!-- begin-user-doc -->
262
	 * <!-- end-user-doc -->
261
   * <!-- end-user-doc -->
263
	 * 
262
   * @generated
264
	 * @generated
263
   */
265
	 */
264
  public String getLiteral()
266
	public String getLiteral() {
265
  {
267
		return literal;
266
    return literal;
268
	}
267
  }
269
268
270
	/**
269
  /**
271
	 * Returns the literal value of the enumerator, which is its string representation.
270
   * Returns the literal value of the enumerator, which is its string representation.
272
	 * <!-- begin-user-doc -->
271
   * <!-- begin-user-doc -->
273
	 * <!-- end-user-doc -->
272
   * <!-- end-user-doc -->
274
	 * 
273
   * @generated
275
	 * @generated
274
   */
276
	 */
275
  @Override
277
	@Override
276
  public String toString()
278
	public String toString() {
277
  {
279
		return literal;
278
    return literal;
280
	}
279
  }
281
280
  
282
} //VisibilityKind
281
} //VisibilityKind
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/TypeRule.java (-58 / +55 lines)
Lines 7-87 Link Here
7
package org.eclipse.papyrus.common.editor.xtext.umlCommon;
7
package org.eclipse.papyrus.common.editor.xtext.umlCommon;
8
8
9
import org.eclipse.emf.ecore.EObject;
9
import org.eclipse.emf.ecore.EObject;
10
10
import org.eclipse.uml2.uml.Type;
11
import org.eclipse.uml2.uml.Type;
11
12
12
/**
13
/**
13
 * <!-- begin-user-doc -->
14
 * <!-- begin-user-doc -->
14
 * A representation of the model object '<em><b>Type Rule</b></em>'.
15
 * A representation of the model object '<em><b>Type Rule</b></em>'.
15
 * <!-- end-user-doc -->
16
 * <!-- end-user-doc -->
16
 * 
17
 *
17
 * <p>
18
 * <p>
18
 * The following features are supported:
19
 * The following features are supported:
19
 * <ul>
20
 * <ul>
20
 * <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule#getPath <em>Path</em>}</li>
21
 *   <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule#getPath <em>Path</em>}</li>
21
 * <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule#getType <em>Type</em>}</li>
22
 *   <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule#getType <em>Type</em>}</li>
22
 * </ul>
23
 * </ul>
23
 * </p>
24
 * </p>
24
 * 
25
 *
25
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getTypeRule()
26
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getTypeRule()
26
 * @model
27
 * @model
27
 * @generated
28
 * @generated
28
 */
29
 */
29
public interface TypeRule extends EObject {
30
public interface TypeRule extends EObject
31
{
32
  /**
33
   * Returns the value of the '<em><b>Path</b></em>' containment reference.
34
   * <!-- begin-user-doc -->
35
   * <p>
36
   * If the meaning of the '<em>Path</em>' containment reference isn't clear,
37
   * there really should be more of a description here...
38
   * </p>
39
   * <!-- end-user-doc -->
40
   * @return the value of the '<em>Path</em>' containment reference.
41
   * @see #setPath(QualifiedName)
42
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getTypeRule_Path()
43
   * @model containment="true"
44
   * @generated
45
   */
46
  QualifiedName getPath();
30
47
31
	/**
48
  /**
32
	 * Returns the value of the '<em><b>Path</b></em>' containment reference.
49
   * Sets the value of the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule#getPath <em>Path</em>}' containment reference.
33
	 * <!-- begin-user-doc -->
50
   * <!-- begin-user-doc -->
34
	 * <p>
51
   * <!-- end-user-doc -->
35
	 * If the meaning of the '<em>Path</em>' containment reference isn't clear, there really should be more of a description here...
52
   * @param value the new value of the '<em>Path</em>' containment reference.
36
	 * </p>
53
   * @see #getPath()
37
	 * <!-- end-user-doc -->
54
   * @generated
38
	 * 
55
   */
39
	 * @return the value of the '<em>Path</em>' containment reference.
56
  void setPath(QualifiedName value);
40
	 * @see #setPath(QualifiedName)
41
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getTypeRule_Path()
42
	 * @model containment="true"
43
	 * @generated
44
	 */
45
	QualifiedName getPath();
46
57
47
	/**
58
  /**
48
	 * Sets the value of the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule#getPath <em>Path</em>}' containment reference.
59
   * Returns the value of the '<em><b>Type</b></em>' reference.
49
	 * <!-- begin-user-doc -->
60
   * <!-- begin-user-doc -->
50
	 * <!-- end-user-doc -->
61
   * <p>
51
	 * 
62
   * If the meaning of the '<em>Type</em>' reference isn't clear,
52
	 * @param value
63
   * there really should be more of a description here...
53
	 *        the new value of the '<em>Path</em>' containment reference.
64
   * </p>
54
	 * @see #getPath()
65
   * <!-- end-user-doc -->
55
	 * @generated
66
   * @return the value of the '<em>Type</em>' reference.
56
	 */
67
   * @see #setType(Type)
57
	void setPath(QualifiedName value);
68
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getTypeRule_Type()
69
   * @model
70
   * @generated
71
   */
72
  Type getType();
58
73
59
	/**
74
  /**
60
	 * Returns the value of the '<em><b>Type</b></em>' reference.
75
   * Sets the value of the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule#getType <em>Type</em>}' reference.
61
	 * <!-- begin-user-doc -->
76
   * <!-- begin-user-doc -->
62
	 * <p>
77
   * <!-- end-user-doc -->
63
	 * If the meaning of the '<em>Type</em>' reference isn't clear, there really should be more of a description here...
78
   * @param value the new value of the '<em>Type</em>' reference.
64
	 * </p>
79
   * @see #getType()
65
	 * <!-- end-user-doc -->
80
   * @generated
66
	 * 
81
   */
67
	 * @return the value of the '<em>Type</em>' reference.
82
  void setType(Type value);
68
	 * @see #setType(Type)
69
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getTypeRule_Type()
70
	 * @model
71
	 * @generated
72
	 */
73
	Type getType();
74
75
	/**
76
	 * Sets the value of the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.TypeRule#getType <em>Type</em>}' reference.
77
	 * <!-- begin-user-doc -->
78
	 * <!-- end-user-doc -->
79
	 * 
80
	 * @param value
81
	 *        the new value of the '<em>Type</em>' reference.
82
	 * @see #getType()
83
	 * @generated
84
	 */
85
	void setType(Type value);
86
83
87
} // TypeRule
84
} // TypeRule
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/QualifiedName.java (-59 / +55 lines)
Lines 7-88 Link Here
7
package org.eclipse.papyrus.common.editor.xtext.umlCommon;
7
package org.eclipse.papyrus.common.editor.xtext.umlCommon;
8
8
9
import org.eclipse.emf.ecore.EObject;
9
import org.eclipse.emf.ecore.EObject;
10
10
import org.eclipse.uml2.uml.Namespace;
11
import org.eclipse.uml2.uml.Namespace;
11
12
12
/**
13
/**
13
 * <!-- begin-user-doc -->
14
 * <!-- begin-user-doc -->
14
 * A representation of the model object '<em><b>Qualified Name</b></em>'.
15
 * A representation of the model object '<em><b>Qualified Name</b></em>'.
15
 * <!-- end-user-doc -->
16
 * <!-- end-user-doc -->
16
 * 
17
 *
17
 * <p>
18
 * <p>
18
 * The following features are supported:
19
 * The following features are supported:
19
 * <ul>
20
 * <ul>
20
 * <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName#getPath <em>Path</em>}</li>
21
 *   <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName#getPath <em>Path</em>}</li>
21
 * <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName#getRemaining <em>Remaining</em>}</li>
22
 *   <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName#getRemaining <em>Remaining</em>}</li>
22
 * </ul>
23
 * </ul>
23
 * </p>
24
 * </p>
24
 * 
25
 *
25
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getQualifiedName()
26
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getQualifiedName()
26
 * @model
27
 * @model
27
 * @generated
28
 * @generated
28
 */
29
 */
29
public interface QualifiedName extends EObject {
30
public interface QualifiedName extends EObject
31
{
32
  /**
33
   * Returns the value of the '<em><b>Path</b></em>' reference.
34
   * <!-- begin-user-doc -->
35
   * <p>
36
   * If the meaning of the '<em>Path</em>' reference isn't clear,
37
   * there really should be more of a description here...
38
   * </p>
39
   * <!-- end-user-doc -->
40
   * @return the value of the '<em>Path</em>' reference.
41
   * @see #setPath(Namespace)
42
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getQualifiedName_Path()
43
   * @model
44
   * @generated
45
   */
46
  Namespace getPath();
30
47
31
	/**
48
  /**
32
	 * Returns the value of the '<em><b>Path</b></em>' reference.
49
   * Sets the value of the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName#getPath <em>Path</em>}' reference.
33
	 * <!-- begin-user-doc -->
50
   * <!-- begin-user-doc -->
34
	 * <p>
51
   * <!-- end-user-doc -->
35
	 * If the meaning of the '<em>Path</em>' reference isn't clear, there really should be more of a description here...
52
   * @param value the new value of the '<em>Path</em>' reference.
36
	 * </p>
53
   * @see #getPath()
37
	 * <!-- end-user-doc -->
54
   * @generated
38
	 * 
55
   */
39
	 * @return the value of the '<em>Path</em>' reference.
56
  void setPath(Namespace value);
40
	 * @see #setPath(Namespace)
41
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getQualifiedName_Path()
42
	 * @model
43
	 * @generated
44
	 */
45
	Namespace getPath();
46
57
47
	/**
58
  /**
48
	 * Sets the value of the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName#getPath <em>Path</em>}' reference.
59
   * Returns the value of the '<em><b>Remaining</b></em>' containment reference.
49
	 * <!-- begin-user-doc -->
60
   * <!-- begin-user-doc -->
50
	 * <!-- end-user-doc -->
61
   * <p>
51
	 * 
62
   * If the meaning of the '<em>Remaining</em>' containment reference isn't clear,
52
	 * @param value
63
   * there really should be more of a description here...
53
	 *        the new value of the '<em>Path</em>' reference.
64
   * </p>
54
	 * @see #getPath()
65
   * <!-- end-user-doc -->
55
	 * @generated
66
   * @return the value of the '<em>Remaining</em>' containment reference.
56
	 */
67
   * @see #setRemaining(QualifiedName)
57
	void setPath(Namespace value);
68
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getQualifiedName_Remaining()
69
   * @model containment="true"
70
   * @generated
71
   */
72
  QualifiedName getRemaining();
58
73
59
	/**
74
  /**
60
	 * Returns the value of the '<em><b>Remaining</b></em>' containment reference.
75
   * Sets the value of the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName#getRemaining <em>Remaining</em>}' containment reference.
61
	 * <!-- begin-user-doc -->
76
   * <!-- begin-user-doc -->
62
	 * <p>
77
   * <!-- end-user-doc -->
63
	 * If the meaning of the '<em>Remaining</em>' containment reference isn't clear, there really should be more of a description here...
78
   * @param value the new value of the '<em>Remaining</em>' containment reference.
64
	 * </p>
79
   * @see #getRemaining()
65
	 * <!-- end-user-doc -->
80
   * @generated
66
	 * 
81
   */
67
	 * @return the value of the '<em>Remaining</em>' containment reference.
82
  void setRemaining(QualifiedName value);
68
	 * @see #setRemaining(QualifiedName)
69
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getQualifiedName_Remaining()
70
	 * @model containment="true"
71
	 * @generated
72
	 */
73
	QualifiedName getRemaining();
74
75
	/**
76
	 * Sets the value of the '{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.QualifiedName#getRemaining <em>Remaining</em>}' containment
77
	 * reference.
78
	 * <!-- begin-user-doc -->
79
	 * <!-- end-user-doc -->
80
	 * 
81
	 * @param value
82
	 *        the new value of the '<em>Remaining</em>' containment reference.
83
	 * @see #getRemaining()
84
	 * @generated
85
	 */
86
	void setRemaining(QualifiedName value);
87
83
88
} // QualifiedName
84
} // QualifiedName
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/UmlCommonFactory.java (-56 / +49 lines)
Lines 13-81 Link Here
13
 * The <b>Factory</b> for the model.
13
 * The <b>Factory</b> for the model.
14
 * It provides a create method for each non-abstract class of the model.
14
 * It provides a create method for each non-abstract class of the model.
15
 * <!-- end-user-doc -->
15
 * <!-- end-user-doc -->
16
 * 
17
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage
16
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage
18
 * @generated
17
 * @generated
19
 */
18
 */
20
public interface UmlCommonFactory extends EFactory {
19
public interface UmlCommonFactory extends EFactory
20
{
21
  /**
22
   * The singleton instance of the factory.
23
   * <!-- begin-user-doc -->
24
   * <!-- end-user-doc -->
25
   * @generated
26
   */
27
  UmlCommonFactory eINSTANCE = org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonFactoryImpl.init();
21
28
22
	/**
29
  /**
23
	 * The singleton instance of the factory.
30
   * Returns a new object of class '<em>Qualified Name</em>'.
24
	 * <!-- begin-user-doc -->
31
   * <!-- begin-user-doc -->
25
	 * <!-- end-user-doc -->
32
   * <!-- end-user-doc -->
26
	 * 
33
   * @return a new object of class '<em>Qualified Name</em>'.
27
	 * @generated
34
   * @generated
28
	 */
35
   */
29
	UmlCommonFactory eINSTANCE = org.eclipse.papyrus.common.editor.xtext.umlCommon.impl.UmlCommonFactoryImpl.init();
36
  QualifiedName createQualifiedName();
30
37
31
	/**
38
  /**
32
	 * Returns a new object of class '<em>Qualified Name</em>'.
39
   * Returns a new object of class '<em>Type Rule</em>'.
33
	 * <!-- begin-user-doc -->
40
   * <!-- begin-user-doc -->
34
	 * <!-- end-user-doc -->
41
   * <!-- end-user-doc -->
35
	 * 
42
   * @return a new object of class '<em>Type Rule</em>'.
36
	 * @return a new object of class '<em>Qualified Name</em>'.
43
   * @generated
37
	 * @generated
44
   */
38
	 */
45
  TypeRule createTypeRule();
39
	QualifiedName createQualifiedName();
40
46
41
	/**
47
  /**
42
	 * Returns a new object of class '<em>Type Rule</em>'.
48
   * Returns a new object of class '<em>Multiplicity Rule</em>'.
43
	 * <!-- begin-user-doc -->
49
   * <!-- begin-user-doc -->
44
	 * <!-- end-user-doc -->
50
   * <!-- end-user-doc -->
45
	 * 
51
   * @return a new object of class '<em>Multiplicity Rule</em>'.
46
	 * @return a new object of class '<em>Type Rule</em>'.
52
   * @generated
47
	 * @generated
53
   */
48
	 */
54
  MultiplicityRule createMultiplicityRule();
49
	TypeRule createTypeRule();
50
55
51
	/**
56
  /**
52
	 * Returns a new object of class '<em>Multiplicity Rule</em>'.
57
   * Returns a new object of class '<em>Bound Specification</em>'.
53
	 * <!-- begin-user-doc -->
58
   * <!-- begin-user-doc -->
54
	 * <!-- end-user-doc -->
59
   * <!-- end-user-doc -->
55
	 * 
60
   * @return a new object of class '<em>Bound Specification</em>'.
56
	 * @return a new object of class '<em>Multiplicity Rule</em>'.
61
   * @generated
57
	 * @generated
62
   */
58
	 */
63
  BoundSpecification createBoundSpecification();
59
	MultiplicityRule createMultiplicityRule();
60
64
61
	/**
65
  /**
62
	 * Returns a new object of class '<em>Bound Specification</em>'.
66
   * Returns the package supported by this factory.
63
	 * <!-- begin-user-doc -->
67
   * <!-- begin-user-doc -->
64
	 * <!-- end-user-doc -->
68
   * <!-- end-user-doc -->
65
	 * 
69
   * @return the package supported by this factory.
66
	 * @return a new object of class '<em>Bound Specification</em>'.
70
   * @generated
67
	 * @generated
71
   */
68
	 */
72
  UmlCommonPackage getUmlCommonPackage();
69
	BoundSpecification createBoundSpecification();
70
71
	/**
72
	 * Returns the package supported by this factory.
73
	 * <!-- begin-user-doc -->
74
	 * <!-- end-user-doc -->
75
	 * 
76
	 * @return the package supported by this factory.
77
	 * @generated
78
	 */
79
	UmlCommonPackage getUmlCommonPackage();
80
73
81
} //UmlCommonFactory
74
} //UmlCommonFactory
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/umlCommon/MultiplicityRule.java (-20 / +21 lines)
Lines 7-46 Link Here
7
package org.eclipse.papyrus.common.editor.xtext.umlCommon;
7
package org.eclipse.papyrus.common.editor.xtext.umlCommon;
8
8
9
import org.eclipse.emf.common.util.EList;
9
import org.eclipse.emf.common.util.EList;
10
10
import org.eclipse.emf.ecore.EObject;
11
import org.eclipse.emf.ecore.EObject;
11
12
12
/**
13
/**
13
 * <!-- begin-user-doc -->
14
 * <!-- begin-user-doc -->
14
 * A representation of the model object '<em><b>Multiplicity Rule</b></em>'.
15
 * A representation of the model object '<em><b>Multiplicity Rule</b></em>'.
15
 * <!-- end-user-doc -->
16
 * <!-- end-user-doc -->
16
 * 
17
 *
17
 * <p>
18
 * <p>
18
 * The following features are supported:
19
 * The following features are supported:
19
 * <ul>
20
 * <ul>
20
 * <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule#getBounds <em>Bounds</em>}</li>
21
 *   <li>{@link org.eclipse.papyrus.common.editor.xtext.umlCommon.MultiplicityRule#getBounds <em>Bounds</em>}</li>
21
 * </ul>
22
 * </ul>
22
 * </p>
23
 * </p>
23
 * 
24
 *
24
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getMultiplicityRule()
25
 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getMultiplicityRule()
25
 * @model
26
 * @model
26
 * @generated
27
 * @generated
27
 */
28
 */
28
public interface MultiplicityRule extends EObject {
29
public interface MultiplicityRule extends EObject
29
30
{
30
	/**
31
  /**
31
	 * Returns the value of the '<em><b>Bounds</b></em>' containment reference list.
32
   * Returns the value of the '<em><b>Bounds</b></em>' containment reference list.
32
	 * The list contents are of type {@link org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification}.
33
   * The list contents are of type {@link org.eclipse.papyrus.common.editor.xtext.umlCommon.BoundSpecification}.
33
	 * <!-- begin-user-doc -->
34
   * <!-- begin-user-doc -->
34
	 * <p>
35
   * <p>
35
	 * If the meaning of the '<em>Bounds</em>' containment reference list isn't clear, there really should be more of a description here...
36
   * If the meaning of the '<em>Bounds</em>' containment reference list isn't clear,
36
	 * </p>
37
   * there really should be more of a description here...
37
	 * <!-- end-user-doc -->
38
   * </p>
38
	 * 
39
   * <!-- end-user-doc -->
39
	 * @return the value of the '<em>Bounds</em>' containment reference list.
40
   * @return the value of the '<em>Bounds</em>' containment reference list.
40
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getMultiplicityRule_Bounds()
41
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage#getMultiplicityRule_Bounds()
41
	 * @model containment="true"
42
   * @model containment="true"
42
	 * @generated
43
   * @generated
43
	 */
44
   */
44
	EList<BoundSpecification> getBounds();
45
  EList<BoundSpecification> getBounds();
45
46
46
} // MultiplicityRule
47
} // MultiplicityRule
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.xmi (+2 lines)
Lines 198-203 Link Here
198
                <elements xsi:type="xtext:Keyword" value="n"/>
198
                <elements xsi:type="xtext:Keyword" value="n"/>
199
                <elements xsi:type="xtext:Keyword" value="f"/>
199
                <elements xsi:type="xtext:Keyword" value="f"/>
200
                <elements xsi:type="xtext:Keyword" value="r"/>
200
                <elements xsi:type="xtext:Keyword" value="r"/>
201
                <elements xsi:type="xtext:Keyword" value="u"/>
201
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
202
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
202
                <elements xsi:type="xtext:Keyword" value="'"/>
203
                <elements xsi:type="xtext:Keyword" value="'"/>
203
                <elements xsi:type="xtext:Keyword" value="\"/>
204
                <elements xsi:type="xtext:Keyword" value="\"/>
Lines 223-228 Link Here
223
                <elements xsi:type="xtext:Keyword" value="n"/>
224
                <elements xsi:type="xtext:Keyword" value="n"/>
224
                <elements xsi:type="xtext:Keyword" value="f"/>
225
                <elements xsi:type="xtext:Keyword" value="f"/>
225
                <elements xsi:type="xtext:Keyword" value="r"/>
226
                <elements xsi:type="xtext:Keyword" value="r"/>
227
                <elements xsi:type="xtext:Keyword" value="u"/>
226
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
228
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
227
                <elements xsi:type="xtext:Keyword" value="'"/>
229
                <elements xsi:type="xtext:Keyword" value="'"/>
228
                <elements xsi:type="xtext:Keyword" value="\"/>
230
                <elements xsi:type="xtext:Keyword" value="\"/>
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/validation/AbstractUmlCommonJavaValidator.java (-17 / +4 lines)
Lines 1-18 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.common.editor.xtext.validation;
1
package org.eclipse.papyrus.common.editor.xtext.validation;
15
2
 
16
import java.util.ArrayList;
3
import java.util.ArrayList;
17
import java.util.List;
4
import java.util.List;
18
5
Lines 20-32 Link Here
20
import org.eclipse.xtext.validation.AbstractDeclarativeValidator;
7
import org.eclipse.xtext.validation.AbstractDeclarativeValidator;
21
import org.eclipse.xtext.validation.ComposedChecks;
8
import org.eclipse.xtext.validation.ComposedChecks;
22
9
23
@ComposedChecks(validators = { org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class })
10
@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class})
24
public class AbstractUmlCommonJavaValidator extends AbstractDeclarativeValidator {
11
public class AbstractUmlCommonJavaValidator extends AbstractDeclarativeValidator {
25
12
26
	@Override
13
	@Override
27
	protected List<EPackage> getEPackages() {
14
	protected List<EPackage> getEPackages() {
28
		List<EPackage> result = new ArrayList<EPackage>();
15
	    List<EPackage> result = new ArrayList<EPackage>();
29
		result.add(org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage.eINSTANCE);
16
	    result.add(org.eclipse.papyrus.common.editor.xtext.umlCommon.UmlCommonPackage.eINSTANCE);
30
		return result;
17
		return result;
31
	}
18
	}
32
19
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/AbstractUmlCommonRuntimeModule.java (-10 / +14 lines)
Lines 14-20 Link Here
14
/**
14
/**
15
 * Manual modifications go to {org.eclipse.papyrus.common.editor.xtext.UmlCommonRuntimeModule}
15
 * Manual modifications go to {org.eclipse.papyrus.common.editor.xtext.UmlCommonRuntimeModule}
16
 */
16
 */
17
@SuppressWarnings("all")
17
 @SuppressWarnings("all")
18
public abstract class AbstractUmlCommonRuntimeModule extends DefaultRuntimeModule {
18
public abstract class AbstractUmlCommonRuntimeModule extends DefaultRuntimeModule {
19
19
20
	protected Properties properties = null;
20
	protected Properties properties = null;
Lines 24-39 Link Here
24
		properties = tryBindProperties(binder, "org/eclipse/papyrus/common/editor/xtext/UmlCommon.properties");
24
		properties = tryBindProperties(binder, "org/eclipse/papyrus/common/editor/xtext/UmlCommon.properties");
25
		super.configure(binder);
25
		super.configure(binder);
26
	}
26
	}
27
27
	
28
	public void configureLanguageName(Binder binder) {
28
	public void configureLanguageName(Binder binder) {
29
		binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.papyrus.common.editor.xtext.UmlCommon");
29
		binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.papyrus.common.editor.xtext.UmlCommon");
30
	}
30
	}
31
31
	
32
	public void configureFileExtensions(Binder binder) {
32
	public void configureFileExtensions(Binder binder) {
33
		if(properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
33
		if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
34
			binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("umlcommon");
34
			binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("umlcommon");
35
	}
35
	}
36
36
	
37
	// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
37
	// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
38
	public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
38
	public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
39
		return org.eclipse.papyrus.common.editor.xtext.services.UmlCommonGrammarAccess.class;
39
		return org.eclipse.papyrus.common.editor.xtext.services.UmlCommonGrammarAccess.class;
Lines 45-51 Link Here
45
	}
45
	}
46
46
47
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
47
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
48
	public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrParser> bindIAntlrParser() {
48
	public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
49
		return org.eclipse.papyrus.common.editor.xtext.parser.antlr.UmlCommonParser.class;
49
		return org.eclipse.papyrus.common.editor.xtext.parser.antlr.UmlCommonParser.class;
50
	}
50
	}
51
51
Lines 80-87 Link Here
80
	}
80
	}
81
81
82
	// contributed by org.eclipse.xtext.generator.validation.JavaValidatorFragment
82
	// contributed by org.eclipse.xtext.generator.validation.JavaValidatorFragment
83
	@org.eclipse.xtext.service.SingletonBinding(eager = true)
83
	@org.eclipse.xtext.service.SingletonBinding(eager=true)	public Class<? extends org.eclipse.papyrus.common.editor.xtext.validation.UmlCommonJavaValidator> bindUmlCommonJavaValidator() {
84
	public Class<? extends org.eclipse.papyrus.common.editor.xtext.validation.UmlCommonJavaValidator> bindUmlCommonJavaValidator() {
85
		return org.eclipse.papyrus.common.editor.xtext.validation.UmlCommonJavaValidator.class;
84
		return org.eclipse.papyrus.common.editor.xtext.validation.UmlCommonJavaValidator.class;
86
	}
85
	}
87
86
Lines 92-98 Link Here
92
91
93
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
92
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
94
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
93
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
95
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named("org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegate")).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
94
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
96
	}
95
	}
97
96
98
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
97
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
Lines 100-105 Link Here
100
		return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
99
		return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
101
	}
100
	}
102
101
102
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
103
	public void configureIgnoreCaseLinking(com.google.inject.Binder binder) {
104
		binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false);
105
	}
106
103
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
107
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
104
	public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
108
	public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
105
		return org.eclipse.xtext.naming.SimpleNameProvider.class;
109
		return org.eclipse.xtext.naming.SimpleNameProvider.class;
Lines 122-128 Link Here
122
126
123
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
127
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
124
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
128
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
125
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
129
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
126
	}
130
	}
127
131
128
	// contributed by org.eclipse.xtext.generator.formatting.FormatterFragment
132
	// contributed by org.eclipse.xtext.generator.formatting.FormatterFragment
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/parseTreeConstruction/UmlCommonParsetreeConstructor.java (-518 / +460 lines)
Lines 1-634 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
package org.eclipse.papyrus.common.editor.xtext.parseTreeConstruction;
4
package org.eclipse.papyrus.common.editor.xtext.parseTreeConstruction;
5
5
6
import org.eclipse.emf.ecore.EObject;
6
import org.eclipse.emf.ecore.*;
7
import org.eclipse.papyrus.common.editor.xtext.services.UmlCommonGrammarAccess;
7
import org.eclipse.xtext.*;
8
import org.eclipse.xtext.Assignment;
9
import org.eclipse.xtext.Group;
10
import org.eclipse.xtext.Keyword;
11
import org.eclipse.xtext.parsetree.reconstr.IEObjectConsumer;
8
import org.eclipse.xtext.parsetree.reconstr.IEObjectConsumer;
12
import org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor;
9
import org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor;
13
10
11
import org.eclipse.papyrus.common.editor.xtext.services.UmlCommonGrammarAccess;
12
14
import com.google.inject.Inject;
13
import com.google.inject.Inject;
15
14
16
@SuppressWarnings("all")
15
@SuppressWarnings("all")
17
public class UmlCommonParsetreeConstructor extends AbstractParseTreeConstructor {
16
public class UmlCommonParsetreeConstructor extends AbstractParseTreeConstructor {
18
17
		
19
	@Inject
18
	@Inject
20
	private UmlCommonGrammarAccess grammarAccess;
19
	private UmlCommonGrammarAccess grammarAccess;
21
20
	
22
	@Override
21
	@Override
23
	protected AbstractToken getRootToken(IEObjectConsumer inst) {
22
	protected AbstractToken getRootToken(IEObjectConsumer inst) {
24
		return new ThisRootNode(inst);
23
		return new ThisRootNode(inst);	
25
	}
24
	}
26
25
	
27
	protected class ThisRootNode extends RootToken {
26
protected class ThisRootNode extends RootToken {
28
27
	public ThisRootNode(IEObjectConsumer inst) {
29
		public ThisRootNode(IEObjectConsumer inst) {
28
		super(inst);
30
			super(inst);
31
		}
32
33
		@Override
34
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
35
			switch(index) {
36
			case 0:
37
				return new QualifiedName_Group(this, this, 0, inst);
38
			case 1:
39
				return new TypeRule_Group(this, this, 1, inst);
40
			case 2:
41
				return new MultiplicityRule_Group(this, this, 2, inst);
42
			case 3:
43
				return new BoundSpecification_ValueAssignment(this, this, 3, inst);
44
			default:
45
				return null;
46
			}
47
		}
48
	}
29
	}
49
30
	
50
31
	@Override
51
	/************
32
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
52
	 * begin Rule QualifiedName ****************
33
		switch(index) {
53
	 * 
34
			case 0: return new QualifiedName_Group(this, this, 0, inst);
54
	 * QualifiedName:
35
			case 1: return new TypeRule_Group(this, this, 1, inst);
55
	 * path=[uml::Namespace] "::" remaining=QualifiedName?;
36
			case 2: return new MultiplicityRule_Group(this, this, 2, inst);
56
	 * 
37
			case 3: return new BoundSpecification_ValueAssignment(this, this, 3, inst);
57
	 **/
38
			default: return null;
58
39
		}	
59
	// path=[uml::Namespace] "::" remaining=QualifiedName?
40
	}	
60
	protected class QualifiedName_Group extends GroupToken {
41
}
61
42
	
62
		public QualifiedName_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
63
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
64
		}
65
66
		@Override
67
		public Group getGrammarElement() {
68
			return grammarAccess.getQualifiedNameAccess().getGroup();
69
		}
70
71
		@Override
72
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
73
			switch(index) {
74
			case 0:
75
				return new QualifiedName_RemainingAssignment_2(lastRuleCallOrigin, this, 0, inst);
76
			case 1:
77
				return new QualifiedName_ColonColonKeyword_1(lastRuleCallOrigin, this, 1, inst);
78
			default:
79
				return null;
80
			}
81
		}
82
43
83
		@Override
44
/************ begin Rule QualifiedName ****************
84
		public IEObjectConsumer tryConsume() {
45
 *
85
			if(getEObject().eClass() != grammarAccess.getQualifiedNameRule().getType().getClassifier())
46
 * QualifiedName:
86
				return null;
47
 * 	path=[uml::Namespace] "::" remaining=QualifiedName?;
87
			return eObjectConsumer;
48
 *
88
		}
49
 **/
89
50
51
// path=[uml::Namespace] "::" remaining=QualifiedName?
52
protected class QualifiedName_Group extends GroupToken {
53
	
54
	public QualifiedName_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
55
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
90
	}
56
	}
91
57
	
92
	// path=[uml::Namespace]
58
	@Override
93
	protected class QualifiedName_PathAssignment_0 extends AssignmentToken {
59
	public Group getGrammarElement() {
94
60
		return grammarAccess.getQualifiedNameAccess().getGroup();
95
		public QualifiedName_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
61
	}
96
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
97
		}
98
99
		@Override
100
		public Assignment getGrammarElement() {
101
			return grammarAccess.getQualifiedNameAccess().getPathAssignment_0();
102
		}
103
62
104
		@Override
63
    @Override
105
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
64
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
106
			switch(index) {
65
		switch(index) {
107
			default:
66
			case 0: return new QualifiedName_RemainingAssignment_2(lastRuleCallOrigin, this, 0, inst);
108
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
67
			case 1: return new QualifiedName_ColonColonKeyword_1(lastRuleCallOrigin, this, 1, inst);
109
			}
68
			default: return null;
110
		}
69
		}	
70
	}
111
71
112
		@Override
72
    @Override
113
		public IEObjectConsumer tryConsume() {
73
	public IEObjectConsumer tryConsume() {
114
			if((value = eObjectConsumer.getConsumable("path", true)) == null)
74
		if(getEObject().eClass() != grammarAccess.getQualifiedNameRule().getType().getClassifier())
115
				return null;
116
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
117
			if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
118
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
119
				if(param.isInstanceOf(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0().getType().getClassifier())) {
120
					type = AssignmentType.CROSS_REFERENCE;
121
					element = grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0();
122
					return obj;
123
				}
124
			}
125
			return null;
75
			return null;
126
		}
76
		return eObjectConsumer;
127
128
	}
77
	}
129
78
130
	// "::"
79
}
131
	protected class QualifiedName_ColonColonKeyword_1 extends KeywordToken {
132
133
		public QualifiedName_ColonColonKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
134
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
135
		}
136
137
		@Override
138
		public Keyword getGrammarElement() {
139
			return grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1();
140
		}
141
142
		@Override
143
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
144
			switch(index) {
145
			case 0:
146
				return new QualifiedName_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
147
			default:
148
				return null;
149
			}
150
		}
151
80
81
// path=[uml::Namespace]
82
protected class QualifiedName_PathAssignment_0 extends AssignmentToken  {
83
	
84
	public QualifiedName_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
85
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
152
	}
86
	}
153
87
	
154
	// remaining=QualifiedName?
88
	@Override
155
	protected class QualifiedName_RemainingAssignment_2 extends AssignmentToken {
89
	public Assignment getGrammarElement() {
156
90
		return grammarAccess.getQualifiedNameAccess().getPathAssignment_0();
157
		public QualifiedName_RemainingAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
91
	}
158
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
159
		}
160
161
		@Override
162
		public Assignment getGrammarElement() {
163
			return grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2();
164
		}
165
166
		@Override
167
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
168
			switch(index) {
169
			case 0:
170
				return new QualifiedName_Group(this, this, 0, inst);
171
			default:
172
				return null;
173
			}
174
		}
175
92
176
		@Override
93
    @Override
177
		public IEObjectConsumer tryConsume() {
94
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
178
			if((value = eObjectConsumer.getConsumable("remaining", false)) == null)
95
		switch(index) {
179
				return null;
96
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
180
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("remaining");
97
		}	
181
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
98
	}
182
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
183
				if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
184
					type = AssignmentType.PARSER_RULE_CALL;
185
					element = grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0();
186
					consumed = obj;
187
					return param;
188
				}
189
			}
190
			return null;
191
		}
192
99
193
		@Override
100
    @Override	
194
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
101
	public IEObjectConsumer tryConsume() {
195
			if(value == inst.getEObject() && !inst.isConsumed())
102
		if((value = eObjectConsumer.getConsumable("path",true)) == null) return null;
196
				return null;
103
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
197
			switch(index) {
104
		if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
198
			case 0:
105
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
199
				return new QualifiedName_ColonColonKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
106
			if(param.isInstanceOf(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0().getType().getClassifier())) {
200
			default:
107
				type = AssignmentType.CROSS_REFERENCE;
201
				return null;
108
				element = grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(); 
109
				return obj;
202
			}
110
			}
203
		}
111
		}
112
		return null;
204
	}
113
	}
205
114
206
115
}
207
	/************ end Rule QualifiedName ****************/
208
116
117
// "::"
118
protected class QualifiedName_ColonColonKeyword_1 extends KeywordToken  {
119
	
120
	public QualifiedName_ColonColonKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
121
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
122
	}
123
	
124
	@Override
125
	public Keyword getGrammarElement() {
126
		return grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1();
127
	}
209
128
210
	/************
129
    @Override
211
	 * begin Rule TypeRule ****************
130
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
212
	 * 
131
		switch(index) {
213
	 * TypeRule:
132
			case 0: return new QualifiedName_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
214
	 * path=QualifiedName? type=[uml::Type];
133
			default: return null;
215
	 * 
134
		}	
216
	 **/
135
	}
217
136
218
	// path=QualifiedName? type=[uml::Type]
137
}
219
	protected class TypeRule_Group extends GroupToken {
220
138
221
		public TypeRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
139
// remaining=QualifiedName?
222
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
140
protected class QualifiedName_RemainingAssignment_2 extends AssignmentToken  {
223
		}
141
	
142
	public QualifiedName_RemainingAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
143
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
144
	}
145
	
146
	@Override
147
	public Assignment getGrammarElement() {
148
		return grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2();
149
	}
224
150
225
		@Override
151
    @Override
226
		public Group getGrammarElement() {
152
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
227
			return grammarAccess.getTypeRuleAccess().getGroup();
153
		switch(index) {
228
		}
154
			case 0: return new QualifiedName_Group(this, this, 0, inst);
155
			default: return null;
156
		}	
157
	}
229
158
230
		@Override
159
    @Override	
231
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
160
	public IEObjectConsumer tryConsume() {
232
			switch(index) {
161
		if((value = eObjectConsumer.getConsumable("remaining",false)) == null) return null;
233
			case 0:
162
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("remaining");
234
				return new TypeRule_TypeAssignment_1(lastRuleCallOrigin, this, 0, inst);
163
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
235
			default:
164
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
236
				return null;
165
			if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
166
				type = AssignmentType.PARSER_RULE_CALL;
167
				element = grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(); 
168
				consumed = obj;
169
				return param;
237
			}
170
			}
238
		}
171
		}
239
172
		return null;
240
		@Override
241
		public IEObjectConsumer tryConsume() {
242
			if(getEObject().eClass() != grammarAccess.getTypeRuleRule().getType().getClassifier())
243
				return null;
244
			return eObjectConsumer;
245
		}
246
247
	}
173
	}
248
174
249
	// path=QualifiedName?
175
    @Override
250
	protected class TypeRule_PathAssignment_0 extends AssignmentToken {
176
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
177
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
178
		switch(index) {
179
			case 0: return new QualifiedName_ColonColonKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
180
			default: return null;
181
		}	
182
	}	
183
}
251
184
252
		public TypeRule_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
253
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
254
		}
255
185
256
		@Override
186
/************ end Rule QualifiedName ****************/
257
		public Assignment getGrammarElement() {
258
			return grammarAccess.getTypeRuleAccess().getPathAssignment_0();
259
		}
260
187
261
		@Override
262
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
263
			switch(index) {
264
			case 0:
265
				return new QualifiedName_Group(this, this, 0, inst);
266
			default:
267
				return null;
268
			}
269
		}
270
188
271
		@Override
189
/************ begin Rule TypeRule ****************
272
		public IEObjectConsumer tryConsume() {
190
 *
273
			if((value = eObjectConsumer.getConsumable("path", false)) == null)
191
 * TypeRule:
274
				return null;
192
 * 	path=QualifiedName? type=[uml::Type];
275
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
193
 *
276
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
194
 **/
277
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
278
				if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
279
					type = AssignmentType.PARSER_RULE_CALL;
280
					element = grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0();
281
					consumed = obj;
282
					return param;
283
				}
284
			}
285
			return null;
286
		}
287
195
288
		@Override
196
// path=QualifiedName? type=[uml::Type]
289
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
197
protected class TypeRule_Group extends GroupToken {
290
			if(value == inst.getEObject() && !inst.isConsumed())
198
	
291
				return null;
199
	public TypeRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
292
			switch(index) {
200
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
293
			default:
294
				return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
295
			}
296
		}
297
	}
201
	}
298
202
	
299
	// type=[uml::Type]
203
	@Override
300
	protected class TypeRule_TypeAssignment_1 extends AssignmentToken {
204
	public Group getGrammarElement() {
301
205
		return grammarAccess.getTypeRuleAccess().getGroup();
302
		public TypeRule_TypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
206
	}
303
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
304
		}
305
306
		@Override
307
		public Assignment getGrammarElement() {
308
			return grammarAccess.getTypeRuleAccess().getTypeAssignment_1();
309
		}
310
207
311
		@Override
208
    @Override
312
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
209
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
313
			switch(index) {
210
		switch(index) {
314
			case 0:
211
			case 0: return new TypeRule_TypeAssignment_1(lastRuleCallOrigin, this, 0, inst);
315
				return new TypeRule_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
212
			default: return null;
316
			default:
213
		}	
317
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
214
	}
318
			}
319
		}
320
215
321
		@Override
216
    @Override
322
		public IEObjectConsumer tryConsume() {
217
	public IEObjectConsumer tryConsume() {
323
			if((value = eObjectConsumer.getConsumable("type", true)) == null)
218
		if(getEObject().eClass() != grammarAccess.getTypeRuleRule().getType().getClassifier())
324
				return null;
325
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type");
326
			if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
327
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
328
				if(param.isInstanceOf(grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0().getType().getClassifier())) {
329
					type = AssignmentType.CROSS_REFERENCE;
330
					element = grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0();
331
					return obj;
332
				}
333
			}
334
			return null;
219
			return null;
335
		}
220
		return eObjectConsumer;
336
337
	}
221
	}
338
222
339
223
}
340
	/************ end Rule TypeRule ****************/
341
342
343
	/************
344
	 * begin Rule MultiplicityRule ****************
345
	 * 
346
	 * MultiplicityRule:
347
	 * "[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]";
348
	 * 
349
	 **/
350
351
	// "[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]"
352
	protected class MultiplicityRule_Group extends GroupToken {
353
224
354
		public MultiplicityRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
225
// path=QualifiedName?
355
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
226
protected class TypeRule_PathAssignment_0 extends AssignmentToken  {
356
		}
227
	
228
	public TypeRule_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
229
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
230
	}
231
	
232
	@Override
233
	public Assignment getGrammarElement() {
234
		return grammarAccess.getTypeRuleAccess().getPathAssignment_0();
235
	}
357
236
358
		@Override
237
    @Override
359
		public Group getGrammarElement() {
238
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
360
			return grammarAccess.getMultiplicityRuleAccess().getGroup();
239
		switch(index) {
361
		}
240
			case 0: return new QualifiedName_Group(this, this, 0, inst);
241
			default: return null;
242
		}	
243
	}
362
244
363
		@Override
245
    @Override	
364
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
246
	public IEObjectConsumer tryConsume() {
365
			switch(index) {
247
		if((value = eObjectConsumer.getConsumable("path",false)) == null) return null;
366
			case 0:
248
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
367
				return new MultiplicityRule_RightSquareBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
249
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
368
			default:
250
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
369
				return null;
251
			if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
252
				type = AssignmentType.PARSER_RULE_CALL;
253
				element = grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0(); 
254
				consumed = obj;
255
				return param;
370
			}
256
			}
371
		}
257
		}
372
258
		return null;
373
		@Override
374
		public IEObjectConsumer tryConsume() {
375
			if(getEObject().eClass() != grammarAccess.getMultiplicityRuleRule().getType().getClassifier())
376
				return null;
377
			return eObjectConsumer;
378
		}
379
380
	}
259
	}
381
260
382
	// "["
261
    @Override
383
	protected class MultiplicityRule_LeftSquareBracketKeyword_0 extends KeywordToken {
262
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
263
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
264
		switch(index) {
265
			default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed);
266
		}	
267
	}	
268
}
384
269
385
		public MultiplicityRule_LeftSquareBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
270
// type=[uml::Type]
386
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
271
protected class TypeRule_TypeAssignment_1 extends AssignmentToken  {
387
		}
272
	
273
	public TypeRule_TypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
274
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
275
	}
276
	
277
	@Override
278
	public Assignment getGrammarElement() {
279
		return grammarAccess.getTypeRuleAccess().getTypeAssignment_1();
280
	}
388
281
389
		@Override
282
    @Override
390
		public Keyword getGrammarElement() {
283
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
391
			return grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0();
284
		switch(index) {
392
		}
285
			case 0: return new TypeRule_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
286
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
287
		}	
288
	}
393
289
394
		@Override
290
    @Override	
395
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
291
	public IEObjectConsumer tryConsume() {
396
			switch(index) {
292
		if((value = eObjectConsumer.getConsumable("type",true)) == null) return null;
397
			default:
293
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type");
398
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
294
		if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
295
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
296
			if(param.isInstanceOf(grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0().getType().getClassifier())) {
297
				type = AssignmentType.CROSS_REFERENCE;
298
				element = grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0(); 
299
				return obj;
399
			}
300
			}
400
		}
301
		}
401
302
		return null;
402
	}
303
	}
403
304
404
	// bounds+=BoundSpecification
305
}
405
	protected class MultiplicityRule_BoundsAssignment_1 extends AssignmentToken {
406
306
407
		public MultiplicityRule_BoundsAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
408
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
409
		}
410
307
411
		@Override
308
/************ end Rule TypeRule ****************/
412
		public Assignment getGrammarElement() {
413
			return grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1();
414
		}
415
309
416
		@Override
417
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
418
			switch(index) {
419
			case 0:
420
				return new BoundSpecification_ValueAssignment(this, this, 0, inst);
421
			default:
422
				return null;
423
			}
424
		}
425
310
426
		@Override
311
/************ begin Rule MultiplicityRule ****************
427
		public IEObjectConsumer tryConsume() {
312
 *
428
			if((value = eObjectConsumer.getConsumable("bounds", true)) == null)
313
 * MultiplicityRule:
429
				return null;
314
 * 	"[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]";
430
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("bounds");
315
 *
431
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
316
 **/
432
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
433
				if(param.isInstanceOf(grammarAccess.getBoundSpecificationRule().getType().getClassifier())) {
434
					type = AssignmentType.PARSER_RULE_CALL;
435
					element = grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0();
436
					consumed = obj;
437
					return param;
438
				}
439
			}
440
			return null;
441
		}
442
317
443
		@Override
318
// "[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]"
444
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
319
protected class MultiplicityRule_Group extends GroupToken {
445
			if(value == inst.getEObject() && !inst.isConsumed())
320
	
446
				return null;
321
	public MultiplicityRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
447
			switch(index) {
322
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
448
			case 0:
323
	}
449
				return new MultiplicityRule_LeftSquareBracketKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
324
	
450
			default:
325
	@Override
451
				return null;
326
	public Group getGrammarElement() {
452
			}
327
		return grammarAccess.getMultiplicityRuleAccess().getGroup();
453
		}
454
	}
328
	}
455
329
456
	// (".." bounds+=BoundSpecification)?
330
    @Override
457
	protected class MultiplicityRule_Group_2 extends GroupToken {
331
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
332
		switch(index) {
333
			case 0: return new MultiplicityRule_RightSquareBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
334
			default: return null;
335
		}	
336
	}
458
337
459
		public MultiplicityRule_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
338
    @Override
460
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
339
	public IEObjectConsumer tryConsume() {
461
		}
340
		if(getEObject().eClass() != grammarAccess.getMultiplicityRuleRule().getType().getClassifier())
341
			return null;
342
		return eObjectConsumer;
343
	}
462
344
463
		@Override
345
}
464
		public Group getGrammarElement() {
465
			return grammarAccess.getMultiplicityRuleAccess().getGroup_2();
466
		}
467
346
468
		@Override
347
// "["
469
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
348
protected class MultiplicityRule_LeftSquareBracketKeyword_0 extends KeywordToken  {
470
			switch(index) {
349
	
471
			case 0:
350
	public MultiplicityRule_LeftSquareBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
472
				return new MultiplicityRule_BoundsAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
351
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
473
			default:
352
	}
474
				return null;
353
	
475
			}
354
	@Override
476
		}
355
	public Keyword getGrammarElement() {
356
		return grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0();
357
	}
477
358
359
    @Override
360
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
361
		switch(index) {
362
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
363
		}	
478
	}
364
	}
479
365
480
	// ".."
366
}
481
	protected class MultiplicityRule_FullStopFullStopKeyword_2_0 extends KeywordToken {
482
367
483
		public MultiplicityRule_FullStopFullStopKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
368
// bounds+=BoundSpecification
484
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
369
protected class MultiplicityRule_BoundsAssignment_1 extends AssignmentToken  {
485
		}
370
	
371
	public MultiplicityRule_BoundsAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
372
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
373
	}
374
	
375
	@Override
376
	public Assignment getGrammarElement() {
377
		return grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1();
378
	}
486
379
487
		@Override
380
    @Override
488
		public Keyword getGrammarElement() {
381
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
489
			return grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0();
382
		switch(index) {
490
		}
383
			case 0: return new BoundSpecification_ValueAssignment(this, this, 0, inst);
384
			default: return null;
385
		}	
386
	}
491
387
492
		@Override
388
    @Override	
493
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
389
	public IEObjectConsumer tryConsume() {
494
			switch(index) {
390
		if((value = eObjectConsumer.getConsumable("bounds",true)) == null) return null;
495
			case 0:
391
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("bounds");
496
				return new MultiplicityRule_BoundsAssignment_1(lastRuleCallOrigin, this, 0, inst);
392
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
497
			default:
393
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
498
				return null;
394
			if(param.isInstanceOf(grammarAccess.getBoundSpecificationRule().getType().getClassifier())) {
395
				type = AssignmentType.PARSER_RULE_CALL;
396
				element = grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0(); 
397
				consumed = obj;
398
				return param;
499
			}
399
			}
500
		}
400
		}
501
401
		return null;
502
	}
402
	}
503
403
504
	// bounds+=BoundSpecification
404
    @Override
505
	protected class MultiplicityRule_BoundsAssignment_2_1 extends AssignmentToken {
405
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
506
406
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
507
		public MultiplicityRule_BoundsAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
407
		switch(index) {
508
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
408
			case 0: return new MultiplicityRule_LeftSquareBracketKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
509
		}
409
			default: return null;
410
		}	
411
	}	
412
}
510
413
511
		@Override
414
// (".." bounds+=BoundSpecification)?
512
		public Assignment getGrammarElement() {
415
protected class MultiplicityRule_Group_2 extends GroupToken {
513
			return grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1();
416
	
514
		}
417
	public MultiplicityRule_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
418
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
419
	}
420
	
421
	@Override
422
	public Group getGrammarElement() {
423
		return grammarAccess.getMultiplicityRuleAccess().getGroup_2();
424
	}
515
425
516
		@Override
426
    @Override
517
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
427
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
518
			switch(index) {
428
		switch(index) {
519
			case 0:
429
			case 0: return new MultiplicityRule_BoundsAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
520
				return new BoundSpecification_ValueAssignment(this, this, 0, inst);
430
			default: return null;
521
			default:
431
		}	
522
				return null;
432
	}
523
			}
524
		}
525
433
526
		@Override
434
}
527
		public IEObjectConsumer tryConsume() {
528
			if((value = eObjectConsumer.getConsumable("bounds", false)) == null)
529
				return null;
530
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("bounds");
531
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
532
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
533
				if(param.isInstanceOf(grammarAccess.getBoundSpecificationRule().getType().getClassifier())) {
534
					type = AssignmentType.PARSER_RULE_CALL;
535
					element = grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0();
536
					consumed = obj;
537
					return param;
538
				}
539
			}
540
			return null;
541
		}
542
435
543
		@Override
436
// ".."
544
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
437
protected class MultiplicityRule_FullStopFullStopKeyword_2_0 extends KeywordToken  {
545
			if(value == inst.getEObject() && !inst.isConsumed())
438
	
546
				return null;
439
	public MultiplicityRule_FullStopFullStopKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
547
			switch(index) {
440
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
548
			case 0:
441
	}
549
				return new MultiplicityRule_FullStopFullStopKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
442
	
550
			default:
443
	@Override
551
				return null;
444
	public Keyword getGrammarElement() {
552
			}
445
		return grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0();
553
		}
554
	}
446
	}
555
447
448
    @Override
449
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
450
		switch(index) {
451
			case 0: return new MultiplicityRule_BoundsAssignment_1(lastRuleCallOrigin, this, 0, inst);
452
			default: return null;
453
		}	
454
	}
556
455
557
	// "]"
456
}
558
	protected class MultiplicityRule_RightSquareBracketKeyword_3 extends KeywordToken {
559
457
560
		public MultiplicityRule_RightSquareBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
458
// bounds+=BoundSpecification
561
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
459
protected class MultiplicityRule_BoundsAssignment_2_1 extends AssignmentToken  {
562
		}
460
	
461
	public MultiplicityRule_BoundsAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
462
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
463
	}
464
	
465
	@Override
466
	public Assignment getGrammarElement() {
467
		return grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1();
468
	}
563
469
564
		@Override
470
    @Override
565
		public Keyword getGrammarElement() {
471
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
566
			return grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3();
472
		switch(index) {
567
		}
473
			case 0: return new BoundSpecification_ValueAssignment(this, this, 0, inst);
474
			default: return null;
475
		}	
476
	}
568
477
569
		@Override
478
    @Override	
570
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
479
	public IEObjectConsumer tryConsume() {
571
			switch(index) {
480
		if((value = eObjectConsumer.getConsumable("bounds",false)) == null) return null;
572
			case 0:
481
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("bounds");
573
				return new MultiplicityRule_Group_2(lastRuleCallOrigin, this, 0, inst);
482
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
574
			case 1:
483
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
575
				return new MultiplicityRule_BoundsAssignment_1(lastRuleCallOrigin, this, 1, inst);
484
			if(param.isInstanceOf(grammarAccess.getBoundSpecificationRule().getType().getClassifier())) {
576
			default:
485
				type = AssignmentType.PARSER_RULE_CALL;
577
				return null;
486
				element = grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0(); 
487
				consumed = obj;
488
				return param;
578
			}
489
			}
579
		}
490
		}
491
		return null;
492
	}
580
493
494
    @Override
495
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
496
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
497
		switch(index) {
498
			case 0: return new MultiplicityRule_FullStopFullStopKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
499
			default: return null;
500
		}	
501
	}	
502
}
503
504
505
// "]"
506
protected class MultiplicityRule_RightSquareBracketKeyword_3 extends KeywordToken  {
507
	
508
	public MultiplicityRule_RightSquareBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
509
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
510
	}
511
	
512
	@Override
513
	public Keyword getGrammarElement() {
514
		return grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3();
581
	}
515
	}
582
516
517
    @Override
518
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
519
		switch(index) {
520
			case 0: return new MultiplicityRule_Group_2(lastRuleCallOrigin, this, 0, inst);
521
			case 1: return new MultiplicityRule_BoundsAssignment_1(lastRuleCallOrigin, this, 1, inst);
522
			default: return null;
523
		}	
524
	}
583
525
584
	/************ end Rule MultiplicityRule ****************/
526
}
585
527
586
528
587
	/************
529
/************ end Rule MultiplicityRule ****************/
588
	 * begin Rule BoundSpecification ****************
589
	 * 
590
	 * BoundSpecification:
591
	 * value=UnlimitedLiteral;
592
	 * 
593
	 **/
594
530
595
	// value=UnlimitedLiteral
596
	protected class BoundSpecification_ValueAssignment extends AssignmentToken {
597
531
598
		public BoundSpecification_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
532
/************ begin Rule BoundSpecification ****************
599
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
533
 *
600
		}
534
 * BoundSpecification:
535
 * 	value=UnlimitedLiteral;
536
 *
537
 **/
601
538
602
		@Override
539
// value=UnlimitedLiteral
603
		public Assignment getGrammarElement() {
540
protected class BoundSpecification_ValueAssignment extends AssignmentToken  {
604
			return grammarAccess.getBoundSpecificationAccess().getValueAssignment();
541
	
605
		}
542
	public BoundSpecification_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
543
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
544
	}
545
	
546
	@Override
547
	public Assignment getGrammarElement() {
548
		return grammarAccess.getBoundSpecificationAccess().getValueAssignment();
549
	}
606
550
607
		@Override
551
    @Override
608
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
552
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
609
			switch(index) {
553
		switch(index) {
610
			default:
554
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
611
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
555
		}	
612
			}
556
	}
613
		}
614
557
615
		@Override
558
    @Override	
616
		public IEObjectConsumer tryConsume() {
559
	public IEObjectConsumer tryConsume() {
617
			if(getEObject().eClass() != grammarAccess.getBoundSpecificationRule().getType().getClassifier())
560
		if(getEObject().eClass() != grammarAccess.getBoundSpecificationRule().getType().getClassifier())
618
				return null;
619
			if((value = eObjectConsumer.getConsumable("value", true)) == null)
620
				return null;
621
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
622
			if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0(), value, null)) {
623
				type = AssignmentType.TERMINAL_RULE_CALL;
624
				element = grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0();
625
				return obj;
626
			}
627
			return null;
561
			return null;
562
		if((value = eObjectConsumer.getConsumable("value",true)) == null) return null;
563
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
564
		if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0(), value, null)) {
565
			type = AssignmentType.TERMINAL_RULE_CALL;
566
			element = grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0();
567
			return obj;
628
		}
568
		}
629
569
		return null;
630
	}
570
	}
631
571
632
	/************ end Rule BoundSpecification ****************/
572
}
573
574
/************ end Rule BoundSpecification ****************/
633
575
634
}
576
}
(-)META-INF/MANIFEST.MF (-3 / +2 lines)
Lines 19-27 Link Here
19
 org.antlr.runtime,
19
 org.antlr.runtime,
20
 org.eclipse.uml2.codegen.ecore;bundle-version="1.6.0",
20
 org.eclipse.uml2.codegen.ecore;bundle-version="1.6.0",
21
 org.eclipse.uml2.uml;bundle-version="3.1.1",
21
 org.eclipse.uml2.uml;bundle-version="3.1.1",
22
 org.eclipse.xtext.gmf.glue;bundle-version="1.0.0",
23
 org.eclipse.jface,
22
 org.eclipse.jface,
24
 org.eclipse.ui.ide
23
 org.eclipse.ui.ide,
24
 org.eclipse.xtext.gmf.glue;bundle-version="0.8.0"
25
Import-Package: org.apache.log4j,
25
Import-Package: org.apache.log4j,
26
 org.eclipse.core.runtime
26
 org.eclipse.core.runtime
27
Bundle-RequiredExecutionEnvironment: J2SE-1.5
27
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Lines 36-39 Link Here
36
 org.eclipse.papyrus.common.editor.xtext.umlCommon.util,
36
 org.eclipse.papyrus.common.editor.xtext.umlCommon.util,
37
 org.eclipse.papyrus.common.editor.xtext.validation
37
 org.eclipse.papyrus.common.editor.xtext.validation
38
Bundle-Localization: plugin
38
Bundle-Localization: plugin
39
(-)src/org/eclipse/papyrus/common/editor/xtext/GenerateUmlCommon.mwe2 (-2 / +1 lines)
Lines 84-91 Link Here
84
			fragment = labeling.LabelProviderFragment {}
84
			fragment = labeling.LabelProviderFragment {}
85
85
86
			// outline API 
86
			// outline API 
87
			fragment = outline.TransformerFragment {}
87
			fragment = outline.OutlineTreeProviderFragment {}
88
			fragment = outline.OutlineNodeAdapterFactoryFragment {}
89
			fragment = outline.QuickOutlineFragment {}
88
			fragment = outline.QuickOutlineFragment {}
90
89
91
			// quickfix API 
90
			// quickfix API 
(-)src/org/eclipse/papyrus/common/editor/xtext/validation/UmlCommonJavaValidator.java (-1 / +1 lines)
Lines 58-64 Link Here
58
				lowerValue = rule.getBounds().get(0).getValue().equals("*") ? -1 : Integer.valueOf(rule.getBounds().get(0).getValue()); //$NON-NLS-1$
58
				lowerValue = rule.getBounds().get(0).getValue().equals("*") ? -1 : Integer.valueOf(rule.getBounds().get(0).getValue()); //$NON-NLS-1$
59
				upperValue = rule.getBounds().get(1).getValue().equals("*") ? -1 : Integer.valueOf(rule.getBounds().get(1).getValue()); //$NON-NLS-1$
59
				upperValue = rule.getBounds().get(1).getValue().equals("*") ? -1 : Integer.valueOf(rule.getBounds().get(1).getValue()); //$NON-NLS-1$
60
				if((lowerValue == -1 && upperValue != -1) || (lowerValue > upperValue && upperValue != -1)) {
60
				if((lowerValue == -1 && upperValue != -1) || (lowerValue > upperValue && upperValue != -1)) {
61
					error(errorMessage, rule, UmlCommonPackage.BOUND_SPECIFICATION__VALUE);
61
					error(errorMessage, UmlCommonPackage.eINSTANCE.getBoundSpecification_Value());
62
					valid_MultiplicityRule = false;
62
					valid_MultiplicityRule = false;
63
				} else {
63
				} else {
64
					valid_MultiplicityRule = true;
64
					valid_MultiplicityRule = true;
(-)plugin.xml_gen (-1 lines)
Lines 14-18 Link Here
14
14
15
15
16
16
17
18
</plugin>
17
</plugin>
(-)plugin.xml_gen (-1 lines)
Lines 139-145 Link Here
139
139
140
140
141
141
142
143
	<!-- Quick Outline -->
142
	<!-- Quick Outline -->
144
	<extension
143
	<extension
145
		point="org.eclipse.ui.handlers">
144
		point="org.eclipse.ui.handlers">
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/ui/internal/UmlCommonActivator.java (-24 / +35 lines)
Lines 3-71 Link Here
3
 */
3
 */
4
package org.eclipse.papyrus.common.editor.xtext.ui.internal;
4
package org.eclipse.papyrus.common.editor.xtext.ui.internal;
5
5
6
import java.util.HashMap;
6
import static com.google.inject.util.Modules.override;
7
import java.util.Map;
7
import static com.google.inject.Guice.createInjector;
8
8
9
import org.apache.log4j.Logger;
9
import org.apache.log4j.Logger;
10
10
import org.eclipse.ui.plugin.AbstractUIPlugin;
11
import org.eclipse.ui.plugin.AbstractUIPlugin;
11
import org.osgi.framework.BundleContext;
12
import org.osgi.framework.BundleContext;
12
13
13
import com.google.inject.Guice;
14
import com.google.inject.Injector;
14
import com.google.inject.Injector;
15
import com.google.inject.Module;
15
import com.google.inject.Module;
16
import com.google.inject.util.Modules;
16
17
import java.util.Map;
18
import java.util.HashMap;
17
19
18
/**
20
/**
19
 * Generated
21
 * This class was generated. Customizations should only happen in a newly
22
 * introduced subclass. 
20
 */
23
 */
21
public class UmlCommonActivator extends AbstractUIPlugin {
24
public class UmlCommonActivator extends AbstractUIPlugin {
22
25
23
	private Map<String, Injector> injectors = new HashMap<String, Injector>();
26
	private Map<String,Injector> injectors = new HashMap<String,Injector>();
24
25
	private static UmlCommonActivator INSTANCE;
27
	private static UmlCommonActivator INSTANCE;
26
28
27
	public Injector getInjector(String languageName) {
29
	public Injector getInjector(String languageName) {
28
		return injectors.get(languageName);
30
		return injectors.get(languageName);
29
	}
31
	}
30
32
	
31
	@Override
33
	@Override
32
	public void start(BundleContext context) throws Exception {
34
	public void start(BundleContext context) throws Exception {
33
		super.start(context);
35
		super.start(context);
34
		INSTANCE = this;
36
		INSTANCE = this;
35
		try {
37
		try {
36
38
			registerInjectorFor("org.eclipse.papyrus.common.editor.xtext.UmlCommon");
37
			injectors.put("org.eclipse.papyrus.common.editor.xtext.UmlCommon", Guice.createInjector(Modules.override(Modules.override(getRuntimeModule("org.eclipse.papyrus.common.editor.xtext.UmlCommon")).with(getUiModule("org.eclipse.papyrus.common.editor.xtext.UmlCommon"))).with(getSharedStateModule())));
39
			
38
39
		} catch (Exception e) {
40
		} catch (Exception e) {
40
			Logger.getLogger(getClass()).error(e.getMessage(), e);
41
			Logger.getLogger(getClass()).error(e.getMessage(), e);
41
			throw e;
42
			throw e;
42
		}
43
		}
43
	}
44
	}
44
45
	
46
	protected void registerInjectorFor(String language) throws Exception {
47
		injectors.put(language, createInjector(
48
		  override(override(getRuntimeModule(language)).with(getSharedStateModule())).with(getUiModule(language))));
49
	}
50
	
51
	@Override
52
	public void stop(BundleContext context) throws Exception {
53
		injectors.clear();
54
		INSTANCE = null;
55
		super.stop(context);
56
	}
57
	
45
	public static UmlCommonActivator getInstance() {
58
	public static UmlCommonActivator getInstance() {
46
		return INSTANCE;
59
		return INSTANCE;
47
	}
60
	}
48
61
	
49
	protected Module getRuntimeModule(String grammar) {
62
	protected Module getRuntimeModule(String grammar) {
50
63
		if ("org.eclipse.papyrus.common.editor.xtext.UmlCommon".equals(grammar)) {
51
		if("org.eclipse.papyrus.common.editor.xtext.UmlCommon".equals(grammar)) {
64
		  return new org.eclipse.papyrus.common.editor.xtext.UmlCommonRuntimeModule();
52
			return new org.eclipse.papyrus.common.editor.xtext.UmlCommonRuntimeModule();
53
		}
65
		}
54
66
		
55
		throw new IllegalArgumentException(grammar);
67
		throw new IllegalArgumentException(grammar);
56
	}
68
	}
57
69
	
58
	protected Module getUiModule(String grammar) {
70
	protected Module getUiModule(String grammar) {
59
71
		if ("org.eclipse.papyrus.common.editor.xtext.UmlCommon".equals(grammar)) {
60
		if("org.eclipse.papyrus.common.editor.xtext.UmlCommon".equals(grammar)) {
72
		  return new org.eclipse.papyrus.common.editor.xtext.ui.UmlCommonUiModule(this);
61
			return new org.eclipse.papyrus.common.editor.xtext.ui.UmlCommonUiModule(this);
62
		}
73
		}
63
74
		
64
		throw new IllegalArgumentException(grammar);
75
		throw new IllegalArgumentException(grammar);
65
	}
76
	}
66
77
	
67
	protected Module getSharedStateModule() {
78
	protected Module getSharedStateModule() {
68
		return new org.eclipse.xtext.ui.shared.SharedStateModule();
79
		return new org.eclipse.xtext.ui.shared.SharedStateModule();
69
	}
80
	}
70
81
	
71
}
82
}
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/AbstractUmlCommonProposalProvider.java (-21 / +8 lines)
Lines 1-72 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
package org.eclipse.papyrus.common.editor.xtext.ui.contentassist;
4
package org.eclipse.papyrus.common.editor.xtext.ui.contentassist;
5
5
6
import org.eclipse.emf.ecore.EObject;
6
import org.eclipse.emf.ecore.EObject;
7
import org.eclipse.xtext.Assignment;
7
import org.eclipse.xtext.*;
8
import org.eclipse.xtext.CrossReference;
9
import org.eclipse.xtext.RuleCall;
10
import org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider;
8
import org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider;
11
import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext;
12
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor;
9
import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor;
10
import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext;
13
11
14
/**
12
/**
15
 * Represents a generated, default implementation of interface {@link IProposalProvider}.
13
 * Represents a generated, default implementation of interface {@link IProposalProvider}.
16
 * Methods are dynamically dispatched on the first parameter, i.e., you can override them
14
 * Methods are dynamically dispatched on the first parameter, i.e., you can override them 
17
 * with a more concrete subtype.
15
 * with a more concrete subtype. 
18
 */
16
 */
19
@SuppressWarnings("all")
17
@SuppressWarnings("all")
20
public class AbstractUmlCommonProposalProvider extends TerminalsProposalProvider {
18
public class AbstractUmlCommonProposalProvider extends TerminalsProposalProvider {
21
19
		
22
	public void completeQualifiedName_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
20
	public void completeQualifiedName_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
23
		lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
21
		lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
24
	}
22
	}
25
26
	public void completeQualifiedName_Remaining(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
23
	public void completeQualifiedName_Remaining(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
27
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
24
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
28
	}
25
	}
29
30
	public void completeTypeRule_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
26
	public void completeTypeRule_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
31
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
27
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
32
	}
28
	}
33
34
	public void completeTypeRule_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
29
	public void completeTypeRule_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
35
		lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
30
		lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
36
	}
31
	}
37
38
	public void completeMultiplicityRule_Bounds(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
32
	public void completeMultiplicityRule_Bounds(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
39
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
33
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
40
	}
34
	}
41
42
	public void completeBoundSpecification_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
35
	public void completeBoundSpecification_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
43
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
36
		completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
44
	}
37
	}
45
38
    
46
	public void complete_QualifiedName(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
39
	public void complete_QualifiedName(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
47
		// subclasses may override
40
		// subclasses may override
48
	}
41
	}
49
50
	public void complete_TypeRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
42
	public void complete_TypeRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
51
		// subclasses may override
43
		// subclasses may override
52
	}
44
	}
53
54
	public void complete_VisibilityKind(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
45
	public void complete_VisibilityKind(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
55
		// subclasses may override
46
		// subclasses may override
56
	}
47
	}
57
58
	public void complete_MultiplicityRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
48
	public void complete_MultiplicityRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
59
		// subclasses may override
49
		// subclasses may override
60
	}
50
	}
61
62
	public void complete_BoundSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
51
	public void complete_BoundSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
63
		// subclasses may override
52
		// subclasses may override
64
	}
53
	}
65
66
	public void complete_UnlimitedLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
54
	public void complete_UnlimitedLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
67
		// subclasses may override
55
		// subclasses may override
68
	}
56
	}
69
70
	public void complete_Direction(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
57
	public void complete_Direction(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
71
		// subclasses may override
58
		// subclasses may override
72
	}
59
	}
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g (-1 / +1 lines)
Lines 284-290 Link Here
284
284
285
RULE_INT : ('0'..'9')+;
285
RULE_INT : ('0'..'9')+;
286
286
287
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
287
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
288
288
289
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
289
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
290
290
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.tokens (+1 lines)
Lines 1-6 Link Here
1
RULE_ID=4
1
RULE_ID=4
2
RULE_STRING=7
2
RULE_STRING=7
3
RULE_UNLIMITEDLITERAL=5
3
RULE_UNLIMITEDLITERAL=5
4
T__12=12
4
RULE_ANY_OTHER=11
5
RULE_ANY_OTHER=11
5
RULE_INT=6
6
RULE_INT=6
6
RULE_WS=10
7
RULE_WS=10
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommonParser.java (-463 / +470 lines)
Lines 1-619 Link Here
1
/*****************************************************************************
1
package org.eclipse.papyrus.common.editor.xtext.ui.contentassist.antlr.internal; 
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.common.editor.xtext.ui.contentassist.antlr.internal;
15
2
16
import org.antlr.runtime.BitSet;
3
import java.io.InputStream;
17
import org.antlr.runtime.RecognitionException;
4
import org.eclipse.xtext.*;
18
import org.antlr.runtime.TokenStream;
5
import org.eclipse.xtext.parser.*;
19
import org.eclipse.papyrus.common.editor.xtext.services.UmlCommonGrammarAccess;
6
import org.eclipse.xtext.parser.impl.*;
20
import org.eclipse.xtext.Grammar;
7
import org.eclipse.xtext.parsetree.*;
8
import org.eclipse.emf.ecore.util.EcoreUtil;
9
import org.eclipse.emf.ecore.EObject;
10
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
11
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
21
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
12
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
22
13
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA;
23
@SuppressWarnings("all")
14
import org.eclipse.papyrus.common.editor.xtext.services.UmlCommonGrammarAccess;
24
public class InternalUmlCommonParser extends AbstractInternalContentAssistParser {
25
26
	public static final String[] tokenNames = new String[]{ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_UNLIMITEDLITERAL", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'::'" };
27
28
	public static final int RULE_ID = 4;
29
30
	public static final int RULE_STRING = 7;
31
32
	public static final int RULE_UNLIMITEDLITERAL = 5;
33
34
	public static final int RULE_ANY_OTHER = 11;
35
36
	public static final int RULE_INT = 6;
37
38
	public static final int RULE_WS = 10;
39
40
	public static final int RULE_SL_COMMENT = 9;
41
42
	public static final int EOF = -1;
43
44
	public static final int RULE_ML_COMMENT = 8;
45
46
	public InternalUmlCommonParser(TokenStream input) {
47
		super(input);
48
	}
49
50
51
	public String[] getTokenNames() {
52
		return tokenNames;
53
	}
54
55
	public String getGrammarFileName() {
56
		return "../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g";
57
	}
58
59
60
61
	private UmlCommonGrammarAccess grammarAccess;
62
63
	public void setGrammarAccess(UmlCommonGrammarAccess grammarAccess) {
64
		this.grammarAccess = grammarAccess;
65
	}
66
67
	@Override
68
	protected Grammar getGrammar() {
69
		return grammarAccess.getGrammar();
70
	}
71
72
	@Override
73
	protected String getValueForTokenName(String tokenName) {
74
		return tokenName;
75
	}
76
77
78
79
80
	// $ANTLR start entryRuleQualifiedName
81
	// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:61:1: entryRuleQualifiedName : ruleQualifiedName EOF ;
82
	public final void entryRuleQualifiedName() throws RecognitionException {
83
		try {
84
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:62:1: ( ruleQualifiedName EOF )
85
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:63:1: ruleQualifiedName EOF
86
			{
87
				before(grammarAccess.getQualifiedNameRule());
88
				pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName61);
89
				ruleQualifiedName();
90
				_fsp--;
91
92
				after(grammarAccess.getQualifiedNameRule());
93
				match(input, EOF, FOLLOW_EOF_in_entryRuleQualifiedName68);
94
95
			}
96
97
		} catch (RecognitionException re) {
98
			reportError(re);
99
			recover(input, re);
100
		} finally {
101
		}
102
		return;
103
	}
104
105
	// $ANTLR end entryRuleQualifiedName
106
107
108
	// $ANTLR start ruleQualifiedName
109
	// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:70:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ;
110
	public final void ruleQualifiedName() throws RecognitionException {
111
112
		int stackSize = keepStackSize();
113
114
		try {
115
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:74:2: ( ( ( rule__QualifiedName__Group__0 ) ) )
116
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:75:1: ( ( rule__QualifiedName__Group__0 ) )
117
			{
118
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:75:1: ( ( rule__QualifiedName__Group__0 ) )
119
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:76:1: ( rule__QualifiedName__Group__0 )
120
				{
121
					before(grammarAccess.getQualifiedNameAccess().getGroup());
122
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:77:1: ( rule__QualifiedName__Group__0 )
123
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:77:2: rule__QualifiedName__Group__0
124
					{
125
						pushFollow(FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName94);
126
						rule__QualifiedName__Group__0();
127
						_fsp--;
128
129
130
					}
131
132
					after(grammarAccess.getQualifiedNameAccess().getGroup());
133
134
				}
135
136
137
			}
138
15
139
		} catch (RecognitionException re) {
140
			reportError(re);
141
			recover(input, re);
142
		} finally {
143
16
144
			restoreStackSize(stackSize);
145
17
146
		}
18
import org.antlr.runtime.*;
147
		return;
19
import java.util.Stack;
148
	}
20
import java.util.List;
21
import java.util.ArrayList;
149
22
150
	// $ANTLR end ruleQualifiedName
23
@SuppressWarnings("all")
24
public class InternalUmlCommonParser extends AbstractInternalContentAssistParser {
25
    public static final String[] tokenNames = new String[] {
26
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_UNLIMITEDLITERAL", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'::'"
27
    };
28
    public static final int RULE_ID=4;
29
    public static final int RULE_STRING=7;
30
    public static final int RULE_UNLIMITEDLITERAL=5;
31
    public static final int T__12=12;
32
    public static final int RULE_ANY_OTHER=11;
33
    public static final int RULE_INT=6;
34
    public static final int RULE_WS=10;
35
    public static final int RULE_SL_COMMENT=9;
36
    public static final int EOF=-1;
37
    public static final int RULE_ML_COMMENT=8;
151
38
39
    // delegates
40
    // delegators
152
41
153
	// $ANTLR start entryRuleBoundSpecification
154
	// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:93:1: entryRuleBoundSpecification : ruleBoundSpecification EOF ;
155
	public final void entryRuleBoundSpecification() throws RecognitionException {
156
		try {
157
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:94:1: ( ruleBoundSpecification EOF )
158
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:95:1: ruleBoundSpecification EOF
159
			{
160
				before(grammarAccess.getBoundSpecificationRule());
161
				pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification125);
162
				ruleBoundSpecification();
163
				_fsp--;
164
42
165
				after(grammarAccess.getBoundSpecificationRule());
43
        public InternalUmlCommonParser(TokenStream input) {
166
				match(input, EOF, FOLLOW_EOF_in_entryRuleBoundSpecification132);
44
            this(input, new RecognizerSharedState());
45
        }
46
        public InternalUmlCommonParser(TokenStream input, RecognizerSharedState state) {
47
            super(input, state);
48
             
49
        }
50
        
167
51
168
			}
52
    public String[] getTokenNames() { return InternalUmlCommonParser.tokenNames; }
53
    public String getGrammarFileName() { return "../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g"; }
169
54
170
		} catch (RecognitionException re) {
171
			reportError(re);
172
			recover(input, re);
173
		} finally {
174
		}
175
		return;
176
	}
177
55
178
	// $ANTLR end entryRuleBoundSpecification
56
     
57
     	private UmlCommonGrammarAccess grammarAccess;
58
     	
59
        public void setGrammarAccess(UmlCommonGrammarAccess grammarAccess) {
60
        	this.grammarAccess = grammarAccess;
61
        }
62
        
63
        @Override
64
        protected Grammar getGrammar() {
65
        	return grammarAccess.getGrammar();
66
        }
67
        
68
        @Override
69
        protected String getValueForTokenName(String tokenName) {
70
        	return tokenName;
71
        }
179
72
180
73
181
	// $ANTLR start ruleBoundSpecification
182
	// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:102:1: ruleBoundSpecification : ( ( rule__BoundSpecification__ValueAssignment ) ) ;
183
	public final void ruleBoundSpecification() throws RecognitionException {
184
74
185
		int stackSize = keepStackSize();
186
75
187
		try {
76
    // $ANTLR start "entryRuleQualifiedName"
188
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:106:2: ( ( ( rule__BoundSpecification__ValueAssignment ) ) )
77
    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:61:1: entryRuleQualifiedName : ruleQualifiedName EOF ;
189
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:107:1: ( ( rule__BoundSpecification__ValueAssignment ) )
78
    public final void entryRuleQualifiedName() throws RecognitionException {
190
			{
79
        try {
191
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:107:1: ( ( rule__BoundSpecification__ValueAssignment ) )
80
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:62:1: ( ruleQualifiedName EOF )
192
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:108:1: ( rule__BoundSpecification__ValueAssignment )
81
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:63:1: ruleQualifiedName EOF
193
				{
82
            {
194
					before(grammarAccess.getBoundSpecificationAccess().getValueAssignment());
83
             before(grammarAccess.getQualifiedNameRule()); 
195
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:109:1: ( rule__BoundSpecification__ValueAssignment )
84
            pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName61);
196
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:109:2: rule__BoundSpecification__ValueAssignment
85
            ruleQualifiedName();
197
					{
198
						pushFollow(FOLLOW_rule__BoundSpecification__ValueAssignment_in_ruleBoundSpecification158);
199
						rule__BoundSpecification__ValueAssignment();
200
						_fsp--;
201
86
87
            state._fsp--;
202
88
203
					}
89
             after(grammarAccess.getQualifiedNameRule()); 
90
            match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName68); 
204
91
205
					after(grammarAccess.getBoundSpecificationAccess().getValueAssignment());
92
            }
206
93
207
				}
94
        }
95
        catch (RecognitionException re) {
96
            reportError(re);
97
            recover(input,re);
98
        }
99
        finally {
100
        }
101
        return ;
102
    }
103
    // $ANTLR end "entryRuleQualifiedName"
208
104
209
105
210
			}
106
    // $ANTLR start "ruleQualifiedName"
107
    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:70:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ;
108
    public final void ruleQualifiedName() throws RecognitionException {
211
109
212
		} catch (RecognitionException re) {
110
        		int stackSize = keepStackSize();
213
			reportError(re);
111
            
214
			recover(input, re);
112
        try {
215
		} finally {
113
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:74:2: ( ( ( rule__QualifiedName__Group__0 ) ) )
114
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:75:1: ( ( rule__QualifiedName__Group__0 ) )
115
            {
116
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:75:1: ( ( rule__QualifiedName__Group__0 ) )
117
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:76:1: ( rule__QualifiedName__Group__0 )
118
            {
119
             before(grammarAccess.getQualifiedNameAccess().getGroup()); 
120
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:77:1: ( rule__QualifiedName__Group__0 )
121
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:77:2: rule__QualifiedName__Group__0
122
            {
123
            pushFollow(FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName94);
124
            rule__QualifiedName__Group__0();
216
125
217
			restoreStackSize(stackSize);
126
            state._fsp--;
218
127
219
		}
220
		return;
221
	}
222
128
223
	// $ANTLR end ruleBoundSpecification
129
            }
224
130
131
             after(grammarAccess.getQualifiedNameAccess().getGroup()); 
225
132
226
	// $ANTLR start rule__QualifiedName__Group__0
133
            }
227
	// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:129:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ;
228
	public final void rule__QualifiedName__Group__0() throws RecognitionException {
229
134
230
		int stackSize = keepStackSize();
231
135
232
		try {
136
            }
233
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:133:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 )
234
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:134:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1
235
			{
236
				pushFollow(FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__0198);
237
				rule__QualifiedName__Group__0__Impl();
238
				_fsp--;
239
137
240
				pushFollow(FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__0201);
138
        }
241
				rule__QualifiedName__Group__1();
139
        catch (RecognitionException re) {
242
				_fsp--;
140
            reportError(re);
141
            recover(input,re);
142
        }
143
        finally {
243
144
145
            	restoreStackSize(stackSize);
244
146
245
			}
147
        }
148
        return ;
149
    }
150
    // $ANTLR end "ruleQualifiedName"
246
151
247
		} catch (RecognitionException re) {
248
			reportError(re);
249
			recover(input, re);
250
		} finally {
251
152
252
			restoreStackSize(stackSize);
153
    // $ANTLR start "entryRuleBoundSpecification"
154
    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:93:1: entryRuleBoundSpecification : ruleBoundSpecification EOF ;
155
    public final void entryRuleBoundSpecification() throws RecognitionException {
156
        try {
157
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:94:1: ( ruleBoundSpecification EOF )
158
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:95:1: ruleBoundSpecification EOF
159
            {
160
             before(grammarAccess.getBoundSpecificationRule()); 
161
            pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification125);
162
            ruleBoundSpecification();
253
163
254
		}
164
            state._fsp--;
255
		return;
256
	}
257
165
258
	// $ANTLR end rule__QualifiedName__Group__0
166
             after(grammarAccess.getBoundSpecificationRule()); 
167
            match(input,EOF,FOLLOW_EOF_in_entryRuleBoundSpecification132); 
259
168
169
            }
260
170
261
	// $ANTLR start rule__QualifiedName__Group__0__Impl
171
        }
262
	// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:141:1: rule__QualifiedName__Group__0__Impl : ( ( rule__QualifiedName__PathAssignment_0 ) ) ;
172
        catch (RecognitionException re) {
263
	public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException {
173
            reportError(re);
174
            recover(input,re);
175
        }
176
        finally {
177
        }
178
        return ;
179
    }
180
    // $ANTLR end "entryRuleBoundSpecification"
264
181
265
		int stackSize = keepStackSize();
266
182
267
		try {
183
    // $ANTLR start "ruleBoundSpecification"
268
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:145:1: ( ( ( rule__QualifiedName__PathAssignment_0 ) ) )
184
    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:102:1: ruleBoundSpecification : ( ( rule__BoundSpecification__ValueAssignment ) ) ;
269
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:146:1: ( ( rule__QualifiedName__PathAssignment_0 ) )
185
    public final void ruleBoundSpecification() throws RecognitionException {
270
			{
271
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:146:1: ( ( rule__QualifiedName__PathAssignment_0 ) )
272
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:147:1: ( rule__QualifiedName__PathAssignment_0 )
273
				{
274
					before(grammarAccess.getQualifiedNameAccess().getPathAssignment_0());
275
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:148:1: ( rule__QualifiedName__PathAssignment_0 )
276
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:148:2: rule__QualifiedName__PathAssignment_0
277
					{
278
						pushFollow(FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl228);
279
						rule__QualifiedName__PathAssignment_0();
280
						_fsp--;
281
186
187
        		int stackSize = keepStackSize();
188
            
189
        try {
190
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:106:2: ( ( ( rule__BoundSpecification__ValueAssignment ) ) )
191
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:107:1: ( ( rule__BoundSpecification__ValueAssignment ) )
192
            {
193
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:107:1: ( ( rule__BoundSpecification__ValueAssignment ) )
194
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:108:1: ( rule__BoundSpecification__ValueAssignment )
195
            {
196
             before(grammarAccess.getBoundSpecificationAccess().getValueAssignment()); 
197
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:109:1: ( rule__BoundSpecification__ValueAssignment )
198
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:109:2: rule__BoundSpecification__ValueAssignment
199
            {
200
            pushFollow(FOLLOW_rule__BoundSpecification__ValueAssignment_in_ruleBoundSpecification158);
201
            rule__BoundSpecification__ValueAssignment();
282
202
283
					}
203
            state._fsp--;
284
204
285
					after(grammarAccess.getQualifiedNameAccess().getPathAssignment_0());
286
205
287
				}
206
            }
288
207
208
             after(grammarAccess.getBoundSpecificationAccess().getValueAssignment()); 
289
209
290
			}
210
            }
291
211
292
		} catch (RecognitionException re) {
293
			reportError(re);
294
			recover(input, re);
295
		} finally {
296
212
297
			restoreStackSize(stackSize);
213
            }
298
214
299
		}
215
        }
300
		return;
216
        catch (RecognitionException re) {
301
	}
217
            reportError(re);
218
            recover(input,re);
219
        }
220
        finally {
302
221
303
	// $ANTLR end rule__QualifiedName__Group__0__Impl
222
            	restoreStackSize(stackSize);
304
223
224
        }
225
        return ;
226
    }
227
    // $ANTLR end "ruleBoundSpecification"
305
228
306
	// $ANTLR start rule__QualifiedName__Group__1
307
	// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:158:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 ;
308
	public final void rule__QualifiedName__Group__1() throws RecognitionException {
309
229
310
		int stackSize = keepStackSize();
230
    // $ANTLR start "rule__QualifiedName__Group__0"
231
    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:129:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ;
232
    public final void rule__QualifiedName__Group__0() throws RecognitionException {
311
233
312
		try {
234
        		int stackSize = keepStackSize();
313
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:162:1: ( rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 )
235
            
314
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:163:2: rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2
236
        try {
315
			{
237
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:133:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 )
316
				pushFollow(FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__1258);
238
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:134:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1
317
				rule__QualifiedName__Group__1__Impl();
239
            {
318
				_fsp--;
240
            pushFollow(FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__0198);
241
            rule__QualifiedName__Group__0__Impl();
319
242
320
				pushFollow(FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__1261);
243
            state._fsp--;
321
				rule__QualifiedName__Group__2();
322
				_fsp--;
323
244
245
            pushFollow(FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__0201);
246
            rule__QualifiedName__Group__1();
324
247
325
			}
248
            state._fsp--;
326
249
327
		} catch (RecognitionException re) {
328
			reportError(re);
329
			recover(input, re);
330
		} finally {
331
250
332
			restoreStackSize(stackSize);
251
            }
333
252
334
		}
253
        }
335
		return;
254
        catch (RecognitionException re) {
336
	}
255
            reportError(re);
256
            recover(input,re);
257
        }
258
        finally {
337
259
338
	// $ANTLR end rule__QualifiedName__Group__1
260
            	restoreStackSize(stackSize);
339
261
262
        }
263
        return ;
264
    }
265
    // $ANTLR end "rule__QualifiedName__Group__0"
340
266
341
	// $ANTLR start rule__QualifiedName__Group__1__Impl
342
	// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:170:1: rule__QualifiedName__Group__1__Impl : ( '::' ) ;
343
	public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException {
344
267
345
		int stackSize = keepStackSize();
268
    // $ANTLR start "rule__QualifiedName__Group__0__Impl"
269
    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:141:1: rule__QualifiedName__Group__0__Impl : ( ( rule__QualifiedName__PathAssignment_0 ) ) ;
270
    public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException {
346
271
347
		try {
272
        		int stackSize = keepStackSize();
348
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:174:1: ( ( '::' ) )
273
            
349
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:175:1: ( '::' )
274
        try {
350
			{
275
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:145:1: ( ( ( rule__QualifiedName__PathAssignment_0 ) ) )
351
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:175:1: ( '::' )
276
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:146:1: ( ( rule__QualifiedName__PathAssignment_0 ) )
352
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:176:1: '::'
277
            {
353
				{
278
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:146:1: ( ( rule__QualifiedName__PathAssignment_0 ) )
354
					before(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
279
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:147:1: ( rule__QualifiedName__PathAssignment_0 )
355
					match(input, 12, FOLLOW_12_in_rule__QualifiedName__Group__1__Impl289);
280
            {
356
					after(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
281
             before(grammarAccess.getQualifiedNameAccess().getPathAssignment_0()); 
282
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:148:1: ( rule__QualifiedName__PathAssignment_0 )
283
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:148:2: rule__QualifiedName__PathAssignment_0
284
            {
285
            pushFollow(FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl228);
286
            rule__QualifiedName__PathAssignment_0();
357
287
358
				}
288
            state._fsp--;
359
289
360
290
361
			}
291
            }
362
292
363
		} catch (RecognitionException re) {
293
             after(grammarAccess.getQualifiedNameAccess().getPathAssignment_0()); 
364
			reportError(re);
365
			recover(input, re);
366
		} finally {
367
294
368
			restoreStackSize(stackSize);
295
            }
369
296
370
		}
371
		return;
372
	}
373
297
374
	// $ANTLR end rule__QualifiedName__Group__1__Impl
298
            }
375
299
300
        }
301
        catch (RecognitionException re) {
302
            reportError(re);
303
            recover(input,re);
304
        }
305
        finally {
376
306
377
	// $ANTLR start rule__QualifiedName__Group__2
307
            	restoreStackSize(stackSize);
378
	// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:189:1: rule__QualifiedName__Group__2 : rule__QualifiedName__Group__2__Impl ;
379
	public final void rule__QualifiedName__Group__2() throws RecognitionException {
380
308
381
		int stackSize = keepStackSize();
309
        }
310
        return ;
311
    }
312
    // $ANTLR end "rule__QualifiedName__Group__0__Impl"
382
313
383
		try {
384
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:193:1: ( rule__QualifiedName__Group__2__Impl )
385
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:194:2: rule__QualifiedName__Group__2__Impl
386
			{
387
				pushFollow(FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__2320);
388
				rule__QualifiedName__Group__2__Impl();
389
				_fsp--;
390
314
315
    // $ANTLR start "rule__QualifiedName__Group__1"
316
    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:158:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 ;
317
    public final void rule__QualifiedName__Group__1() throws RecognitionException {
391
318
392
			}
319
        		int stackSize = keepStackSize();
320
            
321
        try {
322
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:162:1: ( rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2 )
323
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:163:2: rule__QualifiedName__Group__1__Impl rule__QualifiedName__Group__2
324
            {
325
            pushFollow(FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__1258);
326
            rule__QualifiedName__Group__1__Impl();
393
327
394
		} catch (RecognitionException re) {
328
            state._fsp--;
395
			reportError(re);
396
			recover(input, re);
397
		} finally {
398
329
399
			restoreStackSize(stackSize);
330
            pushFollow(FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__1261);
331
            rule__QualifiedName__Group__2();
400
332
401
		}
333
            state._fsp--;
402
		return;
403
	}
404
334
405
	// $ANTLR end rule__QualifiedName__Group__2
406
335
336
            }
407
337
408
	// $ANTLR start rule__QualifiedName__Group__2__Impl
338
        }
409
	// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:200:1: rule__QualifiedName__Group__2__Impl : ( ( rule__QualifiedName__RemainingAssignment_2 )? ) ;
339
        catch (RecognitionException re) {
410
	public final void rule__QualifiedName__Group__2__Impl() throws RecognitionException {
340
            reportError(re);
341
            recover(input,re);
342
        }
343
        finally {
411
344
412
		int stackSize = keepStackSize();
345
            	restoreStackSize(stackSize);
413
346
414
		try {
347
        }
415
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:204:1: ( ( ( rule__QualifiedName__RemainingAssignment_2 )? ) )
348
        return ;
416
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:205:1: ( ( rule__QualifiedName__RemainingAssignment_2 )? )
349
    }
417
			{
350
    // $ANTLR end "rule__QualifiedName__Group__1"
418
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:205:1: ( ( rule__QualifiedName__RemainingAssignment_2 )? )
419
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:206:1: ( rule__QualifiedName__RemainingAssignment_2 )?
420
				{
421
					before(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2());
422
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:207:1: ( rule__QualifiedName__RemainingAssignment_2 )?
423
					int alt1 = 2;
424
					int LA1_0 = input.LA(1);
425
351
426
					if((LA1_0 == RULE_ID)) {
427
						alt1 = 1;
428
					}
429
					switch(alt1) {
430
					case 1:
431
						// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:207:2: rule__QualifiedName__RemainingAssignment_2
432
					{
433
						pushFollow(FOLLOW_rule__QualifiedName__RemainingAssignment_2_in_rule__QualifiedName__Group__2__Impl347);
434
						rule__QualifiedName__RemainingAssignment_2();
435
						_fsp--;
436
352
353
    // $ANTLR start "rule__QualifiedName__Group__1__Impl"
354
    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:170:1: rule__QualifiedName__Group__1__Impl : ( '::' ) ;
355
    public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException {
437
356
438
					}
357
        		int stackSize = keepStackSize();
439
						break;
358
            
359
        try {
360
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:174:1: ( ( '::' ) )
361
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:175:1: ( '::' )
362
            {
363
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:175:1: ( '::' )
364
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:176:1: '::'
365
            {
366
             before(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1()); 
367
            match(input,12,FOLLOW_12_in_rule__QualifiedName__Group__1__Impl289); 
368
             after(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1()); 
440
369
441
					}
370
            }
442
371
443
					after(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2());
444
372
445
				}
373
            }
446
374
375
        }
376
        catch (RecognitionException re) {
377
            reportError(re);
378
            recover(input,re);
379
        }
380
        finally {
447
381
448
			}
382
            	restoreStackSize(stackSize);
449
383
450
		} catch (RecognitionException re) {
384
        }
451
			reportError(re);
385
        return ;
452
			recover(input, re);
386
    }
453
		} finally {
387
    // $ANTLR end "rule__QualifiedName__Group__1__Impl"
454
388
455
			restoreStackSize(stackSize);
456
389
457
		}
390
    // $ANTLR start "rule__QualifiedName__Group__2"
458
		return;
391
    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:189:1: rule__QualifiedName__Group__2 : rule__QualifiedName__Group__2__Impl ;
459
	}
392
    public final void rule__QualifiedName__Group__2() throws RecognitionException {
460
393
461
	// $ANTLR end rule__QualifiedName__Group__2__Impl
394
        		int stackSize = keepStackSize();
395
            
396
        try {
397
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:193:1: ( rule__QualifiedName__Group__2__Impl )
398
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:194:2: rule__QualifiedName__Group__2__Impl
399
            {
400
            pushFollow(FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__2320);
401
            rule__QualifiedName__Group__2__Impl();
462
402
403
            state._fsp--;
463
404
464
	// $ANTLR start rule__QualifiedName__PathAssignment_0
465
	// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:227:1: rule__QualifiedName__PathAssignment_0 : ( ( RULE_ID ) ) ;
466
	public final void rule__QualifiedName__PathAssignment_0() throws RecognitionException {
467
405
468
		int stackSize = keepStackSize();
406
            }
469
407
470
		try {
408
        }
471
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:231:1: ( ( ( RULE_ID ) ) )
409
        catch (RecognitionException re) {
472
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:232:1: ( ( RULE_ID ) )
410
            reportError(re);
473
			{
411
            recover(input,re);
474
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:232:1: ( ( RULE_ID ) )
412
        }
475
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:233:1: ( RULE_ID )
413
        finally {
476
				{
477
					before(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0());
478
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:234:1: ( RULE_ID )
479
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:235:1: RULE_ID
480
					{
481
						before(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1());
482
						match(input, RULE_ID, FOLLOW_RULE_ID_in_rule__QualifiedName__PathAssignment_0396);
483
						after(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1());
484
414
485
					}
415
            	restoreStackSize(stackSize);
486
416
487
					after(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0());
417
        }
418
        return ;
419
    }
420
    // $ANTLR end "rule__QualifiedName__Group__2"
488
421
489
				}
490
422
423
    // $ANTLR start "rule__QualifiedName__Group__2__Impl"
424
    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:200:1: rule__QualifiedName__Group__2__Impl : ( ( rule__QualifiedName__RemainingAssignment_2 )? ) ;
425
    public final void rule__QualifiedName__Group__2__Impl() throws RecognitionException {
491
426
492
			}
427
        		int stackSize = keepStackSize();
428
            
429
        try {
430
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:204:1: ( ( ( rule__QualifiedName__RemainingAssignment_2 )? ) )
431
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:205:1: ( ( rule__QualifiedName__RemainingAssignment_2 )? )
432
            {
433
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:205:1: ( ( rule__QualifiedName__RemainingAssignment_2 )? )
434
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:206:1: ( rule__QualifiedName__RemainingAssignment_2 )?
435
            {
436
             before(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2()); 
437
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:207:1: ( rule__QualifiedName__RemainingAssignment_2 )?
438
            int alt1=2;
439
            int LA1_0 = input.LA(1);
493
440
494
		} catch (RecognitionException re) {
441
            if ( (LA1_0==RULE_ID) ) {
495
			reportError(re);
442
                alt1=1;
496
			recover(input, re);
443
            }
497
		} finally {
444
            switch (alt1) {
445
                case 1 :
446
                    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:207:2: rule__QualifiedName__RemainingAssignment_2
447
                    {
448
                    pushFollow(FOLLOW_rule__QualifiedName__RemainingAssignment_2_in_rule__QualifiedName__Group__2__Impl347);
449
                    rule__QualifiedName__RemainingAssignment_2();
498
450
499
			restoreStackSize(stackSize);
451
                    state._fsp--;
500
452
501
		}
502
		return;
503
	}
504
453
505
	// $ANTLR end rule__QualifiedName__PathAssignment_0
454
                    }
455
                    break;
506
456
457
            }
507
458
508
	// $ANTLR start rule__QualifiedName__RemainingAssignment_2
459
             after(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2()); 
509
	// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:246:1: rule__QualifiedName__RemainingAssignment_2 : ( ruleQualifiedName ) ;
510
	public final void rule__QualifiedName__RemainingAssignment_2() throws RecognitionException {
511
460
512
		int stackSize = keepStackSize();
461
            }
513
462
514
		try {
515
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:250:1: ( ( ruleQualifiedName ) )
516
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:251:1: ( ruleQualifiedName )
517
			{
518
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:251:1: ( ruleQualifiedName )
519
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:252:1: ruleQualifiedName
520
				{
521
					before(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0());
522
					pushFollow(FOLLOW_ruleQualifiedName_in_rule__QualifiedName__RemainingAssignment_2431);
523
					ruleQualifiedName();
524
					_fsp--;
525
463
526
					after(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0());
464
            }
527
465
528
				}
466
        }
467
        catch (RecognitionException re) {
468
            reportError(re);
469
            recover(input,re);
470
        }
471
        finally {
529
472
473
            	restoreStackSize(stackSize);
530
474
531
			}
475
        }
476
        return ;
477
    }
478
    // $ANTLR end "rule__QualifiedName__Group__2__Impl"
532
479
533
		} catch (RecognitionException re) {
534
			reportError(re);
535
			recover(input, re);
536
		} finally {
537
480
538
			restoreStackSize(stackSize);
481
    // $ANTLR start "rule__QualifiedName__PathAssignment_0"
482
    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:227:1: rule__QualifiedName__PathAssignment_0 : ( ( RULE_ID ) ) ;
483
    public final void rule__QualifiedName__PathAssignment_0() throws RecognitionException {
539
484
540
		}
485
        		int stackSize = keepStackSize();
541
		return;
486
            
542
	}
487
        try {
488
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:231:1: ( ( ( RULE_ID ) ) )
489
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:232:1: ( ( RULE_ID ) )
490
            {
491
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:232:1: ( ( RULE_ID ) )
492
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:233:1: ( RULE_ID )
493
            {
494
             before(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); 
495
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:234:1: ( RULE_ID )
496
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:235:1: RULE_ID
497
            {
498
             before(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1()); 
499
            match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__QualifiedName__PathAssignment_0396); 
500
             after(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1()); 
543
501
544
	// $ANTLR end rule__QualifiedName__RemainingAssignment_2
502
            }
545
503
504
             after(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); 
546
505
547
	// $ANTLR start rule__BoundSpecification__ValueAssignment
506
            }
548
	// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:265:1: rule__BoundSpecification__ValueAssignment : ( RULE_UNLIMITEDLITERAL ) ;
549
	public final void rule__BoundSpecification__ValueAssignment() throws RecognitionException {
550
507
551
		int stackSize = keepStackSize();
552
508
553
		try {
509
            }
554
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:269:1: ( ( RULE_UNLIMITEDLITERAL ) )
555
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:270:1: ( RULE_UNLIMITEDLITERAL )
556
			{
557
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:270:1: ( RULE_UNLIMITEDLITERAL )
558
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:271:1: RULE_UNLIMITEDLITERAL
559
				{
560
					before(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0());
561
					match(input, RULE_UNLIMITEDLITERAL, FOLLOW_RULE_UNLIMITEDLITERAL_in_rule__BoundSpecification__ValueAssignment466);
562
					after(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0());
563
510
564
				}
511
        }
512
        catch (RecognitionException re) {
513
            reportError(re);
514
            recover(input,re);
515
        }
516
        finally {
565
517
518
            	restoreStackSize(stackSize);
566
519
567
			}
520
        }
521
        return ;
522
    }
523
    // $ANTLR end "rule__QualifiedName__PathAssignment_0"
568
524
569
		} catch (RecognitionException re) {
570
			reportError(re);
571
			recover(input, re);
572
		} finally {
573
525
574
			restoreStackSize(stackSize);
526
    // $ANTLR start "rule__QualifiedName__RemainingAssignment_2"
527
    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:246:1: rule__QualifiedName__RemainingAssignment_2 : ( ruleQualifiedName ) ;
528
    public final void rule__QualifiedName__RemainingAssignment_2() throws RecognitionException {
575
529
576
		}
530
        		int stackSize = keepStackSize();
577
		return;
531
            
578
	}
532
        try {
533
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:250:1: ( ( ruleQualifiedName ) )
534
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:251:1: ( ruleQualifiedName )
535
            {
536
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:251:1: ( ruleQualifiedName )
537
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:252:1: ruleQualifiedName
538
            {
539
             before(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
540
            pushFollow(FOLLOW_ruleQualifiedName_in_rule__QualifiedName__RemainingAssignment_2431);
541
            ruleQualifiedName();
579
542
580
	// $ANTLR end rule__BoundSpecification__ValueAssignment
543
            state._fsp--;
581
544
545
             after(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
582
546
547
            }
583
548
584
549
585
	public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName61 = new BitSet(new long[]{ 0x0000000000000000L });
550
            }
586
551
587
	public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName68 = new BitSet(new long[]{ 0x0000000000000002L });
552
        }
553
        catch (RecognitionException re) {
554
            reportError(re);
555
            recover(input,re);
556
        }
557
        finally {
588
558
589
	public static final BitSet FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName94 = new BitSet(new long[]{ 0x0000000000000002L });
559
            	restoreStackSize(stackSize);
590
560
591
	public static final BitSet FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification125 = new BitSet(new long[]{ 0x0000000000000000L });
561
        }
562
        return ;
563
    }
564
    // $ANTLR end "rule__QualifiedName__RemainingAssignment_2"
592
565
593
	public static final BitSet FOLLOW_EOF_in_entryRuleBoundSpecification132 = new BitSet(new long[]{ 0x0000000000000002L });
594
566
595
	public static final BitSet FOLLOW_rule__BoundSpecification__ValueAssignment_in_ruleBoundSpecification158 = new BitSet(new long[]{ 0x0000000000000002L });
567
    // $ANTLR start "rule__BoundSpecification__ValueAssignment"
568
    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:265:1: rule__BoundSpecification__ValueAssignment : ( RULE_UNLIMITEDLITERAL ) ;
569
    public final void rule__BoundSpecification__ValueAssignment() throws RecognitionException {
596
570
597
	public static final BitSet FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__0198 = new BitSet(new long[]{ 0x0000000000001000L });
571
        		int stackSize = keepStackSize();
572
            
573
        try {
574
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:269:1: ( ( RULE_UNLIMITEDLITERAL ) )
575
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:270:1: ( RULE_UNLIMITEDLITERAL )
576
            {
577
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:270:1: ( RULE_UNLIMITEDLITERAL )
578
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:271:1: RULE_UNLIMITEDLITERAL
579
            {
580
             before(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0()); 
581
            match(input,RULE_UNLIMITEDLITERAL,FOLLOW_RULE_UNLIMITEDLITERAL_in_rule__BoundSpecification__ValueAssignment466); 
582
             after(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0()); 
598
583
599
	public static final BitSet FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__0201 = new BitSet(new long[]{ 0x0000000000000002L });
584
            }
600
585
601
	public static final BitSet FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl228 = new BitSet(new long[]{ 0x0000000000000002L });
602
586
603
	public static final BitSet FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__1258 = new BitSet(new long[]{ 0x0000000000000012L });
587
            }
604
588
605
	public static final BitSet FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__1261 = new BitSet(new long[]{ 0x0000000000000002L });
589
        }
590
        catch (RecognitionException re) {
591
            reportError(re);
592
            recover(input,re);
593
        }
594
        finally {
606
595
607
	public static final BitSet FOLLOW_12_in_rule__QualifiedName__Group__1__Impl289 = new BitSet(new long[]{ 0x0000000000000002L });
596
            	restoreStackSize(stackSize);
608
597
609
	public static final BitSet FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__2320 = new BitSet(new long[]{ 0x0000000000000002L });
598
        }
599
        return ;
600
    }
601
    // $ANTLR end "rule__BoundSpecification__ValueAssignment"
610
602
611
	public static final BitSet FOLLOW_rule__QualifiedName__RemainingAssignment_2_in_rule__QualifiedName__Group__2__Impl347 = new BitSet(new long[]{ 0x0000000000000002L });
603
    // Delegated rules
612
604
613
	public static final BitSet FOLLOW_RULE_ID_in_rule__QualifiedName__PathAssignment_0396 = new BitSet(new long[]{ 0x0000000000000002L });
614
605
615
	public static final BitSet FOLLOW_ruleQualifiedName_in_rule__QualifiedName__RemainingAssignment_2431 = new BitSet(new long[]{ 0x0000000000000002L });
606
 
616
607
617
	public static final BitSet FOLLOW_RULE_UNLIMITEDLITERAL_in_rule__BoundSpecification__ValueAssignment466 = new BitSet(new long[]{ 0x0000000000000002L });
608
    public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName61 = new BitSet(new long[]{0x0000000000000000L});
609
    public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName68 = new BitSet(new long[]{0x0000000000000002L});
610
    public static final BitSet FOLLOW_rule__QualifiedName__Group__0_in_ruleQualifiedName94 = new BitSet(new long[]{0x0000000000000002L});
611
    public static final BitSet FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification125 = new BitSet(new long[]{0x0000000000000000L});
612
    public static final BitSet FOLLOW_EOF_in_entryRuleBoundSpecification132 = new BitSet(new long[]{0x0000000000000002L});
613
    public static final BitSet FOLLOW_rule__BoundSpecification__ValueAssignment_in_ruleBoundSpecification158 = new BitSet(new long[]{0x0000000000000002L});
614
    public static final BitSet FOLLOW_rule__QualifiedName__Group__0__Impl_in_rule__QualifiedName__Group__0198 = new BitSet(new long[]{0x0000000000001000L});
615
    public static final BitSet FOLLOW_rule__QualifiedName__Group__1_in_rule__QualifiedName__Group__0201 = new BitSet(new long[]{0x0000000000000002L});
616
    public static final BitSet FOLLOW_rule__QualifiedName__PathAssignment_0_in_rule__QualifiedName__Group__0__Impl228 = new BitSet(new long[]{0x0000000000000002L});
617
    public static final BitSet FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__1258 = new BitSet(new long[]{0x0000000000000010L});
618
    public static final BitSet FOLLOW_rule__QualifiedName__Group__2_in_rule__QualifiedName__Group__1261 = new BitSet(new long[]{0x0000000000000002L});
619
    public static final BitSet FOLLOW_12_in_rule__QualifiedName__Group__1__Impl289 = new BitSet(new long[]{0x0000000000000002L});
620
    public static final BitSet FOLLOW_rule__QualifiedName__Group__2__Impl_in_rule__QualifiedName__Group__2320 = new BitSet(new long[]{0x0000000000000002L});
621
    public static final BitSet FOLLOW_rule__QualifiedName__RemainingAssignment_2_in_rule__QualifiedName__Group__2__Impl347 = new BitSet(new long[]{0x0000000000000002L});
622
    public static final BitSet FOLLOW_RULE_ID_in_rule__QualifiedName__PathAssignment_0396 = new BitSet(new long[]{0x0000000000000002L});
623
    public static final BitSet FOLLOW_ruleQualifiedName_in_rule__QualifiedName__RemainingAssignment_2431 = new BitSet(new long[]{0x0000000000000002L});
624
    public static final BitSet FOLLOW_RULE_UNLIMITEDLITERAL_in_rule__BoundSpecification__ValueAssignment466 = new BitSet(new long[]{0x0000000000000002L});
618
625
619
}
626
}
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommonLexer.java (-602 / +684 lines)
Lines 1-773 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.common.editor.xtext.ui.contentassist.antlr.internal;
1
package org.eclipse.papyrus.common.editor.xtext.ui.contentassist.antlr.internal;
15
2
16
// Hack: Use our own Lexer superclass by means of import. 
3
// Hack: Use our own Lexer superclass by means of import. 
17
// Currently there is no other way to specify the superclass for the lexer.
4
// Currently there is no other way to specify the superclass for the lexer.
18
import org.antlr.runtime.BaseRecognizer;
19
import org.antlr.runtime.CharStream;
20
import org.antlr.runtime.DFA;
21
import org.antlr.runtime.EarlyExitException;
22
import org.antlr.runtime.MismatchedSetException;
23
import org.antlr.runtime.NoViableAltException;
24
import org.antlr.runtime.RecognitionException;
25
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
5
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
26
6
27
@SuppressWarnings("all")
28
public class InternalUmlCommonLexer extends Lexer {
29
30
	public static final int RULE_ID = 4;
31
32
	public static final int RULE_STRING = 7;
33
34
	public static final int RULE_UNLIMITEDLITERAL = 5;
35
36
	public static final int RULE_ANY_OTHER = 11;
37
38
	public static final int RULE_INT = 6;
39
40
	public static final int T12 = 12;
41
42
	public static final int RULE_WS = 10;
43
44
	public static final int Tokens = 13;
45
46
	public static final int RULE_SL_COMMENT = 9;
47
48
	public static final int EOF = -1;
49
50
	public static final int RULE_ML_COMMENT = 8;
51
52
	public InternalUmlCommonLexer() {
53
		;
54
	}
55
56
	public InternalUmlCommonLexer(CharStream input) {
57
		super(input);
58
	}
59
60
	public String getGrammarFileName() {
61
		return "../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g";
62
	}
63
7
64
	// $ANTLR start T12
8
import org.antlr.runtime.*;
65
	public final void mT12() throws RecognitionException {
9
import java.util.Stack;
66
		try {
10
import java.util.List;
67
			int _type = T12;
11
import java.util.ArrayList;
68
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:10:5: ( '::' )
69
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:10:7: '::'
70
			{
71
				match("::");
72
12
73
13
@SuppressWarnings("all")
74
			}
14
public class InternalUmlCommonLexer extends Lexer {
75
15
    public static final int RULE_ID=4;
76
			this.type = _type;
16
    public static final int RULE_STRING=7;
77
		} finally {
17
    public static final int RULE_UNLIMITEDLITERAL=5;
78
		}
18
    public static final int T__12=12;
79
	}
19
    public static final int RULE_ANY_OTHER=11;
20
    public static final int RULE_INT=6;
21
    public static final int RULE_WS=10;
22
    public static final int RULE_SL_COMMENT=9;
23
    public static final int EOF=-1;
24
    public static final int RULE_ML_COMMENT=8;
80
25
81
	// $ANTLR end T12
26
    // delegates
27
    // delegators
82
28
83
	// $ANTLR start RULE_UNLIMITEDLITERAL
29
    public InternalUmlCommonLexer() {;} 
84
	public final void mRULE_UNLIMITEDLITERAL() throws RecognitionException {
30
    public InternalUmlCommonLexer(CharStream input) {
85
		try {
31
        this(input, new RecognizerSharedState());
86
			int _type = RULE_UNLIMITEDLITERAL;
32
    }
87
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:281:23: ( ( '0' .. '9' ( '0' .. '9' )* | '*' ) )
33
    public InternalUmlCommonLexer(CharStream input, RecognizerSharedState state) {
88
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:281:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
34
        super(input,state);
89
			{
90
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:281:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
91
				int alt2 = 2;
92
				int LA2_0 = input.LA(1);
93
35
94
				if(((LA2_0 >= '0' && LA2_0 <= '9'))) {
36
    }
95
					alt2 = 1;
37
    public String getGrammarFileName() { return "../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g"; }
96
				} else if((LA2_0 == '*')) {
97
					alt2 = 2;
98
				} else {
99
					NoViableAltException nvae = new NoViableAltException("281:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )", 2, 0, input);
100
38
101
					throw nvae;
39
    // $ANTLR start "T__12"
102
				}
40
    public final void mT__12() throws RecognitionException {
103
				switch(alt2) {
41
        try {
104
				case 1:
42
            int _type = T__12;
105
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:281:26: '0' .. '9' ( '0' .. '9' )*
43
            int _channel = DEFAULT_TOKEN_CHANNEL;
106
				{
44
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:11:7: ( '::' )
107
					matchRange('0', '9');
45
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:11:9: '::'
108
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:281:35: ( '0' .. '9' )*
46
            {
109
					loop1: do {
47
            match("::"); 
110
						int alt1 = 2;
111
						int LA1_0 = input.LA(1);
112
48
113
						if(((LA1_0 >= '0' && LA1_0 <= '9'))) {
114
							alt1 = 1;
115
						}
116
49
50
            }
117
51
118
						switch(alt1) {
52
            state.type = _type;
119
						case 1:
53
            state.channel = _channel;
120
							// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:281:36: '0' .. '9'
54
        }
121
						{
55
        finally {
122
							matchRange('0', '9');
56
        }
57
    }
58
    // $ANTLR end "T__12"
123
59
124
						}
60
    // $ANTLR start "RULE_UNLIMITEDLITERAL"
125
							break;
61
    public final void mRULE_UNLIMITEDLITERAL() throws RecognitionException {
62
        try {
63
            int _type = RULE_UNLIMITEDLITERAL;
64
            int _channel = DEFAULT_TOKEN_CHANNEL;
65
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:281:23: ( ( '0' .. '9' ( '0' .. '9' )* | '*' ) )
66
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:281:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
67
            {
68
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:281:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
69
            int alt2=2;
70
            int LA2_0 = input.LA(1);
126
71
127
						default:
72
            if ( ((LA2_0>='0' && LA2_0<='9')) ) {
128
							break loop1;
73
                alt2=1;
129
						}
74
            }
130
					} while(true);
75
            else if ( (LA2_0=='*') ) {
76
                alt2=2;
77
            }
78
            else {
79
                NoViableAltException nvae =
80
                    new NoViableAltException("", 2, 0, input);
131
81
82
                throw nvae;
83
            }
84
            switch (alt2) {
85
                case 1 :
86
                    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:281:26: '0' .. '9' ( '0' .. '9' )*
87
                    {
88
                    matchRange('0','9'); 
89
                    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:281:35: ( '0' .. '9' )*
90
                    loop1:
91
                    do {
92
                        int alt1=2;
93
                        int LA1_0 = input.LA(1);
132
94
133
				}
95
                        if ( ((LA1_0>='0' && LA1_0<='9')) ) {
134
					break;
96
                            alt1=1;
135
				case 2:
97
                        }
136
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:281:47: '*'
137
				{
138
					match('*');
139
98
140
				}
141
					break;
142
99
143
				}
100
                        switch (alt1) {
101
                    	case 1 :
102
                    	    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:281:36: '0' .. '9'
103
                    	    {
104
                    	    matchRange('0','9'); 
144
105
106
                    	    }
107
                    	    break;
145
108
146
			}
109
                    	default :
110
                    	    break loop1;
111
                        }
112
                    } while (true);
147
113
148
			this.type = _type;
149
		} finally {
150
		}
151
	}
152
114
153
	// $ANTLR end RULE_UNLIMITEDLITERAL
115
                    }
116
                    break;
117
                case 2 :
118
                    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:281:47: '*'
119
                    {
120
                    match('*'); 
154
121
155
	// $ANTLR start RULE_ID
122
                    }
156
	public final void mRULE_ID() throws RecognitionException {
123
                    break;
157
		try {
158
			int _type = RULE_ID;
159
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:283:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
160
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:283:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
161
			{
162
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:283:11: ( '^' )?
163
				int alt3 = 2;
164
				int LA3_0 = input.LA(1);
165
124
166
				if((LA3_0 == '^')) {
125
            }
167
					alt3 = 1;
168
				}
169
				switch(alt3) {
170
				case 1:
171
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:283:11: '^'
172
				{
173
					match('^');
174
126
175
				}
176
					break;
177
127
178
				}
128
            }
179
129
180
				if((input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
130
            state.type = _type;
181
					input.consume();
131
            state.channel = _channel;
132
        }
133
        finally {
134
        }
135
    }
136
    // $ANTLR end "RULE_UNLIMITEDLITERAL"
182
137
183
				} else {
138
    // $ANTLR start "RULE_ID"
184
					MismatchedSetException mse = new MismatchedSetException(null, input);
139
    public final void mRULE_ID() throws RecognitionException {
185
					recover(mse);
140
        try {
186
					throw mse;
141
            int _type = RULE_ID;
187
				}
142
            int _channel = DEFAULT_TOKEN_CHANNEL;
143
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:283:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
144
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:283:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
145
            {
146
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:283:11: ( '^' )?
147
            int alt3=2;
148
            int LA3_0 = input.LA(1);
188
149
189
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:283:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
150
            if ( (LA3_0=='^') ) {
190
				loop4: do {
151
                alt3=1;
191
					int alt4 = 2;
152
            }
192
					int LA4_0 = input.LA(1);
153
            switch (alt3) {
154
                case 1 :
155
                    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:283:11: '^'
156
                    {
157
                    match('^'); 
193
158
194
					if(((LA4_0 >= '0' && LA4_0 <= '9') || (LA4_0 >= 'A' && LA4_0 <= 'Z') || LA4_0 == '_' || (LA4_0 >= 'a' && LA4_0 <= 'z'))) {
159
                    }
195
						alt4 = 1;
160
                    break;
196
					}
197
161
162
            }
198
163
199
					switch(alt4) {
164
            if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
200
					case 1:
165
                input.consume();
201
						// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:
202
					{
203
						if((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
204
							input.consume();
205
166
206
						} else {
167
            }
207
							MismatchedSetException mse = new MismatchedSetException(null, input);
168
            else {
208
							recover(mse);
169
                MismatchedSetException mse = new MismatchedSetException(null,input);
209
							throw mse;
170
                recover(mse);
210
						}
171
                throw mse;}
211
172
173
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:283:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
174
            loop4:
175
            do {
176
                int alt4=2;
177
                int LA4_0 = input.LA(1);
212
178
213
					}
179
                if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {
214
						break;
180
                    alt4=1;
181
                }
215
182
216
					default:
217
						break loop4;
218
					}
219
				} while(true);
220
183
184
                switch (alt4) {
185
            	case 1 :
186
            	    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:
187
            	    {
188
            	    if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
189
            	        input.consume();
221
190
222
			}
191
            	    }
192
            	    else {
193
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
194
            	        recover(mse);
195
            	        throw mse;}
223
196
224
			this.type = _type;
225
		} finally {
226
		}
227
	}
228
197
229
	// $ANTLR end RULE_ID
198
            	    }
199
            	    break;
230
200
231
	// $ANTLR start RULE_INT
201
            	default :
232
	public final void mRULE_INT() throws RecognitionException {
202
            	    break loop4;
233
		try {
203
                }
234
			int _type = RULE_INT;
204
            } while (true);
235
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:285:10: ( ( '0' .. '9' )+ )
236
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:285:12: ( '0' .. '9' )+
237
			{
238
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:285:12: ( '0' .. '9' )+
239
				int cnt5 = 0;
240
				loop5: do {
241
					int alt5 = 2;
242
					int LA5_0 = input.LA(1);
243
205
244
					if(((LA5_0 >= '0' && LA5_0 <= '9'))) {
245
						alt5 = 1;
246
					}
247
206
207
            }
248
208
249
					switch(alt5) {
209
            state.type = _type;
250
					case 1:
210
            state.channel = _channel;
251
						// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:285:13: '0' .. '9'
211
        }
252
					{
212
        finally {
253
						matchRange('0', '9');
213
        }
214
    }
215
    // $ANTLR end "RULE_ID"
254
216
255
					}
217
    // $ANTLR start "RULE_INT"
256
						break;
218
    public final void mRULE_INT() throws RecognitionException {
219
        try {
220
            int _type = RULE_INT;
221
            int _channel = DEFAULT_TOKEN_CHANNEL;
222
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:285:10: ( ( '0' .. '9' )+ )
223
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:285:12: ( '0' .. '9' )+
224
            {
225
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:285:12: ( '0' .. '9' )+
226
            int cnt5=0;
227
            loop5:
228
            do {
229
                int alt5=2;
230
                int LA5_0 = input.LA(1);
257
231
258
					default:
232
                if ( ((LA5_0>='0' && LA5_0<='9')) ) {
259
						if(cnt5 >= 1)
233
                    alt5=1;
260
							break loop5;
234
                }
261
						EarlyExitException eee = new EarlyExitException(5, input);
262
						throw eee;
263
					}
264
					cnt5++;
265
				} while(true);
266
235
267
236
268
			}
237
                switch (alt5) {
238
            	case 1 :
239
            	    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:285:13: '0' .. '9'
240
            	    {
241
            	    matchRange('0','9'); 
269
242
270
			this.type = _type;
243
            	    }
271
		} finally {
244
            	    break;
272
		}
273
	}
274
245
275
	// $ANTLR end RULE_INT
246
            	default :
247
            	    if ( cnt5 >= 1 ) break loop5;
248
                        EarlyExitException eee =
249
                            new EarlyExitException(5, input);
250
                        throw eee;
251
                }
252
                cnt5++;
253
            } while (true);
276
254
277
	// $ANTLR start RULE_STRING
278
	public final void mRULE_STRING() throws RecognitionException {
279
		try {
280
			int _type = RULE_STRING;
281
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
282
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
283
			{
284
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
285
				int alt8 = 2;
286
				int LA8_0 = input.LA(1);
287
255
288
				if((LA8_0 == '\"')) {
256
            }
289
					alt8 = 1;
290
				} else if((LA8_0 == '\'')) {
291
					alt8 = 2;
292
				} else {
293
					NoViableAltException nvae = new NoViableAltException("287:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 8, 0, input);
294
257
295
					throw nvae;
258
            state.type = _type;
296
				}
259
            state.channel = _channel;
297
				switch(alt8) {
260
        }
298
				case 1:
261
        finally {
299
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
262
        }
300
				{
263
    }
301
					match('\"');
264
    // $ANTLR end "RULE_INT"
302
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
303
					loop6: do {
304
						int alt6 = 3;
305
						int LA6_0 = input.LA(1);
306
265
307
						if((LA6_0 == '\\')) {
266
    // $ANTLR start "RULE_STRING"
308
							alt6 = 1;
267
    public final void mRULE_STRING() throws RecognitionException {
309
						} else if(((LA6_0 >= '\u0000' && LA6_0 <= '!') || (LA6_0 >= '#' && LA6_0 <= '[') || (LA6_0 >= ']' && LA6_0 <= '\uFFFE'))) {
268
        try {
310
							alt6 = 2;
269
            int _type = RULE_STRING;
311
						}
270
            int _channel = DEFAULT_TOKEN_CHANNEL;
271
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
272
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
273
            {
274
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
275
            int alt8=2;
276
            int LA8_0 = input.LA(1);
312
277
278
            if ( (LA8_0=='\"') ) {
279
                alt8=1;
280
            }
281
            else if ( (LA8_0=='\'') ) {
282
                alt8=2;
283
            }
284
            else {
285
                NoViableAltException nvae =
286
                    new NoViableAltException("", 8, 0, input);
313
287
314
						switch(alt6) {
288
                throw nvae;
315
						case 1:
289
            }
316
							// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
290
            switch (alt8) {
317
						{
291
                case 1 :
318
							match('\\');
292
                    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
319
							if(input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
293
                    {
320
								input.consume();
294
                    match('\"'); 
295
                    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
296
                    loop6:
297
                    do {
298
                        int alt6=3;
299
                        int LA6_0 = input.LA(1);
321
300
322
							} else {
301
                        if ( (LA6_0=='\\') ) {
323
								MismatchedSetException mse = new MismatchedSetException(null, input);
302
                            alt6=1;
324
								recover(mse);
303
                        }
325
								throw mse;
304
                        else if ( ((LA6_0>='\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) {
326
							}
305
                            alt6=2;
306
                        }
327
307
328
308
329
						}
309
                        switch (alt6) {
330
							break;
310
                    	case 1 :
331
						case 2:
311
                    	    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
332
							// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:62: ~ ( ( '\\\\' | '\"' ) )
312
                    	    {
333
						{
313
                    	    match('\\'); 
334
							if((input.LA(1) >= '\u0000' && input.LA(1) <= '!') || (input.LA(1) >= '#' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFE')) {
314
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
335
								input.consume();
315
                    	        input.consume();
336
316
337
							} else {
317
                    	    }
338
								MismatchedSetException mse = new MismatchedSetException(null, input);
318
                    	    else {
339
								recover(mse);
319
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
340
								throw mse;
320
                    	        recover(mse);
341
							}
321
                    	        throw mse;}
342
322
343
323
344
						}
324
                    	    }
345
							break;
325
                    	    break;
326
                    	case 2 :
327
                    	    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:66: ~ ( ( '\\\\' | '\"' ) )
328
                    	    {
329
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
330
                    	        input.consume();
346
331
347
						default:
332
                    	    }
348
							break loop6;
333
                    	    else {
349
						}
334
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
350
					} while(true);
335
                    	        recover(mse);
336
                    	        throw mse;}
351
337
352
					match('\"');
353
338
354
				}
339
                    	    }
355
					break;
340
                    	    break;
356
				case 2:
357
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
358
				{
359
					match('\'');
360
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
361
					loop7: do {
362
						int alt7 = 3;
363
						int LA7_0 = input.LA(1);
364
341
365
						if((LA7_0 == '\\')) {
342
                    	default :
366
							alt7 = 1;
343
                    	    break loop6;
367
						} else if(((LA7_0 >= '\u0000' && LA7_0 <= '&') || (LA7_0 >= '(' && LA7_0 <= '[') || (LA7_0 >= ']' && LA7_0 <= '\uFFFE'))) {
344
                        }
368
							alt7 = 2;
345
                    } while (true);
369
						}
370
346
347
                    match('\"'); 
371
348
372
						switch(alt7) {
349
                    }
373
						case 1:
350
                    break;
374
							// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
351
                case 2 :
375
						{
352
                    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
376
							match('\\');
353
                    {
377
							if(input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
354
                    match('\''); 
378
								input.consume();
355
                    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
356
                    loop7:
357
                    do {
358
                        int alt7=3;
359
                        int LA7_0 = input.LA(1);
379
360
380
							} else {
361
                        if ( (LA7_0=='\\') ) {
381
								MismatchedSetException mse = new MismatchedSetException(null, input);
362
                            alt7=1;
382
								recover(mse);
363
                        }
383
								throw mse;
364
                        else if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) {
384
							}
365
                            alt7=2;
366
                        }
385
367
386
368
387
						}
369
                        switch (alt7) {
388
							break;
370
                    	case 1 :
389
						case 2:
371
                    	    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
390
							// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:129: ~ ( ( '\\\\' | '\\'' ) )
372
                    	    {
391
						{
373
                    	    match('\\'); 
392
							if((input.LA(1) >= '\u0000' && input.LA(1) <= '&') || (input.LA(1) >= '(' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFE')) {
374
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
393
								input.consume();
375
                    	        input.consume();
394
376
395
							} else {
377
                    	    }
396
								MismatchedSetException mse = new MismatchedSetException(null, input);
378
                    	    else {
397
								recover(mse);
379
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
398
								throw mse;
380
                    	        recover(mse);
399
							}
381
                    	        throw mse;}
400
382
401
383
402
						}
384
                    	    }
403
							break;
385
                    	    break;
386
                    	case 2 :
387
                    	    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:287:137: ~ ( ( '\\\\' | '\\'' ) )
388
                    	    {
389
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
390
                    	        input.consume();
404
391
405
						default:
392
                    	    }
406
							break loop7;
393
                    	    else {
407
						}
394
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
408
					} while(true);
395
                    	        recover(mse);
396
                    	        throw mse;}
409
397
410
					match('\'');
411
398
412
				}
399
                    	    }
413
					break;
400
                    	    break;
414
401
415
				}
402
                    	default :
403
                    	    break loop7;
404
                        }
405
                    } while (true);
416
406
407
                    match('\''); 
417
408
418
			}
409
                    }
410
                    break;
419
411
420
			this.type = _type;
412
            }
421
		} finally {
422
		}
423
	}
424
413
425
	// $ANTLR end RULE_STRING
426
414
427
	// $ANTLR start RULE_ML_COMMENT
415
            }
428
	public final void mRULE_ML_COMMENT() throws RecognitionException {
429
		try {
430
			int _type = RULE_ML_COMMENT;
431
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:289:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
432
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:289:19: '/*' ( options {greedy=false; } : . )* '*/'
433
			{
434
				match("/*");
435
416
436
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:289:24: ( options {greedy=false; } : . )*
417
            state.type = _type;
437
				loop9: do {
418
            state.channel = _channel;
438
					int alt9 = 2;
419
        }
439
					int LA9_0 = input.LA(1);
420
        finally {
421
        }
422
    }
423
    // $ANTLR end "RULE_STRING"
440
424
441
					if((LA9_0 == '*')) {
425
    // $ANTLR start "RULE_ML_COMMENT"
442
						int LA9_1 = input.LA(2);
426
    public final void mRULE_ML_COMMENT() throws RecognitionException {
427
        try {
428
            int _type = RULE_ML_COMMENT;
429
            int _channel = DEFAULT_TOKEN_CHANNEL;
430
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:289:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
431
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:289:19: '/*' ( options {greedy=false; } : . )* '*/'
432
            {
433
            match("/*"); 
443
434
444
						if((LA9_1 == '/')) {
435
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:289:24: ( options {greedy=false; } : . )*
445
							alt9 = 2;
436
            loop9:
446
						} else if(((LA9_1 >= '\u0000' && LA9_1 <= '.') || (LA9_1 >= '0' && LA9_1 <= '\uFFFE'))) {
437
            do {
447
							alt9 = 1;
438
                int alt9=2;
448
						}
439
                int LA9_0 = input.LA(1);
449
440
441
                if ( (LA9_0=='*') ) {
442
                    int LA9_1 = input.LA(2);
450
443
451
					} else if(((LA9_0 >= '\u0000' && LA9_0 <= ')') || (LA9_0 >= '+' && LA9_0 <= '\uFFFE'))) {
444
                    if ( (LA9_1=='/') ) {
452
						alt9 = 1;
445
                        alt9=2;
453
					}
446
                    }
447
                    else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) {
448
                        alt9=1;
449
                    }
454
450
455
451
456
					switch(alt9) {
452
                }
457
					case 1:
453
                else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) {
458
						// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:289:52: .
454
                    alt9=1;
459
					{
455
                }
460
						matchAny();
461
456
462
					}
463
						break;
464
457
465
					default:
458
                switch (alt9) {
466
						break loop9;
459
            	case 1 :
467
					}
460
            	    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:289:52: .
468
				} while(true);
461
            	    {
462
            	    matchAny(); 
469
463
470
				match("*/");
464
            	    }
465
            	    break;
471
466
467
            	default :
468
            	    break loop9;
469
                }
470
            } while (true);
472
471
473
			}
472
            match("*/"); 
474
473
475
			this.type = _type;
476
		} finally {
477
		}
478
	}
479
474
480
	// $ANTLR end RULE_ML_COMMENT
475
            }
481
476
482
	// $ANTLR start RULE_SL_COMMENT
477
            state.type = _type;
483
	public final void mRULE_SL_COMMENT() throws RecognitionException {
478
            state.channel = _channel;
484
		try {
479
        }
485
			int _type = RULE_SL_COMMENT;
480
        finally {
486
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:291:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
481
        }
487
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:291:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
482
    }
488
			{
483
    // $ANTLR end "RULE_ML_COMMENT"
489
				match("//");
490
484
491
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:291:24: (~ ( ( '\\n' | '\\r' ) ) )*
485
    // $ANTLR start "RULE_SL_COMMENT"
492
				loop10: do {
486
    public final void mRULE_SL_COMMENT() throws RecognitionException {
493
					int alt10 = 2;
487
        try {
494
					int LA10_0 = input.LA(1);
488
            int _type = RULE_SL_COMMENT;
489
            int _channel = DEFAULT_TOKEN_CHANNEL;
490
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:291:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
491
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:291:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
492
            {
493
            match("//"); 
495
494
496
					if(((LA10_0 >= '\u0000' && LA10_0 <= '\t') || (LA10_0 >= '\u000B' && LA10_0 <= '\f') || (LA10_0 >= '\u000E' && LA10_0 <= '\uFFFE'))) {
495
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:291:24: (~ ( ( '\\n' | '\\r' ) ) )*
497
						alt10 = 1;
496
            loop10:
498
					}
497
            do {
498
                int alt10=2;
499
                int LA10_0 = input.LA(1);
499
500
501
                if ( ((LA10_0>='\u0000' && LA10_0<='\t')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\uFFFF')) ) {
502
                    alt10=1;
503
                }
500
504
501
					switch(alt10) {
502
					case 1:
503
						// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:291:24: ~ ( ( '\\n' | '\\r' ) )
504
					{
505
						if((input.LA(1) >= '\u0000' && input.LA(1) <= '\t') || (input.LA(1) >= '\u000B' && input.LA(1) <= '\f') || (input.LA(1) >= '\u000E' && input.LA(1) <= '\uFFFE')) {
506
							input.consume();
507
505
508
						} else {
506
                switch (alt10) {
509
							MismatchedSetException mse = new MismatchedSetException(null, input);
507
            	case 1 :
510
							recover(mse);
508
            	    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:291:24: ~ ( ( '\\n' | '\\r' ) )
511
							throw mse;
509
            	    {
512
						}
510
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
511
            	        input.consume();
513
512
513
            	    }
514
            	    else {
515
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
516
            	        recover(mse);
517
            	        throw mse;}
514
518
515
					}
516
						break;
517
519
518
					default:
520
            	    }
519
						break loop10;
521
            	    break;
520
					}
521
				} while(true);
522
522
523
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:291:40: ( ( '\\r' )? '\\n' )?
523
            	default :
524
				int alt12 = 2;
524
            	    break loop10;
525
				int LA12_0 = input.LA(1);
525
                }
526
            } while (true);
526
527
527
				if((LA12_0 == '\n' || LA12_0 == '\r')) {
528
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:291:40: ( ( '\\r' )? '\\n' )?
528
					alt12 = 1;
529
            int alt12=2;
529
				}
530
            int LA12_0 = input.LA(1);
530
				switch(alt12) {
531
				case 1:
532
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:291:41: ( '\\r' )? '\\n'
533
				{
534
					// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:291:41: ( '\\r' )?
535
					int alt11 = 2;
536
					int LA11_0 = input.LA(1);
537
531
538
					if((LA11_0 == '\r')) {
532
            if ( (LA12_0=='\n'||LA12_0=='\r') ) {
539
						alt11 = 1;
533
                alt12=1;
540
					}
534
            }
541
					switch(alt11) {
535
            switch (alt12) {
542
					case 1:
536
                case 1 :
543
						// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:291:41: '\\r'
537
                    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:291:41: ( '\\r' )? '\\n'
544
					{
538
                    {
545
						match('\r');
539
                    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:291:41: ( '\\r' )?
540
                    int alt11=2;
541
                    int LA11_0 = input.LA(1);
546
542
547
					}
543
                    if ( (LA11_0=='\r') ) {
548
						break;
544
                        alt11=1;
545
                    }
546
                    switch (alt11) {
547
                        case 1 :
548
                            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:291:41: '\\r'
549
                            {
550
                            match('\r'); 
549
551
550
					}
552
                            }
553
                            break;
551
554
552
					match('\n');
555
                    }
553
556
554
				}
557
                    match('\n'); 
555
					break;
556
558
557
				}
559
                    }
560
                    break;
558
561
562
            }
559
563
560
			}
561
564
562
			this.type = _type;
565
            }
563
		} finally {
564
		}
565
	}
566
566
567
	// $ANTLR end RULE_SL_COMMENT
567
            state.type = _type;
568
            state.channel = _channel;
569
        }
570
        finally {
571
        }
572
    }
573
    // $ANTLR end "RULE_SL_COMMENT"
568
574
569
	// $ANTLR start RULE_WS
575
    // $ANTLR start "RULE_WS"
570
	public final void mRULE_WS() throws RecognitionException {
576
    public final void mRULE_WS() throws RecognitionException {
571
		try {
577
        try {
572
			int _type = RULE_WS;
578
            int _type = RULE_WS;
573
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:293:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
579
            int _channel = DEFAULT_TOKEN_CHANNEL;
574
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:293:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
580
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:293:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
575
			{
581
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:293:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
576
				// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:293:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
582
            {
577
				int cnt13 = 0;
583
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:293:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
578
				loop13: do {
584
            int cnt13=0;
579
					int alt13 = 2;
585
            loop13:
580
					int LA13_0 = input.LA(1);
586
            do {
587
                int alt13=2;
588
                int LA13_0 = input.LA(1);
581
589
582
					if(((LA13_0 >= '\t' && LA13_0 <= '\n') || LA13_0 == '\r' || LA13_0 == ' ')) {
590
                if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) {
583
						alt13 = 1;
591
                    alt13=1;
584
					}
592
                }
585
593
586
594
587
					switch(alt13) {
595
                switch (alt13) {
588
					case 1:
596
            	case 1 :
589
						// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:
597
            	    // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:
590
					{
598
            	    {
591
						if((input.LA(1) >= '\t' && input.LA(1) <= '\n') || input.LA(1) == '\r' || input.LA(1) == ' ') {
599
            	    if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
592
							input.consume();
600
            	        input.consume();
593
601
594
						} else {
602
            	    }
595
							MismatchedSetException mse = new MismatchedSetException(null, input);
603
            	    else {
596
							recover(mse);
604
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
597
							throw mse;
605
            	        recover(mse);
598
						}
606
            	        throw mse;}
599
607
600
608
601
					}
609
            	    }
602
						break;
610
            	    break;
603
611
604
					default:
612
            	default :
605
						if(cnt13 >= 1)
613
            	    if ( cnt13 >= 1 ) break loop13;
606
							break loop13;
614
                        EarlyExitException eee =
607
						EarlyExitException eee = new EarlyExitException(13, input);
615
                            new EarlyExitException(13, input);
608
						throw eee;
616
                        throw eee;
609
					}
617
                }
610
					cnt13++;
618
                cnt13++;
611
				} while(true);
619
            } while (true);
612
620
613
621
614
			}
622
            }
615
623
616
			this.type = _type;
624
            state.type = _type;
617
		} finally {
625
            state.channel = _channel;
618
		}
626
        }
619
	}
627
        finally {
628
        }
629
    }
630
    // $ANTLR end "RULE_WS"
620
631
621
	// $ANTLR end RULE_WS
632
    // $ANTLR start "RULE_ANY_OTHER"
633
    public final void mRULE_ANY_OTHER() throws RecognitionException {
634
        try {
635
            int _type = RULE_ANY_OTHER;
636
            int _channel = DEFAULT_TOKEN_CHANNEL;
637
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:295:16: ( . )
638
            // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:295:18: .
639
            {
640
            matchAny(); 
622
641
623
	// $ANTLR start RULE_ANY_OTHER
642
            }
624
	public final void mRULE_ANY_OTHER() throws RecognitionException {
625
		try {
626
			int _type = RULE_ANY_OTHER;
627
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:295:16: ( . )
628
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:295:18: .
629
			{
630
				matchAny();
631
643
632
			}
644
            state.type = _type;
645
            state.channel = _channel;
646
        }
647
        finally {
648
        }
649
    }
650
    // $ANTLR end "RULE_ANY_OTHER"
633
651
634
			this.type = _type;
652
    public void mTokens() throws RecognitionException {
635
		} finally {
653
        // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:8: ( T__12 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
636
		}
654
        int alt14=9;
637
	}
655
        alt14 = dfa14.predict(input);
656
        switch (alt14) {
657
            case 1 :
658
                // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:10: T__12
659
                {
660
                mT__12(); 
638
661
639
	// $ANTLR end RULE_ANY_OTHER
662
                }
663
                break;
664
            case 2 :
665
                // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:16: RULE_UNLIMITEDLITERAL
666
                {
667
                mRULE_UNLIMITEDLITERAL(); 
640
668
641
	public void mTokens() throws RecognitionException {
669
                }
642
		// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:8: ( T12 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
670
                break;
643
		int alt14 = 9;
671
            case 3 :
644
		alt14 = dfa14.predict(input);
672
                // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:38: RULE_ID
645
		switch(alt14) {
673
                {
646
		case 1:
674
                mRULE_ID(); 
647
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:10: T12
648
		{
649
			mT12();
650
675
651
		}
676
                }
652
			break;
677
                break;
653
		case 2:
678
            case 4 :
654
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:14: RULE_UNLIMITEDLITERAL
679
                // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:46: RULE_INT
655
		{
680
                {
656
			mRULE_UNLIMITEDLITERAL();
681
                mRULE_INT(); 
657
682
658
		}
683
                }
659
			break;
684
                break;
660
		case 3:
685
            case 5 :
661
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:36: RULE_ID
686
                // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:55: RULE_STRING
662
		{
687
                {
663
			mRULE_ID();
688
                mRULE_STRING(); 
664
689
665
		}
690
                }
666
			break;
691
                break;
667
		case 4:
692
            case 6 :
668
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:44: RULE_INT
693
                // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:67: RULE_ML_COMMENT
669
		{
694
                {
670
			mRULE_INT();
695
                mRULE_ML_COMMENT(); 
671
696
672
		}
697
                }
673
			break;
698
                break;
674
		case 5:
699
            case 7 :
675
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:53: RULE_STRING
700
                // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:83: RULE_SL_COMMENT
676
		{
701
                {
677
			mRULE_STRING();
702
                mRULE_SL_COMMENT(); 
678
703
679
		}
704
                }
680
			break;
705
                break;
681
		case 6:
706
            case 8 :
682
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:65: RULE_ML_COMMENT
707
                // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:99: RULE_WS
683
		{
708
                {
684
			mRULE_ML_COMMENT();
709
                mRULE_WS(); 
685
710
686
		}
711
                }
687
			break;
712
                break;
688
		case 7:
713
            case 9 :
689
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:81: RULE_SL_COMMENT
714
                // ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:107: RULE_ANY_OTHER
690
		{
715
                {
691
			mRULE_SL_COMMENT();
716
                mRULE_ANY_OTHER(); 
692
717
693
		}
718
                }
694
			break;
719
                break;
695
		case 8:
696
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:97: RULE_WS
697
		{
698
			mRULE_WS();
699
720
700
		}
721
        }
701
			break;
702
		case 9:
703
			// ../org.eclipse.papyrus.common.editor.xtext.ui/src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/internal/InternalUmlCommon.g:1:105: RULE_ANY_OTHER
704
		{
705
			mRULE_ANY_OTHER();
706
722
707
		}
723
    }
708
			break;
709
724
710
		}
711
725
712
	}
726
    protected DFA14 dfa14 = new DFA14(this);
727
    static final String DFA14_eotS =
728
        "\1\uffff\1\12\1\15\1\uffff\1\12\1\uffff\3\12\3\uffff\1\15\6\uffff";
729
    static final String DFA14_eofS =
730
        "\23\uffff";
731
    static final String DFA14_minS =
732
        "\1\0\1\72\1\60\1\uffff\1\101\1\uffff\2\0\1\52\3\uffff\1\60\6\uffff";
733
    static final String DFA14_maxS =
734
        "\1\uffff\1\72\1\71\1\uffff\1\172\1\uffff\2\uffff\1\57\3\uffff\1"+
735
        "\71\6\uffff";
736
    static final String DFA14_acceptS =
737
        "\3\uffff\1\2\1\uffff\1\3\3\uffff\1\10\1\11\1\1\1\uffff\1\2\1\3"+
738
        "\1\5\1\6\1\7\1\10";
739
    static final String DFA14_specialS =
740
        "\1\1\5\uffff\1\2\1\0\13\uffff}>";
741
    static final String[] DFA14_transitionS = {
742
            "\11\12\2\11\2\12\1\11\22\12\1\11\1\12\1\6\4\12\1\7\2\12\1\3"+
743
            "\4\12\1\10\12\2\1\1\6\12\32\5\3\12\1\4\1\5\1\12\32\5\uff85\12",
744
            "\1\13",
745
            "\12\14",
746
            "",
747
            "\32\16\4\uffff\1\16\1\uffff\32\16",
748
            "",
749
            "\0\17",
750
            "\0\17",
751
            "\1\20\4\uffff\1\21",
752
            "",
753
            "",
754
            "",
755
            "\12\14",
756
            "",
757
            "",
758
            "",
759
            "",
760
            "",
761
            ""
762
    };
713
763
764
    static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS);
765
    static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS);
766
    static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS);
767
    static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS);
768
    static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS);
769
    static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS);
770
    static final short[][] DFA14_transition;
714
771
715
	protected DFA14 dfa14 = new DFA14(this);
772
    static {
773
        int numStates = DFA14_transitionS.length;
774
        DFA14_transition = new short[numStates][];
775
        for (int i=0; i<numStates; i++) {
776
            DFA14_transition[i] = DFA.unpackEncodedString(DFA14_transitionS[i]);
777
        }
778
    }
716
779
717
	static final String DFA14_eotS = "\1\uffff\1\12\1\15\1\uffff\1\12\1\uffff\3\12\3\uffff\1\15\6\uffff";
780
    class DFA14 extends DFA {
718
781
719
	static final String DFA14_eofS = "\23\uffff";
782
        public DFA14(BaseRecognizer recognizer) {
783
            this.recognizer = recognizer;
784
            this.decisionNumber = 14;
785
            this.eot = DFA14_eot;
786
            this.eof = DFA14_eof;
787
            this.min = DFA14_min;
788
            this.max = DFA14_max;
789
            this.accept = DFA14_accept;
790
            this.special = DFA14_special;
791
            this.transition = DFA14_transition;
792
        }
793
        public String getDescription() {
794
            return "1:1: Tokens : ( T__12 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
795
        }
796
        public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
797
            IntStream input = _input;
798
        	int _s = s;
799
            switch ( s ) {
800
                    case 0 : 
801
                        int LA14_7 = input.LA(1);
720
802
721
	static final String DFA14_minS = "\1\0\1\72\1\60\1\uffff\1\101\1\uffff\2\0\1\52\3\uffff\1\60\6\uffff";
803
                        s = -1;
804
                        if ( ((LA14_7>='\u0000' && LA14_7<='\uFFFF')) ) {s = 15;}
722
805
723
	static final String DFA14_maxS = "\1\ufffe\1\72\1\71\1\uffff\1\172\1\uffff\2\ufffe\1\57\3\uffff\1" + "\71\6\uffff";
806
                        else s = 10;
724
807
725
	static final String DFA14_acceptS = "\3\uffff\1\2\1\uffff\1\3\3\uffff\1\10\1\11\1\1\1\uffff\1\2\1\3\1" + "\5\1\7\1\6\1\10";
808
                        if ( s>=0 ) return s;
809
                        break;
810
                    case 1 : 
811
                        int LA14_0 = input.LA(1);
726
812
727
	static final String DFA14_specialS = "\23\uffff}>";
813
                        s = -1;
814
                        if ( (LA14_0==':') ) {s = 1;}
728
815
729
	static final String[] DFA14_transitionS = { "\11\12\2\11\2\12\1\11\22\12\1\11\1\12\1\6\4\12\1\7\2\12\1\3" + "\4\12\1\10\12\2\1\1\6\12\32\5\3\12\1\4\1\5\1\12\32\5\uff84\12", "\1\13", "\12\14", "", "\32\16\4\uffff\1\16\1\uffff\32\16", "", "\uffff\17", "\uffff\17", "\1\21\4\uffff\1\20", "", "", "", "\12\14", "", "", "", "", "", "" };
816
                        else if ( ((LA14_0>='0' && LA14_0<='9')) ) {s = 2;}
730
817
731
	static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS);
818
                        else if ( (LA14_0=='*') ) {s = 3;}
732
819
733
	static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS);
820
                        else if ( (LA14_0=='^') ) {s = 4;}
734
821
735
	static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS);
822
                        else if ( ((LA14_0>='A' && LA14_0<='Z')||LA14_0=='_'||(LA14_0>='a' && LA14_0<='z')) ) {s = 5;}
736
823
737
	static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS);
824
                        else if ( (LA14_0=='\"') ) {s = 6;}
738
825
739
	static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS);
826
                        else if ( (LA14_0=='\'') ) {s = 7;}
740
827
741
	static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS);
828
                        else if ( (LA14_0=='/') ) {s = 8;}
742
829
743
	static final short[][] DFA14_transition;
830
                        else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 9;}
744
831
745
	static {
832
                        else if ( ((LA14_0>='\u0000' && LA14_0<='\b')||(LA14_0>='\u000B' && LA14_0<='\f')||(LA14_0>='\u000E' && LA14_0<='\u001F')||LA14_0=='!'||(LA14_0>='#' && LA14_0<='&')||(LA14_0>='(' && LA14_0<=')')||(LA14_0>='+' && LA14_0<='.')||(LA14_0>=';' && LA14_0<='@')||(LA14_0>='[' && LA14_0<=']')||LA14_0=='`'||(LA14_0>='{' && LA14_0<='\uFFFF')) ) {s = 10;}
746
		int numStates = DFA14_transitionS.length;
747
		DFA14_transition = new short[numStates][];
748
		for(int i = 0; i < numStates; i++) {
749
			DFA14_transition[i] = DFA.unpackEncodedString(DFA14_transitionS[i]);
750
		}
751
	}
752
833
753
	class DFA14 extends DFA {
834
                        if ( s>=0 ) return s;
835
                        break;
836
                    case 2 : 
837
                        int LA14_6 = input.LA(1);
754
838
755
		public DFA14(BaseRecognizer recognizer) {
839
                        s = -1;
756
			this.recognizer = recognizer;
840
                        if ( ((LA14_6>='\u0000' && LA14_6<='\uFFFF')) ) {s = 15;}
757
			this.decisionNumber = 14;
758
			this.eot = DFA14_eot;
759
			this.eof = DFA14_eof;
760
			this.min = DFA14_min;
761
			this.max = DFA14_max;
762
			this.accept = DFA14_accept;
763
			this.special = DFA14_special;
764
			this.transition = DFA14_transition;
765
		}
766
841
767
		public String getDescription() {
842
                        else s = 10;
768
			return "1:1: Tokens : ( T12 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
769
		}
770
	}
771
843
844
                        if ( s>=0 ) return s;
845
                        break;
846
            }
847
            NoViableAltException nvae =
848
                new NoViableAltException(getDescription(), 14, _s, input);
849
            error(nvae);
850
            throw nvae;
851
        }
852
    }
853
 
772
854
773
}
855
}
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/ui/contentassist/antlr/UmlCommonParser.java (-18 / +18 lines)
Lines 1-14 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
package org.eclipse.papyrus.common.editor.xtext.ui.contentassist.antlr;
4
package org.eclipse.papyrus.common.editor.xtext.ui.contentassist.antlr;
5
5
6
import java.util.Collection;
6
import java.util.Collection;
7
import java.util.HashMap;
8
import java.util.Map;
7
import java.util.Map;
8
import java.util.HashMap;
9
9
10
import org.antlr.runtime.RecognitionException;
10
import org.antlr.runtime.RecognitionException;
11
import org.eclipse.papyrus.common.editor.xtext.services.UmlCommonGrammarAccess;
12
import org.eclipse.xtext.AbstractElement;
11
import org.eclipse.xtext.AbstractElement;
13
import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser;
12
import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser;
14
import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement;
13
import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement;
Lines 16-40 Link Here
16
15
17
import com.google.inject.Inject;
16
import com.google.inject.Inject;
18
17
19
public class UmlCommonParser extends AbstractContentAssistParser {
18
import org.eclipse.papyrus.common.editor.xtext.services.UmlCommonGrammarAccess;
20
19
20
public class UmlCommonParser extends AbstractContentAssistParser {
21
	
21
	@Inject
22
	@Inject
22
	private UmlCommonGrammarAccess grammarAccess;
23
	private UmlCommonGrammarAccess grammarAccess;
23
24
	
24
	private Map<AbstractElement, String> nameMappings;
25
	private Map<AbstractElement, String> nameMappings;
25
26
	
26
	@Override
27
	@Override
27
	protected org.eclipse.papyrus.common.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCommonParser createParser() {
28
	protected org.eclipse.papyrus.common.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCommonParser createParser() {
28
		org.eclipse.papyrus.common.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCommonParser result = new org.eclipse.papyrus.common.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCommonParser(null);
29
		org.eclipse.papyrus.common.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCommonParser result = new org.eclipse.papyrus.common.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCommonParser(null);
29
		result.setGrammarAccess(grammarAccess);
30
		result.setGrammarAccess(grammarAccess);
30
		return result;
31
		return result;
31
	}
32
	}
32
33
	
33
	@Override
34
	@Override
34
	protected String getRuleName(AbstractElement element) {
35
	protected String getRuleName(AbstractElement element) {
35
		if(nameMappings == null) {
36
		if (nameMappings == null) {
36
			nameMappings = new HashMap<AbstractElement, String>() {
37
			nameMappings = new HashMap<AbstractElement, String>() {
37
38
				private static final long serialVersionUID = 1L;
38
				private static final long serialVersionUID = 1L;
39
				{
39
				{
40
					put(grammarAccess.getVisibilityKindAccess().getAlternatives(), "rule__VisibilityKind__Alternatives");
40
					put(grammarAccess.getVisibilityKindAccess().getAlternatives(), "rule__VisibilityKind__Alternatives");
Lines 55-81 Link Here
55
		}
55
		}
56
		return nameMappings.get(element);
56
		return nameMappings.get(element);
57
	}
57
	}
58
58
	
59
	@Override
59
	@Override
60
	protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
60
	protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
61
		try {
61
		try {
62
			org.eclipse.papyrus.common.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCommonParser typedParser = (org.eclipse.papyrus.common.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCommonParser)parser;
62
			org.eclipse.papyrus.common.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCommonParser typedParser = (org.eclipse.papyrus.common.editor.xtext.ui.contentassist.antlr.internal.InternalUmlCommonParser) parser;
63
			typedParser.entryRuleQualifiedName();
63
			typedParser.entryRuleQualifiedName();
64
			return typedParser.getFollowElements();
64
			return typedParser.getFollowElements();
65
		} catch (RecognitionException ex) {
65
		} catch(RecognitionException ex) {
66
			throw new RuntimeException(ex);
66
			throw new RuntimeException(ex);
67
		}
67
		}		
68
	}
68
	}
69
69
	
70
	@Override
70
	@Override
71
	protected String[] getInitialHiddenTokens() {
71
	protected String[] getInitialHiddenTokens() {
72
		return new String[]{ "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" };
72
		return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" };
73
	}
73
	}
74
74
	
75
	public UmlCommonGrammarAccess getGrammarAccess() {
75
	public UmlCommonGrammarAccess getGrammarAccess() {
76
		return this.grammarAccess;
76
		return this.grammarAccess;
77
	}
77
	}
78
78
	
79
	public void setGrammarAccess(UmlCommonGrammarAccess grammarAccess) {
79
	public void setGrammarAccess(UmlCommonGrammarAccess grammarAccess) {
80
		this.grammarAccess = grammarAccess;
80
		this.grammarAccess = grammarAccess;
81
	}
81
	}
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/ui/AbstractUmlCommonUiModule.java (-21 / +17 lines)
Lines 1-43 Link Here
1
1
/*
2
/*
2
 * generated by Xtext
3
 * generated by Xtext
3
 */
4
 */
4
package org.eclipse.papyrus.common.editor.xtext.ui;
5
package org.eclipse.papyrus.common.editor.xtext.ui;
5
6
6
import org.eclipse.ui.plugin.AbstractUIPlugin;
7
import org.eclipse.xtext.ui.DefaultUiModule;
7
import org.eclipse.xtext.ui.DefaultUiModule;
8
import org.eclipse.ui.plugin.AbstractUIPlugin;
8
9
9
/**
10
/**
10
 * Manual modifications go to {org.eclipse.papyrus.common.editor.xtext.ui.UmlCommonUiModule}
11
 * Manual modifications go to {org.eclipse.papyrus.common.editor.xtext.ui.UmlCommonUiModule}
11
 */
12
 */
12
@SuppressWarnings("all")
13
@SuppressWarnings("all")
13
public abstract class AbstractUmlCommonUiModule extends DefaultUiModule {
14
public abstract class AbstractUmlCommonUiModule extends DefaultUiModule {
14
15
	
15
	public AbstractUmlCommonUiModule(AbstractUIPlugin plugin) {
16
	public AbstractUmlCommonUiModule(AbstractUIPlugin plugin) {
16
		super(plugin);
17
		super(plugin);
17
	}
18
	}
18
19
	
19
20
	
20
	// contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment
21
	// contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment
21
	public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() {
22
	public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() {
22
		return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState();
23
		return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState();
23
	}
24
	}
24
25
25
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
26
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
26
	public Class<? extends org.eclipse.jface.text.rules.ITokenScanner> bindITokenScanner() {
27
		return org.eclipse.xtext.ui.editor.syntaxcoloring.antlr.AntlrTokenScanner.class;
28
	}
29
30
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
31
	public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
27
	public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
32
		return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
28
		return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
33
	}
29
	}
34
30
35
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
31
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
36
	public Class<? extends org.eclipse.xtext.ui.editor.IDamagerRepairer> bindIDamagerRepairer() {
37
		return org.eclipse.xtext.ui.editor.FastDamagerRepairer.class;
38
	}
39
40
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
41
	public void configureHighlightingLexer(com.google.inject.Binder binder) {
32
	public void configureHighlightingLexer(com.google.inject.Binder binder) {
42
		binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.common.editor.xtext.parser.antlr.internal.InternalUmlCommonLexer.class);
33
		binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.common.editor.xtext.parser.antlr.internal.InternalUmlCommonLexer.class);
43
	}
34
	}
Lines 47-55 Link Here
47
		binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
38
		binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
48
	}
39
	}
49
40
41
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
42
	public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() {
43
		return org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator.Null.class;
44
	}
45
50
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
46
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
51
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
47
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
52
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.builderState.ShadowingResourceDescriptions.class);
48
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class);
53
	}
49
	}
54
50
55
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
51
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
Lines 77-90 Link Here
77
		binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.common.editor.xtext.ui.labeling.UmlCommonDescriptionLabelProvider.class);
73
		binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.common.editor.xtext.ui.labeling.UmlCommonDescriptionLabelProvider.class);
78
	}
74
	}
79
75
80
	// contributed by org.eclipse.xtext.ui.generator.outline.TransformerFragment
76
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
81
	public Class<? extends org.eclipse.xtext.ui.editor.outline.transformer.ISemanticModelTransformer> bindISemanticModelTransformer() {
77
	public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() {
82
		return org.eclipse.papyrus.common.editor.xtext.ui.outline.UmlCommonTransformer.class;
78
		return org.eclipse.papyrus.common.editor.xtext.ui.outline.UmlCommonOutlineTreeProvider.class;
83
	}
79
	}
84
80
85
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineNodeAdapterFactoryFragment
81
	// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
86
	public Class<? extends org.eclipse.xtext.ui.editor.outline.actions.IContentOutlineNodeAdapterFactory> bindIContentOutlineNodeAdapterFactory() {
82
	public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
87
		return org.eclipse.papyrus.common.editor.xtext.ui.outline.UmlCommonOutlineNodeAdapterFactory.class;
83
		return org.eclipse.papyrus.common.editor.xtext.ui.outline.UmlCommonOutlineTreeProvider.class;
88
	}
84
	}
89
85
90
	// contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
86
	// contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
(-)src-gen/org/eclipse/papyrus/common/editor/xtext/ui/UmlCommonExecutableExtensionFactory.java (-4 / +4 lines)
Lines 1-7 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
 * generated by Xtext
3
 */
3
 */
4
5
package org.eclipse.papyrus.common.editor.xtext.ui;
4
package org.eclipse.papyrus.common.editor.xtext.ui;
6
5
7
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
6
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
Lines 10-16 Link Here
10
import com.google.inject.Injector;
9
import com.google.inject.Injector;
11
10
12
/**
11
/**
13
 * @generated
12
 * This class was generated. Customizations should only happen in a newly
13
 * introduced subclass. 
14
 */
14
 */
15
public class UmlCommonExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
15
public class UmlCommonExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
16
16
Lines 18-27 Link Here
18
	protected Bundle getBundle() {
18
	protected Bundle getBundle() {
19
		return org.eclipse.papyrus.common.editor.xtext.ui.internal.UmlCommonActivator.getInstance().getBundle();
19
		return org.eclipse.papyrus.common.editor.xtext.ui.internal.UmlCommonActivator.getInstance().getBundle();
20
	}
20
	}
21
21
	
22
	@Override
22
	@Override
23
	protected Injector getInjector() {
23
	protected Injector getInjector() {
24
		return org.eclipse.papyrus.common.editor.xtext.ui.internal.UmlCommonActivator.getInstance().getInjector("org.eclipse.papyrus.common.editor.xtext.UmlCommon");
24
		return org.eclipse.papyrus.common.editor.xtext.ui.internal.UmlCommonActivator.getInstance().getInjector("org.eclipse.papyrus.common.editor.xtext.UmlCommon");
25
	}
25
	}
26
26
	
27
}
27
}
(-)src/org/eclipse/papyrus/common/editor/xtext/ui/outline/UmlCommonOutlineNodeAdapterFactory.java (-21 lines)
Lines 1-21 Link Here
1
/*
2
 * generated by Xtext
3
 */
4
package org.eclipse.papyrus.common.editor.xtext.ui.outline;
5
6
import org.eclipse.xtext.ui.editor.outline.actions.DefaultContentOutlineNodeAdapterFactory;
7
8
public class UmlCommonOutlineNodeAdapterFactory extends DefaultContentOutlineNodeAdapterFactory {
9
10
	private static final Class<?>[] types = {
11
	// provide list of classes to adapt to, e.g.:
12
	// Entity.class
13
	// Service.class
14
	};
15
16
	@Override
17
	public Class<?>[] getAdapterList() {
18
		return types;
19
	}
20
21
}
(-)src/org/eclipse/papyrus/common/editor/xtext/ui/outline/UmlCommonTransformer.java (-14 lines)
Lines 1-14 Link Here
1
/*
2
 * generated by Xtext
3
 */
4
package org.eclipse.papyrus.common.editor.xtext.ui.outline;
5
6
import org.eclipse.xtext.ui.editor.outline.transformer.AbstractDeclarativeSemanticModelTransformer;
7
8
/**
9
 * customization of the default outline structure
10
 * 
11
 */
12
public class UmlCommonTransformer extends AbstractDeclarativeSemanticModelTransformer {
13
14
}
(-)src/org/eclipse/papyrus/common/editor/xtext/ui/outline/UmlCommonOutlineTreeProvider.java (+14 lines)
Line 0 Link Here
1
/*
2
* generated by Xtext
3
*/
4
package org.eclipse.papyrus.common.editor.xtext.ui.outline;
5
6
import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;
7
8
/**
9
 * customization of the default outline structure
10
 * 
11
 */
12
public class UmlCommonOutlineTreeProvider extends DefaultOutlineTreeProvider {
13
	
14
}
(-)META-INF/MANIFEST.MF (-1 / +1 lines)
Lines 20-26 Link Here
20
 org.antlr.runtime,
20
 org.antlr.runtime,
21
 org.eclipse.uml2.uml;bundle-version="3.1.0",
21
 org.eclipse.uml2.uml;bundle-version="3.1.0",
22
 org.eclipse.uml2.codegen.ecore;bundle-version="1.6.0",
22
 org.eclipse.uml2.codegen.ecore;bundle-version="1.6.0",
23
 org.eclipse.xtext.gmf.glue;bundle-version="1.0.0"
23
 org.eclipse.xtext.gmf.glue;bundle-version="0.8.0"
24
Import-Package: org.apache.log4j
24
Import-Package: org.apache.log4j
25
Bundle-RequiredExecutionEnvironment: J2SE-1.5
25
Bundle-RequiredExecutionEnvironment: J2SE-1.5
26
Export-Package: org.eclipse.papyrus.state.editor.xtext,
26
Export-Package: org.eclipse.papyrus.state.editor.xtext,
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/UmlStateStandaloneSetupGenerated.java (-1 lines)
Lines 39-44 Link Here
39
39
40
40
41
41
42
43
	}
42
	}
44
}
43
}
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore (-11 / +12 lines)
Lines 5-38 Link Here
5
    nsURI="http://www.eclipse.org/papyrus/state/editor/xtext/UmlState" nsPrefix="umlState">
5
    nsURI="http://www.eclipse.org/papyrus/state/editor/xtext/UmlState" nsPrefix="umlState">
6
  <eClassifiers xsi:type="ecore:EClass" name="StateRule">
6
  <eClassifiers xsi:type="ecore:EClass" name="StateRule">
7
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
7
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
8
    <eStructuralFeatures xsi:type="ecore:EReference" name="submachine" eType="#//SubmachineRule"
8
    <eStructuralFeatures xsi:type="ecore:EReference" name="submachine" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//SubmachineRule"
9
        containment="true"/>
9
        containment="true"/>
10
    <eStructuralFeatures xsi:type="ecore:EReference" name="entry" eType="#//EntryRule"
10
    <eStructuralFeatures xsi:type="ecore:EReference" name="entry" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//EntryRule"
11
        containment="true"/>
11
        containment="true"/>
12
    <eStructuralFeatures xsi:type="ecore:EReference" name="do" eType="#//DoRule" containment="true"/>
12
    <eStructuralFeatures xsi:type="ecore:EReference" name="do" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//DoRule"
13
    <eStructuralFeatures xsi:type="ecore:EReference" name="exit" eType="#//ExitRule"
13
        containment="true"/>
14
    <eStructuralFeatures xsi:type="ecore:EReference" name="exit" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//ExitRule"
14
        containment="true"/>
15
        containment="true"/>
15
  </eClassifiers>
16
  </eClassifiers>
16
  <eClassifiers xsi:type="ecore:EClass" name="SubmachineRule">
17
  <eClassifiers xsi:type="ecore:EClass" name="SubmachineRule">
17
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="#//QualifiedName"
18
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//QualifiedName"
18
        containment="true"/>
19
        containment="true"/>
19
    <eStructuralFeatures xsi:type="ecore:EReference" name="submachine" eType="ecore:EClass ../../../../../../../model/UML.ecore#//StateMachine"/>
20
    <eStructuralFeatures xsi:type="ecore:EReference" name="submachine" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.state.editor.xtext/model/UML.ecore#//StateMachine"/>
20
  </eClassifiers>
21
  </eClassifiers>
21
  <eClassifiers xsi:type="ecore:EClass" name="QualifiedName">
22
  <eClassifiers xsi:type="ecore:EClass" name="QualifiedName">
22
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="ecore:EClass ../../../../../../../model/UML.ecore#//Namespace"/>
23
    <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.state.editor.xtext/model/UML.ecore#//Namespace"/>
23
    <eStructuralFeatures xsi:type="ecore:EReference" name="remaining" eType="#//QualifiedName"
24
    <eStructuralFeatures xsi:type="ecore:EReference" name="remaining" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//QualifiedName"
24
        containment="true"/>
25
        containment="true"/>
25
  </eClassifiers>
26
  </eClassifiers>
26
  <eClassifiers xsi:type="ecore:EClass" name="EntryRule">
27
  <eClassifiers xsi:type="ecore:EClass" name="EntryRule">
27
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="#//BehaviorKind"/>
28
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="ecore:EEnum platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//BehaviorKind"/>
28
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="behaviorName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
29
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="behaviorName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
29
  </eClassifiers>
30
  </eClassifiers>
30
  <eClassifiers xsi:type="ecore:EClass" name="DoRule">
31
  <eClassifiers xsi:type="ecore:EClass" name="DoRule">
31
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="#//BehaviorKind"/>
32
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="ecore:EEnum platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//BehaviorKind"/>
32
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="behaviorName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
33
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="behaviorName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
33
  </eClassifiers>
34
  </eClassifiers>
34
  <eClassifiers xsi:type="ecore:EClass" name="ExitRule">
35
  <eClassifiers xsi:type="ecore:EClass" name="ExitRule">
35
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="#//BehaviorKind"/>
36
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="ecore:EEnum platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//BehaviorKind"/>
36
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="behaviorName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
37
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="behaviorName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
37
  </eClassifiers>
38
  </eClassifiers>
38
  <eClassifiers xsi:type="ecore:EEnum" name="BehaviorKind">
39
  <eClassifiers xsi:type="ecore:EEnum" name="BehaviorKind">
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/services/UmlStateGrammarAccess.java (-2 / +2 lines)
Lines 394-401 Link Here
394
	} 
394
	} 
395
395
396
	//terminal STRING:
396
	//terminal STRING:
397
	//	"\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" | "n" |
397
	//	"\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" |
398
	//	"f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
398
	//	"n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
399
	public TerminalRule getSTRINGRule() {
399
	public TerminalRule getSTRINGRule() {
400
		return gaTerminals.getSTRINGRule();
400
		return gaTerminals.getSTRINGRule();
401
	} 
401
	} 
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.xmi (+2 lines)
Lines 196-201 Link Here
196
                <elements xsi:type="xtext:Keyword" value="n"/>
196
                <elements xsi:type="xtext:Keyword" value="n"/>
197
                <elements xsi:type="xtext:Keyword" value="f"/>
197
                <elements xsi:type="xtext:Keyword" value="f"/>
198
                <elements xsi:type="xtext:Keyword" value="r"/>
198
                <elements xsi:type="xtext:Keyword" value="r"/>
199
                <elements xsi:type="xtext:Keyword" value="u"/>
199
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
200
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
200
                <elements xsi:type="xtext:Keyword" value="'"/>
201
                <elements xsi:type="xtext:Keyword" value="'"/>
201
                <elements xsi:type="xtext:Keyword" value="\"/>
202
                <elements xsi:type="xtext:Keyword" value="\"/>
Lines 221-226 Link Here
221
                <elements xsi:type="xtext:Keyword" value="n"/>
222
                <elements xsi:type="xtext:Keyword" value="n"/>
222
                <elements xsi:type="xtext:Keyword" value="f"/>
223
                <elements xsi:type="xtext:Keyword" value="f"/>
223
                <elements xsi:type="xtext:Keyword" value="r"/>
224
                <elements xsi:type="xtext:Keyword" value="r"/>
225
                <elements xsi:type="xtext:Keyword" value="u"/>
224
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
226
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
225
                <elements xsi:type="xtext:Keyword" value="'"/>
227
                <elements xsi:type="xtext:Keyword" value="'"/>
226
                <elements xsi:type="xtext:Keyword" value="\"/>
228
                <elements xsi:type="xtext:Keyword" value="\"/>
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/AbstractUmlStateRuntimeModule.java (-2 / +7 lines)
Lines 45-51 Link Here
45
	}
45
	}
46
46
47
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
47
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
48
	public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrParser> bindIAntlrParser() {
48
	public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
49
		return org.eclipse.papyrus.state.editor.xtext.parser.antlr.UmlStateParser.class;
49
		return org.eclipse.papyrus.state.editor.xtext.parser.antlr.UmlStateParser.class;
50
	}
50
	}
51
51
Lines 96-102 Link Here
96
96
97
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
97
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
98
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
98
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
99
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named("org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegate")).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
99
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
100
	}
100
	}
101
101
102
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
102
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
Lines 104-109 Link Here
104
		return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
104
		return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
105
	}
105
	}
106
106
107
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
108
	public void configureIgnoreCaseLinking(com.google.inject.Binder binder) {
109
		binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false);
110
	}
111
107
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
112
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
108
	public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
113
	public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
109
		return org.eclipse.xtext.naming.SimpleNameProvider.class;
114
		return org.eclipse.xtext.naming.SimpleNameProvider.class;
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/umlState/util/UmlStateSwitch.java (-31 / +12 lines)
Lines 6-15 Link Here
6
 */
6
 */
7
package org.eclipse.papyrus.state.editor.xtext.umlState.util;
7
package org.eclipse.papyrus.state.editor.xtext.umlState.util;
8
8
9
import java.util.List;
10
11
import org.eclipse.emf.ecore.EClass;
12
import org.eclipse.emf.ecore.EObject;
9
import org.eclipse.emf.ecore.EObject;
10
import org.eclipse.emf.ecore.EPackage;
11
12
import org.eclipse.emf.ecore.util.Switch;
13
13
14
import org.eclipse.papyrus.state.editor.xtext.umlState.*;
14
import org.eclipse.papyrus.state.editor.xtext.umlState.*;
15
15
Lines 26-32 Link Here
26
 * @see org.eclipse.papyrus.state.editor.xtext.umlState.UmlStatePackage
26
 * @see org.eclipse.papyrus.state.editor.xtext.umlState.UmlStatePackage
27
 * @generated
27
 * @generated
28
 */
28
 */
29
public class UmlStateSwitch<T>
29
public class UmlStateSwitch<T> extends Switch<T>
30
{
30
{
31
  /**
31
  /**
32
   * The cached model package
32
   * The cached model package
Lines 51-88 Link Here
51
  }
51
  }
52
52
53
  /**
53
  /**
54
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
54
   * Checks whether this is a switch for the given package.
55
   * <!-- begin-user-doc -->
56
   * <!-- end-user-doc -->
57
   * @return the first non-null result returned by a <code>caseXXX</code> call.
58
   * @generated
59
   */
60
  public T doSwitch(EObject theEObject)
61
  {
62
    return doSwitch(theEObject.eClass(), theEObject);
63
  }
64
65
  /**
66
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
67
   * <!-- begin-user-doc -->
55
   * <!-- begin-user-doc -->
68
   * <!-- end-user-doc -->
56
   * <!-- end-user-doc -->
69
   * @return the first non-null result returned by a <code>caseXXX</code> call.
57
   * @parameter ePackage the package in question.
58
   * @return whether this is a switch for the given package.
70
   * @generated
59
   * @generated
71
   */
60
   */
72
  protected T doSwitch(EClass theEClass, EObject theEObject)
61
  @Override
62
  protected boolean isSwitchFor(EPackage ePackage)
73
  {
63
  {
74
    if (theEClass.eContainer() == modelPackage)
64
    return ePackage == modelPackage;
75
    {
76
      return doSwitch(theEClass.getClassifierID(), theEObject);
77
    }
78
    else
79
    {
80
      List<EClass> eSuperTypes = theEClass.getESuperTypes();
81
      return
82
        eSuperTypes.isEmpty() ?
83
          defaultCase(theEObject) :
84
          doSwitch(eSuperTypes.get(0), theEObject);
85
    }
86
  }
65
  }
87
66
88
  /**
67
  /**
Lines 92-97 Link Here
92
   * @return the first non-null result returned by a <code>caseXXX</code> call.
71
   * @return the first non-null result returned by a <code>caseXXX</code> call.
93
   * @generated
72
   * @generated
94
   */
73
   */
74
  @Override
95
  protected T doSwitch(int classifierID, EObject theEObject)
75
  protected T doSwitch(int classifierID, EObject theEObject)
96
  {
76
  {
97
    switch (classifierID)
77
    switch (classifierID)
Lines 249-254 Link Here
249
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
229
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
250
   * @generated
230
   * @generated
251
   */
231
   */
232
  @Override
252
  public T defaultCase(EObject object)
233
  public T defaultCase(EObject object)
253
  {
234
  {
254
    return null;
235
    return null;
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/UmlStateParser.java (-21 / +4 lines)
Lines 3-16 Link Here
3
*/
3
*/
4
package org.eclipse.papyrus.state.editor.xtext.parser.antlr;
4
package org.eclipse.papyrus.state.editor.xtext.parser.antlr;
5
5
6
import org.antlr.runtime.CharStream;
7
import org.antlr.runtime.TokenSource;
8
import org.eclipse.xtext.parser.IParseResult;
9
import org.eclipse.xtext.parser.ParseException;
10
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
11
12
import com.google.inject.Inject;
6
import com.google.inject.Inject;
13
7
8
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
14
import org.eclipse.papyrus.state.editor.xtext.services.UmlStateGrammarAccess;
9
import org.eclipse.papyrus.state.editor.xtext.services.UmlStateGrammarAccess;
15
10
16
public class UmlStateParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
11
public class UmlStateParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
Lines 19-43 Link Here
19
	private UmlStateGrammarAccess grammarAccess;
14
	private UmlStateGrammarAccess grammarAccess;
20
	
15
	
21
	@Override
16
	@Override
22
	protected IParseResult parse(String ruleName, CharStream in) {
17
	protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
23
		TokenSource tokenSource = createLexer(in);
24
		XtextTokenStream tokenStream = createTokenStream(tokenSource);
25
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
18
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
26
		org.eclipse.papyrus.state.editor.xtext.parser.antlr.internal.InternalUmlStateParser parser = createParser(tokenStream);
27
		parser.setTokenTypeMap(getTokenDefProvider().getTokenDefMap());
28
		parser.setSyntaxErrorProvider(getSyntaxErrorProvider());
29
		parser.setUnorderedGroupHelper(getUnorderedGroupHelper().get());
30
		try {
31
			if(ruleName != null)
32
				return parser.parse(ruleName);
33
			return parser.parse();
34
		} catch (Exception re) {
35
			throw new ParseException(re.getMessage(),re);
36
		}
37
	}
19
	}
38
	
20
	
21
	@Override
39
	protected org.eclipse.papyrus.state.editor.xtext.parser.antlr.internal.InternalUmlStateParser createParser(XtextTokenStream stream) {
22
	protected org.eclipse.papyrus.state.editor.xtext.parser.antlr.internal.InternalUmlStateParser createParser(XtextTokenStream stream) {
40
		return new org.eclipse.papyrus.state.editor.xtext.parser.antlr.internal.InternalUmlStateParser(stream, getElementFactory(), getGrammarAccess());
23
		return new org.eclipse.papyrus.state.editor.xtext.parser.antlr.internal.InternalUmlStateParser(stream, getGrammarAccess());
41
	}
24
	}
42
	
25
	
43
	@Override 
26
	@Override 
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlStateLexer.java (-553 / +422 lines)
Lines 13-199 Link Here
13
@SuppressWarnings("all")
13
@SuppressWarnings("all")
14
public class InternalUmlStateLexer extends Lexer {
14
public class InternalUmlStateLexer extends Lexer {
15
    public static final int RULE_ID=4;
15
    public static final int RULE_ID=4;
16
    public static final int RULE_ANY_OTHER=10;
17
    public static final int EOF=-1;
18
    public static final int RULE_SL_COMMENT=8;
19
    public static final int Tokens=19;
20
    public static final int RULE_ML_COMMENT=7;
21
    public static final int RULE_STRING=6;
16
    public static final int RULE_STRING=6;
17
    public static final int T__16=16;
18
    public static final int T__15=15;
19
    public static final int T__18=18;
20
    public static final int T__17=17;
21
    public static final int T__12=12;
22
    public static final int T__11=11;
23
    public static final int T__14=14;
24
    public static final int T__13=13;
25
    public static final int RULE_ANY_OTHER=10;
22
    public static final int RULE_INT=5;
26
    public static final int RULE_INT=5;
23
    public static final int T11=11;
24
    public static final int T12=12;
25
    public static final int T13=13;
26
    public static final int T14=14;
27
    public static final int RULE_WS=9;
27
    public static final int RULE_WS=9;
28
    public static final int T15=15;
28
    public static final int RULE_SL_COMMENT=8;
29
    public static final int T16=16;
29
    public static final int EOF=-1;
30
    public static final int T17=17;
30
    public static final int RULE_ML_COMMENT=7;
31
    public static final int T18=18;
31
32
    // delegates
33
    // delegators
34
32
    public InternalUmlStateLexer() {;} 
35
    public InternalUmlStateLexer() {;} 
33
    public InternalUmlStateLexer(CharStream input) {
36
    public InternalUmlStateLexer(CharStream input) {
34
        super(input);
37
        this(input, new RecognizerSharedState());
38
    }
39
    public InternalUmlStateLexer(CharStream input, RecognizerSharedState state) {
40
        super(input,state);
41
35
    }
42
    }
36
    public String getGrammarFileName() { return "../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g"; }
43
    public String getGrammarFileName() { return "../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g"; }
37
44
38
    // $ANTLR start T11
45
    // $ANTLR start "T__11"
39
    public final void mT11() throws RecognitionException {
46
    public final void mT__11() throws RecognitionException {
40
        try {
47
        try {
41
            int _type = T11;
48
            int _type = T__11;
42
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:10:5: ( ':' )
49
            int _channel = DEFAULT_TOKEN_CHANNEL;
43
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:10:7: ':'
50
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:11:7: ( ':' )
51
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:11:9: ':'
44
            {
52
            {
45
            match(':'); 
53
            match(':'); 
46
54
47
            }
55
            }
48
56
49
            this.type = _type;
57
            state.type = _type;
58
            state.channel = _channel;
50
        }
59
        }
51
        finally {
60
        finally {
52
        }
61
        }
53
    }
62
    }
54
    // $ANTLR end T11
63
    // $ANTLR end "T__11"
55
64
56
    // $ANTLR start T12
65
    // $ANTLR start "T__12"
57
    public final void mT12() throws RecognitionException {
66
    public final void mT__12() throws RecognitionException {
58
        try {
67
        try {
59
            int _type = T12;
68
            int _type = T__12;
60
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:11:5: ( '::' )
69
            int _channel = DEFAULT_TOKEN_CHANNEL;
61
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:11:7: '::'
70
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:12:7: ( '::' )
71
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:12:9: '::'
62
            {
72
            {
63
            match("::"); 
73
            match("::"); 
64
74
65
75
66
            }
76
            }
67
77
68
            this.type = _type;
78
            state.type = _type;
79
            state.channel = _channel;
69
        }
80
        }
70
        finally {
81
        finally {
71
        }
82
        }
72
    }
83
    }
73
    // $ANTLR end T12
84
    // $ANTLR end "T__12"
74
85
75
    // $ANTLR start T13
86
    // $ANTLR start "T__13"
76
    public final void mT13() throws RecognitionException {
87
    public final void mT__13() throws RecognitionException {
77
        try {
88
        try {
78
            int _type = T13;
89
            int _type = T__13;
79
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:12:5: ( 'entry' )
90
            int _channel = DEFAULT_TOKEN_CHANNEL;
80
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:12:7: 'entry'
91
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:13:7: ( 'entry' )
92
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:13:9: 'entry'
81
            {
93
            {
82
            match("entry"); 
94
            match("entry"); 
83
95
84
96
85
            }
97
            }
86
98
87
            this.type = _type;
99
            state.type = _type;
100
            state.channel = _channel;
88
        }
101
        }
89
        finally {
102
        finally {
90
        }
103
        }
91
    }
104
    }
92
    // $ANTLR end T13
105
    // $ANTLR end "T__13"
93
106
94
    // $ANTLR start T14
107
    // $ANTLR start "T__14"
95
    public final void mT14() throws RecognitionException {
108
    public final void mT__14() throws RecognitionException {
96
        try {
109
        try {
97
            int _type = T14;
110
            int _type = T__14;
98
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:13:5: ( 'do' )
111
            int _channel = DEFAULT_TOKEN_CHANNEL;
99
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:13:7: 'do'
112
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:14:7: ( 'do' )
113
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:14:9: 'do'
100
            {
114
            {
101
            match("do"); 
115
            match("do"); 
102
116
103
117
104
            }
118
            }
105
119
106
            this.type = _type;
120
            state.type = _type;
121
            state.channel = _channel;
107
        }
122
        }
108
        finally {
123
        finally {
109
        }
124
        }
110
    }
125
    }
111
    // $ANTLR end T14
126
    // $ANTLR end "T__14"
112
127
113
    // $ANTLR start T15
128
    // $ANTLR start "T__15"
114
    public final void mT15() throws RecognitionException {
129
    public final void mT__15() throws RecognitionException {
115
        try {
130
        try {
116
            int _type = T15;
131
            int _type = T__15;
117
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:14:5: ( 'exit' )
132
            int _channel = DEFAULT_TOKEN_CHANNEL;
118
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:14:7: 'exit'
133
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:15:7: ( 'exit' )
134
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:15:9: 'exit'
119
            {
135
            {
120
            match("exit"); 
136
            match("exit"); 
121
137
122
138
123
            }
139
            }
124
140
125
            this.type = _type;
141
            state.type = _type;
142
            state.channel = _channel;
126
        }
143
        }
127
        finally {
144
        finally {
128
        }
145
        }
129
    }
146
    }
130
    // $ANTLR end T15
147
    // $ANTLR end "T__15"
131
148
132
    // $ANTLR start T16
149
    // $ANTLR start "T__16"
133
    public final void mT16() throws RecognitionException {
150
    public final void mT__16() throws RecognitionException {
134
        try {
151
        try {
135
            int _type = T16;
152
            int _type = T__16;
136
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:15:5: ( 'Activity' )
153
            int _channel = DEFAULT_TOKEN_CHANNEL;
137
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:15:7: 'Activity'
154
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:16:7: ( 'Activity' )
155
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:16:9: 'Activity'
138
            {
156
            {
139
            match("Activity"); 
157
            match("Activity"); 
140
158
141
159
142
            }
160
            }
143
161
144
            this.type = _type;
162
            state.type = _type;
163
            state.channel = _channel;
145
        }
164
        }
146
        finally {
165
        finally {
147
        }
166
        }
148
    }
167
    }
149
    // $ANTLR end T16
168
    // $ANTLR end "T__16"
150
169
151
    // $ANTLR start T17
170
    // $ANTLR start "T__17"
152
    public final void mT17() throws RecognitionException {
171
    public final void mT__17() throws RecognitionException {
153
        try {
172
        try {
154
            int _type = T17;
173
            int _type = T__17;
155
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:16:5: ( 'StateMachine' )
174
            int _channel = DEFAULT_TOKEN_CHANNEL;
156
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:16:7: 'StateMachine'
175
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:17:7: ( 'StateMachine' )
176
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:17:9: 'StateMachine'
157
            {
177
            {
158
            match("StateMachine"); 
178
            match("StateMachine"); 
159
179
160
180
161
            }
181
            }
162
182
163
            this.type = _type;
183
            state.type = _type;
184
            state.channel = _channel;
164
        }
185
        }
165
        finally {
186
        finally {
166
        }
187
        }
167
    }
188
    }
168
    // $ANTLR end T17
189
    // $ANTLR end "T__17"
169
190
170
    // $ANTLR start T18
191
    // $ANTLR start "T__18"
171
    public final void mT18() throws RecognitionException {
192
    public final void mT__18() throws RecognitionException {
172
        try {
193
        try {
173
            int _type = T18;
194
            int _type = T__18;
174
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:17:5: ( 'OpaqueBehavior' )
195
            int _channel = DEFAULT_TOKEN_CHANNEL;
175
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:17:7: 'OpaqueBehavior'
196
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:18:7: ( 'OpaqueBehavior' )
197
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:18:9: 'OpaqueBehavior'
176
            {
198
            {
177
            match("OpaqueBehavior"); 
199
            match("OpaqueBehavior"); 
178
200
179
201
180
            }
202
            }
181
203
182
            this.type = _type;
204
            state.type = _type;
205
            state.channel = _channel;
183
        }
206
        }
184
        finally {
207
        finally {
185
        }
208
        }
186
    }
209
    }
187
    // $ANTLR end T18
210
    // $ANTLR end "T__18"
188
211
189
    // $ANTLR start RULE_ID
212
    // $ANTLR start "RULE_ID"
190
    public final void mRULE_ID() throws RecognitionException {
213
    public final void mRULE_ID() throws RecognitionException {
191
        try {
214
        try {
192
            int _type = RULE_ID;
215
            int _type = RULE_ID;
193
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:654:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
216
            int _channel = DEFAULT_TOKEN_CHANNEL;
194
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:654:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
217
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:550:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
218
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:550:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
195
            {
219
            {
196
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:654:11: ( '^' )?
220
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:550:11: ( '^' )?
197
            int alt1=2;
221
            int alt1=2;
198
            int LA1_0 = input.LA(1);
222
            int LA1_0 = input.LA(1);
199
223
Lines 202-208 Link Here
202
            }
226
            }
203
            switch (alt1) {
227
            switch (alt1) {
204
                case 1 :
228
                case 1 :
205
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:654:11: '^'
229
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:550:11: '^'
206
                    {
230
                    {
207
                    match('^'); 
231
                    match('^'); 
208
232
Lines 216-227 Link Here
216
240
217
            }
241
            }
218
            else {
242
            else {
219
                MismatchedSetException mse =
243
                MismatchedSetException mse = new MismatchedSetException(null,input);
220
                    new MismatchedSetException(null,input);
244
                recover(mse);
221
                recover(mse);    throw mse;
245
                throw mse;}
222
            }
223
246
224
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:654:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
247
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:550:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
225
            loop2:
248
            loop2:
226
            do {
249
            do {
227
                int alt2=2;
250
                int alt2=2;
Lines 241-250 Link Here
241
264
242
            	    }
265
            	    }
243
            	    else {
266
            	    else {
244
            	        MismatchedSetException mse =
267
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
245
            	            new MismatchedSetException(null,input);
268
            	        recover(mse);
246
            	        recover(mse);    throw mse;
269
            	        throw mse;}
247
            	    }
248
270
249
271
250
            	    }
272
            	    }
Lines 258-278 Link Here
258
280
259
            }
281
            }
260
282
261
            this.type = _type;
283
            state.type = _type;
284
            state.channel = _channel;
262
        }
285
        }
263
        finally {
286
        finally {
264
        }
287
        }
265
    }
288
    }
266
    // $ANTLR end RULE_ID
289
    // $ANTLR end "RULE_ID"
267
290
268
    // $ANTLR start RULE_INT
291
    // $ANTLR start "RULE_INT"
269
    public final void mRULE_INT() throws RecognitionException {
292
    public final void mRULE_INT() throws RecognitionException {
270
        try {
293
        try {
271
            int _type = RULE_INT;
294
            int _type = RULE_INT;
272
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:656:10: ( ( '0' .. '9' )+ )
295
            int _channel = DEFAULT_TOKEN_CHANNEL;
273
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:656:12: ( '0' .. '9' )+
296
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:552:10: ( ( '0' .. '9' )+ )
297
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:552:12: ( '0' .. '9' )+
274
            {
298
            {
275
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:656:12: ( '0' .. '9' )+
299
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:552:12: ( '0' .. '9' )+
276
            int cnt3=0;
300
            int cnt3=0;
277
            loop3:
301
            loop3:
278
            do {
302
            do {
Lines 286-292 Link Here
286
310
287
                switch (alt3) {
311
                switch (alt3) {
288
            	case 1 :
312
            	case 1 :
289
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:656:13: '0' .. '9'
313
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:552:13: '0' .. '9'
290
            	    {
314
            	    {
291
            	    matchRange('0','9'); 
315
            	    matchRange('0','9'); 
292
316
Lines 305-325 Link Here
305
329
306
            }
330
            }
307
331
308
            this.type = _type;
332
            state.type = _type;
333
            state.channel = _channel;
309
        }
334
        }
310
        finally {
335
        finally {
311
        }
336
        }
312
    }
337
    }
313
    // $ANTLR end RULE_INT
338
    // $ANTLR end "RULE_INT"
314
339
315
    // $ANTLR start RULE_STRING
340
    // $ANTLR start "RULE_STRING"
316
    public final void mRULE_STRING() throws RecognitionException {
341
    public final void mRULE_STRING() throws RecognitionException {
317
        try {
342
        try {
318
            int _type = RULE_STRING;
343
            int _type = RULE_STRING;
319
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:658:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
344
            int _channel = DEFAULT_TOKEN_CHANNEL;
320
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:658:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
345
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:554:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
346
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:554:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
321
            {
347
            {
322
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:658:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
348
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:554:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
323
            int alt6=2;
349
            int alt6=2;
324
            int LA6_0 = input.LA(1);
350
            int LA6_0 = input.LA(1);
325
351
Lines 331-346 Link Here
331
            }
357
            }
332
            else {
358
            else {
333
                NoViableAltException nvae =
359
                NoViableAltException nvae =
334
                    new NoViableAltException("658:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 6, 0, input);
360
                    new NoViableAltException("", 6, 0, input);
335
361
336
                throw nvae;
362
                throw nvae;
337
            }
363
            }
338
            switch (alt6) {
364
            switch (alt6) {
339
                case 1 :
365
                case 1 :
340
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:658:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
366
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:554:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
341
                    {
367
                    {
342
                    match('\"'); 
368
                    match('\"'); 
343
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:658:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
369
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:554:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
344
                    loop4:
370
                    loop4:
345
                    do {
371
                    do {
346
                        int alt4=3;
372
                        int alt4=3;
Lines 349-389 Link Here
349
                        if ( (LA4_0=='\\') ) {
375
                        if ( (LA4_0=='\\') ) {
350
                            alt4=1;
376
                            alt4=1;
351
                        }
377
                        }
352
                        else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFE')) ) {
378
                        else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) {
353
                            alt4=2;
379
                            alt4=2;
354
                        }
380
                        }
355
381
356
382
357
                        switch (alt4) {
383
                        switch (alt4) {
358
                    	case 1 :
384
                    	case 1 :
359
                    	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:658:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
385
                    	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:554:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
360
                    	    {
386
                    	    {
361
                    	    match('\\'); 
387
                    	    match('\\'); 
362
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
388
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
363
                    	        input.consume();
389
                    	        input.consume();
364
390
365
                    	    }
391
                    	    }
366
                    	    else {
392
                    	    else {
367
                    	        MismatchedSetException mse =
393
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
368
                    	            new MismatchedSetException(null,input);
394
                    	        recover(mse);
369
                    	        recover(mse);    throw mse;
395
                    	        throw mse;}
370
                    	    }
371
396
372
397
373
                    	    }
398
                    	    }
374
                    	    break;
399
                    	    break;
375
                    	case 2 :
400
                    	case 2 :
376
                    	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:658:62: ~ ( ( '\\\\' | '\"' ) )
401
                    	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:554:66: ~ ( ( '\\\\' | '\"' ) )
377
                    	    {
402
                    	    {
378
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
403
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
379
                    	        input.consume();
404
                    	        input.consume();
380
405
381
                    	    }
406
                    	    }
382
                    	    else {
407
                    	    else {
383
                    	        MismatchedSetException mse =
408
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
384
                    	            new MismatchedSetException(null,input);
409
                    	        recover(mse);
385
                    	        recover(mse);    throw mse;
410
                    	        throw mse;}
386
                    	    }
387
411
388
412
389
                    	    }
413
                    	    }
Lines 399-408 Link Here
399
                    }
423
                    }
400
                    break;
424
                    break;
401
                case 2 :
425
                case 2 :
402
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:658:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
426
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:554:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
403
                    {
427
                    {
404
                    match('\''); 
428
                    match('\''); 
405
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:658:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
429
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:554:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
406
                    loop5:
430
                    loop5:
407
                    do {
431
                    do {
408
                        int alt5=3;
432
                        int alt5=3;
Lines 411-451 Link Here
411
                        if ( (LA5_0=='\\') ) {
435
                        if ( (LA5_0=='\\') ) {
412
                            alt5=1;
436
                            alt5=1;
413
                        }
437
                        }
414
                        else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFE')) ) {
438
                        else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) {
415
                            alt5=2;
439
                            alt5=2;
416
                        }
440
                        }
417
441
418
442
419
                        switch (alt5) {
443
                        switch (alt5) {
420
                    	case 1 :
444
                    	case 1 :
421
                    	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:658:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
445
                    	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:554:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
422
                    	    {
446
                    	    {
423
                    	    match('\\'); 
447
                    	    match('\\'); 
424
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
448
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
425
                    	        input.consume();
449
                    	        input.consume();
426
450
427
                    	    }
451
                    	    }
428
                    	    else {
452
                    	    else {
429
                    	        MismatchedSetException mse =
453
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
430
                    	            new MismatchedSetException(null,input);
454
                    	        recover(mse);
431
                    	        recover(mse);    throw mse;
455
                    	        throw mse;}
432
                    	    }
433
456
434
457
435
                    	    }
458
                    	    }
436
                    	    break;
459
                    	    break;
437
                    	case 2 :
460
                    	case 2 :
438
                    	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:658:129: ~ ( ( '\\\\' | '\\'' ) )
461
                    	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:554:137: ~ ( ( '\\\\' | '\\'' ) )
439
                    	    {
462
                    	    {
440
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
463
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
441
                    	        input.consume();
464
                    	        input.consume();
442
465
443
                    	    }
466
                    	    }
444
                    	    else {
467
                    	    else {
445
                    	        MismatchedSetException mse =
468
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
446
                    	            new MismatchedSetException(null,input);
469
                    	        recover(mse);
447
                    	        recover(mse);    throw mse;
470
                    	        throw mse;}
448
                    	    }
449
471
450
472
451
                    	    }
473
                    	    }
Lines 466-488 Link Here
466
488
467
            }
489
            }
468
490
469
            this.type = _type;
491
            state.type = _type;
492
            state.channel = _channel;
470
        }
493
        }
471
        finally {
494
        finally {
472
        }
495
        }
473
    }
496
    }
474
    // $ANTLR end RULE_STRING
497
    // $ANTLR end "RULE_STRING"
475
498
476
    // $ANTLR start RULE_ML_COMMENT
499
    // $ANTLR start "RULE_ML_COMMENT"
477
    public final void mRULE_ML_COMMENT() throws RecognitionException {
500
    public final void mRULE_ML_COMMENT() throws RecognitionException {
478
        try {
501
        try {
479
            int _type = RULE_ML_COMMENT;
502
            int _type = RULE_ML_COMMENT;
480
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:660:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
503
            int _channel = DEFAULT_TOKEN_CHANNEL;
481
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:660:19: '/*' ( options {greedy=false; } : . )* '*/'
504
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:556:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
505
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:556:19: '/*' ( options {greedy=false; } : . )* '*/'
482
            {
506
            {
483
            match("/*"); 
507
            match("/*"); 
484
508
485
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:660:24: ( options {greedy=false; } : . )*
509
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:556:24: ( options {greedy=false; } : . )*
486
            loop7:
510
            loop7:
487
            do {
511
            do {
488
                int alt7=2;
512
                int alt7=2;
Lines 494-513 Link Here
494
                    if ( (LA7_1=='/') ) {
518
                    if ( (LA7_1=='/') ) {
495
                        alt7=2;
519
                        alt7=2;
496
                    }
520
                    }
497
                    else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFE')) ) {
521
                    else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) {
498
                        alt7=1;
522
                        alt7=1;
499
                    }
523
                    }
500
524
501
525
502
                }
526
                }
503
                else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFE')) ) {
527
                else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) {
504
                    alt7=1;
528
                    alt7=1;
505
                }
529
                }
506
530
507
531
508
                switch (alt7) {
532
                switch (alt7) {
509
            	case 1 :
533
            	case 1 :
510
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:660:52: .
534
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:556:52: .
511
            	    {
535
            	    {
512
            	    matchAny(); 
536
            	    matchAny(); 
513
537
Lines 524-569 Link Here
524
548
525
            }
549
            }
526
550
527
            this.type = _type;
551
            state.type = _type;
552
            state.channel = _channel;
528
        }
553
        }
529
        finally {
554
        finally {
530
        }
555
        }
531
    }
556
    }
532
    // $ANTLR end RULE_ML_COMMENT
557
    // $ANTLR end "RULE_ML_COMMENT"
533
558
534
    // $ANTLR start RULE_SL_COMMENT
559
    // $ANTLR start "RULE_SL_COMMENT"
535
    public final void mRULE_SL_COMMENT() throws RecognitionException {
560
    public final void mRULE_SL_COMMENT() throws RecognitionException {
536
        try {
561
        try {
537
            int _type = RULE_SL_COMMENT;
562
            int _type = RULE_SL_COMMENT;
538
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:662:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
563
            int _channel = DEFAULT_TOKEN_CHANNEL;
539
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:662:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
564
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:558:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
565
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:558:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
540
            {
566
            {
541
            match("//"); 
567
            match("//"); 
542
568
543
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:662:24: (~ ( ( '\\n' | '\\r' ) ) )*
569
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:558:24: (~ ( ( '\\n' | '\\r' ) ) )*
544
            loop8:
570
            loop8:
545
            do {
571
            do {
546
                int alt8=2;
572
                int alt8=2;
547
                int LA8_0 = input.LA(1);
573
                int LA8_0 = input.LA(1);
548
574
549
                if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFE')) ) {
575
                if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) {
550
                    alt8=1;
576
                    alt8=1;
551
                }
577
                }
552
578
553
579
554
                switch (alt8) {
580
                switch (alt8) {
555
            	case 1 :
581
            	case 1 :
556
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:662:24: ~ ( ( '\\n' | '\\r' ) )
582
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:558:24: ~ ( ( '\\n' | '\\r' ) )
557
            	    {
583
            	    {
558
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFE') ) {
584
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
559
            	        input.consume();
585
            	        input.consume();
560
586
561
            	    }
587
            	    }
562
            	    else {
588
            	    else {
563
            	        MismatchedSetException mse =
589
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
564
            	            new MismatchedSetException(null,input);
590
            	        recover(mse);
565
            	        recover(mse);    throw mse;
591
            	        throw mse;}
566
            	    }
567
592
568
593
569
            	    }
594
            	    }
Lines 574-580 Link Here
574
                }
599
                }
575
            } while (true);
600
            } while (true);
576
601
577
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:662:40: ( ( '\\r' )? '\\n' )?
602
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:558:40: ( ( '\\r' )? '\\n' )?
578
            int alt10=2;
603
            int alt10=2;
579
            int LA10_0 = input.LA(1);
604
            int LA10_0 = input.LA(1);
580
605
Lines 583-591 Link Here
583
            }
608
            }
584
            switch (alt10) {
609
            switch (alt10) {
585
                case 1 :
610
                case 1 :
586
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:662:41: ( '\\r' )? '\\n'
611
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:558:41: ( '\\r' )? '\\n'
587
                    {
612
                    {
588
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:662:41: ( '\\r' )?
613
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:558:41: ( '\\r' )?
589
                    int alt9=2;
614
                    int alt9=2;
590
                    int LA9_0 = input.LA(1);
615
                    int LA9_0 = input.LA(1);
591
616
Lines 594-600 Link Here
594
                    }
619
                    }
595
                    switch (alt9) {
620
                    switch (alt9) {
596
                        case 1 :
621
                        case 1 :
597
                            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:662:41: '\\r'
622
                            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:558:41: '\\r'
598
                            {
623
                            {
599
                            match('\r'); 
624
                            match('\r'); 
600
625
Lines 613-633 Link Here
613
638
614
            }
639
            }
615
640
616
            this.type = _type;
641
            state.type = _type;
642
            state.channel = _channel;
617
        }
643
        }
618
        finally {
644
        finally {
619
        }
645
        }
620
    }
646
    }
621
    // $ANTLR end RULE_SL_COMMENT
647
    // $ANTLR end "RULE_SL_COMMENT"
622
648
623
    // $ANTLR start RULE_WS
649
    // $ANTLR start "RULE_WS"
624
    public final void mRULE_WS() throws RecognitionException {
650
    public final void mRULE_WS() throws RecognitionException {
625
        try {
651
        try {
626
            int _type = RULE_WS;
652
            int _type = RULE_WS;
627
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:664:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
653
            int _channel = DEFAULT_TOKEN_CHANNEL;
628
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:664:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
654
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:560:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
655
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:560:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
629
            {
656
            {
630
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:664:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
657
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:560:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
631
            int cnt11=0;
658
            int cnt11=0;
632
            loop11:
659
            loop11:
633
            do {
660
            do {
Lines 648-657 Link Here
648
675
649
            	    }
676
            	    }
650
            	    else {
677
            	    else {
651
            	        MismatchedSetException mse =
678
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
652
            	            new MismatchedSetException(null,input);
679
            	        recover(mse);
653
            	        recover(mse);    throw mse;
680
            	        throw mse;}
654
            	    }
655
681
656
682
657
            	    }
683
            	    }
Lines 669-1161 Link Here
669
695
670
            }
696
            }
671
697
672
            this.type = _type;
698
            state.type = _type;
699
            state.channel = _channel;
673
        }
700
        }
674
        finally {
701
        finally {
675
        }
702
        }
676
    }
703
    }
677
    // $ANTLR end RULE_WS
704
    // $ANTLR end "RULE_WS"
678
705
679
    // $ANTLR start RULE_ANY_OTHER
706
    // $ANTLR start "RULE_ANY_OTHER"
680
    public final void mRULE_ANY_OTHER() throws RecognitionException {
707
    public final void mRULE_ANY_OTHER() throws RecognitionException {
681
        try {
708
        try {
682
            int _type = RULE_ANY_OTHER;
709
            int _type = RULE_ANY_OTHER;
683
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:666:16: ( . )
710
            int _channel = DEFAULT_TOKEN_CHANNEL;
684
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:666:18: .
711
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:562:16: ( . )
712
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:562:18: .
685
            {
713
            {
686
            matchAny(); 
714
            matchAny(); 
687
715
688
            }
716
            }
689
717
690
            this.type = _type;
718
            state.type = _type;
719
            state.channel = _channel;
691
        }
720
        }
692
        finally {
721
        finally {
693
        }
722
        }
694
    }
723
    }
695
    // $ANTLR end RULE_ANY_OTHER
724
    // $ANTLR end "RULE_ANY_OTHER"
696
725
697
    public void mTokens() throws RecognitionException {
726
    public void mTokens() throws RecognitionException {
698
        // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:8: ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
727
        // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
699
        int alt12=15;
728
        int alt12=15;
700
        int LA12_0 = input.LA(1);
729
        alt12 = dfa12.predict(input);
701
702
        if ( (LA12_0==':') ) {
703
            int LA12_1 = input.LA(2);
704
705
            if ( (LA12_1==':') ) {
706
                alt12=2;
707
            }
708
            else {
709
                alt12=1;}
710
        }
711
        else if ( (LA12_0=='e') ) {
712
            switch ( input.LA(2) ) {
713
            case 'x':
714
                {
715
                int LA12_17 = input.LA(3);
716
717
                if ( (LA12_17=='i') ) {
718
                    int LA12_29 = input.LA(4);
719
720
                    if ( (LA12_29=='t') ) {
721
                        int LA12_35 = input.LA(5);
722
723
                        if ( ((LA12_35>='0' && LA12_35<='9')||(LA12_35>='A' && LA12_35<='Z')||LA12_35=='_'||(LA12_35>='a' && LA12_35<='z')) ) {
724
                            alt12=9;
725
                        }
726
                        else {
727
                            alt12=5;}
728
                    }
729
                    else {
730
                        alt12=9;}
731
                }
732
                else {
733
                    alt12=9;}
734
                }
735
                break;
736
            case 'n':
737
                {
738
                int LA12_18 = input.LA(3);
739
740
                if ( (LA12_18=='t') ) {
741
                    int LA12_30 = input.LA(4);
742
743
                    if ( (LA12_30=='r') ) {
744
                        int LA12_36 = input.LA(5);
745
746
                        if ( (LA12_36=='y') ) {
747
                            int LA12_41 = input.LA(6);
748
749
                            if ( ((LA12_41>='0' && LA12_41<='9')||(LA12_41>='A' && LA12_41<='Z')||LA12_41=='_'||(LA12_41>='a' && LA12_41<='z')) ) {
750
                                alt12=9;
751
                            }
752
                            else {
753
                                alt12=3;}
754
                        }
755
                        else {
756
                            alt12=9;}
757
                    }
758
                    else {
759
                        alt12=9;}
760
                }
761
                else {
762
                    alt12=9;}
763
                }
764
                break;
765
            default:
766
                alt12=9;}
767
768
        }
769
        else if ( (LA12_0=='d') ) {
770
            int LA12_3 = input.LA(2);
771
772
            if ( (LA12_3=='o') ) {
773
                int LA12_20 = input.LA(3);
774
775
                if ( ((LA12_20>='0' && LA12_20<='9')||(LA12_20>='A' && LA12_20<='Z')||LA12_20=='_'||(LA12_20>='a' && LA12_20<='z')) ) {
776
                    alt12=9;
777
                }
778
                else {
779
                    alt12=4;}
780
            }
781
            else {
782
                alt12=9;}
783
        }
784
        else if ( (LA12_0=='A') ) {
785
            int LA12_4 = input.LA(2);
786
787
            if ( (LA12_4=='c') ) {
788
                int LA12_21 = input.LA(3);
789
790
                if ( (LA12_21=='t') ) {
791
                    int LA12_32 = input.LA(4);
792
793
                    if ( (LA12_32=='i') ) {
794
                        int LA12_37 = input.LA(5);
795
796
                        if ( (LA12_37=='v') ) {
797
                            int LA12_42 = input.LA(6);
798
799
                            if ( (LA12_42=='i') ) {
800
                                int LA12_46 = input.LA(7);
801
802
                                if ( (LA12_46=='t') ) {
803
                                    int LA12_49 = input.LA(8);
804
805
                                    if ( (LA12_49=='y') ) {
806
                                        int LA12_52 = input.LA(9);
807
808
                                        if ( ((LA12_52>='0' && LA12_52<='9')||(LA12_52>='A' && LA12_52<='Z')||LA12_52=='_'||(LA12_52>='a' && LA12_52<='z')) ) {
809
                                            alt12=9;
810
                                        }
811
                                        else {
812
                                            alt12=6;}
813
                                    }
814
                                    else {
815
                                        alt12=9;}
816
                                }
817
                                else {
818
                                    alt12=9;}
819
                            }
820
                            else {
821
                                alt12=9;}
822
                        }
823
                        else {
824
                            alt12=9;}
825
                    }
826
                    else {
827
                        alt12=9;}
828
                }
829
                else {
830
                    alt12=9;}
831
            }
832
            else {
833
                alt12=9;}
834
        }
835
        else if ( (LA12_0=='S') ) {
836
            int LA12_5 = input.LA(2);
837
838
            if ( (LA12_5=='t') ) {
839
                int LA12_22 = input.LA(3);
840
841
                if ( (LA12_22=='a') ) {
842
                    int LA12_33 = input.LA(4);
843
844
                    if ( (LA12_33=='t') ) {
845
                        int LA12_38 = input.LA(5);
846
847
                        if ( (LA12_38=='e') ) {
848
                            int LA12_43 = input.LA(6);
849
850
                            if ( (LA12_43=='M') ) {
851
                                int LA12_47 = input.LA(7);
852
853
                                if ( (LA12_47=='a') ) {
854
                                    int LA12_50 = input.LA(8);
855
856
                                    if ( (LA12_50=='c') ) {
857
                                        int LA12_53 = input.LA(9);
858
859
                                        if ( (LA12_53=='h') ) {
860
                                            int LA12_56 = input.LA(10);
861
862
                                            if ( (LA12_56=='i') ) {
863
                                                int LA12_58 = input.LA(11);
864
865
                                                if ( (LA12_58=='n') ) {
866
                                                    int LA12_60 = input.LA(12);
867
868
                                                    if ( (LA12_60=='e') ) {
869
                                                        int LA12_62 = input.LA(13);
870
871
                                                        if ( ((LA12_62>='0' && LA12_62<='9')||(LA12_62>='A' && LA12_62<='Z')||LA12_62=='_'||(LA12_62>='a' && LA12_62<='z')) ) {
872
                                                            alt12=9;
873
                                                        }
874
                                                        else {
875
                                                            alt12=7;}
876
                                                    }
877
                                                    else {
878
                                                        alt12=9;}
879
                                                }
880
                                                else {
881
                                                    alt12=9;}
882
                                            }
883
                                            else {
884
                                                alt12=9;}
885
                                        }
886
                                        else {
887
                                            alt12=9;}
888
                                    }
889
                                    else {
890
                                        alt12=9;}
891
                                }
892
                                else {
893
                                    alt12=9;}
894
                            }
895
                            else {
896
                                alt12=9;}
897
                        }
898
                        else {
899
                            alt12=9;}
900
                    }
901
                    else {
902
                        alt12=9;}
903
                }
904
                else {
905
                    alt12=9;}
906
            }
907
            else {
908
                alt12=9;}
909
        }
910
        else if ( (LA12_0=='O') ) {
911
            int LA12_6 = input.LA(2);
912
913
            if ( (LA12_6=='p') ) {
914
                int LA12_23 = input.LA(3);
915
916
                if ( (LA12_23=='a') ) {
917
                    int LA12_34 = input.LA(4);
918
919
                    if ( (LA12_34=='q') ) {
920
                        int LA12_39 = input.LA(5);
921
922
                        if ( (LA12_39=='u') ) {
923
                            int LA12_44 = input.LA(6);
924
925
                            if ( (LA12_44=='e') ) {
926
                                int LA12_48 = input.LA(7);
927
928
                                if ( (LA12_48=='B') ) {
929
                                    int LA12_51 = input.LA(8);
930
931
                                    if ( (LA12_51=='e') ) {
932
                                        int LA12_54 = input.LA(9);
933
934
                                        if ( (LA12_54=='h') ) {
935
                                            int LA12_57 = input.LA(10);
936
937
                                            if ( (LA12_57=='a') ) {
938
                                                int LA12_59 = input.LA(11);
939
940
                                                if ( (LA12_59=='v') ) {
941
                                                    int LA12_61 = input.LA(12);
942
943
                                                    if ( (LA12_61=='i') ) {
944
                                                        int LA12_63 = input.LA(13);
945
946
                                                        if ( (LA12_63=='o') ) {
947
                                                            int LA12_65 = input.LA(14);
948
949
                                                            if ( (LA12_65=='r') ) {
950
                                                                int LA12_66 = input.LA(15);
951
952
                                                                if ( ((LA12_66>='0' && LA12_66<='9')||(LA12_66>='A' && LA12_66<='Z')||LA12_66=='_'||(LA12_66>='a' && LA12_66<='z')) ) {
953
                                                                    alt12=9;
954
                                                                }
955
                                                                else {
956
                                                                    alt12=8;}
957
                                                            }
958
                                                            else {
959
                                                                alt12=9;}
960
                                                        }
961
                                                        else {
962
                                                            alt12=9;}
963
                                                    }
964
                                                    else {
965
                                                        alt12=9;}
966
                                                }
967
                                                else {
968
                                                    alt12=9;}
969
                                            }
970
                                            else {
971
                                                alt12=9;}
972
                                        }
973
                                        else {
974
                                            alt12=9;}
975
                                    }
976
                                    else {
977
                                        alt12=9;}
978
                                }
979
                                else {
980
                                    alt12=9;}
981
                            }
982
                            else {
983
                                alt12=9;}
984
                        }
985
                        else {
986
                            alt12=9;}
987
                    }
988
                    else {
989
                        alt12=9;}
990
                }
991
                else {
992
                    alt12=9;}
993
            }
994
            else {
995
                alt12=9;}
996
        }
997
        else if ( (LA12_0=='^') ) {
998
            int LA12_7 = input.LA(2);
999
1000
            if ( ((LA12_7>='A' && LA12_7<='Z')||LA12_7=='_'||(LA12_7>='a' && LA12_7<='z')) ) {
1001
                alt12=9;
1002
            }
1003
            else {
1004
                alt12=15;}
1005
        }
1006
        else if ( ((LA12_0>='B' && LA12_0<='N')||(LA12_0>='P' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='c')||(LA12_0>='f' && LA12_0<='z')) ) {
1007
            alt12=9;
1008
        }
1009
        else if ( ((LA12_0>='0' && LA12_0<='9')) ) {
1010
            alt12=10;
1011
        }
1012
        else if ( (LA12_0=='\"') ) {
1013
            int LA12_10 = input.LA(2);
1014
1015
            if ( ((LA12_10>='\u0000' && LA12_10<='\uFFFE')) ) {
1016
                alt12=11;
1017
            }
1018
            else {
1019
                alt12=15;}
1020
        }
1021
        else if ( (LA12_0=='\'') ) {
1022
            int LA12_11 = input.LA(2);
1023
1024
            if ( ((LA12_11>='\u0000' && LA12_11<='\uFFFE')) ) {
1025
                alt12=11;
1026
            }
1027
            else {
1028
                alt12=15;}
1029
        }
1030
        else if ( (LA12_0=='/') ) {
1031
            switch ( input.LA(2) ) {
1032
            case '*':
1033
                {
1034
                alt12=12;
1035
                }
1036
                break;
1037
            case '/':
1038
                {
1039
                alt12=13;
1040
                }
1041
                break;
1042
            default:
1043
                alt12=15;}
1044
1045
        }
1046
        else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {
1047
            alt12=14;
1048
        }
1049
        else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='.')||(LA12_0>=';' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||(LA12_0>='{' && LA12_0<='\uFFFE')) ) {
1050
            alt12=15;
1051
        }
1052
        else {
1053
            NoViableAltException nvae =
1054
                new NoViableAltException("1:1: Tokens : ( T11 | T12 | T13 | T14 | T15 | T16 | T17 | T18 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );", 12, 0, input);
1055
1056
            throw nvae;
1057
        }
1058
        switch (alt12) {
730
        switch (alt12) {
1059
            case 1 :
731
            case 1 :
1060
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:10: T11
732
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:10: T__11
1061
                {
733
                {
1062
                mT11(); 
734
                mT__11(); 
1063
735
1064
                }
736
                }
1065
                break;
737
                break;
1066
            case 2 :
738
            case 2 :
1067
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:14: T12
739
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:16: T__12
1068
                {
740
                {
1069
                mT12(); 
741
                mT__12(); 
1070
742
1071
                }
743
                }
1072
                break;
744
                break;
1073
            case 3 :
745
            case 3 :
1074
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:18: T13
746
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:22: T__13
1075
                {
747
                {
1076
                mT13(); 
748
                mT__13(); 
1077
749
1078
                }
750
                }
1079
                break;
751
                break;
1080
            case 4 :
752
            case 4 :
1081
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:22: T14
753
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:28: T__14
1082
                {
754
                {
1083
                mT14(); 
755
                mT__14(); 
1084
756
1085
                }
757
                }
1086
                break;
758
                break;
1087
            case 5 :
759
            case 5 :
1088
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:26: T15
760
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:34: T__15
1089
                {
761
                {
1090
                mT15(); 
762
                mT__15(); 
1091
763
1092
                }
764
                }
1093
                break;
765
                break;
1094
            case 6 :
766
            case 6 :
1095
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:30: T16
767
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:40: T__16
1096
                {
768
                {
1097
                mT16(); 
769
                mT__16(); 
1098
770
1099
                }
771
                }
1100
                break;
772
                break;
1101
            case 7 :
773
            case 7 :
1102
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:34: T17
774
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:46: T__17
1103
                {
775
                {
1104
                mT17(); 
776
                mT__17(); 
1105
777
1106
                }
778
                }
1107
                break;
779
                break;
1108
            case 8 :
780
            case 8 :
1109
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:38: T18
781
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:52: T__18
1110
                {
782
                {
1111
                mT18(); 
783
                mT__18(); 
1112
784
1113
                }
785
                }
1114
                break;
786
                break;
1115
            case 9 :
787
            case 9 :
1116
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:42: RULE_ID
788
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:58: RULE_ID
1117
                {
789
                {
1118
                mRULE_ID(); 
790
                mRULE_ID(); 
1119
791
1120
                }
792
                }
1121
                break;
793
                break;
1122
            case 10 :
794
            case 10 :
1123
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:50: RULE_INT
795
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:66: RULE_INT
1124
                {
796
                {
1125
                mRULE_INT(); 
797
                mRULE_INT(); 
1126
798
1127
                }
799
                }
1128
                break;
800
                break;
1129
            case 11 :
801
            case 11 :
1130
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:59: RULE_STRING
802
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:75: RULE_STRING
1131
                {
803
                {
1132
                mRULE_STRING(); 
804
                mRULE_STRING(); 
1133
805
1134
                }
806
                }
1135
                break;
807
                break;
1136
            case 12 :
808
            case 12 :
1137
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:71: RULE_ML_COMMENT
809
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:87: RULE_ML_COMMENT
1138
                {
810
                {
1139
                mRULE_ML_COMMENT(); 
811
                mRULE_ML_COMMENT(); 
1140
812
1141
                }
813
                }
1142
                break;
814
                break;
1143
            case 13 :
815
            case 13 :
1144
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:87: RULE_SL_COMMENT
816
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:103: RULE_SL_COMMENT
1145
                {
817
                {
1146
                mRULE_SL_COMMENT(); 
818
                mRULE_SL_COMMENT(); 
1147
819
1148
                }
820
                }
1149
                break;
821
                break;
1150
            case 14 :
822
            case 14 :
1151
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:103: RULE_WS
823
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:119: RULE_WS
1152
                {
824
                {
1153
                mRULE_WS(); 
825
                mRULE_WS(); 
1154
826
1155
                }
827
                }
1156
                break;
828
                break;
1157
            case 15 :
829
            case 15 :
1158
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:111: RULE_ANY_OTHER
830
                // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:1:127: RULE_ANY_OTHER
1159
                {
831
                {
1160
                mRULE_ANY_OTHER(); 
832
                mRULE_ANY_OTHER(); 
1161
833
Lines 1167-1172 Link Here
1167
    }
839
    }
1168
840
1169
841
842
    protected DFA12 dfa12 = new DFA12(this);
843
    static final String DFA12_eotS =
844
        "\1\uffff\1\20\5\23\1\16\2\uffff\3\16\4\uffff\2\23\1\uffff\1\37"+
845
        "\3\23\5\uffff\2\23\1\uffff\4\23\1\51\3\23\1\55\1\uffff\3\23\1\uffff"+
846
        "\6\23\1\67\2\23\1\uffff\6\23\1\100\1\23\1\uffff\1\23\1\103\1\uffff";
847
    static final String DFA12_eofS =
848
        "\104\uffff";
849
    static final String DFA12_minS =
850
        "\1\0\1\72\1\156\1\157\1\143\1\164\1\160\1\101\2\uffff\2\0\1\52"+
851
        "\4\uffff\1\164\1\151\1\uffff\1\60\1\164\2\141\5\uffff\1\162\1\164"+
852
        "\1\uffff\1\151\1\164\1\161\1\171\1\60\1\166\1\145\1\165\1\60\1\uffff"+
853
        "\1\151\1\115\1\145\1\uffff\1\164\1\141\1\102\1\171\1\143\1\145\1"+
854
        "\60\2\150\1\uffff\1\151\1\141\1\156\1\166\1\145\1\151\1\60\1\157"+
855
        "\1\uffff\1\162\1\60\1\uffff";
856
    static final String DFA12_maxS =
857
        "\1\uffff\1\72\1\170\1\157\1\143\1\164\1\160\1\172\2\uffff\2\uffff"+
858
        "\1\57\4\uffff\1\164\1\151\1\uffff\1\172\1\164\2\141\5\uffff\1\162"+
859
        "\1\164\1\uffff\1\151\1\164\1\161\1\171\1\172\1\166\1\145\1\165\1"+
860
        "\172\1\uffff\1\151\1\115\1\145\1\uffff\1\164\1\141\1\102\1\171\1"+
861
        "\143\1\145\1\172\2\150\1\uffff\1\151\1\141\1\156\1\166\1\145\1\151"+
862
        "\1\172\1\157\1\uffff\1\162\1\172\1\uffff";
863
    static final String DFA12_acceptS =
864
        "\10\uffff\1\11\1\12\3\uffff\1\16\1\17\1\2\1\1\2\uffff\1\11\4\uffff"+
865
        "\1\12\1\13\1\14\1\15\1\16\2\uffff\1\4\11\uffff\1\5\3\uffff\1\3\11"+
866
        "\uffff\1\6\10\uffff\1\7\2\uffff\1\10";
867
    static final String DFA12_specialS =
868
        "\1\2\11\uffff\1\0\1\1\70\uffff}>";
869
    static final String[] DFA12_transitionS = {
870
            "\11\16\2\15\2\16\1\15\22\16\1\15\1\16\1\12\4\16\1\13\7\16\1"+
871
            "\14\12\11\1\1\6\16\1\4\15\10\1\6\3\10\1\5\7\10\3\16\1\7\1\10"+
872
            "\1\16\3\10\1\3\1\2\25\10\uff85\16",
873
            "\1\17",
874
            "\1\21\11\uffff\1\22",
875
            "\1\24",
876
            "\1\25",
877
            "\1\26",
878
            "\1\27",
879
            "\32\23\4\uffff\1\23\1\uffff\32\23",
880
            "",
881
            "",
882
            "\0\31",
883
            "\0\31",
884
            "\1\32\4\uffff\1\33",
885
            "",
886
            "",
887
            "",
888
            "",
889
            "\1\35",
890
            "\1\36",
891
            "",
892
            "\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32\23",
893
            "\1\40",
894
            "\1\41",
895
            "\1\42",
896
            "",
897
            "",
898
            "",
899
            "",
900
            "",
901
            "\1\43",
902
            "\1\44",
903
            "",
904
            "\1\45",
905
            "\1\46",
906
            "\1\47",
907
            "\1\50",
908
            "\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32\23",
909
            "\1\52",
910
            "\1\53",
911
            "\1\54",
912
            "\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32\23",
913
            "",
914
            "\1\56",
915
            "\1\57",
916
            "\1\60",
917
            "",
918
            "\1\61",
919
            "\1\62",
920
            "\1\63",
921
            "\1\64",
922
            "\1\65",
923
            "\1\66",
924
            "\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32\23",
925
            "\1\70",
926
            "\1\71",
927
            "",
928
            "\1\72",
929
            "\1\73",
930
            "\1\74",
931
            "\1\75",
932
            "\1\76",
933
            "\1\77",
934
            "\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32\23",
935
            "\1\101",
936
            "",
937
            "\1\102",
938
            "\12\23\7\uffff\32\23\4\uffff\1\23\1\uffff\32\23",
939
            ""
940
    };
941
942
    static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS);
943
    static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS);
944
    static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS);
945
    static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS);
946
    static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS);
947
    static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS);
948
    static final short[][] DFA12_transition;
949
950
    static {
951
        int numStates = DFA12_transitionS.length;
952
        DFA12_transition = new short[numStates][];
953
        for (int i=0; i<numStates; i++) {
954
            DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]);
955
        }
956
    }
957
958
    class DFA12 extends DFA {
959
960
        public DFA12(BaseRecognizer recognizer) {
961
            this.recognizer = recognizer;
962
            this.decisionNumber = 12;
963
            this.eot = DFA12_eot;
964
            this.eof = DFA12_eof;
965
            this.min = DFA12_min;
966
            this.max = DFA12_max;
967
            this.accept = DFA12_accept;
968
            this.special = DFA12_special;
969
            this.transition = DFA12_transition;
970
        }
971
        public String getDescription() {
972
            return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
973
        }
974
        public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
975
            IntStream input = _input;
976
        	int _s = s;
977
            switch ( s ) {
978
                    case 0 : 
979
                        int LA12_10 = input.LA(1);
980
981
                        s = -1;
982
                        if ( ((LA12_10>='\u0000' && LA12_10<='\uFFFF')) ) {s = 25;}
983
984
                        else s = 14;
985
986
                        if ( s>=0 ) return s;
987
                        break;
988
                    case 1 : 
989
                        int LA12_11 = input.LA(1);
990
991
                        s = -1;
992
                        if ( ((LA12_11>='\u0000' && LA12_11<='\uFFFF')) ) {s = 25;}
993
994
                        else s = 14;
995
996
                        if ( s>=0 ) return s;
997
                        break;
998
                    case 2 : 
999
                        int LA12_0 = input.LA(1);
1000
1001
                        s = -1;
1002
                        if ( (LA12_0==':') ) {s = 1;}
1003
1004
                        else if ( (LA12_0=='e') ) {s = 2;}
1005
1006
                        else if ( (LA12_0=='d') ) {s = 3;}
1007
1008
                        else if ( (LA12_0=='A') ) {s = 4;}
1009
1010
                        else if ( (LA12_0=='S') ) {s = 5;}
1011
1012
                        else if ( (LA12_0=='O') ) {s = 6;}
1013
1014
                        else if ( (LA12_0=='^') ) {s = 7;}
1015
1016
                        else if ( ((LA12_0>='B' && LA12_0<='N')||(LA12_0>='P' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='c')||(LA12_0>='f' && LA12_0<='z')) ) {s = 8;}
1017
1018
                        else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 9;}
1019
1020
                        else if ( (LA12_0=='\"') ) {s = 10;}
1021
1022
                        else if ( (LA12_0=='\'') ) {s = 11;}
1023
1024
                        else if ( (LA12_0=='/') ) {s = 12;}
1025
1026
                        else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 13;}
1027
1028
                        else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='.')||(LA12_0>=';' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||(LA12_0>='{' && LA12_0<='\uFFFF')) ) {s = 14;}
1029
1030
                        if ( s>=0 ) return s;
1031
                        break;
1032
            }
1033
            NoViableAltException nvae =
1034
                new NoViableAltException(getDescription(), 12, _s, input);
1035
            error(nvae);
1036
            throw nvae;
1037
        }
1038
    }
1170
 
1039
 
1171
1040
1172
}
1041
}
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g (-255 / +151 lines)
Lines 19-29 Link Here
19
@parser::header {
19
@parser::header {
20
package org.eclipse.papyrus.state.editor.xtext.parser.antlr.internal; 
20
package org.eclipse.papyrus.state.editor.xtext.parser.antlr.internal; 
21
21
22
import java.io.InputStream;
23
import org.eclipse.xtext.*;
22
import org.eclipse.xtext.*;
24
import org.eclipse.xtext.parser.*;
23
import org.eclipse.xtext.parser.*;
25
import org.eclipse.xtext.parser.impl.*;
24
import org.eclipse.xtext.parser.impl.*;
26
import org.eclipse.xtext.parsetree.*;
27
import org.eclipse.emf.ecore.util.EcoreUtil;
25
import org.eclipse.emf.ecore.util.EcoreUtil;
28
import org.eclipse.emf.ecore.EObject;
26
import org.eclipse.emf.ecore.EObject;
29
import org.eclipse.emf.common.util.Enumerator;
27
import org.eclipse.emf.common.util.Enumerator;
Lines 31-37 Link Here
31
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
29
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
32
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
30
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
33
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
31
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
34
import org.eclipse.xtext.conversion.ValueConverterException;
35
import org.eclipse.papyrus.state.editor.xtext.services.UmlStateGrammarAccess;
32
import org.eclipse.papyrus.state.editor.xtext.services.UmlStateGrammarAccess;
36
33
37
}
34
}
Lines 40-56 Link Here
40
37
41
 	private UmlStateGrammarAccess grammarAccess;
38
 	private UmlStateGrammarAccess grammarAccess;
42
 	
39
 	
43
    public InternalUmlStateParser(TokenStream input, IAstFactory factory, UmlStateGrammarAccess grammarAccess) {
40
    public InternalUmlStateParser(TokenStream input, UmlStateGrammarAccess grammarAccess) {
44
        this(input);
41
        this(input);
45
        this.factory = factory;
46
        registerRules(grammarAccess.getGrammar());
47
        this.grammarAccess = grammarAccess;
42
        this.grammarAccess = grammarAccess;
48
    }
43
        registerRules(grammarAccess.getGrammar());
49
    
50
    @Override
51
    protected InputStream getTokenFile() {
52
    	ClassLoader classLoader = getClass().getClassLoader();
53
    	return classLoader.getResourceAsStream("org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.tokens");
54
    }
44
    }
55
    
45
    
56
    @Override
46
    @Override
Lines 77-83 Link Here
77
// Entry rule entryRuleStateRule
67
// Entry rule entryRuleStateRule
78
entryRuleStateRule returns [EObject current=null] 
68
entryRuleStateRule returns [EObject current=null] 
79
	:
69
	:
80
	{ currentNode = createCompositeNode(grammarAccess.getStateRuleRule(), currentNode); }
70
	{ newCompositeNode(grammarAccess.getStateRuleRule()); }
81
	 iv_ruleStateRule=ruleStateRule 
71
	 iv_ruleStateRule=ruleStateRule 
82
	 { $current=$iv_ruleStateRule.current; } 
72
	 { $current=$iv_ruleStateRule.current; } 
83
	 EOF 
73
	 EOF 
Lines 85-144 Link Here
85
75
86
// Rule StateRule
76
// Rule StateRule
87
ruleStateRule returns [EObject current=null] 
77
ruleStateRule returns [EObject current=null] 
88
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
78
    @init { enterRule(); 
89
    }
79
    }
90
    @after { resetLookahead(); 
80
    @after { leaveRule(); }:
91
    	lastConsumedNode = currentNode;
92
    }:
93
((
81
((
94
(
82
(
95
		lv_name_0_0=RULE_ID
83
		lv_name_0_0=RULE_ID
96
		{
84
		{
97
			createLeafNode(grammarAccess.getStateRuleAccess().getNameIDTerminalRuleCall_0_0(), "name"); 
85
			newLeafNode(lv_name_0_0, grammarAccess.getStateRuleAccess().getNameIDTerminalRuleCall_0_0()); 
98
		}
86
		}
99
		{
87
		{
100
	        if ($current==null) {
88
	        if ($current==null) {
101
	            $current = factory.create(grammarAccess.getStateRuleRule().getType().getClassifier());
89
	            $current = createModelElement(grammarAccess.getStateRuleRule());
102
	            associateNodeWithAstElement(currentNode, $current);
103
	        }
104
	        try {
105
	       		set(
106
	       			$current, 
107
	       			"name",
108
	        		lv_name_0_0, 
109
	        		"ID", 
110
	        		lastConsumedNode);
111
	        } catch (ValueConverterException vce) {
112
				handleValueConverterException(vce);
113
	        }
90
	        }
91
       		setWithLastConsumed(
92
       			$current, 
93
       			"name",
94
        		lv_name_0_0, 
95
        		"ID");
114
	    }
96
	    }
115
97
116
)
98
)
117
)(	':' 
99
)(	otherlv_1=':' 
118
    {
100
    {
119
        createLeafNode(grammarAccess.getStateRuleAccess().getColonKeyword_1_0(), null); 
101
    	newLeafNode(otherlv_1, grammarAccess.getStateRuleAccess().getColonKeyword_1_0());
120
    }
102
    }
121
(
103
(
122
(
104
(
123
		{ 
105
		{ 
124
	        currentNode=createCompositeNode(grammarAccess.getStateRuleAccess().getSubmachineSubmachineRuleParserRuleCall_1_1_0(), currentNode); 
106
	        newCompositeNode(grammarAccess.getStateRuleAccess().getSubmachineSubmachineRuleParserRuleCall_1_1_0()); 
125
	    }
107
	    }
126
		lv_submachine_2_0=ruleSubmachineRule		{
108
		lv_submachine_2_0=ruleSubmachineRule		{
127
	        if ($current==null) {
109
	        if ($current==null) {
128
	            $current = factory.create(grammarAccess.getStateRuleRule().getType().getClassifier());
110
	            $current = createModelElementForParent(grammarAccess.getStateRuleRule());
129
	            associateNodeWithAstElement(currentNode.getParent(), $current);
130
	        }
131
	        try {
132
	       		set(
133
	       			$current, 
134
	       			"submachine",
135
	        		lv_submachine_2_0, 
136
	        		"SubmachineRule", 
137
	        		currentNode);
138
	        } catch (ValueConverterException vce) {
139
				handleValueConverterException(vce);
140
	        }
111
	        }
141
	        currentNode = currentNode.getParent();
112
       		set(
113
       			$current, 
114
       			"submachine",
115
        		lv_submachine_2_0, 
116
        		"SubmachineRule");
117
	        afterParserOrEnumRuleCall();
142
	    }
118
	    }
143
119
144
)
120
)
Lines 156-186 Link Here
156
					{ 
132
					{ 
157
	 				  getUnorderedGroupHelper().select(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 0);
133
	 				  getUnorderedGroupHelper().select(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 0);
158
	 				}
134
	 				}
159
					(
135
					({true}?=>(
160
(
136
(
161
		{ 
137
		{ 
162
	        currentNode=createCompositeNode(grammarAccess.getStateRuleAccess().getEntryEntryRuleParserRuleCall_2_0_0(), currentNode); 
138
	        newCompositeNode(grammarAccess.getStateRuleAccess().getEntryEntryRuleParserRuleCall_2_0_0()); 
163
	    }
139
	    }
164
		lv_entry_4_0=ruleEntryRule		{
140
		lv_entry_4_0=ruleEntryRule		{
165
	        if ($current==null) {
141
	        if ($current==null) {
166
	            $current = factory.create(grammarAccess.getStateRuleRule().getType().getClassifier());
142
	            $current = createModelElementForParent(grammarAccess.getStateRuleRule());
167
	            associateNodeWithAstElement(currentNode.getParent(), $current);
168
	        }
143
	        }
169
	        try {
144
       		set(
170
	       		set(
145
       			$current, 
171
	       			$current, 
146
       			"entry",
172
	       			"entry",
147
        		lv_entry_4_0, 
173
	        		lv_entry_4_0, 
148
        		"EntryRule");
174
	        		"EntryRule", 
149
	        afterParserOrEnumRuleCall();
175
	        		currentNode);
176
	        } catch (ValueConverterException vce) {
177
				handleValueConverterException(vce);
178
	        }
179
	        currentNode = currentNode.getParent();
180
	    }
150
	    }
181
151
182
)
152
)
183
)
153
))
184
					{ 
154
					{ 
185
	 				  getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStateRuleAccess().getUnorderedGroup_2());
155
	 				  getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStateRuleAccess().getUnorderedGroup_2());
186
	 				}
156
	 				}
Lines 192-222 Link Here
192
					{ 
162
					{ 
193
	 				  getUnorderedGroupHelper().select(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 1);
163
	 				  getUnorderedGroupHelper().select(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 1);
194
	 				}
164
	 				}
195
					(
165
					({true}?=>(
196
(
166
(
197
		{ 
167
		{ 
198
	        currentNode=createCompositeNode(grammarAccess.getStateRuleAccess().getDoDoRuleParserRuleCall_2_1_0(), currentNode); 
168
	        newCompositeNode(grammarAccess.getStateRuleAccess().getDoDoRuleParserRuleCall_2_1_0()); 
199
	    }
169
	    }
200
		lv_do_5_0=ruleDoRule		{
170
		lv_do_5_0=ruleDoRule		{
201
	        if ($current==null) {
171
	        if ($current==null) {
202
	            $current = factory.create(grammarAccess.getStateRuleRule().getType().getClassifier());
172
	            $current = createModelElementForParent(grammarAccess.getStateRuleRule());
203
	            associateNodeWithAstElement(currentNode.getParent(), $current);
204
	        }
173
	        }
205
	        try {
174
       		set(
206
	       		set(
175
       			$current, 
207
	       			$current, 
176
       			"do",
208
	       			"do",
177
        		lv_do_5_0, 
209
	        		lv_do_5_0, 
178
        		"DoRule");
210
	        		"DoRule", 
179
	        afterParserOrEnumRuleCall();
211
	        		currentNode);
212
	        } catch (ValueConverterException vce) {
213
				handleValueConverterException(vce);
214
	        }
215
	        currentNode = currentNode.getParent();
216
	    }
180
	    }
217
181
218
)
182
)
219
)
183
))
220
					{ 
184
					{ 
221
	 				  getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStateRuleAccess().getUnorderedGroup_2());
185
	 				  getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStateRuleAccess().getUnorderedGroup_2());
222
	 				}
186
	 				}
Lines 228-258 Link Here
228
					{ 
192
					{ 
229
	 				  getUnorderedGroupHelper().select(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 2);
193
	 				  getUnorderedGroupHelper().select(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 2);
230
	 				}
194
	 				}
231
					(
195
					({true}?=>(
232
(
196
(
233
		{ 
197
		{ 
234
	        currentNode=createCompositeNode(grammarAccess.getStateRuleAccess().getExitExitRuleParserRuleCall_2_2_0(), currentNode); 
198
	        newCompositeNode(grammarAccess.getStateRuleAccess().getExitExitRuleParserRuleCall_2_2_0()); 
235
	    }
199
	    }
236
		lv_exit_6_0=ruleExitRule		{
200
		lv_exit_6_0=ruleExitRule		{
237
	        if ($current==null) {
201
	        if ($current==null) {
238
	            $current = factory.create(grammarAccess.getStateRuleRule().getType().getClassifier());
202
	            $current = createModelElementForParent(grammarAccess.getStateRuleRule());
239
	            associateNodeWithAstElement(currentNode.getParent(), $current);
240
	        }
203
	        }
241
	        try {
204
       		set(
242
	       		set(
205
       			$current, 
243
	       			$current, 
206
       			"exit",
244
	       			"exit",
207
        		lv_exit_6_0, 
245
	        		lv_exit_6_0, 
208
        		"ExitRule");
246
	        		"ExitRule", 
209
	        afterParserOrEnumRuleCall();
247
	        		currentNode);
248
	        } catch (ValueConverterException vce) {
249
				handleValueConverterException(vce);
250
	        }
251
	        currentNode = currentNode.getParent();
252
	    }
210
	    }
253
211
254
)
212
)
255
)
213
))
256
					{ 
214
					{ 
257
	 				  getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStateRuleAccess().getUnorderedGroup_2());
215
	 				  getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStateRuleAccess().getUnorderedGroup_2());
258
	 				}
216
	 				}
Lines 276-282 Link Here
276
// Entry rule entryRuleSubmachineRule
234
// Entry rule entryRuleSubmachineRule
277
entryRuleSubmachineRule returns [EObject current=null] 
235
entryRuleSubmachineRule returns [EObject current=null] 
278
	:
236
	:
279
	{ currentNode = createCompositeNode(grammarAccess.getSubmachineRuleRule(), currentNode); }
237
	{ newCompositeNode(grammarAccess.getSubmachineRuleRule()); }
280
	 iv_ruleSubmachineRule=ruleSubmachineRule 
238
	 iv_ruleSubmachineRule=ruleSubmachineRule 
281
	 { $current=$iv_ruleSubmachineRule.current; } 
239
	 { $current=$iv_ruleSubmachineRule.current; } 
282
	 EOF 
240
	 EOF 
Lines 284-315 Link Here
284
242
285
// Rule SubmachineRule
243
// Rule SubmachineRule
286
ruleSubmachineRule returns [EObject current=null] 
244
ruleSubmachineRule returns [EObject current=null] 
287
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
245
    @init { enterRule(); 
288
    }
246
    }
289
    @after { resetLookahead(); 
247
    @after { leaveRule(); }:
290
    	lastConsumedNode = currentNode;
291
    }:
292
((
248
((
293
(
249
(
294
		{ 
250
		{ 
295
	        currentNode=createCompositeNode(grammarAccess.getSubmachineRuleAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); 
251
	        newCompositeNode(grammarAccess.getSubmachineRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
296
	    }
252
	    }
297
		lv_path_0_0=ruleQualifiedName		{
253
		lv_path_0_0=ruleQualifiedName		{
298
	        if ($current==null) {
254
	        if ($current==null) {
299
	            $current = factory.create(grammarAccess.getSubmachineRuleRule().getType().getClassifier());
255
	            $current = createModelElementForParent(grammarAccess.getSubmachineRuleRule());
300
	            associateNodeWithAstElement(currentNode.getParent(), $current);
301
	        }
256
	        }
302
	        try {
257
       		set(
303
	       		set(
258
       			$current, 
304
	       			$current, 
259
       			"path",
305
	       			"path",
260
        		lv_path_0_0, 
306
	        		lv_path_0_0, 
261
        		"QualifiedName");
307
	        		"QualifiedName", 
262
	        afterParserOrEnumRuleCall();
308
	        		currentNode);
309
	        } catch (ValueConverterException vce) {
310
				handleValueConverterException(vce);
311
	        }
312
	        currentNode = currentNode.getParent();
313
	    }
263
	    }
314
264
315
)
265
)
Lines 317-329 Link Here
317
(
267
(
318
		{
268
		{
319
			if ($current==null) {
269
			if ($current==null) {
320
	            $current = factory.create(grammarAccess.getSubmachineRuleRule().getType().getClassifier());
270
	            $current = createModelElement(grammarAccess.getSubmachineRuleRule());
321
	            associateNodeWithAstElement(currentNode, $current);
322
	        }
271
	        }
323
        }
272
        }
324
	RULE_ID
273
	otherlv_1=RULE_ID
325
	{
274
	{
326
		createLeafNode(grammarAccess.getSubmachineRuleAccess().getSubmachineStateMachineCrossReference_1_0(), "submachine"); 
275
		newLeafNode(otherlv_1, grammarAccess.getSubmachineRuleAccess().getSubmachineStateMachineCrossReference_1_0()); 
327
	}
276
	}
328
277
329
)
278
)
Lines 337-343 Link Here
337
// Entry rule entryRuleQualifiedName
286
// Entry rule entryRuleQualifiedName
338
entryRuleQualifiedName returns [EObject current=null] 
287
entryRuleQualifiedName returns [EObject current=null] 
339
	:
288
	:
340
	{ currentNode = createCompositeNode(grammarAccess.getQualifiedNameRule(), currentNode); }
289
	{ newCompositeNode(grammarAccess.getQualifiedNameRule()); }
341
	 iv_ruleQualifiedName=ruleQualifiedName 
290
	 iv_ruleQualifiedName=ruleQualifiedName 
342
	 { $current=$iv_ruleQualifiedName.current; } 
291
	 { $current=$iv_ruleQualifiedName.current; } 
343
	 EOF 
292
	 EOF 
Lines 345-394 Link Here
345
294
346
// Rule QualifiedName
295
// Rule QualifiedName
347
ruleQualifiedName returns [EObject current=null] 
296
ruleQualifiedName returns [EObject current=null] 
348
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
297
    @init { enterRule(); 
349
    }
298
    }
350
    @after { resetLookahead(); 
299
    @after { leaveRule(); }:
351
    	lastConsumedNode = currentNode;
352
    }:
353
((
300
((
354
(
301
(
355
		{
302
		{
356
			if ($current==null) {
303
			if ($current==null) {
357
	            $current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
304
	            $current = createModelElement(grammarAccess.getQualifiedNameRule());
358
	            associateNodeWithAstElement(currentNode, $current);
359
	        }
305
	        }
360
        }
306
        }
361
	RULE_ID
307
	otherlv_0=RULE_ID
362
	{
308
	{
363
		createLeafNode(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(), "path"); 
309
		newLeafNode(otherlv_0, grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); 
364
	}
310
	}
365
311
366
)
312
)
367
)	'::' 
313
)	otherlv_1='::' 
368
    {
314
    {
369
        createLeafNode(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1(), null); 
315
    	newLeafNode(otherlv_1, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
370
    }
316
    }
371
(
317
(
372
(
318
(
373
		{ 
319
		{ 
374
	        currentNode=createCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(), currentNode); 
320
	        newCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
375
	    }
321
	    }
376
		lv_remaining_2_0=ruleQualifiedName		{
322
		lv_remaining_2_0=ruleQualifiedName		{
377
	        if ($current==null) {
323
	        if ($current==null) {
378
	            $current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
324
	            $current = createModelElementForParent(grammarAccess.getQualifiedNameRule());
379
	            associateNodeWithAstElement(currentNode.getParent(), $current);
380
	        }
381
	        try {
382
	       		set(
383
	       			$current, 
384
	       			"remaining",
385
	        		lv_remaining_2_0, 
386
	        		"QualifiedName", 
387
	        		currentNode);
388
	        } catch (ValueConverterException vce) {
389
				handleValueConverterException(vce);
390
	        }
325
	        }
391
	        currentNode = currentNode.getParent();
326
       		set(
327
       			$current, 
328
       			"remaining",
329
        		lv_remaining_2_0, 
330
        		"QualifiedName");
331
	        afterParserOrEnumRuleCall();
392
	    }
332
	    }
393
333
394
)
334
)
Lines 402-408 Link Here
402
// Entry rule entryRuleEntryRule
342
// Entry rule entryRuleEntryRule
403
entryRuleEntryRule returns [EObject current=null] 
343
entryRuleEntryRule returns [EObject current=null] 
404
	:
344
	:
405
	{ currentNode = createCompositeNode(grammarAccess.getEntryRuleRule(), currentNode); }
345
	{ newCompositeNode(grammarAccess.getEntryRuleRule()); }
406
	 iv_ruleEntryRule=ruleEntryRule 
346
	 iv_ruleEntryRule=ruleEntryRule 
407
	 { $current=$iv_ruleEntryRule.current; } 
347
	 { $current=$iv_ruleEntryRule.current; } 
408
	 EOF 
348
	 EOF 
Lines 410-445 Link Here
410
350
411
// Rule EntryRule
351
// Rule EntryRule
412
ruleEntryRule returns [EObject current=null] 
352
ruleEntryRule returns [EObject current=null] 
413
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
353
    @init { enterRule(); 
414
    }
354
    }
415
    @after { resetLookahead(); 
355
    @after { leaveRule(); }:
416
    	lastConsumedNode = currentNode;
356
(	otherlv_0='entry' 
417
    }:
418
(	'entry' 
419
    {
357
    {
420
        createLeafNode(grammarAccess.getEntryRuleAccess().getEntryKeyword_0(), null); 
358
    	newLeafNode(otherlv_0, grammarAccess.getEntryRuleAccess().getEntryKeyword_0());
421
    }
359
    }
422
(
360
(
423
(
361
(
424
		{ 
362
		{ 
425
	        currentNode=createCompositeNode(grammarAccess.getEntryRuleAccess().getKindBehaviorKindEnumRuleCall_1_0(), currentNode); 
363
	        newCompositeNode(grammarAccess.getEntryRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
426
	    }
364
	    }
427
		lv_kind_1_0=ruleBehaviorKind		{
365
		lv_kind_1_0=ruleBehaviorKind		{
428
	        if ($current==null) {
366
	        if ($current==null) {
429
	            $current = factory.create(grammarAccess.getEntryRuleRule().getType().getClassifier());
367
	            $current = createModelElementForParent(grammarAccess.getEntryRuleRule());
430
	            associateNodeWithAstElement(currentNode.getParent(), $current);
431
	        }
432
	        try {
433
	       		set(
434
	       			$current, 
435
	       			"kind",
436
	        		lv_kind_1_0, 
437
	        		"BehaviorKind", 
438
	        		currentNode);
439
	        } catch (ValueConverterException vce) {
440
				handleValueConverterException(vce);
441
	        }
368
	        }
442
	        currentNode = currentNode.getParent();
369
       		set(
370
       			$current, 
371
       			"kind",
372
        		lv_kind_1_0, 
373
        		"BehaviorKind");
374
	        afterParserOrEnumRuleCall();
443
	    }
375
	    }
444
376
445
)
377
)
Lines 447-469 Link Here
447
(
379
(
448
		lv_behaviorName_2_0=RULE_ID
380
		lv_behaviorName_2_0=RULE_ID
449
		{
381
		{
450
			createLeafNode(grammarAccess.getEntryRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0(), "behaviorName"); 
382
			newLeafNode(lv_behaviorName_2_0, grammarAccess.getEntryRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0()); 
451
		}
383
		}
452
		{
384
		{
453
	        if ($current==null) {
385
	        if ($current==null) {
454
	            $current = factory.create(grammarAccess.getEntryRuleRule().getType().getClassifier());
386
	            $current = createModelElement(grammarAccess.getEntryRuleRule());
455
	            associateNodeWithAstElement(currentNode, $current);
456
	        }
387
	        }
457
	        try {
388
       		setWithLastConsumed(
458
	       		set(
389
       			$current, 
459
	       			$current, 
390
       			"behaviorName",
460
	       			"behaviorName",
391
        		lv_behaviorName_2_0, 
461
	        		lv_behaviorName_2_0, 
392
        		"ID");
462
	        		"ID", 
463
	        		lastConsumedNode);
464
	        } catch (ValueConverterException vce) {
465
				handleValueConverterException(vce);
466
	        }
467
	    }
393
	    }
468
394
469
)
395
)
Lines 477-483 Link Here
477
// Entry rule entryRuleDoRule
403
// Entry rule entryRuleDoRule
478
entryRuleDoRule returns [EObject current=null] 
404
entryRuleDoRule returns [EObject current=null] 
479
	:
405
	:
480
	{ currentNode = createCompositeNode(grammarAccess.getDoRuleRule(), currentNode); }
406
	{ newCompositeNode(grammarAccess.getDoRuleRule()); }
481
	 iv_ruleDoRule=ruleDoRule 
407
	 iv_ruleDoRule=ruleDoRule 
482
	 { $current=$iv_ruleDoRule.current; } 
408
	 { $current=$iv_ruleDoRule.current; } 
483
	 EOF 
409
	 EOF 
Lines 485-520 Link Here
485
411
486
// Rule DoRule
412
// Rule DoRule
487
ruleDoRule returns [EObject current=null] 
413
ruleDoRule returns [EObject current=null] 
488
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
414
    @init { enterRule(); 
489
    }
415
    }
490
    @after { resetLookahead(); 
416
    @after { leaveRule(); }:
491
    	lastConsumedNode = currentNode;
417
(	otherlv_0='do' 
492
    }:
493
(	'do' 
494
    {
418
    {
495
        createLeafNode(grammarAccess.getDoRuleAccess().getDoKeyword_0(), null); 
419
    	newLeafNode(otherlv_0, grammarAccess.getDoRuleAccess().getDoKeyword_0());
496
    }
420
    }
497
(
421
(
498
(
422
(
499
		{ 
423
		{ 
500
	        currentNode=createCompositeNode(grammarAccess.getDoRuleAccess().getKindBehaviorKindEnumRuleCall_1_0(), currentNode); 
424
	        newCompositeNode(grammarAccess.getDoRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
501
	    }
425
	    }
502
		lv_kind_1_0=ruleBehaviorKind		{
426
		lv_kind_1_0=ruleBehaviorKind		{
503
	        if ($current==null) {
427
	        if ($current==null) {
504
	            $current = factory.create(grammarAccess.getDoRuleRule().getType().getClassifier());
428
	            $current = createModelElementForParent(grammarAccess.getDoRuleRule());
505
	            associateNodeWithAstElement(currentNode.getParent(), $current);
506
	        }
507
	        try {
508
	       		set(
509
	       			$current, 
510
	       			"kind",
511
	        		lv_kind_1_0, 
512
	        		"BehaviorKind", 
513
	        		currentNode);
514
	        } catch (ValueConverterException vce) {
515
				handleValueConverterException(vce);
516
	        }
429
	        }
517
	        currentNode = currentNode.getParent();
430
       		set(
431
       			$current, 
432
       			"kind",
433
        		lv_kind_1_0, 
434
        		"BehaviorKind");
435
	        afterParserOrEnumRuleCall();
518
	    }
436
	    }
519
437
520
)
438
)
Lines 522-544 Link Here
522
(
440
(
523
		lv_behaviorName_2_0=RULE_ID
441
		lv_behaviorName_2_0=RULE_ID
524
		{
442
		{
525
			createLeafNode(grammarAccess.getDoRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0(), "behaviorName"); 
443
			newLeafNode(lv_behaviorName_2_0, grammarAccess.getDoRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0()); 
526
		}
444
		}
527
		{
445
		{
528
	        if ($current==null) {
446
	        if ($current==null) {
529
	            $current = factory.create(grammarAccess.getDoRuleRule().getType().getClassifier());
447
	            $current = createModelElement(grammarAccess.getDoRuleRule());
530
	            associateNodeWithAstElement(currentNode, $current);
531
	        }
532
	        try {
533
	       		set(
534
	       			$current, 
535
	       			"behaviorName",
536
	        		lv_behaviorName_2_0, 
537
	        		"ID", 
538
	        		lastConsumedNode);
539
	        } catch (ValueConverterException vce) {
540
				handleValueConverterException(vce);
541
	        }
448
	        }
449
       		setWithLastConsumed(
450
       			$current, 
451
       			"behaviorName",
452
        		lv_behaviorName_2_0, 
453
        		"ID");
542
	    }
454
	    }
543
455
544
)
456
)
Lines 552-558 Link Here
552
// Entry rule entryRuleExitRule
464
// Entry rule entryRuleExitRule
553
entryRuleExitRule returns [EObject current=null] 
465
entryRuleExitRule returns [EObject current=null] 
554
	:
466
	:
555
	{ currentNode = createCompositeNode(grammarAccess.getExitRuleRule(), currentNode); }
467
	{ newCompositeNode(grammarAccess.getExitRuleRule()); }
556
	 iv_ruleExitRule=ruleExitRule 
468
	 iv_ruleExitRule=ruleExitRule 
557
	 { $current=$iv_ruleExitRule.current; } 
469
	 { $current=$iv_ruleExitRule.current; } 
558
	 EOF 
470
	 EOF 
Lines 560-595 Link Here
560
472
561
// Rule ExitRule
473
// Rule ExitRule
562
ruleExitRule returns [EObject current=null] 
474
ruleExitRule returns [EObject current=null] 
563
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
475
    @init { enterRule(); 
564
    }
476
    }
565
    @after { resetLookahead(); 
477
    @after { leaveRule(); }:
566
    	lastConsumedNode = currentNode;
478
(	otherlv_0='exit' 
567
    }:
568
(	'exit' 
569
    {
479
    {
570
        createLeafNode(grammarAccess.getExitRuleAccess().getExitKeyword_0(), null); 
480
    	newLeafNode(otherlv_0, grammarAccess.getExitRuleAccess().getExitKeyword_0());
571
    }
481
    }
572
(
482
(
573
(
483
(
574
		{ 
484
		{ 
575
	        currentNode=createCompositeNode(grammarAccess.getExitRuleAccess().getKindBehaviorKindEnumRuleCall_1_0(), currentNode); 
485
	        newCompositeNode(grammarAccess.getExitRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
576
	    }
486
	    }
577
		lv_kind_1_0=ruleBehaviorKind		{
487
		lv_kind_1_0=ruleBehaviorKind		{
578
	        if ($current==null) {
488
	        if ($current==null) {
579
	            $current = factory.create(grammarAccess.getExitRuleRule().getType().getClassifier());
489
	            $current = createModelElementForParent(grammarAccess.getExitRuleRule());
580
	            associateNodeWithAstElement(currentNode.getParent(), $current);
581
	        }
490
	        }
582
	        try {
491
       		set(
583
	       		set(
492
       			$current, 
584
	       			$current, 
493
       			"kind",
585
	       			"kind",
494
        		lv_kind_1_0, 
586
	        		lv_kind_1_0, 
495
        		"BehaviorKind");
587
	        		"BehaviorKind", 
496
	        afterParserOrEnumRuleCall();
588
	        		currentNode);
589
	        } catch (ValueConverterException vce) {
590
				handleValueConverterException(vce);
591
	        }
592
	        currentNode = currentNode.getParent();
593
	    }
497
	    }
594
498
595
)
499
)
Lines 597-619 Link Here
597
(
501
(
598
		lv_behaviorName_2_0=RULE_ID
502
		lv_behaviorName_2_0=RULE_ID
599
		{
503
		{
600
			createLeafNode(grammarAccess.getExitRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0(), "behaviorName"); 
504
			newLeafNode(lv_behaviorName_2_0, grammarAccess.getExitRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0()); 
601
		}
505
		}
602
		{
506
		{
603
	        if ($current==null) {
507
	        if ($current==null) {
604
	            $current = factory.create(grammarAccess.getExitRuleRule().getType().getClassifier());
508
	            $current = createModelElement(grammarAccess.getExitRuleRule());
605
	            associateNodeWithAstElement(currentNode, $current);
606
	        }
509
	        }
607
	        try {
510
       		setWithLastConsumed(
608
	       		set(
511
       			$current, 
609
	       			$current, 
512
       			"behaviorName",
610
	       			"behaviorName",
513
        		lv_behaviorName_2_0, 
611
	        		lv_behaviorName_2_0, 
514
        		"ID");
612
	        		"ID", 
613
	        		lastConsumedNode);
614
	        } catch (ValueConverterException vce) {
615
				handleValueConverterException(vce);
616
	        }
617
	    }
515
	    }
618
516
619
)
517
)
Lines 626-651 Link Here
626
524
627
// Rule BehaviorKind
525
// Rule BehaviorKind
628
ruleBehaviorKind returns [Enumerator current=null] 
526
ruleBehaviorKind returns [Enumerator current=null] 
629
    @init { setCurrentLookahead(); resetLookahead(); }
527
    @init { enterRule(); }
630
    @after { resetLookahead(); 
528
    @after { leaveRule(); }:
631
    	lastConsumedNode = currentNode;
529
((	enumLiteral_0='Activity' 
632
    }:
633
((	'Activity' 
634
	{
530
	{
635
        $current = grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
531
        $current = grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
636
        createLeafNode(grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0(), null); 
532
        newLeafNode(enumLiteral_0, grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0()); 
637
    }
533
    }
638
)
534
)
639
    |(	'StateMachine' 
535
    |(	enumLiteral_1='StateMachine' 
640
	{
536
	{
641
        $current = grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
537
        $current = grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
642
        createLeafNode(grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1(), null); 
538
        newLeafNode(enumLiteral_1, grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1()); 
643
    }
539
    }
644
)
540
)
645
    |(	'OpaqueBehavior' 
541
    |(	enumLiteral_2='OpaqueBehavior' 
646
	{
542
	{
647
        $current = grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2().getEnumLiteral().getInstance();
543
        $current = grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2().getEnumLiteral().getInstance();
648
        createLeafNode(grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2(), null); 
544
        newLeafNode(enumLiteral_2, grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2()); 
649
    }
545
    }
650
));
546
));
651
547
Lines 655-661 Link Here
655
551
656
RULE_INT : ('0'..'9')+;
552
RULE_INT : ('0'..'9')+;
657
553
658
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
554
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
659
555
660
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
556
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
661
557
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.tokens (+8 lines)
Lines 1-5 Link Here
1
RULE_ID=4
1
RULE_ID=4
2
RULE_STRING=6
2
RULE_STRING=6
3
T__16=16
4
T__15=15
5
T__18=18
6
T__17=17
7
T__12=12
8
T__11=11
9
T__14=14
10
T__13=13
3
RULE_ANY_OTHER=10
11
RULE_ANY_OTHER=10
4
RULE_INT=5
12
RULE_INT=5
5
RULE_WS=9
13
RULE_WS=9
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlStateParser.java (-496 / +459 lines)
Lines 1-10 Link Here
1
package org.eclipse.papyrus.state.editor.xtext.parser.antlr.internal; 
1
package org.eclipse.papyrus.state.editor.xtext.parser.antlr.internal; 
2
2
3
import java.io.InputStream;
4
import org.eclipse.xtext.*;
3
import org.eclipse.xtext.*;
5
import org.eclipse.xtext.parser.*;
4
import org.eclipse.xtext.parser.*;
6
import org.eclipse.xtext.parser.impl.*;
5
import org.eclipse.xtext.parser.impl.*;
7
import org.eclipse.xtext.parsetree.*;
8
import org.eclipse.emf.ecore.util.EcoreUtil;
6
import org.eclipse.emf.ecore.util.EcoreUtil;
9
import org.eclipse.emf.ecore.EObject;
7
import org.eclipse.emf.ecore.EObject;
10
import org.eclipse.emf.common.util.Enumerator;
8
import org.eclipse.emf.common.util.Enumerator;
Lines 12-18 Link Here
12
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
10
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
13
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
11
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
14
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
12
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
15
import org.eclipse.xtext.conversion.ValueConverterException;
16
import org.eclipse.papyrus.state.editor.xtext.services.UmlStateGrammarAccess;
13
import org.eclipse.papyrus.state.editor.xtext.services.UmlStateGrammarAccess;
17
14
18
15
Lines 29-34 Link Here
29
    };
26
    };
30
    public static final int RULE_ID=4;
27
    public static final int RULE_ID=4;
31
    public static final int RULE_STRING=6;
28
    public static final int RULE_STRING=6;
29
    public static final int T__16=16;
30
    public static final int T__15=15;
31
    public static final int T__18=18;
32
    public static final int T__17=17;
33
    public static final int T__12=12;
34
    public static final int T__11=11;
35
    public static final int T__14=14;
36
    public static final int T__13=13;
32
    public static final int RULE_ANY_OTHER=10;
37
    public static final int RULE_ANY_OTHER=10;
33
    public static final int RULE_INT=5;
38
    public static final int RULE_INT=5;
34
    public static final int RULE_WS=9;
39
    public static final int RULE_WS=9;
Lines 36-64 Link Here
36
    public static final int EOF=-1;
41
    public static final int EOF=-1;
37
    public static final int RULE_ML_COMMENT=7;
42
    public static final int RULE_ML_COMMENT=7;
38
43
44
    // delegates
45
    // delegators
46
47
39
        public InternalUmlStateParser(TokenStream input) {
48
        public InternalUmlStateParser(TokenStream input) {
40
            super(input);
49
            this(input, new RecognizerSharedState());
50
        }
51
        public InternalUmlStateParser(TokenStream input, RecognizerSharedState state) {
52
            super(input, state);
53
             
41
        }
54
        }
42
        
55
        
43
56
44
    public String[] getTokenNames() { return tokenNames; }
57
    public String[] getTokenNames() { return InternalUmlStateParser.tokenNames; }
45
    public String getGrammarFileName() { return "../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g"; }
58
    public String getGrammarFileName() { return "../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g"; }
46
59
47
60
48
61
49
     	private UmlStateGrammarAccess grammarAccess;
62
     	private UmlStateGrammarAccess grammarAccess;
50
     	
63
     	
51
        public InternalUmlStateParser(TokenStream input, IAstFactory factory, UmlStateGrammarAccess grammarAccess) {
64
        public InternalUmlStateParser(TokenStream input, UmlStateGrammarAccess grammarAccess) {
52
            this(input);
65
            this(input);
53
            this.factory = factory;
54
            registerRules(grammarAccess.getGrammar());
55
            this.grammarAccess = grammarAccess;
66
            this.grammarAccess = grammarAccess;
56
        }
67
            registerRules(grammarAccess.getGrammar());
57
        
58
        @Override
59
        protected InputStream getTokenFile() {
60
        	ClassLoader classLoader = getClass().getClassLoader();
61
        	return classLoader.getResourceAsStream("org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.tokens");
62
        }
68
        }
63
        
69
        
64
        @Override
70
        @Override
Lines 73-80 Link Here
73
79
74
80
75
81
76
    // $ANTLR start entryRuleStateRule
82
    // $ANTLR start "entryRuleStateRule"
77
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:78:1: entryRuleStateRule returns [EObject current=null] : iv_ruleStateRule= ruleStateRule EOF ;
83
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:68:1: entryRuleStateRule returns [EObject current=null] : iv_ruleStateRule= ruleStateRule EOF ;
78
    public final EObject entryRuleStateRule() throws RecognitionException {
84
    public final EObject entryRuleStateRule() throws RecognitionException {
79
        EObject current = null;
85
        EObject current = null;
80
86
Lines 82-94 Link Here
82
88
83
89
84
        try {
90
        try {
85
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:79:2: (iv_ruleStateRule= ruleStateRule EOF )
91
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:69:2: (iv_ruleStateRule= ruleStateRule EOF )
86
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:80:2: iv_ruleStateRule= ruleStateRule EOF
92
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:70:2: iv_ruleStateRule= ruleStateRule EOF
87
            {
93
            {
88
             currentNode = createCompositeNode(grammarAccess.getStateRuleRule(), currentNode); 
94
             newCompositeNode(grammarAccess.getStateRuleRule()); 
89
            pushFollow(FOLLOW_ruleStateRule_in_entryRuleStateRule75);
95
            pushFollow(FOLLOW_ruleStateRule_in_entryRuleStateRule75);
90
            iv_ruleStateRule=ruleStateRule();
96
            iv_ruleStateRule=ruleStateRule();
91
            _fsp--;
97
98
            state._fsp--;
92
99
93
             current =iv_ruleStateRule; 
100
             current =iv_ruleStateRule; 
94
            match(input,EOF,FOLLOW_EOF_in_entryRuleStateRule85); 
101
            match(input,EOF,FOLLOW_EOF_in_entryRuleStateRule85); 
Lines 105-119 Link Here
105
        }
112
        }
106
        return current;
113
        return current;
107
    }
114
    }
108
    // $ANTLR end entryRuleStateRule
115
    // $ANTLR end "entryRuleStateRule"
109
116
110
117
111
    // $ANTLR start ruleStateRule
118
    // $ANTLR start "ruleStateRule"
112
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:87:1: ruleStateRule returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) ( ':' ( (lv_submachine_2_0= ruleSubmachineRule ) ) )? ( ( ( ( ({...}? => ( ( (lv_entry_4_0= ruleEntryRule ) ) ) ) | ({...}? => ( ( (lv_do_5_0= ruleDoRule ) ) ) ) | ({...}? => ( ( (lv_exit_6_0= ruleExitRule ) ) ) ) )* ) ) ) ) ;
119
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:77:1: ruleStateRule returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) (otherlv_1= ':' ( (lv_submachine_2_0= ruleSubmachineRule ) ) )? ( ( ( ( ({...}? => ( ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_do_5_0= ruleDoRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) ) ) ) )* ) ) ) ) ;
113
    public final EObject ruleStateRule() throws RecognitionException {
120
    public final EObject ruleStateRule() throws RecognitionException {
114
        EObject current = null;
121
        EObject current = null;
115
122
116
        Token lv_name_0_0=null;
123
        Token lv_name_0_0=null;
124
        Token otherlv_1=null;
117
        EObject lv_submachine_2_0 = null;
125
        EObject lv_submachine_2_0 = null;
118
126
119
        EObject lv_entry_4_0 = null;
127
        EObject lv_entry_4_0 = null;
Lines 123-163 Link Here
123
        EObject lv_exit_6_0 = null;
131
        EObject lv_exit_6_0 = null;
124
132
125
133
126
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
134
         enterRule(); 
127
            
135
            
128
        try {
136
        try {
129
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:92:6: ( ( ( (lv_name_0_0= RULE_ID ) ) ( ':' ( (lv_submachine_2_0= ruleSubmachineRule ) ) )? ( ( ( ( ({...}? => ( ( (lv_entry_4_0= ruleEntryRule ) ) ) ) | ({...}? => ( ( (lv_do_5_0= ruleDoRule ) ) ) ) | ({...}? => ( ( (lv_exit_6_0= ruleExitRule ) ) ) ) )* ) ) ) ) )
137
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:80:28: ( ( ( (lv_name_0_0= RULE_ID ) ) (otherlv_1= ':' ( (lv_submachine_2_0= ruleSubmachineRule ) ) )? ( ( ( ( ({...}? => ( ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_do_5_0= ruleDoRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) ) ) ) )* ) ) ) ) )
130
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:93:1: ( ( (lv_name_0_0= RULE_ID ) ) ( ':' ( (lv_submachine_2_0= ruleSubmachineRule ) ) )? ( ( ( ( ({...}? => ( ( (lv_entry_4_0= ruleEntryRule ) ) ) ) | ({...}? => ( ( (lv_do_5_0= ruleDoRule ) ) ) ) | ({...}? => ( ( (lv_exit_6_0= ruleExitRule ) ) ) ) )* ) ) ) )
138
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:81:1: ( ( (lv_name_0_0= RULE_ID ) ) (otherlv_1= ':' ( (lv_submachine_2_0= ruleSubmachineRule ) ) )? ( ( ( ( ({...}? => ( ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_do_5_0= ruleDoRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) ) ) ) )* ) ) ) )
131
            {
139
            {
132
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:93:1: ( ( (lv_name_0_0= RULE_ID ) ) ( ':' ( (lv_submachine_2_0= ruleSubmachineRule ) ) )? ( ( ( ( ({...}? => ( ( (lv_entry_4_0= ruleEntryRule ) ) ) ) | ({...}? => ( ( (lv_do_5_0= ruleDoRule ) ) ) ) | ({...}? => ( ( (lv_exit_6_0= ruleExitRule ) ) ) ) )* ) ) ) )
140
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:81:1: ( ( (lv_name_0_0= RULE_ID ) ) (otherlv_1= ':' ( (lv_submachine_2_0= ruleSubmachineRule ) ) )? ( ( ( ( ({...}? => ( ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_do_5_0= ruleDoRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) ) ) ) )* ) ) ) )
133
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:93:2: ( (lv_name_0_0= RULE_ID ) ) ( ':' ( (lv_submachine_2_0= ruleSubmachineRule ) ) )? ( ( ( ( ({...}? => ( ( (lv_entry_4_0= ruleEntryRule ) ) ) ) | ({...}? => ( ( (lv_do_5_0= ruleDoRule ) ) ) ) | ({...}? => ( ( (lv_exit_6_0= ruleExitRule ) ) ) ) )* ) ) )
141
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:81:2: ( (lv_name_0_0= RULE_ID ) ) (otherlv_1= ':' ( (lv_submachine_2_0= ruleSubmachineRule ) ) )? ( ( ( ( ({...}? => ( ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_do_5_0= ruleDoRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) ) ) ) )* ) ) )
134
            {
142
            {
135
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:93:2: ( (lv_name_0_0= RULE_ID ) )
143
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:81:2: ( (lv_name_0_0= RULE_ID ) )
136
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:94:1: (lv_name_0_0= RULE_ID )
144
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:82:1: (lv_name_0_0= RULE_ID )
137
            {
145
            {
138
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:94:1: (lv_name_0_0= RULE_ID )
146
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:82:1: (lv_name_0_0= RULE_ID )
139
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:95:3: lv_name_0_0= RULE_ID
147
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:83:3: lv_name_0_0= RULE_ID
140
            {
148
            {
141
            lv_name_0_0=(Token)input.LT(1);
149
            lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleStateRule127); 
142
            match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleStateRule127); 
143
150
144
            			createLeafNode(grammarAccess.getStateRuleAccess().getNameIDTerminalRuleCall_0_0(), "name"); 
151
            			newLeafNode(lv_name_0_0, grammarAccess.getStateRuleAccess().getNameIDTerminalRuleCall_0_0()); 
145
            		
152
            		
146
153
147
            	        if (current==null) {
154
            	        if (current==null) {
148
            	            current = factory.create(grammarAccess.getStateRuleRule().getType().getClassifier());
155
            	            current = createModelElement(grammarAccess.getStateRuleRule());
149
            	            associateNodeWithAstElement(currentNode, current);
150
            	        }
151
            	        try {
152
            	       		set(
153
            	       			current, 
154
            	       			"name",
155
            	        		lv_name_0_0, 
156
            	        		"ID", 
157
            	        		lastConsumedNode);
158
            	        } catch (ValueConverterException vce) {
159
            				handleValueConverterException(vce);
160
            	        }
156
            	        }
157
                   		setWithLastConsumed(
158
                   			current, 
159
                   			"name",
160
                    		lv_name_0_0, 
161
                    		"ID");
161
            	    
162
            	    
162
163
163
            }
164
            }
Lines 165-171 Link Here
165
166
166
            }
167
            }
167
168
168
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:117:2: ( ':' ( (lv_submachine_2_0= ruleSubmachineRule ) ) )?
169
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:99:2: (otherlv_1= ':' ( (lv_submachine_2_0= ruleSubmachineRule ) ) )?
169
            int alt1=2;
170
            int alt1=2;
170
            int LA1_0 = input.LA(1);
171
            int LA1_0 = input.LA(1);
171
172
Lines 174-214 Link Here
174
            }
175
            }
175
            switch (alt1) {
176
            switch (alt1) {
176
                case 1 :
177
                case 1 :
177
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:117:4: ':' ( (lv_submachine_2_0= ruleSubmachineRule ) )
178
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:99:4: otherlv_1= ':' ( (lv_submachine_2_0= ruleSubmachineRule ) )
178
                    {
179
                    {
179
                    match(input,11,FOLLOW_11_in_ruleStateRule143); 
180
                    otherlv_1=(Token)match(input,11,FOLLOW_11_in_ruleStateRule145); 
180
181
181
                            createLeafNode(grammarAccess.getStateRuleAccess().getColonKeyword_1_0(), null); 
182
                        	newLeafNode(otherlv_1, grammarAccess.getStateRuleAccess().getColonKeyword_1_0());
182
                        
183
                        
183
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:121:1: ( (lv_submachine_2_0= ruleSubmachineRule ) )
184
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:103:1: ( (lv_submachine_2_0= ruleSubmachineRule ) )
184
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:122:1: (lv_submachine_2_0= ruleSubmachineRule )
185
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:104:1: (lv_submachine_2_0= ruleSubmachineRule )
185
                    {
186
                    {
186
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:122:1: (lv_submachine_2_0= ruleSubmachineRule )
187
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:104:1: (lv_submachine_2_0= ruleSubmachineRule )
187
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:123:3: lv_submachine_2_0= ruleSubmachineRule
188
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:105:3: lv_submachine_2_0= ruleSubmachineRule
188
                    {
189
                    {
189
                     
190
                     
190
                    	        currentNode=createCompositeNode(grammarAccess.getStateRuleAccess().getSubmachineSubmachineRuleParserRuleCall_1_1_0(), currentNode); 
191
                    	        newCompositeNode(grammarAccess.getStateRuleAccess().getSubmachineSubmachineRuleParserRuleCall_1_1_0()); 
191
                    	    
192
                    	    
192
                    pushFollow(FOLLOW_ruleSubmachineRule_in_ruleStateRule164);
193
                    pushFollow(FOLLOW_ruleSubmachineRule_in_ruleStateRule166);
193
                    lv_submachine_2_0=ruleSubmachineRule();
194
                    lv_submachine_2_0=ruleSubmachineRule();
194
                    _fsp--;
195
196
                    state._fsp--;
195
197
196
198
197
                    	        if (current==null) {
199
                    	        if (current==null) {
198
                    	            current = factory.create(grammarAccess.getStateRuleRule().getType().getClassifier());
200
                    	            current = createModelElementForParent(grammarAccess.getStateRuleRule());
199
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
200
                    	        }
201
                    	        try {
202
                    	       		set(
203
                    	       			current, 
204
                    	       			"submachine",
205
                    	        		lv_submachine_2_0, 
206
                    	        		"SubmachineRule", 
207
                    	        		currentNode);
208
                    	        } catch (ValueConverterException vce) {
209
                    				handleValueConverterException(vce);
210
                    	        }
201
                    	        }
211
                    	        currentNode = currentNode.getParent();
202
                           		set(
203
                           			current, 
204
                           			"submachine",
205
                            		lv_submachine_2_0, 
206
                            		"SubmachineRule");
207
                    	        afterParserOrEnumRuleCall();
212
                    	    
208
                    	    
213
209
214
                    }
210
                    }
Lines 222-240 Link Here
222
218
223
            }
219
            }
224
220
225
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:145:4: ( ( ( ( ({...}? => ( ( (lv_entry_4_0= ruleEntryRule ) ) ) ) | ({...}? => ( ( (lv_do_5_0= ruleDoRule ) ) ) ) | ({...}? => ( ( (lv_exit_6_0= ruleExitRule ) ) ) ) )* ) ) )
221
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:121:4: ( ( ( ( ({...}? => ( ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_do_5_0= ruleDoRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) ) ) ) )* ) ) )
226
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:147:1: ( ( ( ({...}? => ( ( (lv_entry_4_0= ruleEntryRule ) ) ) ) | ({...}? => ( ( (lv_do_5_0= ruleDoRule ) ) ) ) | ({...}? => ( ( (lv_exit_6_0= ruleExitRule ) ) ) ) )* ) )
222
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:123:1: ( ( ( ({...}? => ( ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_do_5_0= ruleDoRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) ) ) ) )* ) )
227
            {
223
            {
228
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:147:1: ( ( ( ({...}? => ( ( (lv_entry_4_0= ruleEntryRule ) ) ) ) | ({...}? => ( ( (lv_do_5_0= ruleDoRule ) ) ) ) | ({...}? => ( ( (lv_exit_6_0= ruleExitRule ) ) ) ) )* ) )
224
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:123:1: ( ( ( ({...}? => ( ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_do_5_0= ruleDoRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) ) ) ) )* ) )
229
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:148:2: ( ( ({...}? => ( ( (lv_entry_4_0= ruleEntryRule ) ) ) ) | ({...}? => ( ( (lv_do_5_0= ruleDoRule ) ) ) ) | ({...}? => ( ( (lv_exit_6_0= ruleExitRule ) ) ) ) )* )
225
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:124:2: ( ( ({...}? => ( ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_do_5_0= ruleDoRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) ) ) ) )* )
230
            {
226
            {
231
             
227
             
232
            	  getUnorderedGroupHelper().enter(grammarAccess.getStateRuleAccess().getUnorderedGroup_2());
228
            	  getUnorderedGroupHelper().enter(grammarAccess.getStateRuleAccess().getUnorderedGroup_2());
233
            	
229
            	
234
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:151:2: ( ( ({...}? => ( ( (lv_entry_4_0= ruleEntryRule ) ) ) ) | ({...}? => ( ( (lv_do_5_0= ruleDoRule ) ) ) ) | ({...}? => ( ( (lv_exit_6_0= ruleExitRule ) ) ) ) )* )
230
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:127:2: ( ( ({...}? => ( ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_do_5_0= ruleDoRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) ) ) ) )* )
235
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:152:3: ( ({...}? => ( ( (lv_entry_4_0= ruleEntryRule ) ) ) ) | ({...}? => ( ( (lv_do_5_0= ruleDoRule ) ) ) ) | ({...}? => ( ( (lv_exit_6_0= ruleExitRule ) ) ) ) )*
231
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:128:3: ( ({...}? => ( ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_do_5_0= ruleDoRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) ) ) ) )*
236
            {
232
            {
237
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:152:3: ( ({...}? => ( ( (lv_entry_4_0= ruleEntryRule ) ) ) ) | ({...}? => ( ( (lv_do_5_0= ruleDoRule ) ) ) ) | ({...}? => ( ( (lv_exit_6_0= ruleExitRule ) ) ) ) )*
233
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:128:3: ( ({...}? => ( ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_do_5_0= ruleDoRule ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) ) ) ) )*
238
            loop2:
234
            loop2:
239
            do {
235
            do {
240
                int alt2=4;
236
                int alt2=4;
Lines 253-301 Link Here
253
249
254
                switch (alt2) {
250
                switch (alt2) {
255
            	case 1 :
251
            	case 1 :
256
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:154:4: ({...}? => ( ( (lv_entry_4_0= ruleEntryRule ) ) ) )
252
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:130:4: ({...}? => ( ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) ) ) )
257
            	    {
253
            	    {
258
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:154:4: ({...}? => ( ( (lv_entry_4_0= ruleEntryRule ) ) ) )
254
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:130:4: ({...}? => ( ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) ) ) )
259
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:155:5: {...}? => ( ( (lv_entry_4_0= ruleEntryRule ) ) )
255
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:131:5: {...}? => ( ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) ) )
260
            	    {
256
            	    {
261
            	    if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 0) ) {
257
            	    if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 0) ) {
262
            	        throw new FailedPredicateException(input, "ruleStateRule", "getUnorderedGroupHelper().canSelect(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 0)");
258
            	        throw new FailedPredicateException(input, "ruleStateRule", "getUnorderedGroupHelper().canSelect(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 0)");
263
            	    }
259
            	    }
264
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:155:106: ( ( (lv_entry_4_0= ruleEntryRule ) ) )
260
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:131:106: ( ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) ) )
265
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:156:6: ( (lv_entry_4_0= ruleEntryRule ) )
261
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:132:6: ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) )
266
            	    {
262
            	    {
267
            	     
263
            	     
268
            	    	 				  getUnorderedGroupHelper().select(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 0);
264
            	    	 				  getUnorderedGroupHelper().select(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 0);
269
            	    	 				
265
            	    	 				
270
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:159:6: ( (lv_entry_4_0= ruleEntryRule ) )
266
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:135:6: ({...}? => ( (lv_entry_4_0= ruleEntryRule ) ) )
271
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:160:1: (lv_entry_4_0= ruleEntryRule )
267
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:135:7: {...}? => ( (lv_entry_4_0= ruleEntryRule ) )
268
            	    {
269
            	    if ( !((true)) ) {
270
            	        throw new FailedPredicateException(input, "ruleStateRule", "true");
271
            	    }
272
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:135:16: ( (lv_entry_4_0= ruleEntryRule ) )
273
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:136:1: (lv_entry_4_0= ruleEntryRule )
272
            	    {
274
            	    {
273
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:160:1: (lv_entry_4_0= ruleEntryRule )
275
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:136:1: (lv_entry_4_0= ruleEntryRule )
274
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:161:3: lv_entry_4_0= ruleEntryRule
276
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:137:3: lv_entry_4_0= ruleEntryRule
275
            	    {
277
            	    {
276
            	     
278
            	     
277
            	    	        currentNode=createCompositeNode(grammarAccess.getStateRuleAccess().getEntryEntryRuleParserRuleCall_2_0_0(), currentNode); 
279
            	    	        newCompositeNode(grammarAccess.getStateRuleAccess().getEntryEntryRuleParserRuleCall_2_0_0()); 
278
            	    	    
280
            	    	    
279
            	    pushFollow(FOLLOW_ruleEntryRule_in_ruleStateRule229);
281
            	    pushFollow(FOLLOW_ruleEntryRule_in_ruleStateRule234);
280
            	    lv_entry_4_0=ruleEntryRule();
282
            	    lv_entry_4_0=ruleEntryRule();
281
            	    _fsp--;
282
283
284
            	    state._fsp--;
285
283
286
284
            	    	        if (current==null) {
287
            	    	        if (current==null) {
285
            	    	            current = factory.create(grammarAccess.getStateRuleRule().getType().getClassifier());
288
            	    	            current = createModelElementForParent(grammarAccess.getStateRuleRule());
286
            	    	            associateNodeWithAstElement(currentNode.getParent(), current);
287
            	    	        }
289
            	    	        }
288
            	    	        try {
290
            	           		set(
289
            	    	       		set(
291
            	           			current, 
290
            	    	       			current, 
292
            	           			"entry",
291
            	    	       			"entry",
293
            	            		lv_entry_4_0, 
292
            	    	        		lv_entry_4_0, 
294
            	            		"EntryRule");
293
            	    	        		"EntryRule", 
295
            	    	        afterParserOrEnumRuleCall();
294
            	    	        		currentNode);
295
            	    	        } catch (ValueConverterException vce) {
296
            	    				handleValueConverterException(vce);
297
            	    	        }
298
            	    	        currentNode = currentNode.getParent();
299
            	    	    
296
            	    	    
300
297
301
            	    }
298
            	    }
Lines 303-308 Link Here
303
300
304
            	    }
301
            	    }
305
302
303
304
            	    }
305
306
            	     
306
            	     
307
            	    	 				  getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStateRuleAccess().getUnorderedGroup_2());
307
            	    	 				  getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStateRuleAccess().getUnorderedGroup_2());
308
            	    	 				
308
            	    	 				
Lines 316-364 Link Here
316
            	    }
316
            	    }
317
            	    break;
317
            	    break;
318
            	case 2 :
318
            	case 2 :
319
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:190:4: ({...}? => ( ( (lv_do_5_0= ruleDoRule ) ) ) )
319
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:160:4: ({...}? => ( ({...}? => ( (lv_do_5_0= ruleDoRule ) ) ) ) )
320
            	    {
320
            	    {
321
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:190:4: ({...}? => ( ( (lv_do_5_0= ruleDoRule ) ) ) )
321
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:160:4: ({...}? => ( ({...}? => ( (lv_do_5_0= ruleDoRule ) ) ) ) )
322
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:191:5: {...}? => ( ( (lv_do_5_0= ruleDoRule ) ) )
322
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:161:5: {...}? => ( ({...}? => ( (lv_do_5_0= ruleDoRule ) ) ) )
323
            	    {
323
            	    {
324
            	    if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 1) ) {
324
            	    if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 1) ) {
325
            	        throw new FailedPredicateException(input, "ruleStateRule", "getUnorderedGroupHelper().canSelect(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 1)");
325
            	        throw new FailedPredicateException(input, "ruleStateRule", "getUnorderedGroupHelper().canSelect(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 1)");
326
            	    }
326
            	    }
327
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:191:106: ( ( (lv_do_5_0= ruleDoRule ) ) )
327
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:161:106: ( ({...}? => ( (lv_do_5_0= ruleDoRule ) ) ) )
328
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:192:6: ( (lv_do_5_0= ruleDoRule ) )
328
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:162:6: ({...}? => ( (lv_do_5_0= ruleDoRule ) ) )
329
            	    {
329
            	    {
330
            	     
330
            	     
331
            	    	 				  getUnorderedGroupHelper().select(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 1);
331
            	    	 				  getUnorderedGroupHelper().select(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 1);
332
            	    	 				
332
            	    	 				
333
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:195:6: ( (lv_do_5_0= ruleDoRule ) )
333
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:165:6: ({...}? => ( (lv_do_5_0= ruleDoRule ) ) )
334
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:196:1: (lv_do_5_0= ruleDoRule )
334
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:165:7: {...}? => ( (lv_do_5_0= ruleDoRule ) )
335
            	    {
336
            	    if ( !((true)) ) {
337
            	        throw new FailedPredicateException(input, "ruleStateRule", "true");
338
            	    }
339
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:165:16: ( (lv_do_5_0= ruleDoRule ) )
340
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:166:1: (lv_do_5_0= ruleDoRule )
335
            	    {
341
            	    {
336
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:196:1: (lv_do_5_0= ruleDoRule )
342
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:166:1: (lv_do_5_0= ruleDoRule )
337
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:197:3: lv_do_5_0= ruleDoRule
343
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:167:3: lv_do_5_0= ruleDoRule
338
            	    {
344
            	    {
339
            	     
345
            	     
340
            	    	        currentNode=createCompositeNode(grammarAccess.getStateRuleAccess().getDoDoRuleParserRuleCall_2_1_0(), currentNode); 
346
            	    	        newCompositeNode(grammarAccess.getStateRuleAccess().getDoDoRuleParserRuleCall_2_1_0()); 
341
            	    	    
347
            	    	    
342
            	    pushFollow(FOLLOW_ruleDoRule_in_ruleStateRule300);
348
            	    pushFollow(FOLLOW_ruleDoRule_in_ruleStateRule309);
343
            	    lv_do_5_0=ruleDoRule();
349
            	    lv_do_5_0=ruleDoRule();
344
            	    _fsp--;
350
351
            	    state._fsp--;
345
352
346
353
347
            	    	        if (current==null) {
354
            	    	        if (current==null) {
348
            	    	            current = factory.create(grammarAccess.getStateRuleRule().getType().getClassifier());
355
            	    	            current = createModelElementForParent(grammarAccess.getStateRuleRule());
349
            	    	            associateNodeWithAstElement(currentNode.getParent(), current);
350
            	    	        }
356
            	    	        }
351
            	    	        try {
357
            	           		set(
352
            	    	       		set(
358
            	           			current, 
353
            	    	       			current, 
359
            	           			"do",
354
            	    	       			"do",
360
            	            		lv_do_5_0, 
355
            	    	        		lv_do_5_0, 
361
            	            		"DoRule");
356
            	    	        		"DoRule", 
362
            	    	        afterParserOrEnumRuleCall();
357
            	    	        		currentNode);
358
            	    	        } catch (ValueConverterException vce) {
359
            	    				handleValueConverterException(vce);
360
            	    	        }
361
            	    	        currentNode = currentNode.getParent();
362
            	    	    
363
            	    	    
363
364
364
            	    }
365
            	    }
Lines 366-371 Link Here
366
367
367
            	    }
368
            	    }
368
369
370
371
            	    }
372
369
            	     
373
            	     
370
            	    	 				  getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStateRuleAccess().getUnorderedGroup_2());
374
            	    	 				  getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStateRuleAccess().getUnorderedGroup_2());
371
            	    	 				
375
            	    	 				
Lines 379-427 Link Here
379
            	    }
383
            	    }
380
            	    break;
384
            	    break;
381
            	case 3 :
385
            	case 3 :
382
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:226:4: ({...}? => ( ( (lv_exit_6_0= ruleExitRule ) ) ) )
386
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:190:4: ({...}? => ( ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) ) ) )
383
            	    {
387
            	    {
384
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:226:4: ({...}? => ( ( (lv_exit_6_0= ruleExitRule ) ) ) )
388
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:190:4: ({...}? => ( ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) ) ) )
385
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:227:5: {...}? => ( ( (lv_exit_6_0= ruleExitRule ) ) )
389
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:191:5: {...}? => ( ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) ) )
386
            	    {
390
            	    {
387
            	    if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 2) ) {
391
            	    if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 2) ) {
388
            	        throw new FailedPredicateException(input, "ruleStateRule", "getUnorderedGroupHelper().canSelect(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 2)");
392
            	        throw new FailedPredicateException(input, "ruleStateRule", "getUnorderedGroupHelper().canSelect(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 2)");
389
            	    }
393
            	    }
390
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:227:106: ( ( (lv_exit_6_0= ruleExitRule ) ) )
394
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:191:106: ( ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) ) )
391
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:228:6: ( (lv_exit_6_0= ruleExitRule ) )
395
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:192:6: ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) )
392
            	    {
396
            	    {
393
            	     
397
            	     
394
            	    	 				  getUnorderedGroupHelper().select(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 2);
398
            	    	 				  getUnorderedGroupHelper().select(grammarAccess.getStateRuleAccess().getUnorderedGroup_2(), 2);
395
            	    	 				
399
            	    	 				
396
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:231:6: ( (lv_exit_6_0= ruleExitRule ) )
400
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:195:6: ({...}? => ( (lv_exit_6_0= ruleExitRule ) ) )
397
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:232:1: (lv_exit_6_0= ruleExitRule )
401
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:195:7: {...}? => ( (lv_exit_6_0= ruleExitRule ) )
398
            	    {
402
            	    {
399
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:232:1: (lv_exit_6_0= ruleExitRule )
403
            	    if ( !((true)) ) {
400
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:233:3: lv_exit_6_0= ruleExitRule
404
            	        throw new FailedPredicateException(input, "ruleStateRule", "true");
405
            	    }
406
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:195:16: ( (lv_exit_6_0= ruleExitRule ) )
407
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:196:1: (lv_exit_6_0= ruleExitRule )
408
            	    {
409
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:196:1: (lv_exit_6_0= ruleExitRule )
410
            	    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:197:3: lv_exit_6_0= ruleExitRule
401
            	    {
411
            	    {
402
            	     
412
            	     
403
            	    	        currentNode=createCompositeNode(grammarAccess.getStateRuleAccess().getExitExitRuleParserRuleCall_2_2_0(), currentNode); 
413
            	    	        newCompositeNode(grammarAccess.getStateRuleAccess().getExitExitRuleParserRuleCall_2_2_0()); 
404
            	    	    
414
            	    	    
405
            	    pushFollow(FOLLOW_ruleExitRule_in_ruleStateRule371);
415
            	    pushFollow(FOLLOW_ruleExitRule_in_ruleStateRule384);
406
            	    lv_exit_6_0=ruleExitRule();
416
            	    lv_exit_6_0=ruleExitRule();
407
            	    _fsp--;
408
417
418
            	    state._fsp--;
419
409
420
410
            	    	        if (current==null) {
421
            	    	        if (current==null) {
411
            	    	            current = factory.create(grammarAccess.getStateRuleRule().getType().getClassifier());
422
            	    	            current = createModelElementForParent(grammarAccess.getStateRuleRule());
412
            	    	            associateNodeWithAstElement(currentNode.getParent(), current);
413
            	    	        }
423
            	    	        }
414
            	    	        try {
424
            	           		set(
415
            	    	       		set(
425
            	           			current, 
416
            	    	       			current, 
426
            	           			"exit",
417
            	    	       			"exit",
427
            	            		lv_exit_6_0, 
418
            	    	        		lv_exit_6_0, 
428
            	            		"ExitRule");
419
            	    	        		"ExitRule", 
429
            	    	        afterParserOrEnumRuleCall();
420
            	    	        		currentNode);
421
            	    	        } catch (ValueConverterException vce) {
422
            	    				handleValueConverterException(vce);
423
            	    	        }
424
            	    	        currentNode = currentNode.getParent();
425
            	    	    
430
            	    	    
426
431
427
            	    }
432
            	    }
Lines 429-434 Link Here
429
434
430
            	    }
435
            	    }
431
436
437
438
            	    }
439
432
            	     
440
            	     
433
            	    	 				  getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStateRuleAccess().getUnorderedGroup_2());
441
            	    	 				  getUnorderedGroupHelper().returnFromSelection(grammarAccess.getStateRuleAccess().getUnorderedGroup_2());
434
            	    	 				
442
            	    	 				
Lines 465-473 Link Here
465
473
466
            }
474
            }
467
475
468
             resetLookahead(); 
476
             leaveRule(); 
469
                	lastConsumedNode = currentNode;
470
                
471
        }
477
        }
472
         
478
         
473
            catch (RecognitionException re) { 
479
            catch (RecognitionException re) { 
Lines 478-488 Link Here
478
        }
484
        }
479
        return current;
485
        return current;
480
    }
486
    }
481
    // $ANTLR end ruleStateRule
487
    // $ANTLR end "ruleStateRule"
482
488
483
489
484
    // $ANTLR start entryRuleSubmachineRule
490
    // $ANTLR start "entryRuleSubmachineRule"
485
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:277:1: entryRuleSubmachineRule returns [EObject current=null] : iv_ruleSubmachineRule= ruleSubmachineRule EOF ;
491
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:235:1: entryRuleSubmachineRule returns [EObject current=null] : iv_ruleSubmachineRule= ruleSubmachineRule EOF ;
486
    public final EObject entryRuleSubmachineRule() throws RecognitionException {
492
    public final EObject entryRuleSubmachineRule() throws RecognitionException {
487
        EObject current = null;
493
        EObject current = null;
488
494
Lines 490-505 Link Here
490
496
491
497
492
        try {
498
        try {
493
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:278:2: (iv_ruleSubmachineRule= ruleSubmachineRule EOF )
499
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:236:2: (iv_ruleSubmachineRule= ruleSubmachineRule EOF )
494
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:279:2: iv_ruleSubmachineRule= ruleSubmachineRule EOF
500
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:237:2: iv_ruleSubmachineRule= ruleSubmachineRule EOF
495
            {
501
            {
496
             currentNode = createCompositeNode(grammarAccess.getSubmachineRuleRule(), currentNode); 
502
             newCompositeNode(grammarAccess.getSubmachineRuleRule()); 
497
            pushFollow(FOLLOW_ruleSubmachineRule_in_entryRuleSubmachineRule446);
503
            pushFollow(FOLLOW_ruleSubmachineRule_in_entryRuleSubmachineRule460);
498
            iv_ruleSubmachineRule=ruleSubmachineRule();
504
            iv_ruleSubmachineRule=ruleSubmachineRule();
499
            _fsp--;
505
506
            state._fsp--;
500
507
501
             current =iv_ruleSubmachineRule; 
508
             current =iv_ruleSubmachineRule; 
502
            match(input,EOF,FOLLOW_EOF_in_entryRuleSubmachineRule456); 
509
            match(input,EOF,FOLLOW_EOF_in_entryRuleSubmachineRule470); 
503
510
504
            }
511
            }
505
512
Lines 513-539 Link Here
513
        }
520
        }
514
        return current;
521
        return current;
515
    }
522
    }
516
    // $ANTLR end entryRuleSubmachineRule
523
    // $ANTLR end "entryRuleSubmachineRule"
517
524
518
525
519
    // $ANTLR start ruleSubmachineRule
526
    // $ANTLR start "ruleSubmachineRule"
520
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:286:1: ruleSubmachineRule returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) ;
527
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:244:1: ruleSubmachineRule returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) ) ;
521
    public final EObject ruleSubmachineRule() throws RecognitionException {
528
    public final EObject ruleSubmachineRule() throws RecognitionException {
522
        EObject current = null;
529
        EObject current = null;
523
530
531
        Token otherlv_1=null;
524
        EObject lv_path_0_0 = null;
532
        EObject lv_path_0_0 = null;
525
533
526
534
527
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
535
         enterRule(); 
528
            
536
            
529
        try {
537
        try {
530
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:291:6: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) )
538
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:247:28: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) ) )
531
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:292:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) )
539
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:248:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) )
532
            {
540
            {
533
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:292:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) )
541
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:248:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) )
534
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:292:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) )
542
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:248:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) )
535
            {
543
            {
536
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:292:2: ( (lv_path_0_0= ruleQualifiedName ) )?
544
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:248:2: ( (lv_path_0_0= ruleQualifiedName ) )?
537
            int alt3=2;
545
            int alt3=2;
538
            int LA3_0 = input.LA(1);
546
            int LA3_0 = input.LA(1);
539
547
Lines 546-579 Link Here
546
            }
554
            }
547
            switch (alt3) {
555
            switch (alt3) {
548
                case 1 :
556
                case 1 :
549
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:293:1: (lv_path_0_0= ruleQualifiedName )
557
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:249:1: (lv_path_0_0= ruleQualifiedName )
550
                    {
558
                    {
551
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:293:1: (lv_path_0_0= ruleQualifiedName )
559
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:249:1: (lv_path_0_0= ruleQualifiedName )
552
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:294:3: lv_path_0_0= ruleQualifiedName
560
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:250:3: lv_path_0_0= ruleQualifiedName
553
                    {
561
                    {
554
                     
562
                     
555
                    	        currentNode=createCompositeNode(grammarAccess.getSubmachineRuleAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); 
563
                    	        newCompositeNode(grammarAccess.getSubmachineRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
556
                    	    
564
                    	    
557
                    pushFollow(FOLLOW_ruleQualifiedName_in_ruleSubmachineRule502);
565
                    pushFollow(FOLLOW_ruleQualifiedName_in_ruleSubmachineRule516);
558
                    lv_path_0_0=ruleQualifiedName();
566
                    lv_path_0_0=ruleQualifiedName();
559
                    _fsp--;
567
568
                    state._fsp--;
560
569
561
570
562
                    	        if (current==null) {
571
                    	        if (current==null) {
563
                    	            current = factory.create(grammarAccess.getSubmachineRuleRule().getType().getClassifier());
572
                    	            current = createModelElementForParent(grammarAccess.getSubmachineRuleRule());
564
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
565
                    	        }
566
                    	        try {
567
                    	       		set(
568
                    	       			current, 
569
                    	       			"path",
570
                    	        		lv_path_0_0, 
571
                    	        		"QualifiedName", 
572
                    	        		currentNode);
573
                    	        } catch (ValueConverterException vce) {
574
                    				handleValueConverterException(vce);
575
                    	        }
573
                    	        }
576
                    	        currentNode = currentNode.getParent();
574
                           		set(
575
                           			current, 
576
                           			"path",
577
                            		lv_path_0_0, 
578
                            		"QualifiedName");
579
                    	        afterParserOrEnumRuleCall();
577
                    	    
580
                    	    
578
581
579
                    }
582
                    }
Lines 584-604 Link Here
584
587
585
            }
588
            }
586
589
587
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:316:3: ( ( RULE_ID ) )
590
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:266:3: ( (otherlv_1= RULE_ID ) )
588
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:317:1: ( RULE_ID )
591
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:267:1: (otherlv_1= RULE_ID )
589
            {
592
            {
590
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:317:1: ( RULE_ID )
593
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:267:1: (otherlv_1= RULE_ID )
591
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:318:3: RULE_ID
594
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:268:3: otherlv_1= RULE_ID
592
            {
595
            {
593
596
594
            			if (current==null) {
597
            			if (current==null) {
595
            	            current = factory.create(grammarAccess.getSubmachineRuleRule().getType().getClassifier());
598
            	            current = createModelElement(grammarAccess.getSubmachineRuleRule());
596
            	            associateNodeWithAstElement(currentNode, current);
597
            	        }
599
            	        }
598
                    
600
                    
599
            match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSubmachineRule521); 
601
            otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSubmachineRule537); 
600
602
601
            		createLeafNode(grammarAccess.getSubmachineRuleAccess().getSubmachineStateMachineCrossReference_1_0(), "submachine"); 
603
            		newLeafNode(otherlv_1, grammarAccess.getSubmachineRuleAccess().getSubmachineStateMachineCrossReference_1_0()); 
602
            	
604
            	
603
605
604
            }
606
            }
Lines 612-620 Link Here
612
614
613
            }
615
            }
614
616
615
             resetLookahead(); 
617
             leaveRule(); 
616
                	lastConsumedNode = currentNode;
617
                
618
        }
618
        }
619
         
619
         
620
            catch (RecognitionException re) { 
620
            catch (RecognitionException re) { 
Lines 625-635 Link Here
625
        }
625
        }
626
        return current;
626
        return current;
627
    }
627
    }
628
    // $ANTLR end ruleSubmachineRule
628
    // $ANTLR end "ruleSubmachineRule"
629
629
630
630
631
    // $ANTLR start entryRuleQualifiedName
631
    // $ANTLR start "entryRuleQualifiedName"
632
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:338:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
632
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:287:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
633
    public final EObject entryRuleQualifiedName() throws RecognitionException {
633
    public final EObject entryRuleQualifiedName() throws RecognitionException {
634
        EObject current = null;
634
        EObject current = null;
635
635
Lines 637-652 Link Here
637
637
638
638
639
        try {
639
        try {
640
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:339:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
640
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:288:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
641
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:340:2: iv_ruleQualifiedName= ruleQualifiedName EOF
641
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:289:2: iv_ruleQualifiedName= ruleQualifiedName EOF
642
            {
642
            {
643
             currentNode = createCompositeNode(grammarAccess.getQualifiedNameRule(), currentNode); 
643
             newCompositeNode(grammarAccess.getQualifiedNameRule()); 
644
            pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName557);
644
            pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName573);
645
            iv_ruleQualifiedName=ruleQualifiedName();
645
            iv_ruleQualifiedName=ruleQualifiedName();
646
            _fsp--;
646
647
            state._fsp--;
647
648
648
             current =iv_ruleQualifiedName; 
649
             current =iv_ruleQualifiedName; 
649
            match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName567); 
650
            match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName583); 
650
651
651
            }
652
            }
652
653
Lines 660-700 Link Here
660
        }
661
        }
661
        return current;
662
        return current;
662
    }
663
    }
663
    // $ANTLR end entryRuleQualifiedName
664
    // $ANTLR end "entryRuleQualifiedName"
664
665
665
666
666
    // $ANTLR start ruleQualifiedName
667
    // $ANTLR start "ruleQualifiedName"
667
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:347:1: ruleQualifiedName returns [EObject current=null] : ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) ;
668
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:296:1: ruleQualifiedName returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) ;
668
    public final EObject ruleQualifiedName() throws RecognitionException {
669
    public final EObject ruleQualifiedName() throws RecognitionException {
669
        EObject current = null;
670
        EObject current = null;
670
671
672
        Token otherlv_0=null;
673
        Token otherlv_1=null;
671
        EObject lv_remaining_2_0 = null;
674
        EObject lv_remaining_2_0 = null;
672
675
673
676
674
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
677
         enterRule(); 
675
            
678
            
676
        try {
679
        try {
677
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:352:6: ( ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) )
680
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:299:28: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) )
678
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:353:1: ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
681
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:300:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
679
            {
682
            {
680
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:353:1: ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
683
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:300:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
681
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:353:2: ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )?
684
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:300:2: ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )?
682
            {
685
            {
683
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:353:2: ( ( RULE_ID ) )
686
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:300:2: ( (otherlv_0= RULE_ID ) )
684
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:354:1: ( RULE_ID )
687
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:301:1: (otherlv_0= RULE_ID )
685
            {
688
            {
686
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:354:1: ( RULE_ID )
689
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:301:1: (otherlv_0= RULE_ID )
687
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:355:3: RULE_ID
690
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:302:3: otherlv_0= RULE_ID
688
            {
691
            {
689
692
690
            			if (current==null) {
693
            			if (current==null) {
691
            	            current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
694
            	            current = createModelElement(grammarAccess.getQualifiedNameRule());
692
            	            associateNodeWithAstElement(currentNode, current);
693
            	        }
695
            	        }
694
                    
696
                    
695
            match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName610); 
697
            otherlv_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName628); 
696
698
697
            		createLeafNode(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(), "path"); 
699
            		newLeafNode(otherlv_0, grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); 
698
            	
700
            	
699
701
700
            }
702
            }
Lines 702-712 Link Here
702
704
703
            }
705
            }
704
706
705
            match(input,12,FOLLOW_12_in_ruleQualifiedName620); 
707
            otherlv_1=(Token)match(input,12,FOLLOW_12_in_ruleQualifiedName640); 
706
708
707
                    createLeafNode(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1(), null); 
709
                	newLeafNode(otherlv_1, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
708
                
710
                
709
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:371:1: ( (lv_remaining_2_0= ruleQualifiedName ) )?
711
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:317:1: ( (lv_remaining_2_0= ruleQualifiedName ) )?
710
            int alt4=2;
712
            int alt4=2;
711
            int LA4_0 = input.LA(1);
713
            int LA4_0 = input.LA(1);
712
714
Lines 719-752 Link Here
719
            }
721
            }
720
            switch (alt4) {
722
            switch (alt4) {
721
                case 1 :
723
                case 1 :
722
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:372:1: (lv_remaining_2_0= ruleQualifiedName )
724
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:318:1: (lv_remaining_2_0= ruleQualifiedName )
723
                    {
725
                    {
724
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:372:1: (lv_remaining_2_0= ruleQualifiedName )
726
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:318:1: (lv_remaining_2_0= ruleQualifiedName )
725
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:373:3: lv_remaining_2_0= ruleQualifiedName
727
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:319:3: lv_remaining_2_0= ruleQualifiedName
726
                    {
728
                    {
727
                     
729
                     
728
                    	        currentNode=createCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(), currentNode); 
730
                    	        newCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
729
                    	    
731
                    	    
730
                    pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedName641);
732
                    pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedName661);
731
                    lv_remaining_2_0=ruleQualifiedName();
733
                    lv_remaining_2_0=ruleQualifiedName();
732
                    _fsp--;
734
735
                    state._fsp--;
733
736
734
737
735
                    	        if (current==null) {
738
                    	        if (current==null) {
736
                    	            current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
739
                    	            current = createModelElementForParent(grammarAccess.getQualifiedNameRule());
737
                    	            associateNodeWithAstElement(currentNode.getParent(), current);
738
                    	        }
739
                    	        try {
740
                    	       		set(
741
                    	       			current, 
742
                    	       			"remaining",
743
                    	        		lv_remaining_2_0, 
744
                    	        		"QualifiedName", 
745
                    	        		currentNode);
746
                    	        } catch (ValueConverterException vce) {
747
                    				handleValueConverterException(vce);
748
                    	        }
740
                    	        }
749
                    	        currentNode = currentNode.getParent();
741
                           		set(
742
                           			current, 
743
                           			"remaining",
744
                            		lv_remaining_2_0, 
745
                            		"QualifiedName");
746
                    	        afterParserOrEnumRuleCall();
750
                    	    
747
                    	    
751
748
752
                    }
749
                    }
Lines 763-771 Link Here
763
760
764
            }
761
            }
765
762
766
             resetLookahead(); 
763
             leaveRule(); 
767
                	lastConsumedNode = currentNode;
768
                
769
        }
764
        }
770
         
765
         
771
            catch (RecognitionException re) { 
766
            catch (RecognitionException re) { 
Lines 776-786 Link Here
776
        }
771
        }
777
        return current;
772
        return current;
778
    }
773
    }
779
    // $ANTLR end ruleQualifiedName
774
    // $ANTLR end "ruleQualifiedName"
780
775
781
776
782
    // $ANTLR start entryRuleEntryRule
777
    // $ANTLR start "entryRuleEntryRule"
783
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:403:1: entryRuleEntryRule returns [EObject current=null] : iv_ruleEntryRule= ruleEntryRule EOF ;
778
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:343:1: entryRuleEntryRule returns [EObject current=null] : iv_ruleEntryRule= ruleEntryRule EOF ;
784
    public final EObject entryRuleEntryRule() throws RecognitionException {
779
    public final EObject entryRuleEntryRule() throws RecognitionException {
785
        EObject current = null;
780
        EObject current = null;
786
781
Lines 788-803 Link Here
788
783
789
784
790
        try {
785
        try {
791
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:404:2: (iv_ruleEntryRule= ruleEntryRule EOF )
786
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:344:2: (iv_ruleEntryRule= ruleEntryRule EOF )
792
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:405:2: iv_ruleEntryRule= ruleEntryRule EOF
787
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:345:2: iv_ruleEntryRule= ruleEntryRule EOF
793
            {
788
            {
794
             currentNode = createCompositeNode(grammarAccess.getEntryRuleRule(), currentNode); 
789
             newCompositeNode(grammarAccess.getEntryRuleRule()); 
795
            pushFollow(FOLLOW_ruleEntryRule_in_entryRuleEntryRule678);
790
            pushFollow(FOLLOW_ruleEntryRule_in_entryRuleEntryRule698);
796
            iv_ruleEntryRule=ruleEntryRule();
791
            iv_ruleEntryRule=ruleEntryRule();
797
            _fsp--;
792
793
            state._fsp--;
798
794
799
             current =iv_ruleEntryRule; 
795
             current =iv_ruleEntryRule; 
800
            match(input,EOF,FOLLOW_EOF_in_entryRuleEntryRule688); 
796
            match(input,EOF,FOLLOW_EOF_in_entryRuleEntryRule708); 
801
797
802
            }
798
            }
803
799
Lines 811-870 Link Here
811
        }
807
        }
812
        return current;
808
        return current;
813
    }
809
    }
814
    // $ANTLR end entryRuleEntryRule
810
    // $ANTLR end "entryRuleEntryRule"
815
811
816
812
817
    // $ANTLR start ruleEntryRule
813
    // $ANTLR start "ruleEntryRule"
818
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:412:1: ruleEntryRule returns [EObject current=null] : ( 'entry' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) ;
814
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:352:1: ruleEntryRule returns [EObject current=null] : (otherlv_0= 'entry' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) ;
819
    public final EObject ruleEntryRule() throws RecognitionException {
815
    public final EObject ruleEntryRule() throws RecognitionException {
820
        EObject current = null;
816
        EObject current = null;
821
817
818
        Token otherlv_0=null;
822
        Token lv_behaviorName_2_0=null;
819
        Token lv_behaviorName_2_0=null;
823
        Enumerator lv_kind_1_0 = null;
820
        Enumerator lv_kind_1_0 = null;
824
821
825
822
826
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
823
         enterRule(); 
827
            
824
            
828
        try {
825
        try {
829
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:417:6: ( ( 'entry' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) )
826
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:355:28: ( (otherlv_0= 'entry' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) )
830
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:418:1: ( 'entry' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
827
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:356:1: (otherlv_0= 'entry' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
831
            {
828
            {
832
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:418:1: ( 'entry' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
829
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:356:1: (otherlv_0= 'entry' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
833
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:418:3: 'entry' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) )
830
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:356:3: otherlv_0= 'entry' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) )
834
            {
831
            {
835
            match(input,13,FOLLOW_13_in_ruleEntryRule723); 
832
            otherlv_0=(Token)match(input,13,FOLLOW_13_in_ruleEntryRule745); 
836
833
837
                    createLeafNode(grammarAccess.getEntryRuleAccess().getEntryKeyword_0(), null); 
834
                	newLeafNode(otherlv_0, grammarAccess.getEntryRuleAccess().getEntryKeyword_0());
838
                
835
                
839
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:422:1: ( (lv_kind_1_0= ruleBehaviorKind ) )
836
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:360:1: ( (lv_kind_1_0= ruleBehaviorKind ) )
840
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:423:1: (lv_kind_1_0= ruleBehaviorKind )
837
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:361:1: (lv_kind_1_0= ruleBehaviorKind )
841
            {
838
            {
842
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:423:1: (lv_kind_1_0= ruleBehaviorKind )
839
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:361:1: (lv_kind_1_0= ruleBehaviorKind )
843
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:424:3: lv_kind_1_0= ruleBehaviorKind
840
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:362:3: lv_kind_1_0= ruleBehaviorKind
844
            {
841
            {
845
             
842
             
846
            	        currentNode=createCompositeNode(grammarAccess.getEntryRuleAccess().getKindBehaviorKindEnumRuleCall_1_0(), currentNode); 
843
            	        newCompositeNode(grammarAccess.getEntryRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
847
            	    
844
            	    
848
            pushFollow(FOLLOW_ruleBehaviorKind_in_ruleEntryRule744);
845
            pushFollow(FOLLOW_ruleBehaviorKind_in_ruleEntryRule766);
849
            lv_kind_1_0=ruleBehaviorKind();
846
            lv_kind_1_0=ruleBehaviorKind();
850
            _fsp--;
851
847
848
            state._fsp--;
849
852
850
853
            	        if (current==null) {
851
            	        if (current==null) {
854
            	            current = factory.create(grammarAccess.getEntryRuleRule().getType().getClassifier());
852
            	            current = createModelElementForParent(grammarAccess.getEntryRuleRule());
855
            	            associateNodeWithAstElement(currentNode.getParent(), current);
856
            	        }
857
            	        try {
858
            	       		set(
859
            	       			current, 
860
            	       			"kind",
861
            	        		lv_kind_1_0, 
862
            	        		"BehaviorKind", 
863
            	        		currentNode);
864
            	        } catch (ValueConverterException vce) {
865
            				handleValueConverterException(vce);
866
            	        }
853
            	        }
867
            	        currentNode = currentNode.getParent();
854
                   		set(
855
                   			current, 
856
                   			"kind",
857
                    		lv_kind_1_0, 
858
                    		"BehaviorKind");
859
            	        afterParserOrEnumRuleCall();
868
            	    
860
            	    
869
861
870
            }
862
            }
Lines 872-903 Link Here
872
864
873
            }
865
            }
874
866
875
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:446:2: ( (lv_behaviorName_2_0= RULE_ID ) )
867
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:378:2: ( (lv_behaviorName_2_0= RULE_ID ) )
876
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:447:1: (lv_behaviorName_2_0= RULE_ID )
868
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:379:1: (lv_behaviorName_2_0= RULE_ID )
877
            {
869
            {
878
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:447:1: (lv_behaviorName_2_0= RULE_ID )
870
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:379:1: (lv_behaviorName_2_0= RULE_ID )
879
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:448:3: lv_behaviorName_2_0= RULE_ID
871
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:380:3: lv_behaviorName_2_0= RULE_ID
880
            {
872
            {
881
            lv_behaviorName_2_0=(Token)input.LT(1);
873
            lv_behaviorName_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEntryRule783); 
882
            match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEntryRule761); 
883
874
884
            			createLeafNode(grammarAccess.getEntryRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0(), "behaviorName"); 
875
            			newLeafNode(lv_behaviorName_2_0, grammarAccess.getEntryRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0()); 
885
            		
876
            		
886
877
887
            	        if (current==null) {
878
            	        if (current==null) {
888
            	            current = factory.create(grammarAccess.getEntryRuleRule().getType().getClassifier());
879
            	            current = createModelElement(grammarAccess.getEntryRuleRule());
889
            	            associateNodeWithAstElement(currentNode, current);
890
            	        }
891
            	        try {
892
            	       		set(
893
            	       			current, 
894
            	       			"behaviorName",
895
            	        		lv_behaviorName_2_0, 
896
            	        		"ID", 
897
            	        		lastConsumedNode);
898
            	        } catch (ValueConverterException vce) {
899
            				handleValueConverterException(vce);
900
            	        }
880
            	        }
881
                   		setWithLastConsumed(
882
                   			current, 
883
                   			"behaviorName",
884
                    		lv_behaviorName_2_0, 
885
                    		"ID");
901
            	    
886
            	    
902
887
903
            }
888
            }
Lines 911-919 Link Here
911
896
912
            }
897
            }
913
898
914
             resetLookahead(); 
899
             leaveRule(); 
915
                	lastConsumedNode = currentNode;
916
                
917
        }
900
        }
918
         
901
         
919
            catch (RecognitionException re) { 
902
            catch (RecognitionException re) { 
Lines 924-934 Link Here
924
        }
907
        }
925
        return current;
908
        return current;
926
    }
909
    }
927
    // $ANTLR end ruleEntryRule
910
    // $ANTLR end "ruleEntryRule"
928
911
929
912
930
    // $ANTLR start entryRuleDoRule
913
    // $ANTLR start "entryRuleDoRule"
931
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:478:1: entryRuleDoRule returns [EObject current=null] : iv_ruleDoRule= ruleDoRule EOF ;
914
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:404:1: entryRuleDoRule returns [EObject current=null] : iv_ruleDoRule= ruleDoRule EOF ;
932
    public final EObject entryRuleDoRule() throws RecognitionException {
915
    public final EObject entryRuleDoRule() throws RecognitionException {
933
        EObject current = null;
916
        EObject current = null;
934
917
Lines 936-951 Link Here
936
919
937
920
938
        try {
921
        try {
939
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:479:2: (iv_ruleDoRule= ruleDoRule EOF )
922
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:405:2: (iv_ruleDoRule= ruleDoRule EOF )
940
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:480:2: iv_ruleDoRule= ruleDoRule EOF
923
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:406:2: iv_ruleDoRule= ruleDoRule EOF
941
            {
924
            {
942
             currentNode = createCompositeNode(grammarAccess.getDoRuleRule(), currentNode); 
925
             newCompositeNode(grammarAccess.getDoRuleRule()); 
943
            pushFollow(FOLLOW_ruleDoRule_in_entryRuleDoRule802);
926
            pushFollow(FOLLOW_ruleDoRule_in_entryRuleDoRule824);
944
            iv_ruleDoRule=ruleDoRule();
927
            iv_ruleDoRule=ruleDoRule();
945
            _fsp--;
928
929
            state._fsp--;
946
930
947
             current =iv_ruleDoRule; 
931
             current =iv_ruleDoRule; 
948
            match(input,EOF,FOLLOW_EOF_in_entryRuleDoRule812); 
932
            match(input,EOF,FOLLOW_EOF_in_entryRuleDoRule834); 
949
933
950
            }
934
            }
951
935
Lines 959-1018 Link Here
959
        }
943
        }
960
        return current;
944
        return current;
961
    }
945
    }
962
    // $ANTLR end entryRuleDoRule
946
    // $ANTLR end "entryRuleDoRule"
963
947
964
948
965
    // $ANTLR start ruleDoRule
949
    // $ANTLR start "ruleDoRule"
966
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:487:1: ruleDoRule returns [EObject current=null] : ( 'do' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) ;
950
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:413:1: ruleDoRule returns [EObject current=null] : (otherlv_0= 'do' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) ;
967
    public final EObject ruleDoRule() throws RecognitionException {
951
    public final EObject ruleDoRule() throws RecognitionException {
968
        EObject current = null;
952
        EObject current = null;
969
953
954
        Token otherlv_0=null;
970
        Token lv_behaviorName_2_0=null;
955
        Token lv_behaviorName_2_0=null;
971
        Enumerator lv_kind_1_0 = null;
956
        Enumerator lv_kind_1_0 = null;
972
957
973
958
974
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
959
         enterRule(); 
975
            
960
            
976
        try {
961
        try {
977
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:492:6: ( ( 'do' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) )
962
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:416:28: ( (otherlv_0= 'do' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) )
978
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:493:1: ( 'do' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
963
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:417:1: (otherlv_0= 'do' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
979
            {
964
            {
980
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:493:1: ( 'do' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
965
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:417:1: (otherlv_0= 'do' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
981
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:493:3: 'do' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) )
966
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:417:3: otherlv_0= 'do' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) )
982
            {
967
            {
983
            match(input,14,FOLLOW_14_in_ruleDoRule847); 
968
            otherlv_0=(Token)match(input,14,FOLLOW_14_in_ruleDoRule871); 
984
969
985
                    createLeafNode(grammarAccess.getDoRuleAccess().getDoKeyword_0(), null); 
970
                	newLeafNode(otherlv_0, grammarAccess.getDoRuleAccess().getDoKeyword_0());
986
                
971
                
987
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:497:1: ( (lv_kind_1_0= ruleBehaviorKind ) )
972
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:421:1: ( (lv_kind_1_0= ruleBehaviorKind ) )
988
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:498:1: (lv_kind_1_0= ruleBehaviorKind )
973
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:422:1: (lv_kind_1_0= ruleBehaviorKind )
989
            {
974
            {
990
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:498:1: (lv_kind_1_0= ruleBehaviorKind )
975
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:422:1: (lv_kind_1_0= ruleBehaviorKind )
991
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:499:3: lv_kind_1_0= ruleBehaviorKind
976
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:423:3: lv_kind_1_0= ruleBehaviorKind
992
            {
977
            {
993
             
978
             
994
            	        currentNode=createCompositeNode(grammarAccess.getDoRuleAccess().getKindBehaviorKindEnumRuleCall_1_0(), currentNode); 
979
            	        newCompositeNode(grammarAccess.getDoRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
995
            	    
980
            	    
996
            pushFollow(FOLLOW_ruleBehaviorKind_in_ruleDoRule868);
981
            pushFollow(FOLLOW_ruleBehaviorKind_in_ruleDoRule892);
997
            lv_kind_1_0=ruleBehaviorKind();
982
            lv_kind_1_0=ruleBehaviorKind();
998
            _fsp--;
983
984
            state._fsp--;
999
985
1000
986
1001
            	        if (current==null) {
987
            	        if (current==null) {
1002
            	            current = factory.create(grammarAccess.getDoRuleRule().getType().getClassifier());
988
            	            current = createModelElementForParent(grammarAccess.getDoRuleRule());
1003
            	            associateNodeWithAstElement(currentNode.getParent(), current);
1004
            	        }
1005
            	        try {
1006
            	       		set(
1007
            	       			current, 
1008
            	       			"kind",
1009
            	        		lv_kind_1_0, 
1010
            	        		"BehaviorKind", 
1011
            	        		currentNode);
1012
            	        } catch (ValueConverterException vce) {
1013
            				handleValueConverterException(vce);
1014
            	        }
989
            	        }
1015
            	        currentNode = currentNode.getParent();
990
                   		set(
991
                   			current, 
992
                   			"kind",
993
                    		lv_kind_1_0, 
994
                    		"BehaviorKind");
995
            	        afterParserOrEnumRuleCall();
1016
            	    
996
            	    
1017
997
1018
            }
998
            }
Lines 1020-1051 Link Here
1020
1000
1021
            }
1001
            }
1022
1002
1023
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:521:2: ( (lv_behaviorName_2_0= RULE_ID ) )
1003
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:439:2: ( (lv_behaviorName_2_0= RULE_ID ) )
1024
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:522:1: (lv_behaviorName_2_0= RULE_ID )
1004
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:440:1: (lv_behaviorName_2_0= RULE_ID )
1025
            {
1005
            {
1026
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:522:1: (lv_behaviorName_2_0= RULE_ID )
1006
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:440:1: (lv_behaviorName_2_0= RULE_ID )
1027
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:523:3: lv_behaviorName_2_0= RULE_ID
1007
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:441:3: lv_behaviorName_2_0= RULE_ID
1028
            {
1008
            {
1029
            lv_behaviorName_2_0=(Token)input.LT(1);
1009
            lv_behaviorName_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDoRule909); 
1030
            match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDoRule885); 
1031
1010
1032
            			createLeafNode(grammarAccess.getDoRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0(), "behaviorName"); 
1011
            			newLeafNode(lv_behaviorName_2_0, grammarAccess.getDoRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0()); 
1033
            		
1012
            		
1034
1013
1035
            	        if (current==null) {
1014
            	        if (current==null) {
1036
            	            current = factory.create(grammarAccess.getDoRuleRule().getType().getClassifier());
1015
            	            current = createModelElement(grammarAccess.getDoRuleRule());
1037
            	            associateNodeWithAstElement(currentNode, current);
1038
            	        }
1039
            	        try {
1040
            	       		set(
1041
            	       			current, 
1042
            	       			"behaviorName",
1043
            	        		lv_behaviorName_2_0, 
1044
            	        		"ID", 
1045
            	        		lastConsumedNode);
1046
            	        } catch (ValueConverterException vce) {
1047
            				handleValueConverterException(vce);
1048
            	        }
1016
            	        }
1017
                   		setWithLastConsumed(
1018
                   			current, 
1019
                   			"behaviorName",
1020
                    		lv_behaviorName_2_0, 
1021
                    		"ID");
1049
            	    
1022
            	    
1050
1023
1051
            }
1024
            }
Lines 1059-1067 Link Here
1059
1032
1060
            }
1033
            }
1061
1034
1062
             resetLookahead(); 
1035
             leaveRule(); 
1063
                	lastConsumedNode = currentNode;
1064
                
1065
        }
1036
        }
1066
         
1037
         
1067
            catch (RecognitionException re) { 
1038
            catch (RecognitionException re) { 
Lines 1072-1082 Link Here
1072
        }
1043
        }
1073
        return current;
1044
        return current;
1074
    }
1045
    }
1075
    // $ANTLR end ruleDoRule
1046
    // $ANTLR end "ruleDoRule"
1076
1047
1077
1048
1078
    // $ANTLR start entryRuleExitRule
1049
    // $ANTLR start "entryRuleExitRule"
1079
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:553:1: entryRuleExitRule returns [EObject current=null] : iv_ruleExitRule= ruleExitRule EOF ;
1050
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:465:1: entryRuleExitRule returns [EObject current=null] : iv_ruleExitRule= ruleExitRule EOF ;
1080
    public final EObject entryRuleExitRule() throws RecognitionException {
1051
    public final EObject entryRuleExitRule() throws RecognitionException {
1081
        EObject current = null;
1052
        EObject current = null;
1082
1053
Lines 1084-1099 Link Here
1084
1055
1085
1056
1086
        try {
1057
        try {
1087
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:554:2: (iv_ruleExitRule= ruleExitRule EOF )
1058
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:466:2: (iv_ruleExitRule= ruleExitRule EOF )
1088
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:555:2: iv_ruleExitRule= ruleExitRule EOF
1059
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:467:2: iv_ruleExitRule= ruleExitRule EOF
1089
            {
1060
            {
1090
             currentNode = createCompositeNode(grammarAccess.getExitRuleRule(), currentNode); 
1061
             newCompositeNode(grammarAccess.getExitRuleRule()); 
1091
            pushFollow(FOLLOW_ruleExitRule_in_entryRuleExitRule926);
1062
            pushFollow(FOLLOW_ruleExitRule_in_entryRuleExitRule950);
1092
            iv_ruleExitRule=ruleExitRule();
1063
            iv_ruleExitRule=ruleExitRule();
1093
            _fsp--;
1064
1065
            state._fsp--;
1094
1066
1095
             current =iv_ruleExitRule; 
1067
             current =iv_ruleExitRule; 
1096
            match(input,EOF,FOLLOW_EOF_in_entryRuleExitRule936); 
1068
            match(input,EOF,FOLLOW_EOF_in_entryRuleExitRule960); 
1097
1069
1098
            }
1070
            }
1099
1071
Lines 1107-1166 Link Here
1107
        }
1079
        }
1108
        return current;
1080
        return current;
1109
    }
1081
    }
1110
    // $ANTLR end entryRuleExitRule
1082
    // $ANTLR end "entryRuleExitRule"
1111
1083
1112
1084
1113
    // $ANTLR start ruleExitRule
1085
    // $ANTLR start "ruleExitRule"
1114
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:562:1: ruleExitRule returns [EObject current=null] : ( 'exit' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) ;
1086
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:474:1: ruleExitRule returns [EObject current=null] : (otherlv_0= 'exit' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) ;
1115
    public final EObject ruleExitRule() throws RecognitionException {
1087
    public final EObject ruleExitRule() throws RecognitionException {
1116
        EObject current = null;
1088
        EObject current = null;
1117
1089
1090
        Token otherlv_0=null;
1118
        Token lv_behaviorName_2_0=null;
1091
        Token lv_behaviorName_2_0=null;
1119
        Enumerator lv_kind_1_0 = null;
1092
        Enumerator lv_kind_1_0 = null;
1120
1093
1121
1094
1122
         EObject temp=null; setCurrentLookahead(); resetLookahead(); 
1095
         enterRule(); 
1123
            
1096
            
1124
        try {
1097
        try {
1125
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:567:6: ( ( 'exit' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) )
1098
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:477:28: ( (otherlv_0= 'exit' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) )
1126
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:568:1: ( 'exit' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
1099
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:478:1: (otherlv_0= 'exit' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
1127
            {
1100
            {
1128
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:568:1: ( 'exit' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
1101
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:478:1: (otherlv_0= 'exit' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
1129
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:568:3: 'exit' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) )
1102
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:478:3: otherlv_0= 'exit' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) )
1130
            {
1103
            {
1131
            match(input,15,FOLLOW_15_in_ruleExitRule971); 
1104
            otherlv_0=(Token)match(input,15,FOLLOW_15_in_ruleExitRule997); 
1132
1105
1133
                    createLeafNode(grammarAccess.getExitRuleAccess().getExitKeyword_0(), null); 
1106
                	newLeafNode(otherlv_0, grammarAccess.getExitRuleAccess().getExitKeyword_0());
1134
                
1107
                
1135
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:572:1: ( (lv_kind_1_0= ruleBehaviorKind ) )
1108
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:482:1: ( (lv_kind_1_0= ruleBehaviorKind ) )
1136
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:573:1: (lv_kind_1_0= ruleBehaviorKind )
1109
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:483:1: (lv_kind_1_0= ruleBehaviorKind )
1137
            {
1110
            {
1138
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:573:1: (lv_kind_1_0= ruleBehaviorKind )
1111
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:483:1: (lv_kind_1_0= ruleBehaviorKind )
1139
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:574:3: lv_kind_1_0= ruleBehaviorKind
1112
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:484:3: lv_kind_1_0= ruleBehaviorKind
1140
            {
1113
            {
1141
             
1114
             
1142
            	        currentNode=createCompositeNode(grammarAccess.getExitRuleAccess().getKindBehaviorKindEnumRuleCall_1_0(), currentNode); 
1115
            	        newCompositeNode(grammarAccess.getExitRuleAccess().getKindBehaviorKindEnumRuleCall_1_0()); 
1143
            	    
1116
            	    
1144
            pushFollow(FOLLOW_ruleBehaviorKind_in_ruleExitRule992);
1117
            pushFollow(FOLLOW_ruleBehaviorKind_in_ruleExitRule1018);
1145
            lv_kind_1_0=ruleBehaviorKind();
1118
            lv_kind_1_0=ruleBehaviorKind();
1146
            _fsp--;
1147
1119
1120
            state._fsp--;
1121
1148
1122
1149
            	        if (current==null) {
1123
            	        if (current==null) {
1150
            	            current = factory.create(grammarAccess.getExitRuleRule().getType().getClassifier());
1124
            	            current = createModelElementForParent(grammarAccess.getExitRuleRule());
1151
            	            associateNodeWithAstElement(currentNode.getParent(), current);
1152
            	        }
1153
            	        try {
1154
            	       		set(
1155
            	       			current, 
1156
            	       			"kind",
1157
            	        		lv_kind_1_0, 
1158
            	        		"BehaviorKind", 
1159
            	        		currentNode);
1160
            	        } catch (ValueConverterException vce) {
1161
            				handleValueConverterException(vce);
1162
            	        }
1125
            	        }
1163
            	        currentNode = currentNode.getParent();
1126
                   		set(
1127
                   			current, 
1128
                   			"kind",
1129
                    		lv_kind_1_0, 
1130
                    		"BehaviorKind");
1131
            	        afterParserOrEnumRuleCall();
1164
            	    
1132
            	    
1165
1133
1166
            }
1134
            }
Lines 1168-1199 Link Here
1168
1136
1169
            }
1137
            }
1170
1138
1171
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:596:2: ( (lv_behaviorName_2_0= RULE_ID ) )
1139
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:500:2: ( (lv_behaviorName_2_0= RULE_ID ) )
1172
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:597:1: (lv_behaviorName_2_0= RULE_ID )
1140
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:501:1: (lv_behaviorName_2_0= RULE_ID )
1173
            {
1141
            {
1174
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:597:1: (lv_behaviorName_2_0= RULE_ID )
1142
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:501:1: (lv_behaviorName_2_0= RULE_ID )
1175
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:598:3: lv_behaviorName_2_0= RULE_ID
1143
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:502:3: lv_behaviorName_2_0= RULE_ID
1176
            {
1144
            {
1177
            lv_behaviorName_2_0=(Token)input.LT(1);
1145
            lv_behaviorName_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleExitRule1035); 
1178
            match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleExitRule1009); 
1179
1146
1180
            			createLeafNode(grammarAccess.getExitRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0(), "behaviorName"); 
1147
            			newLeafNode(lv_behaviorName_2_0, grammarAccess.getExitRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0()); 
1181
            		
1148
            		
1182
1149
1183
            	        if (current==null) {
1150
            	        if (current==null) {
1184
            	            current = factory.create(grammarAccess.getExitRuleRule().getType().getClassifier());
1151
            	            current = createModelElement(grammarAccess.getExitRuleRule());
1185
            	            associateNodeWithAstElement(currentNode, current);
1186
            	        }
1187
            	        try {
1188
            	       		set(
1189
            	       			current, 
1190
            	       			"behaviorName",
1191
            	        		lv_behaviorName_2_0, 
1192
            	        		"ID", 
1193
            	        		lastConsumedNode);
1194
            	        } catch (ValueConverterException vce) {
1195
            				handleValueConverterException(vce);
1196
            	        }
1152
            	        }
1153
                   		setWithLastConsumed(
1154
                   			current, 
1155
                   			"behaviorName",
1156
                    		lv_behaviorName_2_0, 
1157
                    		"ID");
1197
            	    
1158
            	    
1198
1159
1199
            }
1160
            }
Lines 1207-1215 Link Here
1207
1168
1208
            }
1169
            }
1209
1170
1210
             resetLookahead(); 
1171
             leaveRule(); 
1211
                	lastConsumedNode = currentNode;
1212
                
1213
        }
1172
        }
1214
         
1173
         
1215
            catch (RecognitionException re) { 
1174
            catch (RecognitionException re) { 
Lines 1220-1239 Link Here
1220
        }
1179
        }
1221
        return current;
1180
        return current;
1222
    }
1181
    }
1223
    // $ANTLR end ruleExitRule
1182
    // $ANTLR end "ruleExitRule"
1224
1183
1225
1184
1226
    // $ANTLR start ruleBehaviorKind
1185
    // $ANTLR start "ruleBehaviorKind"
1227
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:628:1: ruleBehaviorKind returns [Enumerator current=null] : ( ( 'Activity' ) | ( 'StateMachine' ) | ( 'OpaqueBehavior' ) ) ;
1186
    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:526:1: ruleBehaviorKind returns [Enumerator current=null] : ( (enumLiteral_0= 'Activity' ) | (enumLiteral_1= 'StateMachine' ) | (enumLiteral_2= 'OpaqueBehavior' ) ) ;
1228
    public final Enumerator ruleBehaviorKind() throws RecognitionException {
1187
    public final Enumerator ruleBehaviorKind() throws RecognitionException {
1229
        Enumerator current = null;
1188
        Enumerator current = null;
1230
1189
1231
         setCurrentLookahead(); resetLookahead(); 
1190
        Token enumLiteral_0=null;
1191
        Token enumLiteral_1=null;
1192
        Token enumLiteral_2=null;
1193
1194
         enterRule(); 
1232
        try {
1195
        try {
1233
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:632:6: ( ( ( 'Activity' ) | ( 'StateMachine' ) | ( 'OpaqueBehavior' ) ) )
1196
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:528:28: ( ( (enumLiteral_0= 'Activity' ) | (enumLiteral_1= 'StateMachine' ) | (enumLiteral_2= 'OpaqueBehavior' ) ) )
1234
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:633:1: ( ( 'Activity' ) | ( 'StateMachine' ) | ( 'OpaqueBehavior' ) )
1197
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:529:1: ( (enumLiteral_0= 'Activity' ) | (enumLiteral_1= 'StateMachine' ) | (enumLiteral_2= 'OpaqueBehavior' ) )
1235
            {
1198
            {
1236
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:633:1: ( ( 'Activity' ) | ( 'StateMachine' ) | ( 'OpaqueBehavior' ) )
1199
            // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:529:1: ( (enumLiteral_0= 'Activity' ) | (enumLiteral_1= 'StateMachine' ) | (enumLiteral_2= 'OpaqueBehavior' ) )
1237
            int alt5=3;
1200
            int alt5=3;
1238
            switch ( input.LA(1) ) {
1201
            switch ( input.LA(1) ) {
1239
            case 16:
1202
            case 16:
Lines 1253-1274 Link Here
1253
                break;
1216
                break;
1254
            default:
1217
            default:
1255
                NoViableAltException nvae =
1218
                NoViableAltException nvae =
1256
                    new NoViableAltException("633:1: ( ( 'Activity' ) | ( 'StateMachine' ) | ( 'OpaqueBehavior' ) )", 5, 0, input);
1219
                    new NoViableAltException("", 5, 0, input);
1257
1220
1258
                throw nvae;
1221
                throw nvae;
1259
            }
1222
            }
1260
1223
1261
            switch (alt5) {
1224
            switch (alt5) {
1262
                case 1 :
1225
                case 1 :
1263
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:633:2: ( 'Activity' )
1226
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:529:2: (enumLiteral_0= 'Activity' )
1264
                    {
1227
                    {
1265
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:633:2: ( 'Activity' )
1228
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:529:2: (enumLiteral_0= 'Activity' )
1266
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:633:4: 'Activity'
1229
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:529:4: enumLiteral_0= 'Activity'
1267
                    {
1230
                    {
1268
                    match(input,16,FOLLOW_16_in_ruleBehaviorKind1062); 
1231
                    enumLiteral_0=(Token)match(input,16,FOLLOW_16_in_ruleBehaviorKind1090); 
1269
1232
1270
                            current = grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
1233
                            current = grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
1271
                            createLeafNode(grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0(), null); 
1234
                            newLeafNode(enumLiteral_0, grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0()); 
1272
                        
1235
                        
1273
1236
1274
                    }
1237
                    }
Lines 1277-1291 Link Here
1277
                    }
1240
                    }
1278
                    break;
1241
                    break;
1279
                case 2 :
1242
                case 2 :
1280
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:639:6: ( 'StateMachine' )
1243
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:535:6: (enumLiteral_1= 'StateMachine' )
1281
                    {
1244
                    {
1282
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:639:6: ( 'StateMachine' )
1245
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:535:6: (enumLiteral_1= 'StateMachine' )
1283
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:639:8: 'StateMachine'
1246
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:535:8: enumLiteral_1= 'StateMachine'
1284
                    {
1247
                    {
1285
                    match(input,17,FOLLOW_17_in_ruleBehaviorKind1077); 
1248
                    enumLiteral_1=(Token)match(input,17,FOLLOW_17_in_ruleBehaviorKind1107); 
1286
1249
1287
                            current = grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
1250
                            current = grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
1288
                            createLeafNode(grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1(), null); 
1251
                            newLeafNode(enumLiteral_1, grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1()); 
1289
                        
1252
                        
1290
1253
1291
                    }
1254
                    }
Lines 1294-1308 Link Here
1294
                    }
1257
                    }
1295
                    break;
1258
                    break;
1296
                case 3 :
1259
                case 3 :
1297
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:645:6: ( 'OpaqueBehavior' )
1260
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:541:6: (enumLiteral_2= 'OpaqueBehavior' )
1298
                    {
1261
                    {
1299
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:645:6: ( 'OpaqueBehavior' )
1262
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:541:6: (enumLiteral_2= 'OpaqueBehavior' )
1300
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:645:8: 'OpaqueBehavior'
1263
                    // ../org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/parser/antlr/internal/InternalUmlState.g:541:8: enumLiteral_2= 'OpaqueBehavior'
1301
                    {
1264
                    {
1302
                    match(input,18,FOLLOW_18_in_ruleBehaviorKind1092); 
1265
                    enumLiteral_2=(Token)match(input,18,FOLLOW_18_in_ruleBehaviorKind1124); 
1303
1266
1304
                            current = grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2().getEnumLiteral().getInstance();
1267
                            current = grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2().getEnumLiteral().getInstance();
1305
                            createLeafNode(grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2(), null); 
1268
                            newLeafNode(enumLiteral_2, grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2()); 
1306
                        
1269
                        
1307
1270
1308
                    }
1271
                    }
Lines 1316-1324 Link Here
1316
1279
1317
            }
1280
            }
1318
1281
1319
             resetLookahead(); 
1282
             leaveRule(); 
1320
                	lastConsumedNode = currentNode;
1321
                
1322
        }
1283
        }
1323
         
1284
         
1324
            catch (RecognitionException re) { 
1285
            catch (RecognitionException re) { 
Lines 1329-1373 Link Here
1329
        }
1290
        }
1330
        return current;
1291
        return current;
1331
    }
1292
    }
1332
    // $ANTLR end ruleBehaviorKind
1293
    // $ANTLR end "ruleBehaviorKind"
1333
1294
1295
    // Delegated rules
1296
1334
1297
1335
 
1298
 
1336
1299
1337
    public static final BitSet FOLLOW_ruleStateRule_in_entryRuleStateRule75 = new BitSet(new long[]{0x0000000000000000L});
1300
    public static final BitSet FOLLOW_ruleStateRule_in_entryRuleStateRule75 = new BitSet(new long[]{0x0000000000000000L});
1338
    public static final BitSet FOLLOW_EOF_in_entryRuleStateRule85 = new BitSet(new long[]{0x0000000000000002L});
1301
    public static final BitSet FOLLOW_EOF_in_entryRuleStateRule85 = new BitSet(new long[]{0x0000000000000002L});
1339
    public static final BitSet FOLLOW_RULE_ID_in_ruleStateRule127 = new BitSet(new long[]{0x000000000000E802L});
1302
    public static final BitSet FOLLOW_RULE_ID_in_ruleStateRule127 = new BitSet(new long[]{0x000000000000E802L});
1340
    public static final BitSet FOLLOW_11_in_ruleStateRule143 = new BitSet(new long[]{0x0000000000000010L});
1303
    public static final BitSet FOLLOW_11_in_ruleStateRule145 = new BitSet(new long[]{0x0000000000000010L});
1341
    public static final BitSet FOLLOW_ruleSubmachineRule_in_ruleStateRule164 = new BitSet(new long[]{0x000000000000E002L});
1304
    public static final BitSet FOLLOW_ruleSubmachineRule_in_ruleStateRule166 = new BitSet(new long[]{0x000000000000E002L});
1342
    public static final BitSet FOLLOW_ruleEntryRule_in_ruleStateRule229 = new BitSet(new long[]{0x000000000000E002L});
1305
    public static final BitSet FOLLOW_ruleEntryRule_in_ruleStateRule234 = new BitSet(new long[]{0x000000000000E002L});
1343
    public static final BitSet FOLLOW_ruleDoRule_in_ruleStateRule300 = new BitSet(new long[]{0x000000000000E002L});
1306
    public static final BitSet FOLLOW_ruleDoRule_in_ruleStateRule309 = new BitSet(new long[]{0x000000000000E002L});
1344
    public static final BitSet FOLLOW_ruleExitRule_in_ruleStateRule371 = new BitSet(new long[]{0x000000000000E002L});
1307
    public static final BitSet FOLLOW_ruleExitRule_in_ruleStateRule384 = new BitSet(new long[]{0x000000000000E002L});
1345
    public static final BitSet FOLLOW_ruleSubmachineRule_in_entryRuleSubmachineRule446 = new BitSet(new long[]{0x0000000000000000L});
1308
    public static final BitSet FOLLOW_ruleSubmachineRule_in_entryRuleSubmachineRule460 = new BitSet(new long[]{0x0000000000000000L});
1346
    public static final BitSet FOLLOW_EOF_in_entryRuleSubmachineRule456 = new BitSet(new long[]{0x0000000000000002L});
1309
    public static final BitSet FOLLOW_EOF_in_entryRuleSubmachineRule470 = new BitSet(new long[]{0x0000000000000002L});
1347
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleSubmachineRule502 = new BitSet(new long[]{0x0000000000000010L});
1310
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleSubmachineRule516 = new BitSet(new long[]{0x0000000000000010L});
1348
    public static final BitSet FOLLOW_RULE_ID_in_ruleSubmachineRule521 = new BitSet(new long[]{0x0000000000000002L});
1311
    public static final BitSet FOLLOW_RULE_ID_in_ruleSubmachineRule537 = new BitSet(new long[]{0x0000000000000002L});
1349
    public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName557 = new BitSet(new long[]{0x0000000000000000L});
1312
    public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName573 = new BitSet(new long[]{0x0000000000000000L});
1350
    public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName567 = new BitSet(new long[]{0x0000000000000002L});
1313
    public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName583 = new BitSet(new long[]{0x0000000000000002L});
1351
    public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName610 = new BitSet(new long[]{0x0000000000001000L});
1314
    public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName628 = new BitSet(new long[]{0x0000000000001000L});
1352
    public static final BitSet FOLLOW_12_in_ruleQualifiedName620 = new BitSet(new long[]{0x0000000000000012L});
1315
    public static final BitSet FOLLOW_12_in_ruleQualifiedName640 = new BitSet(new long[]{0x0000000000000012L});
1353
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedName641 = new BitSet(new long[]{0x0000000000000002L});
1316
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedName661 = new BitSet(new long[]{0x0000000000000002L});
1354
    public static final BitSet FOLLOW_ruleEntryRule_in_entryRuleEntryRule678 = new BitSet(new long[]{0x0000000000000000L});
1317
    public static final BitSet FOLLOW_ruleEntryRule_in_entryRuleEntryRule698 = new BitSet(new long[]{0x0000000000000000L});
1355
    public static final BitSet FOLLOW_EOF_in_entryRuleEntryRule688 = new BitSet(new long[]{0x0000000000000002L});
1318
    public static final BitSet FOLLOW_EOF_in_entryRuleEntryRule708 = new BitSet(new long[]{0x0000000000000002L});
1356
    public static final BitSet FOLLOW_13_in_ruleEntryRule723 = new BitSet(new long[]{0x0000000000070000L});
1319
    public static final BitSet FOLLOW_13_in_ruleEntryRule745 = new BitSet(new long[]{0x0000000000070000L});
1357
    public static final BitSet FOLLOW_ruleBehaviorKind_in_ruleEntryRule744 = new BitSet(new long[]{0x0000000000000010L});
1320
    public static final BitSet FOLLOW_ruleBehaviorKind_in_ruleEntryRule766 = new BitSet(new long[]{0x0000000000000010L});
1358
    public static final BitSet FOLLOW_RULE_ID_in_ruleEntryRule761 = new BitSet(new long[]{0x0000000000000002L});
1321
    public static final BitSet FOLLOW_RULE_ID_in_ruleEntryRule783 = new BitSet(new long[]{0x0000000000000002L});
1359
    public static final BitSet FOLLOW_ruleDoRule_in_entryRuleDoRule802 = new BitSet(new long[]{0x0000000000000000L});
1322
    public static final BitSet FOLLOW_ruleDoRule_in_entryRuleDoRule824 = new BitSet(new long[]{0x0000000000000000L});
1360
    public static final BitSet FOLLOW_EOF_in_entryRuleDoRule812 = new BitSet(new long[]{0x0000000000000002L});
1323
    public static final BitSet FOLLOW_EOF_in_entryRuleDoRule834 = new BitSet(new long[]{0x0000000000000002L});
1361
    public static final BitSet FOLLOW_14_in_ruleDoRule847 = new BitSet(new long[]{0x0000000000070000L});
1324
    public static final BitSet FOLLOW_14_in_ruleDoRule871 = new BitSet(new long[]{0x0000000000070000L});
1362
    public static final BitSet FOLLOW_ruleBehaviorKind_in_ruleDoRule868 = new BitSet(new long[]{0x0000000000000010L});
1325
    public static final BitSet FOLLOW_ruleBehaviorKind_in_ruleDoRule892 = new BitSet(new long[]{0x0000000000000010L});
1363
    public static final BitSet FOLLOW_RULE_ID_in_ruleDoRule885 = new BitSet(new long[]{0x0000000000000002L});
1326
    public static final BitSet FOLLOW_RULE_ID_in_ruleDoRule909 = new BitSet(new long[]{0x0000000000000002L});
1364
    public static final BitSet FOLLOW_ruleExitRule_in_entryRuleExitRule926 = new BitSet(new long[]{0x0000000000000000L});
1327
    public static final BitSet FOLLOW_ruleExitRule_in_entryRuleExitRule950 = new BitSet(new long[]{0x0000000000000000L});
1365
    public static final BitSet FOLLOW_EOF_in_entryRuleExitRule936 = new BitSet(new long[]{0x0000000000000002L});
1328
    public static final BitSet FOLLOW_EOF_in_entryRuleExitRule960 = new BitSet(new long[]{0x0000000000000002L});
1366
    public static final BitSet FOLLOW_15_in_ruleExitRule971 = new BitSet(new long[]{0x0000000000070000L});
1329
    public static final BitSet FOLLOW_15_in_ruleExitRule997 = new BitSet(new long[]{0x0000000000070000L});
1367
    public static final BitSet FOLLOW_ruleBehaviorKind_in_ruleExitRule992 = new BitSet(new long[]{0x0000000000000010L});
1330
    public static final BitSet FOLLOW_ruleBehaviorKind_in_ruleExitRule1018 = new BitSet(new long[]{0x0000000000000010L});
1368
    public static final BitSet FOLLOW_RULE_ID_in_ruleExitRule1009 = new BitSet(new long[]{0x0000000000000002L});
1331
    public static final BitSet FOLLOW_RULE_ID_in_ruleExitRule1035 = new BitSet(new long[]{0x0000000000000002L});
1369
    public static final BitSet FOLLOW_16_in_ruleBehaviorKind1062 = new BitSet(new long[]{0x0000000000000002L});
1332
    public static final BitSet FOLLOW_16_in_ruleBehaviorKind1090 = new BitSet(new long[]{0x0000000000000002L});
1370
    public static final BitSet FOLLOW_17_in_ruleBehaviorKind1077 = new BitSet(new long[]{0x0000000000000002L});
1333
    public static final BitSet FOLLOW_17_in_ruleBehaviorKind1107 = new BitSet(new long[]{0x0000000000000002L});
1371
    public static final BitSet FOLLOW_18_in_ruleBehaviorKind1092 = new BitSet(new long[]{0x0000000000000002L});
1334
    public static final BitSet FOLLOW_18_in_ruleBehaviorKind1124 = new BitSet(new long[]{0x0000000000000002L});
1372
1335
1373
}
1336
}
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/validation/AbstractUmlStateJavaValidator.java (-1 / +1 lines)
Lines 10-16 Link Here
10
@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class})
10
@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class})
11
public class AbstractUmlStateJavaValidator extends AbstractDeclarativeValidator {
11
public class AbstractUmlStateJavaValidator extends AbstractDeclarativeValidator {
12
12
13
@Override
13
	@Override
14
	protected List<EPackage> getEPackages() {
14
	protected List<EPackage> getEPackages() {
15
	    List<EPackage> result = new ArrayList<EPackage>();
15
	    List<EPackage> result = new ArrayList<EPackage>();
16
	    result.add(org.eclipse.papyrus.state.editor.xtext.umlState.UmlStatePackage.eINSTANCE);
16
	    result.add(org.eclipse.papyrus.state.editor.xtext.umlState.UmlStatePackage.eINSTANCE);
(-)src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.genmodel (-27 / +27 lines)
Lines 6-45 Link Here
6
    modelPluginID="org.eclipse.papyrus.state.editor.xtext" forceOverwrite="true" modelName="UmlState"
6
    modelPluginID="org.eclipse.papyrus.state.editor.xtext" forceOverwrite="true" modelName="UmlState"
7
    updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
7
    updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.state.editor.xtext.edit"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.state.editor.xtext.edit"
9
    editorPluginID="org.eclipse.papyrus.state.editor.xtext.editor" usedGenPackages="../../../../../../../model/UML.genmodel#//uml">
9
    editorPluginID="org.eclipse.papyrus.state.editor.xtext.editor" usedGenPackages="platform:/resource/org.eclipse.papyrus.state.editor.xtext/model/UML.genmodel#//uml">
10
  <genPackages prefix="UmlState" basePackage="org.eclipse.papyrus.state.editor.xtext"
10
  <genPackages prefix="UmlState" basePackage="org.eclipse.papyrus.state.editor.xtext"
11
      resource="XML" disposableProviderFactory="true" ecorePackage="UmlState.ecore#/">
11
      resource="XML" disposableProviderFactory="true" ecorePackage="platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#/">
12
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="UmlState.ecore#//BehaviorKind">
12
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//BehaviorKind">
13
      <genEnumLiterals ecoreEnumLiteral="UmlState.ecore#//BehaviorKind/ACTIVITY"/>
13
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//BehaviorKind/ACTIVITY"/>
14
      <genEnumLiterals ecoreEnumLiteral="UmlState.ecore#//BehaviorKind/STATE_MACHINE"/>
14
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//BehaviorKind/STATE_MACHINE"/>
15
      <genEnumLiterals ecoreEnumLiteral="UmlState.ecore#//BehaviorKind/OPAQUE_BEHAVIOR"/>
15
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//BehaviorKind/OPAQUE_BEHAVIOR"/>
16
    </genEnums>
16
    </genEnums>
17
    <genClasses ecoreClass="UmlState.ecore#//StateRule">
17
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//StateRule">
18
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlState.ecore#//StateRule/name"/>
18
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//StateRule/name"/>
19
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlState.ecore#//StateRule/submachine"/>
19
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//StateRule/submachine"/>
20
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlState.ecore#//StateRule/entry"/>
20
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//StateRule/entry"/>
21
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlState.ecore#//StateRule/do"/>
21
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//StateRule/do"/>
22
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlState.ecore#//StateRule/exit"/>
22
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//StateRule/exit"/>
23
    </genClasses>
23
    </genClasses>
24
    <genClasses ecoreClass="UmlState.ecore#//SubmachineRule">
24
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//SubmachineRule">
25
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlState.ecore#//SubmachineRule/path"/>
25
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//SubmachineRule/path"/>
26
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UmlState.ecore#//SubmachineRule/submachine"/>
26
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//SubmachineRule/submachine"/>
27
    </genClasses>
27
    </genClasses>
28
    <genClasses ecoreClass="UmlState.ecore#//QualifiedName">
28
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//QualifiedName">
29
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UmlState.ecore#//QualifiedName/path"/>
29
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//QualifiedName/path"/>
30
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlState.ecore#//QualifiedName/remaining"/>
30
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//QualifiedName/remaining"/>
31
    </genClasses>
31
    </genClasses>
32
    <genClasses ecoreClass="UmlState.ecore#//EntryRule">
32
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//EntryRule">
33
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlState.ecore#//EntryRule/kind"/>
33
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//EntryRule/kind"/>
34
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlState.ecore#//EntryRule/behaviorName"/>
34
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//EntryRule/behaviorName"/>
35
    </genClasses>
35
    </genClasses>
36
    <genClasses ecoreClass="UmlState.ecore#//DoRule">
36
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//DoRule">
37
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlState.ecore#//DoRule/kind"/>
37
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//DoRule/kind"/>
38
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlState.ecore#//DoRule/behaviorName"/>
38
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//DoRule/behaviorName"/>
39
    </genClasses>
39
    </genClasses>
40
    <genClasses ecoreClass="UmlState.ecore#//ExitRule">
40
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//ExitRule">
41
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlState.ecore#//ExitRule/kind"/>
41
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//ExitRule/kind"/>
42
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlState.ecore#//ExitRule/behaviorName"/>
42
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.state.editor.xtext/src-gen/org/eclipse/papyrus/state/editor/xtext/UmlState.ecore#//ExitRule/behaviorName"/>
43
    </genClasses>
43
    </genClasses>
44
  </genPackages>
44
  </genPackages>
45
</genmodel:GenModel>
45
</genmodel:GenModel>
(-)plugin.xml_gen (-1 lines)
Lines 14-18 Link Here
14
14
15
15
16
16
17
18
</plugin>
17
</plugin>
(-)src/org/eclipse/papyrus/state/editor/xtext/validation/UmlStateJavaValidator.java (-10 / +10 lines)
Lines 97-108 Link Here
97
		String newName = "" + stateRule.getName() ;
97
		String newName = "" + stateRule.getName() ;
98
		
98
		
99
		if (alreadyUsedNames.contains("" + newName))
99
		if (alreadyUsedNames.contains("" + newName))
100
			warning("Name " + newName + " is already used by another State in this Region", UmlStatePackage.STATE_RULE__NAME) ;
100
			warning("Name " + newName + " is already used by another State in this Region", UmlStatePackage.eINSTANCE.getStateRule_Name()) ;
101
		
101
		
102
		
102
		
103
		// Check if ConnectionPointReference exist when one delete the submachine reference: not allowed!
103
		// Check if ConnectionPointReference exist when one delete the submachine reference: not allowed!
104
		if((stateRule.getSubmachine() == null) && !editedState.getConnections().isEmpty()){
104
		if((stateRule.getSubmachine() == null) && !editedState.getConnections().isEmpty()){
105
			error(getErrorMessageForSubmachineState(), stateRule, UmlStatePackage.STATE_RULE) ;
105
			error(getErrorMessageForSubmachineState(), UmlStatePackage.eINSTANCE.getStateRule_Submachine()) ;
106
			valid_StateName = false ;
106
			valid_StateName = false ;
107
		}
107
		}
108
		else {
108
		else {
Lines 123-129 Link Here
123
					)
123
					)
124
					+ " "
124
					+ " "
125
					+ editedState.getDoActivity().getName()
125
					+ editedState.getDoActivity().getName()
126
					+ " will be deleted", UmlStatePackage.STATE_RULE__NAME) ;
126
					+ " will be deleted", UmlStatePackage.eINSTANCE.getStateRule_Name()) ;
127
		}
127
		}
128
		
128
		
129
		if (deletionOfExit) {
129
		if (deletionOfExit) {
Lines 132-138 Link Here
132
					)
132
					)
133
					+ " "
133
					+ " "
134
					+ editedState.getExit().getName()
134
					+ editedState.getExit().getName()
135
					+ " will be deleted", UmlStatePackage.STATE_RULE__NAME) ;
135
					+ " will be deleted", UmlStatePackage.eINSTANCE.getStateRule_Name()) ;
136
		}
136
		}
137
		
137
		
138
		if (deletionOfEntry) {
138
		if (deletionOfEntry) {
Lines 141-147 Link Here
141
					)
141
					)
142
					+ " "
142
					+ " "
143
					+ editedState.getEntry().getName()
143
					+ editedState.getEntry().getName()
144
					+ " will be deleted", UmlStatePackage.STATE_RULE__NAME) ;
144
					+ " will be deleted", UmlStatePackage.eINSTANCE.getStateRule_Name()) ;
145
		}
145
		}
146
	}
146
	}
147
	
147
	
Lines 179-185 Link Here
179
						+ getBehaviorKindAsString(oldDoKind)
179
						+ getBehaviorKindAsString(oldDoKind)
180
						+ " "
180
						+ " "
181
						+ doRule.getBehaviorName()
181
						+ doRule.getBehaviorName()
182
						+ " will be lost", UmlStatePackage.DO_RULE__KIND) ;
182
						+ " will be lost", UmlStatePackage.eINSTANCE.getDoRule_Kind()) ;
183
			}
183
			}
184
		}
184
		}
185
	}
185
	}
Lines 218-224 Link Here
218
						+ getBehaviorKindAsString(oldDoKind)
218
						+ getBehaviorKindAsString(oldDoKind)
219
						+ " "
219
						+ " "
220
						+ entryRule.getBehaviorName()
220
						+ entryRule.getBehaviorName()
221
						+ " will be lost", UmlStatePackage.ENTRY_RULE__KIND) ;
221
						+ " will be lost", UmlStatePackage.eINSTANCE.getEntryRule_Kind()) ;
222
			}
222
			}
223
		}
223
		}
224
	}
224
	}
Lines 257-263 Link Here
257
						+ getBehaviorKindAsString(oldDoKind)
257
						+ getBehaviorKindAsString(oldDoKind)
258
						+ " "
258
						+ " "
259
						+ exitRule.getBehaviorName()
259
						+ exitRule.getBehaviorName()
260
						+ " will be lost", UmlStatePackage.EXIT_RULE__KIND) ;
260
						+ " will be lost", UmlStatePackage.eINSTANCE.getExitRule_Kind()) ;
261
			}
261
			}
262
		}
262
		}
263
	}
263
	}
Lines 268-281 Link Here
268
			return ;
268
			return ;
269
		org.eclipse.uml2.uml.State contextState = (org.eclipse.uml2.uml.State)contextElement ;
269
		org.eclipse.uml2.uml.State contextState = (org.eclipse.uml2.uml.State)contextElement ;
270
		if (contextState.isOrthogonal()) {
270
		if (contextState.isOrthogonal()) {
271
			error(getErrorMessageForOrthogonalState(), rule, UmlStatePackage.SUBMACHINE_RULE__SUBMACHINE) ;
271
			error(getErrorMessageForOrthogonalState(), UmlStatePackage.eINSTANCE.getSubmachineRule_Submachine()) ;
272
			valid_SubMachineRule = false ;
272
			valid_SubMachineRule = false ;
273
		}
273
		}
274
		else {
274
		else {
275
			valid_SubMachineRule = true ;
275
			valid_SubMachineRule = true ;
276
		}
276
		}
277
		if (contextState.isComposite()) {
277
		if (contextState.isComposite()) {
278
			error(getErrorMessageForCompositeState(), rule, UmlStatePackage.SUBMACHINE_RULE__SUBMACHINE) ;
278
			error(getErrorMessageForCompositeState(), UmlStatePackage.eINSTANCE.getSubmachineRule_Submachine()) ;
279
			valid_SubMachineRule = false ;
279
			valid_SubMachineRule = false ;
280
		}
280
		}
281
		else {
281
		else {
(-)src/org/eclipse/papyrus/state/editor/xtext/GenerateUmlState.mwe2 (-2 / +1 lines)
Lines 87-94 Link Here
87
			fragment = labeling.LabelProviderFragment {}
87
			fragment = labeling.LabelProviderFragment {}
88
88
89
			// outline API 
89
			// outline API 
90
			fragment = outline.TransformerFragment {}
90
			fragment = outline.OutlineTreeProviderFragment {}
91
			fragment = outline.OutlineNodeAdapterFactoryFragment {}
92
			fragment = outline.QuickOutlineFragment {}
91
			fragment = outline.QuickOutlineFragment {}
93
92
94
			// quickfix API 
93
			// quickfix API 
(-)plugin.xml_gen (-1 lines)
Lines 14-18 Link Here
14
14
15
15
16
16
17
18
</plugin>
17
</plugin>
(-)src/org/eclipse/papyrus/parameter/editor/xtext/GenerateUmlParameter.mwe2 (-2 / +1 lines)
Lines 87-94 Link Here
87
			fragment = labeling.LabelProviderFragment {}
87
			fragment = labeling.LabelProviderFragment {}
88
88
89
			// outline API 
89
			// outline API 
90
			fragment = outline.TransformerFragment {}
90
			fragment = outline.OutlineTreeProviderFragment {}
91
			fragment = outline.OutlineNodeAdapterFactoryFragment {}
92
			fragment = outline.QuickOutlineFragment {}
91
			fragment = outline.QuickOutlineFragment {}
93
92
94
			// quickfix API 
93
			// quickfix API 
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.tokens (-3 / +29 lines)
Lines 1-11 Link Here
1
RULE_ID=4
1
RULE_ID=4
2
RULE_STRING=7
3
RULE_UNLIMITEDLITERAL=5
2
RULE_UNLIMITEDLITERAL=5
3
T__29=29
4
T__28=28
5
T__27=27
6
T__26=26
7
T__25=25
8
T__24=24
9
T__23=23
10
T__22=22
4
RULE_ANY_OTHER=11
11
RULE_ANY_OTHER=11
5
RULE_INT=6
12
T__21=21
6
RULE_WS=10
13
T__20=20
7
RULE_SL_COMMENT=9
14
RULE_SL_COMMENT=9
8
RULE_ML_COMMENT=8
15
RULE_ML_COMMENT=8
16
T__30=30
17
T__19=19
18
T__31=31
19
RULE_STRING=7
20
T__32=32
21
T__33=33
22
T__16=16
23
T__34=34
24
T__15=15
25
T__35=35
26
T__18=18
27
T__36=36
28
T__17=17
29
T__37=37
30
T__12=12
31
T__14=14
32
T__13=13
33
RULE_INT=6
34
RULE_WS=10
9
'..'=20
35
'..'=20
10
'ordered'=24
36
'ordered'=24
11
'update'=28
37
'update'=28
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g (-355 / +223 lines)
Lines 19-29 Link Here
19
@parser::header {
19
@parser::header {
20
package org.eclipse.papyrus.parameter.editor.xtext.parser.antlr.internal; 
20
package org.eclipse.papyrus.parameter.editor.xtext.parser.antlr.internal; 
21
21
22
import java.io.InputStream;
23
import org.eclipse.xtext.*;
22
import org.eclipse.xtext.*;
24
import org.eclipse.xtext.parser.*;
23
import org.eclipse.xtext.parser.*;
25
import org.eclipse.xtext.parser.impl.*;
24
import org.eclipse.xtext.parser.impl.*;
26
import org.eclipse.xtext.parsetree.*;
27
import org.eclipse.emf.ecore.util.EcoreUtil;
25
import org.eclipse.emf.ecore.util.EcoreUtil;
28
import org.eclipse.emf.ecore.EObject;
26
import org.eclipse.emf.ecore.EObject;
29
import org.eclipse.emf.common.util.Enumerator;
27
import org.eclipse.emf.common.util.Enumerator;
Lines 31-37 Link Here
31
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
29
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
32
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
30
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
33
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
31
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
34
import org.eclipse.xtext.conversion.ValueConverterException;
35
import org.eclipse.papyrus.parameter.editor.xtext.services.UmlParameterGrammarAccess;
32
import org.eclipse.papyrus.parameter.editor.xtext.services.UmlParameterGrammarAccess;
36
33
37
}
34
}
Lines 40-56 Link Here
40
37
41
 	private UmlParameterGrammarAccess grammarAccess;
38
 	private UmlParameterGrammarAccess grammarAccess;
42
 	
39
 	
43
    public InternalUmlParameterParser(TokenStream input, IAstFactory factory, UmlParameterGrammarAccess grammarAccess) {
40
    public InternalUmlParameterParser(TokenStream input, UmlParameterGrammarAccess grammarAccess) {
44
        this(input);
41
        this(input);
45
        this.factory = factory;
46
        registerRules(grammarAccess.getGrammar());
47
        this.grammarAccess = grammarAccess;
42
        this.grammarAccess = grammarAccess;
48
    }
43
        registerRules(grammarAccess.getGrammar());
49
    
50
    @Override
51
    protected InputStream getTokenFile() {
52
    	ClassLoader classLoader = getClass().getClassLoader();
53
    	return classLoader.getResourceAsStream("org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.tokens");
54
    }
44
    }
55
    
45
    
56
    @Override
46
    @Override
Lines 77-83 Link Here
77
// Entry rule entryRuleParameterRule
67
// Entry rule entryRuleParameterRule
78
entryRuleParameterRule returns [EObject current=null] 
68
entryRuleParameterRule returns [EObject current=null] 
79
	:
69
	:
80
	{ currentNode = createCompositeNode(grammarAccess.getParameterRuleRule(), currentNode); }
70
	{ newCompositeNode(grammarAccess.getParameterRuleRule()); }
81
	 iv_ruleParameterRule=ruleParameterRule 
71
	 iv_ruleParameterRule=ruleParameterRule 
82
	 { $current=$iv_ruleParameterRule.current; } 
72
	 { $current=$iv_ruleParameterRule.current; } 
83
	 EOF 
73
	 EOF 
Lines 85-140 Link Here
85
75
86
// Rule ParameterRule
76
// Rule ParameterRule
87
ruleParameterRule returns [EObject current=null] 
77
ruleParameterRule returns [EObject current=null] 
88
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
78
    @init { enterRule(); 
89
    }
79
    }
90
    @after { resetLookahead(); 
80
    @after { leaveRule(); }:
91
    	lastConsumedNode = currentNode;
92
    }:
93
((
81
((
94
(
82
(
95
		{ 
83
		{ 
96
	        currentNode=createCompositeNode(grammarAccess.getParameterRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0(), currentNode); 
84
	        newCompositeNode(grammarAccess.getParameterRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); 
97
	    }
85
	    }
98
		lv_visibility_0_0=ruleVisibilityKind		{
86
		lv_visibility_0_0=ruleVisibilityKind		{
99
	        if ($current==null) {
87
	        if ($current==null) {
100
	            $current = factory.create(grammarAccess.getParameterRuleRule().getType().getClassifier());
88
	            $current = createModelElementForParent(grammarAccess.getParameterRuleRule());
101
	            associateNodeWithAstElement(currentNode.getParent(), $current);
102
	        }
89
	        }
103
	        try {
90
       		set(
104
	       		set(
91
       			$current, 
105
	       			$current, 
92
       			"visibility",
106
	       			"visibility",
93
        		lv_visibility_0_0, 
107
	        		lv_visibility_0_0, 
94
        		"VisibilityKind");
108
	        		"VisibilityKind", 
95
	        afterParserOrEnumRuleCall();
109
	        		currentNode);
110
	        } catch (ValueConverterException vce) {
111
				handleValueConverterException(vce);
112
	        }
113
	        currentNode = currentNode.getParent();
114
	    }
96
	    }
115
97
116
)
98
)
117
)(
99
)(
118
(
100
(
119
		{ 
101
		{ 
120
	        currentNode=createCompositeNode(grammarAccess.getParameterRuleAccess().getDirectionDirectionEnumRuleCall_1_0(), currentNode); 
102
	        newCompositeNode(grammarAccess.getParameterRuleAccess().getDirectionDirectionEnumRuleCall_1_0()); 
121
	    }
103
	    }
122
		lv_direction_1_0=ruleDirection		{
104
		lv_direction_1_0=ruleDirection		{
123
	        if ($current==null) {
105
	        if ($current==null) {
124
	            $current = factory.create(grammarAccess.getParameterRuleRule().getType().getClassifier());
106
	            $current = createModelElementForParent(grammarAccess.getParameterRuleRule());
125
	            associateNodeWithAstElement(currentNode.getParent(), $current);
126
	        }
107
	        }
127
	        try {
108
       		set(
128
	       		set(
109
       			$current, 
129
	       			$current, 
110
       			"direction",
130
	       			"direction",
111
        		lv_direction_1_0, 
131
	        		lv_direction_1_0, 
112
        		"Direction");
132
	        		"Direction", 
113
	        afterParserOrEnumRuleCall();
133
	        		currentNode);
134
	        } catch (ValueConverterException vce) {
135
				handleValueConverterException(vce);
136
	        }
137
	        currentNode = currentNode.getParent();
138
	    }
114
	    }
139
115
140
)
116
)
Lines 142-269 Link Here
142
(
118
(
143
		lv_name_2_0=RULE_ID
119
		lv_name_2_0=RULE_ID
144
		{
120
		{
145
			createLeafNode(grammarAccess.getParameterRuleAccess().getNameIDTerminalRuleCall_2_0(), "name"); 
121
			newLeafNode(lv_name_2_0, grammarAccess.getParameterRuleAccess().getNameIDTerminalRuleCall_2_0()); 
146
		}
122
		}
147
		{
123
		{
148
	        if ($current==null) {
124
	        if ($current==null) {
149
	            $current = factory.create(grammarAccess.getParameterRuleRule().getType().getClassifier());
125
	            $current = createModelElement(grammarAccess.getParameterRuleRule());
150
	            associateNodeWithAstElement(currentNode, $current);
151
	        }
126
	        }
152
	        try {
127
       		setWithLastConsumed(
153
	       		set(
128
       			$current, 
154
	       			$current, 
129
       			"name",
155
	       			"name",
130
        		lv_name_2_0, 
156
	        		lv_name_2_0, 
131
        		"ID");
157
	        		"ID", 
158
	        		lastConsumedNode);
159
	        } catch (ValueConverterException vce) {
160
				handleValueConverterException(vce);
161
	        }
162
	    }
132
	    }
163
133
164
)
134
)
165
)	':' 
135
)	otherlv_3=':' 
166
    {
136
    {
167
        createLeafNode(grammarAccess.getParameterRuleAccess().getColonKeyword_3(), null); 
137
    	newLeafNode(otherlv_3, grammarAccess.getParameterRuleAccess().getColonKeyword_3());
168
    }
138
    }
169
((
139
((
170
(
140
(
171
		{ 
141
		{ 
172
	        currentNode=createCompositeNode(grammarAccess.getParameterRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0(), currentNode); 
142
	        newCompositeNode(grammarAccess.getParameterRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0()); 
173
	    }
143
	    }
174
		lv_type_4_0=ruleTypeRule		{
144
		lv_type_4_0=ruleTypeRule		{
175
	        if ($current==null) {
145
	        if ($current==null) {
176
	            $current = factory.create(grammarAccess.getParameterRuleRule().getType().getClassifier());
146
	            $current = createModelElementForParent(grammarAccess.getParameterRuleRule());
177
	            associateNodeWithAstElement(currentNode.getParent(), $current);
178
	        }
147
	        }
179
	        try {
148
       		set(
180
	       		set(
149
       			$current, 
181
	       			$current, 
150
       			"type",
182
	       			"type",
151
        		lv_type_4_0, 
183
	        		lv_type_4_0, 
152
        		"TypeRule");
184
	        		"TypeRule", 
153
	        afterParserOrEnumRuleCall();
185
	        		currentNode);
186
	        } catch (ValueConverterException vce) {
187
				handleValueConverterException(vce);
188
	        }
189
	        currentNode = currentNode.getParent();
190
	    }
154
	    }
191
155
192
)
156
)
193
)
157
)
194
    |	'<Undefined>' 
158
    |	otherlv_5='<Undefined>' 
195
    {
159
    {
196
        createLeafNode(grammarAccess.getParameterRuleAccess().getUndefinedKeyword_4_1(), null); 
160
    	newLeafNode(otherlv_5, grammarAccess.getParameterRuleAccess().getUndefinedKeyword_4_1());
197
    }
161
    }
198
)(
162
)(
199
(
163
(
200
		{ 
164
		{ 
201
	        currentNode=createCompositeNode(grammarAccess.getParameterRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0(), currentNode); 
165
	        newCompositeNode(grammarAccess.getParameterRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0()); 
202
	    }
166
	    }
203
		lv_multiplicity_6_0=ruleMultiplicityRule		{
167
		lv_multiplicity_6_0=ruleMultiplicityRule		{
204
	        if ($current==null) {
168
	        if ($current==null) {
205
	            $current = factory.create(grammarAccess.getParameterRuleRule().getType().getClassifier());
169
	            $current = createModelElementForParent(grammarAccess.getParameterRuleRule());
206
	            associateNodeWithAstElement(currentNode.getParent(), $current);
207
	        }
170
	        }
208
	        try {
171
       		set(
209
	       		set(
172
       			$current, 
210
	       			$current, 
173
       			"multiplicity",
211
	       			"multiplicity",
174
        		lv_multiplicity_6_0, 
212
	        		lv_multiplicity_6_0, 
175
        		"MultiplicityRule");
213
	        		"MultiplicityRule", 
176
	        afterParserOrEnumRuleCall();
214
	        		currentNode);
215
	        } catch (ValueConverterException vce) {
216
				handleValueConverterException(vce);
217
	        }
218
	        currentNode = currentNode.getParent();
219
	    }
177
	    }
220
178
221
)
179
)
222
)?(
180
)?(
223
(
181
(
224
		{ 
182
		{ 
225
	        currentNode=createCompositeNode(grammarAccess.getParameterRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0(), currentNode); 
183
	        newCompositeNode(grammarAccess.getParameterRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0()); 
226
	    }
184
	    }
227
		lv_modifiers_7_0=ruleModifiersRule		{
185
		lv_modifiers_7_0=ruleModifiersRule		{
228
	        if ($current==null) {
186
	        if ($current==null) {
229
	            $current = factory.create(grammarAccess.getParameterRuleRule().getType().getClassifier());
187
	            $current = createModelElementForParent(grammarAccess.getParameterRuleRule());
230
	            associateNodeWithAstElement(currentNode.getParent(), $current);
231
	        }
188
	        }
232
	        try {
189
       		set(
233
	       		set(
190
       			$current, 
234
	       			$current, 
191
       			"modifiers",
235
	       			"modifiers",
192
        		lv_modifiers_7_0, 
236
	        		lv_modifiers_7_0, 
193
        		"ModifiersRule");
237
	        		"ModifiersRule", 
194
	        afterParserOrEnumRuleCall();
238
	        		currentNode);
239
	        } catch (ValueConverterException vce) {
240
				handleValueConverterException(vce);
241
	        }
242
	        currentNode = currentNode.getParent();
243
	    }
195
	    }
244
196
245
)
197
)
246
)?(
198
)?(
247
(
199
(
248
		{ 
200
		{ 
249
	        currentNode=createCompositeNode(grammarAccess.getParameterRuleAccess().getEffectEffectRuleParserRuleCall_7_0(), currentNode); 
201
	        newCompositeNode(grammarAccess.getParameterRuleAccess().getEffectEffectRuleParserRuleCall_7_0()); 
250
	    }
202
	    }
251
		lv_effect_8_0=ruleEffectRule		{
203
		lv_effect_8_0=ruleEffectRule		{
252
	        if ($current==null) {
204
	        if ($current==null) {
253
	            $current = factory.create(grammarAccess.getParameterRuleRule().getType().getClassifier());
205
	            $current = createModelElementForParent(grammarAccess.getParameterRuleRule());
254
	            associateNodeWithAstElement(currentNode.getParent(), $current);
255
	        }
206
	        }
256
	        try {
207
       		set(
257
	       		set(
208
       			$current, 
258
	       			$current, 
209
       			"effect",
259
	       			"effect",
210
        		lv_effect_8_0, 
260
	        		lv_effect_8_0, 
211
        		"EffectRule");
261
	        		"EffectRule", 
212
	        afterParserOrEnumRuleCall();
262
	        		currentNode);
263
	        } catch (ValueConverterException vce) {
264
				handleValueConverterException(vce);
265
	        }
266
	        currentNode = currentNode.getParent();
267
	    }
213
	    }
268
214
269
)
215
)
Lines 277-283 Link Here
277
// Entry rule entryRuleModifiersRule
223
// Entry rule entryRuleModifiersRule
278
entryRuleModifiersRule returns [EObject current=null] 
224
entryRuleModifiersRule returns [EObject current=null] 
279
	:
225
	:
280
	{ currentNode = createCompositeNode(grammarAccess.getModifiersRuleRule(), currentNode); }
226
	{ newCompositeNode(grammarAccess.getModifiersRuleRule()); }
281
	 iv_ruleModifiersRule=ruleModifiersRule 
227
	 iv_ruleModifiersRule=ruleModifiersRule 
282
	 { $current=$iv_ruleModifiersRule.current; } 
228
	 { $current=$iv_ruleModifiersRule.current; } 
283
	 EOF 
229
	 EOF 
Lines 285-354 Link Here
285
231
286
// Rule ModifiersRule
232
// Rule ModifiersRule
287
ruleModifiersRule returns [EObject current=null] 
233
ruleModifiersRule returns [EObject current=null] 
288
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
234
    @init { enterRule(); 
289
    }
235
    }
290
    @after { resetLookahead(); 
236
    @after { leaveRule(); }:
291
    	lastConsumedNode = currentNode;
237
(	otherlv_0='{' 
292
    }:
293
(	'{' 
294
    {
238
    {
295
        createLeafNode(grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0(), null); 
239
    	newLeafNode(otherlv_0, grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0());
296
    }
240
    }
297
(
241
(
298
(
242
(
299
		{ 
243
		{ 
300
	        currentNode=createCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0(), currentNode); 
244
	        newCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0()); 
301
	    }
245
	    }
302
		lv_values_1_0=ruleModifierSpecification		{
246
		lv_values_1_0=ruleModifierSpecification		{
303
	        if ($current==null) {
247
	        if ($current==null) {
304
	            $current = factory.create(grammarAccess.getModifiersRuleRule().getType().getClassifier());
248
	            $current = createModelElementForParent(grammarAccess.getModifiersRuleRule());
305
	            associateNodeWithAstElement(currentNode.getParent(), $current);
306
	        }
249
	        }
307
	        try {
250
       		add(
308
	       		add(
251
       			$current, 
309
	       			$current, 
252
       			"values",
310
	       			"values",
253
        		lv_values_1_0, 
311
	        		lv_values_1_0, 
254
        		"ModifierSpecification");
312
	        		"ModifierSpecification", 
255
	        afterParserOrEnumRuleCall();
313
	        		currentNode);
314
	        } catch (ValueConverterException vce) {
315
				handleValueConverterException(vce);
316
	        }
317
	        currentNode = currentNode.getParent();
318
	    }
256
	    }
319
257
320
)
258
)
321
)(	',' 
259
)(	otherlv_2=',' 
322
    {
260
    {
323
        createLeafNode(grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0(), null); 
261
    	newLeafNode(otherlv_2, grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0());
324
    }
262
    }
325
(
263
(
326
(
264
(
327
		{ 
265
		{ 
328
	        currentNode=createCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0(), currentNode); 
266
	        newCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0()); 
329
	    }
267
	    }
330
		lv_values_3_0=ruleModifierSpecification		{
268
		lv_values_3_0=ruleModifierSpecification		{
331
	        if ($current==null) {
269
	        if ($current==null) {
332
	            $current = factory.create(grammarAccess.getModifiersRuleRule().getType().getClassifier());
270
	            $current = createModelElementForParent(grammarAccess.getModifiersRuleRule());
333
	            associateNodeWithAstElement(currentNode.getParent(), $current);
334
	        }
271
	        }
335
	        try {
272
       		add(
336
	       		add(
273
       			$current, 
337
	       			$current, 
274
       			"values",
338
	       			"values",
275
        		lv_values_3_0, 
339
	        		lv_values_3_0, 
276
        		"ModifierSpecification");
340
	        		"ModifierSpecification", 
277
	        afterParserOrEnumRuleCall();
341
	        		currentNode);
342
	        } catch (ValueConverterException vce) {
343
				handleValueConverterException(vce);
344
	        }
345
	        currentNode = currentNode.getParent();
346
	    }
278
	    }
347
279
348
)
280
)
349
))*	'}' 
281
))*	otherlv_4='}' 
350
    {
282
    {
351
        createLeafNode(grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3(), null); 
283
    	newLeafNode(otherlv_4, grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3());
352
    }
284
    }
353
)
285
)
354
;
286
;
Lines 360-366 Link Here
360
// Entry rule entryRuleModifierSpecification
292
// Entry rule entryRuleModifierSpecification
361
entryRuleModifierSpecification returns [EObject current=null] 
293
entryRuleModifierSpecification returns [EObject current=null] 
362
	:
294
	:
363
	{ currentNode = createCompositeNode(grammarAccess.getModifierSpecificationRule(), currentNode); }
295
	{ newCompositeNode(grammarAccess.getModifierSpecificationRule()); }
364
	 iv_ruleModifierSpecification=ruleModifierSpecification 
296
	 iv_ruleModifierSpecification=ruleModifierSpecification 
365
	 { $current=$iv_ruleModifierSpecification.current; } 
297
	 { $current=$iv_ruleModifierSpecification.current; } 
366
	 EOF 
298
	 EOF 
Lines 368-399 Link Here
368
300
369
// Rule ModifierSpecification
301
// Rule ModifierSpecification
370
ruleModifierSpecification returns [EObject current=null] 
302
ruleModifierSpecification returns [EObject current=null] 
371
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
303
    @init { enterRule(); 
372
    }
304
    }
373
    @after { resetLookahead(); 
305
    @after { leaveRule(); }:
374
    	lastConsumedNode = currentNode;
375
    }:
376
(
306
(
377
(
307
(
378
		{ 
308
		{ 
379
	        currentNode=createCompositeNode(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0(), currentNode); 
309
	        newCompositeNode(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0()); 
380
	    }
310
	    }
381
		lv_value_0_0=ruleModifierKind		{
311
		lv_value_0_0=ruleModifierKind		{
382
	        if ($current==null) {
312
	        if ($current==null) {
383
	            $current = factory.create(grammarAccess.getModifierSpecificationRule().getType().getClassifier());
313
	            $current = createModelElementForParent(grammarAccess.getModifierSpecificationRule());
384
	            associateNodeWithAstElement(currentNode.getParent(), $current);
385
	        }
314
	        }
386
	        try {
315
       		set(
387
	       		set(
316
       			$current, 
388
	       			$current, 
317
       			"value",
389
	       			"value",
318
        		lv_value_0_0, 
390
	        		lv_value_0_0, 
319
        		"ModifierKind");
391
	        		"ModifierKind", 
320
	        afterParserOrEnumRuleCall();
392
	        		currentNode);
393
	        } catch (ValueConverterException vce) {
394
				handleValueConverterException(vce);
395
	        }
396
	        currentNode = currentNode.getParent();
397
	    }
321
	    }
398
322
399
)
323
)
Lines 407-413 Link Here
407
// Entry rule entryRuleEffectRule
331
// Entry rule entryRuleEffectRule
408
entryRuleEffectRule returns [EObject current=null] 
332
entryRuleEffectRule returns [EObject current=null] 
409
	:
333
	:
410
	{ currentNode = createCompositeNode(grammarAccess.getEffectRuleRule(), currentNode); }
334
	{ newCompositeNode(grammarAccess.getEffectRuleRule()); }
411
	 iv_ruleEffectRule=ruleEffectRule 
335
	 iv_ruleEffectRule=ruleEffectRule 
412
	 { $current=$iv_ruleEffectRule.current; } 
336
	 { $current=$iv_ruleEffectRule.current; } 
413
	 EOF 
337
	 EOF 
Lines 415-460 Link Here
415
339
416
// Rule EffectRule
340
// Rule EffectRule
417
ruleEffectRule returns [EObject current=null] 
341
ruleEffectRule returns [EObject current=null] 
418
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
342
    @init { enterRule(); 
419
    }
343
    }
420
    @after { resetLookahead(); 
344
    @after { leaveRule(); }:
421
    	lastConsumedNode = currentNode;
345
(	otherlv_0='{' 
422
    }:
423
(	'{' 
424
    {
346
    {
425
        createLeafNode(grammarAccess.getEffectRuleAccess().getLeftCurlyBracketKeyword_0(), null); 
347
    	newLeafNode(otherlv_0, grammarAccess.getEffectRuleAccess().getLeftCurlyBracketKeyword_0());
426
    }
348
    }
427
	'effect: ' 
349
	otherlv_1='effect: ' 
428
    {
350
    {
429
        createLeafNode(grammarAccess.getEffectRuleAccess().getEffectKeyword_1(), null); 
351
    	newLeafNode(otherlv_1, grammarAccess.getEffectRuleAccess().getEffectKeyword_1());
430
    }
352
    }
431
(
353
(
432
(
354
(
433
		{ 
355
		{ 
434
	        currentNode=createCompositeNode(grammarAccess.getEffectRuleAccess().getEffectKindEffectKindEnumRuleCall_2_0(), currentNode); 
356
	        newCompositeNode(grammarAccess.getEffectRuleAccess().getEffectKindEffectKindEnumRuleCall_2_0()); 
435
	    }
357
	    }
436
		lv_effectKind_2_0=ruleEffectKind		{
358
		lv_effectKind_2_0=ruleEffectKind		{
437
	        if ($current==null) {
359
	        if ($current==null) {
438
	            $current = factory.create(grammarAccess.getEffectRuleRule().getType().getClassifier());
360
	            $current = createModelElementForParent(grammarAccess.getEffectRuleRule());
439
	            associateNodeWithAstElement(currentNode.getParent(), $current);
440
	        }
441
	        try {
442
	       		set(
443
	       			$current, 
444
	       			"effectKind",
445
	        		lv_effectKind_2_0, 
446
	        		"EffectKind", 
447
	        		currentNode);
448
	        } catch (ValueConverterException vce) {
449
				handleValueConverterException(vce);
450
	        }
361
	        }
451
	        currentNode = currentNode.getParent();
362
       		set(
363
       			$current, 
364
       			"effectKind",
365
        		lv_effectKind_2_0, 
366
        		"EffectKind");
367
	        afterParserOrEnumRuleCall();
452
	    }
368
	    }
453
369
454
)
370
)
455
)	'}' 
371
)	otherlv_3='}' 
456
    {
372
    {
457
        createLeafNode(grammarAccess.getEffectRuleAccess().getRightCurlyBracketKeyword_3(), null); 
373
    	newLeafNode(otherlv_3, grammarAccess.getEffectRuleAccess().getRightCurlyBracketKeyword_3());
458
    }
374
    }
459
)
375
)
460
;
376
;
Lines 466-472 Link Here
466
// Entry rule entryRuleQualifiedName
382
// Entry rule entryRuleQualifiedName
467
entryRuleQualifiedName returns [EObject current=null] 
383
entryRuleQualifiedName returns [EObject current=null] 
468
	:
384
	:
469
	{ currentNode = createCompositeNode(grammarAccess.getQualifiedNameRule(), currentNode); }
385
	{ newCompositeNode(grammarAccess.getQualifiedNameRule()); }
470
	 iv_ruleQualifiedName=ruleQualifiedName 
386
	 iv_ruleQualifiedName=ruleQualifiedName 
471
	 { $current=$iv_ruleQualifiedName.current; } 
387
	 { $current=$iv_ruleQualifiedName.current; } 
472
	 EOF 
388
	 EOF 
Lines 474-523 Link Here
474
390
475
// Rule QualifiedName
391
// Rule QualifiedName
476
ruleQualifiedName returns [EObject current=null] 
392
ruleQualifiedName returns [EObject current=null] 
477
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
393
    @init { enterRule(); 
478
    }
394
    }
479
    @after { resetLookahead(); 
395
    @after { leaveRule(); }:
480
    	lastConsumedNode = currentNode;
481
    }:
482
((
396
((
483
(
397
(
484
		{
398
		{
485
			if ($current==null) {
399
			if ($current==null) {
486
	            $current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
400
	            $current = createModelElement(grammarAccess.getQualifiedNameRule());
487
	            associateNodeWithAstElement(currentNode, $current);
488
	        }
401
	        }
489
        }
402
        }
490
	RULE_ID
403
	otherlv_0=RULE_ID
491
	{
404
	{
492
		createLeafNode(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(), "path"); 
405
		newLeafNode(otherlv_0, grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); 
493
	}
406
	}
494
407
495
)
408
)
496
)	'::' 
409
)	otherlv_1='::' 
497
    {
410
    {
498
        createLeafNode(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1(), null); 
411
    	newLeafNode(otherlv_1, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
499
    }
412
    }
500
(
413
(
501
(
414
(
502
		{ 
415
		{ 
503
	        currentNode=createCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(), currentNode); 
416
	        newCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
504
	    }
417
	    }
505
		lv_remaining_2_0=ruleQualifiedName		{
418
		lv_remaining_2_0=ruleQualifiedName		{
506
	        if ($current==null) {
419
	        if ($current==null) {
507
	            $current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
420
	            $current = createModelElementForParent(grammarAccess.getQualifiedNameRule());
508
	            associateNodeWithAstElement(currentNode.getParent(), $current);
509
	        }
510
	        try {
511
	       		set(
512
	       			$current, 
513
	       			"remaining",
514
	        		lv_remaining_2_0, 
515
	        		"QualifiedName", 
516
	        		currentNode);
517
	        } catch (ValueConverterException vce) {
518
				handleValueConverterException(vce);
519
	        }
421
	        }
520
	        currentNode = currentNode.getParent();
422
       		set(
423
       			$current, 
424
       			"remaining",
425
        		lv_remaining_2_0, 
426
        		"QualifiedName");
427
	        afterParserOrEnumRuleCall();
521
	    }
428
	    }
522
429
523
)
430
)
Lines 531-537 Link Here
531
// Entry rule entryRuleTypeRule
438
// Entry rule entryRuleTypeRule
532
entryRuleTypeRule returns [EObject current=null] 
439
entryRuleTypeRule returns [EObject current=null] 
533
	:
440
	:
534
	{ currentNode = createCompositeNode(grammarAccess.getTypeRuleRule(), currentNode); }
441
	{ newCompositeNode(grammarAccess.getTypeRuleRule()); }
535
	 iv_ruleTypeRule=ruleTypeRule 
442
	 iv_ruleTypeRule=ruleTypeRule 
536
	 { $current=$iv_ruleTypeRule.current; } 
443
	 { $current=$iv_ruleTypeRule.current; } 
537
	 EOF 
444
	 EOF 
Lines 539-570 Link Here
539
446
540
// Rule TypeRule
447
// Rule TypeRule
541
ruleTypeRule returns [EObject current=null] 
448
ruleTypeRule returns [EObject current=null] 
542
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
449
    @init { enterRule(); 
543
    }
450
    }
544
    @after { resetLookahead(); 
451
    @after { leaveRule(); }:
545
    	lastConsumedNode = currentNode;
546
    }:
547
((
452
((
548
(
453
(
549
		{ 
454
		{ 
550
	        currentNode=createCompositeNode(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); 
455
	        newCompositeNode(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
551
	    }
456
	    }
552
		lv_path_0_0=ruleQualifiedName		{
457
		lv_path_0_0=ruleQualifiedName		{
553
	        if ($current==null) {
458
	        if ($current==null) {
554
	            $current = factory.create(grammarAccess.getTypeRuleRule().getType().getClassifier());
459
	            $current = createModelElementForParent(grammarAccess.getTypeRuleRule());
555
	            associateNodeWithAstElement(currentNode.getParent(), $current);
556
	        }
460
	        }
557
	        try {
461
       		set(
558
	       		set(
462
       			$current, 
559
	       			$current, 
463
       			"path",
560
	       			"path",
464
        		lv_path_0_0, 
561
	        		lv_path_0_0, 
465
        		"QualifiedName");
562
	        		"QualifiedName", 
466
	        afterParserOrEnumRuleCall();
563
	        		currentNode);
564
	        } catch (ValueConverterException vce) {
565
				handleValueConverterException(vce);
566
	        }
567
	        currentNode = currentNode.getParent();
568
	    }
467
	    }
569
468
570
)
469
)
Lines 572-584 Link Here
572
(
471
(
573
		{
472
		{
574
			if ($current==null) {
473
			if ($current==null) {
575
	            $current = factory.create(grammarAccess.getTypeRuleRule().getType().getClassifier());
474
	            $current = createModelElement(grammarAccess.getTypeRuleRule());
576
	            associateNodeWithAstElement(currentNode, $current);
577
	        }
475
	        }
578
        }
476
        }
579
	RULE_ID
477
	otherlv_1=RULE_ID
580
	{
478
	{
581
		createLeafNode(grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0(), "type"); 
479
		newLeafNode(otherlv_1, grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0()); 
582
	}
480
	}
583
481
584
)
482
)
Lines 592-598 Link Here
592
// Entry rule entryRuleMultiplicityRule
490
// Entry rule entryRuleMultiplicityRule
593
entryRuleMultiplicityRule returns [EObject current=null] 
491
entryRuleMultiplicityRule returns [EObject current=null] 
594
	:
492
	:
595
	{ currentNode = createCompositeNode(grammarAccess.getMultiplicityRuleRule(), currentNode); }
493
	{ newCompositeNode(grammarAccess.getMultiplicityRuleRule()); }
596
	 iv_ruleMultiplicityRule=ruleMultiplicityRule 
494
	 iv_ruleMultiplicityRule=ruleMultiplicityRule 
597
	 { $current=$iv_ruleMultiplicityRule.current; } 
495
	 { $current=$iv_ruleMultiplicityRule.current; } 
598
	 EOF 
496
	 EOF 
Lines 600-669 Link Here
600
498
601
// Rule MultiplicityRule
499
// Rule MultiplicityRule
602
ruleMultiplicityRule returns [EObject current=null] 
500
ruleMultiplicityRule returns [EObject current=null] 
603
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
501
    @init { enterRule(); 
604
    }
502
    }
605
    @after { resetLookahead(); 
503
    @after { leaveRule(); }:
606
    	lastConsumedNode = currentNode;
504
(	otherlv_0='[' 
607
    }:
608
(	'[' 
609
    {
505
    {
610
        createLeafNode(grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0(), null); 
506
    	newLeafNode(otherlv_0, grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0());
611
    }
507
    }
612
(
508
(
613
(
509
(
614
		{ 
510
		{ 
615
	        currentNode=createCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0(), currentNode); 
511
	        newCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0()); 
616
	    }
512
	    }
617
		lv_bounds_1_0=ruleBoundSpecification		{
513
		lv_bounds_1_0=ruleBoundSpecification		{
618
	        if ($current==null) {
514
	        if ($current==null) {
619
	            $current = factory.create(grammarAccess.getMultiplicityRuleRule().getType().getClassifier());
515
	            $current = createModelElementForParent(grammarAccess.getMultiplicityRuleRule());
620
	            associateNodeWithAstElement(currentNode.getParent(), $current);
621
	        }
516
	        }
622
	        try {
517
       		add(
623
	       		add(
518
       			$current, 
624
	       			$current, 
519
       			"bounds",
625
	       			"bounds",
520
        		lv_bounds_1_0, 
626
	        		lv_bounds_1_0, 
521
        		"BoundSpecification");
627
	        		"BoundSpecification", 
522
	        afterParserOrEnumRuleCall();
628
	        		currentNode);
629
	        } catch (ValueConverterException vce) {
630
				handleValueConverterException(vce);
631
	        }
632
	        currentNode = currentNode.getParent();
633
	    }
523
	    }
634
524
635
)
525
)
636
)(	'..' 
526
)(	otherlv_2='..' 
637
    {
527
    {
638
        createLeafNode(grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0(), null); 
528
    	newLeafNode(otherlv_2, grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0());
639
    }
529
    }
640
(
530
(
641
(
531
(
642
		{ 
532
		{ 
643
	        currentNode=createCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0(), currentNode); 
533
	        newCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0()); 
644
	    }
534
	    }
645
		lv_bounds_3_0=ruleBoundSpecification		{
535
		lv_bounds_3_0=ruleBoundSpecification		{
646
	        if ($current==null) {
536
	        if ($current==null) {
647
	            $current = factory.create(grammarAccess.getMultiplicityRuleRule().getType().getClassifier());
537
	            $current = createModelElementForParent(grammarAccess.getMultiplicityRuleRule());
648
	            associateNodeWithAstElement(currentNode.getParent(), $current);
649
	        }
538
	        }
650
	        try {
539
       		add(
651
	       		add(
540
       			$current, 
652
	       			$current, 
541
       			"bounds",
653
	       			"bounds",
542
        		lv_bounds_3_0, 
654
	        		lv_bounds_3_0, 
543
        		"BoundSpecification");
655
	        		"BoundSpecification", 
544
	        afterParserOrEnumRuleCall();
656
	        		currentNode);
657
	        } catch (ValueConverterException vce) {
658
				handleValueConverterException(vce);
659
	        }
660
	        currentNode = currentNode.getParent();
661
	    }
545
	    }
662
546
663
)
547
)
664
))?	']' 
548
))?	otherlv_4=']' 
665
    {
549
    {
666
        createLeafNode(grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3(), null); 
550
    	newLeafNode(otherlv_4, grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3());
667
    }
551
    }
668
)
552
)
669
;
553
;
Lines 675-681 Link Here
675
// Entry rule entryRuleBoundSpecification
559
// Entry rule entryRuleBoundSpecification
676
entryRuleBoundSpecification returns [EObject current=null] 
560
entryRuleBoundSpecification returns [EObject current=null] 
677
	:
561
	:
678
	{ currentNode = createCompositeNode(grammarAccess.getBoundSpecificationRule(), currentNode); }
562
	{ newCompositeNode(grammarAccess.getBoundSpecificationRule()); }
679
	 iv_ruleBoundSpecification=ruleBoundSpecification 
563
	 iv_ruleBoundSpecification=ruleBoundSpecification 
680
	 { $current=$iv_ruleBoundSpecification.current; } 
564
	 { $current=$iv_ruleBoundSpecification.current; } 
681
	 EOF 
565
	 EOF 
Lines 683-714 Link Here
683
567
684
// Rule BoundSpecification
568
// Rule BoundSpecification
685
ruleBoundSpecification returns [EObject current=null] 
569
ruleBoundSpecification returns [EObject current=null] 
686
    @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); 
570
    @init { enterRule(); 
687
    }
571
    }
688
    @after { resetLookahead(); 
572
    @after { leaveRule(); }:
689
    	lastConsumedNode = currentNode;
690
    }:
691
(
573
(
692
(
574
(
693
		lv_value_0_0=RULE_UNLIMITEDLITERAL
575
		lv_value_0_0=RULE_UNLIMITEDLITERAL
694
		{
576
		{
695
			createLeafNode(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0(), "value"); 
577
			newLeafNode(lv_value_0_0, grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0()); 
696
		}
578
		}
697
		{
579
		{
698
	        if ($current==null) {
580
	        if ($current==null) {
699
	            $current = factory.create(grammarAccess.getBoundSpecificationRule().getType().getClassifier());
581
	            $current = createModelElement(grammarAccess.getBoundSpecificationRule());
700
	            associateNodeWithAstElement(currentNode, $current);
701
	        }
582
	        }
702
	        try {
583
       		setWithLastConsumed(
703
	       		set(
584
       			$current, 
704
	       			$current, 
585
       			"value",
705
	       			"value",
586
        		lv_value_0_0, 
706
	        		lv_value_0_0, 
587
        		"UnlimitedLiteral");
707
	        		"UnlimitedLiteral", 
708
	        		lastConsumedNode);
709
	        } catch (ValueConverterException vce) {
710
				handleValueConverterException(vce);
711
	        }
712
	    }
588
	    }
713
589
714
)
590
)
Lines 721-752 Link Here
721
597
722
// Rule ModifierKind
598
// Rule ModifierKind
723
ruleModifierKind returns [Enumerator current=null] 
599
ruleModifierKind returns [Enumerator current=null] 
724
    @init { setCurrentLookahead(); resetLookahead(); }
600
    @init { enterRule(); }
725
    @after { resetLookahead(); 
601
    @after { leaveRule(); }:
726
    	lastConsumedNode = currentNode;
602
((	enumLiteral_0='exception' 
727
    }:
728
((	'exception' 
729
	{
603
	{
730
        $current = grammarAccess.getModifierKindAccess().getEXCEPTIONEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
604
        $current = grammarAccess.getModifierKindAccess().getEXCEPTIONEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
731
        createLeafNode(grammarAccess.getModifierKindAccess().getEXCEPTIONEnumLiteralDeclaration_0(), null); 
605
        newLeafNode(enumLiteral_0, grammarAccess.getModifierKindAccess().getEXCEPTIONEnumLiteralDeclaration_0()); 
732
    }
606
    }
733
)
607
)
734
    |(	'stream' 
608
    |(	enumLiteral_1='stream' 
735
	{
609
	{
736
        $current = grammarAccess.getModifierKindAccess().getSTREAMEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
610
        $current = grammarAccess.getModifierKindAccess().getSTREAMEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
737
        createLeafNode(grammarAccess.getModifierKindAccess().getSTREAMEnumLiteralDeclaration_1(), null); 
611
        newLeafNode(enumLiteral_1, grammarAccess.getModifierKindAccess().getSTREAMEnumLiteralDeclaration_1()); 
738
    }
612
    }
739
)
613
)
740
    |(	'ordered' 
614
    |(	enumLiteral_2='ordered' 
741
	{
615
	{
742
        $current = grammarAccess.getModifierKindAccess().getORDEREDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
616
        $current = grammarAccess.getModifierKindAccess().getORDEREDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
743
        createLeafNode(grammarAccess.getModifierKindAccess().getORDEREDEnumLiteralDeclaration_2(), null); 
617
        newLeafNode(enumLiteral_2, grammarAccess.getModifierKindAccess().getORDEREDEnumLiteralDeclaration_2()); 
744
    }
618
    }
745
)
619
)
746
    |(	'unique' 
620
    |(	enumLiteral_3='unique' 
747
	{
621
	{
748
        $current = grammarAccess.getModifierKindAccess().getUNIQUEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
622
        $current = grammarAccess.getModifierKindAccess().getUNIQUEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
749
        createLeafNode(grammarAccess.getModifierKindAccess().getUNIQUEEnumLiteralDeclaration_3(), null); 
623
        newLeafNode(enumLiteral_3, grammarAccess.getModifierKindAccess().getUNIQUEEnumLiteralDeclaration_3()); 
750
    }
624
    }
751
));
625
));
752
626
Lines 754-785 Link Here
754
628
755
// Rule EffectKind
629
// Rule EffectKind
756
ruleEffectKind returns [Enumerator current=null] 
630
ruleEffectKind returns [Enumerator current=null] 
757
    @init { setCurrentLookahead(); resetLookahead(); }
631
    @init { enterRule(); }
758
    @after { resetLookahead(); 
632
    @after { leaveRule(); }:
759
    	lastConsumedNode = currentNode;
633
((	enumLiteral_0='create' 
760
    }:
761
((	'create' 
762
	{
634
	{
763
        $current = grammarAccess.getEffectKindAccess().getCREATEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
635
        $current = grammarAccess.getEffectKindAccess().getCREATEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
764
        createLeafNode(grammarAccess.getEffectKindAccess().getCREATEEnumLiteralDeclaration_0(), null); 
636
        newLeafNode(enumLiteral_0, grammarAccess.getEffectKindAccess().getCREATEEnumLiteralDeclaration_0()); 
765
    }
637
    }
766
)
638
)
767
    |(	'read' 
639
    |(	enumLiteral_1='read' 
768
	{
640
	{
769
        $current = grammarAccess.getEffectKindAccess().getREADEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
641
        $current = grammarAccess.getEffectKindAccess().getREADEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
770
        createLeafNode(grammarAccess.getEffectKindAccess().getREADEnumLiteralDeclaration_1(), null); 
642
        newLeafNode(enumLiteral_1, grammarAccess.getEffectKindAccess().getREADEnumLiteralDeclaration_1()); 
771
    }
643
    }
772
)
644
)
773
    |(	'update' 
645
    |(	enumLiteral_2='update' 
774
	{
646
	{
775
        $current = grammarAccess.getEffectKindAccess().getUPDATEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
647
        $current = grammarAccess.getEffectKindAccess().getUPDATEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
776
        createLeafNode(grammarAccess.getEffectKindAccess().getUPDATEEnumLiteralDeclaration_2(), null); 
648
        newLeafNode(enumLiteral_2, grammarAccess.getEffectKindAccess().getUPDATEEnumLiteralDeclaration_2()); 
777
    }
649
    }
778
)
650
)
779
    |(	'delete' 
651
    |(	enumLiteral_3='delete' 
780
	{
652
	{
781
        $current = grammarAccess.getEffectKindAccess().getDELETEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
653
        $current = grammarAccess.getEffectKindAccess().getDELETEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
782
        createLeafNode(grammarAccess.getEffectKindAccess().getDELETEEnumLiteralDeclaration_3(), null); 
654
        newLeafNode(enumLiteral_3, grammarAccess.getEffectKindAccess().getDELETEEnumLiteralDeclaration_3()); 
783
    }
655
    }
784
));
656
));
785
657
Lines 787-818 Link Here
787
659
788
// Rule VisibilityKind
660
// Rule VisibilityKind
789
ruleVisibilityKind returns [Enumerator current=null] 
661
ruleVisibilityKind returns [Enumerator current=null] 
790
    @init { setCurrentLookahead(); resetLookahead(); }
662
    @init { enterRule(); }
791
    @after { resetLookahead(); 
663
    @after { leaveRule(); }:
792
    	lastConsumedNode = currentNode;
664
((	enumLiteral_0='+' 
793
    }:
794
((	'+' 
795
	{
665
	{
796
        $current = grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
666
        $current = grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
797
        createLeafNode(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0(), null); 
667
        newLeafNode(enumLiteral_0, grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0()); 
798
    }
668
    }
799
)
669
)
800
    |(	'-' 
670
    |(	enumLiteral_1='-' 
801
	{
671
	{
802
        $current = grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
672
        $current = grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
803
        createLeafNode(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1(), null); 
673
        newLeafNode(enumLiteral_1, grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1()); 
804
    }
674
    }
805
)
675
)
806
    |(	'#' 
676
    |(	enumLiteral_2='#' 
807
	{
677
	{
808
        $current = grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
678
        $current = grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
809
        createLeafNode(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2(), null); 
679
        newLeafNode(enumLiteral_2, grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2()); 
810
    }
680
    }
811
)
681
)
812
    |(	'~' 
682
    |(	enumLiteral_3='~' 
813
	{
683
	{
814
        $current = grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
684
        $current = grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
815
        createLeafNode(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3(), null); 
685
        newLeafNode(enumLiteral_3, grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3()); 
816
    }
686
    }
817
));
687
));
818
688
Lines 820-851 Link Here
820
690
821
// Rule Direction
691
// Rule Direction
822
ruleDirection returns [Enumerator current=null] 
692
ruleDirection returns [Enumerator current=null] 
823
    @init { setCurrentLookahead(); resetLookahead(); }
693
    @init { enterRule(); }
824
    @after { resetLookahead(); 
694
    @after { leaveRule(); }:
825
    	lastConsumedNode = currentNode;
695
((	enumLiteral_0='in' 
826
    }:
827
((	'in' 
828
	{
696
	{
829
        $current = grammarAccess.getDirectionAccess().getINEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
697
        $current = grammarAccess.getDirectionAccess().getINEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
830
        createLeafNode(grammarAccess.getDirectionAccess().getINEnumLiteralDeclaration_0(), null); 
698
        newLeafNode(enumLiteral_0, grammarAccess.getDirectionAccess().getINEnumLiteralDeclaration_0()); 
831
    }
699
    }
832
)
700
)
833
    |(	'out' 
701
    |(	enumLiteral_1='out' 
834
	{
702
	{
835
        $current = grammarAccess.getDirectionAccess().getOUTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
703
        $current = grammarAccess.getDirectionAccess().getOUTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
836
        createLeafNode(grammarAccess.getDirectionAccess().getOUTEnumLiteralDeclaration_1(), null); 
704
        newLeafNode(enumLiteral_1, grammarAccess.getDirectionAccess().getOUTEnumLiteralDeclaration_1()); 
837
    }
705
    }
838
)
706
)
839
    |(	'inout' 
707
    |(	enumLiteral_2='inout' 
840
	{
708
	{
841
        $current = grammarAccess.getDirectionAccess().getINOUTEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
709
        $current = grammarAccess.getDirectionAccess().getINOUTEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
842
        createLeafNode(grammarAccess.getDirectionAccess().getINOUTEnumLiteralDeclaration_2(), null); 
710
        newLeafNode(enumLiteral_2, grammarAccess.getDirectionAccess().getINOUTEnumLiteralDeclaration_2()); 
843
    }
711
    }
844
)
712
)
845
    |(	'return' 
713
    |(	enumLiteral_3='return' 
846
	{
714
	{
847
        $current = grammarAccess.getDirectionAccess().getRETURNEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
715
        $current = grammarAccess.getDirectionAccess().getRETURNEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
848
        createLeafNode(grammarAccess.getDirectionAccess().getRETURNEnumLiteralDeclaration_3(), null); 
716
        newLeafNode(enumLiteral_3, grammarAccess.getDirectionAccess().getRETURNEnumLiteralDeclaration_3()); 
849
    }
717
    }
850
));
718
));
851
719
Lines 857-863 Link Here
857
725
858
RULE_INT : ('0'..'9')+;
726
RULE_INT : ('0'..'9')+;
859
727
860
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
728
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
861
729
862
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
730
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
863
731
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameterLexer.java (-1151 / +1424 lines)
Lines 1-22 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.parameter.editor.xtext.parser.antlr.internal;
1
package org.eclipse.papyrus.parameter.editor.xtext.parser.antlr.internal;
15
2
16
// Hack: Use our own Lexer superclass by means of import. 
3
// Hack: Use our own Lexer superclass by means of import. 
17
// Currently there is no other way to specify the superclass for the lexer.
4
// Currently there is no other way to specify the superclass for the lexer.
18
import org.eclipse.xtext.parser.antlr.Lexer;
5
import org.eclipse.xtext.parser.antlr.Lexer;
19
6
7
20
import org.antlr.runtime.*;
8
import org.antlr.runtime.*;
21
import java.util.Stack;
9
import java.util.Stack;
22
import java.util.List;
10
import java.util.List;
Lines 24-1461 Link Here
24
12
25
@SuppressWarnings("all")
13
@SuppressWarnings("all")
26
public class InternalUmlParameterLexer extends Lexer {
14
public class InternalUmlParameterLexer extends Lexer {
27
15
    public static final int RULE_ID=4;
28
	public static final int RULE_ID = 4;
16
    public static final int T__29=29;
29
17
    public static final int RULE_UNLIMITEDLITERAL=5;
30
	public static final int RULE_UNLIMITEDLITERAL = 5;
18
    public static final int T__28=28;
31
19
    public static final int T__27=27;
32
	public static final int RULE_ANY_OTHER = 11;
20
    public static final int T__26=26;
33
21
    public static final int T__25=25;
34
	public static final int T29 = 29;
22
    public static final int T__24=24;
35
23
    public static final int T__23=23;
36
	public static final int T28 = 28;
24
    public static final int T__22=22;
37
25
    public static final int RULE_ANY_OTHER=11;
38
	public static final int T27 = 27;
26
    public static final int T__21=21;
39
27
    public static final int T__20=20;
40
	public static final int T26 = 26;
28
    public static final int EOF=-1;
41
29
    public static final int RULE_SL_COMMENT=9;
42
	public static final int T25 = 25;
30
    public static final int RULE_ML_COMMENT=8;
43
31
    public static final int T__19=19;
44
	public static final int Tokens = 38;
32
    public static final int T__30=30;
45
33
    public static final int T__31=31;
46
	public static final int T24 = 24;
34
    public static final int T__32=32;
47
35
    public static final int RULE_STRING=7;
48
	public static final int EOF = -1;
36
    public static final int T__16=16;
49
37
    public static final int T__33=33;
50
	public static final int RULE_SL_COMMENT = 9;
38
    public static final int T__15=15;
51
39
    public static final int T__34=34;
52
	public static final int T23 = 23;
40
    public static final int T__18=18;
53
41
    public static final int T__35=35;
54
	public static final int T22 = 22;
42
    public static final int T__17=17;
55
43
    public static final int T__36=36;
56
	public static final int T21 = 21;
44
    public static final int T__12=12;
57
45
    public static final int T__37=37;
58
	public static final int T20 = 20;
46
    public static final int T__14=14;
59
47
    public static final int T__13=13;
60
	public static final int RULE_ML_COMMENT = 8;
48
    public static final int RULE_INT=6;
61
49
    public static final int RULE_WS=10;
62
	public static final int RULE_STRING = 7;
63
64
	public static final int RULE_INT = 6;
65
66
	public static final int T37 = 37;
67
68
	public static final int T12 = 12;
69
70
	public static final int T13 = 13;
71
72
	public static final int T14 = 14;
73
74
	public static final int T34 = 34;
75
76
	public static final int RULE_WS = 10;
77
78
	public static final int T15 = 15;
79
80
	public static final int T33 = 33;
81
50
82
	public static final int T16 = 16;
51
    // delegates
52
    // delegators
83
53
84
	public static final int T36 = 36;
54
    public InternalUmlParameterLexer() {;} 
55
    public InternalUmlParameterLexer(CharStream input) {
56
        this(input, new RecognizerSharedState());
57
    }
58
    public InternalUmlParameterLexer(CharStream input, RecognizerSharedState state) {
59
        super(input,state);
85
60
86
	public static final int T17 = 17;
61
    }
62
    public String getGrammarFileName() { return "../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g"; }
87
63
88
	public static final int T35 = 35;
64
    // $ANTLR start "T__12"
65
    public final void mT__12() throws RecognitionException {
66
        try {
67
            int _type = T__12;
68
            int _channel = DEFAULT_TOKEN_CHANNEL;
69
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:11:7: ( ':' )
70
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:11:9: ':'
71
            {
72
            match(':'); 
89
73
90
	public static final int T18 = 18;
74
            }
91
75
92
	public static final int T30 = 30;
76
            state.type = _type;
77
            state.channel = _channel;
78
        }
79
        finally {
80
        }
81
    }
82
    // $ANTLR end "T__12"
93
83
94
	public static final int T19 = 19;
84
    // $ANTLR start "T__13"
85
    public final void mT__13() throws RecognitionException {
86
        try {
87
            int _type = T__13;
88
            int _channel = DEFAULT_TOKEN_CHANNEL;
89
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:12:7: ( '<Undefined>' )
90
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:12:9: '<Undefined>'
91
            {
92
            match("<Undefined>"); 
95
93
96
	public static final int T32 = 32;
97
94
98
	public static final int T31 = 31;
95
            }
99
96
100
	public InternalUmlParameterLexer() {
97
            state.type = _type;
101
		;
98
            state.channel = _channel;
102
	}
99
        }
100
        finally {
101
        }
102
    }
103
    // $ANTLR end "T__13"
103
104
104
	public InternalUmlParameterLexer(CharStream input) {
105
    // $ANTLR start "T__14"
105
		super(input);
106
    public final void mT__14() throws RecognitionException {
106
	}
107
        try {
108
            int _type = T__14;
109
            int _channel = DEFAULT_TOKEN_CHANNEL;
110
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:13:7: ( '{' )
111
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:13:9: '{'
112
            {
113
            match('{'); 
107
114
108
	public String getGrammarFileName() {
115
            }
109
		return "../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g";
110
	}
111
116
112
	// $ANTLR start T12
117
            state.type = _type;
113
	public final void mT12() throws RecognitionException {
118
            state.channel = _channel;
114
		try {
119
        }
115
			int _type = T12;
120
        finally {
116
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:10:5: ( ':' )
121
        }
117
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:10:7: ':'
122
    }
118
			{
123
    // $ANTLR end "T__14"
119
				match(':');
120
124
121
			}
125
    // $ANTLR start "T__15"
126
    public final void mT__15() throws RecognitionException {
127
        try {
128
            int _type = T__15;
129
            int _channel = DEFAULT_TOKEN_CHANNEL;
130
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:14:7: ( ',' )
131
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:14:9: ','
132
            {
133
            match(','); 
122
134
123
			this.type = _type;
135
            }
124
		} finally {
125
		}
126
	}
127
136
128
	// $ANTLR end T12
137
            state.type = _type;
138
            state.channel = _channel;
139
        }
140
        finally {
141
        }
142
    }
143
    // $ANTLR end "T__15"
129
144
130
	// $ANTLR start T13
145
    // $ANTLR start "T__16"
131
	public final void mT13() throws RecognitionException {
146
    public final void mT__16() throws RecognitionException {
132
		try {
147
        try {
133
			int _type = T13;
148
            int _type = T__16;
134
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:11:5: ( '<Undefined>' )
149
            int _channel = DEFAULT_TOKEN_CHANNEL;
135
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:11:7: '<Undefined>'
150
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:15:7: ( '}' )
136
			{
151
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:15:9: '}'
137
				match("<Undefined>");
152
            {
153
            match('}'); 
138
154
155
            }
139
156
140
			}
157
            state.type = _type;
158
            state.channel = _channel;
159
        }
160
        finally {
161
        }
162
    }
163
    // $ANTLR end "T__16"
141
164
142
			this.type = _type;
165
    // $ANTLR start "T__17"
143
		} finally {
166
    public final void mT__17() throws RecognitionException {
144
		}
167
        try {
145
	}
168
            int _type = T__17;
169
            int _channel = DEFAULT_TOKEN_CHANNEL;
170
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:16:7: ( 'effect: ' )
171
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:16:9: 'effect: '
172
            {
173
            match("effect: "); 
146
174
147
	// $ANTLR end T13
148
175
149
	// $ANTLR start T14
176
            }
150
	public final void mT14() throws RecognitionException {
151
		try {
152
			int _type = T14;
153
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:12:5: ( '{' )
154
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:12:7: '{'
155
			{
156
				match('{');
157
177
158
			}
178
            state.type = _type;
179
            state.channel = _channel;
180
        }
181
        finally {
182
        }
183
    }
184
    // $ANTLR end "T__17"
159
185
160
			this.type = _type;
186
    // $ANTLR start "T__18"
161
		} finally {
187
    public final void mT__18() throws RecognitionException {
162
		}
188
        try {
163
	}
189
            int _type = T__18;
190
            int _channel = DEFAULT_TOKEN_CHANNEL;
191
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:17:7: ( '::' )
192
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:17:9: '::'
193
            {
194
            match("::"); 
164
195
165
	// $ANTLR end T14
166
196
167
	// $ANTLR start T15
197
            }
168
	public final void mT15() throws RecognitionException {
169
		try {
170
			int _type = T15;
171
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:13:5: ( ',' )
172
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:13:7: ','
173
			{
174
				match(',');
175
198
176
			}
199
            state.type = _type;
200
            state.channel = _channel;
201
        }
202
        finally {
203
        }
204
    }
205
    // $ANTLR end "T__18"
177
206
178
			this.type = _type;
207
    // $ANTLR start "T__19"
179
		} finally {
208
    public final void mT__19() throws RecognitionException {
180
		}
209
        try {
181
	}
210
            int _type = T__19;
211
            int _channel = DEFAULT_TOKEN_CHANNEL;
212
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:18:7: ( '[' )
213
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:18:9: '['
214
            {
215
            match('['); 
182
216
183
	// $ANTLR end T15
217
            }
184
218
185
	// $ANTLR start T16
219
            state.type = _type;
186
	public final void mT16() throws RecognitionException {
220
            state.channel = _channel;
187
		try {
221
        }
188
			int _type = T16;
222
        finally {
189
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:14:5: ( '}' )
223
        }
190
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:14:7: '}'
224
    }
191
			{
225
    // $ANTLR end "T__19"
192
				match('}');
193
226
194
			}
227
    // $ANTLR start "T__20"
228
    public final void mT__20() throws RecognitionException {
229
        try {
230
            int _type = T__20;
231
            int _channel = DEFAULT_TOKEN_CHANNEL;
232
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:19:7: ( '..' )
233
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:19:9: '..'
234
            {
235
            match(".."); 
195
236
196
			this.type = _type;
197
		} finally {
198
		}
199
	}
200
237
201
	// $ANTLR end T16
238
            }
202
239
203
	// $ANTLR start T17
240
            state.type = _type;
204
	public final void mT17() throws RecognitionException {
241
            state.channel = _channel;
205
		try {
242
        }
206
			int _type = T17;
243
        finally {
207
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:15:5: ( 'effect: ' )
244
        }
208
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:15:7: 'effect: '
245
    }
209
			{
246
    // $ANTLR end "T__20"
210
				match("effect: ");
211
247
248
    // $ANTLR start "T__21"
249
    public final void mT__21() throws RecognitionException {
250
        try {
251
            int _type = T__21;
252
            int _channel = DEFAULT_TOKEN_CHANNEL;
253
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:20:7: ( ']' )
254
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:20:9: ']'
255
            {
256
            match(']'); 
212
257
213
			}
258
            }
214
259
215
			this.type = _type;
260
            state.type = _type;
216
		} finally {
261
            state.channel = _channel;
217
		}
262
        }
218
	}
263
        finally {
264
        }
265
    }
266
    // $ANTLR end "T__21"
219
267
220
	// $ANTLR end T17
268
    // $ANTLR start "T__22"
269
    public final void mT__22() throws RecognitionException {
270
        try {
271
            int _type = T__22;
272
            int _channel = DEFAULT_TOKEN_CHANNEL;
273
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:21:7: ( 'exception' )
274
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:21:9: 'exception'
275
            {
276
            match("exception"); 
221
277
222
	// $ANTLR start T18
223
	public final void mT18() throws RecognitionException {
224
		try {
225
			int _type = T18;
226
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:16:5: ( '::' )
227
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:16:7: '::'
228
			{
229
				match("::");
230
278
279
            }
231
280
232
			}
281
            state.type = _type;
282
            state.channel = _channel;
283
        }
284
        finally {
285
        }
286
    }
287
    // $ANTLR end "T__22"
233
288
234
			this.type = _type;
289
    // $ANTLR start "T__23"
235
		} finally {
290
    public final void mT__23() throws RecognitionException {
236
		}
291
        try {
237
	}
292
            int _type = T__23;
293
            int _channel = DEFAULT_TOKEN_CHANNEL;
294
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:22:7: ( 'stream' )
295
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:22:9: 'stream'
296
            {
297
            match("stream"); 
238
298
239
	// $ANTLR end T18
240
299
241
	// $ANTLR start T19
300
            }
242
	public final void mT19() throws RecognitionException {
243
		try {
244
			int _type = T19;
245
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:17:5: ( '[' )
246
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:17:7: '['
247
			{
248
				match('[');
249
301
250
			}
302
            state.type = _type;
303
            state.channel = _channel;
304
        }
305
        finally {
306
        }
307
    }
308
    // $ANTLR end "T__23"
251
309
252
			this.type = _type;
310
    // $ANTLR start "T__24"
253
		} finally {
311
    public final void mT__24() throws RecognitionException {
254
		}
312
        try {
255
	}
313
            int _type = T__24;
314
            int _channel = DEFAULT_TOKEN_CHANNEL;
315
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:23:7: ( 'ordered' )
316
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:23:9: 'ordered'
317
            {
318
            match("ordered"); 
256
319
257
	// $ANTLR end T19
258
320
259
	// $ANTLR start T20
321
            }
260
	public final void mT20() throws RecognitionException {
261
		try {
262
			int _type = T20;
263
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:18:5: ( '..' )
264
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:18:7: '..'
265
			{
266
				match("..");
267
322
323
            state.type = _type;
324
            state.channel = _channel;
325
        }
326
        finally {
327
        }
328
    }
329
    // $ANTLR end "T__24"
268
330
269
			}
331
    // $ANTLR start "T__25"
332
    public final void mT__25() throws RecognitionException {
333
        try {
334
            int _type = T__25;
335
            int _channel = DEFAULT_TOKEN_CHANNEL;
336
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:24:7: ( 'unique' )
337
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:24:9: 'unique'
338
            {
339
            match("unique"); 
270
340
271
			this.type = _type;
272
		} finally {
273
		}
274
	}
275
341
276
	// $ANTLR end T20
342
            }
277
343
278
	// $ANTLR start T21
344
            state.type = _type;
279
	public final void mT21() throws RecognitionException {
345
            state.channel = _channel;
280
		try {
346
        }
281
			int _type = T21;
347
        finally {
282
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:19:5: ( ']' )
348
        }
283
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:19:7: ']'
349
    }
284
			{
350
    // $ANTLR end "T__25"
285
				match(']');
286
351
287
			}
352
    // $ANTLR start "T__26"
353
    public final void mT__26() throws RecognitionException {
354
        try {
355
            int _type = T__26;
356
            int _channel = DEFAULT_TOKEN_CHANNEL;
357
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:25:7: ( 'create' )
358
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:25:9: 'create'
359
            {
360
            match("create"); 
288
361
289
			this.type = _type;
290
		} finally {
291
		}
292
	}
293
362
294
	// $ANTLR end T21
363
            }
295
364
296
	// $ANTLR start T22
365
            state.type = _type;
297
	public final void mT22() throws RecognitionException {
366
            state.channel = _channel;
298
		try {
367
        }
299
			int _type = T22;
368
        finally {
300
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:20:5: ( 'exception' )
369
        }
301
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:20:7: 'exception'
370
    }
302
			{
371
    // $ANTLR end "T__26"
303
				match("exception");
304
372
373
    // $ANTLR start "T__27"
374
    public final void mT__27() throws RecognitionException {
375
        try {
376
            int _type = T__27;
377
            int _channel = DEFAULT_TOKEN_CHANNEL;
378
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:26:7: ( 'read' )
379
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:26:9: 'read'
380
            {
381
            match("read"); 
305
382
306
			}
307
383
308
			this.type = _type;
384
            }
309
		} finally {
310
		}
311
	}
312
385
313
	// $ANTLR end T22
386
            state.type = _type;
387
            state.channel = _channel;
388
        }
389
        finally {
390
        }
391
    }
392
    // $ANTLR end "T__27"
314
393
315
	// $ANTLR start T23
394
    // $ANTLR start "T__28"
316
	public final void mT23() throws RecognitionException {
395
    public final void mT__28() throws RecognitionException {
317
		try {
396
        try {
318
			int _type = T23;
397
            int _type = T__28;
319
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:21:5: ( 'stream' )
398
            int _channel = DEFAULT_TOKEN_CHANNEL;
320
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:21:7: 'stream'
399
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:27:7: ( 'update' )
321
			{
400
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:27:9: 'update'
322
				match("stream");
401
            {
402
            match("update"); 
323
403
324
404
325
			}
405
            }
326
406
327
			this.type = _type;
407
            state.type = _type;
328
		} finally {
408
            state.channel = _channel;
329
		}
409
        }
330
	}
410
        finally {
411
        }
412
    }
413
    // $ANTLR end "T__28"
331
414
332
	// $ANTLR end T23
415
    // $ANTLR start "T__29"
416
    public final void mT__29() throws RecognitionException {
417
        try {
418
            int _type = T__29;
419
            int _channel = DEFAULT_TOKEN_CHANNEL;
420
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:28:7: ( 'delete' )
421
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:28:9: 'delete'
422
            {
423
            match("delete"); 
333
424
334
	// $ANTLR start T24
335
	public final void mT24() throws RecognitionException {
336
		try {
337
			int _type = T24;
338
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:22:5: ( 'ordered' )
339
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:22:7: 'ordered'
340
			{
341
				match("ordered");
342
425
426
            }
343
427
344
			}
428
            state.type = _type;
429
            state.channel = _channel;
430
        }
431
        finally {
432
        }
433
    }
434
    // $ANTLR end "T__29"
345
435
346
			this.type = _type;
436
    // $ANTLR start "T__30"
347
		} finally {
437
    public final void mT__30() throws RecognitionException {
348
		}
438
        try {
349
	}
439
            int _type = T__30;
440
            int _channel = DEFAULT_TOKEN_CHANNEL;
441
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:29:7: ( '+' )
442
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:29:9: '+'
443
            {
444
            match('+'); 
350
445
351
	// $ANTLR end T24
446
            }
352
447
353
	// $ANTLR start T25
448
            state.type = _type;
354
	public final void mT25() throws RecognitionException {
449
            state.channel = _channel;
355
		try {
450
        }
356
			int _type = T25;
451
        finally {
357
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:23:5: ( 'unique' )
452
        }
358
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:23:7: 'unique'
453
    }
359
			{
454
    // $ANTLR end "T__30"
360
				match("unique");
361
455
456
    // $ANTLR start "T__31"
457
    public final void mT__31() throws RecognitionException {
458
        try {
459
            int _type = T__31;
460
            int _channel = DEFAULT_TOKEN_CHANNEL;
461
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:30:7: ( '-' )
462
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:30:9: '-'
463
            {
464
            match('-'); 
362
465
363
			}
466
            }
364
467
365
			this.type = _type;
468
            state.type = _type;
366
		} finally {
469
            state.channel = _channel;
367
		}
470
        }
368
	}
471
        finally {
472
        }
473
    }
474
    // $ANTLR end "T__31"
369
475
370
	// $ANTLR end T25
476
    // $ANTLR start "T__32"
477
    public final void mT__32() throws RecognitionException {
478
        try {
479
            int _type = T__32;
480
            int _channel = DEFAULT_TOKEN_CHANNEL;
481
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:31:7: ( '#' )
482
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:31:9: '#'
483
            {
484
            match('#'); 
371
485
372
	// $ANTLR start T26
486
            }
373
	public final void mT26() throws RecognitionException {
374
		try {
375
			int _type = T26;
376
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:24:5: ( 'create' )
377
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:24:7: 'create'
378
			{
379
				match("create");
380
487
488
            state.type = _type;
489
            state.channel = _channel;
490
        }
491
        finally {
492
        }
493
    }
494
    // $ANTLR end "T__32"
381
495
382
			}
496
    // $ANTLR start "T__33"
497
    public final void mT__33() throws RecognitionException {
498
        try {
499
            int _type = T__33;
500
            int _channel = DEFAULT_TOKEN_CHANNEL;
501
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:32:7: ( '~' )
502
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:32:9: '~'
503
            {
504
            match('~'); 
383
505
384
			this.type = _type;
506
            }
385
		} finally {
386
		}
387
	}
388
507
389
	// $ANTLR end T26
508
            state.type = _type;
509
            state.channel = _channel;
510
        }
511
        finally {
512
        }
513
    }
514
    // $ANTLR end "T__33"
390
515
391
	// $ANTLR start T27
516
    // $ANTLR start "T__34"
392
	public final void mT27() throws RecognitionException {
517
    public final void mT__34() throws RecognitionException {
393
		try {
518
        try {
394
			int _type = T27;
519
            int _type = T__34;
395
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:25:5: ( 'read' )
520
            int _channel = DEFAULT_TOKEN_CHANNEL;
396
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:25:7: 'read'
521
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:33:7: ( 'in' )
397
			{
522
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:33:9: 'in'
398
				match("read");
523
            {
524
            match("in"); 
399
525
400
526
401
			}
527
            }
402
528
403
			this.type = _type;
529
            state.type = _type;
404
		} finally {
530
            state.channel = _channel;
405
		}
531
        }
406
	}
532
        finally {
533
        }
534
    }
535
    // $ANTLR end "T__34"
407
536
408
	// $ANTLR end T27
537
    // $ANTLR start "T__35"
538
    public final void mT__35() throws RecognitionException {
539
        try {
540
            int _type = T__35;
541
            int _channel = DEFAULT_TOKEN_CHANNEL;
542
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:34:7: ( 'out' )
543
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:34:9: 'out'
544
            {
545
            match("out"); 
409
546
410
	// $ANTLR start T28
411
	public final void mT28() throws RecognitionException {
412
		try {
413
			int _type = T28;
414
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:26:5: ( 'update' )
415
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:26:7: 'update'
416
			{
417
				match("update");
418
547
548
            }
419
549
420
			}
550
            state.type = _type;
551
            state.channel = _channel;
552
        }
553
        finally {
554
        }
555
    }
556
    // $ANTLR end "T__35"
421
557
422
			this.type = _type;
558
    // $ANTLR start "T__36"
423
		} finally {
559
    public final void mT__36() throws RecognitionException {
424
		}
560
        try {
425
	}
561
            int _type = T__36;
562
            int _channel = DEFAULT_TOKEN_CHANNEL;
563
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:35:7: ( 'inout' )
564
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:35:9: 'inout'
565
            {
566
            match("inout"); 
426
567
427
	// $ANTLR end T28
428
568
429
	// $ANTLR start T29
569
            }
430
	public final void mT29() throws RecognitionException {
431
		try {
432
			int _type = T29;
433
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:27:5: ( 'delete' )
434
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:27:7: 'delete'
435
			{
436
				match("delete");
437
570
571
            state.type = _type;
572
            state.channel = _channel;
573
        }
574
        finally {
575
        }
576
    }
577
    // $ANTLR end "T__36"
438
578
439
			}
579
    // $ANTLR start "T__37"
580
    public final void mT__37() throws RecognitionException {
581
        try {
582
            int _type = T__37;
583
            int _channel = DEFAULT_TOKEN_CHANNEL;
584
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:36:7: ( 'return' )
585
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:36:9: 'return'
586
            {
587
            match("return"); 
440
588
441
			this.type = _type;
442
		} finally {
443
		}
444
	}
445
589
446
	// $ANTLR end T29
590
            }
447
591
448
	// $ANTLR start T30
592
            state.type = _type;
449
	public final void mT30() throws RecognitionException {
593
            state.channel = _channel;
450
		try {
594
        }
451
			int _type = T30;
595
        finally {
452
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:28:5: ( '+' )
596
        }
453
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:28:7: '+'
597
    }
454
			{
598
    // $ANTLR end "T__37"
455
				match('+');
456
599
457
			}
600
    // $ANTLR start "RULE_UNLIMITEDLITERAL"
601
    public final void mRULE_UNLIMITEDLITERAL() throws RecognitionException {
602
        try {
603
            int _type = RULE_UNLIMITEDLITERAL;
604
            int _channel = DEFAULT_TOKEN_CHANNEL;
605
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:722:23: ( ( '0' .. '9' ( '0' .. '9' )* | '*' ) )
606
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:722:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
607
            {
608
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:722:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
609
            int alt2=2;
610
            int LA2_0 = input.LA(1);
458
611
459
			this.type = _type;
612
            if ( ((LA2_0>='0' && LA2_0<='9')) ) {
460
		} finally {
613
                alt2=1;
461
		}
614
            }
462
	}
615
            else if ( (LA2_0=='*') ) {
616
                alt2=2;
617
            }
618
            else {
619
                NoViableAltException nvae =
620
                    new NoViableAltException("", 2, 0, input);
463
621
464
	// $ANTLR end T30
622
                throw nvae;
623
            }
624
            switch (alt2) {
625
                case 1 :
626
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:722:26: '0' .. '9' ( '0' .. '9' )*
627
                    {
628
                    matchRange('0','9'); 
629
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:722:35: ( '0' .. '9' )*
630
                    loop1:
631
                    do {
632
                        int alt1=2;
633
                        int LA1_0 = input.LA(1);
465
634
466
	// $ANTLR start T31
635
                        if ( ((LA1_0>='0' && LA1_0<='9')) ) {
467
	public final void mT31() throws RecognitionException {
636
                            alt1=1;
468
		try {
637
                        }
469
			int _type = T31;
470
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:29:5: ( '-' )
471
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:29:7: '-'
472
			{
473
				match('-');
474
638
475
			}
476
639
477
			this.type = _type;
640
                        switch (alt1) {
478
		} finally {
641
                    	case 1 :
479
		}
642
                    	    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:722:36: '0' .. '9'
480
	}
643
                    	    {
644
                    	    matchRange('0','9'); 
481
645
482
	// $ANTLR end T31
646
                    	    }
647
                    	    break;
483
648
484
	// $ANTLR start T32
649
                    	default :
485
	public final void mT32() throws RecognitionException {
650
                    	    break loop1;
486
		try {
651
                        }
487
			int _type = T32;
652
                    } while (true);
488
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:30:5: ( '#' )
489
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:30:7: '#'
490
			{
491
				match('#');
492
653
493
			}
494
654
495
			this.type = _type;
655
                    }
496
		} finally {
656
                    break;
497
		}
657
                case 2 :
498
	}
658
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:722:47: '*'
659
                    {
660
                    match('*'); 
499
661
500
	// $ANTLR end T32
662
                    }
663
                    break;
501
664
502
	// $ANTLR start T33
665
            }
503
	public final void mT33() throws RecognitionException {
504
		try {
505
			int _type = T33;
506
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:31:5: ( '~' )
507
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:31:7: '~'
508
			{
509
				match('~');
510
666
511
			}
512
667
513
			this.type = _type;
668
            }
514
		} finally {
515
		}
516
	}
517
669
518
	// $ANTLR end T33
670
            state.type = _type;
671
            state.channel = _channel;
672
        }
673
        finally {
674
        }
675
    }
676
    // $ANTLR end "RULE_UNLIMITEDLITERAL"
519
677
520
	// $ANTLR start T34
678
    // $ANTLR start "RULE_ID"
521
	public final void mT34() throws RecognitionException {
679
    public final void mRULE_ID() throws RecognitionException {
522
		try {
680
        try {
523
			int _type = T34;
681
            int _type = RULE_ID;
524
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:32:5: ( 'in' )
682
            int _channel = DEFAULT_TOKEN_CHANNEL;
525
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:32:7: 'in'
683
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:724:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
526
			{
684
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:724:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
527
				match("in");
685
            {
686
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:724:11: ( '^' )?
687
            int alt3=2;
688
            int LA3_0 = input.LA(1);
528
689
690
            if ( (LA3_0=='^') ) {
691
                alt3=1;
692
            }
693
            switch (alt3) {
694
                case 1 :
695
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:724:11: '^'
696
                    {
697
                    match('^'); 
529
698
530
			}
699
                    }
700
                    break;
531
701
532
			this.type = _type;
702
            }
533
		} finally {
534
		}
535
	}
536
703
537
	// $ANTLR end T34
704
            if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
705
                input.consume();
538
706
539
	// $ANTLR start T35
707
            }
540
	public final void mT35() throws RecognitionException {
708
            else {
541
		try {
709
                MismatchedSetException mse = new MismatchedSetException(null,input);
542
			int _type = T35;
710
                recover(mse);
543
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:33:5: ( 'out' )
711
                throw mse;}
544
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:33:7: 'out'
545
			{
546
				match("out");
547
712
713
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:724:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
714
            loop4:
715
            do {
716
                int alt4=2;
717
                int LA4_0 = input.LA(1);
548
718
549
			}
719
                if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {
720
                    alt4=1;
721
                }
550
722
551
			this.type = _type;
552
		} finally {
553
		}
554
	}
555
723
556
	// $ANTLR end T35
724
                switch (alt4) {
725
            	case 1 :
726
            	    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:
727
            	    {
728
            	    if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
729
            	        input.consume();
557
730
558
	// $ANTLR start T36
731
            	    }
559
	public final void mT36() throws RecognitionException {
732
            	    else {
560
		try {
733
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
561
			int _type = T36;
734
            	        recover(mse);
562
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:34:5: ( 'inout' )
735
            	        throw mse;}
563
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:34:7: 'inout'
564
			{
565
				match("inout");
566
736
567
737
568
			}
738
            	    }
739
            	    break;
569
740
570
			this.type = _type;
741
            	default :
571
		} finally {
742
            	    break loop4;
572
		}
743
                }
573
	}
744
            } while (true);
574
745
575
	// $ANTLR end T36
576
746
577
	// $ANTLR start T37
747
            }
578
	public final void mT37() throws RecognitionException {
579
		try {
580
			int _type = T37;
581
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:35:5: ( 'return' )
582
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:35:7: 'return'
583
			{
584
				match("return");
585
748
749
            state.type = _type;
750
            state.channel = _channel;
751
        }
752
        finally {
753
        }
754
    }
755
    // $ANTLR end "RULE_ID"
586
756
587
			}
757
    // $ANTLR start "RULE_INT"
758
    public final void mRULE_INT() throws RecognitionException {
759
        try {
760
            int _type = RULE_INT;
761
            int _channel = DEFAULT_TOKEN_CHANNEL;
762
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:726:10: ( ( '0' .. '9' )+ )
763
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:726:12: ( '0' .. '9' )+
764
            {
765
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:726:12: ( '0' .. '9' )+
766
            int cnt5=0;
767
            loop5:
768
            do {
769
                int alt5=2;
770
                int LA5_0 = input.LA(1);
588
771
589
			this.type = _type;
772
                if ( ((LA5_0>='0' && LA5_0<='9')) ) {
590
		} finally {
773
                    alt5=1;
591
		}
774
                }
592
	}
593
775
594
	// $ANTLR end T37
595
776
596
	// $ANTLR start RULE_UNLIMITEDLITERAL
777
                switch (alt5) {
597
	public final void mRULE_UNLIMITEDLITERAL() throws RecognitionException {
778
            	case 1 :
598
		try {
779
            	    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:726:13: '0' .. '9'
599
			int _type = RULE_UNLIMITEDLITERAL;
780
            	    {
600
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:854:23: ( ( '0' .. '9' ( '0' .. '9' )* | '*' ) )
781
            	    matchRange('0','9'); 
601
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:854:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
602
			{
603
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:854:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )
604
				int alt2 = 2;
605
				int LA2_0 = input.LA(1);
606
782
607
				if(((LA2_0 >= '0' && LA2_0 <= '9'))) {
783
            	    }
608
					alt2 = 1;
784
            	    break;
609
				} else if((LA2_0 == '*')) {
610
					alt2 = 2;
611
				} else {
612
					NoViableAltException nvae = new NoViableAltException("854:25: ( '0' .. '9' ( '0' .. '9' )* | '*' )", 2, 0, input);
613
785
614
					throw nvae;
786
            	default :
615
				}
787
            	    if ( cnt5 >= 1 ) break loop5;
616
				switch(alt2) {
788
                        EarlyExitException eee =
617
				case 1:
789
                            new EarlyExitException(5, input);
618
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:854:26: '0' .. '9' ( '0' .. '9' )*
790
                        throw eee;
619
				{
791
                }
620
					matchRange('0', '9');
792
                cnt5++;
621
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:854:35: ( '0' .. '9' )*
793
            } while (true);
622
					loop1: do {
623
						int alt1 = 2;
624
						int LA1_0 = input.LA(1);
625
794
626
						if(((LA1_0 >= '0' && LA1_0 <= '9'))) {
627
							alt1 = 1;
628
						}
629
795
796
            }
630
797
631
						switch(alt1) {
798
            state.type = _type;
632
						case 1:
799
            state.channel = _channel;
633
							// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:854:36: '0' .. '9'
800
        }
634
						{
801
        finally {
635
							matchRange('0', '9');
802
        }
803
    }
804
    // $ANTLR end "RULE_INT"
636
805
637
						}
806
    // $ANTLR start "RULE_STRING"
638
							break;
807
    public final void mRULE_STRING() throws RecognitionException {
808
        try {
809
            int _type = RULE_STRING;
810
            int _channel = DEFAULT_TOKEN_CHANNEL;
811
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:728:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
812
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:728:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
813
            {
814
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:728:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
815
            int alt8=2;
816
            int LA8_0 = input.LA(1);
639
817
640
						default:
818
            if ( (LA8_0=='\"') ) {
641
							break loop1;
819
                alt8=1;
642
						}
820
            }
643
					} while(true);
821
            else if ( (LA8_0=='\'') ) {
822
                alt8=2;
823
            }
824
            else {
825
                NoViableAltException nvae =
826
                    new NoViableAltException("", 8, 0, input);
644
827
828
                throw nvae;
829
            }
830
            switch (alt8) {
831
                case 1 :
832
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:728:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
833
                    {
834
                    match('\"'); 
835
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:728:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
836
                    loop6:
837
                    do {
838
                        int alt6=3;
839
                        int LA6_0 = input.LA(1);
645
840
646
				}
841
                        if ( (LA6_0=='\\') ) {
647
					break;
842
                            alt6=1;
648
				case 2:
843
                        }
649
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:854:47: '*'
844
                        else if ( ((LA6_0>='\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) {
650
				{
845
                            alt6=2;
651
					match('*');
846
                        }
652
847
653
				}
654
					break;
655
848
656
				}
849
                        switch (alt6) {
850
                    	case 1 :
851
                    	    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:728:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
852
                    	    {
853
                    	    match('\\'); 
854
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
855
                    	        input.consume();
657
856
857
                    	    }
858
                    	    else {
859
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
860
                    	        recover(mse);
861
                    	        throw mse;}
658
862
659
			}
660
863
661
			this.type = _type;
864
                    	    }
662
		} finally {
865
                    	    break;
663
		}
866
                    	case 2 :
664
	}
867
                    	    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:728:66: ~ ( ( '\\\\' | '\"' ) )
868
                    	    {
869
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
870
                    	        input.consume();
665
871
666
	// $ANTLR end RULE_UNLIMITEDLITERAL
872
                    	    }
873
                    	    else {
874
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
875
                    	        recover(mse);
876
                    	        throw mse;}
667
877
668
	// $ANTLR start RULE_ID
669
	public final void mRULE_ID() throws RecognitionException {
670
		try {
671
			int _type = RULE_ID;
672
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:856:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
673
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:856:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
674
			{
675
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:856:11: ( '^' )?
676
				int alt3 = 2;
677
				int LA3_0 = input.LA(1);
678
878
679
				if((LA3_0 == '^')) {
879
                    	    }
680
					alt3 = 1;
880
                    	    break;
681
				}
682
				switch(alt3) {
683
				case 1:
684
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:856:11: '^'
685
				{
686
					match('^');
687
881
688
				}
882
                    	default :
689
					break;
883
                    	    break loop6;
884
                        }
885
                    } while (true);
690
886
691
				}
887
                    match('\"'); 
692
888
693
				if((input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
889
                    }
694
					input.consume();
890
                    break;
891
                case 2 :
892
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:728:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
893
                    {
894
                    match('\''); 
895
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:728:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
896
                    loop7:
897
                    do {
898
                        int alt7=3;
899
                        int LA7_0 = input.LA(1);
695
900
696
				} else {
901
                        if ( (LA7_0=='\\') ) {
697
					MismatchedSetException mse = new MismatchedSetException(null, input);
902
                            alt7=1;
698
					recover(mse);
903
                        }
699
					throw mse;
904
                        else if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) {
700
				}
905
                            alt7=2;
906
                        }
701
907
702
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:856:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
703
				loop4: do {
704
					int alt4 = 2;
705
					int LA4_0 = input.LA(1);
706
908
707
					if(((LA4_0 >= '0' && LA4_0 <= '9') || (LA4_0 >= 'A' && LA4_0 <= 'Z') || LA4_0 == '_' || (LA4_0 >= 'a' && LA4_0 <= 'z'))) {
909
                        switch (alt7) {
708
						alt4 = 1;
910
                    	case 1 :
709
					}
911
                    	    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:728:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
912
                    	    {
913
                    	    match('\\'); 
914
                    	    if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
915
                    	        input.consume();
710
916
917
                    	    }
918
                    	    else {
919
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
920
                    	        recover(mse);
921
                    	        throw mse;}
711
922
712
					switch(alt4) {
713
					case 1:
714
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:
715
					{
716
						if((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
717
							input.consume();
718
923
719
						} else {
924
                    	    }
720
							MismatchedSetException mse = new MismatchedSetException(null, input);
925
                    	    break;
721
							recover(mse);
926
                    	case 2 :
722
							throw mse;
927
                    	    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:728:137: ~ ( ( '\\\\' | '\\'' ) )
723
						}
928
                    	    {
929
                    	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
930
                    	        input.consume();
724
931
932
                    	    }
933
                    	    else {
934
                    	        MismatchedSetException mse = new MismatchedSetException(null,input);
935
                    	        recover(mse);
936
                    	        throw mse;}
725
937
726
					}
727
						break;
728
938
729
					default:
939
                    	    }
730
						break loop4;
940
                    	    break;
731
					}
732
				} while(true);
733
941
942
                    	default :
943
                    	    break loop7;
944
                        }
945
                    } while (true);
734
946
735
			}
947
                    match('\''); 
736
948
737
			this.type = _type;
949
                    }
738
		} finally {
950
                    break;
739
		}
740
	}
741
951
742
	// $ANTLR end RULE_ID
952
            }
743
953
744
	// $ANTLR start RULE_INT
745
	public final void mRULE_INT() throws RecognitionException {
746
		try {
747
			int _type = RULE_INT;
748
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:858:10: ( ( '0' .. '9' )+ )
749
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:858:12: ( '0' .. '9' )+
750
			{
751
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:858:12: ( '0' .. '9' )+
752
				int cnt5 = 0;
753
				loop5: do {
754
					int alt5 = 2;
755
					int LA5_0 = input.LA(1);
756
954
757
					if(((LA5_0 >= '0' && LA5_0 <= '9'))) {
955
            }
758
						alt5 = 1;
759
					}
760
956
957
            state.type = _type;
958
            state.channel = _channel;
959
        }
960
        finally {
961
        }
962
    }
963
    // $ANTLR end "RULE_STRING"
761
964
762
					switch(alt5) {
965
    // $ANTLR start "RULE_ML_COMMENT"
763
					case 1:
966
    public final void mRULE_ML_COMMENT() throws RecognitionException {
764
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:858:13: '0' .. '9'
967
        try {
765
					{
968
            int _type = RULE_ML_COMMENT;
766
						matchRange('0', '9');
969
            int _channel = DEFAULT_TOKEN_CHANNEL;
970
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:730:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
971
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:730:19: '/*' ( options {greedy=false; } : . )* '*/'
972
            {
973
            match("/*"); 
767
974
768
					}
975
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:730:24: ( options {greedy=false; } : . )*
769
						break;
976
            loop9:
977
            do {
978
                int alt9=2;
979
                int LA9_0 = input.LA(1);
770
980
771
					default:
981
                if ( (LA9_0=='*') ) {
772
						if(cnt5 >= 1)
982
                    int LA9_1 = input.LA(2);
773
							break loop5;
774
						EarlyExitException eee = new EarlyExitException(5, input);
775
						throw eee;
776
					}
777
					cnt5++;
778
				} while(true);
779
983
984
                    if ( (LA9_1=='/') ) {
985
                        alt9=2;
986
                    }
987
                    else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) {
988
                        alt9=1;
989
                    }
780
990
781
			}
782
991
783
			this.type = _type;
992
                }
784
		} finally {
993
                else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) {
785
		}
994
                    alt9=1;
786
	}
995
                }
787
996
788
	// $ANTLR end RULE_INT
789
997
790
	// $ANTLR start RULE_STRING
998
                switch (alt9) {
791
	public final void mRULE_STRING() throws RecognitionException {
999
            	case 1 :
792
		try {
1000
            	    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:730:52: .
793
			int _type = RULE_STRING;
1001
            	    {
794
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:860:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
1002
            	    matchAny(); 
795
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:860:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
796
			{
797
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:860:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
798
				int alt8 = 2;
799
				int LA8_0 = input.LA(1);
800
1003
801
				if((LA8_0 == '\"')) {
1004
            	    }
802
					alt8 = 1;
1005
            	    break;
803
				} else if((LA8_0 == '\'')) {
804
					alt8 = 2;
805
				} else {
806
					NoViableAltException nvae = new NoViableAltException("860:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 8, 0, input);
807
1006
808
					throw nvae;
1007
            	default :
809
				}
1008
            	    break loop9;
810
				switch(alt8) {
1009
                }
811
				case 1:
1010
            } while (true);
812
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:860:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
813
				{
814
					match('\"');
815
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:860:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
816
					loop6: do {
817
						int alt6 = 3;
818
						int LA6_0 = input.LA(1);
819
1011
820
						if((LA6_0 == '\\')) {
1012
            match("*/"); 
821
							alt6 = 1;
822
						} else if(((LA6_0 >= '\u0000' && LA6_0 <= '!') || (LA6_0 >= '#' && LA6_0 <= '[') || (LA6_0 >= ']' && LA6_0 <= '\uFFFE'))) {
823
							alt6 = 2;
824
						}
825
1013
826
1014
827
						switch(alt6) {
1015
            }
828
						case 1:
829
							// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:860:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
830
						{
831
							match('\\');
832
							if(input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
833
								input.consume();
834
1016
835
							} else {
1017
            state.type = _type;
836
								MismatchedSetException mse = new MismatchedSetException(null, input);
1018
            state.channel = _channel;
837
								recover(mse);
1019
        }
838
								throw mse;
1020
        finally {
839
							}
1021
        }
1022
    }
1023
    // $ANTLR end "RULE_ML_COMMENT"
840
1024
1025
    // $ANTLR start "RULE_SL_COMMENT"
1026
    public final void mRULE_SL_COMMENT() throws RecognitionException {
1027
        try {
1028
            int _type = RULE_SL_COMMENT;
1029
            int _channel = DEFAULT_TOKEN_CHANNEL;
1030
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:732:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
1031
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:732:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
1032
            {
1033
            match("//"); 
841
1034
842
						}
1035
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:732:24: (~ ( ( '\\n' | '\\r' ) ) )*
843
							break;
1036
            loop10:
844
						case 2:
1037
            do {
845
							// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:860:62: ~ ( ( '\\\\' | '\"' ) )
1038
                int alt10=2;
846
						{
1039
                int LA10_0 = input.LA(1);
847
							if((input.LA(1) >= '\u0000' && input.LA(1) <= '!') || (input.LA(1) >= '#' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFE')) {
848
								input.consume();
849
1040
850
							} else {
1041
                if ( ((LA10_0>='\u0000' && LA10_0<='\t')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\uFFFF')) ) {
851
								MismatchedSetException mse = new MismatchedSetException(null, input);
1042
                    alt10=1;
852
								recover(mse);
1043
                }
853
								throw mse;
854
							}
855
1044
856
1045
857
						}
1046
                switch (alt10) {
858
							break;
1047
            	case 1 :
1048
            	    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:732:24: ~ ( ( '\\n' | '\\r' ) )
1049
            	    {
1050
            	    if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
1051
            	        input.consume();
859
1052
860
						default:
1053
            	    }
861
							break loop6;
1054
            	    else {
862
						}
1055
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
863
					} while(true);
1056
            	        recover(mse);
1057
            	        throw mse;}
864
1058
865
					match('\"');
866
1059
867
				}
1060
            	    }
868
					break;
1061
            	    break;
869
				case 2:
870
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:860:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
871
				{
872
					match('\'');
873
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:860:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
874
					loop7: do {
875
						int alt7 = 3;
876
						int LA7_0 = input.LA(1);
877
1062
878
						if((LA7_0 == '\\')) {
1063
            	default :
879
							alt7 = 1;
1064
            	    break loop10;
880
						} else if(((LA7_0 >= '\u0000' && LA7_0 <= '&') || (LA7_0 >= '(' && LA7_0 <= '[') || (LA7_0 >= ']' && LA7_0 <= '\uFFFE'))) {
1065
                }
881
							alt7 = 2;
1066
            } while (true);
882
						}
883
1067
1068
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:732:40: ( ( '\\r' )? '\\n' )?
1069
            int alt12=2;
1070
            int LA12_0 = input.LA(1);
884
1071
885
						switch(alt7) {
1072
            if ( (LA12_0=='\n'||LA12_0=='\r') ) {
886
						case 1:
1073
                alt12=1;
887
							// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:860:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
1074
            }
888
						{
1075
            switch (alt12) {
889
							match('\\');
1076
                case 1 :
890
							if(input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
1077
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:732:41: ( '\\r' )? '\\n'
891
								input.consume();
1078
                    {
1079
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:732:41: ( '\\r' )?
1080
                    int alt11=2;
1081
                    int LA11_0 = input.LA(1);
892
1082
893
							} else {
1083
                    if ( (LA11_0=='\r') ) {
894
								MismatchedSetException mse = new MismatchedSetException(null, input);
1084
                        alt11=1;
895
								recover(mse);
1085
                    }
896
								throw mse;
1086
                    switch (alt11) {
897
							}
1087
                        case 1 :
1088
                            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:732:41: '\\r'
1089
                            {
1090
                            match('\r'); 
898
1091
1092
                            }
1093
                            break;
899
1094
900
						}
1095
                    }
901
							break;
902
						case 2:
903
							// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:860:129: ~ ( ( '\\\\' | '\\'' ) )
904
						{
905
							if((input.LA(1) >= '\u0000' && input.LA(1) <= '&') || (input.LA(1) >= '(' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFE')) {
906
								input.consume();
907
1096
908
							} else {
1097
                    match('\n'); 
909
								MismatchedSetException mse = new MismatchedSetException(null, input);
910
								recover(mse);
911
								throw mse;
912
							}
913
1098
1099
                    }
1100
                    break;
914
1101
915
						}
1102
            }
916
							break;
917
1103
918
						default:
919
							break loop7;
920
						}
921
					} while(true);
922
1104
923
					match('\'');
1105
            }
924
1106
925
				}
1107
            state.type = _type;
926
					break;
1108
            state.channel = _channel;
1109
        }
1110
        finally {
1111
        }
1112
    }
1113
    // $ANTLR end "RULE_SL_COMMENT"
927
1114
928
				}
1115
    // $ANTLR start "RULE_WS"
1116
    public final void mRULE_WS() throws RecognitionException {
1117
        try {
1118
            int _type = RULE_WS;
1119
            int _channel = DEFAULT_TOKEN_CHANNEL;
1120
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:734:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
1121
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:734:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1122
            {
1123
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:734:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1124
            int cnt13=0;
1125
            loop13:
1126
            do {
1127
                int alt13=2;
1128
                int LA13_0 = input.LA(1);
929
1129
1130
                if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) {
1131
                    alt13=1;
1132
                }
930
1133
931
			}
932
1134
933
			this.type = _type;
1135
                switch (alt13) {
934
		} finally {
1136
            	case 1 :
935
		}
1137
            	    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:
936
	}
1138
            	    {
1139
            	    if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
1140
            	        input.consume();
937
1141
938
	// $ANTLR end RULE_STRING
1142
            	    }
1143
            	    else {
1144
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
1145
            	        recover(mse);
1146
            	        throw mse;}
939
1147
940
	// $ANTLR start RULE_ML_COMMENT
941
	public final void mRULE_ML_COMMENT() throws RecognitionException {
942
		try {
943
			int _type = RULE_ML_COMMENT;
944
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:862:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
945
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:862:19: '/*' ( options {greedy=false; } : . )* '*/'
946
			{
947
				match("/*");
948
1148
949
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:862:24: ( options {greedy=false; } : . )*
1149
            	    }
950
				loop9: do {
1150
            	    break;
951
					int alt9 = 2;
952
					int LA9_0 = input.LA(1);
953
1151
954
					if((LA9_0 == '*')) {
1152
            	default :
955
						int LA9_1 = input.LA(2);
1153
            	    if ( cnt13 >= 1 ) break loop13;
1154
                        EarlyExitException eee =
1155
                            new EarlyExitException(13, input);
1156
                        throw eee;
1157
                }
1158
                cnt13++;
1159
            } while (true);
956
1160
957
						if((LA9_1 == '/')) {
958
							alt9 = 2;
959
						} else if(((LA9_1 >= '\u0000' && LA9_1 <= '.') || (LA9_1 >= '0' && LA9_1 <= '\uFFFE'))) {
960
							alt9 = 1;
961
						}
962
1161
1162
            }
963
1163
964
					} else if(((LA9_0 >= '\u0000' && LA9_0 <= ')') || (LA9_0 >= '+' && LA9_0 <= '\uFFFE'))) {
1164
            state.type = _type;
965
						alt9 = 1;
1165
            state.channel = _channel;
966
					}
1166
        }
1167
        finally {
1168
        }
1169
    }
1170
    // $ANTLR end "RULE_WS"
967
1171
1172
    // $ANTLR start "RULE_ANY_OTHER"
1173
    public final void mRULE_ANY_OTHER() throws RecognitionException {
1174
        try {
1175
            int _type = RULE_ANY_OTHER;
1176
            int _channel = DEFAULT_TOKEN_CHANNEL;
1177
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:736:16: ( . )
1178
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:736:18: .
1179
            {
1180
            matchAny(); 
968
1181
969
					switch(alt9) {
1182
            }
970
					case 1:
971
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:862:52: .
972
					{
973
						matchAny();
974
1183
975
					}
1184
            state.type = _type;
976
						break;
1185
            state.channel = _channel;
1186
        }
1187
        finally {
1188
        }
1189
    }
1190
    // $ANTLR end "RULE_ANY_OTHER"
977
1191
978
					default:
1192
    public void mTokens() throws RecognitionException {
979
						break loop9;
1193
        // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
980
					}
1194
        int alt14=34;
981
				} while(true);
1195
        alt14 = dfa14.predict(input);
1196
        switch (alt14) {
1197
            case 1 :
1198
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:10: T__12
1199
                {
1200
                mT__12(); 
982
1201
983
				match("*/");
1202
                }
1203
                break;
1204
            case 2 :
1205
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:16: T__13
1206
                {
1207
                mT__13(); 
984
1208
1209
                }
1210
                break;
1211
            case 3 :
1212
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:22: T__14
1213
                {
1214
                mT__14(); 
985
1215
986
			}
1216
                }
1217
                break;
1218
            case 4 :
1219
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:28: T__15
1220
                {
1221
                mT__15(); 
987
1222
988
			this.type = _type;
1223
                }
989
		} finally {
1224
                break;
990
		}
1225
            case 5 :
991
	}
1226
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:34: T__16
1227
                {
1228
                mT__16(); 
992
1229
993
	// $ANTLR end RULE_ML_COMMENT
1230
                }
1231
                break;
1232
            case 6 :
1233
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:40: T__17
1234
                {
1235
                mT__17(); 
994
1236
995
	// $ANTLR start RULE_SL_COMMENT
1237
                }
996
	public final void mRULE_SL_COMMENT() throws RecognitionException {
1238
                break;
997
		try {
1239
            case 7 :
998
			int _type = RULE_SL_COMMENT;
1240
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:46: T__18
999
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:864:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
1241
                {
1000
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:864:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
1242
                mT__18(); 
1001
			{
1002
				match("//");
1003
1243
1004
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:864:24: (~ ( ( '\\n' | '\\r' ) ) )*
1244
                }
1005
				loop10: do {
1245
                break;
1006
					int alt10 = 2;
1246
            case 8 :
1007
					int LA10_0 = input.LA(1);
1247
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:52: T__19
1248
                {
1249
                mT__19(); 
1008
1250
1009
					if(((LA10_0 >= '\u0000' && LA10_0 <= '\t') || (LA10_0 >= '\u000B' && LA10_0 <= '\f') || (LA10_0 >= '\u000E' && LA10_0 <= '\uFFFE'))) {
1251
                }
1010
						alt10 = 1;
1252
                break;
1011
					}
1253
            case 9 :
1254
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:58: T__20
1255
                {
1256
                mT__20(); 
1012
1257
1258
                }
1259
                break;
1260
            case 10 :
1261
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:64: T__21
1262
                {
1263
                mT__21(); 
1013
1264
1014
					switch(alt10) {
1265
                }
1015
					case 1:
1266
                break;
1016
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:864:24: ~ ( ( '\\n' | '\\r' ) )
1267
            case 11 :
1017
					{
1268
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:70: T__22
1018
						if((input.LA(1) >= '\u0000' && input.LA(1) <= '\t') || (input.LA(1) >= '\u000B' && input.LA(1) <= '\f') || (input.LA(1) >= '\u000E' && input.LA(1) <= '\uFFFE')) {
1269
                {
1019
							input.consume();
1270
                mT__22(); 
1020
1271
1021
						} else {
1272
                }
1022
							MismatchedSetException mse = new MismatchedSetException(null, input);
1273
                break;
1023
							recover(mse);
1274
            case 12 :
1024
							throw mse;
1275
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:76: T__23
1025
						}
1276
                {
1277
                mT__23(); 
1026
1278
1279
                }
1280
                break;
1281
            case 13 :
1282
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:82: T__24
1283
                {
1284
                mT__24(); 
1027
1285
1028
					}
1286
                }
1029
						break;
1287
                break;
1288
            case 14 :
1289
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:88: T__25
1290
                {
1291
                mT__25(); 
1030
1292
1031
					default:
1293
                }
1032
						break loop10;
1294
                break;
1033
					}
1295
            case 15 :
1034
				} while(true);
1296
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:94: T__26
1297
                {
1298
                mT__26(); 
1035
1299
1036
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:864:40: ( ( '\\r' )? '\\n' )?
1300
                }
1037
				int alt12 = 2;
1301
                break;
1038
				int LA12_0 = input.LA(1);
1302
            case 16 :
1303
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:100: T__27
1304
                {
1305
                mT__27(); 
1039
1306
1040
				if((LA12_0 == '\n' || LA12_0 == '\r')) {
1307
                }
1041
					alt12 = 1;
1308
                break;
1042
				}
1309
            case 17 :
1043
				switch(alt12) {
1310
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:106: T__28
1044
				case 1:
1311
                {
1045
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:864:41: ( '\\r' )? '\\n'
1312
                mT__28(); 
1046
				{
1047
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:864:41: ( '\\r' )?
1048
					int alt11 = 2;
1049
					int LA11_0 = input.LA(1);
1050
1313
1051
					if((LA11_0 == '\r')) {
1314
                }
1052
						alt11 = 1;
1315
                break;
1053
					}
1316
            case 18 :
1054
					switch(alt11) {
1317
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:112: T__29
1055
					case 1:
1318
                {
1056
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:864:41: '\\r'
1319
                mT__29(); 
1057
					{
1058
						match('\r');
1059
1320
1060
					}
1321
                }
1061
						break;
1322
                break;
1323
            case 19 :
1324
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:118: T__30
1325
                {
1326
                mT__30(); 
1062
1327
1063
					}
1328
                }
1329
                break;
1330
            case 20 :
1331
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:124: T__31
1332
                {
1333
                mT__31(); 
1064
1334
1065
					match('\n');
1335
                }
1336
                break;
1337
            case 21 :
1338
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:130: T__32
1339
                {
1340
                mT__32(); 
1066
1341
1067
				}
1342
                }
1068
					break;
1343
                break;
1344
            case 22 :
1345
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:136: T__33
1346
                {
1347
                mT__33(); 
1069
1348
1070
				}
1349
                }
1350
                break;
1351
            case 23 :
1352
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:142: T__34
1353
                {
1354
                mT__34(); 
1071
1355
1356
                }
1357
                break;
1358
            case 24 :
1359
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:148: T__35
1360
                {
1361
                mT__35(); 
1072
1362
1073
			}
1363
                }
1364
                break;
1365
            case 25 :
1366
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:154: T__36
1367
                {
1368
                mT__36(); 
1074
1369
1075
			this.type = _type;
1370
                }
1076
		} finally {
1371
                break;
1077
		}
1372
            case 26 :
1078
	}
1373
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:160: T__37
1374
                {
1375
                mT__37(); 
1079
1376
1080
	// $ANTLR end RULE_SL_COMMENT
1377
                }
1378
                break;
1379
            case 27 :
1380
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:166: RULE_UNLIMITEDLITERAL
1381
                {
1382
                mRULE_UNLIMITEDLITERAL(); 
1081
1383
1082
	// $ANTLR start RULE_WS
1384
                }
1083
	public final void mRULE_WS() throws RecognitionException {
1385
                break;
1084
		try {
1386
            case 28 :
1085
			int _type = RULE_WS;
1387
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:188: RULE_ID
1086
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:866:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
1388
                {
1087
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:866:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1389
                mRULE_ID(); 
1088
			{
1089
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:866:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1090
				int cnt13 = 0;
1091
				loop13: do {
1092
					int alt13 = 2;
1093
					int LA13_0 = input.LA(1);
1094
1390
1095
					if(((LA13_0 >= '\t' && LA13_0 <= '\n') || LA13_0 == '\r' || LA13_0 == ' ')) {
1391
                }
1096
						alt13 = 1;
1392
                break;
1097
					}
1393
            case 29 :
1394
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:196: RULE_INT
1395
                {
1396
                mRULE_INT(); 
1098
1397
1398
                }
1399
                break;
1400
            case 30 :
1401
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:205: RULE_STRING
1402
                {
1403
                mRULE_STRING(); 
1099
1404
1100
					switch(alt13) {
1405
                }
1101
					case 1:
1406
                break;
1102
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:
1407
            case 31 :
1103
					{
1408
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:217: RULE_ML_COMMENT
1104
						if((input.LA(1) >= '\t' && input.LA(1) <= '\n') || input.LA(1) == '\r' || input.LA(1) == ' ') {
1409
                {
1105
							input.consume();
1410
                mRULE_ML_COMMENT(); 
1106
1411
1107
						} else {
1412
                }
1108
							MismatchedSetException mse = new MismatchedSetException(null, input);
1413
                break;
1109
							recover(mse);
1414
            case 32 :
1110
							throw mse;
1415
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:233: RULE_SL_COMMENT
1111
						}
1416
                {
1417
                mRULE_SL_COMMENT(); 
1112
1418
1419
                }
1420
                break;
1421
            case 33 :
1422
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:249: RULE_WS
1423
                {
1424
                mRULE_WS(); 
1113
1425
1114
					}
1426
                }
1115
						break;
1427
                break;
1428
            case 34 :
1429
                // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:257: RULE_ANY_OTHER
1430
                {
1431
                mRULE_ANY_OTHER(); 
1116
1432
1117
					default:
1433
                }
1118
						if(cnt13 >= 1)
1434
                break;
1119
							break loop13;
1120
						EarlyExitException eee = new EarlyExitException(13, input);
1121
						throw eee;
1122
					}
1123
					cnt13++;
1124
				} while(true);
1125
1435
1436
        }
1126
1437
1127
			}
1438
    }
1128
1439
1129
			this.type = _type;
1130
		} finally {
1131
		}
1132
	}
1133
1440
1134
	// $ANTLR end RULE_WS
1441
    protected DFA14 dfa14 = new DFA14(this);
1442
    static final String DFA14_eotS =
1443
        "\1\uffff\1\37\1\35\3\uffff\1\46\1\uffff\1\35\1\uffff\6\46\4\uffff"+
1444
        "\1\46\1\67\1\uffff\1\35\1\uffff\3\35\10\uffff\2\46\4\uffff\10\46"+
1445
        "\4\uffff\1\111\1\uffff\1\67\4\uffff\4\46\1\116\7\46\1\uffff\4\46"+
1446
        "\1\uffff\3\46\1\135\12\46\1\uffff\2\46\1\152\2\46\1\155\1\46\1\157"+
1447
        "\1\160\1\161\1\162\1\163\2\uffff\1\46\1\uffff\1\165\5\uffff\1\46"+
1448
        "\1\uffff\1\167\1\uffff";
1449
    static final String DFA14_eofS =
1450
        "\170\uffff";
1451
    static final String DFA14_minS =
1452
        "\1\0\1\72\1\125\3\uffff\1\146\1\uffff\1\56\1\uffff\1\164\1\162"+
1453
        "\1\156\1\162\2\145\4\uffff\1\156\1\60\1\uffff\1\101\1\uffff\2\0"+
1454
        "\1\52\10\uffff\1\146\1\143\4\uffff\1\162\1\144\1\164\1\151\1\144"+
1455
        "\1\145\1\141\1\154\4\uffff\1\60\1\uffff\1\60\4\uffff\4\145\1\60"+
1456
        "\1\161\2\141\1\144\1\165\1\145\1\165\1\uffff\1\143\1\160\1\141\1"+
1457
        "\162\1\uffff\1\165\2\164\1\60\1\162\4\164\1\155\4\145\1\uffff\1"+
1458
        "\156\1\145\1\60\1\72\1\151\1\60\1\144\5\60\2\uffff\1\157\1\uffff"+
1459
        "\1\60\5\uffff\1\156\1\uffff\1\60\1\uffff";
1460
    static final String DFA14_maxS =
1461
        "\1\uffff\1\72\1\125\3\uffff\1\170\1\uffff\1\56\1\uffff\1\164\1"+
1462
        "\165\1\160\1\162\2\145\4\uffff\1\156\1\71\1\uffff\1\172\1\uffff"+
1463
        "\2\uffff\1\57\10\uffff\1\146\1\143\4\uffff\1\162\1\144\1\164\1\151"+
1464
        "\1\144\1\145\1\164\1\154\4\uffff\1\172\1\uffff\1\71\4\uffff\4\145"+
1465
        "\1\172\1\161\2\141\1\144\1\165\1\145\1\165\1\uffff\1\143\1\160\1"+
1466
        "\141\1\162\1\uffff\1\165\2\164\1\172\1\162\4\164\1\155\4\145\1\uffff"+
1467
        "\1\156\1\145\1\172\1\72\1\151\1\172\1\144\5\172\2\uffff\1\157\1"+
1468
        "\uffff\1\172\5\uffff\1\156\1\uffff\1\172\1\uffff";
1469
    static final String DFA14_acceptS =
1470
        "\3\uffff\1\3\1\4\1\5\1\uffff\1\10\1\uffff\1\12\6\uffff\1\23\1\24"+
1471
        "\1\25\1\26\2\uffff\1\33\1\uffff\1\34\3\uffff\1\41\1\42\1\7\1\1\1"+
1472
        "\2\1\3\1\4\1\5\2\uffff\1\34\1\10\1\11\1\12\10\uffff\1\23\1\24\1"+
1473
        "\25\1\26\1\uffff\1\33\1\uffff\1\36\1\37\1\40\1\41\14\uffff\1\27"+
1474
        "\4\uffff\1\30\16\uffff\1\20\14\uffff\1\31\1\6\1\uffff\1\14\1\uffff"+
1475
        "\1\16\1\21\1\17\1\32\1\22\1\uffff\1\15\1\uffff\1\13";
1476
    static final String DFA14_specialS =
1477
        "\1\1\30\uffff\1\2\1\0\135\uffff}>";
1478
    static final String[] DFA14_transitionS = {
1479
            "\11\35\2\34\2\35\1\34\22\35\1\34\1\35\1\31\1\22\3\35\1\32\2"+
1480
            "\35\1\26\1\20\1\4\1\21\1\10\1\33\12\25\1\1\1\35\1\2\4\35\32"+
1481
            "\30\1\7\1\35\1\11\1\27\1\30\1\35\2\30\1\15\1\17\1\6\3\30\1\24"+
1482
            "\5\30\1\13\2\30\1\16\1\12\1\30\1\14\5\30\1\3\1\35\1\5\1\23\uff81"+
1483
            "\35",
1484
            "\1\36",
1485
            "\1\40",
1486
            "",
1487
            "",
1488
            "",
1489
            "\1\44\21\uffff\1\45",
1490
            "",
1491
            "\1\50",
1492
            "",
1493
            "\1\52",
1494
            "\1\53\2\uffff\1\54",
1495
            "\1\55\1\uffff\1\56",
1496
            "\1\57",
1497
            "\1\60",
1498
            "\1\61",
1499
            "",
1500
            "",
1501
            "",
1502
            "",
1503
            "\1\66",
1504
            "\12\70",
1505
            "",
1506
            "\32\46\4\uffff\1\46\1\uffff\32\46",
1507
            "",
1508
            "\0\71",
1509
            "\0\71",
1510
            "\1\72\4\uffff\1\73",
1511
            "",
1512
            "",
1513
            "",
1514
            "",
1515
            "",
1516
            "",
1517
            "",
1518
            "",
1519
            "\1\75",
1520
            "\1\76",
1521
            "",
1522
            "",
1523
            "",
1524
            "",
1525
            "\1\77",
1526
            "\1\100",
1527
            "\1\101",
1528
            "\1\102",
1529
            "\1\103",
1530
            "\1\104",
1531
            "\1\105\22\uffff\1\106",
1532
            "\1\107",
1533
            "",
1534
            "",
1535
            "",
1536
            "",
1537
            "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\16\46\1\110\13\46",
1538
            "",
1539
            "\12\70",
1540
            "",
1541
            "",
1542
            "",
1543
            "",
1544
            "\1\112",
1545
            "\1\113",
1546
            "\1\114",
1547
            "\1\115",
1548
            "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
1549
            "\1\117",
1550
            "\1\120",
1551
            "\1\121",
1552
            "\1\122",
1553
            "\1\123",
1554
            "\1\124",
1555
            "\1\125",
1556
            "",
1557
            "\1\126",
1558
            "\1\127",
1559
            "\1\130",
1560
            "\1\131",
1561
            "",
1562
            "\1\132",
1563
            "\1\133",
1564
            "\1\134",
1565
            "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
1566
            "\1\136",
1567
            "\1\137",
1568
            "\1\140",
1569
            "\1\141",
1570
            "\1\142",
1571
            "\1\143",
1572
            "\1\144",
1573
            "\1\145",
1574
            "\1\146",
1575
            "\1\147",
1576
            "",
1577
            "\1\150",
1578
            "\1\151",
1579
            "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
1580
            "\1\153",
1581
            "\1\154",
1582
            "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
1583
            "\1\156",
1584
            "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
1585
            "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
1586
            "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
1587
            "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
1588
            "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
1589
            "",
1590
            "",
1591
            "\1\164",
1592
            "",
1593
            "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
1594
            "",
1595
            "",
1596
            "",
1597
            "",
1598
            "",
1599
            "\1\166",
1600
            "",
1601
            "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46",
1602
            ""
1603
    };
1135
1604
1136
	// $ANTLR start RULE_ANY_OTHER
1605
    static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS);
1137
	public final void mRULE_ANY_OTHER() throws RecognitionException {
1606
    static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS);
1138
		try {
1607
    static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS);
1139
			int _type = RULE_ANY_OTHER;
1608
    static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS);
1140
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:868:16: ( . )
1609
    static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS);
1141
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:868:18: .
1610
    static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS);
1142
			{
1611
    static final short[][] DFA14_transition;
1143
				matchAny();
1144
1612
1145
			}
1613
    static {
1614
        int numStates = DFA14_transitionS.length;
1615
        DFA14_transition = new short[numStates][];
1616
        for (int i=0; i<numStates; i++) {
1617
            DFA14_transition[i] = DFA.unpackEncodedString(DFA14_transitionS[i]);
1618
        }
1619
    }
1146
1620
1147
			this.type = _type;
1621
    class DFA14 extends DFA {
1148
		} finally {
1149
		}
1150
	}
1151
1622
1152
	// $ANTLR end RULE_ANY_OTHER
1623
        public DFA14(BaseRecognizer recognizer) {
1624
            this.recognizer = recognizer;
1625
            this.decisionNumber = 14;
1626
            this.eot = DFA14_eot;
1627
            this.eof = DFA14_eof;
1628
            this.min = DFA14_min;
1629
            this.max = DFA14_max;
1630
            this.accept = DFA14_accept;
1631
            this.special = DFA14_special;
1632
            this.transition = DFA14_transition;
1633
        }
1634
        public String getDescription() {
1635
            return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
1636
        }
1637
        public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
1638
            IntStream input = _input;
1639
        	int _s = s;
1640
            switch ( s ) {
1641
                    case 0 : 
1642
                        int LA14_26 = input.LA(1);
1153
1643
1154
	public void mTokens() throws RecognitionException {
1644
                        s = -1;
1155
		// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:8: ( T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
1645
                        if ( ((LA14_26>='\u0000' && LA14_26<='\uFFFF')) ) {s = 57;}
1156
		int alt14 = 34;
1157
		alt14 = dfa14.predict(input);
1158
		switch(alt14) {
1159
		case 1:
1160
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:10: T12
1161
		{
1162
			mT12();
1163
1646
1164
		}
1647
                        else s = 29;
1165
			break;
1166
		case 2:
1167
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:14: T13
1168
		{
1169
			mT13();
1170
1648
1171
		}
1649
                        if ( s>=0 ) return s;
1172
			break;
1650
                        break;
1173
		case 3:
1651
                    case 1 : 
1174
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:18: T14
1652
                        int LA14_0 = input.LA(1);
1175
		{
1176
			mT14();
1177
1653
1178
		}
1654
                        s = -1;
1179
			break;
1655
                        if ( (LA14_0==':') ) {s = 1;}
1180
		case 4:
1181
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:22: T15
1182
		{
1183
			mT15();
1184
1656
1185
		}
1657
                        else if ( (LA14_0=='<') ) {s = 2;}
1186
			break;
1187
		case 5:
1188
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:26: T16
1189
		{
1190
			mT16();
1191
1658
1192
		}
1659
                        else if ( (LA14_0=='{') ) {s = 3;}
1193
			break;
1194
		case 6:
1195
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:30: T17
1196
		{
1197
			mT17();
1198
1660
1199
		}
1661
                        else if ( (LA14_0==',') ) {s = 4;}
1200
			break;
1201
		case 7:
1202
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:34: T18
1203
		{
1204
			mT18();
1205
1662
1206
		}
1663
                        else if ( (LA14_0=='}') ) {s = 5;}
1207
			break;
1208
		case 8:
1209
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:38: T19
1210
		{
1211
			mT19();
1212
1664
1213
		}
1665
                        else if ( (LA14_0=='e') ) {s = 6;}
1214
			break;
1215
		case 9:
1216
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:42: T20
1217
		{
1218
			mT20();
1219
1666
1220
		}
1667
                        else if ( (LA14_0=='[') ) {s = 7;}
1221
			break;
1222
		case 10:
1223
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:46: T21
1224
		{
1225
			mT21();
1226
1668
1227
		}
1669
                        else if ( (LA14_0=='.') ) {s = 8;}
1228
			break;
1229
		case 11:
1230
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:50: T22
1231
		{
1232
			mT22();
1233
1670
1234
		}
1671
                        else if ( (LA14_0==']') ) {s = 9;}
1235
			break;
1236
		case 12:
1237
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:54: T23
1238
		{
1239
			mT23();
1240
1672
1241
		}
1673
                        else if ( (LA14_0=='s') ) {s = 10;}
1242
			break;
1243
		case 13:
1244
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:58: T24
1245
		{
1246
			mT24();
1247
1674
1248
		}
1675
                        else if ( (LA14_0=='o') ) {s = 11;}
1249
			break;
1250
		case 14:
1251
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:62: T25
1252
		{
1253
			mT25();
1254
1676
1255
		}
1677
                        else if ( (LA14_0=='u') ) {s = 12;}
1256
			break;
1257
		case 15:
1258
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:66: T26
1259
		{
1260
			mT26();
1261
1678
1262
		}
1679
                        else if ( (LA14_0=='c') ) {s = 13;}
1263
			break;
1264
		case 16:
1265
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:70: T27
1266
		{
1267
			mT27();
1268
1680
1269
		}
1681
                        else if ( (LA14_0=='r') ) {s = 14;}
1270
			break;
1271
		case 17:
1272
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:74: T28
1273
		{
1274
			mT28();
1275
1682
1276
		}
1683
                        else if ( (LA14_0=='d') ) {s = 15;}
1277
			break;
1278
		case 18:
1279
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:78: T29
1280
		{
1281
			mT29();
1282
1684
1283
		}
1685
                        else if ( (LA14_0=='+') ) {s = 16;}
1284
			break;
1285
		case 19:
1286
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:82: T30
1287
		{
1288
			mT30();
1289
1686
1290
		}
1687
                        else if ( (LA14_0=='-') ) {s = 17;}
1291
			break;
1292
		case 20:
1293
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:86: T31
1294
		{
1295
			mT31();
1296
1688
1297
		}
1689
                        else if ( (LA14_0=='#') ) {s = 18;}
1298
			break;
1299
		case 21:
1300
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:90: T32
1301
		{
1302
			mT32();
1303
1690
1304
		}
1691
                        else if ( (LA14_0=='~') ) {s = 19;}
1305
			break;
1306
		case 22:
1307
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:94: T33
1308
		{
1309
			mT33();
1310
1692
1311
		}
1693
                        else if ( (LA14_0=='i') ) {s = 20;}
1312
			break;
1313
		case 23:
1314
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:98: T34
1315
		{
1316
			mT34();
1317
1694
1318
		}
1695
                        else if ( ((LA14_0>='0' && LA14_0<='9')) ) {s = 21;}
1319
			break;
1320
		case 24:
1321
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:102: T35
1322
		{
1323
			mT35();
1324
1696
1325
		}
1697
                        else if ( (LA14_0=='*') ) {s = 22;}
1326
			break;
1327
		case 25:
1328
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:106: T36
1329
		{
1330
			mT36();
1331
1698
1332
		}
1699
                        else if ( (LA14_0=='^') ) {s = 23;}
1333
			break;
1334
		case 26:
1335
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:110: T37
1336
		{
1337
			mT37();
1338
1700
1339
		}
1701
                        else if ( ((LA14_0>='A' && LA14_0<='Z')||LA14_0=='_'||(LA14_0>='a' && LA14_0<='b')||(LA14_0>='f' && LA14_0<='h')||(LA14_0>='j' && LA14_0<='n')||(LA14_0>='p' && LA14_0<='q')||LA14_0=='t'||(LA14_0>='v' && LA14_0<='z')) ) {s = 24;}
1340
			break;
1341
		case 27:
1342
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:114: RULE_UNLIMITEDLITERAL
1343
		{
1344
			mRULE_UNLIMITEDLITERAL();
1345
1702
1346
		}
1703
                        else if ( (LA14_0=='\"') ) {s = 25;}
1347
			break;
1348
		case 28:
1349
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:136: RULE_ID
1350
		{
1351
			mRULE_ID();
1352
1704
1353
		}
1705
                        else if ( (LA14_0=='\'') ) {s = 26;}
1354
			break;
1355
		case 29:
1356
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:144: RULE_INT
1357
		{
1358
			mRULE_INT();
1359
1706
1360
		}
1707
                        else if ( (LA14_0=='/') ) {s = 27;}
1361
			break;
1362
		case 30:
1363
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:153: RULE_STRING
1364
		{
1365
			mRULE_STRING();
1366
1708
1367
		}
1709
                        else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 28;}
1368
			break;
1369
		case 31:
1370
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:165: RULE_ML_COMMENT
1371
		{
1372
			mRULE_ML_COMMENT();
1373
1710
1374
		}
1711
                        else if ( ((LA14_0>='\u0000' && LA14_0<='\b')||(LA14_0>='\u000B' && LA14_0<='\f')||(LA14_0>='\u000E' && LA14_0<='\u001F')||LA14_0=='!'||(LA14_0>='$' && LA14_0<='&')||(LA14_0>='(' && LA14_0<=')')||LA14_0==';'||(LA14_0>='=' && LA14_0<='@')||LA14_0=='\\'||LA14_0=='`'||LA14_0=='|'||(LA14_0>='\u007F' && LA14_0<='\uFFFF')) ) {s = 29;}
1375
			break;
1376
		case 32:
1377
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:181: RULE_SL_COMMENT
1378
		{
1379
			mRULE_SL_COMMENT();
1380
1712
1381
		}
1713
                        if ( s>=0 ) return s;
1382
			break;
1714
                        break;
1383
		case 33:
1715
                    case 2 : 
1384
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:197: RULE_WS
1716
                        int LA14_25 = input.LA(1);
1385
		{
1386
			mRULE_WS();
1387
1717
1388
		}
1718
                        s = -1;
1389
			break;
1719
                        if ( ((LA14_25>='\u0000' && LA14_25<='\uFFFF')) ) {s = 57;}
1390
		case 34:
1391
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:1:205: RULE_ANY_OTHER
1392
		{
1393
			mRULE_ANY_OTHER();
1394
1720
1395
		}
1721
                        else s = 29;
1396
			break;
1397
1722
1398
		}
1723
                        if ( s>=0 ) return s;
1724
                        break;
1725
            }
1726
            NoViableAltException nvae =
1727
                new NoViableAltException(getDescription(), 14, _s, input);
1728
            error(nvae);
1729
            throw nvae;
1730
        }
1731
    }
1732
 
1399
1733
1400
	}
1734
}
1401
1402
1403
	protected DFA14 dfa14 = new DFA14(this);
1404
1405
	static final String DFA14_eotS = "\1\uffff\1\37\1\35\3\uffff\1\46\1\uffff\1\35\1\uffff\6\46\4\uffff" + "\1\46\1\67\1\uffff\1\35\1\uffff\3\35\10\uffff\2\46\4\uffff\10\46" + "\4\uffff\1\111\1\uffff\1\67\4\uffff\4\46\1\116\7\46\1\uffff\4\46" + "\1\uffff\3\46\1\135\12\46\1\uffff\2\46\1\152\2\46\1\155\1\46\1\157" + "\1\160\1\161\1\162\1\163\2\uffff\1\46\1\uffff\1\165\5\uffff\1\46" + "\1\uffff\1\167\1\uffff";
1406
1407
	static final String DFA14_eofS = "\170\uffff";
1408
1409
	static final String DFA14_minS = "\1\0\1\72\1\125\3\uffff\1\146\1\uffff\1\56\1\uffff\1\164\1\162\1" + "\156\1\162\2\145\4\uffff\1\156\1\60\1\uffff\1\101\1\uffff\2\0\1" + "\52\10\uffff\1\146\1\143\4\uffff\1\162\1\144\1\164\1\144\1\151\1" + "\145\1\141\1\154\4\uffff\1\60\1\uffff\1\60\4\uffff\4\145\1\60\1" + "\141\1\161\1\141\1\144\1\165\1\145\1\165\1\uffff\1\143\1\160\1\141" + "\1\162\1\uffff\1\164\1\165\1\164\1\60\1\162\4\164\1\155\4\145\1" + "\uffff\1\156\1\145\1\60\1\72\1\151\1\60\1\144\5\60\2\uffff\1\157" + "\1\uffff\1\60\5\uffff\1\156\1\uffff\1\60\1\uffff";
1410
1411
	static final String DFA14_maxS = "\1\ufffe\1\72\1\125\3\uffff\1\170\1\uffff\1\56\1\uffff\1\164\1\165" + "\1\160\1\162\2\145\4\uffff\1\156\1\71\1\uffff\1\172\1\uffff\2\ufffe" + "\1\57\10\uffff\1\146\1\143\4\uffff\1\162\1\144\1\164\1\144\1\151" + "\1\145\1\164\1\154\4\uffff\1\172\1\uffff\1\71\4\uffff\4\145\1\172" + "\1\141\1\161\1\141\1\144\1\165\1\145\1\165\1\uffff\1\143\1\160\1" + "\141\1\162\1\uffff\1\164\1\165\1\164\1\172\1\162\4\164\1\155\4\145" + "\1\uffff\1\156\1\145\1\172\1\72\1\151\1\172\1\144\5\172\2\uffff" + "\1\157\1\uffff\1\172\5\uffff\1\156\1\uffff\1\172\1\uffff";
1412
1413
	static final String DFA14_acceptS = "\3\uffff\1\3\1\4\1\5\1\uffff\1\10\1\uffff\1\12\6\uffff\1\23\1\24" + "\1\25\1\26\2\uffff\1\33\1\uffff\1\34\3\uffff\1\41\1\42\1\7\1\1\1" + "\2\1\3\1\4\1\5\2\uffff\1\34\1\10\1\11\1\12\10\uffff\1\23\1\24\1" + "\25\1\26\1\uffff\1\33\1\uffff\1\36\1\40\1\37\1\41\14\uffff\1\27" + "\4\uffff\1\30\16\uffff\1\20\14\uffff\1\31\1\6\1\uffff\1\14\1\uffff" + "\1\21\1\16\1\17\1\32\1\22\1\uffff\1\15\1\uffff\1\13";
1414
1415
	static final String DFA14_specialS = "\170\uffff}>";
1416
1417
	static final String[] DFA14_transitionS = { "\11\35\2\34\2\35\1\34\22\35\1\34\1\35\1\31\1\22\3\35\1\32\2" + "\35\1\26\1\20\1\4\1\21\1\10\1\33\12\25\1\1\1\35\1\2\4\35\32" + "\30\1\7\1\35\1\11\1\27\1\30\1\35\2\30\1\15\1\17\1\6\3\30\1\24" + "\5\30\1\13\2\30\1\16\1\12\1\30\1\14\5\30\1\3\1\35\1\5\1\23\uff80" + "\35", "\1\36", "\1\40", "", "", "", "\1\44\21\uffff\1\45", "", "\1\50", "", "\1\52", "\1\53\2\uffff\1\54", "\1\56\1\uffff\1\55", "\1\57", "\1\60", "\1\61", "", "", "", "", "\1\66", "\12\70", "", "\32\46\4\uffff\1\46\1\uffff\32\46", "", "\uffff\71", "\uffff\71", "\1\73\4\uffff\1\72", "", "", "", "", "", "", "", "", "\1\75", "\1\76", "", "", "", "", "\1\77", "\1\100", "\1\101", "\1\102", "\1\103", "\1\104", "\1\105\22\uffff\1\106", "\1\107", "", "", "", "", "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\16\46\1\110\13\46", "", "\12\70", "", "", "", "", "\1\112", "\1\113", "\1\114", "\1\115", "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46", "\1\117", "\1\120", "\1\121", "\1\122", "\1\123", "\1\124", "\1\125", "", "\1\126", "\1\127", "\1\130", "\1\131", "", "\1\132", "\1\133", "\1\134", "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46", "\1\136", "\1\137", "\1\140", "\1\141", "\1\142", "\1\143", "\1\144", "\1\145", "\1\146", "\1\147", "", "\1\150", "\1\151", "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46", "\1\153", "\1\154", "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46", "\1\156", "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46", "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46", "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46", "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46", "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46", "", "", "\1\164", "", "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46", "", "", "", "", "", "\1\166", "", "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46", "" };
1418
1419
	static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS);
1420
1421
	static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS);
1422
1423
	static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS);
1424
1425
	static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS);
1426
1427
	static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS);
1428
1429
	static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS);
1430
1431
	static final short[][] DFA14_transition;
1432
1433
	static {
1434
		int numStates = DFA14_transitionS.length;
1435
		DFA14_transition = new short[numStates][];
1436
		for(int i = 0; i < numStates; i++) {
1437
			DFA14_transition[i] = DFA.unpackEncodedString(DFA14_transitionS[i]);
1438
		}
1439
	}
1440
1441
	class DFA14 extends DFA {
1442
1443
		public DFA14(BaseRecognizer recognizer) {
1444
			this.recognizer = recognizer;
1445
			this.decisionNumber = 14;
1446
			this.eot = DFA14_eot;
1447
			this.eof = DFA14_eof;
1448
			this.min = DFA14_min;
1449
			this.max = DFA14_max;
1450
			this.accept = DFA14_accept;
1451
			this.special = DFA14_special;
1452
			this.transition = DFA14_transition;
1453
		}
1454
1455
		public String getDescription() {
1456
			return "1:1: Tokens : ( T12 | T13 | T14 | T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | RULE_UNLIMITEDLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
1457
		}
1458
	}
1459
1460
1461
}
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameterParser.java (-1624 / +1565 lines)
Lines 1-23 Link Here
1
/*****************************************************************************
1
package org.eclipse.papyrus.parameter.editor.xtext.parser.antlr.internal; 
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.parameter.editor.xtext.parser.antlr.internal;
15
2
16
import java.io.InputStream;
17
import org.eclipse.xtext.*;
3
import org.eclipse.xtext.*;
18
import org.eclipse.xtext.parser.*;
4
import org.eclipse.xtext.parser.*;
19
import org.eclipse.xtext.parser.impl.*;
5
import org.eclipse.xtext.parser.impl.*;
20
import org.eclipse.xtext.parsetree.*;
21
import org.eclipse.emf.ecore.util.EcoreUtil;
6
import org.eclipse.emf.ecore.util.EcoreUtil;
22
import org.eclipse.emf.ecore.EObject;
7
import org.eclipse.emf.ecore.EObject;
23
import org.eclipse.emf.common.util.Enumerator;
8
import org.eclipse.emf.common.util.Enumerator;
Lines 25-33 Link Here
25
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
10
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
26
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
11
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
27
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
12
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
28
import org.eclipse.xtext.conversion.ValueConverterException;
29
import org.eclipse.papyrus.parameter.editor.xtext.services.UmlParameterGrammarAccess;
13
import org.eclipse.papyrus.parameter.editor.xtext.services.UmlParameterGrammarAccess;
30
14
15
16
31
import org.antlr.runtime.*;
17
import org.antlr.runtime.*;
32
import java.util.Stack;
18
import java.util.Stack;
33
import java.util.List;
19
import java.util.List;
Lines 35-2068 Link Here
35
21
36
@SuppressWarnings("all")
22
@SuppressWarnings("all")
37
public class InternalUmlParameterParser extends AbstractInternalAntlrParser {
23
public class InternalUmlParameterParser extends AbstractInternalAntlrParser {
38
24
    public static final String[] tokenNames = new String[] {
39
	public static final String[] tokenNames = new String[]{ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_UNLIMITEDLITERAL", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "':'", "'<Undefined>'", "'{'", "','", "'}'", "'effect: '", "'::'", "'['", "'..'", "']'", "'exception'", "'stream'", "'ordered'", "'unique'", "'create'", "'read'", "'update'", "'delete'", "'+'", "'-'", "'#'", "'~'", "'in'", "'out'", "'inout'", "'return'" };
25
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_UNLIMITEDLITERAL", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "':'", "'<Undefined>'", "'{'", "','", "'}'", "'effect: '", "'::'", "'['", "'..'", "']'", "'exception'", "'stream'", "'ordered'", "'unique'", "'create'", "'read'", "'update'", "'delete'", "'+'", "'-'", "'#'", "'~'", "'in'", "'out'", "'inout'", "'return'"
40
26
    };
41
	public static final int RULE_ID = 4;
27
    public static final int RULE_ID=4;
42
28
    public static final int RULE_UNLIMITEDLITERAL=5;
43
	public static final int RULE_STRING = 7;
29
    public static final int T__29=29;
44
30
    public static final int T__28=28;
45
	public static final int RULE_UNLIMITEDLITERAL = 5;
31
    public static final int T__27=27;
46
32
    public static final int T__26=26;
47
	public static final int RULE_ANY_OTHER = 11;
33
    public static final int T__25=25;
48
34
    public static final int T__24=24;
49
	public static final int RULE_INT = 6;
35
    public static final int T__23=23;
50
36
    public static final int T__22=22;
51
	public static final int RULE_WS = 10;
37
    public static final int RULE_ANY_OTHER=11;
52
38
    public static final int T__21=21;
53
	public static final int RULE_SL_COMMENT = 9;
39
    public static final int T__20=20;
54
40
    public static final int RULE_SL_COMMENT=9;
55
	public static final int EOF = -1;
41
    public static final int EOF=-1;
56
42
    public static final int RULE_ML_COMMENT=8;
57
	public static final int RULE_ML_COMMENT = 8;
43
    public static final int T__30=30;
58
44
    public static final int T__19=19;
59
	public InternalUmlParameterParser(TokenStream input) {
45
    public static final int T__31=31;
60
		super(input);
46
    public static final int RULE_STRING=7;
61
	}
47
    public static final int T__32=32;
62
48
    public static final int T__33=33;
63
49
    public static final int T__16=16;
64
	public String[] getTokenNames() {
50
    public static final int T__34=34;
65
		return tokenNames;
51
    public static final int T__15=15;
66
	}
52
    public static final int T__35=35;
67
53
    public static final int T__18=18;
68
	public String getGrammarFileName() {
54
    public static final int T__36=36;
69
		return "../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g";
55
    public static final int T__17=17;
70
	}
56
    public static final int T__37=37;
71
57
    public static final int T__12=12;
72
58
    public static final int T__14=14;
73
59
    public static final int T__13=13;
74
	private UmlParameterGrammarAccess grammarAccess;
60
    public static final int RULE_INT=6;
75
61
    public static final int RULE_WS=10;
76
	public InternalUmlParameterParser(TokenStream input, IAstFactory factory, UmlParameterGrammarAccess grammarAccess) {
77
		this(input);
78
		this.factory = factory;
79
		registerRules(grammarAccess.getGrammar());
80
		this.grammarAccess = grammarAccess;
81
	}
82
83
	@Override
84
	protected InputStream getTokenFile() {
85
		ClassLoader classLoader = getClass().getClassLoader();
86
		return classLoader.getResourceAsStream("org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.tokens");
87
	}
88
89
	@Override
90
	protected String getFirstRuleName() {
91
		return "ParameterRule";
92
	}
93
94
	@Override
95
	protected UmlParameterGrammarAccess getGrammarAccess() {
96
		return grammarAccess;
97
	}
98
99
100
101
	// $ANTLR start entryRuleParameterRule
102
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:78:1: entryRuleParameterRule returns [EObject current=null] : iv_ruleParameterRule= ruleParameterRule EOF ;
103
	public final EObject entryRuleParameterRule() throws RecognitionException {
104
		EObject current = null;
105
106
		EObject iv_ruleParameterRule = null;
107
108
109
		try {
110
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:79:2: (iv_ruleParameterRule= ruleParameterRule EOF )
111
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:80:2: iv_ruleParameterRule= ruleParameterRule EOF
112
			{
113
				currentNode = createCompositeNode(grammarAccess.getParameterRuleRule(), currentNode);
114
				pushFollow(FOLLOW_ruleParameterRule_in_entryRuleParameterRule75);
115
				iv_ruleParameterRule = ruleParameterRule();
116
				_fsp--;
117
118
				current = iv_ruleParameterRule;
119
				match(input, EOF, FOLLOW_EOF_in_entryRuleParameterRule85);
120
121
			}
122
123
		}
124
125
		catch (RecognitionException re) {
126
			recover(input, re);
127
			appendSkippedTokens();
128
		} finally {
129
		}
130
		return current;
131
	}
132
133
	// $ANTLR end entryRuleParameterRule
134
135
136
	// $ANTLR start ruleParameterRule
137
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:87:1: ruleParameterRule returns [EObject current=null] : ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_direction_1_0= ruleDirection ) ) ( (lv_name_2_0= RULE_ID ) ) ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) ) ) ;
138
	public final EObject ruleParameterRule() throws RecognitionException {
139
		EObject current = null;
140
141
		Token lv_name_2_0 = null;
142
		Enumerator lv_visibility_0_0 = null;
143
144
		Enumerator lv_direction_1_0 = null;
145
146
		EObject lv_type_4_0 = null;
147
148
		EObject lv_multiplicity_6_0 = null;
149
150
		EObject lv_modifiers_7_0 = null;
151
152
		EObject lv_effect_8_0 = null;
153
154
155
		EObject temp = null;
156
		setCurrentLookahead();
157
		resetLookahead();
158
159
		try {
160
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:92:6: ( ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_direction_1_0= ruleDirection ) ) ( (lv_name_2_0= RULE_ID ) ) ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) ) ) )
161
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:93:1: ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_direction_1_0= ruleDirection ) ) ( (lv_name_2_0= RULE_ID ) ) ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) ) )
162
			{
163
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:93:1: ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_direction_1_0= ruleDirection ) ) ( (lv_name_2_0= RULE_ID ) ) ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) ) )
164
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:93:2: ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_direction_1_0= ruleDirection ) ) ( (lv_name_2_0= RULE_ID ) ) ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) )
165
				{
166
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:93:2: ( (lv_visibility_0_0= ruleVisibilityKind ) )
167
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:94:1: (lv_visibility_0_0= ruleVisibilityKind )
168
					{
169
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:94:1: (lv_visibility_0_0= ruleVisibilityKind )
170
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:95:3: lv_visibility_0_0= ruleVisibilityKind
171
						{
172
173
							currentNode = createCompositeNode(grammarAccess.getParameterRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0(), currentNode);
174
62
175
							pushFollow(FOLLOW_ruleVisibilityKind_in_ruleParameterRule131);
63
    // delegates
176
							lv_visibility_0_0 = ruleVisibilityKind();
64
    // delegators
177
							_fsp--;
178
65
179
66
180
							if(current == null) {
67
        public InternalUmlParameterParser(TokenStream input) {
181
								current = factory.create(grammarAccess.getParameterRuleRule().getType().getClassifier());
68
            this(input, new RecognizerSharedState());
182
								associateNodeWithAstElement(currentNode.getParent(), current);
69
        }
183
							}
70
        public InternalUmlParameterParser(TokenStream input, RecognizerSharedState state) {
184
							try {
71
            super(input, state);
185
								set(current, "visibility", lv_visibility_0_0, "VisibilityKind", currentNode);
72
             
186
							} catch (ValueConverterException vce) {
73
        }
187
								handleValueConverterException(vce);
74
        
188
							}
189
							currentNode = currentNode.getParent();
190
75
76
    public String[] getTokenNames() { return InternalUmlParameterParser.tokenNames; }
77
    public String getGrammarFileName() { return "../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g"; }
191
78
192
						}
193
79
194
80
195
					}
81
     	private UmlParameterGrammarAccess grammarAccess;
82
     	
83
        public InternalUmlParameterParser(TokenStream input, UmlParameterGrammarAccess grammarAccess) {
84
            this(input);
85
            this.grammarAccess = grammarAccess;
86
            registerRules(grammarAccess.getGrammar());
87
        }
88
        
89
        @Override
90
        protected String getFirstRuleName() {
91
        	return "ParameterRule";	
92
       	}
93
       	
94
       	@Override
95
       	protected UmlParameterGrammarAccess getGrammarAccess() {
96
       		return grammarAccess;
97
       	}
196
98
197
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:117:2: ( (lv_direction_1_0= ruleDirection ) )
198
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:118:1: (lv_direction_1_0= ruleDirection )
199
					{
200
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:118:1: (lv_direction_1_0= ruleDirection )
201
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:119:3: lv_direction_1_0= ruleDirection
202
						{
203
99
204
							currentNode = createCompositeNode(grammarAccess.getParameterRuleAccess().getDirectionDirectionEnumRuleCall_1_0(), currentNode);
205
100
206
							pushFollow(FOLLOW_ruleDirection_in_ruleParameterRule152);
101
    // $ANTLR start "entryRuleParameterRule"
207
							lv_direction_1_0 = ruleDirection();
102
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:68:1: entryRuleParameterRule returns [EObject current=null] : iv_ruleParameterRule= ruleParameterRule EOF ;
208
							_fsp--;
103
    public final EObject entryRuleParameterRule() throws RecognitionException {
104
        EObject current = null;
209
105
106
        EObject iv_ruleParameterRule = null;
210
107
211
							if(current == null) {
212
								current = factory.create(grammarAccess.getParameterRuleRule().getType().getClassifier());
213
								associateNodeWithAstElement(currentNode.getParent(), current);
214
							}
215
							try {
216
								set(current, "direction", lv_direction_1_0, "Direction", currentNode);
217
							} catch (ValueConverterException vce) {
218
								handleValueConverterException(vce);
219
							}
220
							currentNode = currentNode.getParent();
221
108
109
        try {
110
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:69:2: (iv_ruleParameterRule= ruleParameterRule EOF )
111
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:70:2: iv_ruleParameterRule= ruleParameterRule EOF
112
            {
113
             newCompositeNode(grammarAccess.getParameterRuleRule()); 
114
            pushFollow(FOLLOW_ruleParameterRule_in_entryRuleParameterRule75);
115
            iv_ruleParameterRule=ruleParameterRule();
222
116
223
						}
117
            state._fsp--;
224
118
119
             current =iv_ruleParameterRule; 
120
            match(input,EOF,FOLLOW_EOF_in_entryRuleParameterRule85); 
225
121
226
					}
122
            }
227
123
228
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:141:2: ( (lv_name_2_0= RULE_ID ) )
124
        }
229
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:142:1: (lv_name_2_0= RULE_ID )
125
         
230
					{
126
            catch (RecognitionException re) { 
231
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:142:1: (lv_name_2_0= RULE_ID )
127
                recover(input,re); 
232
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:143:3: lv_name_2_0= RULE_ID
128
                appendSkippedTokens();
233
						{
129
            } 
234
							lv_name_2_0 = (Token)input.LT(1);
130
        finally {
235
							match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleParameterRule169);
131
        }
132
        return current;
133
    }
134
    // $ANTLR end "entryRuleParameterRule"
236
135
237
							createLeafNode(grammarAccess.getParameterRuleAccess().getNameIDTerminalRuleCall_2_0(), "name");
238
136
137
    // $ANTLR start "ruleParameterRule"
138
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:77:1: ruleParameterRule returns [EObject current=null] : ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_direction_1_0= ruleDirection ) ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | otherlv_5= '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) ) ) ;
139
    public final EObject ruleParameterRule() throws RecognitionException {
140
        EObject current = null;
239
141
240
							if(current == null) {
142
        Token lv_name_2_0=null;
241
								current = factory.create(grammarAccess.getParameterRuleRule().getType().getClassifier());
143
        Token otherlv_3=null;
242
								associateNodeWithAstElement(currentNode, current);
144
        Token otherlv_5=null;
243
							}
145
        Enumerator lv_visibility_0_0 = null;
244
							try {
245
								set(current, "name", lv_name_2_0, "ID", lastConsumedNode);
246
							} catch (ValueConverterException vce) {
247
								handleValueConverterException(vce);
248
							}
249
146
147
        Enumerator lv_direction_1_0 = null;
250
148
251
						}
149
        EObject lv_type_4_0 = null;
252
150
151
        EObject lv_multiplicity_6_0 = null;
253
152
254
					}
153
        EObject lv_modifiers_7_0 = null;
255
154
256
					match(input, 12, FOLLOW_12_in_ruleParameterRule184);
155
        EObject lv_effect_8_0 = null;
257
156
258
					createLeafNode(grammarAccess.getParameterRuleAccess().getColonKeyword_3(), null);
259
157
260
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:169:1: ( ( (lv_type_4_0= ruleTypeRule ) ) | '<Undefined>' )
158
         enterRule(); 
261
					int alt1 = 2;
159
            
262
					int LA1_0 = input.LA(1);
160
        try {
161
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:80:28: ( ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_direction_1_0= ruleDirection ) ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | otherlv_5= '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) ) ) )
162
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:81:1: ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_direction_1_0= ruleDirection ) ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | otherlv_5= '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) ) )
163
            {
164
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:81:1: ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_direction_1_0= ruleDirection ) ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | otherlv_5= '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) ) )
165
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:81:2: ( (lv_visibility_0_0= ruleVisibilityKind ) ) ( (lv_direction_1_0= ruleDirection ) ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | otherlv_5= '<Undefined>' ) ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) )
166
            {
167
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:81:2: ( (lv_visibility_0_0= ruleVisibilityKind ) )
168
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:82:1: (lv_visibility_0_0= ruleVisibilityKind )
169
            {
170
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:82:1: (lv_visibility_0_0= ruleVisibilityKind )
171
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:83:3: lv_visibility_0_0= ruleVisibilityKind
172
            {
173
             
174
            	        newCompositeNode(grammarAccess.getParameterRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); 
175
            	    
176
            pushFollow(FOLLOW_ruleVisibilityKind_in_ruleParameterRule131);
177
            lv_visibility_0_0=ruleVisibilityKind();
263
178
264
					if((LA1_0 == RULE_ID)) {
179
            state._fsp--;
265
						alt1 = 1;
266
					} else if((LA1_0 == 13)) {
267
						alt1 = 2;
268
					} else {
269
						NoViableAltException nvae = new NoViableAltException("169:1: ( ( (lv_type_4_0= ruleTypeRule ) ) | '<Undefined>' )", 1, 0, input);
270
180
271
						throw nvae;
272
					}
273
					switch(alt1) {
274
					case 1:
275
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:169:2: ( (lv_type_4_0= ruleTypeRule ) )
276
					{
277
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:169:2: ( (lv_type_4_0= ruleTypeRule ) )
278
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:170:1: (lv_type_4_0= ruleTypeRule )
279
						{
280
							// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:170:1: (lv_type_4_0= ruleTypeRule )
281
							// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:171:3: lv_type_4_0= ruleTypeRule
282
							{
283
181
284
								currentNode = createCompositeNode(grammarAccess.getParameterRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0(), currentNode);
182
            	        if (current==null) {
183
            	            current = createModelElementForParent(grammarAccess.getParameterRuleRule());
184
            	        }
185
                   		set(
186
                   			current, 
187
                   			"visibility",
188
                    		lv_visibility_0_0, 
189
                    		"VisibilityKind");
190
            	        afterParserOrEnumRuleCall();
191
            	    
285
192
286
								pushFollow(FOLLOW_ruleTypeRule_in_ruleParameterRule206);
193
            }
287
								lv_type_4_0 = ruleTypeRule();
288
								_fsp--;
289
194
290
195
291
								if(current == null) {
196
            }
292
									current = factory.create(grammarAccess.getParameterRuleRule().getType().getClassifier());
293
									associateNodeWithAstElement(currentNode.getParent(), current);
294
								}
295
								try {
296
									set(current, "type", lv_type_4_0, "TypeRule", currentNode);
297
								} catch (ValueConverterException vce) {
298
									handleValueConverterException(vce);
299
								}
300
								currentNode = currentNode.getParent();
301
197
198
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:99:2: ( (lv_direction_1_0= ruleDirection ) )
199
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:100:1: (lv_direction_1_0= ruleDirection )
200
            {
201
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:100:1: (lv_direction_1_0= ruleDirection )
202
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:101:3: lv_direction_1_0= ruleDirection
203
            {
204
             
205
            	        newCompositeNode(grammarAccess.getParameterRuleAccess().getDirectionDirectionEnumRuleCall_1_0()); 
206
            	    
207
            pushFollow(FOLLOW_ruleDirection_in_ruleParameterRule152);
208
            lv_direction_1_0=ruleDirection();
302
209
303
							}
210
            state._fsp--;
304
211
305
212
306
						}
213
            	        if (current==null) {
214
            	            current = createModelElementForParent(grammarAccess.getParameterRuleRule());
215
            	        }
216
                   		set(
217
                   			current, 
218
                   			"direction",
219
                    		lv_direction_1_0, 
220
                    		"Direction");
221
            	        afterParserOrEnumRuleCall();
222
            	    
307
223
224
            }
308
225
309
					}
310
						break;
311
					case 2:
312
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:194:7: '<Undefined>'
313
					{
314
						match(input, 13, FOLLOW_13_in_ruleParameterRule222);
315
226
316
						createLeafNode(grammarAccess.getParameterRuleAccess().getUndefinedKeyword_4_1(), null);
227
            }
317
228
229
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:117:2: ( (lv_name_2_0= RULE_ID ) )
230
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:118:1: (lv_name_2_0= RULE_ID )
231
            {
232
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:118:1: (lv_name_2_0= RULE_ID )
233
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:119:3: lv_name_2_0= RULE_ID
234
            {
235
            lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleParameterRule169); 
318
236
319
					}
237
            			newLeafNode(lv_name_2_0, grammarAccess.getParameterRuleAccess().getNameIDTerminalRuleCall_2_0()); 
320
						break;
238
            		
321
239
322
					}
240
            	        if (current==null) {
241
            	            current = createModelElement(grammarAccess.getParameterRuleRule());
242
            	        }
243
                   		setWithLastConsumed(
244
                   			current, 
245
                   			"name",
246
                    		lv_name_2_0, 
247
                    		"ID");
248
            	    
323
249
324
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:198:2: ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )?
250
            }
325
					int alt2 = 2;
326
					int LA2_0 = input.LA(1);
327
251
328
					if((LA2_0 == 19)) {
329
						alt2 = 1;
330
					}
331
					switch(alt2) {
332
					case 1:
333
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:199:1: (lv_multiplicity_6_0= ruleMultiplicityRule )
334
					{
335
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:199:1: (lv_multiplicity_6_0= ruleMultiplicityRule )
336
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:200:3: lv_multiplicity_6_0= ruleMultiplicityRule
337
						{
338
252
339
							currentNode = createCompositeNode(grammarAccess.getParameterRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0(), currentNode);
253
            }
340
254
341
							pushFollow(FOLLOW_ruleMultiplicityRule_in_ruleParameterRule244);
255
            otherlv_3=(Token)match(input,12,FOLLOW_12_in_ruleParameterRule186); 
342
							lv_multiplicity_6_0 = ruleMultiplicityRule();
343
							_fsp--;
344
256
257
                	newLeafNode(otherlv_3, grammarAccess.getParameterRuleAccess().getColonKeyword_3());
258
                
259
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:139:1: ( ( (lv_type_4_0= ruleTypeRule ) ) | otherlv_5= '<Undefined>' )
260
            int alt1=2;
261
            int LA1_0 = input.LA(1);
345
262
346
							if(current == null) {
263
            if ( (LA1_0==RULE_ID) ) {
347
								current = factory.create(grammarAccess.getParameterRuleRule().getType().getClassifier());
264
                alt1=1;
348
								associateNodeWithAstElement(currentNode.getParent(), current);
265
            }
349
							}
266
            else if ( (LA1_0==13) ) {
350
							try {
267
                alt1=2;
351
								set(current, "multiplicity", lv_multiplicity_6_0, "MultiplicityRule", currentNode);
268
            }
352
							} catch (ValueConverterException vce) {
269
            else {
353
								handleValueConverterException(vce);
270
                NoViableAltException nvae =
354
							}
271
                    new NoViableAltException("", 1, 0, input);
355
							currentNode = currentNode.getParent();
356
272
273
                throw nvae;
274
            }
275
            switch (alt1) {
276
                case 1 :
277
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:139:2: ( (lv_type_4_0= ruleTypeRule ) )
278
                    {
279
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:139:2: ( (lv_type_4_0= ruleTypeRule ) )
280
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:140:1: (lv_type_4_0= ruleTypeRule )
281
                    {
282
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:140:1: (lv_type_4_0= ruleTypeRule )
283
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:141:3: lv_type_4_0= ruleTypeRule
284
                    {
285
                     
286
                    	        newCompositeNode(grammarAccess.getParameterRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0()); 
287
                    	    
288
                    pushFollow(FOLLOW_ruleTypeRule_in_ruleParameterRule208);
289
                    lv_type_4_0=ruleTypeRule();
357
290
358
						}
291
                    state._fsp--;
359
292
360
293
361
					}
294
                    	        if (current==null) {
362
						break;
295
                    	            current = createModelElementForParent(grammarAccess.getParameterRuleRule());
296
                    	        }
297
                           		set(
298
                           			current, 
299
                           			"type",
300
                            		lv_type_4_0, 
301
                            		"TypeRule");
302
                    	        afterParserOrEnumRuleCall();
303
                    	    
363
304
364
					}
305
                    }
365
306
366
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:222:3: ( (lv_modifiers_7_0= ruleModifiersRule ) )?
367
					int alt3 = 2;
368
					int LA3_0 = input.LA(1);
369
307
370
					if((LA3_0 == 14)) {
308
                    }
371
						int LA3_1 = input.LA(2);
372
309
373
						if(((LA3_1 >= 22 && LA3_1 <= 25))) {
374
							alt3 = 1;
375
						}
376
					}
377
					switch(alt3) {
378
					case 1:
379
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:223:1: (lv_modifiers_7_0= ruleModifiersRule )
380
					{
381
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:223:1: (lv_modifiers_7_0= ruleModifiersRule )
382
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:224:3: lv_modifiers_7_0= ruleModifiersRule
383
						{
384
310
385
							currentNode = createCompositeNode(grammarAccess.getParameterRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0(), currentNode);
311
                    }
312
                    break;
313
                case 2 :
314
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:158:7: otherlv_5= '<Undefined>'
315
                    {
316
                    otherlv_5=(Token)match(input,13,FOLLOW_13_in_ruleParameterRule226); 
386
317
387
							pushFollow(FOLLOW_ruleModifiersRule_in_ruleParameterRule266);
318
                        	newLeafNode(otherlv_5, grammarAccess.getParameterRuleAccess().getUndefinedKeyword_4_1());
388
							lv_modifiers_7_0 = ruleModifiersRule();
319
                        
389
							_fsp--;
390
320
321
                    }
322
                    break;
391
323
392
							if(current == null) {
324
            }
393
								current = factory.create(grammarAccess.getParameterRuleRule().getType().getClassifier());
394
								associateNodeWithAstElement(currentNode.getParent(), current);
395
							}
396
							try {
397
								set(current, "modifiers", lv_modifiers_7_0, "ModifiersRule", currentNode);
398
							} catch (ValueConverterException vce) {
399
								handleValueConverterException(vce);
400
							}
401
							currentNode = currentNode.getParent();
402
325
326
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:162:2: ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )?
327
            int alt2=2;
328
            int LA2_0 = input.LA(1);
403
329
404
						}
330
            if ( (LA2_0==19) ) {
331
                alt2=1;
332
            }
333
            switch (alt2) {
334
                case 1 :
335
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:163:1: (lv_multiplicity_6_0= ruleMultiplicityRule )
336
                    {
337
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:163:1: (lv_multiplicity_6_0= ruleMultiplicityRule )
338
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:164:3: lv_multiplicity_6_0= ruleMultiplicityRule
339
                    {
340
                     
341
                    	        newCompositeNode(grammarAccess.getParameterRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0()); 
342
                    	    
343
                    pushFollow(FOLLOW_ruleMultiplicityRule_in_ruleParameterRule248);
344
                    lv_multiplicity_6_0=ruleMultiplicityRule();
405
345
346
                    state._fsp--;
406
347
407
					}
408
						break;
409
348
410
					}
349
                    	        if (current==null) {
350
                    	            current = createModelElementForParent(grammarAccess.getParameterRuleRule());
351
                    	        }
352
                           		set(
353
                           			current, 
354
                           			"multiplicity",
355
                            		lv_multiplicity_6_0, 
356
                            		"MultiplicityRule");
357
                    	        afterParserOrEnumRuleCall();
358
                    	    
411
359
412
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:246:3: ( (lv_effect_8_0= ruleEffectRule ) )
360
                    }
413
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:247:1: (lv_effect_8_0= ruleEffectRule )
414
					{
415
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:247:1: (lv_effect_8_0= ruleEffectRule )
416
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:248:3: lv_effect_8_0= ruleEffectRule
417
						{
418
361
419
							currentNode = createCompositeNode(grammarAccess.getParameterRuleAccess().getEffectEffectRuleParserRuleCall_7_0(), currentNode);
420
362
421
							pushFollow(FOLLOW_ruleEffectRule_in_ruleParameterRule288);
363
                    }
422
							lv_effect_8_0 = ruleEffectRule();
364
                    break;
423
							_fsp--;
424
365
366
            }
425
367
426
							if(current == null) {
368
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:180:3: ( (lv_modifiers_7_0= ruleModifiersRule ) )?
427
								current = factory.create(grammarAccess.getParameterRuleRule().getType().getClassifier());
369
            int alt3=2;
428
								associateNodeWithAstElement(currentNode.getParent(), current);
370
            int LA3_0 = input.LA(1);
429
							}
430
							try {
431
								set(current, "effect", lv_effect_8_0, "EffectRule", currentNode);
432
							} catch (ValueConverterException vce) {
433
								handleValueConverterException(vce);
434
							}
435
							currentNode = currentNode.getParent();
436
371
372
            if ( (LA3_0==14) ) {
373
                int LA3_1 = input.LA(2);
437
374
438
						}
375
                if ( ((LA3_1>=22 && LA3_1<=25)) ) {
376
                    alt3=1;
377
                }
378
            }
379
            switch (alt3) {
380
                case 1 :
381
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:181:1: (lv_modifiers_7_0= ruleModifiersRule )
382
                    {
383
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:181:1: (lv_modifiers_7_0= ruleModifiersRule )
384
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:182:3: lv_modifiers_7_0= ruleModifiersRule
385
                    {
386
                     
387
                    	        newCompositeNode(grammarAccess.getParameterRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0()); 
388
                    	    
389
                    pushFollow(FOLLOW_ruleModifiersRule_in_ruleParameterRule270);
390
                    lv_modifiers_7_0=ruleModifiersRule();
439
391
392
                    state._fsp--;
440
393
441
					}
442
394
395
                    	        if (current==null) {
396
                    	            current = createModelElementForParent(grammarAccess.getParameterRuleRule());
397
                    	        }
398
                           		set(
399
                           			current, 
400
                           			"modifiers",
401
                            		lv_modifiers_7_0, 
402
                            		"ModifiersRule");
403
                    	        afterParserOrEnumRuleCall();
404
                    	    
443
405
444
				}
406
                    }
445
407
446
408
447
			}
409
                    }
410
                    break;
448
411
449
			resetLookahead();
412
            }
450
			lastConsumedNode = currentNode;
451
413
452
		}
414
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:198:3: ( (lv_effect_8_0= ruleEffectRule ) )
415
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:199:1: (lv_effect_8_0= ruleEffectRule )
416
            {
417
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:199:1: (lv_effect_8_0= ruleEffectRule )
418
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:200:3: lv_effect_8_0= ruleEffectRule
419
            {
420
             
421
            	        newCompositeNode(grammarAccess.getParameterRuleAccess().getEffectEffectRuleParserRuleCall_7_0()); 
422
            	    
423
            pushFollow(FOLLOW_ruleEffectRule_in_ruleParameterRule292);
424
            lv_effect_8_0=ruleEffectRule();
453
425
454
		catch (RecognitionException re) {
426
            state._fsp--;
455
			recover(input, re);
456
			appendSkippedTokens();
457
		} finally {
458
		}
459
		return current;
460
	}
461
427
462
	// $ANTLR end ruleParameterRule
463
428
429
            	        if (current==null) {
430
            	            current = createModelElementForParent(grammarAccess.getParameterRuleRule());
431
            	        }
432
                   		set(
433
                   			current, 
434
                   			"effect",
435
                    		lv_effect_8_0, 
436
                    		"EffectRule");
437
            	        afterParserOrEnumRuleCall();
438
            	    
464
439
465
	// $ANTLR start entryRuleModifiersRule
440
            }
466
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:278:1: entryRuleModifiersRule returns [EObject current=null] : iv_ruleModifiersRule= ruleModifiersRule EOF ;
467
	public final EObject entryRuleModifiersRule() throws RecognitionException {
468
		EObject current = null;
469
441
470
		EObject iv_ruleModifiersRule = null;
471
442
443
            }
472
444
473
		try {
474
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:279:2: (iv_ruleModifiersRule= ruleModifiersRule EOF )
475
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:280:2: iv_ruleModifiersRule= ruleModifiersRule EOF
476
			{
477
				currentNode = createCompositeNode(grammarAccess.getModifiersRuleRule(), currentNode);
478
				pushFollow(FOLLOW_ruleModifiersRule_in_entryRuleModifiersRule324);
479
				iv_ruleModifiersRule = ruleModifiersRule();
480
				_fsp--;
481
445
482
				current = iv_ruleModifiersRule;
446
            }
483
				match(input, EOF, FOLLOW_EOF_in_entryRuleModifiersRule334);
484
447
485
			}
486
448
487
		}
449
            }
488
450
489
		catch (RecognitionException re) {
451
             leaveRule(); 
490
			recover(input, re);
452
        }
491
			appendSkippedTokens();
453
         
492
		} finally {
454
            catch (RecognitionException re) { 
493
		}
455
                recover(input,re); 
494
		return current;
456
                appendSkippedTokens();
495
	}
457
            } 
458
        finally {
459
        }
460
        return current;
461
    }
462
    // $ANTLR end "ruleParameterRule"
496
463
497
	// $ANTLR end entryRuleModifiersRule
498
464
465
    // $ANTLR start "entryRuleModifiersRule"
466
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:224:1: entryRuleModifiersRule returns [EObject current=null] : iv_ruleModifiersRule= ruleModifiersRule EOF ;
467
    public final EObject entryRuleModifiersRule() throws RecognitionException {
468
        EObject current = null;
499
469
500
	// $ANTLR start ruleModifiersRule
470
        EObject iv_ruleModifiersRule = null;
501
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:287:1: ruleModifiersRule returns [EObject current=null] : ( '{' ( (lv_values_1_0= ruleModifierSpecification ) ) ( ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* '}' ) ;
502
	public final EObject ruleModifiersRule() throws RecognitionException {
503
		EObject current = null;
504
471
505
		EObject lv_values_1_0 = null;
506
472
507
		EObject lv_values_3_0 = null;
473
        try {
474
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:225:2: (iv_ruleModifiersRule= ruleModifiersRule EOF )
475
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:226:2: iv_ruleModifiersRule= ruleModifiersRule EOF
476
            {
477
             newCompositeNode(grammarAccess.getModifiersRuleRule()); 
478
            pushFollow(FOLLOW_ruleModifiersRule_in_entryRuleModifiersRule328);
479
            iv_ruleModifiersRule=ruleModifiersRule();
508
480
481
            state._fsp--;
509
482
510
		EObject temp = null;
483
             current =iv_ruleModifiersRule; 
511
		setCurrentLookahead();
484
            match(input,EOF,FOLLOW_EOF_in_entryRuleModifiersRule338); 
512
		resetLookahead();
513
485
514
		try {
486
            }
515
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:292:6: ( ( '{' ( (lv_values_1_0= ruleModifierSpecification ) ) ( ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* '}' ) )
516
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:293:1: ( '{' ( (lv_values_1_0= ruleModifierSpecification ) ) ( ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* '}' )
517
			{
518
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:293:1: ( '{' ( (lv_values_1_0= ruleModifierSpecification ) ) ( ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* '}' )
519
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:293:3: '{' ( (lv_values_1_0= ruleModifierSpecification ) ) ( ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* '}'
520
				{
521
					match(input, 14, FOLLOW_14_in_ruleModifiersRule369);
522
487
523
					createLeafNode(grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0(), null);
488
        }
489
         
490
            catch (RecognitionException re) { 
491
                recover(input,re); 
492
                appendSkippedTokens();
493
            } 
494
        finally {
495
        }
496
        return current;
497
    }
498
    // $ANTLR end "entryRuleModifiersRule"
524
499
525
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:297:1: ( (lv_values_1_0= ruleModifierSpecification ) )
526
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:298:1: (lv_values_1_0= ruleModifierSpecification )
527
					{
528
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:298:1: (lv_values_1_0= ruleModifierSpecification )
529
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:299:3: lv_values_1_0= ruleModifierSpecification
530
						{
531
500
532
							currentNode = createCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0(), currentNode);
501
    // $ANTLR start "ruleModifiersRule"
502
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:233:1: ruleModifiersRule returns [EObject current=null] : (otherlv_0= '{' ( (lv_values_1_0= ruleModifierSpecification ) ) (otherlv_2= ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* otherlv_4= '}' ) ;
503
    public final EObject ruleModifiersRule() throws RecognitionException {
504
        EObject current = null;
533
505
534
							pushFollow(FOLLOW_ruleModifierSpecification_in_ruleModifiersRule390);
506
        Token otherlv_0=null;
535
							lv_values_1_0 = ruleModifierSpecification();
507
        Token otherlv_2=null;
536
							_fsp--;
508
        Token otherlv_4=null;
509
        EObject lv_values_1_0 = null;
537
510
511
        EObject lv_values_3_0 = null;
538
512
539
							if(current == null) {
540
								current = factory.create(grammarAccess.getModifiersRuleRule().getType().getClassifier());
541
								associateNodeWithAstElement(currentNode.getParent(), current);
542
							}
543
							try {
544
								add(current, "values", lv_values_1_0, "ModifierSpecification", currentNode);
545
							} catch (ValueConverterException vce) {
546
								handleValueConverterException(vce);
547
							}
548
							currentNode = currentNode.getParent();
549
513
514
         enterRule(); 
515
            
516
        try {
517
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:236:28: ( (otherlv_0= '{' ( (lv_values_1_0= ruleModifierSpecification ) ) (otherlv_2= ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* otherlv_4= '}' ) )
518
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:237:1: (otherlv_0= '{' ( (lv_values_1_0= ruleModifierSpecification ) ) (otherlv_2= ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* otherlv_4= '}' )
519
            {
520
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:237:1: (otherlv_0= '{' ( (lv_values_1_0= ruleModifierSpecification ) ) (otherlv_2= ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* otherlv_4= '}' )
521
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:237:3: otherlv_0= '{' ( (lv_values_1_0= ruleModifierSpecification ) ) (otherlv_2= ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )* otherlv_4= '}'
522
            {
523
            otherlv_0=(Token)match(input,14,FOLLOW_14_in_ruleModifiersRule375); 
550
524
551
						}
525
                	newLeafNode(otherlv_0, grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0());
526
                
527
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:241:1: ( (lv_values_1_0= ruleModifierSpecification ) )
528
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:242:1: (lv_values_1_0= ruleModifierSpecification )
529
            {
530
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:242:1: (lv_values_1_0= ruleModifierSpecification )
531
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:243:3: lv_values_1_0= ruleModifierSpecification
532
            {
533
             
534
            	        newCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0()); 
535
            	    
536
            pushFollow(FOLLOW_ruleModifierSpecification_in_ruleModifiersRule396);
537
            lv_values_1_0=ruleModifierSpecification();
552
538
539
            state._fsp--;
553
540
554
					}
555
541
556
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:321:2: ( ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )*
542
            	        if (current==null) {
557
					loop4: do {
543
            	            current = createModelElementForParent(grammarAccess.getModifiersRuleRule());
558
						int alt4 = 2;
544
            	        }
559
						int LA4_0 = input.LA(1);
545
                   		add(
546
                   			current, 
547
                   			"values",
548
                    		lv_values_1_0, 
549
                    		"ModifierSpecification");
550
            	        afterParserOrEnumRuleCall();
551
            	    
560
552
561
						if((LA4_0 == 15)) {
553
            }
562
							alt4 = 1;
563
						}
564
554
565
555
566
						switch(alt4) {
556
            }
567
						case 1:
568
							// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:321:4: ',' ( (lv_values_3_0= ruleModifierSpecification ) )
569
						{
570
							match(input, 15, FOLLOW_15_in_ruleModifiersRule401);
571
557
572
							createLeafNode(grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0(), null);
558
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:259:2: (otherlv_2= ',' ( (lv_values_3_0= ruleModifierSpecification ) ) )*
559
            loop4:
560
            do {
561
                int alt4=2;
562
                int LA4_0 = input.LA(1);
573
563
574
							// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:325:1: ( (lv_values_3_0= ruleModifierSpecification ) )
564
                if ( (LA4_0==15) ) {
575
							// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:326:1: (lv_values_3_0= ruleModifierSpecification )
565
                    alt4=1;
576
							{
566
                }
577
								// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:326:1: (lv_values_3_0= ruleModifierSpecification )
578
								// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:327:3: lv_values_3_0= ruleModifierSpecification
579
								{
580
567
581
									currentNode = createCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0(), currentNode);
582
568
583
									pushFollow(FOLLOW_ruleModifierSpecification_in_ruleModifiersRule422);
569
                switch (alt4) {
584
									lv_values_3_0 = ruleModifierSpecification();
570
            	case 1 :
585
									_fsp--;
571
            	    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:259:4: otherlv_2= ',' ( (lv_values_3_0= ruleModifierSpecification ) )
572
            	    {
573
            	    otherlv_2=(Token)match(input,15,FOLLOW_15_in_ruleModifiersRule409); 
586
574
575
            	        	newLeafNode(otherlv_2, grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0());
576
            	        
577
            	    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:263:1: ( (lv_values_3_0= ruleModifierSpecification ) )
578
            	    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:264:1: (lv_values_3_0= ruleModifierSpecification )
579
            	    {
580
            	    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:264:1: (lv_values_3_0= ruleModifierSpecification )
581
            	    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:265:3: lv_values_3_0= ruleModifierSpecification
582
            	    {
583
            	     
584
            	    	        newCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0()); 
585
            	    	    
586
            	    pushFollow(FOLLOW_ruleModifierSpecification_in_ruleModifiersRule430);
587
            	    lv_values_3_0=ruleModifierSpecification();
587
588
588
									if(current == null) {
589
            	    state._fsp--;
589
										current = factory.create(grammarAccess.getModifiersRuleRule().getType().getClassifier());
590
										associateNodeWithAstElement(currentNode.getParent(), current);
591
									}
592
									try {
593
										add(current, "values", lv_values_3_0, "ModifierSpecification", currentNode);
594
									} catch (ValueConverterException vce) {
595
										handleValueConverterException(vce);
596
									}
597
									currentNode = currentNode.getParent();
598
590
599
591
600
								}
592
            	    	        if (current==null) {
593
            	    	            current = createModelElementForParent(grammarAccess.getModifiersRuleRule());
594
            	    	        }
595
            	           		add(
596
            	           			current, 
597
            	           			"values",
598
            	            		lv_values_3_0, 
599
            	            		"ModifierSpecification");
600
            	    	        afterParserOrEnumRuleCall();
601
            	    	    
601
602
603
            	    }
602
604
603
							}
604
605
606
            	    }
605
607
606
						}
607
							break;
608
608
609
						default:
609
            	    }
610
							break loop4;
610
            	    break;
611
						}
612
					} while(true);
613
611
614
					match(input, 16, FOLLOW_16_in_ruleModifiersRule434);
612
            	default :
613
            	    break loop4;
614
                }
615
            } while (true);
615
616
616
					createLeafNode(grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3(), null);
617
            otherlv_4=(Token)match(input,16,FOLLOW_16_in_ruleModifiersRule444); 
617
618
619
                	newLeafNode(otherlv_4, grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3());
620
                
618
621
619
				}
622
            }
620
623
621
624
622
			}
625
            }
623
626
624
			resetLookahead();
627
             leaveRule(); 
625
			lastConsumedNode = currentNode;
628
        }
629
         
630
            catch (RecognitionException re) { 
631
                recover(input,re); 
632
                appendSkippedTokens();
633
            } 
634
        finally {
635
        }
636
        return current;
637
    }
638
    // $ANTLR end "ruleModifiersRule"
626
639
627
		}
628
640
629
		catch (RecognitionException re) {
641
    // $ANTLR start "entryRuleModifierSpecification"
630
			recover(input, re);
642
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:293:1: entryRuleModifierSpecification returns [EObject current=null] : iv_ruleModifierSpecification= ruleModifierSpecification EOF ;
631
			appendSkippedTokens();
643
    public final EObject entryRuleModifierSpecification() throws RecognitionException {
632
		} finally {
644
        EObject current = null;
633
		}
634
		return current;
635
	}
636
645
637
	// $ANTLR end ruleModifiersRule
646
        EObject iv_ruleModifierSpecification = null;
638
647
639
648
640
	// $ANTLR start entryRuleModifierSpecification
649
        try {
641
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:361:1: entryRuleModifierSpecification returns [EObject current=null] : iv_ruleModifierSpecification= ruleModifierSpecification EOF ;
650
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:294:2: (iv_ruleModifierSpecification= ruleModifierSpecification EOF )
642
	public final EObject entryRuleModifierSpecification() throws RecognitionException {
651
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:295:2: iv_ruleModifierSpecification= ruleModifierSpecification EOF
643
		EObject current = null;
652
            {
653
             newCompositeNode(grammarAccess.getModifierSpecificationRule()); 
654
            pushFollow(FOLLOW_ruleModifierSpecification_in_entryRuleModifierSpecification480);
655
            iv_ruleModifierSpecification=ruleModifierSpecification();
644
656
645
		EObject iv_ruleModifierSpecification = null;
657
            state._fsp--;
646
658
659
             current =iv_ruleModifierSpecification; 
660
            match(input,EOF,FOLLOW_EOF_in_entryRuleModifierSpecification490); 
647
661
648
		try {
662
            }
649
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:362:2: (iv_ruleModifierSpecification= ruleModifierSpecification EOF )
650
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:363:2: iv_ruleModifierSpecification= ruleModifierSpecification EOF
651
			{
652
				currentNode = createCompositeNode(grammarAccess.getModifierSpecificationRule(), currentNode);
653
				pushFollow(FOLLOW_ruleModifierSpecification_in_entryRuleModifierSpecification470);
654
				iv_ruleModifierSpecification = ruleModifierSpecification();
655
				_fsp--;
656
663
657
				current = iv_ruleModifierSpecification;
664
        }
658
				match(input, EOF, FOLLOW_EOF_in_entryRuleModifierSpecification480);
665
         
666
            catch (RecognitionException re) { 
667
                recover(input,re); 
668
                appendSkippedTokens();
669
            } 
670
        finally {
671
        }
672
        return current;
673
    }
674
    // $ANTLR end "entryRuleModifierSpecification"
659
675
660
			}
661
676
662
		}
677
    // $ANTLR start "ruleModifierSpecification"
678
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:302:1: ruleModifierSpecification returns [EObject current=null] : ( (lv_value_0_0= ruleModifierKind ) ) ;
679
    public final EObject ruleModifierSpecification() throws RecognitionException {
680
        EObject current = null;
663
681
664
		catch (RecognitionException re) {
682
        Enumerator lv_value_0_0 = null;
665
			recover(input, re);
666
			appendSkippedTokens();
667
		} finally {
668
		}
669
		return current;
670
	}
671
683
672
	// $ANTLR end entryRuleModifierSpecification
673
684
685
         enterRule(); 
686
            
687
        try {
688
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:305:28: ( ( (lv_value_0_0= ruleModifierKind ) ) )
689
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:306:1: ( (lv_value_0_0= ruleModifierKind ) )
690
            {
691
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:306:1: ( (lv_value_0_0= ruleModifierKind ) )
692
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:307:1: (lv_value_0_0= ruleModifierKind )
693
            {
694
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:307:1: (lv_value_0_0= ruleModifierKind )
695
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:308:3: lv_value_0_0= ruleModifierKind
696
            {
697
             
698
            	        newCompositeNode(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0()); 
699
            	    
700
            pushFollow(FOLLOW_ruleModifierKind_in_ruleModifierSpecification535);
701
            lv_value_0_0=ruleModifierKind();
674
702
675
	// $ANTLR start ruleModifierSpecification
703
            state._fsp--;
676
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:370:1: ruleModifierSpecification returns [EObject current=null] : ( (lv_value_0_0= ruleModifierKind ) ) ;
677
	public final EObject ruleModifierSpecification() throws RecognitionException {
678
		EObject current = null;
679
704
680
		Enumerator lv_value_0_0 = null;
681
705
706
            	        if (current==null) {
707
            	            current = createModelElementForParent(grammarAccess.getModifierSpecificationRule());
708
            	        }
709
                   		set(
710
                   			current, 
711
                   			"value",
712
                    		lv_value_0_0, 
713
                    		"ModifierKind");
714
            	        afterParserOrEnumRuleCall();
715
            	    
682
716
683
		EObject temp = null;
717
            }
684
		setCurrentLookahead();
685
		resetLookahead();
686
718
687
		try {
688
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:375:6: ( ( (lv_value_0_0= ruleModifierKind ) ) )
689
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:376:1: ( (lv_value_0_0= ruleModifierKind ) )
690
			{
691
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:376:1: ( (lv_value_0_0= ruleModifierKind ) )
692
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:377:1: (lv_value_0_0= ruleModifierKind )
693
				{
694
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:377:1: (lv_value_0_0= ruleModifierKind )
695
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:378:3: lv_value_0_0= ruleModifierKind
696
					{
697
719
698
						currentNode = createCompositeNode(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0(), currentNode);
720
            }
699
721
700
						pushFollow(FOLLOW_ruleModifierKind_in_ruleModifierSpecification525);
701
						lv_value_0_0 = ruleModifierKind();
702
						_fsp--;
703
722
723
            }
704
724
705
						if(current == null) {
725
             leaveRule(); 
706
							current = factory.create(grammarAccess.getModifierSpecificationRule().getType().getClassifier());
726
        }
707
							associateNodeWithAstElement(currentNode.getParent(), current);
727
         
708
						}
728
            catch (RecognitionException re) { 
709
						try {
729
                recover(input,re); 
710
							set(current, "value", lv_value_0_0, "ModifierKind", currentNode);
730
                appendSkippedTokens();
711
						} catch (ValueConverterException vce) {
731
            } 
712
							handleValueConverterException(vce);
732
        finally {
713
						}
733
        }
714
						currentNode = currentNode.getParent();
734
        return current;
735
    }
736
    // $ANTLR end "ruleModifierSpecification"
715
737
716
738
717
					}
739
    // $ANTLR start "entryRuleEffectRule"
740
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:332:1: entryRuleEffectRule returns [EObject current=null] : iv_ruleEffectRule= ruleEffectRule EOF ;
741
    public final EObject entryRuleEffectRule() throws RecognitionException {
742
        EObject current = null;
718
743
744
        EObject iv_ruleEffectRule = null;
719
745
720
				}
721
746
747
        try {
748
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:333:2: (iv_ruleEffectRule= ruleEffectRule EOF )
749
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:334:2: iv_ruleEffectRule= ruleEffectRule EOF
750
            {
751
             newCompositeNode(grammarAccess.getEffectRuleRule()); 
752
            pushFollow(FOLLOW_ruleEffectRule_in_entryRuleEffectRule570);
753
            iv_ruleEffectRule=ruleEffectRule();
722
754
723
			}
755
            state._fsp--;
724
756
725
			resetLookahead();
757
             current =iv_ruleEffectRule; 
726
			lastConsumedNode = currentNode;
758
            match(input,EOF,FOLLOW_EOF_in_entryRuleEffectRule580); 
727
759
728
		}
760
            }
729
761
730
		catch (RecognitionException re) {
762
        }
731
			recover(input, re);
763
         
732
			appendSkippedTokens();
764
            catch (RecognitionException re) { 
733
		} finally {
765
                recover(input,re); 
734
		}
766
                appendSkippedTokens();
735
		return current;
767
            } 
736
	}
768
        finally {
769
        }
770
        return current;
771
    }
772
    // $ANTLR end "entryRuleEffectRule"
737
773
738
	// $ANTLR end ruleModifierSpecification
739
774
775
    // $ANTLR start "ruleEffectRule"
776
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:341:1: ruleEffectRule returns [EObject current=null] : (otherlv_0= '{' otherlv_1= 'effect: ' ( (lv_effectKind_2_0= ruleEffectKind ) ) otherlv_3= '}' ) ;
777
    public final EObject ruleEffectRule() throws RecognitionException {
778
        EObject current = null;
740
779
741
	// $ANTLR start entryRuleEffectRule
780
        Token otherlv_0=null;
742
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:408:1: entryRuleEffectRule returns [EObject current=null] : iv_ruleEffectRule= ruleEffectRule EOF ;
781
        Token otherlv_1=null;
743
	public final EObject entryRuleEffectRule() throws RecognitionException {
782
        Token otherlv_3=null;
744
		EObject current = null;
783
        Enumerator lv_effectKind_2_0 = null;
745
784
746
		EObject iv_ruleEffectRule = null;
747
785
786
         enterRule(); 
787
            
788
        try {
789
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:344:28: ( (otherlv_0= '{' otherlv_1= 'effect: ' ( (lv_effectKind_2_0= ruleEffectKind ) ) otherlv_3= '}' ) )
790
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:345:1: (otherlv_0= '{' otherlv_1= 'effect: ' ( (lv_effectKind_2_0= ruleEffectKind ) ) otherlv_3= '}' )
791
            {
792
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:345:1: (otherlv_0= '{' otherlv_1= 'effect: ' ( (lv_effectKind_2_0= ruleEffectKind ) ) otherlv_3= '}' )
793
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:345:3: otherlv_0= '{' otherlv_1= 'effect: ' ( (lv_effectKind_2_0= ruleEffectKind ) ) otherlv_3= '}'
794
            {
795
            otherlv_0=(Token)match(input,14,FOLLOW_14_in_ruleEffectRule617); 
748
796
749
		try {
797
                	newLeafNode(otherlv_0, grammarAccess.getEffectRuleAccess().getLeftCurlyBracketKeyword_0());
750
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:409:2: (iv_ruleEffectRule= ruleEffectRule EOF )
798
                
751
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:410:2: iv_ruleEffectRule= ruleEffectRule EOF
799
            otherlv_1=(Token)match(input,17,FOLLOW_17_in_ruleEffectRule629); 
752
			{
753
				currentNode = createCompositeNode(grammarAccess.getEffectRuleRule(), currentNode);
754
				pushFollow(FOLLOW_ruleEffectRule_in_entryRuleEffectRule560);
755
				iv_ruleEffectRule = ruleEffectRule();
756
				_fsp--;
757
800
758
				current = iv_ruleEffectRule;
801
                	newLeafNode(otherlv_1, grammarAccess.getEffectRuleAccess().getEffectKeyword_1());
759
				match(input, EOF, FOLLOW_EOF_in_entryRuleEffectRule570);
802
                
803
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:353:1: ( (lv_effectKind_2_0= ruleEffectKind ) )
804
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:354:1: (lv_effectKind_2_0= ruleEffectKind )
805
            {
806
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:354:1: (lv_effectKind_2_0= ruleEffectKind )
807
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:355:3: lv_effectKind_2_0= ruleEffectKind
808
            {
809
             
810
            	        newCompositeNode(grammarAccess.getEffectRuleAccess().getEffectKindEffectKindEnumRuleCall_2_0()); 
811
            	    
812
            pushFollow(FOLLOW_ruleEffectKind_in_ruleEffectRule650);
813
            lv_effectKind_2_0=ruleEffectKind();
760
814
761
			}
815
            state._fsp--;
762
816
763
		}
764
817
765
		catch (RecognitionException re) {
818
            	        if (current==null) {
766
			recover(input, re);
819
            	            current = createModelElementForParent(grammarAccess.getEffectRuleRule());
767
			appendSkippedTokens();
820
            	        }
768
		} finally {
821
                   		set(
769
		}
822
                   			current, 
770
		return current;
823
                   			"effectKind",
771
	}
824
                    		lv_effectKind_2_0, 
825
                    		"EffectKind");
826
            	        afterParserOrEnumRuleCall();
827
            	    
772
828
773
	// $ANTLR end entryRuleEffectRule
829
            }
774
830
775
831
776
	// $ANTLR start ruleEffectRule
832
            }
777
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:417:1: ruleEffectRule returns [EObject current=null] : ( '{' 'effect: ' ( (lv_effectKind_2_0= ruleEffectKind ) ) '}' ) ;
778
	public final EObject ruleEffectRule() throws RecognitionException {
779
		EObject current = null;
780
833
781
		Enumerator lv_effectKind_2_0 = null;
834
            otherlv_3=(Token)match(input,16,FOLLOW_16_in_ruleEffectRule662); 
782
835
836
                	newLeafNode(otherlv_3, grammarAccess.getEffectRuleAccess().getRightCurlyBracketKeyword_3());
837
                
783
838
784
		EObject temp = null;
839
            }
785
		setCurrentLookahead();
786
		resetLookahead();
787
840
788
		try {
789
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:422:6: ( ( '{' 'effect: ' ( (lv_effectKind_2_0= ruleEffectKind ) ) '}' ) )
790
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:423:1: ( '{' 'effect: ' ( (lv_effectKind_2_0= ruleEffectKind ) ) '}' )
791
			{
792
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:423:1: ( '{' 'effect: ' ( (lv_effectKind_2_0= ruleEffectKind ) ) '}' )
793
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:423:3: '{' 'effect: ' ( (lv_effectKind_2_0= ruleEffectKind ) ) '}'
794
				{
795
					match(input, 14, FOLLOW_14_in_ruleEffectRule605);
796
841
797
					createLeafNode(grammarAccess.getEffectRuleAccess().getLeftCurlyBracketKeyword_0(), null);
842
            }
798
843
799
					match(input, 17, FOLLOW_17_in_ruleEffectRule615);
844
             leaveRule(); 
845
        }
846
         
847
            catch (RecognitionException re) { 
848
                recover(input,re); 
849
                appendSkippedTokens();
850
            } 
851
        finally {
852
        }
853
        return current;
854
    }
855
    // $ANTLR end "ruleEffectRule"
800
856
801
					createLeafNode(grammarAccess.getEffectRuleAccess().getEffectKeyword_1(), null);
802
857
803
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:431:1: ( (lv_effectKind_2_0= ruleEffectKind ) )
858
    // $ANTLR start "entryRuleQualifiedName"
804
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:432:1: (lv_effectKind_2_0= ruleEffectKind )
859
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:383:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
805
					{
860
    public final EObject entryRuleQualifiedName() throws RecognitionException {
806
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:432:1: (lv_effectKind_2_0= ruleEffectKind )
861
        EObject current = null;
807
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:433:3: lv_effectKind_2_0= ruleEffectKind
808
						{
809
862
810
							currentNode = createCompositeNode(grammarAccess.getEffectRuleAccess().getEffectKindEffectKindEnumRuleCall_2_0(), currentNode);
863
        EObject iv_ruleQualifiedName = null;
811
864
812
							pushFollow(FOLLOW_ruleEffectKind_in_ruleEffectRule636);
813
							lv_effectKind_2_0 = ruleEffectKind();
814
							_fsp--;
815
865
866
        try {
867
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:384:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
868
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:385:2: iv_ruleQualifiedName= ruleQualifiedName EOF
869
            {
870
             newCompositeNode(grammarAccess.getQualifiedNameRule()); 
871
            pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName698);
872
            iv_ruleQualifiedName=ruleQualifiedName();
816
873
817
							if(current == null) {
874
            state._fsp--;
818
								current = factory.create(grammarAccess.getEffectRuleRule().getType().getClassifier());
819
								associateNodeWithAstElement(currentNode.getParent(), current);
820
							}
821
							try {
822
								set(current, "effectKind", lv_effectKind_2_0, "EffectKind", currentNode);
823
							} catch (ValueConverterException vce) {
824
								handleValueConverterException(vce);
825
							}
826
							currentNode = currentNode.getParent();
827
875
876
             current =iv_ruleQualifiedName; 
877
            match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName708); 
828
878
829
						}
879
            }
830
880
881
        }
882
         
883
            catch (RecognitionException re) { 
884
                recover(input,re); 
885
                appendSkippedTokens();
886
            } 
887
        finally {
888
        }
889
        return current;
890
    }
891
    // $ANTLR end "entryRuleQualifiedName"
831
892
832
					}
833
893
834
					match(input, 16, FOLLOW_16_in_ruleEffectRule646);
894
    // $ANTLR start "ruleQualifiedName"
895
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:392:1: ruleQualifiedName returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) ;
896
    public final EObject ruleQualifiedName() throws RecognitionException {
897
        EObject current = null;
835
898
836
					createLeafNode(grammarAccess.getEffectRuleAccess().getRightCurlyBracketKeyword_3(), null);
899
        Token otherlv_0=null;
900
        Token otherlv_1=null;
901
        EObject lv_remaining_2_0 = null;
837
902
838
903
839
				}
904
         enterRule(); 
905
            
906
        try {
907
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:395:28: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) )
908
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:396:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
909
            {
910
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:396:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
911
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:396:2: ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )?
912
            {
913
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:396:2: ( (otherlv_0= RULE_ID ) )
914
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:397:1: (otherlv_0= RULE_ID )
915
            {
916
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:397:1: (otherlv_0= RULE_ID )
917
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:398:3: otherlv_0= RULE_ID
918
            {
840
919
920
            			if (current==null) {
921
            	            current = createModelElement(grammarAccess.getQualifiedNameRule());
922
            	        }
923
                    
924
            otherlv_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName753); 
841
925
842
			}
926
            		newLeafNode(otherlv_0, grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); 
927
            	
843
928
844
			resetLookahead();
929
            }
845
			lastConsumedNode = currentNode;
846
930
847
		}
848
931
849
		catch (RecognitionException re) {
932
            }
850
			recover(input, re);
851
			appendSkippedTokens();
852
		} finally {
853
		}
854
		return current;
855
	}
856
933
857
	// $ANTLR end ruleEffectRule
934
            otherlv_1=(Token)match(input,18,FOLLOW_18_in_ruleQualifiedName765); 
858
935
936
                	newLeafNode(otherlv_1, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
937
                
938
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:413:1: ( (lv_remaining_2_0= ruleQualifiedName ) )?
939
            int alt5=2;
940
            int LA5_0 = input.LA(1);
859
941
860
	// $ANTLR start entryRuleQualifiedName
942
            if ( (LA5_0==RULE_ID) ) {
861
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:467:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
943
                int LA5_1 = input.LA(2);
862
	public final EObject entryRuleQualifiedName() throws RecognitionException {
863
		EObject current = null;
864
944
865
		EObject iv_ruleQualifiedName = null;
945
                if ( (LA5_1==18) ) {
946
                    alt5=1;
947
                }
948
            }
949
            switch (alt5) {
950
                case 1 :
951
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:414:1: (lv_remaining_2_0= ruleQualifiedName )
952
                    {
953
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:414:1: (lv_remaining_2_0= ruleQualifiedName )
954
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:415:3: lv_remaining_2_0= ruleQualifiedName
955
                    {
956
                     
957
                    	        newCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); 
958
                    	    
959
                    pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedName786);
960
                    lv_remaining_2_0=ruleQualifiedName();
866
961
962
                    state._fsp--;
867
963
868
		try {
869
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:468:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
870
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:469:2: iv_ruleQualifiedName= ruleQualifiedName EOF
871
			{
872
				currentNode = createCompositeNode(grammarAccess.getQualifiedNameRule(), currentNode);
873
				pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName682);
874
				iv_ruleQualifiedName = ruleQualifiedName();
875
				_fsp--;
876
964
877
				current = iv_ruleQualifiedName;
965
                    	        if (current==null) {
878
				match(input, EOF, FOLLOW_EOF_in_entryRuleQualifiedName692);
966
                    	            current = createModelElementForParent(grammarAccess.getQualifiedNameRule());
967
                    	        }
968
                           		set(
969
                           			current, 
970
                           			"remaining",
971
                            		lv_remaining_2_0, 
972
                            		"QualifiedName");
973
                    	        afterParserOrEnumRuleCall();
974
                    	    
879
975
880
			}
976
                    }
881
977
882
		}
883
978
884
		catch (RecognitionException re) {
979
                    }
885
			recover(input, re);
980
                    break;
886
			appendSkippedTokens();
887
		} finally {
888
		}
889
		return current;
890
	}
891
981
892
	// $ANTLR end entryRuleQualifiedName
982
            }
893
983
894
984
895
	// $ANTLR start ruleQualifiedName
985
            }
896
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:476:1: ruleQualifiedName returns [EObject current=null] : ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) ;
897
	public final EObject ruleQualifiedName() throws RecognitionException {
898
		EObject current = null;
899
986
900
		EObject lv_remaining_2_0 = null;
901
987
988
            }
902
989
903
		EObject temp = null;
990
             leaveRule(); 
904
		setCurrentLookahead();
991
        }
905
		resetLookahead();
992
         
993
            catch (RecognitionException re) { 
994
                recover(input,re); 
995
                appendSkippedTokens();
996
            } 
997
        finally {
998
        }
999
        return current;
1000
    }
1001
    // $ANTLR end "ruleQualifiedName"
906
1002
907
		try {
908
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:481:6: ( ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) )
909
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:482:1: ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
910
			{
911
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:482:1: ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
912
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:482:2: ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )?
913
				{
914
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:482:2: ( ( RULE_ID ) )
915
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:483:1: ( RULE_ID )
916
					{
917
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:483:1: ( RULE_ID )
918
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:484:3: RULE_ID
919
						{
920
1003
921
							if(current == null) {
1004
    // $ANTLR start "entryRuleTypeRule"
922
								current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
1005
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:439:1: entryRuleTypeRule returns [EObject current=null] : iv_ruleTypeRule= ruleTypeRule EOF ;
923
								associateNodeWithAstElement(currentNode, current);
1006
    public final EObject entryRuleTypeRule() throws RecognitionException {
924
							}
1007
        EObject current = null;
925
1008
926
							match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleQualifiedName735);
1009
        EObject iv_ruleTypeRule = null;
927
1010
928
							createLeafNode(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(), "path");
929
1011
1012
        try {
1013
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:440:2: (iv_ruleTypeRule= ruleTypeRule EOF )
1014
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:441:2: iv_ruleTypeRule= ruleTypeRule EOF
1015
            {
1016
             newCompositeNode(grammarAccess.getTypeRuleRule()); 
1017
            pushFollow(FOLLOW_ruleTypeRule_in_entryRuleTypeRule823);
1018
            iv_ruleTypeRule=ruleTypeRule();
930
1019
931
						}
1020
            state._fsp--;
932
1021
1022
             current =iv_ruleTypeRule; 
1023
            match(input,EOF,FOLLOW_EOF_in_entryRuleTypeRule833); 
933
1024
934
					}
1025
            }
935
1026
936
					match(input, 18, FOLLOW_18_in_ruleQualifiedName745);
1027
        }
1028
         
1029
            catch (RecognitionException re) { 
1030
                recover(input,re); 
1031
                appendSkippedTokens();
1032
            } 
1033
        finally {
1034
        }
1035
        return current;
1036
    }
1037
    // $ANTLR end "entryRuleTypeRule"
937
1038
938
					createLeafNode(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1(), null);
939
1039
940
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:500:1: ( (lv_remaining_2_0= ruleQualifiedName ) )?
1040
    // $ANTLR start "ruleTypeRule"
941
					int alt5 = 2;
1041
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:448:1: ruleTypeRule returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) ) ;
942
					int LA5_0 = input.LA(1);
1042
    public final EObject ruleTypeRule() throws RecognitionException {
1043
        EObject current = null;
943
1044
944
					if((LA5_0 == RULE_ID)) {
1045
        Token otherlv_1=null;
945
						int LA5_1 = input.LA(2);
1046
        EObject lv_path_0_0 = null;
946
1047
947
						if((LA5_1 == 18)) {
948
							alt5 = 1;
949
						}
950
					}
951
					switch(alt5) {
952
					case 1:
953
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:501:1: (lv_remaining_2_0= ruleQualifiedName )
954
					{
955
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:501:1: (lv_remaining_2_0= ruleQualifiedName )
956
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:502:3: lv_remaining_2_0= ruleQualifiedName
957
						{
958
1048
959
							currentNode = createCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(), currentNode);
1049
         enterRule(); 
1050
            
1051
        try {
1052
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:451:28: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) ) )
1053
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:452:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) )
1054
            {
1055
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:452:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) )
1056
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:452:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) )
1057
            {
1058
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:452:2: ( (lv_path_0_0= ruleQualifiedName ) )?
1059
            int alt6=2;
1060
            int LA6_0 = input.LA(1);
960
1061
961
							pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedName766);
1062
            if ( (LA6_0==RULE_ID) ) {
962
							lv_remaining_2_0 = ruleQualifiedName();
1063
                int LA6_1 = input.LA(2);
963
							_fsp--;
964
1064
1065
                if ( (LA6_1==18) ) {
1066
                    alt6=1;
1067
                }
1068
            }
1069
            switch (alt6) {
1070
                case 1 :
1071
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:453:1: (lv_path_0_0= ruleQualifiedName )
1072
                    {
1073
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:453:1: (lv_path_0_0= ruleQualifiedName )
1074
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:454:3: lv_path_0_0= ruleQualifiedName
1075
                    {
1076
                     
1077
                    	        newCompositeNode(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); 
1078
                    	    
1079
                    pushFollow(FOLLOW_ruleQualifiedName_in_ruleTypeRule879);
1080
                    lv_path_0_0=ruleQualifiedName();
965
1081
966
							if(current == null) {
1082
                    state._fsp--;
967
								current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
968
								associateNodeWithAstElement(currentNode.getParent(), current);
969
							}
970
							try {
971
								set(current, "remaining", lv_remaining_2_0, "QualifiedName", currentNode);
972
							} catch (ValueConverterException vce) {
973
								handleValueConverterException(vce);
974
							}
975
							currentNode = currentNode.getParent();
976
1083
977
1084
978
						}
1085
                    	        if (current==null) {
1086
                    	            current = createModelElementForParent(grammarAccess.getTypeRuleRule());
1087
                    	        }
1088
                           		set(
1089
                           			current, 
1090
                           			"path",
1091
                            		lv_path_0_0, 
1092
                            		"QualifiedName");
1093
                    	        afterParserOrEnumRuleCall();
1094
                    	    
979
1095
1096
                    }
980
1097
981
					}
982
						break;
983
1098
984
					}
1099
                    }
1100
                    break;
985
1101
1102
            }
986
1103
987
				}
1104
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:470:3: ( (otherlv_1= RULE_ID ) )
1105
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:471:1: (otherlv_1= RULE_ID )
1106
            {
1107
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:471:1: (otherlv_1= RULE_ID )
1108
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:472:3: otherlv_1= RULE_ID
1109
            {
988
1110
1111
            			if (current==null) {
1112
            	            current = createModelElement(grammarAccess.getTypeRuleRule());
1113
            	        }
1114
                    
1115
            otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTypeRule900); 
989
1116
990
			}
1117
            		newLeafNode(otherlv_1, grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0()); 
1118
            	
991
1119
992
			resetLookahead();
1120
            }
993
			lastConsumedNode = currentNode;
994
1121
995
		}
996
1122
997
		catch (RecognitionException re) {
1123
            }
998
			recover(input, re);
999
			appendSkippedTokens();
1000
		} finally {
1001
		}
1002
		return current;
1003
	}
1004
1124
1005
	// $ANTLR end ruleQualifiedName
1006
1125
1126
            }
1007
1127
1008
	// $ANTLR start entryRuleTypeRule
1009
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:532:1: entryRuleTypeRule returns [EObject current=null] : iv_ruleTypeRule= ruleTypeRule EOF ;
1010
	public final EObject entryRuleTypeRule() throws RecognitionException {
1011
		EObject current = null;
1012
1128
1013
		EObject iv_ruleTypeRule = null;
1129
            }
1014
1130
1131
             leaveRule(); 
1132
        }
1133
         
1134
            catch (RecognitionException re) { 
1135
                recover(input,re); 
1136
                appendSkippedTokens();
1137
            } 
1138
        finally {
1139
        }
1140
        return current;
1141
    }
1142
    // $ANTLR end "ruleTypeRule"
1015
1143
1016
		try {
1017
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:533:2: (iv_ruleTypeRule= ruleTypeRule EOF )
1018
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:534:2: iv_ruleTypeRule= ruleTypeRule EOF
1019
			{
1020
				currentNode = createCompositeNode(grammarAccess.getTypeRuleRule(), currentNode);
1021
				pushFollow(FOLLOW_ruleTypeRule_in_entryRuleTypeRule803);
1022
				iv_ruleTypeRule = ruleTypeRule();
1023
				_fsp--;
1024
1144
1025
				current = iv_ruleTypeRule;
1145
    // $ANTLR start "entryRuleMultiplicityRule"
1026
				match(input, EOF, FOLLOW_EOF_in_entryRuleTypeRule813);
1146
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:491:1: entryRuleMultiplicityRule returns [EObject current=null] : iv_ruleMultiplicityRule= ruleMultiplicityRule EOF ;
1147
    public final EObject entryRuleMultiplicityRule() throws RecognitionException {
1148
        EObject current = null;
1027
1149
1028
			}
1150
        EObject iv_ruleMultiplicityRule = null;
1029
1151
1030
		}
1031
1152
1032
		catch (RecognitionException re) {
1153
        try {
1033
			recover(input, re);
1154
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:492:2: (iv_ruleMultiplicityRule= ruleMultiplicityRule EOF )
1034
			appendSkippedTokens();
1155
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:493:2: iv_ruleMultiplicityRule= ruleMultiplicityRule EOF
1035
		} finally {
1156
            {
1036
		}
1157
             newCompositeNode(grammarAccess.getMultiplicityRuleRule()); 
1037
		return current;
1158
            pushFollow(FOLLOW_ruleMultiplicityRule_in_entryRuleMultiplicityRule936);
1038
	}
1159
            iv_ruleMultiplicityRule=ruleMultiplicityRule();
1039
1160
1040
	// $ANTLR end entryRuleTypeRule
1161
            state._fsp--;
1041
1162
1163
             current =iv_ruleMultiplicityRule; 
1164
            match(input,EOF,FOLLOW_EOF_in_entryRuleMultiplicityRule946); 
1042
1165
1043
	// $ANTLR start ruleTypeRule
1166
            }
1044
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:541:1: ruleTypeRule returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) ;
1045
	public final EObject ruleTypeRule() throws RecognitionException {
1046
		EObject current = null;
1047
1167
1048
		EObject lv_path_0_0 = null;
1168
        }
1169
         
1170
            catch (RecognitionException re) { 
1171
                recover(input,re); 
1172
                appendSkippedTokens();
1173
            } 
1174
        finally {
1175
        }
1176
        return current;
1177
    }
1178
    // $ANTLR end "entryRuleMultiplicityRule"
1049
1179
1050
1180
1051
		EObject temp = null;
1181
    // $ANTLR start "ruleMultiplicityRule"
1052
		setCurrentLookahead();
1182
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:500:1: ruleMultiplicityRule returns [EObject current=null] : (otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']' ) ;
1053
		resetLookahead();
1183
    public final EObject ruleMultiplicityRule() throws RecognitionException {
1184
        EObject current = null;
1054
1185
1055
		try {
1186
        Token otherlv_0=null;
1056
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:546:6: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) )
1187
        Token otherlv_2=null;
1057
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:547:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) )
1188
        Token otherlv_4=null;
1058
			{
1189
        EObject lv_bounds_1_0 = null;
1059
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:547:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) )
1060
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:547:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) )
1061
				{
1062
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:547:2: ( (lv_path_0_0= ruleQualifiedName ) )?
1063
					int alt6 = 2;
1064
					int LA6_0 = input.LA(1);
1065
1190
1066
					if((LA6_0 == RULE_ID)) {
1191
        EObject lv_bounds_3_0 = null;
1067
						int LA6_1 = input.LA(2);
1068
1192
1069
						if((LA6_1 == 18)) {
1070
							alt6 = 1;
1071
						}
1072
					}
1073
					switch(alt6) {
1074
					case 1:
1075
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:548:1: (lv_path_0_0= ruleQualifiedName )
1076
					{
1077
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:548:1: (lv_path_0_0= ruleQualifiedName )
1078
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:549:3: lv_path_0_0= ruleQualifiedName
1079
						{
1080
1193
1081
							currentNode = createCompositeNode(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode);
1194
         enterRule(); 
1195
            
1196
        try {
1197
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:503:28: ( (otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']' ) )
1198
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:504:1: (otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']' )
1199
            {
1200
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:504:1: (otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']' )
1201
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:504:3: otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']'
1202
            {
1203
            otherlv_0=(Token)match(input,19,FOLLOW_19_in_ruleMultiplicityRule983); 
1082
1204
1083
							pushFollow(FOLLOW_ruleQualifiedName_in_ruleTypeRule859);
1205
                	newLeafNode(otherlv_0, grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0());
1084
							lv_path_0_0 = ruleQualifiedName();
1206
                
1085
							_fsp--;
1207
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:508:1: ( (lv_bounds_1_0= ruleBoundSpecification ) )
1208
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:509:1: (lv_bounds_1_0= ruleBoundSpecification )
1209
            {
1210
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:509:1: (lv_bounds_1_0= ruleBoundSpecification )
1211
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:510:3: lv_bounds_1_0= ruleBoundSpecification
1212
            {
1213
             
1214
            	        newCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0()); 
1215
            	    
1216
            pushFollow(FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule1004);
1217
            lv_bounds_1_0=ruleBoundSpecification();
1086
1218
1219
            state._fsp--;
1087
1220
1088
							if(current == null) {
1089
								current = factory.create(grammarAccess.getTypeRuleRule().getType().getClassifier());
1090
								associateNodeWithAstElement(currentNode.getParent(), current);
1091
							}
1092
							try {
1093
								set(current, "path", lv_path_0_0, "QualifiedName", currentNode);
1094
							} catch (ValueConverterException vce) {
1095
								handleValueConverterException(vce);
1096
							}
1097
							currentNode = currentNode.getParent();
1098
1221
1222
            	        if (current==null) {
1223
            	            current = createModelElementForParent(grammarAccess.getMultiplicityRuleRule());
1224
            	        }
1225
                   		add(
1226
                   			current, 
1227
                   			"bounds",
1228
                    		lv_bounds_1_0, 
1229
                    		"BoundSpecification");
1230
            	        afterParserOrEnumRuleCall();
1231
            	    
1099
1232
1100
						}
1233
            }
1101
1234
1102
1235
1103
					}
1236
            }
1104
						break;
1105
1237
1106
					}
1238
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:526:2: (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )?
1239
            int alt7=2;
1240
            int LA7_0 = input.LA(1);
1107
1241
1108
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:571:3: ( ( RULE_ID ) )
1242
            if ( (LA7_0==20) ) {
1109
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:572:1: ( RULE_ID )
1243
                alt7=1;
1110
					{
1244
            }
1111
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:572:1: ( RULE_ID )
1245
            switch (alt7) {
1112
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:573:3: RULE_ID
1246
                case 1 :
1113
						{
1247
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:526:4: otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) )
1248
                    {
1249
                    otherlv_2=(Token)match(input,20,FOLLOW_20_in_ruleMultiplicityRule1017); 
1114
1250
1115
							if(current == null) {
1251
                        	newLeafNode(otherlv_2, grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0());
1116
								current = factory.create(grammarAccess.getTypeRuleRule().getType().getClassifier());
1252
                        
1117
								associateNodeWithAstElement(currentNode, current);
1253
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:530:1: ( (lv_bounds_3_0= ruleBoundSpecification ) )
1118
							}
1254
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:531:1: (lv_bounds_3_0= ruleBoundSpecification )
1255
                    {
1256
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:531:1: (lv_bounds_3_0= ruleBoundSpecification )
1257
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:532:3: lv_bounds_3_0= ruleBoundSpecification
1258
                    {
1259
                     
1260
                    	        newCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0()); 
1261
                    	    
1262
                    pushFollow(FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule1038);
1263
                    lv_bounds_3_0=ruleBoundSpecification();
1119
1264
1120
							match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleTypeRule878);
1265
                    state._fsp--;
1121
1266
1122
							createLeafNode(grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0(), "type");
1123
1267
1268
                    	        if (current==null) {
1269
                    	            current = createModelElementForParent(grammarAccess.getMultiplicityRuleRule());
1270
                    	        }
1271
                           		add(
1272
                           			current, 
1273
                           			"bounds",
1274
                            		lv_bounds_3_0, 
1275
                            		"BoundSpecification");
1276
                    	        afterParserOrEnumRuleCall();
1277
                    	    
1124
1278
1125
						}
1279
                    }
1126
1280
1127
1281
1128
					}
1282
                    }
1129
1283
1130
1284
1131
				}
1285
                    }
1286
                    break;
1132
1287
1288
            }
1133
1289
1134
			}
1290
            otherlv_4=(Token)match(input,21,FOLLOW_21_in_ruleMultiplicityRule1052); 
1135
1291
1136
			resetLookahead();
1292
                	newLeafNode(otherlv_4, grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3());
1137
			lastConsumedNode = currentNode;
1293
                
1138
1294
1139
		}
1295
            }
1140
1296
1141
		catch (RecognitionException re) {
1142
			recover(input, re);
1143
			appendSkippedTokens();
1144
		} finally {
1145
		}
1146
		return current;
1147
	}
1148
1297
1149
	// $ANTLR end ruleTypeRule
1298
            }
1150
1299
1300
             leaveRule(); 
1301
        }
1302
         
1303
            catch (RecognitionException re) { 
1304
                recover(input,re); 
1305
                appendSkippedTokens();
1306
            } 
1307
        finally {
1308
        }
1309
        return current;
1310
    }
1311
    // $ANTLR end "ruleMultiplicityRule"
1151
1312
1152
	// $ANTLR start entryRuleMultiplicityRule
1153
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:593:1: entryRuleMultiplicityRule returns [EObject current=null] : iv_ruleMultiplicityRule= ruleMultiplicityRule EOF ;
1154
	public final EObject entryRuleMultiplicityRule() throws RecognitionException {
1155
		EObject current = null;
1156
1313
1157
		EObject iv_ruleMultiplicityRule = null;
1314
    // $ANTLR start "entryRuleBoundSpecification"
1315
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:560:1: entryRuleBoundSpecification returns [EObject current=null] : iv_ruleBoundSpecification= ruleBoundSpecification EOF ;
1316
    public final EObject entryRuleBoundSpecification() throws RecognitionException {
1317
        EObject current = null;
1158
1318
1319
        EObject iv_ruleBoundSpecification = null;
1159
1320
1160
		try {
1161
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:594:2: (iv_ruleMultiplicityRule= ruleMultiplicityRule EOF )
1162
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:595:2: iv_ruleMultiplicityRule= ruleMultiplicityRule EOF
1163
			{
1164
				currentNode = createCompositeNode(grammarAccess.getMultiplicityRuleRule(), currentNode);
1165
				pushFollow(FOLLOW_ruleMultiplicityRule_in_entryRuleMultiplicityRule914);
1166
				iv_ruleMultiplicityRule = ruleMultiplicityRule();
1167
				_fsp--;
1168
1321
1169
				current = iv_ruleMultiplicityRule;
1322
        try {
1170
				match(input, EOF, FOLLOW_EOF_in_entryRuleMultiplicityRule924);
1323
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:561:2: (iv_ruleBoundSpecification= ruleBoundSpecification EOF )
1324
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:562:2: iv_ruleBoundSpecification= ruleBoundSpecification EOF
1325
            {
1326
             newCompositeNode(grammarAccess.getBoundSpecificationRule()); 
1327
            pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification1088);
1328
            iv_ruleBoundSpecification=ruleBoundSpecification();
1171
1329
1172
			}
1330
            state._fsp--;
1173
1331
1174
		}
1332
             current =iv_ruleBoundSpecification; 
1333
            match(input,EOF,FOLLOW_EOF_in_entryRuleBoundSpecification1098); 
1175
1334
1176
		catch (RecognitionException re) {
1335
            }
1177
			recover(input, re);
1178
			appendSkippedTokens();
1179
		} finally {
1180
		}
1181
		return current;
1182
	}
1183
1336
1184
	// $ANTLR end entryRuleMultiplicityRule
1337
        }
1338
         
1339
            catch (RecognitionException re) { 
1340
                recover(input,re); 
1341
                appendSkippedTokens();
1342
            } 
1343
        finally {
1344
        }
1345
        return current;
1346
    }
1347
    // $ANTLR end "entryRuleBoundSpecification"
1185
1348
1186
1349
1187
	// $ANTLR start ruleMultiplicityRule
1350
    // $ANTLR start "ruleBoundSpecification"
1188
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:602:1: ruleMultiplicityRule returns [EObject current=null] : ( '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) ( '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? ']' ) ;
1351
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:569:1: ruleBoundSpecification returns [EObject current=null] : ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) ) ;
1189
	public final EObject ruleMultiplicityRule() throws RecognitionException {
1352
    public final EObject ruleBoundSpecification() throws RecognitionException {
1190
		EObject current = null;
1353
        EObject current = null;
1191
1354
1192
		EObject lv_bounds_1_0 = null;
1355
        Token lv_value_0_0=null;
1193
1356
1194
		EObject lv_bounds_3_0 = null;
1357
         enterRule(); 
1358
            
1359
        try {
1360
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:572:28: ( ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) ) )
1361
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:573:1: ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) )
1362
            {
1363
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:573:1: ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) )
1364
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:574:1: (lv_value_0_0= RULE_UNLIMITEDLITERAL )
1365
            {
1366
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:574:1: (lv_value_0_0= RULE_UNLIMITEDLITERAL )
1367
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:575:3: lv_value_0_0= RULE_UNLIMITEDLITERAL
1368
            {
1369
            lv_value_0_0=(Token)match(input,RULE_UNLIMITEDLITERAL,FOLLOW_RULE_UNLIMITEDLITERAL_in_ruleBoundSpecification1139); 
1195
1370
1371
            			newLeafNode(lv_value_0_0, grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0()); 
1372
            		
1196
1373
1197
		EObject temp = null;
1374
            	        if (current==null) {
1198
		setCurrentLookahead();
1375
            	            current = createModelElement(grammarAccess.getBoundSpecificationRule());
1199
		resetLookahead();
1376
            	        }
1377
                   		setWithLastConsumed(
1378
                   			current, 
1379
                   			"value",
1380
                    		lv_value_0_0, 
1381
                    		"UnlimitedLiteral");
1382
            	    
1200
1383
1201
		try {
1384
            }
1202
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:607:6: ( ( '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) ( '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? ']' ) )
1203
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:608:1: ( '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) ( '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? ']' )
1204
			{
1205
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:608:1: ( '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) ( '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? ']' )
1206
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:608:3: '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) ( '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? ']'
1207
				{
1208
					match(input, 19, FOLLOW_19_in_ruleMultiplicityRule959);
1209
1385
1210
					createLeafNode(grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0(), null);
1211
1386
1212
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:612:1: ( (lv_bounds_1_0= ruleBoundSpecification ) )
1387
            }
1213
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:613:1: (lv_bounds_1_0= ruleBoundSpecification )
1214
					{
1215
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:613:1: (lv_bounds_1_0= ruleBoundSpecification )
1216
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:614:3: lv_bounds_1_0= ruleBoundSpecification
1217
						{
1218
1388
1219
							currentNode = createCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0(), currentNode);
1220
1389
1221
							pushFollow(FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule980);
1390
            }
1222
							lv_bounds_1_0 = ruleBoundSpecification();
1223
							_fsp--;
1224
1391
1392
             leaveRule(); 
1393
        }
1394
         
1395
            catch (RecognitionException re) { 
1396
                recover(input,re); 
1397
                appendSkippedTokens();
1398
            } 
1399
        finally {
1400
        }
1401
        return current;
1402
    }
1403
    // $ANTLR end "ruleBoundSpecification"
1225
1404
1226
							if(current == null) {
1227
								current = factory.create(grammarAccess.getMultiplicityRuleRule().getType().getClassifier());
1228
								associateNodeWithAstElement(currentNode.getParent(), current);
1229
							}
1230
							try {
1231
								add(current, "bounds", lv_bounds_1_0, "BoundSpecification", currentNode);
1232
							} catch (ValueConverterException vce) {
1233
								handleValueConverterException(vce);
1234
							}
1235
							currentNode = currentNode.getParent();
1236
1405
1406
    // $ANTLR start "ruleModifierKind"
1407
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:599:1: ruleModifierKind returns [Enumerator current=null] : ( (enumLiteral_0= 'exception' ) | (enumLiteral_1= 'stream' ) | (enumLiteral_2= 'ordered' ) | (enumLiteral_3= 'unique' ) ) ;
1408
    public final Enumerator ruleModifierKind() throws RecognitionException {
1409
        Enumerator current = null;
1237
1410
1238
						}
1411
        Token enumLiteral_0=null;
1412
        Token enumLiteral_1=null;
1413
        Token enumLiteral_2=null;
1414
        Token enumLiteral_3=null;
1239
1415
1416
         enterRule(); 
1417
        try {
1418
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:601:28: ( ( (enumLiteral_0= 'exception' ) | (enumLiteral_1= 'stream' ) | (enumLiteral_2= 'ordered' ) | (enumLiteral_3= 'unique' ) ) )
1419
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:602:1: ( (enumLiteral_0= 'exception' ) | (enumLiteral_1= 'stream' ) | (enumLiteral_2= 'ordered' ) | (enumLiteral_3= 'unique' ) )
1420
            {
1421
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:602:1: ( (enumLiteral_0= 'exception' ) | (enumLiteral_1= 'stream' ) | (enumLiteral_2= 'ordered' ) | (enumLiteral_3= 'unique' ) )
1422
            int alt8=4;
1423
            switch ( input.LA(1) ) {
1424
            case 22:
1425
                {
1426
                alt8=1;
1427
                }
1428
                break;
1429
            case 23:
1430
                {
1431
                alt8=2;
1432
                }
1433
                break;
1434
            case 24:
1435
                {
1436
                alt8=3;
1437
                }
1438
                break;
1439
            case 25:
1440
                {
1441
                alt8=4;
1442
                }
1443
                break;
1444
            default:
1445
                NoViableAltException nvae =
1446
                    new NoViableAltException("", 8, 0, input);
1240
1447
1241
					}
1448
                throw nvae;
1449
            }
1242
1450
1243
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:636:2: ( '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )?
1451
            switch (alt8) {
1244
					int alt7 = 2;
1452
                case 1 :
1245
					int LA7_0 = input.LA(1);
1453
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:602:2: (enumLiteral_0= 'exception' )
1454
                    {
1455
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:602:2: (enumLiteral_0= 'exception' )
1456
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:602:4: enumLiteral_0= 'exception'
1457
                    {
1458
                    enumLiteral_0=(Token)match(input,22,FOLLOW_22_in_ruleModifierKind1193); 
1246
1459
1247
					if((LA7_0 == 20)) {
1460
                            current = grammarAccess.getModifierKindAccess().getEXCEPTIONEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
1248
						alt7 = 1;
1461
                            newLeafNode(enumLiteral_0, grammarAccess.getModifierKindAccess().getEXCEPTIONEnumLiteralDeclaration_0()); 
1249
					}
1462
                        
1250
					switch(alt7) {
1251
					case 1:
1252
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:636:4: '..' ( (lv_bounds_3_0= ruleBoundSpecification ) )
1253
					{
1254
						match(input, 20, FOLLOW_20_in_ruleMultiplicityRule991);
1255
1463
1256
						createLeafNode(grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0(), null);
1464
                    }
1257
1465
1258
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:640:1: ( (lv_bounds_3_0= ruleBoundSpecification ) )
1259
						// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:641:1: (lv_bounds_3_0= ruleBoundSpecification )
1260
						{
1261
							// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:641:1: (lv_bounds_3_0= ruleBoundSpecification )
1262
							// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:642:3: lv_bounds_3_0= ruleBoundSpecification
1263
							{
1264
1466
1265
								currentNode = createCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0(), currentNode);
1467
                    }
1468
                    break;
1469
                case 2 :
1470
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:608:6: (enumLiteral_1= 'stream' )
1471
                    {
1472
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:608:6: (enumLiteral_1= 'stream' )
1473
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:608:8: enumLiteral_1= 'stream'
1474
                    {
1475
                    enumLiteral_1=(Token)match(input,23,FOLLOW_23_in_ruleModifierKind1210); 
1266
1476
1267
								pushFollow(FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule1012);
1477
                            current = grammarAccess.getModifierKindAccess().getSTREAMEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
1268
								lv_bounds_3_0 = ruleBoundSpecification();
1478
                            newLeafNode(enumLiteral_1, grammarAccess.getModifierKindAccess().getSTREAMEnumLiteralDeclaration_1()); 
1269
								_fsp--;
1479
                        
1270
1480
1481
                    }
1271
1482
1272
								if(current == null) {
1273
									current = factory.create(grammarAccess.getMultiplicityRuleRule().getType().getClassifier());
1274
									associateNodeWithAstElement(currentNode.getParent(), current);
1275
								}
1276
								try {
1277
									add(current, "bounds", lv_bounds_3_0, "BoundSpecification", currentNode);
1278
								} catch (ValueConverterException vce) {
1279
									handleValueConverterException(vce);
1280
								}
1281
								currentNode = currentNode.getParent();
1282
1483
1484
                    }
1485
                    break;
1486
                case 3 :
1487
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:614:6: (enumLiteral_2= 'ordered' )
1488
                    {
1489
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:614:6: (enumLiteral_2= 'ordered' )
1490
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:614:8: enumLiteral_2= 'ordered'
1491
                    {
1492
                    enumLiteral_2=(Token)match(input,24,FOLLOW_24_in_ruleModifierKind1227); 
1283
1493
1284
							}
1494
                            current = grammarAccess.getModifierKindAccess().getORDEREDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
1495
                            newLeafNode(enumLiteral_2, grammarAccess.getModifierKindAccess().getORDEREDEnumLiteralDeclaration_2()); 
1496
                        
1285
1497
1498
                    }
1286
1499
1287
						}
1288
1500
1501
                    }
1502
                    break;
1503
                case 4 :
1504
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:620:6: (enumLiteral_3= 'unique' )
1505
                    {
1506
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:620:6: (enumLiteral_3= 'unique' )
1507
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:620:8: enumLiteral_3= 'unique'
1508
                    {
1509
                    enumLiteral_3=(Token)match(input,25,FOLLOW_25_in_ruleModifierKind1244); 
1289
1510
1290
					}
1511
                            current = grammarAccess.getModifierKindAccess().getUNIQUEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
1291
						break;
1512
                            newLeafNode(enumLiteral_3, grammarAccess.getModifierKindAccess().getUNIQUEEnumLiteralDeclaration_3()); 
1513
                        
1292
1514
1293
					}
1515
                    }
1294
1516
1295
					match(input, 21, FOLLOW_21_in_ruleMultiplicityRule1024);
1296
1517
1297
					createLeafNode(grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3(), null);
1518
                    }
1519
                    break;
1298
1520
1521
            }
1299
1522
1300
				}
1301
1523
1524
            }
1302
1525
1303
			}
1526
             leaveRule(); 
1527
        }
1528
         
1529
            catch (RecognitionException re) { 
1530
                recover(input,re); 
1531
                appendSkippedTokens();
1532
            } 
1533
        finally {
1534
        }
1535
        return current;
1536
    }
1537
    // $ANTLR end "ruleModifierKind"
1304
1538
1305
			resetLookahead();
1306
			lastConsumedNode = currentNode;
1307
1539
1308
		}
1540
    // $ANTLR start "ruleEffectKind"
1541
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:630:1: ruleEffectKind returns [Enumerator current=null] : ( (enumLiteral_0= 'create' ) | (enumLiteral_1= 'read' ) | (enumLiteral_2= 'update' ) | (enumLiteral_3= 'delete' ) ) ;
1542
    public final Enumerator ruleEffectKind() throws RecognitionException {
1543
        Enumerator current = null;
1309
1544
1310
		catch (RecognitionException re) {
1545
        Token enumLiteral_0=null;
1311
			recover(input, re);
1546
        Token enumLiteral_1=null;
1312
			appendSkippedTokens();
1547
        Token enumLiteral_2=null;
1313
		} finally {
1548
        Token enumLiteral_3=null;
1314
		}
1315
		return current;
1316
	}
1317
1549
1318
	// $ANTLR end ruleMultiplicityRule
1550
         enterRule(); 
1551
        try {
1552
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:632:28: ( ( (enumLiteral_0= 'create' ) | (enumLiteral_1= 'read' ) | (enumLiteral_2= 'update' ) | (enumLiteral_3= 'delete' ) ) )
1553
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:633:1: ( (enumLiteral_0= 'create' ) | (enumLiteral_1= 'read' ) | (enumLiteral_2= 'update' ) | (enumLiteral_3= 'delete' ) )
1554
            {
1555
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:633:1: ( (enumLiteral_0= 'create' ) | (enumLiteral_1= 'read' ) | (enumLiteral_2= 'update' ) | (enumLiteral_3= 'delete' ) )
1556
            int alt9=4;
1557
            switch ( input.LA(1) ) {
1558
            case 26:
1559
                {
1560
                alt9=1;
1561
                }
1562
                break;
1563
            case 27:
1564
                {
1565
                alt9=2;
1566
                }
1567
                break;
1568
            case 28:
1569
                {
1570
                alt9=3;
1571
                }
1572
                break;
1573
            case 29:
1574
                {
1575
                alt9=4;
1576
                }
1577
                break;
1578
            default:
1579
                NoViableAltException nvae =
1580
                    new NoViableAltException("", 9, 0, input);
1319
1581
1582
                throw nvae;
1583
            }
1320
1584
1321
	// $ANTLR start entryRuleBoundSpecification
1585
            switch (alt9) {
1322
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:676:1: entryRuleBoundSpecification returns [EObject current=null] : iv_ruleBoundSpecification= ruleBoundSpecification EOF ;
1586
                case 1 :
1323
	public final EObject entryRuleBoundSpecification() throws RecognitionException {
1587
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:633:2: (enumLiteral_0= 'create' )
1324
		EObject current = null;
1588
                    {
1589
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:633:2: (enumLiteral_0= 'create' )
1590
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:633:4: enumLiteral_0= 'create'
1591
                    {
1592
                    enumLiteral_0=(Token)match(input,26,FOLLOW_26_in_ruleEffectKind1289); 
1325
1593
1326
		EObject iv_ruleBoundSpecification = null;
1594
                            current = grammarAccess.getEffectKindAccess().getCREATEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
1595
                            newLeafNode(enumLiteral_0, grammarAccess.getEffectKindAccess().getCREATEEnumLiteralDeclaration_0()); 
1596
                        
1327
1597
1598
                    }
1328
1599
1329
		try {
1330
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:677:2: (iv_ruleBoundSpecification= ruleBoundSpecification EOF )
1331
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:678:2: iv_ruleBoundSpecification= ruleBoundSpecification EOF
1332
			{
1333
				currentNode = createCompositeNode(grammarAccess.getBoundSpecificationRule(), currentNode);
1334
				pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification1060);
1335
				iv_ruleBoundSpecification = ruleBoundSpecification();
1336
				_fsp--;
1337
1600
1338
				current = iv_ruleBoundSpecification;
1601
                    }
1339
				match(input, EOF, FOLLOW_EOF_in_entryRuleBoundSpecification1070);
1602
                    break;
1603
                case 2 :
1604
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:639:6: (enumLiteral_1= 'read' )
1605
                    {
1606
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:639:6: (enumLiteral_1= 'read' )
1607
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:639:8: enumLiteral_1= 'read'
1608
                    {
1609
                    enumLiteral_1=(Token)match(input,27,FOLLOW_27_in_ruleEffectKind1306); 
1340
1610
1341
			}
1611
                            current = grammarAccess.getEffectKindAccess().getREADEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
1612
                            newLeafNode(enumLiteral_1, grammarAccess.getEffectKindAccess().getREADEnumLiteralDeclaration_1()); 
1613
                        
1342
1614
1343
		}
1615
                    }
1344
1616
1345
		catch (RecognitionException re) {
1346
			recover(input, re);
1347
			appendSkippedTokens();
1348
		} finally {
1349
		}
1350
		return current;
1351
	}
1352
1617
1353
	// $ANTLR end entryRuleBoundSpecification
1618
                    }
1619
                    break;
1620
                case 3 :
1621
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:645:6: (enumLiteral_2= 'update' )
1622
                    {
1623
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:645:6: (enumLiteral_2= 'update' )
1624
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:645:8: enumLiteral_2= 'update'
1625
                    {
1626
                    enumLiteral_2=(Token)match(input,28,FOLLOW_28_in_ruleEffectKind1323); 
1354
1627
1628
                            current = grammarAccess.getEffectKindAccess().getUPDATEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
1629
                            newLeafNode(enumLiteral_2, grammarAccess.getEffectKindAccess().getUPDATEEnumLiteralDeclaration_2()); 
1630
                        
1355
1631
1356
	// $ANTLR start ruleBoundSpecification
1632
                    }
1357
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:685:1: ruleBoundSpecification returns [EObject current=null] : ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) ) ;
1358
	public final EObject ruleBoundSpecification() throws RecognitionException {
1359
		EObject current = null;
1360
1633
1361
		Token lv_value_0_0 = null;
1362
1634
1363
		EObject temp = null;
1635
                    }
1364
		setCurrentLookahead();
1636
                    break;
1365
		resetLookahead();
1637
                case 4 :
1638
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:651:6: (enumLiteral_3= 'delete' )
1639
                    {
1640
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:651:6: (enumLiteral_3= 'delete' )
1641
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:651:8: enumLiteral_3= 'delete'
1642
                    {
1643
                    enumLiteral_3=(Token)match(input,29,FOLLOW_29_in_ruleEffectKind1340); 
1366
1644
1367
		try {
1645
                            current = grammarAccess.getEffectKindAccess().getDELETEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
1368
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:690:6: ( ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) ) )
1646
                            newLeafNode(enumLiteral_3, grammarAccess.getEffectKindAccess().getDELETEEnumLiteralDeclaration_3()); 
1369
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:691:1: ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) )
1647
                        
1370
			{
1371
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:691:1: ( (lv_value_0_0= RULE_UNLIMITEDLITERAL ) )
1372
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:692:1: (lv_value_0_0= RULE_UNLIMITEDLITERAL )
1373
				{
1374
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:692:1: (lv_value_0_0= RULE_UNLIMITEDLITERAL )
1375
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:693:3: lv_value_0_0= RULE_UNLIMITEDLITERAL
1376
					{
1377
						lv_value_0_0 = (Token)input.LT(1);
1378
						match(input, RULE_UNLIMITEDLITERAL, FOLLOW_RULE_UNLIMITEDLITERAL_in_ruleBoundSpecification1111);
1379
1648
1380
						createLeafNode(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0(), "value");
1649
                    }
1381
1650
1382
1651
1383
						if(current == null) {
1652
                    }
1384
							current = factory.create(grammarAccess.getBoundSpecificationRule().getType().getClassifier());
1653
                    break;
1385
							associateNodeWithAstElement(currentNode, current);
1386
						}
1387
						try {
1388
							set(current, "value", lv_value_0_0, "UnlimitedLiteral", lastConsumedNode);
1389
						} catch (ValueConverterException vce) {
1390
							handleValueConverterException(vce);
1391
						}
1392
1654
1655
            }
1393
1656
1394
					}
1395
1657
1658
            }
1396
1659
1397
				}
1660
             leaveRule(); 
1661
        }
1662
         
1663
            catch (RecognitionException re) { 
1664
                recover(input,re); 
1665
                appendSkippedTokens();
1666
            } 
1667
        finally {
1668
        }
1669
        return current;
1670
    }
1671
    // $ANTLR end "ruleEffectKind"
1398
1672
1399
1673
1400
			}
1674
    // $ANTLR start "ruleVisibilityKind"
1675
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:661:1: ruleVisibilityKind returns [Enumerator current=null] : ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) ) ;
1676
    public final Enumerator ruleVisibilityKind() throws RecognitionException {
1677
        Enumerator current = null;
1401
1678
1402
			resetLookahead();
1679
        Token enumLiteral_0=null;
1403
			lastConsumedNode = currentNode;
1680
        Token enumLiteral_1=null;
1681
        Token enumLiteral_2=null;
1682
        Token enumLiteral_3=null;
1404
1683
1405
		}
1684
         enterRule(); 
1685
        try {
1686
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:663:28: ( ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) ) )
1687
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:664:1: ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) )
1688
            {
1689
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:664:1: ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) )
1690
            int alt10=4;
1691
            switch ( input.LA(1) ) {
1692
            case 30:
1693
                {
1694
                alt10=1;
1695
                }
1696
                break;
1697
            case 31:
1698
                {
1699
                alt10=2;
1700
                }
1701
                break;
1702
            case 32:
1703
                {
1704
                alt10=3;
1705
                }
1706
                break;
1707
            case 33:
1708
                {
1709
                alt10=4;
1710
                }
1711
                break;
1712
            default:
1713
                NoViableAltException nvae =
1714
                    new NoViableAltException("", 10, 0, input);
1406
1715
1407
		catch (RecognitionException re) {
1716
                throw nvae;
1408
			recover(input, re);
1717
            }
1409
			appendSkippedTokens();
1410
		} finally {
1411
		}
1412
		return current;
1413
	}
1414
1718
1415
	// $ANTLR end ruleBoundSpecification
1719
            switch (alt10) {
1720
                case 1 :
1721
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:664:2: (enumLiteral_0= '+' )
1722
                    {
1723
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:664:2: (enumLiteral_0= '+' )
1724
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:664:4: enumLiteral_0= '+'
1725
                    {
1726
                    enumLiteral_0=(Token)match(input,30,FOLLOW_30_in_ruleVisibilityKind1385); 
1416
1727
1728
                            current = grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
1729
                            newLeafNode(enumLiteral_0, grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0()); 
1730
                        
1417
1731
1418
	// $ANTLR start ruleModifierKind
1732
                    }
1419
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:723:1: ruleModifierKind returns [Enumerator current=null] : ( ( 'exception' ) | ( 'stream' ) | ( 'ordered' ) | ( 'unique' ) ) ;
1420
	public final Enumerator ruleModifierKind() throws RecognitionException {
1421
		Enumerator current = null;
1422
1733
1423
		setCurrentLookahead();
1424
		resetLookahead();
1425
		try {
1426
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:727:6: ( ( ( 'exception' ) | ( 'stream' ) | ( 'ordered' ) | ( 'unique' ) ) )
1427
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:728:1: ( ( 'exception' ) | ( 'stream' ) | ( 'ordered' ) | ( 'unique' ) )
1428
			{
1429
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:728:1: ( ( 'exception' ) | ( 'stream' ) | ( 'ordered' ) | ( 'unique' ) )
1430
				int alt8 = 4;
1431
				switch(input.LA(1)) {
1432
				case 22:
1433
				{
1434
					alt8 = 1;
1435
				}
1436
					break;
1437
				case 23:
1438
				{
1439
					alt8 = 2;
1440
				}
1441
					break;
1442
				case 24:
1443
				{
1444
					alt8 = 3;
1445
				}
1446
					break;
1447
				case 25:
1448
				{
1449
					alt8 = 4;
1450
				}
1451
					break;
1452
				default:
1453
					NoViableAltException nvae = new NoViableAltException("728:1: ( ( 'exception' ) | ( 'stream' ) | ( 'ordered' ) | ( 'unique' ) )", 8, 0, input);
1454
1734
1455
					throw nvae;
1735
                    }
1456
				}
1736
                    break;
1737
                case 2 :
1738
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:670:6: (enumLiteral_1= '-' )
1739
                    {
1740
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:670:6: (enumLiteral_1= '-' )
1741
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:670:8: enumLiteral_1= '-'
1742
                    {
1743
                    enumLiteral_1=(Token)match(input,31,FOLLOW_31_in_ruleVisibilityKind1402); 
1457
1744
1458
				switch(alt8) {
1745
                            current = grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
1459
				case 1:
1746
                            newLeafNode(enumLiteral_1, grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1()); 
1460
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:728:2: ( 'exception' )
1747
                        
1461
				{
1462
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:728:2: ( 'exception' )
1463
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:728:4: 'exception'
1464
					{
1465
						match(input, 22, FOLLOW_22_in_ruleModifierKind1163);
1466
1748
1467
						current = grammarAccess.getModifierKindAccess().getEXCEPTIONEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
1749
                    }
1468
						createLeafNode(grammarAccess.getModifierKindAccess().getEXCEPTIONEnumLiteralDeclaration_0(), null);
1469
1750
1470
1751
1471
					}
1752
                    }
1753
                    break;
1754
                case 3 :
1755
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:676:6: (enumLiteral_2= '#' )
1756
                    {
1757
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:676:6: (enumLiteral_2= '#' )
1758
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:676:8: enumLiteral_2= '#'
1759
                    {
1760
                    enumLiteral_2=(Token)match(input,32,FOLLOW_32_in_ruleVisibilityKind1419); 
1472
1761
1762
                            current = grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
1763
                            newLeafNode(enumLiteral_2, grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2()); 
1764
                        
1473
1765
1474
				}
1766
                    }
1475
					break;
1476
				case 2:
1477
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:734:6: ( 'stream' )
1478
				{
1479
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:734:6: ( 'stream' )
1480
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:734:8: 'stream'
1481
					{
1482
						match(input, 23, FOLLOW_23_in_ruleModifierKind1178);
1483
1767
1484
						current = grammarAccess.getModifierKindAccess().getSTREAMEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
1485
						createLeafNode(grammarAccess.getModifierKindAccess().getSTREAMEnumLiteralDeclaration_1(), null);
1486
1768
1769
                    }
1770
                    break;
1771
                case 4 :
1772
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:682:6: (enumLiteral_3= '~' )
1773
                    {
1774
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:682:6: (enumLiteral_3= '~' )
1775
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:682:8: enumLiteral_3= '~'
1776
                    {
1777
                    enumLiteral_3=(Token)match(input,33,FOLLOW_33_in_ruleVisibilityKind1436); 
1487
1778
1488
					}
1779
                            current = grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
1780
                            newLeafNode(enumLiteral_3, grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3()); 
1781
                        
1489
1782
1783
                    }
1490
1784
1491
				}
1492
					break;
1493
				case 3:
1494
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:740:6: ( 'ordered' )
1495
				{
1496
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:740:6: ( 'ordered' )
1497
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:740:8: 'ordered'
1498
					{
1499
						match(input, 24, FOLLOW_24_in_ruleModifierKind1193);
1500
1785
1501
						current = grammarAccess.getModifierKindAccess().getORDEREDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
1786
                    }
1502
						createLeafNode(grammarAccess.getModifierKindAccess().getORDEREDEnumLiteralDeclaration_2(), null);
1787
                    break;
1503
1788
1789
            }
1504
1790
1505
					}
1506
1791
1792
            }
1507
1793
1508
				}
1794
             leaveRule(); 
1509
					break;
1795
        }
1510
				case 4:
1796
         
1511
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:746:6: ( 'unique' )
1797
            catch (RecognitionException re) { 
1512
				{
1798
                recover(input,re); 
1513
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:746:6: ( 'unique' )
1799
                appendSkippedTokens();
1514
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:746:8: 'unique'
1800
            } 
1515
					{
1801
        finally {
1516
						match(input, 25, FOLLOW_25_in_ruleModifierKind1208);
1802
        }
1803
        return current;
1804
    }
1805
    // $ANTLR end "ruleVisibilityKind"
1517
1806
1518
						current = grammarAccess.getModifierKindAccess().getUNIQUEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
1519
						createLeafNode(grammarAccess.getModifierKindAccess().getUNIQUEEnumLiteralDeclaration_3(), null);
1520
1807
1808
    // $ANTLR start "ruleDirection"
1809
    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:692:1: ruleDirection returns [Enumerator current=null] : ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) | (enumLiteral_3= 'return' ) ) ;
1810
    public final Enumerator ruleDirection() throws RecognitionException {
1811
        Enumerator current = null;
1521
1812
1522
					}
1813
        Token enumLiteral_0=null;
1814
        Token enumLiteral_1=null;
1815
        Token enumLiteral_2=null;
1816
        Token enumLiteral_3=null;
1523
1817
1818
         enterRule(); 
1819
        try {
1820
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:694:28: ( ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) | (enumLiteral_3= 'return' ) ) )
1821
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:695:1: ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) | (enumLiteral_3= 'return' ) )
1822
            {
1823
            // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:695:1: ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) | (enumLiteral_3= 'return' ) )
1824
            int alt11=4;
1825
            switch ( input.LA(1) ) {
1826
            case 34:
1827
                {
1828
                alt11=1;
1829
                }
1830
                break;
1831
            case 35:
1832
                {
1833
                alt11=2;
1834
                }
1835
                break;
1836
            case 36:
1837
                {
1838
                alt11=3;
1839
                }
1840
                break;
1841
            case 37:
1842
                {
1843
                alt11=4;
1844
                }
1845
                break;
1846
            default:
1847
                NoViableAltException nvae =
1848
                    new NoViableAltException("", 11, 0, input);
1524
1849
1525
				}
1850
                throw nvae;
1526
					break;
1851
            }
1527
1852
1528
				}
1853
            switch (alt11) {
1854
                case 1 :
1855
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:695:2: (enumLiteral_0= 'in' )
1856
                    {
1857
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:695:2: (enumLiteral_0= 'in' )
1858
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:695:4: enumLiteral_0= 'in'
1859
                    {
1860
                    enumLiteral_0=(Token)match(input,34,FOLLOW_34_in_ruleDirection1481); 
1529
1861
1862
                            current = grammarAccess.getDirectionAccess().getINEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
1863
                            newLeafNode(enumLiteral_0, grammarAccess.getDirectionAccess().getINEnumLiteralDeclaration_0()); 
1864
                        
1530
1865
1531
			}
1866
                    }
1532
1867
1533
			resetLookahead();
1534
			lastConsumedNode = currentNode;
1535
1868
1536
		}
1869
                    }
1870
                    break;
1871
                case 2 :
1872
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:701:6: (enumLiteral_1= 'out' )
1873
                    {
1874
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:701:6: (enumLiteral_1= 'out' )
1875
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:701:8: enumLiteral_1= 'out'
1876
                    {
1877
                    enumLiteral_1=(Token)match(input,35,FOLLOW_35_in_ruleDirection1498); 
1537
1878
1538
		catch (RecognitionException re) {
1879
                            current = grammarAccess.getDirectionAccess().getOUTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
1539
			recover(input, re);
1880
                            newLeafNode(enumLiteral_1, grammarAccess.getDirectionAccess().getOUTEnumLiteralDeclaration_1()); 
1540
			appendSkippedTokens();
1881
                        
1541
		} finally {
1542
		}
1543
		return current;
1544
	}
1545
1882
1546
	// $ANTLR end ruleModifierKind
1883
                    }
1547
1884
1548
1885
1549
	// $ANTLR start ruleEffectKind
1886
                    }
1550
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:756:1: ruleEffectKind returns [Enumerator current=null] : ( ( 'create' ) | ( 'read' ) | ( 'update' ) | ( 'delete' ) ) ;
1887
                    break;
1551
	public final Enumerator ruleEffectKind() throws RecognitionException {
1888
                case 3 :
1552
		Enumerator current = null;
1889
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:707:6: (enumLiteral_2= 'inout' )
1890
                    {
1891
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:707:6: (enumLiteral_2= 'inout' )
1892
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:707:8: enumLiteral_2= 'inout'
1893
                    {
1894
                    enumLiteral_2=(Token)match(input,36,FOLLOW_36_in_ruleDirection1515); 
1553
1895
1554
		setCurrentLookahead();
1896
                            current = grammarAccess.getDirectionAccess().getINOUTEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
1555
		resetLookahead();
1897
                            newLeafNode(enumLiteral_2, grammarAccess.getDirectionAccess().getINOUTEnumLiteralDeclaration_2()); 
1556
		try {
1898
                        
1557
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:760:6: ( ( ( 'create' ) | ( 'read' ) | ( 'update' ) | ( 'delete' ) ) )
1558
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:761:1: ( ( 'create' ) | ( 'read' ) | ( 'update' ) | ( 'delete' ) )
1559
			{
1560
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:761:1: ( ( 'create' ) | ( 'read' ) | ( 'update' ) | ( 'delete' ) )
1561
				int alt9 = 4;
1562
				switch(input.LA(1)) {
1563
				case 26:
1564
				{
1565
					alt9 = 1;
1566
				}
1567
					break;
1568
				case 27:
1569
				{
1570
					alt9 = 2;
1571
				}
1572
					break;
1573
				case 28:
1574
				{
1575
					alt9 = 3;
1576
				}
1577
					break;
1578
				case 29:
1579
				{
1580
					alt9 = 4;
1581
				}
1582
					break;
1583
				default:
1584
					NoViableAltException nvae = new NoViableAltException("761:1: ( ( 'create' ) | ( 'read' ) | ( 'update' ) | ( 'delete' ) )", 9, 0, input);
1585
1899
1586
					throw nvae;
1900
                    }
1587
				}
1588
1901
1589
				switch(alt9) {
1590
				case 1:
1591
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:761:2: ( 'create' )
1592
				{
1593
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:761:2: ( 'create' )
1594
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:761:4: 'create'
1595
					{
1596
						match(input, 26, FOLLOW_26_in_ruleEffectKind1251);
1597
1902
1598
						current = grammarAccess.getEffectKindAccess().getCREATEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
1903
                    }
1599
						createLeafNode(grammarAccess.getEffectKindAccess().getCREATEEnumLiteralDeclaration_0(), null);
1904
                    break;
1905
                case 4 :
1906
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:713:6: (enumLiteral_3= 'return' )
1907
                    {
1908
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:713:6: (enumLiteral_3= 'return' )
1909
                    // ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:713:8: enumLiteral_3= 'return'
1910
                    {
1911
                    enumLiteral_3=(Token)match(input,37,FOLLOW_37_in_ruleDirection1532); 
1600
1912
1913
                            current = grammarAccess.getDirectionAccess().getRETURNEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
1914
                            newLeafNode(enumLiteral_3, grammarAccess.getDirectionAccess().getRETURNEnumLiteralDeclaration_3()); 
1915
                        
1601
1916
1602
					}
1917
                    }
1603
1918
1604
1919
1605
				}
1920
                    }
1606
					break;
1921
                    break;
1607
				case 2:
1608
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:767:6: ( 'read' )
1609
				{
1610
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:767:6: ( 'read' )
1611
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:767:8: 'read'
1612
					{
1613
						match(input, 27, FOLLOW_27_in_ruleEffectKind1266);
1614
1922
1615
						current = grammarAccess.getEffectKindAccess().getREADEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
1923
            }
1616
						createLeafNode(grammarAccess.getEffectKindAccess().getREADEnumLiteralDeclaration_1(), null);
1617
1924
1618
1925
1619
					}
1926
            }
1620
1927
1928
             leaveRule(); 
1929
        }
1930
         
1931
            catch (RecognitionException re) { 
1932
                recover(input,re); 
1933
                appendSkippedTokens();
1934
            } 
1935
        finally {
1936
        }
1937
        return current;
1938
    }
1939
    // $ANTLR end "ruleDirection"
1621
1940
1622
				}
1941
    // Delegated rules
1623
					break;
1624
				case 3:
1625
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:773:6: ( 'update' )
1626
				{
1627
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:773:6: ( 'update' )
1628
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:773:8: 'update'
1629
					{
1630
						match(input, 28, FOLLOW_28_in_ruleEffectKind1281);
1631
1942
1632
						current = grammarAccess.getEffectKindAccess().getUPDATEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
1633
						createLeafNode(grammarAccess.getEffectKindAccess().getUPDATEEnumLiteralDeclaration_2(), null);
1634
1943
1944
 
1635
1945
1636
					}
1946
    public static final BitSet FOLLOW_ruleParameterRule_in_entryRuleParameterRule75 = new BitSet(new long[]{0x0000000000000000L});
1947
    public static final BitSet FOLLOW_EOF_in_entryRuleParameterRule85 = new BitSet(new long[]{0x0000000000000002L});
1948
    public static final BitSet FOLLOW_ruleVisibilityKind_in_ruleParameterRule131 = new BitSet(new long[]{0x0000003C00000000L});
1949
    public static final BitSet FOLLOW_ruleDirection_in_ruleParameterRule152 = new BitSet(new long[]{0x0000000000000010L});
1950
    public static final BitSet FOLLOW_RULE_ID_in_ruleParameterRule169 = new BitSet(new long[]{0x0000000000001000L});
1951
    public static final BitSet FOLLOW_12_in_ruleParameterRule186 = new BitSet(new long[]{0x0000000000002010L});
1952
    public static final BitSet FOLLOW_ruleTypeRule_in_ruleParameterRule208 = new BitSet(new long[]{0x0000000000084000L});
1953
    public static final BitSet FOLLOW_13_in_ruleParameterRule226 = new BitSet(new long[]{0x0000000000084000L});
1954
    public static final BitSet FOLLOW_ruleMultiplicityRule_in_ruleParameterRule248 = new BitSet(new long[]{0x0000000000084000L});
1955
    public static final BitSet FOLLOW_ruleModifiersRule_in_ruleParameterRule270 = new BitSet(new long[]{0x0000000000084000L});
1956
    public static final BitSet FOLLOW_ruleEffectRule_in_ruleParameterRule292 = new BitSet(new long[]{0x0000000000000002L});
1957
    public static final BitSet FOLLOW_ruleModifiersRule_in_entryRuleModifiersRule328 = new BitSet(new long[]{0x0000000000000000L});
1958
    public static final BitSet FOLLOW_EOF_in_entryRuleModifiersRule338 = new BitSet(new long[]{0x0000000000000002L});
1959
    public static final BitSet FOLLOW_14_in_ruleModifiersRule375 = new BitSet(new long[]{0x0000000003C00000L});
1960
    public static final BitSet FOLLOW_ruleModifierSpecification_in_ruleModifiersRule396 = new BitSet(new long[]{0x0000000000018000L});
1961
    public static final BitSet FOLLOW_15_in_ruleModifiersRule409 = new BitSet(new long[]{0x0000000003C00000L});
1962
    public static final BitSet FOLLOW_ruleModifierSpecification_in_ruleModifiersRule430 = new BitSet(new long[]{0x0000000000018000L});
1963
    public static final BitSet FOLLOW_16_in_ruleModifiersRule444 = new BitSet(new long[]{0x0000000000000002L});
1964
    public static final BitSet FOLLOW_ruleModifierSpecification_in_entryRuleModifierSpecification480 = new BitSet(new long[]{0x0000000000000000L});
1965
    public static final BitSet FOLLOW_EOF_in_entryRuleModifierSpecification490 = new BitSet(new long[]{0x0000000000000002L});
1966
    public static final BitSet FOLLOW_ruleModifierKind_in_ruleModifierSpecification535 = new BitSet(new long[]{0x0000000000000002L});
1967
    public static final BitSet FOLLOW_ruleEffectRule_in_entryRuleEffectRule570 = new BitSet(new long[]{0x0000000000000000L});
1968
    public static final BitSet FOLLOW_EOF_in_entryRuleEffectRule580 = new BitSet(new long[]{0x0000000000000002L});
1969
    public static final BitSet FOLLOW_14_in_ruleEffectRule617 = new BitSet(new long[]{0x0000000000020000L});
1970
    public static final BitSet FOLLOW_17_in_ruleEffectRule629 = new BitSet(new long[]{0x000000003C000000L});
1971
    public static final BitSet FOLLOW_ruleEffectKind_in_ruleEffectRule650 = new BitSet(new long[]{0x0000000000010000L});
1972
    public static final BitSet FOLLOW_16_in_ruleEffectRule662 = new BitSet(new long[]{0x0000000000000002L});
1973
    public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName698 = new BitSet(new long[]{0x0000000000000000L});
1974
    public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName708 = new BitSet(new long[]{0x0000000000000002L});
1975
    public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName753 = new BitSet(new long[]{0x0000000000040000L});
1976
    public static final BitSet FOLLOW_18_in_ruleQualifiedName765 = new BitSet(new long[]{0x0000000000000012L});
1977
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedName786 = new BitSet(new long[]{0x0000000000000002L});
1978
    public static final BitSet FOLLOW_ruleTypeRule_in_entryRuleTypeRule823 = new BitSet(new long[]{0x0000000000000000L});
1979
    public static final BitSet FOLLOW_EOF_in_entryRuleTypeRule833 = new BitSet(new long[]{0x0000000000000002L});
1980
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleTypeRule879 = new BitSet(new long[]{0x0000000000000010L});
1981
    public static final BitSet FOLLOW_RULE_ID_in_ruleTypeRule900 = new BitSet(new long[]{0x0000000000000002L});
1982
    public static final BitSet FOLLOW_ruleMultiplicityRule_in_entryRuleMultiplicityRule936 = new BitSet(new long[]{0x0000000000000000L});
1983
    public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityRule946 = new BitSet(new long[]{0x0000000000000002L});
1984
    public static final BitSet FOLLOW_19_in_ruleMultiplicityRule983 = new BitSet(new long[]{0x0000000000000020L});
1985
    public static final BitSet FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule1004 = new BitSet(new long[]{0x0000000000300000L});
1986
    public static final BitSet FOLLOW_20_in_ruleMultiplicityRule1017 = new BitSet(new long[]{0x0000000000000020L});
1987
    public static final BitSet FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule1038 = new BitSet(new long[]{0x0000000000200000L});
1988
    public static final BitSet FOLLOW_21_in_ruleMultiplicityRule1052 = new BitSet(new long[]{0x0000000000000002L});
1989
    public static final BitSet FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification1088 = new BitSet(new long[]{0x0000000000000000L});
1990
    public static final BitSet FOLLOW_EOF_in_entryRuleBoundSpecification1098 = new BitSet(new long[]{0x0000000000000002L});
1991
    public static final BitSet FOLLOW_RULE_UNLIMITEDLITERAL_in_ruleBoundSpecification1139 = new BitSet(new long[]{0x0000000000000002L});
1992
    public static final BitSet FOLLOW_22_in_ruleModifierKind1193 = new BitSet(new long[]{0x0000000000000002L});
1993
    public static final BitSet FOLLOW_23_in_ruleModifierKind1210 = new BitSet(new long[]{0x0000000000000002L});
1994
    public static final BitSet FOLLOW_24_in_ruleModifierKind1227 = new BitSet(new long[]{0x0000000000000002L});
1995
    public static final BitSet FOLLOW_25_in_ruleModifierKind1244 = new BitSet(new long[]{0x0000000000000002L});
1996
    public static final BitSet FOLLOW_26_in_ruleEffectKind1289 = new BitSet(new long[]{0x0000000000000002L});
1997
    public static final BitSet FOLLOW_27_in_ruleEffectKind1306 = new BitSet(new long[]{0x0000000000000002L});
1998
    public static final BitSet FOLLOW_28_in_ruleEffectKind1323 = new BitSet(new long[]{0x0000000000000002L});
1999
    public static final BitSet FOLLOW_29_in_ruleEffectKind1340 = new BitSet(new long[]{0x0000000000000002L});
2000
    public static final BitSet FOLLOW_30_in_ruleVisibilityKind1385 = new BitSet(new long[]{0x0000000000000002L});
2001
    public static final BitSet FOLLOW_31_in_ruleVisibilityKind1402 = new BitSet(new long[]{0x0000000000000002L});
2002
    public static final BitSet FOLLOW_32_in_ruleVisibilityKind1419 = new BitSet(new long[]{0x0000000000000002L});
2003
    public static final BitSet FOLLOW_33_in_ruleVisibilityKind1436 = new BitSet(new long[]{0x0000000000000002L});
2004
    public static final BitSet FOLLOW_34_in_ruleDirection1481 = new BitSet(new long[]{0x0000000000000002L});
2005
    public static final BitSet FOLLOW_35_in_ruleDirection1498 = new BitSet(new long[]{0x0000000000000002L});
2006
    public static final BitSet FOLLOW_36_in_ruleDirection1515 = new BitSet(new long[]{0x0000000000000002L});
2007
    public static final BitSet FOLLOW_37_in_ruleDirection1532 = new BitSet(new long[]{0x0000000000000002L});
1637
2008
1638
2009
}
1639
				}
1640
					break;
1641
				case 4:
1642
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:779:6: ( 'delete' )
1643
				{
1644
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:779:6: ( 'delete' )
1645
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:779:8: 'delete'
1646
					{
1647
						match(input, 29, FOLLOW_29_in_ruleEffectKind1296);
1648
1649
						current = grammarAccess.getEffectKindAccess().getDELETEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
1650
						createLeafNode(grammarAccess.getEffectKindAccess().getDELETEEnumLiteralDeclaration_3(), null);
1651
1652
1653
					}
1654
1655
1656
				}
1657
					break;
1658
1659
				}
1660
1661
1662
			}
1663
1664
			resetLookahead();
1665
			lastConsumedNode = currentNode;
1666
1667
		}
1668
1669
		catch (RecognitionException re) {
1670
			recover(input, re);
1671
			appendSkippedTokens();
1672
		} finally {
1673
		}
1674
		return current;
1675
	}
1676
1677
	// $ANTLR end ruleEffectKind
1678
1679
1680
	// $ANTLR start ruleVisibilityKind
1681
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:789:1: ruleVisibilityKind returns [Enumerator current=null] : ( ( '+' ) | ( '-' ) | ( '#' ) | ( '~' ) ) ;
1682
	public final Enumerator ruleVisibilityKind() throws RecognitionException {
1683
		Enumerator current = null;
1684
1685
		setCurrentLookahead();
1686
		resetLookahead();
1687
		try {
1688
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:793:6: ( ( ( '+' ) | ( '-' ) | ( '#' ) | ( '~' ) ) )
1689
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:794:1: ( ( '+' ) | ( '-' ) | ( '#' ) | ( '~' ) )
1690
			{
1691
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:794:1: ( ( '+' ) | ( '-' ) | ( '#' ) | ( '~' ) )
1692
				int alt10 = 4;
1693
				switch(input.LA(1)) {
1694
				case 30:
1695
				{
1696
					alt10 = 1;
1697
				}
1698
					break;
1699
				case 31:
1700
				{
1701
					alt10 = 2;
1702
				}
1703
					break;
1704
				case 32:
1705
				{
1706
					alt10 = 3;
1707
				}
1708
					break;
1709
				case 33:
1710
				{
1711
					alt10 = 4;
1712
				}
1713
					break;
1714
				default:
1715
					NoViableAltException nvae = new NoViableAltException("794:1: ( ( '+' ) | ( '-' ) | ( '#' ) | ( '~' ) )", 10, 0, input);
1716
1717
					throw nvae;
1718
				}
1719
1720
				switch(alt10) {
1721
				case 1:
1722
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:794:2: ( '+' )
1723
				{
1724
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:794:2: ( '+' )
1725
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:794:4: '+'
1726
					{
1727
						match(input, 30, FOLLOW_30_in_ruleVisibilityKind1339);
1728
1729
						current = grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
1730
						createLeafNode(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0(), null);
1731
1732
1733
					}
1734
1735
1736
				}
1737
					break;
1738
				case 2:
1739
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:800:6: ( '-' )
1740
				{
1741
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:800:6: ( '-' )
1742
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:800:8: '-'
1743
					{
1744
						match(input, 31, FOLLOW_31_in_ruleVisibilityKind1354);
1745
1746
						current = grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
1747
						createLeafNode(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1(), null);
1748
1749
1750
					}
1751
1752
1753
				}
1754
					break;
1755
				case 3:
1756
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:806:6: ( '#' )
1757
				{
1758
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:806:6: ( '#' )
1759
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:806:8: '#'
1760
					{
1761
						match(input, 32, FOLLOW_32_in_ruleVisibilityKind1369);
1762
1763
						current = grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
1764
						createLeafNode(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2(), null);
1765
1766
1767
					}
1768
1769
1770
				}
1771
					break;
1772
				case 4:
1773
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:812:6: ( '~' )
1774
				{
1775
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:812:6: ( '~' )
1776
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:812:8: '~'
1777
					{
1778
						match(input, 33, FOLLOW_33_in_ruleVisibilityKind1384);
1779
1780
						current = grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
1781
						createLeafNode(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3(), null);
1782
1783
1784
					}
1785
1786
1787
				}
1788
					break;
1789
1790
				}
1791
1792
1793
			}
1794
1795
			resetLookahead();
1796
			lastConsumedNode = currentNode;
1797
1798
		}
1799
1800
		catch (RecognitionException re) {
1801
			recover(input, re);
1802
			appendSkippedTokens();
1803
		} finally {
1804
		}
1805
		return current;
1806
	}
1807
1808
	// $ANTLR end ruleVisibilityKind
1809
1810
1811
	// $ANTLR start ruleDirection
1812
	// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:822:1: ruleDirection returns [Enumerator current=null] : ( ( 'in' ) | ( 'out' ) | ( 'inout' ) | ( 'return' ) ) ;
1813
	public final Enumerator ruleDirection() throws RecognitionException {
1814
		Enumerator current = null;
1815
1816
		setCurrentLookahead();
1817
		resetLookahead();
1818
		try {
1819
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:826:6: ( ( ( 'in' ) | ( 'out' ) | ( 'inout' ) | ( 'return' ) ) )
1820
			// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:827:1: ( ( 'in' ) | ( 'out' ) | ( 'inout' ) | ( 'return' ) )
1821
			{
1822
				// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:827:1: ( ( 'in' ) | ( 'out' ) | ( 'inout' ) | ( 'return' ) )
1823
				int alt11 = 4;
1824
				switch(input.LA(1)) {
1825
				case 34:
1826
				{
1827
					alt11 = 1;
1828
				}
1829
					break;
1830
				case 35:
1831
				{
1832
					alt11 = 2;
1833
				}
1834
					break;
1835
				case 36:
1836
				{
1837
					alt11 = 3;
1838
				}
1839
					break;
1840
				case 37:
1841
				{
1842
					alt11 = 4;
1843
				}
1844
					break;
1845
				default:
1846
					NoViableAltException nvae = new NoViableAltException("827:1: ( ( 'in' ) | ( 'out' ) | ( 'inout' ) | ( 'return' ) )", 11, 0, input);
1847
1848
					throw nvae;
1849
				}
1850
1851
				switch(alt11) {
1852
				case 1:
1853
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:827:2: ( 'in' )
1854
				{
1855
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:827:2: ( 'in' )
1856
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:827:4: 'in'
1857
					{
1858
						match(input, 34, FOLLOW_34_in_ruleDirection1427);
1859
1860
						current = grammarAccess.getDirectionAccess().getINEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
1861
						createLeafNode(grammarAccess.getDirectionAccess().getINEnumLiteralDeclaration_0(), null);
1862
1863
1864
					}
1865
1866
1867
				}
1868
					break;
1869
				case 2:
1870
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:833:6: ( 'out' )
1871
				{
1872
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:833:6: ( 'out' )
1873
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:833:8: 'out'
1874
					{
1875
						match(input, 35, FOLLOW_35_in_ruleDirection1442);
1876
1877
						current = grammarAccess.getDirectionAccess().getOUTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
1878
						createLeafNode(grammarAccess.getDirectionAccess().getOUTEnumLiteralDeclaration_1(), null);
1879
1880
1881
					}
1882
1883
1884
				}
1885
					break;
1886
				case 3:
1887
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:839:6: ( 'inout' )
1888
				{
1889
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:839:6: ( 'inout' )
1890
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:839:8: 'inout'
1891
					{
1892
						match(input, 36, FOLLOW_36_in_ruleDirection1457);
1893
1894
						current = grammarAccess.getDirectionAccess().getINOUTEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
1895
						createLeafNode(grammarAccess.getDirectionAccess().getINOUTEnumLiteralDeclaration_2(), null);
1896
1897
1898
					}
1899
1900
1901
				}
1902
					break;
1903
				case 4:
1904
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:845:6: ( 'return' )
1905
				{
1906
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:845:6: ( 'return' )
1907
					// ../org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.g:845:8: 'return'
1908
					{
1909
						match(input, 37, FOLLOW_37_in_ruleDirection1472);
1910
1911
						current = grammarAccess.getDirectionAccess().getRETURNEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
1912
						createLeafNode(grammarAccess.getDirectionAccess().getRETURNEnumLiteralDeclaration_3(), null);
1913
1914
1915
					}
1916
1917
1918
				}
1919
					break;
1920
1921
				}
1922
1923
1924
			}
1925
1926
			resetLookahead();
1927
			lastConsumedNode = currentNode;
1928
1929
		}
1930
1931
		catch (RecognitionException re) {
1932
			recover(input, re);
1933
			appendSkippedTokens();
1934
		} finally {
1935
		}
1936
		return current;
1937
	}
1938
1939
	// $ANTLR end ruleDirection
1940
1941
1942
1943
1944
	public static final BitSet FOLLOW_ruleParameterRule_in_entryRuleParameterRule75 = new BitSet(new long[]{ 0x0000000000000000L });
1945
1946
	public static final BitSet FOLLOW_EOF_in_entryRuleParameterRule85 = new BitSet(new long[]{ 0x0000000000000002L });
1947
1948
	public static final BitSet FOLLOW_ruleVisibilityKind_in_ruleParameterRule131 = new BitSet(new long[]{ 0x0000003C00000000L });
1949
1950
	public static final BitSet FOLLOW_ruleDirection_in_ruleParameterRule152 = new BitSet(new long[]{ 0x0000000000000010L });
1951
1952
	public static final BitSet FOLLOW_RULE_ID_in_ruleParameterRule169 = new BitSet(new long[]{ 0x0000000000001000L });
1953
1954
	public static final BitSet FOLLOW_12_in_ruleParameterRule184 = new BitSet(new long[]{ 0x0000000000002010L });
1955
1956
	public static final BitSet FOLLOW_ruleTypeRule_in_ruleParameterRule206 = new BitSet(new long[]{ 0x0000000000084000L });
1957
1958
	public static final BitSet FOLLOW_13_in_ruleParameterRule222 = new BitSet(new long[]{ 0x0000000000084000L });
1959
1960
	public static final BitSet FOLLOW_ruleMultiplicityRule_in_ruleParameterRule244 = new BitSet(new long[]{ 0x0000000000004000L });
1961
1962
	public static final BitSet FOLLOW_ruleModifiersRule_in_ruleParameterRule266 = new BitSet(new long[]{ 0x0000000000004000L });
1963
1964
	public static final BitSet FOLLOW_ruleEffectRule_in_ruleParameterRule288 = new BitSet(new long[]{ 0x0000000000000002L });
1965
1966
	public static final BitSet FOLLOW_ruleModifiersRule_in_entryRuleModifiersRule324 = new BitSet(new long[]{ 0x0000000000000000L });
1967
1968
	public static final BitSet FOLLOW_EOF_in_entryRuleModifiersRule334 = new BitSet(new long[]{ 0x0000000000000002L });
1969
1970
	public static final BitSet FOLLOW_14_in_ruleModifiersRule369 = new BitSet(new long[]{ 0x0000000003C00000L });
1971
1972
	public static final BitSet FOLLOW_ruleModifierSpecification_in_ruleModifiersRule390 = new BitSet(new long[]{ 0x0000000000018000L });
1973
1974
	public static final BitSet FOLLOW_15_in_ruleModifiersRule401 = new BitSet(new long[]{ 0x0000000003C00000L });
1975
1976
	public static final BitSet FOLLOW_ruleModifierSpecification_in_ruleModifiersRule422 = new BitSet(new long[]{ 0x0000000000018000L });
1977
1978
	public static final BitSet FOLLOW_16_in_ruleModifiersRule434 = new BitSet(new long[]{ 0x0000000000000002L });
1979
1980
	public static final BitSet FOLLOW_ruleModifierSpecification_in_entryRuleModifierSpecification470 = new BitSet(new long[]{ 0x0000000000000000L });
1981
1982
	public static final BitSet FOLLOW_EOF_in_entryRuleModifierSpecification480 = new BitSet(new long[]{ 0x0000000000000002L });
1983
1984
	public static final BitSet FOLLOW_ruleModifierKind_in_ruleModifierSpecification525 = new BitSet(new long[]{ 0x0000000000000002L });
1985
1986
	public static final BitSet FOLLOW_ruleEffectRule_in_entryRuleEffectRule560 = new BitSet(new long[]{ 0x0000000000000000L });
1987
1988
	public static final BitSet FOLLOW_EOF_in_entryRuleEffectRule570 = new BitSet(new long[]{ 0x0000000000000002L });
1989
1990
	public static final BitSet FOLLOW_14_in_ruleEffectRule605 = new BitSet(new long[]{ 0x0000000000020000L });
1991
1992
	public static final BitSet FOLLOW_17_in_ruleEffectRule615 = new BitSet(new long[]{ 0x000000003C000000L });
1993
1994
	public static final BitSet FOLLOW_ruleEffectKind_in_ruleEffectRule636 = new BitSet(new long[]{ 0x0000000000010000L });
1995
1996
	public static final BitSet FOLLOW_16_in_ruleEffectRule646 = new BitSet(new long[]{ 0x0000000000000002L });
1997
1998
	public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName682 = new BitSet(new long[]{ 0x0000000000000000L });
1999
2000
	public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName692 = new BitSet(new long[]{ 0x0000000000000002L });
2001
2002
	public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName735 = new BitSet(new long[]{ 0x0000000000040000L });
2003
2004
	public static final BitSet FOLLOW_18_in_ruleQualifiedName745 = new BitSet(new long[]{ 0x0000000000000012L });
2005
2006
	public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedName766 = new BitSet(new long[]{ 0x0000000000000002L });
2007
2008
	public static final BitSet FOLLOW_ruleTypeRule_in_entryRuleTypeRule803 = new BitSet(new long[]{ 0x0000000000000000L });
2009
2010
	public static final BitSet FOLLOW_EOF_in_entryRuleTypeRule813 = new BitSet(new long[]{ 0x0000000000000002L });
2011
2012
	public static final BitSet FOLLOW_ruleQualifiedName_in_ruleTypeRule859 = new BitSet(new long[]{ 0x0000000000000010L });
2013
2014
	public static final BitSet FOLLOW_RULE_ID_in_ruleTypeRule878 = new BitSet(new long[]{ 0x0000000000000002L });
2015
2016
	public static final BitSet FOLLOW_ruleMultiplicityRule_in_entryRuleMultiplicityRule914 = new BitSet(new long[]{ 0x0000000000000000L });
2017
2018
	public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityRule924 = new BitSet(new long[]{ 0x0000000000000002L });
2019
2020
	public static final BitSet FOLLOW_19_in_ruleMultiplicityRule959 = new BitSet(new long[]{ 0x0000000000000020L });
2021
2022
	public static final BitSet FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule980 = new BitSet(new long[]{ 0x0000000000300000L });
2023
2024
	public static final BitSet FOLLOW_20_in_ruleMultiplicityRule991 = new BitSet(new long[]{ 0x0000000000000020L });
2025
2026
	public static final BitSet FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule1012 = new BitSet(new long[]{ 0x0000000000200000L });
2027
2028
	public static final BitSet FOLLOW_21_in_ruleMultiplicityRule1024 = new BitSet(new long[]{ 0x0000000000000002L });
2029
2030
	public static final BitSet FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification1060 = new BitSet(new long[]{ 0x0000000000000000L });
2031
2032
	public static final BitSet FOLLOW_EOF_in_entryRuleBoundSpecification1070 = new BitSet(new long[]{ 0x0000000000000002L });
2033
2034
	public static final BitSet FOLLOW_RULE_UNLIMITEDLITERAL_in_ruleBoundSpecification1111 = new BitSet(new long[]{ 0x0000000000000002L });
2035
2036
	public static final BitSet FOLLOW_22_in_ruleModifierKind1163 = new BitSet(new long[]{ 0x0000000000000002L });
2037
2038
	public static final BitSet FOLLOW_23_in_ruleModifierKind1178 = new BitSet(new long[]{ 0x0000000000000002L });
2039
2040
	public static final BitSet FOLLOW_24_in_ruleModifierKind1193 = new BitSet(new long[]{ 0x0000000000000002L });
2041
2042
	public static final BitSet FOLLOW_25_in_ruleModifierKind1208 = new BitSet(new long[]{ 0x0000000000000002L });
2043
2044
	public static final BitSet FOLLOW_26_in_ruleEffectKind1251 = new BitSet(new long[]{ 0x0000000000000002L });
2045
2046
	public static final BitSet FOLLOW_27_in_ruleEffectKind1266 = new BitSet(new long[]{ 0x0000000000000002L });
2047
2048
	public static final BitSet FOLLOW_28_in_ruleEffectKind1281 = new BitSet(new long[]{ 0x0000000000000002L });
2049
2050
	public static final BitSet FOLLOW_29_in_ruleEffectKind1296 = new BitSet(new long[]{ 0x0000000000000002L });
2051
2052
	public static final BitSet FOLLOW_30_in_ruleVisibilityKind1339 = new BitSet(new long[]{ 0x0000000000000002L });
2053
2054
	public static final BitSet FOLLOW_31_in_ruleVisibilityKind1354 = new BitSet(new long[]{ 0x0000000000000002L });
2055
2056
	public static final BitSet FOLLOW_32_in_ruleVisibilityKind1369 = new BitSet(new long[]{ 0x0000000000000002L });
2057
2058
	public static final BitSet FOLLOW_33_in_ruleVisibilityKind1384 = new BitSet(new long[]{ 0x0000000000000002L });
2059
2060
	public static final BitSet FOLLOW_34_in_ruleDirection1427 = new BitSet(new long[]{ 0x0000000000000002L });
2061
2062
	public static final BitSet FOLLOW_35_in_ruleDirection1442 = new BitSet(new long[]{ 0x0000000000000002L });
2063
2064
	public static final BitSet FOLLOW_36_in_ruleDirection1457 = new BitSet(new long[]{ 0x0000000000000002L });
2065
2066
	public static final BitSet FOLLOW_37_in_ruleDirection1472 = new BitSet(new long[]{ 0x0000000000000002L });
2067
2068
}
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/UmlParameterParser.java (-31 / +14 lines)
Lines 1-56 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
package org.eclipse.papyrus.parameter.editor.xtext.parser.antlr;
4
package org.eclipse.papyrus.parameter.editor.xtext.parser.antlr;
5
5
6
import org.antlr.runtime.CharStream;
7
import org.antlr.runtime.TokenSource;
8
import org.eclipse.xtext.parser.IParseResult;
9
import org.eclipse.xtext.parser.ParseException;
10
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
11
12
import com.google.inject.Inject;
6
import com.google.inject.Inject;
13
7
8
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
14
import org.eclipse.papyrus.parameter.editor.xtext.services.UmlParameterGrammarAccess;
9
import org.eclipse.papyrus.parameter.editor.xtext.services.UmlParameterGrammarAccess;
15
10
16
public class UmlParameterParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
11
public class UmlParameterParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
17
12
	
18
	@Inject
13
	@Inject
19
	private UmlParameterGrammarAccess grammarAccess;
14
	private UmlParameterGrammarAccess grammarAccess;
20
15
	
21
	@Override
16
	@Override
22
	protected IParseResult parse(String ruleName, CharStream in) {
17
	protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
23
		TokenSource tokenSource = createLexer(in);
24
		XtextTokenStream tokenStream = createTokenStream(tokenSource);
25
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
18
		tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
26
		org.eclipse.papyrus.parameter.editor.xtext.parser.antlr.internal.InternalUmlParameterParser parser = createParser(tokenStream);
27
		parser.setTokenTypeMap(getTokenDefProvider().getTokenDefMap());
28
		parser.setSyntaxErrorProvider(getSyntaxErrorProvider());
29
		parser.setUnorderedGroupHelper(getUnorderedGroupHelper().get());
30
		try {
31
			if(ruleName != null)
32
				return parser.parse(ruleName);
33
			return parser.parse();
34
		} catch (Exception re) {
35
			throw new ParseException(re.getMessage(), re);
36
		}
37
	}
19
	}
38
20
	
21
	@Override
39
	protected org.eclipse.papyrus.parameter.editor.xtext.parser.antlr.internal.InternalUmlParameterParser createParser(XtextTokenStream stream) {
22
	protected org.eclipse.papyrus.parameter.editor.xtext.parser.antlr.internal.InternalUmlParameterParser createParser(XtextTokenStream stream) {
40
		return new org.eclipse.papyrus.parameter.editor.xtext.parser.antlr.internal.InternalUmlParameterParser(stream, getElementFactory(), getGrammarAccess());
23
		return new org.eclipse.papyrus.parameter.editor.xtext.parser.antlr.internal.InternalUmlParameterParser(stream, getGrammarAccess());
41
	}
24
	}
42
25
	
43
	@Override
26
	@Override 
44
	protected String getDefaultRuleName() {
27
	protected String getDefaultRuleName() {
45
		return "ParameterRule";
28
		return "ParameterRule";
46
	}
29
	}
47
30
	
48
	public UmlParameterGrammarAccess getGrammarAccess() {
31
	public UmlParameterGrammarAccess getGrammarAccess() {
49
		return this.grammarAccess;
32
		return this.grammarAccess;
50
	}
33
	}
51
34
	
52
	public void setGrammarAccess(UmlParameterGrammarAccess grammarAccess) {
35
	public void setGrammarAccess(UmlParameterGrammarAccess grammarAccess) {
53
		this.grammarAccess = grammarAccess;
36
		this.grammarAccess = grammarAccess;
54
	}
37
	}
55
38
	
56
}
39
}
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/UmlParameterAntlrTokenFileProvider.java (-4 / +4 lines)
Lines 1-15 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
package org.eclipse.papyrus.parameter.editor.xtext.parser.antlr;
4
package org.eclipse.papyrus.parameter.editor.xtext.parser.antlr;
5
5
6
import java.io.InputStream;
6
import java.io.InputStream;
7
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
7
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
8
8
9
public class UmlParameterAntlrTokenFileProvider implements IAntlrTokenFileProvider {
9
public class UmlParameterAntlrTokenFileProvider implements IAntlrTokenFileProvider {
10
10
	
11
	public InputStream getAntlrTokenFile() {
11
	public InputStream getAntlrTokenFile() {
12
		ClassLoader classLoader = getClass().getClassLoader();
12
		ClassLoader classLoader = getClass().getClassLoader();
13
		return classLoader.getResourceAsStream("org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.tokens");
13
    	return classLoader.getResourceAsStream("org/eclipse/papyrus/parameter/editor/xtext/parser/antlr/internal/InternalUmlParameter.tokens");
14
	}
14
	}
15
}
15
}
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/parseTreeConstruction/UmlParameterParsetreeConstructor.java (-1260 / +1116 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
package org.eclipse.papyrus.parameter.editor.xtext.parseTreeConstruction;
4
package org.eclipse.papyrus.parameter.editor.xtext.parseTreeConstruction;
5
5
6
import org.eclipse.emf.ecore.*;
6
import org.eclipse.emf.ecore.*;
Lines 14-1528 Link Here
14
14
15
@SuppressWarnings("all")
15
@SuppressWarnings("all")
16
public class UmlParameterParsetreeConstructor extends AbstractParseTreeConstructor {
16
public class UmlParameterParsetreeConstructor extends AbstractParseTreeConstructor {
17
17
		
18
	@Inject
18
	@Inject
19
	private UmlParameterGrammarAccess grammarAccess;
19
	private UmlParameterGrammarAccess grammarAccess;
20
20
	
21
	@Override
21
	@Override
22
	protected AbstractToken getRootToken(IEObjectConsumer inst) {
22
	protected AbstractToken getRootToken(IEObjectConsumer inst) {
23
		return new ThisRootNode(inst);
23
		return new ThisRootNode(inst);	
24
	}
24
	}
25
25
	
26
	protected class ThisRootNode extends RootToken {
26
protected class ThisRootNode extends RootToken {
27
	public ThisRootNode(IEObjectConsumer inst) {
28
		super(inst);
29
	}
30
	
31
	@Override
32
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
33
		switch(index) {
34
			case 0: return new ParameterRule_Group(this, this, 0, inst);
35
			case 1: return new ModifiersRule_Group(this, this, 1, inst);
36
			case 2: return new ModifierSpecification_ValueAssignment(this, this, 2, inst);
37
			case 3: return new EffectRule_Group(this, this, 3, inst);
38
			case 4: return new QualifiedName_Group(this, this, 4, inst);
39
			case 5: return new TypeRule_Group(this, this, 5, inst);
40
			case 6: return new MultiplicityRule_Group(this, this, 6, inst);
41
			case 7: return new BoundSpecification_ValueAssignment(this, this, 7, inst);
42
			default: return null;
43
		}	
44
	}	
45
}
46
	
27
47
28
		public ThisRootNode(IEObjectConsumer inst) {
48
/************ begin Rule ParameterRule ****************
29
			super(inst);
49
 *
30
		}
50
 * ParameterRule:
51
 * 	visibility=VisibilityKind direction=Direction name=ID ":" (type=TypeRule | "<Undefined>")
52
 * 	multiplicity=MultiplicityRule? modifiers=ModifiersRule? effect=EffectRule;
53
 *
54
 **/
31
55
32
		@Override
56
// visibility=VisibilityKind direction=Direction name=ID ":" (type=TypeRule | "<Undefined>") multiplicity=MultiplicityRule?
33
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
57
// modifiers=ModifiersRule? effect=EffectRule
34
			switch(index) {
58
protected class ParameterRule_Group extends GroupToken {
35
			case 0:
59
	
36
				return new ParameterRule_Group(this, this, 0, inst);
60
	public ParameterRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
37
			case 1:
61
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
38
				return new ModifiersRule_Group(this, this, 1, inst);
39
			case 2:
40
				return new ModifierSpecification_ValueAssignment(this, this, 2, inst);
41
			case 3:
42
				return new EffectRule_Group(this, this, 3, inst);
43
			case 4:
44
				return new QualifiedName_Group(this, this, 4, inst);
45
			case 5:
46
				return new TypeRule_Group(this, this, 5, inst);
47
			case 6:
48
				return new MultiplicityRule_Group(this, this, 6, inst);
49
			case 7:
50
				return new BoundSpecification_ValueAssignment(this, this, 7, inst);
51
			default:
52
				return null;
53
			}
54
		}
55
	}
62
	}
56
63
	
64
	@Override
65
	public Group getGrammarElement() {
66
		return grammarAccess.getParameterRuleAccess().getGroup();
67
	}
57
68
58
	/************
69
    @Override
59
	 * begin Rule ParameterRule ****************
70
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
60
	 * 
71
		switch(index) {
61
	 * ParameterRule:
72
			case 0: return new ParameterRule_EffectAssignment_7(lastRuleCallOrigin, this, 0, inst);
62
	 * visibility=VisibilityKind direction=Direction name=ID ":" (type=TypeRule | "<Undefined>")
73
			default: return null;
63
	 * multiplicity=MultiplicityRule? modifiers=ModifiersRule? effect=EffectRule;
74
		}	
64
	 * 
75
	}
65
	 **/
66
76
67
	// visibility=VisibilityKind direction=Direction name=ID ":" (type=TypeRule | "<Undefined>") multiplicity=MultiplicityRule?
77
    @Override
68
	// modifiers=ModifiersRule? effect=EffectRule
78
	public IEObjectConsumer tryConsume() {
69
	protected class ParameterRule_Group extends GroupToken {
79
		if(getEObject().eClass() != grammarAccess.getParameterRuleRule().getType().getClassifier())
80
			return null;
81
		return eObjectConsumer;
82
	}
70
83
71
		public ParameterRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
84
}
72
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
73
		}
74
85
75
		@Override
86
// visibility=VisibilityKind
76
		public Group getGrammarElement() {
87
protected class ParameterRule_VisibilityAssignment_0 extends AssignmentToken  {
77
			return grammarAccess.getParameterRuleAccess().getGroup();
88
	
78
		}
89
	public ParameterRule_VisibilityAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
90
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
91
	}
92
	
93
	@Override
94
	public Assignment getGrammarElement() {
95
		return grammarAccess.getParameterRuleAccess().getVisibilityAssignment_0();
96
	}
79
97
80
		@Override
98
    @Override
81
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
99
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
82
			switch(index) {
100
		switch(index) {
83
			case 0:
101
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
84
				return new ParameterRule_EffectAssignment_7(lastRuleCallOrigin, this, 0, inst);
102
		}	
85
			default:
103
	}
86
				return null;
87
			}
88
		}
89
104
90
		@Override
105
    @Override	
91
		public IEObjectConsumer tryConsume() {
106
	public IEObjectConsumer tryConsume() {
92
			if(getEObject().eClass() != grammarAccess.getParameterRuleRule().getType().getClassifier())
107
		if((value = eObjectConsumer.getConsumable("visibility",true)) == null) return null;
93
				return null;
108
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("visibility");
94
			return eObjectConsumer;
109
		if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getParameterRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0(), value, null)) { 
110
			type = AssignmentType.ENUM_RULE_CALL;
111
			element = grammarAccess.getParameterRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0();
112
			return obj;
95
		}
113
		}
96
114
		return null;
97
	}
115
	}
98
116
99
	// visibility=VisibilityKind
117
}
100
	protected class ParameterRule_VisibilityAssignment_0 extends AssignmentToken {
101
102
		public ParameterRule_VisibilityAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
103
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
104
		}
105
118
106
		@Override
119
// direction=Direction
107
		public Assignment getGrammarElement() {
120
protected class ParameterRule_DirectionAssignment_1 extends AssignmentToken  {
108
			return grammarAccess.getParameterRuleAccess().getVisibilityAssignment_0();
121
	
109
		}
122
	public ParameterRule_DirectionAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
123
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
124
	}
125
	
126
	@Override
127
	public Assignment getGrammarElement() {
128
		return grammarAccess.getParameterRuleAccess().getDirectionAssignment_1();
129
	}
110
130
111
		@Override
131
    @Override
112
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
132
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
113
			switch(index) {
133
		switch(index) {
114
			default:
134
			case 0: return new ParameterRule_VisibilityAssignment_0(lastRuleCallOrigin, this, 0, inst);
115
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
135
			default: return null;
116
			}
136
		}	
117
		}
137
	}
118
138
119
		@Override
139
    @Override	
120
		public IEObjectConsumer tryConsume() {
140
	public IEObjectConsumer tryConsume() {
121
			if((value = eObjectConsumer.getConsumable("visibility", true)) == null)
141
		if((value = eObjectConsumer.getConsumable("direction",true)) == null) return null;
122
				return null;
142
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("direction");
123
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("visibility");
143
		if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getParameterRuleAccess().getDirectionDirectionEnumRuleCall_1_0(), value, null)) { 
124
			if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getParameterRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0(), value, null)) {
144
			type = AssignmentType.ENUM_RULE_CALL;
125
				type = AssignmentType.ENUM_RULE_CALL;
145
			element = grammarAccess.getParameterRuleAccess().getDirectionDirectionEnumRuleCall_1_0();
126
				element = grammarAccess.getParameterRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0();
146
			return obj;
127
				return obj;
128
			}
129
			return null;
130
		}
147
		}
131
148
		return null;
132
	}
149
	}
133
150
134
	// direction=Direction
151
}
135
	protected class ParameterRule_DirectionAssignment_1 extends AssignmentToken {
136
152
137
		public ParameterRule_DirectionAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
153
// name=ID
138
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
154
protected class ParameterRule_NameAssignment_2 extends AssignmentToken  {
139
		}
155
	
156
	public ParameterRule_NameAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
157
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
158
	}
159
	
160
	@Override
161
	public Assignment getGrammarElement() {
162
		return grammarAccess.getParameterRuleAccess().getNameAssignment_2();
163
	}
140
164
141
		@Override
165
    @Override
142
		public Assignment getGrammarElement() {
166
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
143
			return grammarAccess.getParameterRuleAccess().getDirectionAssignment_1();
167
		switch(index) {
144
		}
168
			case 0: return new ParameterRule_DirectionAssignment_1(lastRuleCallOrigin, this, 0, inst);
169
			default: return null;
170
		}	
171
	}
145
172
146
		@Override
173
    @Override	
147
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
174
	public IEObjectConsumer tryConsume() {
148
			switch(index) {
175
		if((value = eObjectConsumer.getConsumable("name",true)) == null) return null;
149
			case 0:
176
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name");
150
				return new ParameterRule_VisibilityAssignment_0(lastRuleCallOrigin, this, 0, inst);
177
		if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getParameterRuleAccess().getNameIDTerminalRuleCall_2_0(), value, null)) {
151
			default:
178
			type = AssignmentType.TERMINAL_RULE_CALL;
152
				return null;
179
			element = grammarAccess.getParameterRuleAccess().getNameIDTerminalRuleCall_2_0();
153
			}
180
			return obj;
154
		}
181
		}
182
		return null;
183
	}
155
184
156
		@Override
185
}
157
		public IEObjectConsumer tryConsume() {
158
			if((value = eObjectConsumer.getConsumable("direction", true)) == null)
159
				return null;
160
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("direction");
161
			if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getParameterRuleAccess().getDirectionDirectionEnumRuleCall_1_0(), value, null)) {
162
				type = AssignmentType.ENUM_RULE_CALL;
163
				element = grammarAccess.getParameterRuleAccess().getDirectionDirectionEnumRuleCall_1_0();
164
				return obj;
165
			}
166
			return null;
167
		}
168
186
187
// ":"
188
protected class ParameterRule_ColonKeyword_3 extends KeywordToken  {
189
	
190
	public ParameterRule_ColonKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
191
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
192
	}
193
	
194
	@Override
195
	public Keyword getGrammarElement() {
196
		return grammarAccess.getParameterRuleAccess().getColonKeyword_3();
169
	}
197
	}
170
198
171
	// name=ID
199
    @Override
172
	protected class ParameterRule_NameAssignment_2 extends AssignmentToken {
200
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
201
		switch(index) {
202
			case 0: return new ParameterRule_NameAssignment_2(lastRuleCallOrigin, this, 0, inst);
203
			default: return null;
204
		}	
205
	}
173
206
174
		public ParameterRule_NameAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
207
}
175
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
176
		}
177
208
178
		@Override
209
// type=TypeRule | "<Undefined>"
179
		public Assignment getGrammarElement() {
210
protected class ParameterRule_Alternatives_4 extends AlternativesToken {
180
			return grammarAccess.getParameterRuleAccess().getNameAssignment_2();
181
		}
182
211
183
		@Override
212
	public ParameterRule_Alternatives_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
184
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
213
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
185
			switch(index) {
214
	}
186
			case 0:
215
	
187
				return new ParameterRule_DirectionAssignment_1(lastRuleCallOrigin, this, 0, inst);
216
	@Override
188
			default:
217
	public Alternatives getGrammarElement() {
189
				return null;
218
		return grammarAccess.getParameterRuleAccess().getAlternatives_4();
190
			}
219
	}
191
		}
192
193
		@Override
194
		public IEObjectConsumer tryConsume() {
195
			if((value = eObjectConsumer.getConsumable("name", true)) == null)
196
				return null;
197
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name");
198
			if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getParameterRuleAccess().getNameIDTerminalRuleCall_2_0(), value, null)) {
199
				type = AssignmentType.TERMINAL_RULE_CALL;
200
				element = grammarAccess.getParameterRuleAccess().getNameIDTerminalRuleCall_2_0();
201
				return obj;
202
			}
203
			return null;
204
		}
205
220
221
    @Override
222
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
223
		switch(index) {
224
			case 0: return new ParameterRule_TypeAssignment_4_0(lastRuleCallOrigin, this, 0, inst);
225
			case 1: return new ParameterRule_UndefinedKeyword_4_1(lastRuleCallOrigin, this, 1, inst);
226
			default: return null;
227
		}	
206
	}
228
	}
207
229
208
	// ":"
230
}
209
	protected class ParameterRule_ColonKeyword_3 extends KeywordToken {
210
231
211
		public ParameterRule_ColonKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
232
// type=TypeRule
212
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
233
protected class ParameterRule_TypeAssignment_4_0 extends AssignmentToken  {
213
		}
234
	
235
	public ParameterRule_TypeAssignment_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
236
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
237
	}
238
	
239
	@Override
240
	public Assignment getGrammarElement() {
241
		return grammarAccess.getParameterRuleAccess().getTypeAssignment_4_0();
242
	}
214
243
215
		@Override
244
    @Override
216
		public Keyword getGrammarElement() {
245
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
217
			return grammarAccess.getParameterRuleAccess().getColonKeyword_3();
246
		switch(index) {
218
		}
247
			case 0: return new TypeRule_Group(this, this, 0, inst);
248
			default: return null;
249
		}	
250
	}
219
251
220
		@Override
252
    @Override	
221
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
253
	public IEObjectConsumer tryConsume() {
222
			switch(index) {
254
		if((value = eObjectConsumer.getConsumable("type",true)) == null) return null;
223
			case 0:
255
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type");
224
				return new ParameterRule_NameAssignment_2(lastRuleCallOrigin, this, 0, inst);
256
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
225
			default:
257
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
226
				return null;
258
			if(param.isInstanceOf(grammarAccess.getTypeRuleRule().getType().getClassifier())) {
259
				type = AssignmentType.PARSER_RULE_CALL;
260
				element = grammarAccess.getParameterRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0(); 
261
				consumed = obj;
262
				return param;
227
			}
263
			}
228
		}
264
		}
229
265
		return null;
230
	}
266
	}
231
267
232
	// type=TypeRule | "<Undefined>"
268
    @Override
233
	protected class ParameterRule_Alternatives_4 extends AlternativesToken {
269
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
234
270
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
235
		public ParameterRule_Alternatives_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
271
		switch(index) {
236
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
272
			case 0: return new ParameterRule_ColonKeyword_3(lastRuleCallOrigin, next, actIndex, consumed);
237
		}
273
			default: return null;
238
274
		}	
239
		@Override
275
	}	
240
		public Alternatives getGrammarElement() {
276
}
241
			return grammarAccess.getParameterRuleAccess().getAlternatives_4();
242
		}
243
244
		@Override
245
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
246
			switch(index) {
247
			case 0:
248
				return new ParameterRule_TypeAssignment_4_0(lastRuleCallOrigin, this, 0, inst);
249
			case 1:
250
				return new ParameterRule_UndefinedKeyword_4_1(lastRuleCallOrigin, this, 1, inst);
251
			default:
252
				return null;
253
			}
254
		}
255
277
278
// "<Undefined>"
279
protected class ParameterRule_UndefinedKeyword_4_1 extends KeywordToken  {
280
	
281
	public ParameterRule_UndefinedKeyword_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
282
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
283
	}
284
	
285
	@Override
286
	public Keyword getGrammarElement() {
287
		return grammarAccess.getParameterRuleAccess().getUndefinedKeyword_4_1();
256
	}
288
	}
257
289
258
	// type=TypeRule
290
    @Override
259
	protected class ParameterRule_TypeAssignment_4_0 extends AssignmentToken {
291
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
292
		switch(index) {
293
			case 0: return new ParameterRule_ColonKeyword_3(lastRuleCallOrigin, this, 0, inst);
294
			default: return null;
295
		}	
296
	}
260
297
261
		public ParameterRule_TypeAssignment_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
298
}
262
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
263
		}
264
299
265
		@Override
266
		public Assignment getGrammarElement() {
267
			return grammarAccess.getParameterRuleAccess().getTypeAssignment_4_0();
268
		}
269
300
270
		@Override
301
// multiplicity=MultiplicityRule?
271
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
302
protected class ParameterRule_MultiplicityAssignment_5 extends AssignmentToken  {
272
			switch(index) {
303
	
273
			case 0:
304
	public ParameterRule_MultiplicityAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
274
				return new TypeRule_Group(this, this, 0, inst);
305
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
275
			default:
306
	}
276
				return null;
307
	
277
			}
308
	@Override
278
		}
309
	public Assignment getGrammarElement() {
310
		return grammarAccess.getParameterRuleAccess().getMultiplicityAssignment_5();
311
	}
279
312
280
		@Override
313
    @Override
281
		public IEObjectConsumer tryConsume() {
314
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
282
			if((value = eObjectConsumer.getConsumable("type", true)) == null)
315
		switch(index) {
283
				return null;
316
			case 0: return new MultiplicityRule_Group(this, this, 0, inst);
284
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type");
317
			default: return null;
285
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
318
		}	
286
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
319
	}
287
				if(param.isInstanceOf(grammarAccess.getTypeRuleRule().getType().getClassifier())) {
288
					type = AssignmentType.PARSER_RULE_CALL;
289
					element = grammarAccess.getParameterRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0();
290
					consumed = obj;
291
					return param;
292
				}
293
			}
294
			return null;
295
		}
296
320
297
		@Override
321
    @Override	
298
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
322
	public IEObjectConsumer tryConsume() {
299
			if(value == inst.getEObject() && !inst.isConsumed())
323
		if((value = eObjectConsumer.getConsumable("multiplicity",false)) == null) return null;
300
				return null;
324
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("multiplicity");
301
			switch(index) {
325
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
302
			case 0:
326
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
303
				return new ParameterRule_ColonKeyword_3(lastRuleCallOrigin, next, actIndex, consumed);
327
			if(param.isInstanceOf(grammarAccess.getMultiplicityRuleRule().getType().getClassifier())) {
304
			default:
328
				type = AssignmentType.PARSER_RULE_CALL;
305
				return null;
329
				element = grammarAccess.getParameterRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0(); 
330
				consumed = obj;
331
				return param;
306
			}
332
			}
307
		}
333
		}
334
		return null;
308
	}
335
	}
309
336
310
	// "<Undefined>"
337
    @Override
311
	protected class ParameterRule_UndefinedKeyword_4_1 extends KeywordToken {
338
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
339
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
340
		switch(index) {
341
			case 0: return new ParameterRule_Alternatives_4(lastRuleCallOrigin, next, actIndex, consumed);
342
			default: return null;
343
		}	
344
	}	
345
}
312
346
313
		public ParameterRule_UndefinedKeyword_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
347
// modifiers=ModifiersRule?
314
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
348
protected class ParameterRule_ModifiersAssignment_6 extends AssignmentToken  {
315
		}
349
	
350
	public ParameterRule_ModifiersAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
351
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
352
	}
353
	
354
	@Override
355
	public Assignment getGrammarElement() {
356
		return grammarAccess.getParameterRuleAccess().getModifiersAssignment_6();
357
	}
316
358
317
		@Override
359
    @Override
318
		public Keyword getGrammarElement() {
360
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
319
			return grammarAccess.getParameterRuleAccess().getUndefinedKeyword_4_1();
361
		switch(index) {
320
		}
362
			case 0: return new ModifiersRule_Group(this, this, 0, inst);
363
			default: return null;
364
		}	
365
	}
321
366
322
		@Override
367
    @Override	
323
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
368
	public IEObjectConsumer tryConsume() {
324
			switch(index) {
369
		if((value = eObjectConsumer.getConsumable("modifiers",false)) == null) return null;
325
			case 0:
370
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("modifiers");
326
				return new ParameterRule_ColonKeyword_3(lastRuleCallOrigin, this, 0, inst);
371
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
327
			default:
372
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
328
				return null;
373
			if(param.isInstanceOf(grammarAccess.getModifiersRuleRule().getType().getClassifier())) {
374
				type = AssignmentType.PARSER_RULE_CALL;
375
				element = grammarAccess.getParameterRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0(); 
376
				consumed = obj;
377
				return param;
329
			}
378
			}
330
		}
379
		}
331
380
		return null;
332
	}
381
	}
333
382
334
383
    @Override
335
	// multiplicity=MultiplicityRule?
384
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
336
	protected class ParameterRule_MultiplicityAssignment_5 extends AssignmentToken {
385
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
337
386
		switch(index) {
338
		public ParameterRule_MultiplicityAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
387
			case 0: return new ParameterRule_MultiplicityAssignment_5(lastRuleCallOrigin, next, actIndex, consumed);
339
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
388
			case 1: return new ParameterRule_Alternatives_4(lastRuleCallOrigin, next, actIndex, consumed);
340
		}
389
			default: return null;
341
390
		}	
342
		@Override
391
	}	
343
		public Assignment getGrammarElement() {
392
}
344
			return grammarAccess.getParameterRuleAccess().getMultiplicityAssignment_5();
345
		}
346
393
347
		@Override
394
// effect=EffectRule
348
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
395
protected class ParameterRule_EffectAssignment_7 extends AssignmentToken  {
349
			switch(index) {
396
	
350
			case 0:
397
	public ParameterRule_EffectAssignment_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
351
				return new MultiplicityRule_Group(this, this, 0, inst);
398
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
352
			default:
399
	}
353
				return null;
400
	
354
			}
401
	@Override
355
		}
402
	public Assignment getGrammarElement() {
403
		return grammarAccess.getParameterRuleAccess().getEffectAssignment_7();
404
	}
356
405
357
		@Override
406
    @Override
358
		public IEObjectConsumer tryConsume() {
407
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
359
			if((value = eObjectConsumer.getConsumable("multiplicity", false)) == null)
408
		switch(index) {
360
				return null;
409
			case 0: return new EffectRule_Group(this, this, 0, inst);
361
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("multiplicity");
410
			default: return null;
362
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
411
		}	
363
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
412
	}
364
				if(param.isInstanceOf(grammarAccess.getMultiplicityRuleRule().getType().getClassifier())) {
365
					type = AssignmentType.PARSER_RULE_CALL;
366
					element = grammarAccess.getParameterRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0();
367
					consumed = obj;
368
					return param;
369
				}
370
			}
371
			return null;
372
		}
373
413
374
		@Override
414
    @Override	
375
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
415
	public IEObjectConsumer tryConsume() {
376
			if(value == inst.getEObject() && !inst.isConsumed())
416
		if((value = eObjectConsumer.getConsumable("effect",true)) == null) return null;
377
				return null;
417
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("effect");
378
			switch(index) {
418
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
379
			case 0:
419
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
380
				return new ParameterRule_Alternatives_4(lastRuleCallOrigin, next, actIndex, consumed);
420
			if(param.isInstanceOf(grammarAccess.getEffectRuleRule().getType().getClassifier())) {
381
			default:
421
				type = AssignmentType.PARSER_RULE_CALL;
382
				return null;
422
				element = grammarAccess.getParameterRuleAccess().getEffectEffectRuleParserRuleCall_7_0(); 
423
				consumed = obj;
424
				return param;
383
			}
425
			}
384
		}
426
		}
427
		return null;
385
	}
428
	}
386
429
387
	// modifiers=ModifiersRule?
430
    @Override
388
	protected class ParameterRule_ModifiersAssignment_6 extends AssignmentToken {
431
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
432
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
433
		switch(index) {
434
			case 0: return new ParameterRule_ModifiersAssignment_6(lastRuleCallOrigin, next, actIndex, consumed);
435
			case 1: return new ParameterRule_MultiplicityAssignment_5(lastRuleCallOrigin, next, actIndex, consumed);
436
			case 2: return new ParameterRule_Alternatives_4(lastRuleCallOrigin, next, actIndex, consumed);
437
			default: return null;
438
		}	
439
	}	
440
}
389
441
390
		public ParameterRule_ModifiersAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
391
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
392
		}
393
442
394
		@Override
443
/************ end Rule ParameterRule ****************/
395
		public Assignment getGrammarElement() {
396
			return grammarAccess.getParameterRuleAccess().getModifiersAssignment_6();
397
		}
398
444
399
		@Override
400
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
401
			switch(index) {
402
			case 0:
403
				return new ModifiersRule_Group(this, this, 0, inst);
404
			default:
405
				return null;
406
			}
407
		}
408
445
409
		@Override
446
/************ begin Rule ModifiersRule ****************
410
		public IEObjectConsumer tryConsume() {
447
 *
411
			if((value = eObjectConsumer.getConsumable("modifiers", false)) == null)
448
 * ModifiersRule:
412
				return null;
449
 * 	"{" values+=ModifierSpecification ("," values+=ModifierSpecification)* "}";
413
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("modifiers");
450
 *
414
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
451
 **/
415
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
416
				if(param.isInstanceOf(grammarAccess.getModifiersRuleRule().getType().getClassifier())) {
417
					type = AssignmentType.PARSER_RULE_CALL;
418
					element = grammarAccess.getParameterRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0();
419
					consumed = obj;
420
					return param;
421
				}
422
			}
423
			return null;
424
		}
425
452
426
		@Override
453
// "{" values+=ModifierSpecification ("," values+=ModifierSpecification)* "}"
427
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
454
protected class ModifiersRule_Group extends GroupToken {
428
			if(value == inst.getEObject() && !inst.isConsumed())
455
	
429
				return null;
456
	public ModifiersRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
430
			switch(index) {
457
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
431
			case 0:
432
				return new ParameterRule_MultiplicityAssignment_5(lastRuleCallOrigin, next, actIndex, consumed);
433
			case 1:
434
				return new ParameterRule_Alternatives_4(lastRuleCallOrigin, next, actIndex, consumed);
435
			default:
436
				return null;
437
			}
438
		}
439
	}
458
	}
440
459
	
441
	// effect=EffectRule
460
	@Override
442
	protected class ParameterRule_EffectAssignment_7 extends AssignmentToken {
461
	public Group getGrammarElement() {
443
462
		return grammarAccess.getModifiersRuleAccess().getGroup();
444
		public ParameterRule_EffectAssignment_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
463
	}
445
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
446
		}
447
448
		@Override
449
		public Assignment getGrammarElement() {
450
			return grammarAccess.getParameterRuleAccess().getEffectAssignment_7();
451
		}
452
464
453
		@Override
465
    @Override
454
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
466
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
455
			switch(index) {
467
		switch(index) {
456
			case 0:
468
			case 0: return new ModifiersRule_RightCurlyBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
457
				return new EffectRule_Group(this, this, 0, inst);
469
			default: return null;
458
			default:
470
		}	
459
				return null;
471
	}
460
			}
461
		}
462
472
463
		@Override
473
    @Override
464
		public IEObjectConsumer tryConsume() {
474
	public IEObjectConsumer tryConsume() {
465
			if((value = eObjectConsumer.getConsumable("effect", true)) == null)
475
		if(getEObject().eClass() != grammarAccess.getModifiersRuleRule().getType().getClassifier())
466
				return null;
467
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("effect");
468
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
469
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
470
				if(param.isInstanceOf(grammarAccess.getEffectRuleRule().getType().getClassifier())) {
471
					type = AssignmentType.PARSER_RULE_CALL;
472
					element = grammarAccess.getParameterRuleAccess().getEffectEffectRuleParserRuleCall_7_0();
473
					consumed = obj;
474
					return param;
475
				}
476
			}
477
			return null;
476
			return null;
478
		}
477
		return eObjectConsumer;
479
480
		@Override
481
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
482
			if(value == inst.getEObject() && !inst.isConsumed())
483
				return null;
484
			switch(index) {
485
			case 0:
486
				return new ParameterRule_ModifiersAssignment_6(lastRuleCallOrigin, next, actIndex, consumed);
487
			case 1:
488
				return new ParameterRule_MultiplicityAssignment_5(lastRuleCallOrigin, next, actIndex, consumed);
489
			case 2:
490
				return new ParameterRule_Alternatives_4(lastRuleCallOrigin, next, actIndex, consumed);
491
			default:
492
				return null;
493
			}
494
		}
495
	}
478
	}
496
479
497
480
}
498
	/************ end Rule ParameterRule ****************/
499
500
501
	/************
502
	 * begin Rule ModifiersRule ****************
503
	 * 
504
	 * ModifiersRule:
505
	 * "{" values+=ModifierSpecification ("," values+=ModifierSpecification)* "}";
506
	 * 
507
	 **/
508
509
	// "{" values+=ModifierSpecification ("," values+=ModifierSpecification)* "}"
510
	protected class ModifiersRule_Group extends GroupToken {
511
512
		public ModifiersRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
513
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
514
		}
515
516
		@Override
517
		public Group getGrammarElement() {
518
			return grammarAccess.getModifiersRuleAccess().getGroup();
519
		}
520
521
		@Override
522
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
523
			switch(index) {
524
			case 0:
525
				return new ModifiersRule_RightCurlyBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
526
			default:
527
				return null;
528
			}
529
		}
530
481
531
		@Override
482
// "{"
532
		public IEObjectConsumer tryConsume() {
483
protected class ModifiersRule_LeftCurlyBracketKeyword_0 extends KeywordToken  {
533
			if(getEObject().eClass() != grammarAccess.getModifiersRuleRule().getType().getClassifier())
484
	
534
				return null;
485
	public ModifiersRule_LeftCurlyBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
535
			return eObjectConsumer;
486
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
536
		}
487
	}
488
	
489
	@Override
490
	public Keyword getGrammarElement() {
491
		return grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0();
492
	}
537
493
494
    @Override
495
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
496
		switch(index) {
497
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
498
		}	
538
	}
499
	}
539
500
540
	// "{"
501
}
541
	protected class ModifiersRule_LeftCurlyBracketKeyword_0 extends KeywordToken {
542
502
543
		public ModifiersRule_LeftCurlyBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
503
// values+=ModifierSpecification
544
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
504
protected class ModifiersRule_ValuesAssignment_1 extends AssignmentToken  {
545
		}
505
	
506
	public ModifiersRule_ValuesAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
507
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
508
	}
509
	
510
	@Override
511
	public Assignment getGrammarElement() {
512
		return grammarAccess.getModifiersRuleAccess().getValuesAssignment_1();
513
	}
546
514
547
		@Override
515
    @Override
548
		public Keyword getGrammarElement() {
516
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
549
			return grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0();
517
		switch(index) {
550
		}
518
			case 0: return new ModifierSpecification_ValueAssignment(this, this, 0, inst);
519
			default: return null;
520
		}	
521
	}
551
522
552
		@Override
523
    @Override	
553
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
524
	public IEObjectConsumer tryConsume() {
554
			switch(index) {
525
		if((value = eObjectConsumer.getConsumable("values",true)) == null) return null;
555
			default:
526
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("values");
556
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
527
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
528
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
529
			if(param.isInstanceOf(grammarAccess.getModifierSpecificationRule().getType().getClassifier())) {
530
				type = AssignmentType.PARSER_RULE_CALL;
531
				element = grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0(); 
532
				consumed = obj;
533
				return param;
557
			}
534
			}
558
		}
535
		}
559
536
		return null;
560
	}
537
	}
561
538
562
	// values+=ModifierSpecification
539
    @Override
563
	protected class ModifiersRule_ValuesAssignment_1 extends AssignmentToken {
540
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
541
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
542
		switch(index) {
543
			case 0: return new ModifiersRule_LeftCurlyBracketKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
544
			default: return null;
545
		}	
546
	}	
547
}
564
548
565
		public ModifiersRule_ValuesAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
549
// ("," values+=ModifierSpecification)*
566
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
550
protected class ModifiersRule_Group_2 extends GroupToken {
567
		}
551
	
552
	public ModifiersRule_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
553
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
554
	}
555
	
556
	@Override
557
	public Group getGrammarElement() {
558
		return grammarAccess.getModifiersRuleAccess().getGroup_2();
559
	}
568
560
569
		@Override
561
    @Override
570
		public Assignment getGrammarElement() {
562
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
571
			return grammarAccess.getModifiersRuleAccess().getValuesAssignment_1();
563
		switch(index) {
572
		}
564
			case 0: return new ModifiersRule_ValuesAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
565
			default: return null;
566
		}	
567
	}
573
568
574
		@Override
569
}
575
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
576
			switch(index) {
577
			case 0:
578
				return new ModifierSpecification_ValueAssignment(this, this, 0, inst);
579
			default:
580
				return null;
581
			}
582
		}
583
570
584
		@Override
571
// ","
585
		public IEObjectConsumer tryConsume() {
572
protected class ModifiersRule_CommaKeyword_2_0 extends KeywordToken  {
586
			if((value = eObjectConsumer.getConsumable("values", true)) == null)
573
	
587
				return null;
574
	public ModifiersRule_CommaKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
588
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("values");
575
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
589
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
576
	}
590
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
577
	
591
				if(param.isInstanceOf(grammarAccess.getModifierSpecificationRule().getType().getClassifier())) {
578
	@Override
592
					type = AssignmentType.PARSER_RULE_CALL;
579
	public Keyword getGrammarElement() {
593
					element = grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0();
580
		return grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0();
594
					consumed = obj;
581
	}
595
					return param;
596
				}
597
			}
598
			return null;
599
		}
600
582
601
		@Override
583
    @Override
602
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
584
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
603
			if(value == inst.getEObject() && !inst.isConsumed())
585
		switch(index) {
604
				return null;
586
			case 0: return new ModifiersRule_Group_2(lastRuleCallOrigin, this, 0, inst);
605
			switch(index) {
587
			case 1: return new ModifiersRule_ValuesAssignment_1(lastRuleCallOrigin, this, 1, inst);
606
			case 0:
588
			default: return null;
607
				return new ModifiersRule_LeftCurlyBracketKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
589
		}	
608
			default:
609
				return null;
610
			}
611
		}
612
	}
590
	}
613
591
614
	// ("," values+=ModifierSpecification)*
592
}
615
	protected class ModifiersRule_Group_2 extends GroupToken {
616
593
617
		public ModifiersRule_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
594
// values+=ModifierSpecification
618
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
595
protected class ModifiersRule_ValuesAssignment_2_1 extends AssignmentToken  {
619
		}
596
	
597
	public ModifiersRule_ValuesAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
598
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
599
	}
600
	
601
	@Override
602
	public Assignment getGrammarElement() {
603
		return grammarAccess.getModifiersRuleAccess().getValuesAssignment_2_1();
604
	}
620
605
621
		@Override
606
    @Override
622
		public Group getGrammarElement() {
607
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
623
			return grammarAccess.getModifiersRuleAccess().getGroup_2();
608
		switch(index) {
624
		}
609
			case 0: return new ModifierSpecification_ValueAssignment(this, this, 0, inst);
610
			default: return null;
611
		}	
612
	}
625
613
626
		@Override
614
    @Override	
627
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
615
	public IEObjectConsumer tryConsume() {
628
			switch(index) {
616
		if((value = eObjectConsumer.getConsumable("values",false)) == null) return null;
629
			case 0:
617
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("values");
630
				return new ModifiersRule_ValuesAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
618
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
631
			default:
619
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
632
				return null;
620
			if(param.isInstanceOf(grammarAccess.getModifierSpecificationRule().getType().getClassifier())) {
621
				type = AssignmentType.PARSER_RULE_CALL;
622
				element = grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0(); 
623
				consumed = obj;
624
				return param;
633
			}
625
			}
634
		}
626
		}
635
627
		return null;
636
	}
628
	}
637
629
638
	// ","
630
    @Override
639
	protected class ModifiersRule_CommaKeyword_2_0 extends KeywordToken {
631
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
640
632
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
641
		public ModifiersRule_CommaKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
633
		switch(index) {
642
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
634
			case 0: return new ModifiersRule_CommaKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
643
		}
635
			default: return null;
636
		}	
637
	}	
638
}
644
639
645
		@Override
646
		public Keyword getGrammarElement() {
647
			return grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0();
648
		}
649
640
650
		@Override
641
// "}"
651
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
642
protected class ModifiersRule_RightCurlyBracketKeyword_3 extends KeywordToken  {
652
			switch(index) {
643
	
653
			case 0:
644
	public ModifiersRule_RightCurlyBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
654
				return new ModifiersRule_Group_2(lastRuleCallOrigin, this, 0, inst);
645
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
655
			case 1:
646
	}
656
				return new ModifiersRule_ValuesAssignment_1(lastRuleCallOrigin, this, 1, inst);
647
	
657
			default:
648
	@Override
658
				return null;
649
	public Keyword getGrammarElement() {
659
			}
650
		return grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3();
660
		}
651
	}
661
652
653
    @Override
654
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
655
		switch(index) {
656
			case 0: return new ModifiersRule_Group_2(lastRuleCallOrigin, this, 0, inst);
657
			case 1: return new ModifiersRule_ValuesAssignment_1(lastRuleCallOrigin, this, 1, inst);
658
			default: return null;
659
		}	
662
	}
660
	}
663
661
664
	// values+=ModifierSpecification
662
}
665
	protected class ModifiersRule_ValuesAssignment_2_1 extends AssignmentToken {
666
663
667
		public ModifiersRule_ValuesAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
668
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
669
		}
670
664
671
		@Override
665
/************ end Rule ModifiersRule ****************/
672
		public Assignment getGrammarElement() {
673
			return grammarAccess.getModifiersRuleAccess().getValuesAssignment_2_1();
674
		}
675
666
676
		@Override
677
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
678
			switch(index) {
679
			case 0:
680
				return new ModifierSpecification_ValueAssignment(this, this, 0, inst);
681
			default:
682
				return null;
683
			}
684
		}
685
667
686
		@Override
668
/************ begin Rule ModifierSpecification ****************
687
		public IEObjectConsumer tryConsume() {
669
 *
688
			if((value = eObjectConsumer.getConsumable("values", false)) == null)
670
 * ModifierSpecification:
689
				return null;
671
 * 	value=ModifierKind;
690
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("values");
672
 *
691
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
673
 **/
692
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
693
				if(param.isInstanceOf(grammarAccess.getModifierSpecificationRule().getType().getClassifier())) {
694
					type = AssignmentType.PARSER_RULE_CALL;
695
					element = grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0();
696
					consumed = obj;
697
					return param;
698
				}
699
			}
700
			return null;
701
		}
702
674
703
		@Override
675
// value=ModifierKind
704
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
676
protected class ModifierSpecification_ValueAssignment extends AssignmentToken  {
705
			if(value == inst.getEObject() && !inst.isConsumed())
677
	
706
				return null;
678
	public ModifierSpecification_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
707
			switch(index) {
679
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
708
			case 0:
709
				return new ModifiersRule_CommaKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
710
			default:
711
				return null;
712
			}
713
		}
714
	}
680
	}
715
681
	
716
682
	@Override
717
	// "}"
683
	public Assignment getGrammarElement() {
718
	protected class ModifiersRule_RightCurlyBracketKeyword_3 extends KeywordToken {
684
		return grammarAccess.getModifierSpecificationAccess().getValueAssignment();
719
685
	}
720
		public ModifiersRule_RightCurlyBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
721
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
722
		}
723
686
724
		@Override
687
    @Override
725
		public Keyword getGrammarElement() {
688
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
726
			return grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3();
689
		switch(index) {
727
		}
690
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
691
		}	
692
	}
728
693
729
		@Override
694
    @Override	
730
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
695
	public IEObjectConsumer tryConsume() {
731
			switch(index) {
696
		if(getEObject().eClass() != grammarAccess.getModifierSpecificationRule().getType().getClassifier())
732
			case 0:
697
			return null;
733
				return new ModifiersRule_Group_2(lastRuleCallOrigin, this, 0, inst);
698
		if((value = eObjectConsumer.getConsumable("value",true)) == null) return null;
734
			case 1:
699
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
735
				return new ModifiersRule_ValuesAssignment_1(lastRuleCallOrigin, this, 1, inst);
700
		if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0(), value, null)) { 
736
			default:
701
			type = AssignmentType.ENUM_RULE_CALL;
737
				return null;
702
			element = grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0();
738
			}
703
			return obj;
739
		}
704
		}
740
705
		return null;
741
	}
706
	}
742
707
743
708
}
744
	/************ end Rule ModifiersRule ****************/
745
746
709
747
	/************
710
/************ end Rule ModifierSpecification ****************/
748
	 * begin Rule ModifierSpecification ****************
749
	 * 
750
	 * ModifierSpecification:
751
	 * value=ModifierKind;
752
	 * 
753
	 **/
754
711
755
	// value=ModifierKind
756
	protected class ModifierSpecification_ValueAssignment extends AssignmentToken {
757
712
758
		public ModifierSpecification_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
713
/************ begin Rule EffectRule ****************
759
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
714
 *
760
		}
715
 * EffectRule:
716
 * 	"{" "effect: " effectKind=EffectKind "}";
717
 *
718
 **/
761
719
762
		@Override
720
// "{" "effect: " effectKind=EffectKind "}"
763
		public Assignment getGrammarElement() {
721
protected class EffectRule_Group extends GroupToken {
764
			return grammarAccess.getModifierSpecificationAccess().getValueAssignment();
722
	
765
		}
723
	public EffectRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
724
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
725
	}
726
	
727
	@Override
728
	public Group getGrammarElement() {
729
		return grammarAccess.getEffectRuleAccess().getGroup();
730
	}
766
731
767
		@Override
732
    @Override
768
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
733
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
769
			switch(index) {
734
		switch(index) {
770
			default:
735
			case 0: return new EffectRule_RightCurlyBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
771
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
736
			default: return null;
772
			}
737
		}	
773
		}
738
	}
774
739
775
		@Override
740
    @Override
776
		public IEObjectConsumer tryConsume() {
741
	public IEObjectConsumer tryConsume() {
777
			if(getEObject().eClass() != grammarAccess.getModifierSpecificationRule().getType().getClassifier())
742
		if(getEObject().eClass() != grammarAccess.getEffectRuleRule().getType().getClassifier())
778
				return null;
779
			if((value = eObjectConsumer.getConsumable("value", true)) == null)
780
				return null;
781
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
782
			if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0(), value, null)) {
783
				type = AssignmentType.ENUM_RULE_CALL;
784
				element = grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0();
785
				return obj;
786
			}
787
			return null;
743
			return null;
788
		}
744
		return eObjectConsumer;
789
790
	}
745
	}
791
746
792
	/************ end Rule ModifierSpecification ****************/
747
}
793
794
748
795
	/************
749
// "{"
796
	 * begin Rule EffectRule ****************
750
protected class EffectRule_LeftCurlyBracketKeyword_0 extends KeywordToken  {
797
	 * 
751
	
798
	 * EffectRule:
752
	public EffectRule_LeftCurlyBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
799
	 * "{" "effect: " effectKind=EffectKind "}";
753
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
800
	 * 
754
	}
801
	 **/
755
	
756
	@Override
757
	public Keyword getGrammarElement() {
758
		return grammarAccess.getEffectRuleAccess().getLeftCurlyBracketKeyword_0();
759
	}
802
760
803
	// "{" "effect: " effectKind=EffectKind "}"
761
    @Override
804
	protected class EffectRule_Group extends GroupToken {
762
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
763
		switch(index) {
764
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
765
		}	
766
	}
805
767
806
		public EffectRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
768
}
807
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
808
		}
809
769
810
		@Override
770
// "effect: "
811
		public Group getGrammarElement() {
771
protected class EffectRule_EffectKeyword_1 extends KeywordToken  {
812
			return grammarAccess.getEffectRuleAccess().getGroup();
772
	
813
		}
773
	public EffectRule_EffectKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
774
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
775
	}
776
	
777
	@Override
778
	public Keyword getGrammarElement() {
779
		return grammarAccess.getEffectRuleAccess().getEffectKeyword_1();
780
	}
814
781
815
		@Override
782
    @Override
816
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
783
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
817
			switch(index) {
784
		switch(index) {
818
			case 0:
785
			case 0: return new EffectRule_LeftCurlyBracketKeyword_0(lastRuleCallOrigin, this, 0, inst);
819
				return new EffectRule_RightCurlyBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
786
			default: return null;
820
			default:
787
		}	
821
				return null;
788
	}
822
			}
823
		}
824
789
825
		@Override
790
}
826
		public IEObjectConsumer tryConsume() {
827
			if(getEObject().eClass() != grammarAccess.getEffectRuleRule().getType().getClassifier())
828
				return null;
829
			return eObjectConsumer;
830
		}
831
791
792
// effectKind=EffectKind
793
protected class EffectRule_EffectKindAssignment_2 extends AssignmentToken  {
794
	
795
	public EffectRule_EffectKindAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
796
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
832
	}
797
	}
833
798
	
834
	// "{"
799
	@Override
835
	protected class EffectRule_LeftCurlyBracketKeyword_0 extends KeywordToken {
800
	public Assignment getGrammarElement() {
801
		return grammarAccess.getEffectRuleAccess().getEffectKindAssignment_2();
802
	}
836
803
837
		public EffectRule_LeftCurlyBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
804
    @Override
838
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
805
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
839
		}
806
		switch(index) {
807
			case 0: return new EffectRule_EffectKeyword_1(lastRuleCallOrigin, this, 0, inst);
808
			default: return null;
809
		}	
810
	}
840
811
841
		@Override
812
    @Override	
842
		public Keyword getGrammarElement() {
813
	public IEObjectConsumer tryConsume() {
843
			return grammarAccess.getEffectRuleAccess().getLeftCurlyBracketKeyword_0();
814
		if((value = eObjectConsumer.getConsumable("effectKind",true)) == null) return null;
815
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("effectKind");
816
		if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getEffectRuleAccess().getEffectKindEffectKindEnumRuleCall_2_0(), value, null)) { 
817
			type = AssignmentType.ENUM_RULE_CALL;
818
			element = grammarAccess.getEffectRuleAccess().getEffectKindEffectKindEnumRuleCall_2_0();
819
			return obj;
844
		}
820
		}
821
		return null;
822
	}
845
823
846
		@Override
824
}
847
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
848
			switch(index) {
849
			default:
850
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
851
			}
852
		}
853
825
826
// "}"
827
protected class EffectRule_RightCurlyBracketKeyword_3 extends KeywordToken  {
828
	
829
	public EffectRule_RightCurlyBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
830
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
854
	}
831
	}
855
832
	
856
	// "effect: "
833
	@Override
857
	protected class EffectRule_EffectKeyword_1 extends KeywordToken {
834
	public Keyword getGrammarElement() {
835
		return grammarAccess.getEffectRuleAccess().getRightCurlyBracketKeyword_3();
836
	}
858
837
859
		public EffectRule_EffectKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
838
    @Override
860
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
839
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
861
		}
840
		switch(index) {
841
			case 0: return new EffectRule_EffectKindAssignment_2(lastRuleCallOrigin, this, 0, inst);
842
			default: return null;
843
		}	
844
	}
862
845
863
		@Override
846
}
864
		public Keyword getGrammarElement() {
865
			return grammarAccess.getEffectRuleAccess().getEffectKeyword_1();
866
		}
867
847
868
		@Override
869
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
870
			switch(index) {
871
			case 0:
872
				return new EffectRule_LeftCurlyBracketKeyword_0(lastRuleCallOrigin, this, 0, inst);
873
			default:
874
				return null;
875
			}
876
		}
877
848
878
	}
849
/************ end Rule EffectRule ****************/
879
850
880
	// effectKind=EffectKind
881
	protected class EffectRule_EffectKindAssignment_2 extends AssignmentToken {
882
851
883
		public EffectRule_EffectKindAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
852
/************ begin Rule QualifiedName ****************
884
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
853
 *
885
		}
854
 * QualifiedName:
855
 * 	path=[uml::Namespace] "::" remaining=QualifiedName?;
856
 *
857
 **/
886
858
887
		@Override
859
// path=[uml::Namespace] "::" remaining=QualifiedName?
888
		public Assignment getGrammarElement() {
860
protected class QualifiedName_Group extends GroupToken {
889
			return grammarAccess.getEffectRuleAccess().getEffectKindAssignment_2();
861
	
890
		}
862
	public QualifiedName_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
863
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
864
	}
865
	
866
	@Override
867
	public Group getGrammarElement() {
868
		return grammarAccess.getQualifiedNameAccess().getGroup();
869
	}
891
870
892
		@Override
871
    @Override
893
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
872
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
894
			switch(index) {
873
		switch(index) {
895
			case 0:
874
			case 0: return new QualifiedName_RemainingAssignment_2(lastRuleCallOrigin, this, 0, inst);
896
				return new EffectRule_EffectKeyword_1(lastRuleCallOrigin, this, 0, inst);
875
			case 1: return new QualifiedName_ColonColonKeyword_1(lastRuleCallOrigin, this, 1, inst);
897
			default:
876
			default: return null;
898
				return null;
877
		}	
899
			}
878
	}
900
		}
901
879
902
		@Override
880
    @Override
903
		public IEObjectConsumer tryConsume() {
881
	public IEObjectConsumer tryConsume() {
904
			if((value = eObjectConsumer.getConsumable("effectKind", true)) == null)
882
		if(getEObject().eClass() != grammarAccess.getQualifiedNameRule().getType().getClassifier())
905
				return null;
906
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("effectKind");
907
			if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getEffectRuleAccess().getEffectKindEffectKindEnumRuleCall_2_0(), value, null)) {
908
				type = AssignmentType.ENUM_RULE_CALL;
909
				element = grammarAccess.getEffectRuleAccess().getEffectKindEffectKindEnumRuleCall_2_0();
910
				return obj;
911
			}
912
			return null;
883
			return null;
913
		}
884
		return eObjectConsumer;
914
915
	}
885
	}
916
886
917
	// "}"
887
}
918
	protected class EffectRule_RightCurlyBracketKeyword_3 extends KeywordToken {
919
888
920
		public EffectRule_RightCurlyBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
889
// path=[uml::Namespace]
921
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
890
protected class QualifiedName_PathAssignment_0 extends AssignmentToken  {
922
		}
891
	
892
	public QualifiedName_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
893
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
894
	}
895
	
896
	@Override
897
	public Assignment getGrammarElement() {
898
		return grammarAccess.getQualifiedNameAccess().getPathAssignment_0();
899
	}
923
900
924
		@Override
901
    @Override
925
		public Keyword getGrammarElement() {
902
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
926
			return grammarAccess.getEffectRuleAccess().getRightCurlyBracketKeyword_3();
903
		switch(index) {
927
		}
904
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
905
		}	
906
	}
928
907
929
		@Override
908
    @Override	
930
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
909
	public IEObjectConsumer tryConsume() {
931
			switch(index) {
910
		if((value = eObjectConsumer.getConsumable("path",true)) == null) return null;
932
			case 0:
911
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
933
				return new EffectRule_EffectKindAssignment_2(lastRuleCallOrigin, this, 0, inst);
912
		if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
934
			default:
913
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
935
				return null;
914
			if(param.isInstanceOf(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0().getType().getClassifier())) {
915
				type = AssignmentType.CROSS_REFERENCE;
916
				element = grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(); 
917
				return obj;
936
			}
918
			}
937
		}
919
		}
938
920
		return null;
939
	}
921
	}
940
922
941
923
}
942
	/************ end Rule EffectRule ****************/
943
924
925
// "::"
926
protected class QualifiedName_ColonColonKeyword_1 extends KeywordToken  {
927
	
928
	public QualifiedName_ColonColonKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
929
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
930
	}
931
	
932
	@Override
933
	public Keyword getGrammarElement() {
934
		return grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1();
935
	}
944
936
945
	/************
937
    @Override
946
	 * begin Rule QualifiedName ****************
938
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
947
	 * 
939
		switch(index) {
948
	 * QualifiedName:
940
			case 0: return new QualifiedName_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
949
	 * path=[uml::Namespace] "::" remaining=QualifiedName?;
941
			default: return null;
950
	 * 
942
		}	
951
	 **/
943
	}
952
944
953
	// path=[uml::Namespace] "::" remaining=QualifiedName?
945
}
954
	protected class QualifiedName_Group extends GroupToken {
955
946
956
		public QualifiedName_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
947
// remaining=QualifiedName?
957
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
948
protected class QualifiedName_RemainingAssignment_2 extends AssignmentToken  {
958
		}
949
	
950
	public QualifiedName_RemainingAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
951
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
952
	}
953
	
954
	@Override
955
	public Assignment getGrammarElement() {
956
		return grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2();
957
	}
959
958
960
		@Override
959
    @Override
961
		public Group getGrammarElement() {
960
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
962
			return grammarAccess.getQualifiedNameAccess().getGroup();
961
		switch(index) {
963
		}
962
			case 0: return new QualifiedName_Group(this, this, 0, inst);
963
			default: return null;
964
		}	
965
	}
964
966
965
		@Override
967
    @Override	
966
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
968
	public IEObjectConsumer tryConsume() {
967
			switch(index) {
969
		if((value = eObjectConsumer.getConsumable("remaining",false)) == null) return null;
968
			case 0:
970
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("remaining");
969
				return new QualifiedName_RemainingAssignment_2(lastRuleCallOrigin, this, 0, inst);
971
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
970
			case 1:
972
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
971
				return new QualifiedName_ColonColonKeyword_1(lastRuleCallOrigin, this, 1, inst);
973
			if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
972
			default:
974
				type = AssignmentType.PARSER_RULE_CALL;
973
				return null;
975
				element = grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(); 
976
				consumed = obj;
977
				return param;
974
			}
978
			}
975
		}
979
		}
976
980
		return null;
977
		@Override
978
		public IEObjectConsumer tryConsume() {
979
			if(getEObject().eClass() != grammarAccess.getQualifiedNameRule().getType().getClassifier())
980
				return null;
981
			return eObjectConsumer;
982
		}
983
984
	}
981
	}
985
982
986
	// path=[uml::Namespace]
983
    @Override
987
	protected class QualifiedName_PathAssignment_0 extends AssignmentToken {
984
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
985
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
986
		switch(index) {
987
			case 0: return new QualifiedName_ColonColonKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
988
			default: return null;
989
		}	
990
	}	
991
}
988
992
989
		public QualifiedName_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
990
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
991
		}
992
993
993
		@Override
994
/************ end Rule QualifiedName ****************/
994
		public Assignment getGrammarElement() {
995
			return grammarAccess.getQualifiedNameAccess().getPathAssignment_0();
996
		}
997
995
998
		@Override
999
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1000
			switch(index) {
1001
			default:
1002
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
1003
			}
1004
		}
1005
996
1006
		@Override
997
/************ begin Rule TypeRule ****************
1007
		public IEObjectConsumer tryConsume() {
998
 *
1008
			if((value = eObjectConsumer.getConsumable("path", true)) == null)
999
 * TypeRule:
1009
				return null;
1000
 * 	path=QualifiedName? type=[uml::Type];
1010
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
1001
 *
1011
			if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
1002
 **/
1012
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
1013
				if(param.isInstanceOf(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0().getType().getClassifier())) {
1014
					type = AssignmentType.CROSS_REFERENCE;
1015
					element = grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0();
1016
					return obj;
1017
				}
1018
			}
1019
			return null;
1020
		}
1021
1003
1004
// path=QualifiedName? type=[uml::Type]
1005
protected class TypeRule_Group extends GroupToken {
1006
	
1007
	public TypeRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1008
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1022
	}
1009
	}
1023
1010
	
1024
	// "::"
1011
	@Override
1025
	protected class QualifiedName_ColonColonKeyword_1 extends KeywordToken {
1012
	public Group getGrammarElement() {
1026
1013
		return grammarAccess.getTypeRuleAccess().getGroup();
1027
		public QualifiedName_ColonColonKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1028
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1029
		}
1030
1031
		@Override
1032
		public Keyword getGrammarElement() {
1033
			return grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1();
1034
		}
1035
1036
		@Override
1037
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1038
			switch(index) {
1039
			case 0:
1040
				return new QualifiedName_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
1041
			default:
1042
				return null;
1043
			}
1044
		}
1045
1046
	}
1014
	}
1047
1015
1048
	// remaining=QualifiedName?
1016
    @Override
1049
	protected class QualifiedName_RemainingAssignment_2 extends AssignmentToken {
1017
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1050
1018
		switch(index) {
1051
		public QualifiedName_RemainingAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1019
			case 0: return new TypeRule_TypeAssignment_1(lastRuleCallOrigin, this, 0, inst);
1052
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1020
			default: return null;
1053
		}
1021
		}	
1054
1022
	}
1055
		@Override
1056
		public Assignment getGrammarElement() {
1057
			return grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2();
1058
		}
1059
1060
		@Override
1061
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1062
			switch(index) {
1063
			case 0:
1064
				return new QualifiedName_Group(this, this, 0, inst);
1065
			default:
1066
				return null;
1067
			}
1068
		}
1069
1023
1070
		@Override
1024
    @Override
1071
		public IEObjectConsumer tryConsume() {
1025
	public IEObjectConsumer tryConsume() {
1072
			if((value = eObjectConsumer.getConsumable("remaining", false)) == null)
1026
		if(getEObject().eClass() != grammarAccess.getTypeRuleRule().getType().getClassifier())
1073
				return null;
1074
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("remaining");
1075
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
1076
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
1077
				if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
1078
					type = AssignmentType.PARSER_RULE_CALL;
1079
					element = grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0();
1080
					consumed = obj;
1081
					return param;
1082
				}
1083
			}
1084
			return null;
1027
			return null;
1085
		}
1028
		return eObjectConsumer;
1086
1087
		@Override
1088
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
1089
			if(value == inst.getEObject() && !inst.isConsumed())
1090
				return null;
1091
			switch(index) {
1092
			case 0:
1093
				return new QualifiedName_ColonColonKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
1094
			default:
1095
				return null;
1096
			}
1097
		}
1098
	}
1029
	}
1099
1030
1100
1031
}
1101
	/************ end Rule QualifiedName ****************/
1102
1103
1104
	/************
1105
	 * begin Rule TypeRule ****************
1106
	 * 
1107
	 * TypeRule:
1108
	 * path=QualifiedName? type=[uml::Type];
1109
	 * 
1110
	 **/
1111
1112
	// path=QualifiedName? type=[uml::Type]
1113
	protected class TypeRule_Group extends GroupToken {
1114
1115
		public TypeRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1116
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1117
		}
1118
1119
		@Override
1120
		public Group getGrammarElement() {
1121
			return grammarAccess.getTypeRuleAccess().getGroup();
1122
		}
1123
1124
		@Override
1125
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1126
			switch(index) {
1127
			case 0:
1128
				return new TypeRule_TypeAssignment_1(lastRuleCallOrigin, this, 0, inst);
1129
			default:
1130
				return null;
1131
			}
1132
		}
1133
1134
		@Override
1135
		public IEObjectConsumer tryConsume() {
1136
			if(getEObject().eClass() != grammarAccess.getTypeRuleRule().getType().getClassifier())
1137
				return null;
1138
			return eObjectConsumer;
1139
		}
1140
1032
1033
// path=QualifiedName?
1034
protected class TypeRule_PathAssignment_0 extends AssignmentToken  {
1035
	
1036
	public TypeRule_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1037
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1141
	}
1038
	}
1142
1039
	
1143
	// path=QualifiedName?
1040
	@Override
1144
	protected class TypeRule_PathAssignment_0 extends AssignmentToken {
1041
	public Assignment getGrammarElement() {
1145
1042
		return grammarAccess.getTypeRuleAccess().getPathAssignment_0();
1146
		public TypeRule_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1043
	}
1147
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1148
		}
1149
1150
		@Override
1151
		public Assignment getGrammarElement() {
1152
			return grammarAccess.getTypeRuleAccess().getPathAssignment_0();
1153
		}
1154
1155
		@Override
1156
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1157
			switch(index) {
1158
			case 0:
1159
				return new QualifiedName_Group(this, this, 0, inst);
1160
			default:
1161
				return null;
1162
			}
1163
		}
1164
1044
1165
		@Override
1045
    @Override
1166
		public IEObjectConsumer tryConsume() {
1046
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1167
			if((value = eObjectConsumer.getConsumable("path", false)) == null)
1047
		switch(index) {
1168
				return null;
1048
			case 0: return new QualifiedName_Group(this, this, 0, inst);
1169
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
1049
			default: return null;
1170
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
1050
		}	
1171
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
1051
	}
1172
				if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
1173
					type = AssignmentType.PARSER_RULE_CALL;
1174
					element = grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0();
1175
					consumed = obj;
1176
					return param;
1177
				}
1178
			}
1179
			return null;
1180
		}
1181
1052
1182
		@Override
1053
    @Override	
1183
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
1054
	public IEObjectConsumer tryConsume() {
1184
			if(value == inst.getEObject() && !inst.isConsumed())
1055
		if((value = eObjectConsumer.getConsumable("path",false)) == null) return null;
1185
				return null;
1056
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
1186
			switch(index) {
1057
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
1187
			default:
1058
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
1188
				return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
1059
			if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
1060
				type = AssignmentType.PARSER_RULE_CALL;
1061
				element = grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0(); 
1062
				consumed = obj;
1063
				return param;
1189
			}
1064
			}
1190
		}
1065
		}
1066
		return null;
1191
	}
1067
	}
1192
1068
1193
	// type=[uml::Type]
1069
    @Override
1194
	protected class TypeRule_TypeAssignment_1 extends AssignmentToken {
1070
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
1195
1071
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
1196
		public TypeRule_TypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1072
		switch(index) {
1197
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1073
			default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed);
1198
		}
1074
		}	
1075
	}	
1076
}
1199
1077
1200
		@Override
1078
// type=[uml::Type]
1201
		public Assignment getGrammarElement() {
1079
protected class TypeRule_TypeAssignment_1 extends AssignmentToken  {
1202
			return grammarAccess.getTypeRuleAccess().getTypeAssignment_1();
1080
	
1203
		}
1081
	public TypeRule_TypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1082
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1083
	}
1084
	
1085
	@Override
1086
	public Assignment getGrammarElement() {
1087
		return grammarAccess.getTypeRuleAccess().getTypeAssignment_1();
1088
	}
1204
1089
1205
		@Override
1090
    @Override
1206
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1091
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1207
			switch(index) {
1092
		switch(index) {
1208
			case 0:
1093
			case 0: return new TypeRule_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
1209
				return new TypeRule_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
1094
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
1210
			default:
1095
		}	
1211
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
1096
	}
1212
			}
1213
		}
1214
1097
1215
		@Override
1098
    @Override	
1216
		public IEObjectConsumer tryConsume() {
1099
	public IEObjectConsumer tryConsume() {
1217
			if((value = eObjectConsumer.getConsumable("type", true)) == null)
1100
		if((value = eObjectConsumer.getConsumable("type",true)) == null) return null;
1218
				return null;
1101
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type");
1219
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type");
1102
		if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
1220
			if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
1103
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
1221
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
1104
			if(param.isInstanceOf(grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0().getType().getClassifier())) {
1222
				if(param.isInstanceOf(grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0().getType().getClassifier())) {
1105
				type = AssignmentType.CROSS_REFERENCE;
1223
					type = AssignmentType.CROSS_REFERENCE;
1106
				element = grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0(); 
1224
					element = grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0();
1107
				return obj;
1225
					return obj;
1226
				}
1227
			}
1108
			}
1228
			return null;
1229
		}
1109
		}
1230
1110
		return null;
1231
	}
1111
	}
1232
1112
1233
1113
}
1234
	/************ end Rule TypeRule ****************/
1235
1114
1236
1115
1237
	/************
1116
/************ end Rule TypeRule ****************/
1238
	 * begin Rule MultiplicityRule ****************
1239
	 * 
1240
	 * MultiplicityRule:
1241
	 * "[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]";
1242
	 * 
1243
	 **/
1244
1117
1245
	// "[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]"
1246
	protected class MultiplicityRule_Group extends GroupToken {
1247
1118
1248
		public MultiplicityRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1119
/************ begin Rule MultiplicityRule ****************
1249
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1120
 *
1250
		}
1121
 * MultiplicityRule:
1122
 * 	"[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]";
1123
 *
1124
 **/
1251
1125
1252
		@Override
1126
// "[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]"
1253
		public Group getGrammarElement() {
1127
protected class MultiplicityRule_Group extends GroupToken {
1254
			return grammarAccess.getMultiplicityRuleAccess().getGroup();
1128
	
1255
		}
1129
	public MultiplicityRule_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1256
1130
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1257
		@Override
1258
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1259
			switch(index) {
1260
			case 0:
1261
				return new MultiplicityRule_RightSquareBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
1262
			default:
1263
				return null;
1264
			}
1265
		}
1266
1267
		@Override
1268
		public IEObjectConsumer tryConsume() {
1269
			if(getEObject().eClass() != grammarAccess.getMultiplicityRuleRule().getType().getClassifier())
1270
				return null;
1271
			return eObjectConsumer;
1272
		}
1273
1274
	}
1131
	}
1275
1132
	
1276
	// "["
1133
	@Override
1277
	protected class MultiplicityRule_LeftSquareBracketKeyword_0 extends KeywordToken {
1134
	public Group getGrammarElement() {
1278
1135
		return grammarAccess.getMultiplicityRuleAccess().getGroup();
1279
		public MultiplicityRule_LeftSquareBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1280
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1281
		}
1282
1283
		@Override
1284
		public Keyword getGrammarElement() {
1285
			return grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0();
1286
		}
1287
1288
		@Override
1289
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1290
			switch(index) {
1291
			default:
1292
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
1293
			}
1294
		}
1295
1296
	}
1136
	}
1297
1137
1298
	// bounds+=BoundSpecification
1138
    @Override
1299
	protected class MultiplicityRule_BoundsAssignment_1 extends AssignmentToken {
1139
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1300
1140
		switch(index) {
1301
		public MultiplicityRule_BoundsAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1141
			case 0: return new MultiplicityRule_RightSquareBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
1302
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1142
			default: return null;
1303
		}
1143
		}	
1144
	}
1304
1145
1305
		@Override
1146
    @Override
1306
		public Assignment getGrammarElement() {
1147
	public IEObjectConsumer tryConsume() {
1307
			return grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1();
1148
		if(getEObject().eClass() != grammarAccess.getMultiplicityRuleRule().getType().getClassifier())
1308
		}
1149
			return null;
1150
		return eObjectConsumer;
1151
	}
1309
1152
1310
		@Override
1153
}
1311
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1312
			switch(index) {
1313
			case 0:
1314
				return new BoundSpecification_ValueAssignment(this, this, 0, inst);
1315
			default:
1316
				return null;
1317
			}
1318
		}
1319
1154
1320
		@Override
1155
// "["
1321
		public IEObjectConsumer tryConsume() {
1156
protected class MultiplicityRule_LeftSquareBracketKeyword_0 extends KeywordToken  {
1322
			if((value = eObjectConsumer.getConsumable("bounds", true)) == null)
1157
	
1323
				return null;
1158
	public MultiplicityRule_LeftSquareBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1324
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("bounds");
1159
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1325
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
1160
	}
1326
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
1161
	
1327
				if(param.isInstanceOf(grammarAccess.getBoundSpecificationRule().getType().getClassifier())) {
1162
	@Override
1328
					type = AssignmentType.PARSER_RULE_CALL;
1163
	public Keyword getGrammarElement() {
1329
					element = grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0();
1164
		return grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0();
1330
					consumed = obj;
1165
	}
1331
					return param;
1332
				}
1333
			}
1334
			return null;
1335
		}
1336
1166
1337
		@Override
1167
    @Override
1338
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
1168
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1339
			if(value == inst.getEObject() && !inst.isConsumed())
1169
		switch(index) {
1340
				return null;
1170
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
1341
			switch(index) {
1171
		}	
1342
			case 0:
1343
				return new MultiplicityRule_LeftSquareBracketKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
1344
			default:
1345
				return null;
1346
			}
1347
		}
1348
	}
1172
	}
1349
1173
1350
	// (".." bounds+=BoundSpecification)?
1174
}
1351
	protected class MultiplicityRule_Group_2 extends GroupToken {
1352
1175
1353
		public MultiplicityRule_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1176
// bounds+=BoundSpecification
1354
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1177
protected class MultiplicityRule_BoundsAssignment_1 extends AssignmentToken  {
1355
		}
1178
	
1179
	public MultiplicityRule_BoundsAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1180
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1181
	}
1182
	
1183
	@Override
1184
	public Assignment getGrammarElement() {
1185
		return grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1();
1186
	}
1356
1187
1357
		@Override
1188
    @Override
1358
		public Group getGrammarElement() {
1189
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1359
			return grammarAccess.getMultiplicityRuleAccess().getGroup_2();
1190
		switch(index) {
1360
		}
1191
			case 0: return new BoundSpecification_ValueAssignment(this, this, 0, inst);
1192
			default: return null;
1193
		}	
1194
	}
1361
1195
1362
		@Override
1196
    @Override	
1363
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1197
	public IEObjectConsumer tryConsume() {
1364
			switch(index) {
1198
		if((value = eObjectConsumer.getConsumable("bounds",true)) == null) return null;
1365
			case 0:
1199
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("bounds");
1366
				return new MultiplicityRule_BoundsAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
1200
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
1367
			default:
1201
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
1368
				return null;
1202
			if(param.isInstanceOf(grammarAccess.getBoundSpecificationRule().getType().getClassifier())) {
1203
				type = AssignmentType.PARSER_RULE_CALL;
1204
				element = grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0(); 
1205
				consumed = obj;
1206
				return param;
1369
			}
1207
			}
1370
		}
1208
		}
1371
1209
		return null;
1372
	}
1210
	}
1373
1211
1374
	// ".."
1212
    @Override
1375
	protected class MultiplicityRule_FullStopFullStopKeyword_2_0 extends KeywordToken {
1213
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
1214
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
1215
		switch(index) {
1216
			case 0: return new MultiplicityRule_LeftSquareBracketKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
1217
			default: return null;
1218
		}	
1219
	}	
1220
}
1376
1221
1377
		public MultiplicityRule_FullStopFullStopKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1222
// (".." bounds+=BoundSpecification)?
1378
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1223
protected class MultiplicityRule_Group_2 extends GroupToken {
1379
		}
1224
	
1225
	public MultiplicityRule_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1226
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1227
	}
1228
	
1229
	@Override
1230
	public Group getGrammarElement() {
1231
		return grammarAccess.getMultiplicityRuleAccess().getGroup_2();
1232
	}
1380
1233
1381
		@Override
1234
    @Override
1382
		public Keyword getGrammarElement() {
1235
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1383
			return grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0();
1236
		switch(index) {
1384
		}
1237
			case 0: return new MultiplicityRule_BoundsAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
1238
			default: return null;
1239
		}	
1240
	}
1385
1241
1386
		@Override
1242
}
1387
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1388
			switch(index) {
1389
			case 0:
1390
				return new MultiplicityRule_BoundsAssignment_1(lastRuleCallOrigin, this, 0, inst);
1391
			default:
1392
				return null;
1393
			}
1394
		}
1395
1243
1244
// ".."
1245
protected class MultiplicityRule_FullStopFullStopKeyword_2_0 extends KeywordToken  {
1246
	
1247
	public MultiplicityRule_FullStopFullStopKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1248
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1396
	}
1249
	}
1397
1250
	
1398
	// bounds+=BoundSpecification
1251
	@Override
1399
	protected class MultiplicityRule_BoundsAssignment_2_1 extends AssignmentToken {
1252
	public Keyword getGrammarElement() {
1253
		return grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0();
1254
	}
1400
1255
1401
		public MultiplicityRule_BoundsAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1256
    @Override
1402
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1257
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1403
		}
1258
		switch(index) {
1259
			case 0: return new MultiplicityRule_BoundsAssignment_1(lastRuleCallOrigin, this, 0, inst);
1260
			default: return null;
1261
		}	
1262
	}
1404
1263
1405
		@Override
1264
}
1406
		public Assignment getGrammarElement() {
1407
			return grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1();
1408
		}
1409
1265
1410
		@Override
1266
// bounds+=BoundSpecification
1411
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1267
protected class MultiplicityRule_BoundsAssignment_2_1 extends AssignmentToken  {
1412
			switch(index) {
1268
	
1413
			case 0:
1269
	public MultiplicityRule_BoundsAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1414
				return new BoundSpecification_ValueAssignment(this, this, 0, inst);
1270
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1415
			default:
1271
	}
1416
				return null;
1272
	
1417
			}
1273
	@Override
1418
		}
1274
	public Assignment getGrammarElement() {
1275
		return grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1();
1276
	}
1419
1277
1420
		@Override
1278
    @Override
1421
		public IEObjectConsumer tryConsume() {
1279
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1422
			if((value = eObjectConsumer.getConsumable("bounds", false)) == null)
1280
		switch(index) {
1423
				return null;
1281
			case 0: return new BoundSpecification_ValueAssignment(this, this, 0, inst);
1424
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("bounds");
1282
			default: return null;
1425
			if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
1283
		}	
1426
				IEObjectConsumer param = createEObjectConsumer((EObject)value);
1284
	}
1427
				if(param.isInstanceOf(grammarAccess.getBoundSpecificationRule().getType().getClassifier())) {
1428
					type = AssignmentType.PARSER_RULE_CALL;
1429
					element = grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0();
1430
					consumed = obj;
1431
					return param;
1432
				}
1433
			}
1434
			return null;
1435
		}
1436
1285
1437
		@Override
1286
    @Override	
1438
		public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
1287
	public IEObjectConsumer tryConsume() {
1439
			if(value == inst.getEObject() && !inst.isConsumed())
1288
		if((value = eObjectConsumer.getConsumable("bounds",false)) == null) return null;
1440
				return null;
1289
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("bounds");
1441
			switch(index) {
1290
		if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
1442
			case 0:
1291
			IEObjectConsumer param = createEObjectConsumer((EObject)value);
1443
				return new MultiplicityRule_FullStopFullStopKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
1292
			if(param.isInstanceOf(grammarAccess.getBoundSpecificationRule().getType().getClassifier())) {
1444
			default:
1293
				type = AssignmentType.PARSER_RULE_CALL;
1445
				return null;
1294
				element = grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0(); 
1295
				consumed = obj;
1296
				return param;
1446
			}
1297
			}
1447
		}
1298
		}
1299
		return null;
1448
	}
1300
	}
1449
1301
1450
1302
    @Override
1451
	// "]"
1303
	public AbstractToken createFollowerAfterReturn(AbstractToken next,	int actIndex, int index, IEObjectConsumer inst) {
1452
	protected class MultiplicityRule_RightSquareBracketKeyword_3 extends KeywordToken {
1304
		if(value == inst.getEObject() && !inst.isConsumed()) return null;
1453
1305
		switch(index) {
1454
		public MultiplicityRule_RightSquareBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1306
			case 0: return new MultiplicityRule_FullStopFullStopKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
1455
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1307
			default: return null;
1456
		}
1308
		}	
1309
	}	
1310
}
1457
1311
1458
		@Override
1459
		public Keyword getGrammarElement() {
1460
			return grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3();
1461
		}
1462
1312
1463
		@Override
1313
// "]"
1464
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1314
protected class MultiplicityRule_RightSquareBracketKeyword_3 extends KeywordToken  {
1465
			switch(index) {
1315
	
1466
			case 0:
1316
	public MultiplicityRule_RightSquareBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1467
				return new MultiplicityRule_Group_2(lastRuleCallOrigin, this, 0, inst);
1317
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1468
			case 1:
1318
	}
1469
				return new MultiplicityRule_BoundsAssignment_1(lastRuleCallOrigin, this, 1, inst);
1319
	
1470
			default:
1320
	@Override
1471
				return null;
1321
	public Keyword getGrammarElement() {
1472
			}
1322
		return grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3();
1473
		}
1474
1475
	}
1323
	}
1476
1324
1325
    @Override
1326
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1327
		switch(index) {
1328
			case 0: return new MultiplicityRule_Group_2(lastRuleCallOrigin, this, 0, inst);
1329
			case 1: return new MultiplicityRule_BoundsAssignment_1(lastRuleCallOrigin, this, 1, inst);
1330
			default: return null;
1331
		}	
1332
	}
1477
1333
1478
	/************ end Rule MultiplicityRule ****************/
1334
}
1479
1335
1480
1336
1481
	/************
1337
/************ end Rule MultiplicityRule ****************/
1482
	 * begin Rule BoundSpecification ****************
1483
	 * 
1484
	 * BoundSpecification:
1485
	 * value=UnlimitedLiteral;
1486
	 * 
1487
	 **/
1488
1338
1489
	// value=UnlimitedLiteral
1490
	protected class BoundSpecification_ValueAssignment extends AssignmentToken {
1491
1339
1492
		public BoundSpecification_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1340
/************ begin Rule BoundSpecification ****************
1493
			super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1341
 *
1494
		}
1342
 * BoundSpecification:
1343
 * 	value=UnlimitedLiteral;
1344
 *
1345
 **/
1495
1346
1496
		@Override
1347
// value=UnlimitedLiteral
1497
		public Assignment getGrammarElement() {
1348
protected class BoundSpecification_ValueAssignment extends AssignmentToken  {
1498
			return grammarAccess.getBoundSpecificationAccess().getValueAssignment();
1349
	
1499
		}
1350
	public BoundSpecification_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
1351
		super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
1352
	}
1353
	
1354
	@Override
1355
	public Assignment getGrammarElement() {
1356
		return grammarAccess.getBoundSpecificationAccess().getValueAssignment();
1357
	}
1500
1358
1501
		@Override
1359
    @Override
1502
		public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1360
	public AbstractToken createFollower(int index, IEObjectConsumer inst) {
1503
			switch(index) {
1361
		switch(index) {
1504
			default:
1362
			default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
1505
				return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
1363
		}	
1506
			}
1364
	}
1507
		}
1508
1365
1509
		@Override
1366
    @Override	
1510
		public IEObjectConsumer tryConsume() {
1367
	public IEObjectConsumer tryConsume() {
1511
			if(getEObject().eClass() != grammarAccess.getBoundSpecificationRule().getType().getClassifier())
1368
		if(getEObject().eClass() != grammarAccess.getBoundSpecificationRule().getType().getClassifier())
1512
				return null;
1513
			if((value = eObjectConsumer.getConsumable("value", true)) == null)
1514
				return null;
1515
			IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
1516
			if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0(), value, null)) {
1517
				type = AssignmentType.TERMINAL_RULE_CALL;
1518
				element = grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0();
1519
				return obj;
1520
			}
1521
			return null;
1369
			return null;
1370
		if((value = eObjectConsumer.getConsumable("value",true)) == null) return null;
1371
		IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
1372
		if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0(), value, null)) {
1373
			type = AssignmentType.TERMINAL_RULE_CALL;
1374
			element = grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralTerminalRuleCall_0();
1375
			return obj;
1522
		}
1376
		}
1523
1377
		return null;
1524
	}
1378
	}
1525
1379
1526
	/************ end Rule BoundSpecification ****************/
1380
}
1381
1382
/************ end Rule BoundSpecification ****************/
1527
1383
1528
}
1384
}
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/impl/ModifierSpecificationImpl.java (-138 / +139 lines)
Lines 24-181 Link Here
24
 * <p>
24
 * <p>
25
 * The following features are implemented:
25
 * The following features are implemented:
26
 * <ul>
26
 * <ul>
27
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifierSpecificationImpl#getValue <em>Value</em>}</li>
27
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifierSpecificationImpl#getValue <em>Value</em>}</li>
28
 * </ul>
28
 * </ul>
29
 * </p>
29
 * </p>
30
 * 
30
 *
31
 * @generated
31
 * @generated
32
 */
32
 */
33
public class ModifierSpecificationImpl extends MinimalEObjectImpl.Container implements ModifierSpecification {
33
public class ModifierSpecificationImpl extends MinimalEObjectImpl.Container implements ModifierSpecification
34
{
35
  /**
36
   * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
37
   * <!-- begin-user-doc -->
38
   * <!-- end-user-doc -->
39
   * @see #getValue()
40
   * @generated
41
   * @ordered
42
   */
43
  protected static final ModifierKind VALUE_EDEFAULT = ModifierKind.EXCEPTION;
34
44
35
	/**
45
  /**
36
	 * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
46
   * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
37
	 * <!-- begin-user-doc -->
47
   * <!-- begin-user-doc -->
38
	 * <!-- end-user-doc -->
48
   * <!-- end-user-doc -->
39
	 * 
49
   * @see #getValue()
40
	 * @see #getValue()
50
   * @generated
41
	 * @generated
51
   * @ordered
42
	 * @ordered
52
   */
43
	 */
53
  protected ModifierKind value = VALUE_EDEFAULT;
44
	protected static final ModifierKind VALUE_EDEFAULT = ModifierKind.EXCEPTION;
45
54
46
	/**
55
  /**
47
	 * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
56
   * <!-- begin-user-doc -->
48
	 * <!-- begin-user-doc -->
57
   * <!-- end-user-doc -->
49
	 * <!-- end-user-doc -->
58
   * @generated
50
	 * 
59
   */
51
	 * @see #getValue()
60
  protected ModifierSpecificationImpl()
52
	 * @generated
61
  {
53
	 * @ordered
62
    super();
54
	 */
63
  }
55
	protected ModifierKind value = VALUE_EDEFAULT;
56
64
57
	/**
65
  /**
58
	 * <!-- begin-user-doc -->
66
   * <!-- begin-user-doc -->
59
	 * <!-- end-user-doc -->
67
   * <!-- end-user-doc -->
60
	 * 
68
   * @generated
61
	 * @generated
69
   */
62
	 */
70
  @Override
63
	protected ModifierSpecificationImpl() {
71
  protected EClass eStaticClass()
64
		super();
72
  {
65
	}
73
    return UmlParameterPackage.Literals.MODIFIER_SPECIFICATION;
74
  }
66
75
67
	/**
76
  /**
68
	 * <!-- begin-user-doc -->
77
   * <!-- begin-user-doc -->
69
	 * <!-- end-user-doc -->
78
   * <!-- end-user-doc -->
70
	 * 
79
   * @generated
71
	 * @generated
80
   */
72
	 */
81
  public ModifierKind getValue()
73
	@Override
82
  {
74
	protected EClass eStaticClass() {
83
    return value;
75
		return UmlParameterPackage.Literals.MODIFIER_SPECIFICATION;
84
  }
76
	}
77
85
78
	/**
86
  /**
79
	 * <!-- begin-user-doc -->
87
   * <!-- begin-user-doc -->
80
	 * <!-- end-user-doc -->
88
   * <!-- end-user-doc -->
81
	 * 
89
   * @generated
82
	 * @generated
90
   */
83
	 */
91
  public void setValue(ModifierKind newValue)
84
	public ModifierKind getValue() {
92
  {
85
		return value;
93
    ModifierKind oldValue = value;
86
	}
94
    value = newValue == null ? VALUE_EDEFAULT : newValue;
95
    if (eNotificationRequired())
96
      eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE, oldValue, value));
97
  }
87
98
88
	/**
99
  /**
89
	 * <!-- begin-user-doc -->
100
   * <!-- begin-user-doc -->
90
	 * <!-- end-user-doc -->
101
   * <!-- end-user-doc -->
91
	 * 
102
   * @generated
92
	 * @generated
103
   */
93
	 */
104
  @Override
94
	public void setValue(ModifierKind newValue) {
105
  public Object eGet(int featureID, boolean resolve, boolean coreType)
95
		ModifierKind oldValue = value;
106
  {
96
		value = newValue == null ? VALUE_EDEFAULT : newValue;
107
    switch (featureID)
97
		if(eNotificationRequired())
108
    {
98
			eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE, oldValue, value));
109
      case UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE:
99
	}
110
        return getValue();
111
    }
112
    return super.eGet(featureID, resolve, coreType);
113
  }
100
114
101
	/**
115
  /**
102
	 * <!-- begin-user-doc -->
116
   * <!-- begin-user-doc -->
103
	 * <!-- end-user-doc -->
117
   * <!-- end-user-doc -->
104
	 * 
118
   * @generated
105
	 * @generated
119
   */
106
	 */
120
  @Override
107
	@Override
121
  public void eSet(int featureID, Object newValue)
108
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
122
  {
109
		switch(featureID) {
123
    switch (featureID)
110
		case UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE:
124
    {
111
			return getValue();
125
      case UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE:
112
		}
126
        setValue((ModifierKind)newValue);
113
		return super.eGet(featureID, resolve, coreType);
127
        return;
114
	}
128
    }
129
    super.eSet(featureID, newValue);
130
  }
115
131
116
	/**
132
  /**
117
	 * <!-- begin-user-doc -->
133
   * <!-- begin-user-doc -->
118
	 * <!-- end-user-doc -->
134
   * <!-- end-user-doc -->
119
	 * 
135
   * @generated
120
	 * @generated
136
   */
121
	 */
137
  @Override
122
	@Override
138
  public void eUnset(int featureID)
123
	public void eSet(int featureID, Object newValue) {
139
  {
124
		switch(featureID) {
140
    switch (featureID)
125
		case UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE:
141
    {
126
			setValue((ModifierKind)newValue);
142
      case UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE:
127
			return;
143
        setValue(VALUE_EDEFAULT);
128
		}
144
        return;
129
		super.eSet(featureID, newValue);
145
    }
130
	}
146
    super.eUnset(featureID);
147
  }
131
148
132
	/**
149
  /**
133
	 * <!-- begin-user-doc -->
150
   * <!-- begin-user-doc -->
134
	 * <!-- end-user-doc -->
151
   * <!-- end-user-doc -->
135
	 * 
152
   * @generated
136
	 * @generated
153
   */
137
	 */
154
  @Override
138
	@Override
155
  public boolean eIsSet(int featureID)
139
	public void eUnset(int featureID) {
156
  {
140
		switch(featureID) {
157
    switch (featureID)
141
		case UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE:
158
    {
142
			setValue(VALUE_EDEFAULT);
159
      case UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE:
143
			return;
160
        return value != VALUE_EDEFAULT;
144
		}
161
    }
145
		super.eUnset(featureID);
162
    return super.eIsSet(featureID);
146
	}
163
  }
147
164
148
	/**
165
  /**
149
	 * <!-- begin-user-doc -->
166
   * <!-- begin-user-doc -->
150
	 * <!-- end-user-doc -->
167
   * <!-- end-user-doc -->
151
	 * 
168
   * @generated
152
	 * @generated
169
   */
153
	 */
170
  @Override
154
	@Override
171
  public String toString()
155
	public boolean eIsSet(int featureID) {
172
  {
156
		switch(featureID) {
173
    if (eIsProxy()) return super.toString();
157
		case UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE:
158
			return value != VALUE_EDEFAULT;
159
		}
160
		return super.eIsSet(featureID);
161
	}
162
174
163
	/**
175
    StringBuffer result = new StringBuffer(super.toString());
164
	 * <!-- begin-user-doc -->
176
    result.append(" (value: ");
165
	 * <!-- end-user-doc -->
177
    result.append(value);
166
	 * 
178
    result.append(')');
167
	 * @generated
179
    return result.toString();
168
	 */
180
  }
169
	@Override
170
	public String toString() {
171
		if(eIsProxy())
172
			return super.toString();
173
174
		StringBuffer result = new StringBuffer(super.toString());
175
		result.append(" (value: ");
176
		result.append(value);
177
		result.append(')');
178
		return result.toString();
179
	}
180
181
181
} //ModifierSpecificationImpl
182
} //ModifierSpecificationImpl
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/impl/ParameterRuleImpl.java (-534 / +524 lines)
Lines 32-610 Link Here
32
 * <p>
32
 * <p>
33
 * The following features are implemented:
33
 * The following features are implemented:
34
 * <ul>
34
 * <ul>
35
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl#getVisibility <em>Visibility</em>}</li>
35
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl#getVisibility <em>Visibility</em>}</li>
36
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl#getDirection <em>Direction</em>}</li>
36
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl#getDirection <em>Direction</em>}</li>
37
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl#getName <em>Name</em>}</li>
37
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl#getName <em>Name</em>}</li>
38
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl#getType <em>Type</em>}</li>
38
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl#getType <em>Type</em>}</li>
39
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl#getMultiplicity <em>Multiplicity</em>}</li>
39
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl#getMultiplicity <em>Multiplicity</em>}</li>
40
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl#getModifiers <em>Modifiers</em>}</li>
40
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl#getModifiers <em>Modifiers</em>}</li>
41
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl#getEffect <em>Effect</em>}</li>
41
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl#getEffect <em>Effect</em>}</li>
42
 * </ul>
42
 * </ul>
43
 * </p>
43
 * </p>
44
 * 
44
 *
45
 * @generated
45
 * @generated
46
 */
46
 */
47
public class ParameterRuleImpl extends MinimalEObjectImpl.Container implements ParameterRule {
47
public class ParameterRuleImpl extends MinimalEObjectImpl.Container implements ParameterRule
48
{
49
  /**
50
   * The default value of the '{@link #getVisibility() <em>Visibility</em>}' attribute.
51
   * <!-- begin-user-doc -->
52
   * <!-- end-user-doc -->
53
   * @see #getVisibility()
54
   * @generated
55
   * @ordered
56
   */
57
  protected static final VisibilityKind VISIBILITY_EDEFAULT = VisibilityKind.PUBLIC;
48
58
49
	/**
59
  /**
50
	 * The default value of the '{@link #getVisibility() <em>Visibility</em>}' attribute.
60
   * The cached value of the '{@link #getVisibility() <em>Visibility</em>}' attribute.
51
	 * <!-- begin-user-doc -->
61
   * <!-- begin-user-doc -->
52
	 * <!-- end-user-doc -->
62
   * <!-- end-user-doc -->
53
	 * 
63
   * @see #getVisibility()
54
	 * @see #getVisibility()
64
   * @generated
55
	 * @generated
65
   * @ordered
56
	 * @ordered
66
   */
57
	 */
67
  protected VisibilityKind visibility = VISIBILITY_EDEFAULT;
58
	protected static final VisibilityKind VISIBILITY_EDEFAULT = VisibilityKind.PUBLIC;
59
68
60
	/**
69
  /**
61
	 * The cached value of the '{@link #getVisibility() <em>Visibility</em>}' attribute.
70
   * The default value of the '{@link #getDirection() <em>Direction</em>}' attribute.
62
	 * <!-- begin-user-doc -->
71
   * <!-- begin-user-doc -->
63
	 * <!-- end-user-doc -->
72
   * <!-- end-user-doc -->
64
	 * 
73
   * @see #getDirection()
65
	 * @see #getVisibility()
74
   * @generated
66
	 * @generated
75
   * @ordered
67
	 * @ordered
76
   */
68
	 */
77
  protected static final Direction DIRECTION_EDEFAULT = Direction.IN;
69
	protected VisibilityKind visibility = VISIBILITY_EDEFAULT;
70
78
71
	/**
79
  /**
72
	 * The default value of the '{@link #getDirection() <em>Direction</em>}' attribute.
80
   * The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute.
73
	 * <!-- begin-user-doc -->
81
   * <!-- begin-user-doc -->
74
	 * <!-- end-user-doc -->
82
   * <!-- end-user-doc -->
75
	 * 
83
   * @see #getDirection()
76
	 * @see #getDirection()
84
   * @generated
77
	 * @generated
85
   * @ordered
78
	 * @ordered
86
   */
79
	 */
87
  protected Direction direction = DIRECTION_EDEFAULT;
80
	protected static final Direction DIRECTION_EDEFAULT = Direction.IN;
81
88
82
	/**
89
  /**
83
	 * The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute.
90
   * The default value of the '{@link #getName() <em>Name</em>}' attribute.
84
	 * <!-- begin-user-doc -->
91
   * <!-- begin-user-doc -->
85
	 * <!-- end-user-doc -->
92
   * <!-- end-user-doc -->
86
	 * 
93
   * @see #getName()
87
	 * @see #getDirection()
94
   * @generated
88
	 * @generated
95
   * @ordered
89
	 * @ordered
96
   */
90
	 */
97
  protected static final String NAME_EDEFAULT = null;
91
	protected Direction direction = DIRECTION_EDEFAULT;
92
98
93
	/**
99
  /**
94
	 * The default value of the '{@link #getName() <em>Name</em>}' attribute.
100
   * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
95
	 * <!-- begin-user-doc -->
101
   * <!-- begin-user-doc -->
96
	 * <!-- end-user-doc -->
102
   * <!-- end-user-doc -->
97
	 * 
103
   * @see #getName()
98
	 * @see #getName()
104
   * @generated
99
	 * @generated
105
   * @ordered
100
	 * @ordered
106
   */
101
	 */
107
  protected String name = NAME_EDEFAULT;
102
	protected static final String NAME_EDEFAULT = null;
103
108
104
	/**
109
  /**
105
	 * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
110
   * The cached value of the '{@link #getType() <em>Type</em>}' containment reference.
106
	 * <!-- begin-user-doc -->
111
   * <!-- begin-user-doc -->
107
	 * <!-- end-user-doc -->
112
   * <!-- end-user-doc -->
108
	 * 
113
   * @see #getType()
109
	 * @see #getName()
114
   * @generated
110
	 * @generated
115
   * @ordered
111
	 * @ordered
116
   */
112
	 */
117
  protected TypeRule type;
113
	protected String name = NAME_EDEFAULT;
114
118
115
	/**
119
  /**
116
	 * The cached value of the '{@link #getType() <em>Type</em>}' containment reference.
120
   * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' containment reference.
117
	 * <!-- begin-user-doc -->
121
   * <!-- begin-user-doc -->
118
	 * <!-- end-user-doc -->
122
   * <!-- end-user-doc -->
119
	 * 
123
   * @see #getMultiplicity()
120
	 * @see #getType()
124
   * @generated
121
	 * @generated
125
   * @ordered
122
	 * @ordered
126
   */
123
	 */
127
  protected MultiplicityRule multiplicity;
124
	protected TypeRule type;
125
128
126
	/**
129
  /**
127
	 * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' containment reference.
130
   * The cached value of the '{@link #getModifiers() <em>Modifiers</em>}' containment reference.
128
	 * <!-- begin-user-doc -->
131
   * <!-- begin-user-doc -->
129
	 * <!-- end-user-doc -->
132
   * <!-- end-user-doc -->
130
	 * 
133
   * @see #getModifiers()
131
	 * @see #getMultiplicity()
134
   * @generated
132
	 * @generated
135
   * @ordered
133
	 * @ordered
136
   */
134
	 */
137
  protected ModifiersRule modifiers;
135
	protected MultiplicityRule multiplicity;
136
138
137
	/**
139
  /**
138
	 * The cached value of the '{@link #getModifiers() <em>Modifiers</em>}' containment reference.
140
   * The cached value of the '{@link #getEffect() <em>Effect</em>}' containment reference.
139
	 * <!-- begin-user-doc -->
141
   * <!-- begin-user-doc -->
140
	 * <!-- end-user-doc -->
142
   * <!-- end-user-doc -->
141
	 * 
143
   * @see #getEffect()
142
	 * @see #getModifiers()
144
   * @generated
143
	 * @generated
145
   * @ordered
144
	 * @ordered
146
   */
145
	 */
147
  protected EffectRule effect;
146
	protected ModifiersRule modifiers;
147
148
148
	/**
149
  /**
149
	 * The cached value of the '{@link #getEffect() <em>Effect</em>}' containment reference.
150
   * <!-- begin-user-doc -->
150
	 * <!-- begin-user-doc -->
151
   * <!-- end-user-doc -->
151
	 * <!-- end-user-doc -->
152
   * @generated
152
	 * 
153
   */
153
	 * @see #getEffect()
154
  protected ParameterRuleImpl()
154
	 * @generated
155
  {
155
	 * @ordered
156
    super();
156
	 */
157
  }
157
	protected EffectRule effect;
158
158
159
	/**
159
  /**
160
	 * <!-- begin-user-doc -->
160
   * <!-- begin-user-doc -->
161
	 * <!-- end-user-doc -->
161
   * <!-- end-user-doc -->
162
	 * 
162
   * @generated
163
	 * @generated
163
   */
164
	 */
164
  @Override
165
	protected ParameterRuleImpl() {
165
  protected EClass eStaticClass()
166
		super();
166
  {
167
	}
167
    return UmlParameterPackage.Literals.PARAMETER_RULE;
168
  }
168
169
169
	/**
170
  /**
170
	 * <!-- begin-user-doc -->
171
   * <!-- begin-user-doc -->
171
	 * <!-- end-user-doc -->
172
   * <!-- end-user-doc -->
172
	 * 
173
   * @generated
173
	 * @generated
174
   */
174
	 */
175
  public VisibilityKind getVisibility()
175
	@Override
176
  {
176
	protected EClass eStaticClass() {
177
    return visibility;
177
		return UmlParameterPackage.Literals.PARAMETER_RULE;
178
  }
178
	}
179
179
180
	/**
180
  /**
181
	 * <!-- begin-user-doc -->
181
   * <!-- begin-user-doc -->
182
	 * <!-- end-user-doc -->
182
   * <!-- end-user-doc -->
183
	 * 
183
   * @generated
184
	 * @generated
184
   */
185
	 */
185
  public void setVisibility(VisibilityKind newVisibility)
186
	public VisibilityKind getVisibility() {
186
  {
187
		return visibility;
187
    VisibilityKind oldVisibility = visibility;
188
	}
188
    visibility = newVisibility == null ? VISIBILITY_EDEFAULT : newVisibility;
189
    if (eNotificationRequired())
190
      eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__VISIBILITY, oldVisibility, visibility));
191
  }
189
192
190
	/**
193
  /**
191
	 * <!-- begin-user-doc -->
194
   * <!-- begin-user-doc -->
192
	 * <!-- end-user-doc -->
195
   * <!-- end-user-doc -->
193
	 * 
196
   * @generated
194
	 * @generated
197
   */
195
	 */
198
  public Direction getDirection()
196
	public void setVisibility(VisibilityKind newVisibility) {
199
  {
197
		VisibilityKind oldVisibility = visibility;
200
    return direction;
198
		visibility = newVisibility == null ? VISIBILITY_EDEFAULT : newVisibility;
201
  }
199
		if(eNotificationRequired())
200
			eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__VISIBILITY, oldVisibility, visibility));
201
	}
202
202
203
	/**
203
  /**
204
	 * <!-- begin-user-doc -->
204
   * <!-- begin-user-doc -->
205
	 * <!-- end-user-doc -->
205
   * <!-- end-user-doc -->
206
	 * 
206
   * @generated
207
	 * @generated
207
   */
208
	 */
208
  public void setDirection(Direction newDirection)
209
	public Direction getDirection() {
209
  {
210
		return direction;
210
    Direction oldDirection = direction;
211
	}
211
    direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
212
    if (eNotificationRequired())
213
      eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__DIRECTION, oldDirection, direction));
214
  }
212
215
213
	/**
216
  /**
214
	 * <!-- begin-user-doc -->
217
   * <!-- begin-user-doc -->
215
	 * <!-- end-user-doc -->
218
   * <!-- end-user-doc -->
216
	 * 
219
   * @generated
217
	 * @generated
220
   */
218
	 */
221
  public String getName()
219
	public void setDirection(Direction newDirection) {
222
  {
220
		Direction oldDirection = direction;
223
    return name;
221
		direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
224
  }
222
		if(eNotificationRequired())
223
			eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__DIRECTION, oldDirection, direction));
224
	}
225
225
226
	/**
226
  /**
227
	 * <!-- begin-user-doc -->
227
   * <!-- begin-user-doc -->
228
	 * <!-- end-user-doc -->
228
   * <!-- end-user-doc -->
229
	 * 
229
   * @generated
230
	 * @generated
230
   */
231
	 */
231
  public void setName(String newName)
232
	public String getName() {
232
  {
233
		return name;
233
    String oldName = name;
234
	}
234
    name = newName;
235
    if (eNotificationRequired())
236
      eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__NAME, oldName, name));
237
  }
235
238
236
	/**
239
  /**
237
	 * <!-- begin-user-doc -->
240
   * <!-- begin-user-doc -->
238
	 * <!-- end-user-doc -->
241
   * <!-- end-user-doc -->
239
	 * 
242
   * @generated
240
	 * @generated
243
   */
241
	 */
244
  public TypeRule getType()
242
	public void setName(String newName) {
245
  {
243
		String oldName = name;
246
    return type;
244
		name = newName;
247
  }
245
		if(eNotificationRequired())
246
			eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__NAME, oldName, name));
247
	}
248
248
249
	/**
249
  /**
250
	 * <!-- begin-user-doc -->
250
   * <!-- begin-user-doc -->
251
	 * <!-- end-user-doc -->
251
   * <!-- end-user-doc -->
252
	 * 
252
   * @generated
253
	 * @generated
253
   */
254
	 */
254
  public NotificationChain basicSetType(TypeRule newType, NotificationChain msgs)
255
	public TypeRule getType() {
255
  {
256
		return type;
256
    TypeRule oldType = type;
257
	}
257
    type = newType;
258
    if (eNotificationRequired())
259
    {
260
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__TYPE, oldType, newType);
261
      if (msgs == null) msgs = notification; else msgs.add(notification);
262
    }
263
    return msgs;
264
  }
258
265
259
	/**
266
  /**
260
	 * <!-- begin-user-doc -->
267
   * <!-- begin-user-doc -->
261
	 * <!-- end-user-doc -->
268
   * <!-- end-user-doc -->
262
	 * 
269
   * @generated
263
	 * @generated
270
   */
264
	 */
271
  public void setType(TypeRule newType)
265
	public NotificationChain basicSetType(TypeRule newType, NotificationChain msgs) {
272
  {
266
		TypeRule oldType = type;
273
    if (newType != type)
267
		type = newType;
274
    {
268
		if(eNotificationRequired()) {
275
      NotificationChain msgs = null;
269
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__TYPE, oldType, newType);
276
      if (type != null)
270
			if(msgs == null)
277
        msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__TYPE, null, msgs);
271
				msgs = notification;
278
      if (newType != null)
272
			else
279
        msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__TYPE, null, msgs);
273
				msgs.add(notification);
280
      msgs = basicSetType(newType, msgs);
274
		}
281
      if (msgs != null) msgs.dispatch();
275
		return msgs;
282
    }
276
	}
283
    else if (eNotificationRequired())
284
      eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__TYPE, newType, newType));
285
  }
277
286
278
	/**
287
  /**
279
	 * <!-- begin-user-doc -->
288
   * <!-- begin-user-doc -->
280
	 * <!-- end-user-doc -->
289
   * <!-- end-user-doc -->
281
	 * 
290
   * @generated
282
	 * @generated
291
   */
283
	 */
292
  public MultiplicityRule getMultiplicity()
284
	public void setType(TypeRule newType) {
293
  {
285
		if(newType != type) {
294
    return multiplicity;
286
			NotificationChain msgs = null;
295
  }
287
			if(type != null)
288
				msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__TYPE, null, msgs);
289
			if(newType != null)
290
				msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__TYPE, null, msgs);
291
			msgs = basicSetType(newType, msgs);
292
			if(msgs != null)
293
				msgs.dispatch();
294
		} else if(eNotificationRequired())
295
			eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__TYPE, newType, newType));
296
	}
297
296
298
	/**
297
  /**
299
	 * <!-- begin-user-doc -->
298
   * <!-- begin-user-doc -->
300
	 * <!-- end-user-doc -->
299
   * <!-- end-user-doc -->
301
	 * 
300
   * @generated
302
	 * @generated
301
   */
303
	 */
302
  public NotificationChain basicSetMultiplicity(MultiplicityRule newMultiplicity, NotificationChain msgs)
304
	public MultiplicityRule getMultiplicity() {
303
  {
305
		return multiplicity;
304
    MultiplicityRule oldMultiplicity = multiplicity;
306
	}
305
    multiplicity = newMultiplicity;
306
    if (eNotificationRequired())
307
    {
308
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY, oldMultiplicity, newMultiplicity);
309
      if (msgs == null) msgs = notification; else msgs.add(notification);
310
    }
311
    return msgs;
312
  }
307
313
308
	/**
314
  /**
309
	 * <!-- begin-user-doc -->
315
   * <!-- begin-user-doc -->
310
	 * <!-- end-user-doc -->
316
   * <!-- end-user-doc -->
311
	 * 
317
   * @generated
312
	 * @generated
318
   */
313
	 */
319
  public void setMultiplicity(MultiplicityRule newMultiplicity)
314
	public NotificationChain basicSetMultiplicity(MultiplicityRule newMultiplicity, NotificationChain msgs) {
320
  {
315
		MultiplicityRule oldMultiplicity = multiplicity;
321
    if (newMultiplicity != multiplicity)
316
		multiplicity = newMultiplicity;
322
    {
317
		if(eNotificationRequired()) {
323
      NotificationChain msgs = null;
318
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY, oldMultiplicity, newMultiplicity);
324
      if (multiplicity != null)
319
			if(msgs == null)
325
        msgs = ((InternalEObject)multiplicity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY, null, msgs);
320
				msgs = notification;
326
      if (newMultiplicity != null)
321
			else
327
        msgs = ((InternalEObject)newMultiplicity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY, null, msgs);
322
				msgs.add(notification);
328
      msgs = basicSetMultiplicity(newMultiplicity, msgs);
323
		}
329
      if (msgs != null) msgs.dispatch();
324
		return msgs;
330
    }
325
	}
331
    else if (eNotificationRequired())
332
      eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY, newMultiplicity, newMultiplicity));
333
  }
326
334
327
	/**
335
  /**
328
	 * <!-- begin-user-doc -->
336
   * <!-- begin-user-doc -->
329
	 * <!-- end-user-doc -->
337
   * <!-- end-user-doc -->
330
	 * 
338
   * @generated
331
	 * @generated
339
   */
332
	 */
340
  public ModifiersRule getModifiers()
333
	public void setMultiplicity(MultiplicityRule newMultiplicity) {
341
  {
334
		if(newMultiplicity != multiplicity) {
342
    return modifiers;
335
			NotificationChain msgs = null;
343
  }
336
			if(multiplicity != null)
337
				msgs = ((InternalEObject)multiplicity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY, null, msgs);
338
			if(newMultiplicity != null)
339
				msgs = ((InternalEObject)newMultiplicity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY, null, msgs);
340
			msgs = basicSetMultiplicity(newMultiplicity, msgs);
341
			if(msgs != null)
342
				msgs.dispatch();
343
		} else if(eNotificationRequired())
344
			eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY, newMultiplicity, newMultiplicity));
345
	}
346
344
347
	/**
345
  /**
348
	 * <!-- begin-user-doc -->
346
   * <!-- begin-user-doc -->
349
	 * <!-- end-user-doc -->
347
   * <!-- end-user-doc -->
350
	 * 
348
   * @generated
351
	 * @generated
349
   */
352
	 */
350
  public NotificationChain basicSetModifiers(ModifiersRule newModifiers, NotificationChain msgs)
353
	public ModifiersRule getModifiers() {
351
  {
354
		return modifiers;
352
    ModifiersRule oldModifiers = modifiers;
355
	}
353
    modifiers = newModifiers;
354
    if (eNotificationRequired())
355
    {
356
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__MODIFIERS, oldModifiers, newModifiers);
357
      if (msgs == null) msgs = notification; else msgs.add(notification);
358
    }
359
    return msgs;
360
  }
356
361
357
	/**
362
  /**
358
	 * <!-- begin-user-doc -->
363
   * <!-- begin-user-doc -->
359
	 * <!-- end-user-doc -->
364
   * <!-- end-user-doc -->
360
	 * 
365
   * @generated
361
	 * @generated
366
   */
362
	 */
367
  public void setModifiers(ModifiersRule newModifiers)
363
	public NotificationChain basicSetModifiers(ModifiersRule newModifiers, NotificationChain msgs) {
368
  {
364
		ModifiersRule oldModifiers = modifiers;
369
    if (newModifiers != modifiers)
365
		modifiers = newModifiers;
370
    {
366
		if(eNotificationRequired()) {
371
      NotificationChain msgs = null;
367
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__MODIFIERS, oldModifiers, newModifiers);
372
      if (modifiers != null)
368
			if(msgs == null)
373
        msgs = ((InternalEObject)modifiers).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__MODIFIERS, null, msgs);
369
				msgs = notification;
374
      if (newModifiers != null)
370
			else
375
        msgs = ((InternalEObject)newModifiers).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__MODIFIERS, null, msgs);
371
				msgs.add(notification);
376
      msgs = basicSetModifiers(newModifiers, msgs);
372
		}
377
      if (msgs != null) msgs.dispatch();
373
		return msgs;
378
    }
374
	}
379
    else if (eNotificationRequired())
380
      eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__MODIFIERS, newModifiers, newModifiers));
381
  }
375
382
376
	/**
383
  /**
377
	 * <!-- begin-user-doc -->
384
   * <!-- begin-user-doc -->
378
	 * <!-- end-user-doc -->
385
   * <!-- end-user-doc -->
379
	 * 
386
   * @generated
380
	 * @generated
387
   */
381
	 */
388
  public EffectRule getEffect()
382
	public void setModifiers(ModifiersRule newModifiers) {
389
  {
383
		if(newModifiers != modifiers) {
390
    return effect;
384
			NotificationChain msgs = null;
391
  }
385
			if(modifiers != null)
386
				msgs = ((InternalEObject)modifiers).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__MODIFIERS, null, msgs);
387
			if(newModifiers != null)
388
				msgs = ((InternalEObject)newModifiers).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__MODIFIERS, null, msgs);
389
			msgs = basicSetModifiers(newModifiers, msgs);
390
			if(msgs != null)
391
				msgs.dispatch();
392
		} else if(eNotificationRequired())
393
			eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__MODIFIERS, newModifiers, newModifiers));
394
	}
395
392
396
	/**
393
  /**
397
	 * <!-- begin-user-doc -->
394
   * <!-- begin-user-doc -->
398
	 * <!-- end-user-doc -->
395
   * <!-- end-user-doc -->
399
	 * 
396
   * @generated
400
	 * @generated
397
   */
401
	 */
398
  public NotificationChain basicSetEffect(EffectRule newEffect, NotificationChain msgs)
402
	public EffectRule getEffect() {
399
  {
403
		return effect;
400
    EffectRule oldEffect = effect;
404
	}
401
    effect = newEffect;
402
    if (eNotificationRequired())
403
    {
404
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__EFFECT, oldEffect, newEffect);
405
      if (msgs == null) msgs = notification; else msgs.add(notification);
406
    }
407
    return msgs;
408
  }
405
409
406
	/**
410
  /**
407
	 * <!-- begin-user-doc -->
411
   * <!-- begin-user-doc -->
408
	 * <!-- end-user-doc -->
412
   * <!-- end-user-doc -->
409
	 * 
413
   * @generated
410
	 * @generated
414
   */
411
	 */
415
  public void setEffect(EffectRule newEffect)
412
	public NotificationChain basicSetEffect(EffectRule newEffect, NotificationChain msgs) {
416
  {
413
		EffectRule oldEffect = effect;
417
    if (newEffect != effect)
414
		effect = newEffect;
418
    {
415
		if(eNotificationRequired()) {
419
      NotificationChain msgs = null;
416
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__EFFECT, oldEffect, newEffect);
420
      if (effect != null)
417
			if(msgs == null)
421
        msgs = ((InternalEObject)effect).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__EFFECT, null, msgs);
418
				msgs = notification;
422
      if (newEffect != null)
419
			else
423
        msgs = ((InternalEObject)newEffect).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__EFFECT, null, msgs);
420
				msgs.add(notification);
424
      msgs = basicSetEffect(newEffect, msgs);
421
		}
425
      if (msgs != null) msgs.dispatch();
422
		return msgs;
426
    }
423
	}
427
    else if (eNotificationRequired())
428
      eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__EFFECT, newEffect, newEffect));
429
  }
424
430
425
	/**
431
  /**
426
	 * <!-- begin-user-doc -->
432
   * <!-- begin-user-doc -->
427
	 * <!-- end-user-doc -->
433
   * <!-- end-user-doc -->
428
	 * 
434
   * @generated
429
	 * @generated
435
   */
430
	 */
436
  @Override
431
	public void setEffect(EffectRule newEffect) {
437
  public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
432
		if(newEffect != effect) {
438
  {
433
			NotificationChain msgs = null;
439
    switch (featureID)
434
			if(effect != null)
440
    {
435
				msgs = ((InternalEObject)effect).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__EFFECT, null, msgs);
441
      case UmlParameterPackage.PARAMETER_RULE__TYPE:
436
			if(newEffect != null)
442
        return basicSetType(null, msgs);
437
				msgs = ((InternalEObject)newEffect).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__EFFECT, null, msgs);
443
      case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
438
			msgs = basicSetEffect(newEffect, msgs);
444
        return basicSetMultiplicity(null, msgs);
439
			if(msgs != null)
445
      case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
440
				msgs.dispatch();
446
        return basicSetModifiers(null, msgs);
441
		} else if(eNotificationRequired())
447
      case UmlParameterPackage.PARAMETER_RULE__EFFECT:
442
			eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__EFFECT, newEffect, newEffect));
448
        return basicSetEffect(null, msgs);
443
	}
449
    }
450
    return super.eInverseRemove(otherEnd, featureID, msgs);
451
  }
444
452
445
	/**
453
  /**
446
	 * <!-- begin-user-doc -->
454
   * <!-- begin-user-doc -->
447
	 * <!-- end-user-doc -->
455
   * <!-- end-user-doc -->
448
	 * 
456
   * @generated
449
	 * @generated
457
   */
450
	 */
458
  @Override
451
	@Override
459
  public Object eGet(int featureID, boolean resolve, boolean coreType)
452
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
460
  {
453
		switch(featureID) {
461
    switch (featureID)
454
		case UmlParameterPackage.PARAMETER_RULE__TYPE:
462
    {
455
			return basicSetType(null, msgs);
463
      case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
456
		case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
464
        return getVisibility();
457
			return basicSetMultiplicity(null, msgs);
465
      case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
458
		case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
466
        return getDirection();
459
			return basicSetModifiers(null, msgs);
467
      case UmlParameterPackage.PARAMETER_RULE__NAME:
460
		case UmlParameterPackage.PARAMETER_RULE__EFFECT:
468
        return getName();
461
			return basicSetEffect(null, msgs);
469
      case UmlParameterPackage.PARAMETER_RULE__TYPE:
462
		}
470
        return getType();
463
		return super.eInverseRemove(otherEnd, featureID, msgs);
471
      case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
464
	}
472
        return getMultiplicity();
473
      case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
474
        return getModifiers();
475
      case UmlParameterPackage.PARAMETER_RULE__EFFECT:
476
        return getEffect();
477
    }
478
    return super.eGet(featureID, resolve, coreType);
479
  }
465
480
466
	/**
481
  /**
467
	 * <!-- begin-user-doc -->
482
   * <!-- begin-user-doc -->
468
	 * <!-- end-user-doc -->
483
   * <!-- end-user-doc -->
469
	 * 
484
   * @generated
470
	 * @generated
485
   */
471
	 */
486
  @Override
472
	@Override
487
  public void eSet(int featureID, Object newValue)
473
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
488
  {
474
		switch(featureID) {
489
    switch (featureID)
475
		case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
490
    {
476
			return getVisibility();
491
      case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
477
		case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
492
        setVisibility((VisibilityKind)newValue);
478
			return getDirection();
493
        return;
479
		case UmlParameterPackage.PARAMETER_RULE__NAME:
494
      case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
480
			return getName();
495
        setDirection((Direction)newValue);
481
		case UmlParameterPackage.PARAMETER_RULE__TYPE:
496
        return;
482
			return getType();
497
      case UmlParameterPackage.PARAMETER_RULE__NAME:
483
		case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
498
        setName((String)newValue);
484
			return getMultiplicity();
499
        return;
485
		case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
500
      case UmlParameterPackage.PARAMETER_RULE__TYPE:
486
			return getModifiers();
501
        setType((TypeRule)newValue);
487
		case UmlParameterPackage.PARAMETER_RULE__EFFECT:
502
        return;
488
			return getEffect();
503
      case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
489
		}
504
        setMultiplicity((MultiplicityRule)newValue);
490
		return super.eGet(featureID, resolve, coreType);
505
        return;
491
	}
506
      case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
507
        setModifiers((ModifiersRule)newValue);
508
        return;
509
      case UmlParameterPackage.PARAMETER_RULE__EFFECT:
510
        setEffect((EffectRule)newValue);
511
        return;
512
    }
513
    super.eSet(featureID, newValue);
514
  }
492
515
493
	/**
516
  /**
494
	 * <!-- begin-user-doc -->
517
   * <!-- begin-user-doc -->
495
	 * <!-- end-user-doc -->
518
   * <!-- end-user-doc -->
496
	 * 
519
   * @generated
497
	 * @generated
520
   */
498
	 */
521
  @Override
499
	@Override
522
  public void eUnset(int featureID)
500
	public void eSet(int featureID, Object newValue) {
523
  {
501
		switch(featureID) {
524
    switch (featureID)
502
		case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
525
    {
503
			setVisibility((VisibilityKind)newValue);
526
      case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
504
			return;
527
        setVisibility(VISIBILITY_EDEFAULT);
505
		case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
528
        return;
506
			setDirection((Direction)newValue);
529
      case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
507
			return;
530
        setDirection(DIRECTION_EDEFAULT);
508
		case UmlParameterPackage.PARAMETER_RULE__NAME:
531
        return;
509
			setName((String)newValue);
532
      case UmlParameterPackage.PARAMETER_RULE__NAME:
510
			return;
533
        setName(NAME_EDEFAULT);
511
		case UmlParameterPackage.PARAMETER_RULE__TYPE:
534
        return;
512
			setType((TypeRule)newValue);
535
      case UmlParameterPackage.PARAMETER_RULE__TYPE:
513
			return;
536
        setType((TypeRule)null);
514
		case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
537
        return;
515
			setMultiplicity((MultiplicityRule)newValue);
538
      case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
516
			return;
539
        setMultiplicity((MultiplicityRule)null);
517
		case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
540
        return;
518
			setModifiers((ModifiersRule)newValue);
541
      case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
519
			return;
542
        setModifiers((ModifiersRule)null);
520
		case UmlParameterPackage.PARAMETER_RULE__EFFECT:
543
        return;
521
			setEffect((EffectRule)newValue);
544
      case UmlParameterPackage.PARAMETER_RULE__EFFECT:
522
			return;
545
        setEffect((EffectRule)null);
523
		}
546
        return;
524
		super.eSet(featureID, newValue);
547
    }
525
	}
548
    super.eUnset(featureID);
549
  }
526
550
527
	/**
551
  /**
528
	 * <!-- begin-user-doc -->
552
   * <!-- begin-user-doc -->
529
	 * <!-- end-user-doc -->
553
   * <!-- end-user-doc -->
530
	 * 
554
   * @generated
531
	 * @generated
555
   */
532
	 */
556
  @Override
533
	@Override
557
  public boolean eIsSet(int featureID)
534
	public void eUnset(int featureID) {
558
  {
535
		switch(featureID) {
559
    switch (featureID)
536
		case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
560
    {
537
			setVisibility(VISIBILITY_EDEFAULT);
561
      case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
538
			return;
562
        return visibility != VISIBILITY_EDEFAULT;
539
		case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
563
      case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
540
			setDirection(DIRECTION_EDEFAULT);
564
        return direction != DIRECTION_EDEFAULT;
541
			return;
565
      case UmlParameterPackage.PARAMETER_RULE__NAME:
542
		case UmlParameterPackage.PARAMETER_RULE__NAME:
566
        return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
543
			setName(NAME_EDEFAULT);
567
      case UmlParameterPackage.PARAMETER_RULE__TYPE:
544
			return;
568
        return type != null;
545
		case UmlParameterPackage.PARAMETER_RULE__TYPE:
569
      case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
546
			setType((TypeRule)null);
570
        return multiplicity != null;
547
			return;
571
      case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
548
		case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
572
        return modifiers != null;
549
			setMultiplicity((MultiplicityRule)null);
573
      case UmlParameterPackage.PARAMETER_RULE__EFFECT:
550
			return;
574
        return effect != null;
551
		case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
575
    }
552
			setModifiers((ModifiersRule)null);
576
    return super.eIsSet(featureID);
553
			return;
577
  }
554
		case UmlParameterPackage.PARAMETER_RULE__EFFECT:
555
			setEffect((EffectRule)null);
556
			return;
557
		}
558
		super.eUnset(featureID);
559
	}
560
578
561
	/**
579
  /**
562
	 * <!-- begin-user-doc -->
580
   * <!-- begin-user-doc -->
563
	 * <!-- end-user-doc -->
581
   * <!-- end-user-doc -->
564
	 * 
582
   * @generated
565
	 * @generated
583
   */
566
	 */
584
  @Override
567
	@Override
585
  public String toString()
568
	public boolean eIsSet(int featureID) {
586
  {
569
		switch(featureID) {
587
    if (eIsProxy()) return super.toString();
570
		case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
571
			return visibility != VISIBILITY_EDEFAULT;
572
		case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
573
			return direction != DIRECTION_EDEFAULT;
574
		case UmlParameterPackage.PARAMETER_RULE__NAME:
575
			return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
576
		case UmlParameterPackage.PARAMETER_RULE__TYPE:
577
			return type != null;
578
		case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
579
			return multiplicity != null;
580
		case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
581
			return modifiers != null;
582
		case UmlParameterPackage.PARAMETER_RULE__EFFECT:
583
			return effect != null;
584
		}
585
		return super.eIsSet(featureID);
586
	}
587
588
588
	/**
589
    StringBuffer result = new StringBuffer(super.toString());
589
	 * <!-- begin-user-doc -->
590
    result.append(" (visibility: ");
590
	 * <!-- end-user-doc -->
591
    result.append(visibility);
591
	 * 
592
    result.append(", direction: ");
592
	 * @generated
593
    result.append(direction);
593
	 */
594
    result.append(", name: ");
594
	@Override
595
    result.append(name);
595
	public String toString() {
596
    result.append(')');
596
		if(eIsProxy())
597
    return result.toString();
597
			return super.toString();
598
  }
598
599
		StringBuffer result = new StringBuffer(super.toString());
600
		result.append(" (visibility: ");
601
		result.append(visibility);
602
		result.append(", direction: ");
603
		result.append(direction);
604
		result.append(", name: ");
605
		result.append(name);
606
		result.append(')');
607
		return result.toString();
608
	}
609
599
610
} //ParameterRuleImpl
600
} //ParameterRuleImpl
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/impl/UmlParameterFactoryImpl.java (-188 / +188 lines)
Lines 21-229 Link Here
21
 * <!-- begin-user-doc -->
21
 * <!-- begin-user-doc -->
22
 * An implementation of the model <b>Factory</b>.
22
 * An implementation of the model <b>Factory</b>.
23
 * <!-- end-user-doc -->
23
 * <!-- end-user-doc -->
24
 * 
25
 * @generated
24
 * @generated
26
 */
25
 */
27
public class UmlParameterFactoryImpl extends EFactoryImpl implements UmlParameterFactory {
26
public class UmlParameterFactoryImpl extends EFactoryImpl implements UmlParameterFactory
27
{
28
  /**
29
   * Creates the default factory implementation.
30
   * <!-- begin-user-doc -->
31
   * <!-- end-user-doc -->
32
   * @generated
33
   */
34
  public static UmlParameterFactory init()
35
  {
36
    try
37
    {
38
      UmlParameterFactory theUmlParameterFactory = (UmlParameterFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/parameter/editor/xtext/UmlParameter"); 
39
      if (theUmlParameterFactory != null)
40
      {
41
        return theUmlParameterFactory;
42
      }
43
    }
44
    catch (Exception exception)
45
    {
46
      EcorePlugin.INSTANCE.log(exception);
47
    }
48
    return new UmlParameterFactoryImpl();
49
  }
28
50
29
	/**
51
  /**
30
	 * Creates the default factory implementation.
52
   * Creates an instance of the factory.
31
	 * <!-- begin-user-doc -->
53
   * <!-- begin-user-doc -->
32
	 * <!-- end-user-doc -->
54
   * <!-- end-user-doc -->
33
	 * 
55
   * @generated
34
	 * @generated
56
   */
35
	 */
57
  public UmlParameterFactoryImpl()
36
	public static UmlParameterFactory init() {
58
  {
37
		try {
59
    super();
38
			UmlParameterFactory theUmlParameterFactory = (UmlParameterFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/parameter/editor/xtext/UmlParameter");
60
  }
39
			if(theUmlParameterFactory != null) {
40
				return theUmlParameterFactory;
41
			}
42
		} catch (Exception exception) {
43
			EcorePlugin.INSTANCE.log(exception);
44
		}
45
		return new UmlParameterFactoryImpl();
46
	}
47
61
48
	/**
62
  /**
49
	 * Creates an instance of the factory.
63
   * <!-- begin-user-doc -->
50
	 * <!-- begin-user-doc -->
64
   * <!-- end-user-doc -->
51
	 * <!-- end-user-doc -->
65
   * @generated
52
	 * 
66
   */
53
	 * @generated
67
  @Override
54
	 */
68
  public EObject create(EClass eClass)
55
	public UmlParameterFactoryImpl() {
69
  {
56
		super();
70
    switch (eClass.getClassifierID())
57
	}
71
    {
72
      case UmlParameterPackage.PARAMETER_RULE: return createParameterRule();
73
      case UmlParameterPackage.MODIFIERS_RULE: return createModifiersRule();
74
      case UmlParameterPackage.MODIFIER_SPECIFICATION: return createModifierSpecification();
75
      case UmlParameterPackage.EFFECT_RULE: return createEffectRule();
76
      default:
77
        throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
78
    }
79
  }
58
80
59
	/**
81
  /**
60
	 * <!-- begin-user-doc -->
82
   * <!-- begin-user-doc -->
61
	 * <!-- end-user-doc -->
83
   * <!-- end-user-doc -->
62
	 * 
84
   * @generated
63
	 * @generated
85
   */
64
	 */
86
  @Override
65
	@Override
87
  public Object createFromString(EDataType eDataType, String initialValue)
66
	public EObject create(EClass eClass) {
88
  {
67
		switch(eClass.getClassifierID()) {
89
    switch (eDataType.getClassifierID())
68
		case UmlParameterPackage.PARAMETER_RULE:
90
    {
69
			return createParameterRule();
91
      case UmlParameterPackage.MODIFIER_KIND:
70
		case UmlParameterPackage.MODIFIERS_RULE:
92
        return createModifierKindFromString(eDataType, initialValue);
71
			return createModifiersRule();
93
      case UmlParameterPackage.EFFECT_KIND:
72
		case UmlParameterPackage.MODIFIER_SPECIFICATION:
94
        return createEffectKindFromString(eDataType, initialValue);
73
			return createModifierSpecification();
95
      default:
74
		case UmlParameterPackage.EFFECT_RULE:
96
        throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
75
			return createEffectRule();
97
    }
76
		default:
98
  }
77
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
78
		}
79
	}
80
99
81
	/**
100
  /**
82
	 * <!-- begin-user-doc -->
101
   * <!-- begin-user-doc -->
83
	 * <!-- end-user-doc -->
102
   * <!-- end-user-doc -->
84
	 * 
103
   * @generated
85
	 * @generated
104
   */
86
	 */
105
  @Override
87
	@Override
106
  public String convertToString(EDataType eDataType, Object instanceValue)
88
	public Object createFromString(EDataType eDataType, String initialValue) {
107
  {
89
		switch(eDataType.getClassifierID()) {
108
    switch (eDataType.getClassifierID())
90
		case UmlParameterPackage.MODIFIER_KIND:
109
    {
91
			return createModifierKindFromString(eDataType, initialValue);
110
      case UmlParameterPackage.MODIFIER_KIND:
92
		case UmlParameterPackage.EFFECT_KIND:
111
        return convertModifierKindToString(eDataType, instanceValue);
93
			return createEffectKindFromString(eDataType, initialValue);
112
      case UmlParameterPackage.EFFECT_KIND:
94
		default:
113
        return convertEffectKindToString(eDataType, instanceValue);
95
			throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
114
      default:
96
		}
115
        throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
97
	}
116
    }
117
  }
98
118
99
	/**
119
  /**
100
	 * <!-- begin-user-doc -->
120
   * <!-- begin-user-doc -->
101
	 * <!-- end-user-doc -->
121
   * <!-- end-user-doc -->
102
	 * 
122
   * @generated
103
	 * @generated
123
   */
104
	 */
124
  public ParameterRule createParameterRule()
105
	@Override
125
  {
106
	public String convertToString(EDataType eDataType, Object instanceValue) {
126
    ParameterRuleImpl parameterRule = new ParameterRuleImpl();
107
		switch(eDataType.getClassifierID()) {
127
    return parameterRule;
108
		case UmlParameterPackage.MODIFIER_KIND:
128
  }
109
			return convertModifierKindToString(eDataType, instanceValue);
110
		case UmlParameterPackage.EFFECT_KIND:
111
			return convertEffectKindToString(eDataType, instanceValue);
112
		default:
113
			throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
114
		}
115
	}
116
129
117
	/**
130
  /**
118
	 * <!-- begin-user-doc -->
131
   * <!-- begin-user-doc -->
119
	 * <!-- end-user-doc -->
132
   * <!-- end-user-doc -->
120
	 * 
133
   * @generated
121
	 * @generated
134
   */
122
	 */
135
  public ModifiersRule createModifiersRule()
123
	public ParameterRule createParameterRule() {
136
  {
124
		ParameterRuleImpl parameterRule = new ParameterRuleImpl();
137
    ModifiersRuleImpl modifiersRule = new ModifiersRuleImpl();
125
		return parameterRule;
138
    return modifiersRule;
126
	}
139
  }
127
140
128
	/**
141
  /**
129
	 * <!-- begin-user-doc -->
142
   * <!-- begin-user-doc -->
130
	 * <!-- end-user-doc -->
143
   * <!-- end-user-doc -->
131
	 * 
144
   * @generated
132
	 * @generated
145
   */
133
	 */
146
  public ModifierSpecification createModifierSpecification()
134
	public ModifiersRule createModifiersRule() {
147
  {
135
		ModifiersRuleImpl modifiersRule = new ModifiersRuleImpl();
148
    ModifierSpecificationImpl modifierSpecification = new ModifierSpecificationImpl();
136
		return modifiersRule;
149
    return modifierSpecification;
137
	}
150
  }
138
151
139
	/**
152
  /**
140
	 * <!-- begin-user-doc -->
153
   * <!-- begin-user-doc -->
141
	 * <!-- end-user-doc -->
154
   * <!-- end-user-doc -->
142
	 * 
155
   * @generated
143
	 * @generated
156
   */
144
	 */
157
  public EffectRule createEffectRule()
145
	public ModifierSpecification createModifierSpecification() {
158
  {
146
		ModifierSpecificationImpl modifierSpecification = new ModifierSpecificationImpl();
159
    EffectRuleImpl effectRule = new EffectRuleImpl();
147
		return modifierSpecification;
160
    return effectRule;
148
	}
161
  }
149
162
150
	/**
163
  /**
151
	 * <!-- begin-user-doc -->
164
   * <!-- begin-user-doc -->
152
	 * <!-- end-user-doc -->
165
   * <!-- end-user-doc -->
153
	 * 
166
   * @generated
154
	 * @generated
167
   */
155
	 */
168
  public ModifierKind createModifierKindFromString(EDataType eDataType, String initialValue)
156
	public EffectRule createEffectRule() {
169
  {
157
		EffectRuleImpl effectRule = new EffectRuleImpl();
170
    ModifierKind result = ModifierKind.get(initialValue);
158
		return effectRule;
171
    if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
159
	}
172
    return result;
173
  }
160
174
161
	/**
175
  /**
162
	 * <!-- begin-user-doc -->
176
   * <!-- begin-user-doc -->
163
	 * <!-- end-user-doc -->
177
   * <!-- end-user-doc -->
164
	 * 
178
   * @generated
165
	 * @generated
179
   */
166
	 */
180
  public String convertModifierKindToString(EDataType eDataType, Object instanceValue)
167
	public ModifierKind createModifierKindFromString(EDataType eDataType, String initialValue) {
181
  {
168
		ModifierKind result = ModifierKind.get(initialValue);
182
    return instanceValue == null ? null : instanceValue.toString();
169
		if(result == null)
183
  }
170
			throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
171
		return result;
172
	}
173
184
174
	/**
185
  /**
175
	 * <!-- begin-user-doc -->
186
   * <!-- begin-user-doc -->
176
	 * <!-- end-user-doc -->
187
   * <!-- end-user-doc -->
177
	 * 
188
   * @generated
178
	 * @generated
189
   */
179
	 */
190
  public EffectKind createEffectKindFromString(EDataType eDataType, String initialValue)
180
	public String convertModifierKindToString(EDataType eDataType, Object instanceValue) {
191
  {
181
		return instanceValue == null ? null : instanceValue.toString();
192
    EffectKind result = EffectKind.get(initialValue);
182
	}
193
    if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
194
    return result;
195
  }
183
196
184
	/**
197
  /**
185
	 * <!-- begin-user-doc -->
198
   * <!-- begin-user-doc -->
186
	 * <!-- end-user-doc -->
199
   * <!-- end-user-doc -->
187
	 * 
200
   * @generated
188
	 * @generated
201
   */
189
	 */
202
  public String convertEffectKindToString(EDataType eDataType, Object instanceValue)
190
	public EffectKind createEffectKindFromString(EDataType eDataType, String initialValue) {
203
  {
191
		EffectKind result = EffectKind.get(initialValue);
204
    return instanceValue == null ? null : instanceValue.toString();
192
		if(result == null)
205
  }
193
			throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
194
		return result;
195
	}
196
206
197
	/**
207
  /**
198
	 * <!-- begin-user-doc -->
208
   * <!-- begin-user-doc -->
199
	 * <!-- end-user-doc -->
209
   * <!-- end-user-doc -->
200
	 * 
210
   * @generated
201
	 * @generated
211
   */
202
	 */
212
  public UmlParameterPackage getUmlParameterPackage()
203
	public String convertEffectKindToString(EDataType eDataType, Object instanceValue) {
213
  {
204
		return instanceValue == null ? null : instanceValue.toString();
214
    return (UmlParameterPackage)getEPackage();
205
	}
215
  }
206
216
207
	/**
217
  /**
208
	 * <!-- begin-user-doc -->
218
   * <!-- begin-user-doc -->
209
	 * <!-- end-user-doc -->
219
   * <!-- end-user-doc -->
210
	 * 
220
   * @deprecated
211
	 * @generated
221
   * @generated
212
	 */
222
   */
213
	public UmlParameterPackage getUmlParameterPackage() {
223
  @Deprecated
214
		return (UmlParameterPackage)getEPackage();
224
  public static UmlParameterPackage getPackage()
215
	}
225
  {
216
226
    return UmlParameterPackage.eINSTANCE;
217
	/**
227
  }
218
	 * <!-- begin-user-doc -->
219
	 * <!-- end-user-doc -->
220
	 * 
221
	 * @deprecated
222
	 * @generated
223
	 */
224
	@Deprecated
225
	public static UmlParameterPackage getPackage() {
226
		return UmlParameterPackage.eINSTANCE;
227
	}
228
228
229
} //UmlParameterFactoryImpl
229
} //UmlParameterFactoryImpl
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/impl/EffectRuleImpl.java (-138 / +139 lines)
Lines 24-181 Link Here
24
 * <p>
24
 * <p>
25
 * The following features are implemented:
25
 * The following features are implemented:
26
 * <ul>
26
 * <ul>
27
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.EffectRuleImpl#getEffectKind <em>Effect Kind</em>}</li>
27
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.EffectRuleImpl#getEffectKind <em>Effect Kind</em>}</li>
28
 * </ul>
28
 * </ul>
29
 * </p>
29
 * </p>
30
 * 
30
 *
31
 * @generated
31
 * @generated
32
 */
32
 */
33
public class EffectRuleImpl extends MinimalEObjectImpl.Container implements EffectRule {
33
public class EffectRuleImpl extends MinimalEObjectImpl.Container implements EffectRule
34
{
35
  /**
36
   * The default value of the '{@link #getEffectKind() <em>Effect Kind</em>}' attribute.
37
   * <!-- begin-user-doc -->
38
   * <!-- end-user-doc -->
39
   * @see #getEffectKind()
40
   * @generated
41
   * @ordered
42
   */
43
  protected static final EffectKind EFFECT_KIND_EDEFAULT = EffectKind.CREATE;
34
44
35
	/**
45
  /**
36
	 * The default value of the '{@link #getEffectKind() <em>Effect Kind</em>}' attribute.
46
   * The cached value of the '{@link #getEffectKind() <em>Effect Kind</em>}' attribute.
37
	 * <!-- begin-user-doc -->
47
   * <!-- begin-user-doc -->
38
	 * <!-- end-user-doc -->
48
   * <!-- end-user-doc -->
39
	 * 
49
   * @see #getEffectKind()
40
	 * @see #getEffectKind()
50
   * @generated
41
	 * @generated
51
   * @ordered
42
	 * @ordered
52
   */
43
	 */
53
  protected EffectKind effectKind = EFFECT_KIND_EDEFAULT;
44
	protected static final EffectKind EFFECT_KIND_EDEFAULT = EffectKind.CREATE;
45
54
46
	/**
55
  /**
47
	 * The cached value of the '{@link #getEffectKind() <em>Effect Kind</em>}' attribute.
56
   * <!-- begin-user-doc -->
48
	 * <!-- begin-user-doc -->
57
   * <!-- end-user-doc -->
49
	 * <!-- end-user-doc -->
58
   * @generated
50
	 * 
59
   */
51
	 * @see #getEffectKind()
60
  protected EffectRuleImpl()
52
	 * @generated
61
  {
53
	 * @ordered
62
    super();
54
	 */
63
  }
55
	protected EffectKind effectKind = EFFECT_KIND_EDEFAULT;
56
64
57
	/**
65
  /**
58
	 * <!-- begin-user-doc -->
66
   * <!-- begin-user-doc -->
59
	 * <!-- end-user-doc -->
67
   * <!-- end-user-doc -->
60
	 * 
68
   * @generated
61
	 * @generated
69
   */
62
	 */
70
  @Override
63
	protected EffectRuleImpl() {
71
  protected EClass eStaticClass()
64
		super();
72
  {
65
	}
73
    return UmlParameterPackage.Literals.EFFECT_RULE;
74
  }
66
75
67
	/**
76
  /**
68
	 * <!-- begin-user-doc -->
77
   * <!-- begin-user-doc -->
69
	 * <!-- end-user-doc -->
78
   * <!-- end-user-doc -->
70
	 * 
79
   * @generated
71
	 * @generated
80
   */
72
	 */
81
  public EffectKind getEffectKind()
73
	@Override
82
  {
74
	protected EClass eStaticClass() {
83
    return effectKind;
75
		return UmlParameterPackage.Literals.EFFECT_RULE;
84
  }
76
	}
77
85
78
	/**
86
  /**
79
	 * <!-- begin-user-doc -->
87
   * <!-- begin-user-doc -->
80
	 * <!-- end-user-doc -->
88
   * <!-- end-user-doc -->
81
	 * 
89
   * @generated
82
	 * @generated
90
   */
83
	 */
91
  public void setEffectKind(EffectKind newEffectKind)
84
	public EffectKind getEffectKind() {
92
  {
85
		return effectKind;
93
    EffectKind oldEffectKind = effectKind;
86
	}
94
    effectKind = newEffectKind == null ? EFFECT_KIND_EDEFAULT : newEffectKind;
95
    if (eNotificationRequired())
96
      eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.EFFECT_RULE__EFFECT_KIND, oldEffectKind, effectKind));
97
  }
87
98
88
	/**
99
  /**
89
	 * <!-- begin-user-doc -->
100
   * <!-- begin-user-doc -->
90
	 * <!-- end-user-doc -->
101
   * <!-- end-user-doc -->
91
	 * 
102
   * @generated
92
	 * @generated
103
   */
93
	 */
104
  @Override
94
	public void setEffectKind(EffectKind newEffectKind) {
105
  public Object eGet(int featureID, boolean resolve, boolean coreType)
95
		EffectKind oldEffectKind = effectKind;
106
  {
96
		effectKind = newEffectKind == null ? EFFECT_KIND_EDEFAULT : newEffectKind;
107
    switch (featureID)
97
		if(eNotificationRequired())
108
    {
98
			eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.EFFECT_RULE__EFFECT_KIND, oldEffectKind, effectKind));
109
      case UmlParameterPackage.EFFECT_RULE__EFFECT_KIND:
99
	}
110
        return getEffectKind();
111
    }
112
    return super.eGet(featureID, resolve, coreType);
113
  }
100
114
101
	/**
115
  /**
102
	 * <!-- begin-user-doc -->
116
   * <!-- begin-user-doc -->
103
	 * <!-- end-user-doc -->
117
   * <!-- end-user-doc -->
104
	 * 
118
   * @generated
105
	 * @generated
119
   */
106
	 */
120
  @Override
107
	@Override
121
  public void eSet(int featureID, Object newValue)
108
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
122
  {
109
		switch(featureID) {
123
    switch (featureID)
110
		case UmlParameterPackage.EFFECT_RULE__EFFECT_KIND:
124
    {
111
			return getEffectKind();
125
      case UmlParameterPackage.EFFECT_RULE__EFFECT_KIND:
112
		}
126
        setEffectKind((EffectKind)newValue);
113
		return super.eGet(featureID, resolve, coreType);
127
        return;
114
	}
128
    }
129
    super.eSet(featureID, newValue);
130
  }
115
131
116
	/**
132
  /**
117
	 * <!-- begin-user-doc -->
133
   * <!-- begin-user-doc -->
118
	 * <!-- end-user-doc -->
134
   * <!-- end-user-doc -->
119
	 * 
135
   * @generated
120
	 * @generated
136
   */
121
	 */
137
  @Override
122
	@Override
138
  public void eUnset(int featureID)
123
	public void eSet(int featureID, Object newValue) {
139
  {
124
		switch(featureID) {
140
    switch (featureID)
125
		case UmlParameterPackage.EFFECT_RULE__EFFECT_KIND:
141
    {
126
			setEffectKind((EffectKind)newValue);
142
      case UmlParameterPackage.EFFECT_RULE__EFFECT_KIND:
127
			return;
143
        setEffectKind(EFFECT_KIND_EDEFAULT);
128
		}
144
        return;
129
		super.eSet(featureID, newValue);
145
    }
130
	}
146
    super.eUnset(featureID);
147
  }
131
148
132
	/**
149
  /**
133
	 * <!-- begin-user-doc -->
150
   * <!-- begin-user-doc -->
134
	 * <!-- end-user-doc -->
151
   * <!-- end-user-doc -->
135
	 * 
152
   * @generated
136
	 * @generated
153
   */
137
	 */
154
  @Override
138
	@Override
155
  public boolean eIsSet(int featureID)
139
	public void eUnset(int featureID) {
156
  {
140
		switch(featureID) {
157
    switch (featureID)
141
		case UmlParameterPackage.EFFECT_RULE__EFFECT_KIND:
158
    {
142
			setEffectKind(EFFECT_KIND_EDEFAULT);
159
      case UmlParameterPackage.EFFECT_RULE__EFFECT_KIND:
143
			return;
160
        return effectKind != EFFECT_KIND_EDEFAULT;
144
		}
161
    }
145
		super.eUnset(featureID);
162
    return super.eIsSet(featureID);
146
	}
163
  }
147
164
148
	/**
165
  /**
149
	 * <!-- begin-user-doc -->
166
   * <!-- begin-user-doc -->
150
	 * <!-- end-user-doc -->
167
   * <!-- end-user-doc -->
151
	 * 
168
   * @generated
152
	 * @generated
169
   */
153
	 */
170
  @Override
154
	@Override
171
  public String toString()
155
	public boolean eIsSet(int featureID) {
172
  {
156
		switch(featureID) {
173
    if (eIsProxy()) return super.toString();
157
		case UmlParameterPackage.EFFECT_RULE__EFFECT_KIND:
158
			return effectKind != EFFECT_KIND_EDEFAULT;
159
		}
160
		return super.eIsSet(featureID);
161
	}
162
174
163
	/**
175
    StringBuffer result = new StringBuffer(super.toString());
164
	 * <!-- begin-user-doc -->
176
    result.append(" (effectKind: ");
165
	 * <!-- end-user-doc -->
177
    result.append(effectKind);
166
	 * 
178
    result.append(')');
167
	 * @generated
179
    return result.toString();
168
	 */
180
  }
169
	@Override
170
	public String toString() {
171
		if(eIsProxy())
172
			return super.toString();
173
174
		StringBuffer result = new StringBuffer(super.toString());
175
		result.append(" (effectKind: ");
176
		result.append(effectKind);
177
		result.append(')');
178
		return result.toString();
179
	}
180
181
181
} //EffectRuleImpl
182
} //EffectRuleImpl
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/impl/UmlParameterPackageImpl.java (-347 / +338 lines)
Lines 29-435 Link Here
29
 * <!-- begin-user-doc -->
29
 * <!-- begin-user-doc -->
30
 * An implementation of the model <b>Package</b>.
30
 * An implementation of the model <b>Package</b>.
31
 * <!-- end-user-doc -->
31
 * <!-- end-user-doc -->
32
 * 
33
 * @generated
32
 * @generated
34
 */
33
 */
35
public class UmlParameterPackageImpl extends EPackageImpl implements UmlParameterPackage {
34
public class UmlParameterPackageImpl extends EPackageImpl implements UmlParameterPackage
36
35
{
37
	/**
36
  /**
38
	 * <!-- begin-user-doc -->
37
   * <!-- begin-user-doc -->
39
	 * <!-- end-user-doc -->
38
   * <!-- end-user-doc -->
40
	 * 
39
   * @generated
41
	 * @generated
40
   */
42
	 */
41
  private EClass parameterRuleEClass = null;
43
	private EClass parameterRuleEClass = null;
44
42
45
	/**
43
  /**
46
	 * <!-- begin-user-doc -->
44
   * <!-- begin-user-doc -->
47
	 * <!-- end-user-doc -->
45
   * <!-- end-user-doc -->
48
	 * 
46
   * @generated
49
	 * @generated
47
   */
50
	 */
48
  private EClass modifiersRuleEClass = null;
51
	private EClass modifiersRuleEClass = null;
52
49
53
	/**
50
  /**
54
	 * <!-- begin-user-doc -->
51
   * <!-- begin-user-doc -->
55
	 * <!-- end-user-doc -->
52
   * <!-- end-user-doc -->
56
	 * 
53
   * @generated
57
	 * @generated
54
   */
58
	 */
55
  private EClass modifierSpecificationEClass = null;
59
	private EClass modifierSpecificationEClass = null;
60
56
61
	/**
57
  /**
62
	 * <!-- begin-user-doc -->
58
   * <!-- begin-user-doc -->
63
	 * <!-- end-user-doc -->
59
   * <!-- end-user-doc -->
64
	 * 
60
   * @generated
65
	 * @generated
61
   */
66
	 */
62
  private EClass effectRuleEClass = null;
67
	private EClass effectRuleEClass = null;
68
63
69
	/**
64
  /**
70
	 * <!-- begin-user-doc -->
65
   * <!-- begin-user-doc -->
71
	 * <!-- end-user-doc -->
66
   * <!-- end-user-doc -->
72
	 * 
67
   * @generated
73
	 * @generated
68
   */
74
	 */
69
  private EEnum modifierKindEEnum = null;
75
	private EEnum modifierKindEEnum = null;
76
70
77
	/**
71
  /**
78
	 * <!-- begin-user-doc -->
72
   * <!-- begin-user-doc -->
79
	 * <!-- end-user-doc -->
73
   * <!-- end-user-doc -->
80
	 * 
74
   * @generated
81
	 * @generated
75
   */
82
	 */
76
  private EEnum effectKindEEnum = null;
83
	private EEnum effectKindEEnum = null;
84
77
85
	/**
78
  /**
86
	 * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the
79
   * Creates an instance of the model <b>Package</b>, registered with
87
	 * package
80
   * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
88
	 * package URI value.
81
   * package URI value.
89
	 * <p>
82
   * <p>Note: the correct way to create the package is via the static
90
	 * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
83
   * factory method {@link #init init()}, which also performs
91
	 * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
84
   * initialization of the package, or returns the registered package,
92
	 * 
85
   * if one already exists.
93
	 * @see org.eclipse.emf.ecore.EPackage.Registry
86
   * <!-- begin-user-doc -->
94
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#eNS_URI
87
   * <!-- end-user-doc -->
95
	 * @see #init()
88
   * @see org.eclipse.emf.ecore.EPackage.Registry
96
	 * @generated
89
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#eNS_URI
97
	 */
90
   * @see #init()
98
	private UmlParameterPackageImpl() {
91
   * @generated
99
		super(eNS_URI, UmlParameterFactory.eINSTANCE);
92
   */
100
	}
93
  private UmlParameterPackageImpl()
94
  {
95
    super(eNS_URI, UmlParameterFactory.eINSTANCE);
96
  }
101
97
102
	/**
98
  /**
103
	 * <!-- begin-user-doc -->
99
   * <!-- begin-user-doc -->
104
	 * <!-- end-user-doc -->
100
   * <!-- end-user-doc -->
105
	 * 
101
   * @generated
106
	 * @generated
102
   */
107
	 */
103
  private static boolean isInited = false;
108
	private static boolean isInited = false;
109
104
110
	/**
105
  /**
111
	 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
106
   * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
112
	 * 
107
   * 
113
	 * <p>
108
   * <p>This method is used to initialize {@link UmlParameterPackage#eINSTANCE} when that field is accessed.
114
	 * This method is used to initialize {@link UmlParameterPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly.
109
   * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
115
	 * Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
110
   * <!-- begin-user-doc -->
116
	 * 
111
   * <!-- end-user-doc -->
117
	 * @see #eNS_URI
112
   * @see #eNS_URI
118
	 * @see #createPackageContents()
113
   * @see #createPackageContents()
119
	 * @see #initializePackageContents()
114
   * @see #initializePackageContents()
120
	 * @generated
115
   * @generated
121
	 */
116
   */
122
	public static UmlParameterPackage init() {
117
  public static UmlParameterPackage init()
123
		if(isInited)
118
  {
124
			return (UmlParameterPackage)EPackage.Registry.INSTANCE.getEPackage(UmlParameterPackage.eNS_URI);
119
    if (isInited) return (UmlParameterPackage)EPackage.Registry.INSTANCE.getEPackage(UmlParameterPackage.eNS_URI);
125
120
126
		// Obtain or create and register package
121
    // Obtain or create and register package
127
		UmlParameterPackageImpl theUmlParameterPackage = (UmlParameterPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof UmlParameterPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new UmlParameterPackageImpl());
122
    UmlParameterPackageImpl theUmlParameterPackage = (UmlParameterPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof UmlParameterPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new UmlParameterPackageImpl());
128
123
129
		isInited = true;
124
    isInited = true;
130
125
131
		// Initialize simple dependencies
126
    // Initialize simple dependencies
132
		UmlCommonPackage.eINSTANCE.eClass();
127
    UmlCommonPackage.eINSTANCE.eClass();
133
128
134
		// Create package meta-data objects
129
    // Create package meta-data objects
135
		theUmlParameterPackage.createPackageContents();
130
    theUmlParameterPackage.createPackageContents();
136
131
137
		// Initialize created meta-data
132
    // Initialize created meta-data
138
		theUmlParameterPackage.initializePackageContents();
133
    theUmlParameterPackage.initializePackageContents();
139
134
140
		// Mark meta-data to indicate it can't be changed
135
    // Mark meta-data to indicate it can't be changed
141
		theUmlParameterPackage.freeze();
136
    theUmlParameterPackage.freeze();
142
137
138
  
139
    // Update the registry and return the package
140
    EPackage.Registry.INSTANCE.put(UmlParameterPackage.eNS_URI, theUmlParameterPackage);
141
    return theUmlParameterPackage;
142
  }
143
143
144
		// Update the registry and return the package
144
  /**
145
		EPackage.Registry.INSTANCE.put(UmlParameterPackage.eNS_URI, theUmlParameterPackage);
145
   * <!-- begin-user-doc -->
146
		return theUmlParameterPackage;
146
   * <!-- end-user-doc -->
147
	}
147
   * @generated
148
   */
149
  public EClass getParameterRule()
150
  {
151
    return parameterRuleEClass;
152
  }
148
153
149
	/**
154
  /**
150
	 * <!-- begin-user-doc -->
155
   * <!-- begin-user-doc -->
151
	 * <!-- end-user-doc -->
156
   * <!-- end-user-doc -->
152
	 * 
157
   * @generated
153
	 * @generated
158
   */
154
	 */
159
  public EAttribute getParameterRule_Visibility()
155
	public EClass getParameterRule() {
160
  {
156
		return parameterRuleEClass;
161
    return (EAttribute)parameterRuleEClass.getEStructuralFeatures().get(0);
157
	}
162
  }
158
163
159
	/**
164
  /**
160
	 * <!-- begin-user-doc -->
165
   * <!-- begin-user-doc -->
161
	 * <!-- end-user-doc -->
166
   * <!-- end-user-doc -->
162
	 * 
167
   * @generated
163
	 * @generated
168
   */
164
	 */
169
  public EAttribute getParameterRule_Direction()
165
	public EAttribute getParameterRule_Visibility() {
170
  {
166
		return (EAttribute)parameterRuleEClass.getEStructuralFeatures().get(0);
171
    return (EAttribute)parameterRuleEClass.getEStructuralFeatures().get(1);
167
	}
172
  }
168
173
169
	/**
174
  /**
170
	 * <!-- begin-user-doc -->
175
   * <!-- begin-user-doc -->
171
	 * <!-- end-user-doc -->
176
   * <!-- end-user-doc -->
172
	 * 
177
   * @generated
173
	 * @generated
178
   */
174
	 */
179
  public EAttribute getParameterRule_Name()
175
	public EAttribute getParameterRule_Direction() {
180
  {
176
		return (EAttribute)parameterRuleEClass.getEStructuralFeatures().get(1);
181
    return (EAttribute)parameterRuleEClass.getEStructuralFeatures().get(2);
177
	}
182
  }
178
183
179
	/**
184
  /**
180
	 * <!-- begin-user-doc -->
185
   * <!-- begin-user-doc -->
181
	 * <!-- end-user-doc -->
186
   * <!-- end-user-doc -->
182
	 * 
187
   * @generated
183
	 * @generated
188
   */
184
	 */
189
  public EReference getParameterRule_Type()
185
	public EAttribute getParameterRule_Name() {
190
  {
186
		return (EAttribute)parameterRuleEClass.getEStructuralFeatures().get(2);
191
    return (EReference)parameterRuleEClass.getEStructuralFeatures().get(3);
187
	}
192
  }
188
193
189
	/**
194
  /**
190
	 * <!-- begin-user-doc -->
195
   * <!-- begin-user-doc -->
191
	 * <!-- end-user-doc -->
196
   * <!-- end-user-doc -->
192
	 * 
197
   * @generated
193
	 * @generated
198
   */
194
	 */
199
  public EReference getParameterRule_Multiplicity()
195
	public EReference getParameterRule_Type() {
200
  {
196
		return (EReference)parameterRuleEClass.getEStructuralFeatures().get(3);
201
    return (EReference)parameterRuleEClass.getEStructuralFeatures().get(4);
197
	}
202
  }
198
203
199
	/**
204
  /**
200
	 * <!-- begin-user-doc -->
205
   * <!-- begin-user-doc -->
201
	 * <!-- end-user-doc -->
206
   * <!-- end-user-doc -->
202
	 * 
207
   * @generated
203
	 * @generated
208
   */
204
	 */
209
  public EReference getParameterRule_Modifiers()
205
	public EReference getParameterRule_Multiplicity() {
210
  {
206
		return (EReference)parameterRuleEClass.getEStructuralFeatures().get(4);
211
    return (EReference)parameterRuleEClass.getEStructuralFeatures().get(5);
207
	}
212
  }
208
213
209
	/**
214
  /**
210
	 * <!-- begin-user-doc -->
215
   * <!-- begin-user-doc -->
211
	 * <!-- end-user-doc -->
216
   * <!-- end-user-doc -->
212
	 * 
217
   * @generated
213
	 * @generated
218
   */
214
	 */
219
  public EReference getParameterRule_Effect()
215
	public EReference getParameterRule_Modifiers() {
220
  {
216
		return (EReference)parameterRuleEClass.getEStructuralFeatures().get(5);
221
    return (EReference)parameterRuleEClass.getEStructuralFeatures().get(6);
217
	}
222
  }
218
223
219
	/**
224
  /**
220
	 * <!-- begin-user-doc -->
225
   * <!-- begin-user-doc -->
221
	 * <!-- end-user-doc -->
226
   * <!-- end-user-doc -->
222
	 * 
227
   * @generated
223
	 * @generated
228
   */
224
	 */
229
  public EClass getModifiersRule()
225
	public EReference getParameterRule_Effect() {
230
  {
226
		return (EReference)parameterRuleEClass.getEStructuralFeatures().get(6);
231
    return modifiersRuleEClass;
227
	}
232
  }
228
233
229
	/**
234
  /**
230
	 * <!-- begin-user-doc -->
235
   * <!-- begin-user-doc -->
231
	 * <!-- end-user-doc -->
236
   * <!-- end-user-doc -->
232
	 * 
237
   * @generated
233
	 * @generated
238
   */
234
	 */
239
  public EReference getModifiersRule_Values()
235
	public EClass getModifiersRule() {
240
  {
236
		return modifiersRuleEClass;
241
    return (EReference)modifiersRuleEClass.getEStructuralFeatures().get(0);
237
	}
242
  }
238
243
239
	/**
244
  /**
240
	 * <!-- begin-user-doc -->
245
   * <!-- begin-user-doc -->
241
	 * <!-- end-user-doc -->
246
   * <!-- end-user-doc -->
242
	 * 
247
   * @generated
243
	 * @generated
248
   */
244
	 */
249
  public EClass getModifierSpecification()
245
	public EReference getModifiersRule_Values() {
250
  {
246
		return (EReference)modifiersRuleEClass.getEStructuralFeatures().get(0);
251
    return modifierSpecificationEClass;
247
	}
252
  }
248
253
249
	/**
254
  /**
250
	 * <!-- begin-user-doc -->
255
   * <!-- begin-user-doc -->
251
	 * <!-- end-user-doc -->
256
   * <!-- end-user-doc -->
252
	 * 
257
   * @generated
253
	 * @generated
258
   */
254
	 */
259
  public EAttribute getModifierSpecification_Value()
255
	public EClass getModifierSpecification() {
260
  {
256
		return modifierSpecificationEClass;
261
    return (EAttribute)modifierSpecificationEClass.getEStructuralFeatures().get(0);
257
	}
262
  }
258
263
259
	/**
264
  /**
260
	 * <!-- begin-user-doc -->
265
   * <!-- begin-user-doc -->
261
	 * <!-- end-user-doc -->
266
   * <!-- end-user-doc -->
262
	 * 
267
   * @generated
263
	 * @generated
268
   */
264
	 */
269
  public EClass getEffectRule()
265
	public EAttribute getModifierSpecification_Value() {
270
  {
266
		return (EAttribute)modifierSpecificationEClass.getEStructuralFeatures().get(0);
271
    return effectRuleEClass;
267
	}
272
  }
268
273
269
	/**
274
  /**
270
	 * <!-- begin-user-doc -->
275
   * <!-- begin-user-doc -->
271
	 * <!-- end-user-doc -->
276
   * <!-- end-user-doc -->
272
	 * 
277
   * @generated
273
	 * @generated
278
   */
274
	 */
279
  public EAttribute getEffectRule_EffectKind()
275
	public EClass getEffectRule() {
280
  {
276
		return effectRuleEClass;
281
    return (EAttribute)effectRuleEClass.getEStructuralFeatures().get(0);
277
	}
282
  }
278
283
279
	/**
284
  /**
280
	 * <!-- begin-user-doc -->
285
   * <!-- begin-user-doc -->
281
	 * <!-- end-user-doc -->
286
   * <!-- end-user-doc -->
282
	 * 
287
   * @generated
283
	 * @generated
288
   */
284
	 */
289
  public EEnum getModifierKind()
285
	public EAttribute getEffectRule_EffectKind() {
290
  {
286
		return (EAttribute)effectRuleEClass.getEStructuralFeatures().get(0);
291
    return modifierKindEEnum;
287
	}
292
  }
288
293
289
	/**
294
  /**
290
	 * <!-- begin-user-doc -->
295
   * <!-- begin-user-doc -->
291
	 * <!-- end-user-doc -->
296
   * <!-- end-user-doc -->
292
	 * 
297
   * @generated
293
	 * @generated
298
   */
294
	 */
299
  public EEnum getEffectKind()
295
	public EEnum getModifierKind() {
300
  {
296
		return modifierKindEEnum;
301
    return effectKindEEnum;
297
	}
302
  }
298
303
299
	/**
304
  /**
300
	 * <!-- begin-user-doc -->
305
   * <!-- begin-user-doc -->
301
	 * <!-- end-user-doc -->
306
   * <!-- end-user-doc -->
302
	 * 
307
   * @generated
303
	 * @generated
308
   */
304
	 */
309
  public UmlParameterFactory getUmlParameterFactory()
305
	public EEnum getEffectKind() {
310
  {
306
		return effectKindEEnum;
311
    return (UmlParameterFactory)getEFactoryInstance();
307
	}
312
  }
308
313
309
	/**
314
  /**
310
	 * <!-- begin-user-doc -->
315
   * <!-- begin-user-doc -->
311
	 * <!-- end-user-doc -->
316
   * <!-- end-user-doc -->
312
	 * 
317
   * @generated
313
	 * @generated
318
   */
314
	 */
319
  private boolean isCreated = false;
315
	public UmlParameterFactory getUmlParameterFactory() {
316
		return (UmlParameterFactory)getEFactoryInstance();
317
	}
318
320
319
	/**
321
  /**
320
	 * <!-- begin-user-doc -->
322
   * Creates the meta-model objects for the package.  This method is
321
	 * <!-- end-user-doc -->
323
   * guarded to have no affect on any invocation but its first.
322
	 * 
324
   * <!-- begin-user-doc -->
323
	 * @generated
325
   * <!-- end-user-doc -->
324
	 */
326
   * @generated
325
	private boolean isCreated = false;
327
   */
328
  public void createPackageContents()
329
  {
330
    if (isCreated) return;
331
    isCreated = true;
326
332
327
	/**
333
    // Create classes and their features
328
	 * Creates the meta-model objects for the package. This method is
334
    parameterRuleEClass = createEClass(PARAMETER_RULE);
329
	 * guarded to have no affect on any invocation but its first.
335
    createEAttribute(parameterRuleEClass, PARAMETER_RULE__VISIBILITY);
330
	 * <!-- begin-user-doc -->
336
    createEAttribute(parameterRuleEClass, PARAMETER_RULE__DIRECTION);
331
	 * <!-- end-user-doc -->
337
    createEAttribute(parameterRuleEClass, PARAMETER_RULE__NAME);
332
	 * 
338
    createEReference(parameterRuleEClass, PARAMETER_RULE__TYPE);
333
	 * @generated
339
    createEReference(parameterRuleEClass, PARAMETER_RULE__MULTIPLICITY);
334
	 */
340
    createEReference(parameterRuleEClass, PARAMETER_RULE__MODIFIERS);
335
	public void createPackageContents() {
341
    createEReference(parameterRuleEClass, PARAMETER_RULE__EFFECT);
336
		if(isCreated)
337
			return;
338
		isCreated = true;
339
342
340
		// Create classes and their features
343
    modifiersRuleEClass = createEClass(MODIFIERS_RULE);
341
		parameterRuleEClass = createEClass(PARAMETER_RULE);
344
    createEReference(modifiersRuleEClass, MODIFIERS_RULE__VALUES);
342
		createEAttribute(parameterRuleEClass, PARAMETER_RULE__VISIBILITY);
343
		createEAttribute(parameterRuleEClass, PARAMETER_RULE__DIRECTION);
344
		createEAttribute(parameterRuleEClass, PARAMETER_RULE__NAME);
345
		createEReference(parameterRuleEClass, PARAMETER_RULE__TYPE);
346
		createEReference(parameterRuleEClass, PARAMETER_RULE__MULTIPLICITY);
347
		createEReference(parameterRuleEClass, PARAMETER_RULE__MODIFIERS);
348
		createEReference(parameterRuleEClass, PARAMETER_RULE__EFFECT);
349
345
350
		modifiersRuleEClass = createEClass(MODIFIERS_RULE);
346
    modifierSpecificationEClass = createEClass(MODIFIER_SPECIFICATION);
351
		createEReference(modifiersRuleEClass, MODIFIERS_RULE__VALUES);
347
    createEAttribute(modifierSpecificationEClass, MODIFIER_SPECIFICATION__VALUE);
352
348
353
		modifierSpecificationEClass = createEClass(MODIFIER_SPECIFICATION);
349
    effectRuleEClass = createEClass(EFFECT_RULE);
354
		createEAttribute(modifierSpecificationEClass, MODIFIER_SPECIFICATION__VALUE);
350
    createEAttribute(effectRuleEClass, EFFECT_RULE__EFFECT_KIND);
355
351
356
		effectRuleEClass = createEClass(EFFECT_RULE);
352
    // Create enums
357
		createEAttribute(effectRuleEClass, EFFECT_RULE__EFFECT_KIND);
353
    modifierKindEEnum = createEEnum(MODIFIER_KIND);
354
    effectKindEEnum = createEEnum(EFFECT_KIND);
355
  }
358
356
359
		// Create enums
357
  /**
360
		modifierKindEEnum = createEEnum(MODIFIER_KIND);
358
   * <!-- begin-user-doc -->
361
		effectKindEEnum = createEEnum(EFFECT_KIND);
359
   * <!-- end-user-doc -->
362
	}
360
   * @generated
361
   */
362
  private boolean isInitialized = false;
363
363
364
	/**
364
  /**
365
	 * <!-- begin-user-doc -->
365
   * Complete the initialization of the package and its meta-model.  This
366
	 * <!-- end-user-doc -->
366
   * method is guarded to have no affect on any invocation but its first.
367
	 * 
367
   * <!-- begin-user-doc -->
368
	 * @generated
368
   * <!-- end-user-doc -->
369
	 */
369
   * @generated
370
	private boolean isInitialized = false;
370
   */
371
  public void initializePackageContents()
372
  {
373
    if (isInitialized) return;
374
    isInitialized = true;
371
375
372
	/**
376
    // Initialize package
373
	 * Complete the initialization of the package and its meta-model. This
377
    setName(eNAME);
374
	 * method is guarded to have no affect on any invocation but its first.
378
    setNsPrefix(eNS_PREFIX);
375
	 * <!-- begin-user-doc -->
379
    setNsURI(eNS_URI);
376
	 * <!-- end-user-doc -->
377
	 * 
378
	 * @generated
379
	 */
380
	public void initializePackageContents() {
381
		if(isInitialized)
382
			return;
383
		isInitialized = true;
384
380
385
		// Initialize package
381
    // Obtain other dependent packages
386
		setName(eNAME);
382
    UmlCommonPackage theUmlCommonPackage = (UmlCommonPackage)EPackage.Registry.INSTANCE.getEPackage(UmlCommonPackage.eNS_URI);
387
		setNsPrefix(eNS_PREFIX);
388
		setNsURI(eNS_URI);
389
383
390
		// Obtain other dependent packages
384
    // Create type parameters
391
		UmlCommonPackage theUmlCommonPackage = (UmlCommonPackage)EPackage.Registry.INSTANCE.getEPackage(UmlCommonPackage.eNS_URI);
392
385
393
		// Create type parameters
386
    // Set bounds for type parameters
394
387
395
		// Set bounds for type parameters
388
    // Add supertypes to classes
396
389
397
		// Add supertypes to classes
390
    // Initialize classes and features; add operations and parameters
391
    initEClass(parameterRuleEClass, ParameterRule.class, "ParameterRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
392
    initEAttribute(getParameterRule_Visibility(), theUmlCommonPackage.getVisibilityKind(), "visibility", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
393
    initEAttribute(getParameterRule_Direction(), theUmlCommonPackage.getDirection(), "direction", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
394
    initEAttribute(getParameterRule_Name(), ecorePackage.getEString(), "name", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
395
    initEReference(getParameterRule_Type(), theUmlCommonPackage.getTypeRule(), null, "type", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
396
    initEReference(getParameterRule_Multiplicity(), theUmlCommonPackage.getMultiplicityRule(), null, "multiplicity", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
397
    initEReference(getParameterRule_Modifiers(), this.getModifiersRule(), null, "modifiers", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
398
    initEReference(getParameterRule_Effect(), this.getEffectRule(), null, "effect", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
398
399
399
		// Initialize classes and features; add operations and parameters
400
    initEClass(modifiersRuleEClass, ModifiersRule.class, "ModifiersRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
400
		initEClass(parameterRuleEClass, ParameterRule.class, "ParameterRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
401
    initEReference(getModifiersRule_Values(), this.getModifierSpecification(), null, "values", null, 0, -1, ModifiersRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
401
		initEAttribute(getParameterRule_Visibility(), theUmlCommonPackage.getVisibilityKind(), "visibility", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
402
		initEAttribute(getParameterRule_Direction(), theUmlCommonPackage.getDirection(), "direction", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
403
		initEAttribute(getParameterRule_Name(), ecorePackage.getEString(), "name", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
404
		initEReference(getParameterRule_Type(), theUmlCommonPackage.getTypeRule(), null, "type", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
405
		initEReference(getParameterRule_Multiplicity(), theUmlCommonPackage.getMultiplicityRule(), null, "multiplicity", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
406
		initEReference(getParameterRule_Modifiers(), this.getModifiersRule(), null, "modifiers", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
407
		initEReference(getParameterRule_Effect(), this.getEffectRule(), null, "effect", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
408
402
409
		initEClass(modifiersRuleEClass, ModifiersRule.class, "ModifiersRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
403
    initEClass(modifierSpecificationEClass, ModifierSpecification.class, "ModifierSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
410
		initEReference(getModifiersRule_Values(), this.getModifierSpecification(), null, "values", null, 0, -1, ModifiersRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
404
    initEAttribute(getModifierSpecification_Value(), this.getModifierKind(), "value", null, 0, 1, ModifierSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
411
405
412
		initEClass(modifierSpecificationEClass, ModifierSpecification.class, "ModifierSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
406
    initEClass(effectRuleEClass, EffectRule.class, "EffectRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
413
		initEAttribute(getModifierSpecification_Value(), this.getModifierKind(), "value", null, 0, 1, ModifierSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
407
    initEAttribute(getEffectRule_EffectKind(), this.getEffectKind(), "effectKind", null, 0, 1, EffectRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
414
408
415
		initEClass(effectRuleEClass, EffectRule.class, "EffectRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
409
    // Initialize enums and add enum literals
416
		initEAttribute(getEffectRule_EffectKind(), this.getEffectKind(), "effectKind", null, 0, 1, EffectRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
410
    initEEnum(modifierKindEEnum, ModifierKind.class, "ModifierKind");
411
    addEEnumLiteral(modifierKindEEnum, ModifierKind.EXCEPTION);
412
    addEEnumLiteral(modifierKindEEnum, ModifierKind.STREAM);
413
    addEEnumLiteral(modifierKindEEnum, ModifierKind.ORDERED);
414
    addEEnumLiteral(modifierKindEEnum, ModifierKind.UNIQUE);
417
415
418
		// Initialize enums and add enum literals
416
    initEEnum(effectKindEEnum, EffectKind.class, "EffectKind");
419
		initEEnum(modifierKindEEnum, ModifierKind.class, "ModifierKind");
417
    addEEnumLiteral(effectKindEEnum, EffectKind.CREATE);
420
		addEEnumLiteral(modifierKindEEnum, ModifierKind.EXCEPTION);
418
    addEEnumLiteral(effectKindEEnum, EffectKind.READ);
421
		addEEnumLiteral(modifierKindEEnum, ModifierKind.STREAM);
419
    addEEnumLiteral(effectKindEEnum, EffectKind.UPDATE);
422
		addEEnumLiteral(modifierKindEEnum, ModifierKind.ORDERED);
420
    addEEnumLiteral(effectKindEEnum, EffectKind.DELETE);
423
		addEEnumLiteral(modifierKindEEnum, ModifierKind.UNIQUE);
424
421
425
		initEEnum(effectKindEEnum, EffectKind.class, "EffectKind");
422
    // Create resource
426
		addEEnumLiteral(effectKindEEnum, EffectKind.CREATE);
423
    createResource(eNS_URI);
427
		addEEnumLiteral(effectKindEEnum, EffectKind.READ);
424
  }
428
		addEEnumLiteral(effectKindEEnum, EffectKind.UPDATE);
429
		addEEnumLiteral(effectKindEEnum, EffectKind.DELETE);
430
431
		// Create resource
432
		createResource(eNS_URI);
433
	}
434
425
435
} //UmlParameterPackageImpl
426
} //UmlParameterPackageImpl
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/impl/ModifiersRuleImpl.java (-119 / +124 lines)
Lines 31-166 Link Here
31
 * <p>
31
 * <p>
32
 * The following features are implemented:
32
 * The following features are implemented:
33
 * <ul>
33
 * <ul>
34
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifiersRuleImpl#getValues <em>Values</em>}</li>
34
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifiersRuleImpl#getValues <em>Values</em>}</li>
35
 * </ul>
35
 * </ul>
36
 * </p>
36
 * </p>
37
 * 
37
 *
38
 * @generated
38
 * @generated
39
 */
39
 */
40
public class ModifiersRuleImpl extends MinimalEObjectImpl.Container implements ModifiersRule {
40
public class ModifiersRuleImpl extends MinimalEObjectImpl.Container implements ModifiersRule
41
{
42
  /**
43
   * The cached value of the '{@link #getValues() <em>Values</em>}' containment reference list.
44
   * <!-- begin-user-doc -->
45
   * <!-- end-user-doc -->
46
   * @see #getValues()
47
   * @generated
48
   * @ordered
49
   */
50
  protected EList<ModifierSpecification> values;
41
51
42
	/**
52
  /**
43
	 * The cached value of the '{@link #getValues() <em>Values</em>}' containment reference list.
53
   * <!-- begin-user-doc -->
44
	 * <!-- begin-user-doc -->
54
   * <!-- end-user-doc -->
45
	 * <!-- end-user-doc -->
55
   * @generated
46
	 * 
56
   */
47
	 * @see #getValues()
57
  protected ModifiersRuleImpl()
48
	 * @generated
58
  {
49
	 * @ordered
59
    super();
50
	 */
60
  }
51
	protected EList<ModifierSpecification> values;
52
61
53
	/**
62
  /**
54
	 * <!-- begin-user-doc -->
63
   * <!-- begin-user-doc -->
55
	 * <!-- end-user-doc -->
64
   * <!-- end-user-doc -->
56
	 * 
65
   * @generated
57
	 * @generated
66
   */
58
	 */
67
  @Override
59
	protected ModifiersRuleImpl() {
68
  protected EClass eStaticClass()
60
		super();
69
  {
61
	}
70
    return UmlParameterPackage.Literals.MODIFIERS_RULE;
71
  }
62
72
63
	/**
73
  /**
64
	 * <!-- begin-user-doc -->
74
   * <!-- begin-user-doc -->
65
	 * <!-- end-user-doc -->
75
   * <!-- end-user-doc -->
66
	 * 
76
   * @generated
67
	 * @generated
77
   */
68
	 */
78
  public EList<ModifierSpecification> getValues()
69
	@Override
79
  {
70
	protected EClass eStaticClass() {
80
    if (values == null)
71
		return UmlParameterPackage.Literals.MODIFIERS_RULE;
81
    {
72
	}
82
      values = new EObjectContainmentEList<ModifierSpecification>(ModifierSpecification.class, this, UmlParameterPackage.MODIFIERS_RULE__VALUES);
83
    }
84
    return values;
85
  }
73
86
74
	/**
87
  /**
75
	 * <!-- begin-user-doc -->
88
   * <!-- begin-user-doc -->
76
	 * <!-- end-user-doc -->
89
   * <!-- end-user-doc -->
77
	 * 
90
   * @generated
78
	 * @generated
91
   */
79
	 */
92
  @Override
80
	public EList<ModifierSpecification> getValues() {
93
  public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
81
		if(values == null) {
94
  {
82
			values = new EObjectContainmentEList<ModifierSpecification>(ModifierSpecification.class, this, UmlParameterPackage.MODIFIERS_RULE__VALUES);
95
    switch (featureID)
83
		}
96
    {
84
		return values;
97
      case UmlParameterPackage.MODIFIERS_RULE__VALUES:
85
	}
98
        return ((InternalEList<?>)getValues()).basicRemove(otherEnd, msgs);
99
    }
100
    return super.eInverseRemove(otherEnd, featureID, msgs);
101
  }
86
102
87
	/**
103
  /**
88
	 * <!-- begin-user-doc -->
104
   * <!-- begin-user-doc -->
89
	 * <!-- end-user-doc -->
105
   * <!-- end-user-doc -->
90
	 * 
106
   * @generated
91
	 * @generated
107
   */
92
	 */
108
  @Override
93
	@Override
109
  public Object eGet(int featureID, boolean resolve, boolean coreType)
94
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
110
  {
95
		switch(featureID) {
111
    switch (featureID)
96
		case UmlParameterPackage.MODIFIERS_RULE__VALUES:
112
    {
97
			return ((InternalEList<?>)getValues()).basicRemove(otherEnd, msgs);
113
      case UmlParameterPackage.MODIFIERS_RULE__VALUES:
98
		}
114
        return getValues();
99
		return super.eInverseRemove(otherEnd, featureID, msgs);
115
    }
100
	}
116
    return super.eGet(featureID, resolve, coreType);
117
  }
101
118
102
	/**
119
  /**
103
	 * <!-- begin-user-doc -->
120
   * <!-- begin-user-doc -->
104
	 * <!-- end-user-doc -->
121
   * <!-- end-user-doc -->
105
	 * 
122
   * @generated
106
	 * @generated
123
   */
107
	 */
124
  @SuppressWarnings("unchecked")
108
	@Override
125
  @Override
109
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
126
  public void eSet(int featureID, Object newValue)
110
		switch(featureID) {
127
  {
111
		case UmlParameterPackage.MODIFIERS_RULE__VALUES:
128
    switch (featureID)
112
			return getValues();
129
    {
113
		}
130
      case UmlParameterPackage.MODIFIERS_RULE__VALUES:
114
		return super.eGet(featureID, resolve, coreType);
131
        getValues().clear();
115
	}
132
        getValues().addAll((Collection<? extends ModifierSpecification>)newValue);
133
        return;
134
    }
135
    super.eSet(featureID, newValue);
136
  }
116
137
117
	/**
138
  /**
118
	 * <!-- begin-user-doc -->
139
   * <!-- begin-user-doc -->
119
	 * <!-- end-user-doc -->
140
   * <!-- end-user-doc -->
120
	 * 
141
   * @generated
121
	 * @generated
142
   */
122
	 */
143
  @Override
123
	@SuppressWarnings("unchecked")
144
  public void eUnset(int featureID)
124
	@Override
145
  {
125
	public void eSet(int featureID, Object newValue) {
146
    switch (featureID)
126
		switch(featureID) {
147
    {
127
		case UmlParameterPackage.MODIFIERS_RULE__VALUES:
148
      case UmlParameterPackage.MODIFIERS_RULE__VALUES:
128
			getValues().clear();
149
        getValues().clear();
129
			getValues().addAll((Collection<? extends ModifierSpecification>)newValue);
150
        return;
130
			return;
151
    }
131
		}
152
    super.eUnset(featureID);
132
		super.eSet(featureID, newValue);
153
  }
133
	}
134
154
135
	/**
155
  /**
136
	 * <!-- begin-user-doc -->
156
   * <!-- begin-user-doc -->
137
	 * <!-- end-user-doc -->
157
   * <!-- end-user-doc -->
138
	 * 
158
   * @generated
139
	 * @generated
159
   */
140
	 */
160
  @Override
141
	@Override
161
  public boolean eIsSet(int featureID)
142
	public void eUnset(int featureID) {
162
  {
143
		switch(featureID) {
163
    switch (featureID)
144
		case UmlParameterPackage.MODIFIERS_RULE__VALUES:
164
    {
145
			getValues().clear();
165
      case UmlParameterPackage.MODIFIERS_RULE__VALUES:
146
			return;
166
        return values != null && !values.isEmpty();
147
		}
167
    }
148
		super.eUnset(featureID);
168
    return super.eIsSet(featureID);
149
	}
169
  }
150
151
	/**
152
	 * <!-- begin-user-doc -->
153
	 * <!-- end-user-doc -->
154
	 * 
155
	 * @generated
156
	 */
157
	@Override
158
	public boolean eIsSet(int featureID) {
159
		switch(featureID) {
160
		case UmlParameterPackage.MODIFIERS_RULE__VALUES:
161
			return values != null && !values.isEmpty();
162
		}
163
		return super.eIsSet(featureID);
164
	}
165
170
166
} //ModifiersRuleImpl
171
} //ModifiersRuleImpl
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/EffectRule.java (-35 / +32 lines)
Lines 12-61 Link Here
12
 * <!-- begin-user-doc -->
12
 * <!-- begin-user-doc -->
13
 * A representation of the model object '<em><b>Effect Rule</b></em>'.
13
 * A representation of the model object '<em><b>Effect Rule</b></em>'.
14
 * <!-- end-user-doc -->
14
 * <!-- end-user-doc -->
15
 * 
15
 *
16
 * <p>
16
 * <p>
17
 * The following features are supported:
17
 * The following features are supported:
18
 * <ul>
18
 * <ul>
19
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectRule#getEffectKind <em>Effect Kind</em>}</li>
19
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectRule#getEffectKind <em>Effect Kind</em>}</li>
20
 * </ul>
20
 * </ul>
21
 * </p>
21
 * </p>
22
 * 
22
 *
23
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getEffectRule()
23
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getEffectRule()
24
 * @model
24
 * @model
25
 * @generated
25
 * @generated
26
 */
26
 */
27
public interface EffectRule extends EObject {
27
public interface EffectRule extends EObject
28
{
29
  /**
30
   * Returns the value of the '<em><b>Effect Kind</b></em>' attribute.
31
   * The literals are from the enumeration {@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind}.
32
   * <!-- begin-user-doc -->
33
   * <p>
34
   * If the meaning of the '<em>Effect Kind</em>' attribute isn't clear,
35
   * there really should be more of a description here...
36
   * </p>
37
   * <!-- end-user-doc -->
38
   * @return the value of the '<em>Effect Kind</em>' attribute.
39
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind
40
   * @see #setEffectKind(EffectKind)
41
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getEffectRule_EffectKind()
42
   * @model
43
   * @generated
44
   */
45
  EffectKind getEffectKind();
28
46
29
	/**
47
  /**
30
	 * Returns the value of the '<em><b>Effect Kind</b></em>' attribute.
48
   * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectRule#getEffectKind <em>Effect Kind</em>}' attribute.
31
	 * The literals are from the enumeration {@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind}.
49
   * <!-- begin-user-doc -->
32
	 * <!-- begin-user-doc -->
50
   * <!-- end-user-doc -->
33
	 * <p>
51
   * @param value the new value of the '<em>Effect Kind</em>' attribute.
34
	 * If the meaning of the '<em>Effect Kind</em>' attribute isn't clear, there really should be more of a description here...
52
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind
35
	 * </p>
53
   * @see #getEffectKind()
36
	 * <!-- end-user-doc -->
54
   * @generated
37
	 * 
55
   */
38
	 * @return the value of the '<em>Effect Kind</em>' attribute.
56
  void setEffectKind(EffectKind value);
39
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind
40
	 * @see #setEffectKind(EffectKind)
41
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getEffectRule_EffectKind()
42
	 * @model
43
	 * @generated
44
	 */
45
	EffectKind getEffectKind();
46
47
	/**
48
	 * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectRule#getEffectKind <em>Effect Kind</em>}'
49
	 * attribute.
50
	 * <!-- begin-user-doc -->
51
	 * <!-- end-user-doc -->
52
	 * 
53
	 * @param value
54
	 *        the new value of the '<em>Effect Kind</em>' attribute.
55
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind
56
	 * @see #getEffectKind()
57
	 * @generated
58
	 */
59
	void setEffectKind(EffectKind value);
60
57
61
} // EffectRule
58
} // EffectRule
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/ModifierKind.java (-238 / +237 lines)
Lines 17-282 Link Here
17
 * A representation of the literals of the enumeration '<em><b>Modifier Kind</b></em>',
17
 * A representation of the literals of the enumeration '<em><b>Modifier Kind</b></em>',
18
 * and utility methods for working with them.
18
 * and utility methods for working with them.
19
 * <!-- end-user-doc -->
19
 * <!-- end-user-doc -->
20
 * 
21
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getModifierKind()
20
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getModifierKind()
22
 * @model
21
 * @model
23
 * @generated
22
 * @generated
24
 */
23
 */
25
public enum ModifierKind implements Enumerator {
24
public enum ModifierKind implements Enumerator
26
	/**
25
{
27
	 * The '<em><b>EXCEPTION</b></em>' literal object.
26
  /**
28
	 * <!-- begin-user-doc -->
27
   * The '<em><b>EXCEPTION</b></em>' literal object.
29
	 * <!-- end-user-doc -->
28
   * <!-- begin-user-doc -->
30
	 * 
29
   * <!-- end-user-doc -->
31
	 * @see #EXCEPTION_VALUE
30
   * @see #EXCEPTION_VALUE
32
	 * @generated
31
   * @generated
33
	 * @ordered
32
   * @ordered
34
	 */
33
   */
35
	EXCEPTION(0, "EXCEPTION", "exception"),
34
  EXCEPTION(0, "EXCEPTION", "exception"),
36
35
37
	/**
36
  /**
38
	 * The '<em><b>STREAM</b></em>' literal object.
37
   * The '<em><b>STREAM</b></em>' literal object.
39
	 * <!-- begin-user-doc -->
38
   * <!-- begin-user-doc -->
40
	 * <!-- end-user-doc -->
39
   * <!-- end-user-doc -->
41
	 * 
40
   * @see #STREAM_VALUE
42
	 * @see #STREAM_VALUE
41
   * @generated
43
	 * @generated
42
   * @ordered
44
	 * @ordered
43
   */
45
	 */
44
  STREAM(1, "STREAM", "stream"),
46
	STREAM(1, "STREAM", "stream"),
47
45
48
	/**
46
  /**
49
	 * The '<em><b>ORDERED</b></em>' literal object.
47
   * The '<em><b>ORDERED</b></em>' literal object.
50
	 * <!-- begin-user-doc -->
48
   * <!-- begin-user-doc -->
51
	 * <!-- end-user-doc -->
49
   * <!-- end-user-doc -->
52
	 * 
50
   * @see #ORDERED_VALUE
53
	 * @see #ORDERED_VALUE
51
   * @generated
54
	 * @generated
52
   * @ordered
55
	 * @ordered
53
   */
56
	 */
54
  ORDERED(2, "ORDERED", "ordered"),
57
	ORDERED(2, "ORDERED", "ordered"),
58
55
59
	/**
56
  /**
60
	 * The '<em><b>UNIQUE</b></em>' literal object.
57
   * The '<em><b>UNIQUE</b></em>' literal object.
61
	 * <!-- begin-user-doc -->
58
   * <!-- begin-user-doc -->
62
	 * <!-- end-user-doc -->
59
   * <!-- end-user-doc -->
63
	 * 
60
   * @see #UNIQUE_VALUE
64
	 * @see #UNIQUE_VALUE
61
   * @generated
65
	 * @generated
62
   * @ordered
66
	 * @ordered
63
   */
67
	 */
64
  UNIQUE(3, "UNIQUE", "unique");
68
	UNIQUE(3, "UNIQUE", "unique");
69
65
70
	/**
66
  /**
71
	 * The '<em><b>EXCEPTION</b></em>' literal value.
67
   * The '<em><b>EXCEPTION</b></em>' literal value.
72
	 * <!-- begin-user-doc -->
68
   * <!-- begin-user-doc -->
73
	 * <p>
69
   * <p>
74
	 * If the meaning of '<em><b>EXCEPTION</b></em>' literal object isn't clear, there really should be more of a description here...
70
   * If the meaning of '<em><b>EXCEPTION</b></em>' literal object isn't clear,
75
	 * </p>
71
   * there really should be more of a description here...
76
	 * <!-- end-user-doc -->
72
   * </p>
77
	 * 
73
   * <!-- end-user-doc -->
78
	 * @see #EXCEPTION
74
   * @see #EXCEPTION
79
	 * @model literal="exception"
75
   * @model literal="exception"
80
	 * @generated
76
   * @generated
81
	 * @ordered
77
   * @ordered
82
	 */
78
   */
83
	public static final int EXCEPTION_VALUE = 0;
79
  public static final int EXCEPTION_VALUE = 0;
84
80
85
	/**
81
  /**
86
	 * The '<em><b>STREAM</b></em>' literal value.
82
   * The '<em><b>STREAM</b></em>' literal value.
87
	 * <!-- begin-user-doc -->
83
   * <!-- begin-user-doc -->
88
	 * <p>
84
   * <p>
89
	 * If the meaning of '<em><b>STREAM</b></em>' literal object isn't clear, there really should be more of a description here...
85
   * If the meaning of '<em><b>STREAM</b></em>' literal object isn't clear,
90
	 * </p>
86
   * there really should be more of a description here...
91
	 * <!-- end-user-doc -->
87
   * </p>
92
	 * 
88
   * <!-- end-user-doc -->
93
	 * @see #STREAM
89
   * @see #STREAM
94
	 * @model literal="stream"
90
   * @model literal="stream"
95
	 * @generated
91
   * @generated
96
	 * @ordered
92
   * @ordered
97
	 */
93
   */
98
	public static final int STREAM_VALUE = 1;
94
  public static final int STREAM_VALUE = 1;
99
95
100
	/**
96
  /**
101
	 * The '<em><b>ORDERED</b></em>' literal value.
97
   * The '<em><b>ORDERED</b></em>' literal value.
102
	 * <!-- begin-user-doc -->
98
   * <!-- begin-user-doc -->
103
	 * <p>
99
   * <p>
104
	 * If the meaning of '<em><b>ORDERED</b></em>' literal object isn't clear, there really should be more of a description here...
100
   * If the meaning of '<em><b>ORDERED</b></em>' literal object isn't clear,
105
	 * </p>
101
   * there really should be more of a description here...
106
	 * <!-- end-user-doc -->
102
   * </p>
107
	 * 
103
   * <!-- end-user-doc -->
108
	 * @see #ORDERED
104
   * @see #ORDERED
109
	 * @model literal="ordered"
105
   * @model literal="ordered"
110
	 * @generated
106
   * @generated
111
	 * @ordered
107
   * @ordered
112
	 */
108
   */
113
	public static final int ORDERED_VALUE = 2;
109
  public static final int ORDERED_VALUE = 2;
114
110
115
	/**
111
  /**
116
	 * The '<em><b>UNIQUE</b></em>' literal value.
112
   * The '<em><b>UNIQUE</b></em>' literal value.
117
	 * <!-- begin-user-doc -->
113
   * <!-- begin-user-doc -->
118
	 * <p>
114
   * <p>
119
	 * If the meaning of '<em><b>UNIQUE</b></em>' literal object isn't clear, there really should be more of a description here...
115
   * If the meaning of '<em><b>UNIQUE</b></em>' literal object isn't clear,
120
	 * </p>
116
   * there really should be more of a description here...
121
	 * <!-- end-user-doc -->
117
   * </p>
122
	 * 
118
   * <!-- end-user-doc -->
123
	 * @see #UNIQUE
119
   * @see #UNIQUE
124
	 * @model literal="unique"
120
   * @model literal="unique"
125
	 * @generated
121
   * @generated
126
	 * @ordered
122
   * @ordered
127
	 */
123
   */
128
	public static final int UNIQUE_VALUE = 3;
124
  public static final int UNIQUE_VALUE = 3;
129
125
130
	/**
126
  /**
131
	 * An array of all the '<em><b>Modifier Kind</b></em>' enumerators.
127
   * An array of all the '<em><b>Modifier Kind</b></em>' enumerators.
132
	 * <!-- begin-user-doc -->
128
   * <!-- begin-user-doc -->
133
	 * <!-- end-user-doc -->
129
   * <!-- end-user-doc -->
134
	 * 
130
   * @generated
135
	 * @generated
131
   */
136
	 */
132
  private static final ModifierKind[] VALUES_ARRAY =
137
	private static final ModifierKind[] VALUES_ARRAY = new ModifierKind[]{ EXCEPTION, STREAM, ORDERED, UNIQUE, };
133
    new ModifierKind[]
134
    {
135
      EXCEPTION,
136
      STREAM,
137
      ORDERED,
138
      UNIQUE,
139
    };
138
140
139
	/**
141
  /**
140
	 * A public read-only list of all the '<em><b>Modifier Kind</b></em>' enumerators.
142
   * A public read-only list of all the '<em><b>Modifier Kind</b></em>' enumerators.
141
	 * <!-- begin-user-doc -->
143
   * <!-- begin-user-doc -->
142
	 * <!-- end-user-doc -->
144
   * <!-- end-user-doc -->
143
	 * 
145
   * @generated
144
	 * @generated
146
   */
145
	 */
147
  public static final List<ModifierKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
146
	public static final List<ModifierKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
147
148
148
	/**
149
  /**
149
	 * Returns the '<em><b>Modifier Kind</b></em>' literal with the specified literal value.
150
   * Returns the '<em><b>Modifier Kind</b></em>' literal with the specified literal value.
150
	 * <!-- begin-user-doc -->
151
   * <!-- begin-user-doc -->
151
	 * <!-- end-user-doc -->
152
   * <!-- end-user-doc -->
152
	 * 
153
   * @generated
153
	 * @generated
154
   */
154
	 */
155
  public static ModifierKind get(String literal)
155
	public static ModifierKind get(String literal) {
156
  {
156
		for(int i = 0; i < VALUES_ARRAY.length; ++i) {
157
    for (int i = 0; i < VALUES_ARRAY.length; ++i)
157
			ModifierKind result = VALUES_ARRAY[i];
158
    {
158
			if(result.toString().equals(literal)) {
159
      ModifierKind result = VALUES_ARRAY[i];
159
				return result;
160
      if (result.toString().equals(literal))
160
			}
161
      {
161
		}
162
        return result;
162
		return null;
163
      }
163
	}
164
    }
165
    return null;
166
  }
164
167
165
	/**
168
  /**
166
	 * Returns the '<em><b>Modifier Kind</b></em>' literal with the specified name.
169
   * Returns the '<em><b>Modifier Kind</b></em>' literal with the specified name.
167
	 * <!-- begin-user-doc -->
170
   * <!-- begin-user-doc -->
168
	 * <!-- end-user-doc -->
171
   * <!-- end-user-doc -->
169
	 * 
172
   * @generated
170
	 * @generated
173
   */
171
	 */
174
  public static ModifierKind getByName(String name)
172
	public static ModifierKind getByName(String name) {
175
  {
173
		for(int i = 0; i < VALUES_ARRAY.length; ++i) {
176
    for (int i = 0; i < VALUES_ARRAY.length; ++i)
174
			ModifierKind result = VALUES_ARRAY[i];
177
    {
175
			if(result.getName().equals(name)) {
178
      ModifierKind result = VALUES_ARRAY[i];
176
				return result;
179
      if (result.getName().equals(name))
177
			}
180
      {
178
		}
181
        return result;
179
		return null;
182
      }
180
	}
183
    }
184
    return null;
185
  }
181
186
182
	/**
187
  /**
183
	 * Returns the '<em><b>Modifier Kind</b></em>' literal with the specified integer value.
188
   * Returns the '<em><b>Modifier Kind</b></em>' literal with the specified integer value.
184
	 * <!-- begin-user-doc -->
189
   * <!-- begin-user-doc -->
185
	 * <!-- end-user-doc -->
190
   * <!-- end-user-doc -->
186
	 * 
191
   * @generated
187
	 * @generated
192
   */
188
	 */
193
  public static ModifierKind get(int value)
189
	public static ModifierKind get(int value) {
194
  {
190
		switch(value) {
195
    switch (value)
191
		case EXCEPTION_VALUE:
196
    {
192
			return EXCEPTION;
197
      case EXCEPTION_VALUE: return EXCEPTION;
193
		case STREAM_VALUE:
198
      case STREAM_VALUE: return STREAM;
194
			return STREAM;
199
      case ORDERED_VALUE: return ORDERED;
195
		case ORDERED_VALUE:
200
      case UNIQUE_VALUE: return UNIQUE;
196
			return ORDERED;
201
    }
197
		case UNIQUE_VALUE:
202
    return null;
198
			return UNIQUE;
203
  }
199
		}
200
		return null;
201
	}
202
204
203
	/**
205
  /**
204
	 * <!-- begin-user-doc -->
206
   * <!-- begin-user-doc -->
205
	 * <!-- end-user-doc -->
207
   * <!-- end-user-doc -->
206
	 * 
208
   * @generated
207
	 * @generated
209
   */
208
	 */
210
  private final int value;
209
	private final int value;
210
211
211
	/**
212
  /**
212
	 * <!-- begin-user-doc -->
213
   * <!-- begin-user-doc -->
213
	 * <!-- end-user-doc -->
214
   * <!-- end-user-doc -->
214
	 * 
215
   * @generated
215
	 * @generated
216
   */
216
	 */
217
  private final String name;
217
	private final String name;
218
218
219
	/**
219
  /**
220
	 * <!-- begin-user-doc -->
220
   * <!-- begin-user-doc -->
221
	 * <!-- end-user-doc -->
221
   * <!-- end-user-doc -->
222
	 * 
222
   * @generated
223
	 * @generated
223
   */
224
	 */
224
  private final String literal;
225
	private final String literal;
226
225
227
	/**
226
  /**
228
	 * Only this class can construct instances.
227
   * Only this class can construct instances.
229
	 * <!-- begin-user-doc -->
228
   * <!-- begin-user-doc -->
230
	 * <!-- end-user-doc -->
229
   * <!-- end-user-doc -->
231
	 * 
230
   * @generated
232
	 * @generated
231
   */
233
	 */
232
  private ModifierKind(int value, String name, String literal)
234
	private ModifierKind(int value, String name, String literal) {
233
  {
235
		this.value = value;
234
    this.value = value;
236
		this.name = name;
235
    this.name = name;
237
		this.literal = literal;
236
    this.literal = literal;
238
	}
237
  }
239
238
240
	/**
239
  /**
241
	 * <!-- begin-user-doc -->
240
   * <!-- begin-user-doc -->
242
	 * <!-- end-user-doc -->
241
   * <!-- end-user-doc -->
243
	 * 
242
   * @generated
244
	 * @generated
243
   */
245
	 */
244
  public int getValue()
246
	public int getValue() {
245
  {
247
		return value;
246
    return value;
248
	}
247
  }
249
248
250
	/**
249
  /**
251
	 * <!-- begin-user-doc -->
250
   * <!-- begin-user-doc -->
252
	 * <!-- end-user-doc -->
251
   * <!-- end-user-doc -->
253
	 * 
252
   * @generated
254
	 * @generated
253
   */
255
	 */
254
  public String getName()
256
	public String getName() {
255
  {
257
		return name;
256
    return name;
258
	}
257
  }
259
258
260
	/**
259
  /**
261
	 * <!-- begin-user-doc -->
260
   * <!-- begin-user-doc -->
262
	 * <!-- end-user-doc -->
261
   * <!-- end-user-doc -->
263
	 * 
262
   * @generated
264
	 * @generated
263
   */
265
	 */
264
  public String getLiteral()
266
	public String getLiteral() {
265
  {
267
		return literal;
266
    return literal;
268
	}
267
  }
269
268
270
	/**
269
  /**
271
	 * Returns the literal value of the enumerator, which is its string representation.
270
   * Returns the literal value of the enumerator, which is its string representation.
272
	 * <!-- begin-user-doc -->
271
   * <!-- begin-user-doc -->
273
	 * <!-- end-user-doc -->
272
   * <!-- end-user-doc -->
274
	 * 
273
   * @generated
275
	 * @generated
274
   */
276
	 */
275
  @Override
277
	@Override
276
  public String toString()
278
	public String toString() {
277
  {
279
		return literal;
278
    return literal;
280
	}
279
  }
281
280
  
282
} //ModifierKind
281
} //ModifierKind
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/util/UmlParameterResourceFactoryImpl.java (-31 / +30 lines)
Lines 18-60 Link Here
18
 * <!-- begin-user-doc -->
18
 * <!-- begin-user-doc -->
19
 * The <b>Resource Factory</b> associated with the package.
19
 * The <b>Resource Factory</b> associated with the package.
20
 * <!-- end-user-doc -->
20
 * <!-- end-user-doc -->
21
 * 
22
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.util.UmlParameterResourceImpl
21
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.util.UmlParameterResourceImpl
23
 * @generated
22
 * @generated
24
 */
23
 */
25
public class UmlParameterResourceFactoryImpl extends ResourceFactoryImpl {
24
public class UmlParameterResourceFactoryImpl extends ResourceFactoryImpl
25
{
26
  /**
27
   * Creates an instance of the resource factory.
28
   * <!-- begin-user-doc -->
29
   * <!-- end-user-doc -->
30
   * @generated
31
   */
32
  public UmlParameterResourceFactoryImpl()
33
  {
34
    super();
35
  }
26
36
27
	/**
37
  /**
28
	 * Creates an instance of the resource factory.
38
   * Creates an instance of the resource.
29
	 * <!-- begin-user-doc -->
39
   * <!-- begin-user-doc -->
30
	 * <!-- end-user-doc -->
40
   * <!-- end-user-doc -->
31
	 * 
41
   * @generated
32
	 * @generated
42
   */
33
	 */
43
  @Override
34
	public UmlParameterResourceFactoryImpl() {
44
  public Resource createResource(URI uri)
35
		super();
45
  {
36
	}
46
    XMLResource result = new UmlParameterResourceImpl(uri);
47
    result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
48
    result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
37
49
38
	/**
50
    result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
39
	 * Creates an instance of the resource.
40
	 * <!-- begin-user-doc -->
41
	 * <!-- end-user-doc -->
42
	 * 
43
	 * @generated
44
	 */
45
	@Override
46
	public Resource createResource(URI uri) {
47
		XMLResource result = new UmlParameterResourceImpl(uri);
48
		result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
49
		result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
50
51
51
		result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
52
    result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
53
    result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
52
54
53
		result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
55
    result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
54
		result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
56
    return result;
55
57
  }
56
		result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
57
		return result;
58
	}
59
58
60
} //UmlParameterResourceFactoryImpl
59
} //UmlParameterResourceFactoryImpl
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/util/UmlParameterSwitch.java (-181 / +159 lines)
Lines 6-214 Link Here
6
 */
6
 */
7
package org.eclipse.papyrus.parameter.editor.xtext.umlParameter.util;
7
package org.eclipse.papyrus.parameter.editor.xtext.umlParameter.util;
8
8
9
import java.util.List;
10
11
import org.eclipse.emf.ecore.EClass;
12
import org.eclipse.emf.ecore.EObject;
9
import org.eclipse.emf.ecore.EObject;
10
import org.eclipse.emf.ecore.EPackage;
11
12
import org.eclipse.emf.ecore.util.Switch;
13
13
14
import org.eclipse.papyrus.parameter.editor.xtext.umlParameter.*;
14
import org.eclipse.papyrus.parameter.editor.xtext.umlParameter.*;
15
15
16
/**
16
/**
17
 * <!-- begin-user-doc -->
17
 * <!-- begin-user-doc -->
18
 * The <b>Switch</b> for the model's inheritance hierarchy.
18
 * The <b>Switch</b> for the model's inheritance hierarchy.
19
 * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
19
 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
20
 * to invoke the <code>caseXXX</code> method for each class of the model,
20
 * starting with the actual class of the object
21
 * starting with the actual class of the object
21
 * and proceeding up the inheritance hierarchy
22
 * and proceeding up the inheritance hierarchy
22
 * until a non-null result is returned,
23
 * until a non-null result is returned,
23
 * which is the result of the switch.
24
 * which is the result of the switch.
24
 * <!-- end-user-doc -->
25
 * <!-- end-user-doc -->
25
 * 
26
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage
26
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage
27
 * @generated
27
 * @generated
28
 */
28
 */
29
public class UmlParameterSwitch<T> {
29
public class UmlParameterSwitch<T> extends Switch<T>
30
30
{
31
	/**
31
  /**
32
	 * The cached model package
32
   * The cached model package
33
	 * <!-- begin-user-doc -->
33
   * <!-- begin-user-doc -->
34
	 * <!-- end-user-doc -->
34
   * <!-- end-user-doc -->
35
	 * 
35
   * @generated
36
	 * @generated
36
   */
37
	 */
37
  protected static UmlParameterPackage modelPackage;
38
	protected static UmlParameterPackage modelPackage;
39
38
40
	/**
39
  /**
41
	 * Creates an instance of the switch.
40
   * Creates an instance of the switch.
42
	 * <!-- begin-user-doc -->
41
   * <!-- begin-user-doc -->
43
	 * <!-- end-user-doc -->
42
   * <!-- end-user-doc -->
44
	 * 
43
   * @generated
45
	 * @generated
44
   */
46
	 */
45
  public UmlParameterSwitch()
47
	public UmlParameterSwitch() {
46
  {
48
		if(modelPackage == null) {
47
    if (modelPackage == null)
49
			modelPackage = UmlParameterPackage.eINSTANCE;
48
    {
50
		}
49
      modelPackage = UmlParameterPackage.eINSTANCE;
51
	}
50
    }
51
  }
52
52
53
	/**
53
  /**
54
	 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
54
   * Checks whether this is a switch for the given package.
55
	 * <!-- begin-user-doc -->
55
   * <!-- begin-user-doc -->
56
	 * <!-- end-user-doc -->
56
   * <!-- end-user-doc -->
57
	 * 
57
   * @parameter ePackage the package in question.
58
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
58
   * @return whether this is a switch for the given package.
59
	 * @generated
59
   * @generated
60
	 */
60
   */
61
	public T doSwitch(EObject theEObject) {
61
  @Override
62
		return doSwitch(theEObject.eClass(), theEObject);
62
  protected boolean isSwitchFor(EPackage ePackage)
63
	}
63
  {
64
    return ePackage == modelPackage;
65
  }
64
66
65
	/**
67
  /**
66
	 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
68
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
67
	 * <!-- begin-user-doc -->
69
   * <!-- begin-user-doc -->
68
	 * <!-- end-user-doc -->
70
   * <!-- end-user-doc -->
69
	 * 
71
   * @return the first non-null result returned by a <code>caseXXX</code> call.
70
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
72
   * @generated
71
	 * @generated
73
   */
72
	 */
74
  @Override
73
	protected T doSwitch(EClass theEClass, EObject theEObject) {
75
  protected T doSwitch(int classifierID, EObject theEObject)
74
		if(theEClass.eContainer() == modelPackage) {
76
  {
75
			return doSwitch(theEClass.getClassifierID(), theEObject);
77
    switch (classifierID)
76
		} else {
78
    {
77
			List<EClass> eSuperTypes = theEClass.getESuperTypes();
79
      case UmlParameterPackage.PARAMETER_RULE:
78
			return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject);
80
      {
79
		}
81
        ParameterRule parameterRule = (ParameterRule)theEObject;
80
	}
82
        T result = caseParameterRule(parameterRule);
83
        if (result == null) result = defaultCase(theEObject);
84
        return result;
85
      }
86
      case UmlParameterPackage.MODIFIERS_RULE:
87
      {
88
        ModifiersRule modifiersRule = (ModifiersRule)theEObject;
89
        T result = caseModifiersRule(modifiersRule);
90
        if (result == null) result = defaultCase(theEObject);
91
        return result;
92
      }
93
      case UmlParameterPackage.MODIFIER_SPECIFICATION:
94
      {
95
        ModifierSpecification modifierSpecification = (ModifierSpecification)theEObject;
96
        T result = caseModifierSpecification(modifierSpecification);
97
        if (result == null) result = defaultCase(theEObject);
98
        return result;
99
      }
100
      case UmlParameterPackage.EFFECT_RULE:
101
      {
102
        EffectRule effectRule = (EffectRule)theEObject;
103
        T result = caseEffectRule(effectRule);
104
        if (result == null) result = defaultCase(theEObject);
105
        return result;
106
      }
107
      default: return defaultCase(theEObject);
108
    }
109
  }
81
110
82
	/**
111
  /**
83
	 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
112
   * Returns the result of interpreting the object as an instance of '<em>Parameter Rule</em>'.
84
	 * <!-- begin-user-doc -->
113
   * <!-- begin-user-doc -->
85
	 * <!-- end-user-doc -->
114
   * This implementation returns null;
86
	 * 
115
   * returning a non-null result will terminate the switch.
87
	 * @return the first non-null result returned by a <code>caseXXX</code> call.
116
   * <!-- end-user-doc -->
88
	 * @generated
117
   * @param object the target of the switch.
89
	 */
118
   * @return the result of interpreting the object as an instance of '<em>Parameter Rule</em>'.
90
	protected T doSwitch(int classifierID, EObject theEObject) {
119
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
91
		switch(classifierID) {
120
   * @generated
92
		case UmlParameterPackage.PARAMETER_RULE:
121
   */
93
		{
122
  public T caseParameterRule(ParameterRule object)
94
			ParameterRule parameterRule = (ParameterRule)theEObject;
123
  {
95
			T result = caseParameterRule(parameterRule);
124
    return null;
96
			if(result == null)
125
  }
97
				result = defaultCase(theEObject);
98
			return result;
99
		}
100
		case UmlParameterPackage.MODIFIERS_RULE:
101
		{
102
			ModifiersRule modifiersRule = (ModifiersRule)theEObject;
103
			T result = caseModifiersRule(modifiersRule);
104
			if(result == null)
105
				result = defaultCase(theEObject);
106
			return result;
107
		}
108
		case UmlParameterPackage.MODIFIER_SPECIFICATION:
109
		{
110
			ModifierSpecification modifierSpecification = (ModifierSpecification)theEObject;
111
			T result = caseModifierSpecification(modifierSpecification);
112
			if(result == null)
113
				result = defaultCase(theEObject);
114
			return result;
115
		}
116
		case UmlParameterPackage.EFFECT_RULE:
117
		{
118
			EffectRule effectRule = (EffectRule)theEObject;
119
			T result = caseEffectRule(effectRule);
120
			if(result == null)
121
				result = defaultCase(theEObject);
122
			return result;
123
		}
124
		default:
125
			return defaultCase(theEObject);
126
		}
127
	}
128
126
129
	/**
127
  /**
130
	 * Returns the result of interpreting the object as an instance of '<em>Parameter Rule</em>'.
128
   * Returns the result of interpreting the object as an instance of '<em>Modifiers Rule</em>'.
131
	 * <!-- begin-user-doc -->
129
   * <!-- begin-user-doc -->
132
	 * This implementation returns null;
130
   * This implementation returns null;
133
	 * returning a non-null result will terminate the switch.
131
   * returning a non-null result will terminate the switch.
134
	 * <!-- end-user-doc -->
132
   * <!-- end-user-doc -->
135
	 * 
133
   * @param object the target of the switch.
136
	 * @param object
134
   * @return the result of interpreting the object as an instance of '<em>Modifiers Rule</em>'.
137
	 *        the target of the switch.
135
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
138
	 * @return the result of interpreting the object as an instance of '<em>Parameter Rule</em>'.
136
   * @generated
139
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
137
   */
140
	 * @generated
138
  public T caseModifiersRule(ModifiersRule object)
141
	 */
139
  {
142
	public T caseParameterRule(ParameterRule object) {
140
    return null;
143
		return null;
141
  }
144
	}
145
142
146
	/**
143
  /**
147
	 * Returns the result of interpreting the object as an instance of '<em>Modifiers Rule</em>'.
144
   * Returns the result of interpreting the object as an instance of '<em>Modifier Specification</em>'.
148
	 * <!-- begin-user-doc -->
145
   * <!-- begin-user-doc -->
149
	 * This implementation returns null;
146
   * This implementation returns null;
150
	 * returning a non-null result will terminate the switch.
147
   * returning a non-null result will terminate the switch.
151
	 * <!-- end-user-doc -->
148
   * <!-- end-user-doc -->
152
	 * 
149
   * @param object the target of the switch.
153
	 * @param object
150
   * @return the result of interpreting the object as an instance of '<em>Modifier Specification</em>'.
154
	 *        the target of the switch.
151
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
155
	 * @return the result of interpreting the object as an instance of '<em>Modifiers Rule</em>'.
152
   * @generated
156
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
153
   */
157
	 * @generated
154
  public T caseModifierSpecification(ModifierSpecification object)
158
	 */
155
  {
159
	public T caseModifiersRule(ModifiersRule object) {
156
    return null;
160
		return null;
157
  }
161
	}
162
158
163
	/**
159
  /**
164
	 * Returns the result of interpreting the object as an instance of '<em>Modifier Specification</em>'.
160
   * Returns the result of interpreting the object as an instance of '<em>Effect Rule</em>'.
165
	 * <!-- begin-user-doc -->
161
   * <!-- begin-user-doc -->
166
	 * This implementation returns null;
162
   * This implementation returns null;
167
	 * returning a non-null result will terminate the switch.
163
   * returning a non-null result will terminate the switch.
168
	 * <!-- end-user-doc -->
164
   * <!-- end-user-doc -->
169
	 * 
165
   * @param object the target of the switch.
170
	 * @param object
166
   * @return the result of interpreting the object as an instance of '<em>Effect Rule</em>'.
171
	 *        the target of the switch.
167
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
172
	 * @return the result of interpreting the object as an instance of '<em>Modifier Specification</em>'.
168
   * @generated
173
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
169
   */
174
	 * @generated
170
  public T caseEffectRule(EffectRule object)
175
	 */
171
  {
176
	public T caseModifierSpecification(ModifierSpecification object) {
172
    return null;
177
		return null;
173
  }
178
	}
179
174
180
	/**
175
  /**
181
	 * Returns the result of interpreting the object as an instance of '<em>Effect Rule</em>'.
176
   * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
182
	 * <!-- begin-user-doc -->
177
   * <!-- begin-user-doc -->
183
	 * This implementation returns null;
178
   * This implementation returns null;
184
	 * returning a non-null result will terminate the switch.
179
   * returning a non-null result will terminate the switch, but this is the last case anyway.
185
	 * <!-- end-user-doc -->
180
   * <!-- end-user-doc -->
186
	 * 
181
   * @param object the target of the switch.
187
	 * @param object
182
   * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
188
	 *        the target of the switch.
183
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
189
	 * @return the result of interpreting the object as an instance of '<em>Effect Rule</em>'.
184
   * @generated
190
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
185
   */
191
	 * @generated
186
  @Override
192
	 */
187
  public T defaultCase(EObject object)
193
	public T caseEffectRule(EffectRule object) {
188
  {
194
		return null;
189
    return null;
195
	}
190
  }
196
197
	/**
198
	 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
199
	 * <!-- begin-user-doc -->
200
	 * This implementation returns null;
201
	 * returning a non-null result will terminate the switch, but this is the last case anyway.
202
	 * <!-- end-user-doc -->
203
	 * 
204
	 * @param object
205
	 *        the target of the switch.
206
	 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
207
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
208
	 * @generated
209
	 */
210
	public T defaultCase(EObject object) {
211
		return null;
212
	}
213
191
214
} //UmlParameterSwitch
192
} //UmlParameterSwitch
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/util/UmlParameterXMLProcessor.java (-30 / +31 lines)
Lines 20-57 Link Here
20
 * This class contains helper methods to serialize and deserialize XML documents
20
 * This class contains helper methods to serialize and deserialize XML documents
21
 * <!-- begin-user-doc -->
21
 * <!-- begin-user-doc -->
22
 * <!-- end-user-doc -->
22
 * <!-- end-user-doc -->
23
 * 
24
 * @generated
23
 * @generated
25
 */
24
 */
26
public class UmlParameterXMLProcessor extends XMLProcessor {
25
public class UmlParameterXMLProcessor extends XMLProcessor
26
{
27
27
28
	/**
28
  /**
29
	 * Public constructor to instantiate the helper.
29
   * Public constructor to instantiate the helper.
30
	 * <!-- begin-user-doc -->
30
   * <!-- begin-user-doc -->
31
	 * <!-- end-user-doc -->
31
   * <!-- end-user-doc -->
32
	 * 
32
   * @generated
33
	 * @generated
33
   */
34
	 */
34
  public UmlParameterXMLProcessor()
35
	public UmlParameterXMLProcessor() {
35
  {
36
		super((EPackage.Registry.INSTANCE));
36
    super((EPackage.Registry.INSTANCE));
37
		UmlParameterPackage.eINSTANCE.eClass();
37
    UmlParameterPackage.eINSTANCE.eClass();
38
	}
38
  }
39
39
  
40
	/**
40
  /**
41
	 * Register for "*" and "xml" file extensions the UmlParameterResourceFactoryImpl factory.
41
   * Register for "*" and "xml" file extensions the UmlParameterResourceFactoryImpl factory.
42
	 * <!-- begin-user-doc -->
42
   * <!-- begin-user-doc -->
43
	 * <!-- end-user-doc -->
43
   * <!-- end-user-doc -->
44
	 * 
44
   * @generated
45
	 * @generated
45
   */
46
	 */
46
  @Override
47
	@Override
47
  protected Map<String, Resource.Factory> getRegistrations()
48
	protected Map<String, Resource.Factory> getRegistrations() {
48
  {
49
		if(registrations == null) {
49
    if (registrations == null)
50
			super.getRegistrations();
50
    {
51
			registrations.put(XML_EXTENSION, new UmlParameterResourceFactoryImpl());
51
      super.getRegistrations();
52
			registrations.put(STAR_EXTENSION, new UmlParameterResourceFactoryImpl());
52
      registrations.put(XML_EXTENSION, new UmlParameterResourceFactoryImpl());
53
		}
53
      registrations.put(STAR_EXTENSION, new UmlParameterResourceFactoryImpl());
54
		return registrations;
54
    }
55
	}
55
    return registrations;
56
  }
56
57
57
} //UmlParameterXMLProcessor
58
} //UmlParameterXMLProcessor
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/util/UmlParameterResourceImpl.java (-15 / +13 lines)
Lines 14-36 Link Here
14
 * <!-- begin-user-doc -->
14
 * <!-- begin-user-doc -->
15
 * The <b>Resource </b> associated with the package.
15
 * The <b>Resource </b> associated with the package.
16
 * <!-- end-user-doc -->
16
 * <!-- end-user-doc -->
17
 * 
18
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.util.UmlParameterResourceFactoryImpl
17
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.util.UmlParameterResourceFactoryImpl
19
 * @generated
18
 * @generated
20
 */
19
 */
21
public class UmlParameterResourceImpl extends XMLResourceImpl {
20
public class UmlParameterResourceImpl extends XMLResourceImpl
22
21
{
23
	/**
22
  /**
24
	 * Creates an instance of the resource.
23
   * Creates an instance of the resource.
25
	 * <!-- begin-user-doc -->
24
   * <!-- begin-user-doc -->
26
	 * <!-- end-user-doc -->
25
   * <!-- end-user-doc -->
27
	 * 
26
   * @param uri the URI of the new resource.
28
	 * @param uri
27
   * @generated
29
	 *        the URI of the new resource.
28
   */
30
	 * @generated
29
  public UmlParameterResourceImpl(URI uri)
31
	 */
30
  {
32
	public UmlParameterResourceImpl(URI uri) {
31
    super(uri);
33
		super(uri);
32
  }
34
	}
35
33
36
} //UmlParameterResourceImpl
34
} //UmlParameterResourceImpl
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/util/UmlParameterAdapterFactory.java (-161 / +159 lines)
Lines 20-198 Link Here
20
 * The <b>Adapter Factory</b> for the model.
20
 * The <b>Adapter Factory</b> for the model.
21
 * It provides an adapter <code>createXXX</code> method for each class of the model.
21
 * It provides an adapter <code>createXXX</code> method for each class of the model.
22
 * <!-- end-user-doc -->
22
 * <!-- end-user-doc -->
23
 * 
24
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage
23
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage
25
 * @generated
24
 * @generated
26
 */
25
 */
27
public class UmlParameterAdapterFactory extends AdapterFactoryImpl {
26
public class UmlParameterAdapterFactory extends AdapterFactoryImpl
28
27
{
29
	/**
28
  /**
30
	 * The cached model package.
29
   * The cached model package.
31
	 * <!-- begin-user-doc -->
30
   * <!-- begin-user-doc -->
32
	 * <!-- end-user-doc -->
31
   * <!-- end-user-doc -->
33
	 * 
32
   * @generated
34
	 * @generated
33
   */
35
	 */
34
  protected static UmlParameterPackage modelPackage;
36
	protected static UmlParameterPackage modelPackage;
37
38
	/**
39
	 * Creates an instance of the adapter factory.
40
	 * <!-- begin-user-doc -->
41
	 * <!-- end-user-doc -->
42
	 * 
43
	 * @generated
44
	 */
45
	public UmlParameterAdapterFactory() {
46
		if(modelPackage == null) {
47
			modelPackage = UmlParameterPackage.eINSTANCE;
48
		}
49
	}
50
51
	/**
52
	 * Returns whether this factory is applicable for the type of the object.
53
	 * <!-- begin-user-doc -->
54
	 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
55
	 * <!-- end-user-doc -->
56
	 * 
57
	 * @return whether this factory is applicable for the type of the object.
58
	 * @generated
59
	 */
60
	@Override
61
	public boolean isFactoryForType(Object object) {
62
		if(object == modelPackage) {
63
			return true;
64
		}
65
		if(object instanceof EObject) {
66
			return ((EObject)object).eClass().getEPackage() == modelPackage;
67
		}
68
		return false;
69
	}
70
71
	/**
72
	 * The switch that delegates to the <code>createXXX</code> methods.
73
	 * <!-- begin-user-doc -->
74
	 * <!-- end-user-doc -->
75
	 * 
76
	 * @generated
77
	 */
78
	protected UmlParameterSwitch<Adapter> modelSwitch = new UmlParameterSwitch<Adapter>() {
79
35
80
		@Override
36
  /**
81
		public Adapter caseParameterRule(ParameterRule object) {
37
   * Creates an instance of the adapter factory.
82
			return createParameterRuleAdapter();
38
   * <!-- begin-user-doc -->
83
		}
39
   * <!-- end-user-doc -->
40
   * @generated
41
   */
42
  public UmlParameterAdapterFactory()
43
  {
44
    if (modelPackage == null)
45
    {
46
      modelPackage = UmlParameterPackage.eINSTANCE;
47
    }
48
  }
84
49
85
		@Override
50
  /**
86
		public Adapter caseModifiersRule(ModifiersRule object) {
51
   * Returns whether this factory is applicable for the type of the object.
87
			return createModifiersRuleAdapter();
52
   * <!-- begin-user-doc -->
88
		}
53
   * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
54
   * <!-- end-user-doc -->
55
   * @return whether this factory is applicable for the type of the object.
56
   * @generated
57
   */
58
  @Override
59
  public boolean isFactoryForType(Object object)
60
  {
61
    if (object == modelPackage)
62
    {
63
      return true;
64
    }
65
    if (object instanceof EObject)
66
    {
67
      return ((EObject)object).eClass().getEPackage() == modelPackage;
68
    }
69
    return false;
70
  }
89
71
90
		@Override
72
  /**
91
		public Adapter caseModifierSpecification(ModifierSpecification object) {
73
   * The switch that delegates to the <code>createXXX</code> methods.
92
			return createModifierSpecificationAdapter();
74
   * <!-- begin-user-doc -->
93
		}
75
   * <!-- end-user-doc -->
76
   * @generated
77
   */
78
  protected UmlParameterSwitch<Adapter> modelSwitch =
79
    new UmlParameterSwitch<Adapter>()
80
    {
81
      @Override
82
      public Adapter caseParameterRule(ParameterRule object)
83
      {
84
        return createParameterRuleAdapter();
85
      }
86
      @Override
87
      public Adapter caseModifiersRule(ModifiersRule object)
88
      {
89
        return createModifiersRuleAdapter();
90
      }
91
      @Override
92
      public Adapter caseModifierSpecification(ModifierSpecification object)
93
      {
94
        return createModifierSpecificationAdapter();
95
      }
96
      @Override
97
      public Adapter caseEffectRule(EffectRule object)
98
      {
99
        return createEffectRuleAdapter();
100
      }
101
      @Override
102
      public Adapter defaultCase(EObject object)
103
      {
104
        return createEObjectAdapter();
105
      }
106
    };
94
107
95
		@Override
108
  /**
96
		public Adapter caseEffectRule(EffectRule object) {
109
   * Creates an adapter for the <code>target</code>.
97
			return createEffectRuleAdapter();
110
   * <!-- begin-user-doc -->
98
		}
111
   * <!-- end-user-doc -->
112
   * @param target the object to adapt.
113
   * @return the adapter for the <code>target</code>.
114
   * @generated
115
   */
116
  @Override
117
  public Adapter createAdapter(Notifier target)
118
  {
119
    return modelSwitch.doSwitch((EObject)target);
120
  }
99
121
100
		@Override
101
		public Adapter defaultCase(EObject object) {
102
			return createEObjectAdapter();
103
		}
104
	};
105
122
106
	/**
123
  /**
107
	 * Creates an adapter for the <code>target</code>.
124
   * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule <em>Parameter Rule</em>}'.
108
	 * <!-- begin-user-doc -->
125
   * <!-- begin-user-doc -->
109
	 * <!-- end-user-doc -->
126
   * This default implementation returns null so that we can easily ignore cases;
110
	 * 
127
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
111
	 * @param target
128
   * <!-- end-user-doc -->
112
	 *        the object to adapt.
129
   * @return the new adapter.
113
	 * @return the adapter for the <code>target</code>.
130
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule
114
	 * @generated
131
   * @generated
115
	 */
132
   */
116
	@Override
133
  public Adapter createParameterRuleAdapter()
117
	public Adapter createAdapter(Notifier target) {
134
  {
118
		return modelSwitch.doSwitch((EObject)target);
135
    return null;
119
	}
136
  }
120
137
138
  /**
139
   * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifiersRule <em>Modifiers Rule</em>}'.
140
   * <!-- begin-user-doc -->
141
   * This default implementation returns null so that we can easily ignore cases;
142
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
143
   * <!-- end-user-doc -->
144
   * @return the new adapter.
145
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifiersRule
146
   * @generated
147
   */
148
  public Adapter createModifiersRuleAdapter()
149
  {
150
    return null;
151
  }
121
152
122
	/**
153
  /**
123
	 * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule
154
   * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification <em>Modifier Specification</em>}'.
124
	 * <em>Parameter Rule</em>}'.
155
   * <!-- begin-user-doc -->
125
	 * <!-- begin-user-doc -->
156
   * This default implementation returns null so that we can easily ignore cases;
126
	 * This default implementation returns null so that we can easily ignore cases;
157
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
127
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
158
   * <!-- end-user-doc -->
128
	 * <!-- end-user-doc -->
159
   * @return the new adapter.
129
	 * 
160
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification
130
	 * @return the new adapter.
161
   * @generated
131
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule
162
   */
132
	 * @generated
163
  public Adapter createModifierSpecificationAdapter()
133
	 */
164
  {
134
	public Adapter createParameterRuleAdapter() {
165
    return null;
135
		return null;
166
  }
136
	}
137
167
138
	/**
168
  /**
139
	 * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifiersRule
169
   * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectRule <em>Effect Rule</em>}'.
140
	 * <em>Modifiers Rule</em>}'.
170
   * <!-- begin-user-doc -->
141
	 * <!-- begin-user-doc -->
171
   * This default implementation returns null so that we can easily ignore cases;
142
	 * This default implementation returns null so that we can easily ignore cases;
172
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
143
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
173
   * <!-- end-user-doc -->
144
	 * <!-- end-user-doc -->
174
   * @return the new adapter.
145
	 * 
175
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectRule
146
	 * @return the new adapter.
176
   * @generated
147
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifiersRule
177
   */
148
	 * @generated
178
  public Adapter createEffectRuleAdapter()
149
	 */
179
  {
150
	public Adapter createModifiersRuleAdapter() {
180
    return null;
151
		return null;
181
  }
152
	}
153
182
154
	/**
183
  /**
155
	 * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification
184
   * Creates a new adapter for the default case.
156
	 * <em>Modifier Specification</em>}'.
185
   * <!-- begin-user-doc -->
157
	 * <!-- begin-user-doc -->
186
   * This default implementation returns null.
158
	 * This default implementation returns null so that we can easily ignore cases;
187
   * <!-- end-user-doc -->
159
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
188
   * @return the new adapter.
160
	 * <!-- end-user-doc -->
189
   * @generated
161
	 * 
190
   */
162
	 * @return the new adapter.
191
  public Adapter createEObjectAdapter()
163
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification
192
  {
164
	 * @generated
193
    return null;
165
	 */
194
  }
166
	public Adapter createModifierSpecificationAdapter() {
167
		return null;
168
	}
169
170
	/**
171
	 * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectRule <em>Effect Rule</em>}'.
172
	 * <!-- begin-user-doc -->
173
	 * This default implementation returns null so that we can easily ignore cases;
174
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
175
	 * <!-- end-user-doc -->
176
	 * 
177
	 * @return the new adapter.
178
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectRule
179
	 * @generated
180
	 */
181
	public Adapter createEffectRuleAdapter() {
182
		return null;
183
	}
184
185
	/**
186
	 * Creates a new adapter for the default case.
187
	 * <!-- begin-user-doc -->
188
	 * This default implementation returns null.
189
	 * <!-- end-user-doc -->
190
	 * 
191
	 * @return the new adapter.
192
	 * @generated
193
	 */
194
	public Adapter createEObjectAdapter() {
195
		return null;
196
	}
197
195
198
} //UmlParameterAdapterFactory
196
} //UmlParameterAdapterFactory
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/ModifierSpecification.java (-35 / +32 lines)
Lines 12-61 Link Here
12
 * <!-- begin-user-doc -->
12
 * <!-- begin-user-doc -->
13
 * A representation of the model object '<em><b>Modifier Specification</b></em>'.
13
 * A representation of the model object '<em><b>Modifier Specification</b></em>'.
14
 * <!-- end-user-doc -->
14
 * <!-- end-user-doc -->
15
 * 
15
 *
16
 * <p>
16
 * <p>
17
 * The following features are supported:
17
 * The following features are supported:
18
 * <ul>
18
 * <ul>
19
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification#getValue <em>Value</em>}</li>
19
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification#getValue <em>Value</em>}</li>
20
 * </ul>
20
 * </ul>
21
 * </p>
21
 * </p>
22
 * 
22
 *
23
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getModifierSpecification()
23
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getModifierSpecification()
24
 * @model
24
 * @model
25
 * @generated
25
 * @generated
26
 */
26
 */
27
public interface ModifierSpecification extends EObject {
27
public interface ModifierSpecification extends EObject
28
{
29
  /**
30
   * Returns the value of the '<em><b>Value</b></em>' attribute.
31
   * The literals are from the enumeration {@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind}.
32
   * <!-- begin-user-doc -->
33
   * <p>
34
   * If the meaning of the '<em>Value</em>' attribute isn't clear,
35
   * there really should be more of a description here...
36
   * </p>
37
   * <!-- end-user-doc -->
38
   * @return the value of the '<em>Value</em>' attribute.
39
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind
40
   * @see #setValue(ModifierKind)
41
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getModifierSpecification_Value()
42
   * @model
43
   * @generated
44
   */
45
  ModifierKind getValue();
28
46
29
	/**
47
  /**
30
	 * Returns the value of the '<em><b>Value</b></em>' attribute.
48
   * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification#getValue <em>Value</em>}' attribute.
31
	 * The literals are from the enumeration {@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind}.
49
   * <!-- begin-user-doc -->
32
	 * <!-- begin-user-doc -->
50
   * <!-- end-user-doc -->
33
	 * <p>
51
   * @param value the new value of the '<em>Value</em>' attribute.
34
	 * If the meaning of the '<em>Value</em>' attribute isn't clear, there really should be more of a description here...
52
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind
35
	 * </p>
53
   * @see #getValue()
36
	 * <!-- end-user-doc -->
54
   * @generated
37
	 * 
55
   */
38
	 * @return the value of the '<em>Value</em>' attribute.
56
  void setValue(ModifierKind value);
39
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind
40
	 * @see #setValue(ModifierKind)
41
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getModifierSpecification_Value()
42
	 * @model
43
	 * @generated
44
	 */
45
	ModifierKind getValue();
46
47
	/**
48
	 * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification#getValue <em>Value</em>}'
49
	 * attribute.
50
	 * <!-- begin-user-doc -->
51
	 * <!-- end-user-doc -->
52
	 * 
53
	 * @param value
54
	 *        the new value of the '<em>Value</em>' attribute.
55
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind
56
	 * @see #getValue()
57
	 * @generated
58
	 */
59
	void setValue(ModifierKind value);
60
57
61
} // ModifierSpecification
58
} // ModifierSpecification
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/ParameterRule.java (-205 / +185 lines)
Lines 17-248 Link Here
17
 * <!-- begin-user-doc -->
17
 * <!-- begin-user-doc -->
18
 * A representation of the model object '<em><b>Parameter Rule</b></em>'.
18
 * A representation of the model object '<em><b>Parameter Rule</b></em>'.
19
 * <!-- end-user-doc -->
19
 * <!-- end-user-doc -->
20
 * 
20
 *
21
 * <p>
21
 * <p>
22
 * The following features are supported:
22
 * The following features are supported:
23
 * <ul>
23
 * <ul>
24
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getVisibility <em>Visibility</em>}</li>
24
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getVisibility <em>Visibility</em>}</li>
25
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getDirection <em>Direction</em>}</li>
25
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getDirection <em>Direction</em>}</li>
26
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getName <em>Name</em>}</li>
26
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getName <em>Name</em>}</li>
27
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getType <em>Type</em>}</li>
27
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getType <em>Type</em>}</li>
28
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getMultiplicity <em>Multiplicity</em>}</li>
28
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getMultiplicity <em>Multiplicity</em>}</li>
29
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getModifiers <em>Modifiers</em>}</li>
29
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getModifiers <em>Modifiers</em>}</li>
30
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getEffect <em>Effect</em>}</li>
30
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getEffect <em>Effect</em>}</li>
31
 * </ul>
31
 * </ul>
32
 * </p>
32
 * </p>
33
 * 
33
 *
34
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getParameterRule()
34
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getParameterRule()
35
 * @model
35
 * @model
36
 * @generated
36
 * @generated
37
 */
37
 */
38
public interface ParameterRule extends EObject {
38
public interface ParameterRule extends EObject
39
{
40
  /**
41
   * Returns the value of the '<em><b>Visibility</b></em>' attribute.
42
   * The literals are from the enumeration {@link org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind}.
43
   * <!-- begin-user-doc -->
44
   * <p>
45
   * If the meaning of the '<em>Visibility</em>' attribute isn't clear,
46
   * there really should be more of a description here...
47
   * </p>
48
   * <!-- end-user-doc -->
49
   * @return the value of the '<em>Visibility</em>' attribute.
50
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind
51
   * @see #setVisibility(VisibilityKind)
52
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getParameterRule_Visibility()
53
   * @model
54
   * @generated
55
   */
56
  VisibilityKind getVisibility();
39
57
40
	/**
58
  /**
41
	 * Returns the value of the '<em><b>Visibility</b></em>' attribute.
59
   * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getVisibility <em>Visibility</em>}' attribute.
42
	 * The literals are from the enumeration {@link org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind}.
60
   * <!-- begin-user-doc -->
43
	 * <!-- begin-user-doc -->
61
   * <!-- end-user-doc -->
44
	 * <p>
62
   * @param value the new value of the '<em>Visibility</em>' attribute.
45
	 * If the meaning of the '<em>Visibility</em>' attribute isn't clear, there really should be more of a description here...
63
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind
46
	 * </p>
64
   * @see #getVisibility()
47
	 * <!-- end-user-doc -->
65
   * @generated
48
	 * 
66
   */
49
	 * @return the value of the '<em>Visibility</em>' attribute.
67
  void setVisibility(VisibilityKind value);
50
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind
51
	 * @see #setVisibility(VisibilityKind)
52
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getParameterRule_Visibility()
53
	 * @model
54
	 * @generated
55
	 */
56
	VisibilityKind getVisibility();
57
68
58
	/**
69
  /**
59
	 * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getVisibility <em>Visibility</em>}'
70
   * Returns the value of the '<em><b>Direction</b></em>' attribute.
60
	 * attribute.
71
   * The literals are from the enumeration {@link org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction}.
61
	 * <!-- begin-user-doc -->
72
   * <!-- begin-user-doc -->
62
	 * <!-- end-user-doc -->
73
   * <p>
63
	 * 
74
   * If the meaning of the '<em>Direction</em>' attribute isn't clear,
64
	 * @param value
75
   * there really should be more of a description here...
65
	 *        the new value of the '<em>Visibility</em>' attribute.
76
   * </p>
66
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.VisibilityKind
77
   * <!-- end-user-doc -->
67
	 * @see #getVisibility()
78
   * @return the value of the '<em>Direction</em>' attribute.
68
	 * @generated
79
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction
69
	 */
80
   * @see #setDirection(Direction)
70
	void setVisibility(VisibilityKind value);
81
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getParameterRule_Direction()
82
   * @model
83
   * @generated
84
   */
85
  Direction getDirection();
71
86
72
	/**
87
  /**
73
	 * Returns the value of the '<em><b>Direction</b></em>' attribute.
88
   * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getDirection <em>Direction</em>}' attribute.
74
	 * The literals are from the enumeration {@link org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction}.
89
   * <!-- begin-user-doc -->
75
	 * <!-- begin-user-doc -->
90
   * <!-- end-user-doc -->
76
	 * <p>
91
   * @param value the new value of the '<em>Direction</em>' attribute.
77
	 * If the meaning of the '<em>Direction</em>' attribute isn't clear, there really should be more of a description here...
92
   * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction
78
	 * </p>
93
   * @see #getDirection()
79
	 * <!-- end-user-doc -->
94
   * @generated
80
	 * 
95
   */
81
	 * @return the value of the '<em>Direction</em>' attribute.
96
  void setDirection(Direction value);
82
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction
83
	 * @see #setDirection(Direction)
84
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getParameterRule_Direction()
85
	 * @model
86
	 * @generated
87
	 */
88
	Direction getDirection();
89
97
90
	/**
98
  /**
91
	 * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getDirection <em>Direction</em>}'
99
   * Returns the value of the '<em><b>Name</b></em>' attribute.
92
	 * attribute.
100
   * <!-- begin-user-doc -->
93
	 * <!-- begin-user-doc -->
101
   * <p>
94
	 * <!-- end-user-doc -->
102
   * If the meaning of the '<em>Name</em>' attribute isn't clear,
95
	 * 
103
   * there really should be more of a description here...
96
	 * @param value
104
   * </p>
97
	 *        the new value of the '<em>Direction</em>' attribute.
105
   * <!-- end-user-doc -->
98
	 * @see org.eclipse.papyrus.common.editor.xtext.umlCommon.Direction
106
   * @return the value of the '<em>Name</em>' attribute.
99
	 * @see #getDirection()
107
   * @see #setName(String)
100
	 * @generated
108
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getParameterRule_Name()
101
	 */
109
   * @model
102
	void setDirection(Direction value);
110
   * @generated
111
   */
112
  String getName();
103
113
104
	/**
114
  /**
105
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
115
   * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getName <em>Name</em>}' attribute.
106
	 * <!-- begin-user-doc -->
116
   * <!-- begin-user-doc -->
107
	 * <p>
117
   * <!-- end-user-doc -->
108
	 * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
118
   * @param value the new value of the '<em>Name</em>' attribute.
109
	 * </p>
119
   * @see #getName()
110
	 * <!-- end-user-doc -->
120
   * @generated
111
	 * 
121
   */
112
	 * @return the value of the '<em>Name</em>' attribute.
122
  void setName(String value);
113
	 * @see #setName(String)
114
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getParameterRule_Name()
115
	 * @model
116
	 * @generated
117
	 */
118
	String getName();
119
123
120
	/**
124
  /**
121
	 * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getName <em>Name</em>}' attribute.
125
   * Returns the value of the '<em><b>Type</b></em>' containment reference.
122
	 * <!-- begin-user-doc -->
126
   * <!-- begin-user-doc -->
123
	 * <!-- end-user-doc -->
127
   * <p>
124
	 * 
128
   * If the meaning of the '<em>Type</em>' containment reference isn't clear,
125
	 * @param value
129
   * there really should be more of a description here...
126
	 *        the new value of the '<em>Name</em>' attribute.
130
   * </p>
127
	 * @see #getName()
131
   * <!-- end-user-doc -->
128
	 * @generated
132
   * @return the value of the '<em>Type</em>' containment reference.
129
	 */
133
   * @see #setType(TypeRule)
130
	void setName(String value);
134
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getParameterRule_Type()
135
   * @model containment="true"
136
   * @generated
137
   */
138
  TypeRule getType();
131
139
132
	/**
140
  /**
133
	 * Returns the value of the '<em><b>Type</b></em>' containment reference.
141
   * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getType <em>Type</em>}' containment reference.
134
	 * <!-- begin-user-doc -->
142
   * <!-- begin-user-doc -->
135
	 * <p>
143
   * <!-- end-user-doc -->
136
	 * If the meaning of the '<em>Type</em>' containment reference isn't clear, there really should be more of a description here...
144
   * @param value the new value of the '<em>Type</em>' containment reference.
137
	 * </p>
145
   * @see #getType()
138
	 * <!-- end-user-doc -->
146
   * @generated
139
	 * 
147
   */
140
	 * @return the value of the '<em>Type</em>' containment reference.
148
  void setType(TypeRule value);
141
	 * @see #setType(TypeRule)
142
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getParameterRule_Type()
143
	 * @model containment="true"
144
	 * @generated
145
	 */
146
	TypeRule getType();
147
149
148
	/**
150
  /**
149
	 * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getType <em>Type</em>}' containment
151
   * Returns the value of the '<em><b>Multiplicity</b></em>' containment reference.
150
	 * reference.
152
   * <!-- begin-user-doc -->
151
	 * <!-- begin-user-doc -->
153
   * <p>
152
	 * <!-- end-user-doc -->
154
   * If the meaning of the '<em>Multiplicity</em>' containment reference isn't clear,
153
	 * 
155
   * there really should be more of a description here...
154
	 * @param value
156
   * </p>
155
	 *        the new value of the '<em>Type</em>' containment reference.
157
   * <!-- end-user-doc -->
156
	 * @see #getType()
158
   * @return the value of the '<em>Multiplicity</em>' containment reference.
157
	 * @generated
159
   * @see #setMultiplicity(MultiplicityRule)
158
	 */
160
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getParameterRule_Multiplicity()
159
	void setType(TypeRule value);
161
   * @model containment="true"
162
   * @generated
163
   */
164
  MultiplicityRule getMultiplicity();
160
165
161
	/**
166
  /**
162
	 * Returns the value of the '<em><b>Multiplicity</b></em>' containment reference.
167
   * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getMultiplicity <em>Multiplicity</em>}' containment reference.
163
	 * <!-- begin-user-doc -->
168
   * <!-- begin-user-doc -->
164
	 * <p>
169
   * <!-- end-user-doc -->
165
	 * If the meaning of the '<em>Multiplicity</em>' containment reference isn't clear, there really should be more of a description here...
170
   * @param value the new value of the '<em>Multiplicity</em>' containment reference.
166
	 * </p>
171
   * @see #getMultiplicity()
167
	 * <!-- end-user-doc -->
172
   * @generated
168
	 * 
173
   */
169
	 * @return the value of the '<em>Multiplicity</em>' containment reference.
174
  void setMultiplicity(MultiplicityRule value);
170
	 * @see #setMultiplicity(MultiplicityRule)
171
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getParameterRule_Multiplicity()
172
	 * @model containment="true"
173
	 * @generated
174
	 */
175
	MultiplicityRule getMultiplicity();
176
175
177
	/**
176
  /**
178
	 * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getMultiplicity <em>Multiplicity</em>}'
177
   * Returns the value of the '<em><b>Modifiers</b></em>' containment reference.
179
	 * containment reference.
178
   * <!-- begin-user-doc -->
180
	 * <!-- begin-user-doc -->
179
   * <p>
181
	 * <!-- end-user-doc -->
180
   * If the meaning of the '<em>Modifiers</em>' containment reference isn't clear,
182
	 * 
181
   * there really should be more of a description here...
183
	 * @param value
182
   * </p>
184
	 *        the new value of the '<em>Multiplicity</em>' containment reference.
183
   * <!-- end-user-doc -->
185
	 * @see #getMultiplicity()
184
   * @return the value of the '<em>Modifiers</em>' containment reference.
186
	 * @generated
185
   * @see #setModifiers(ModifiersRule)
187
	 */
186
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getParameterRule_Modifiers()
188
	void setMultiplicity(MultiplicityRule value);
187
   * @model containment="true"
188
   * @generated
189
   */
190
  ModifiersRule getModifiers();
189
191
190
	/**
192
  /**
191
	 * Returns the value of the '<em><b>Modifiers</b></em>' containment reference.
193
   * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getModifiers <em>Modifiers</em>}' containment reference.
192
	 * <!-- begin-user-doc -->
194
   * <!-- begin-user-doc -->
193
	 * <p>
195
   * <!-- end-user-doc -->
194
	 * If the meaning of the '<em>Modifiers</em>' containment reference isn't clear, there really should be more of a description here...
196
   * @param value the new value of the '<em>Modifiers</em>' containment reference.
195
	 * </p>
197
   * @see #getModifiers()
196
	 * <!-- end-user-doc -->
198
   * @generated
197
	 * 
199
   */
198
	 * @return the value of the '<em>Modifiers</em>' containment reference.
200
  void setModifiers(ModifiersRule value);
199
	 * @see #setModifiers(ModifiersRule)
200
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getParameterRule_Modifiers()
201
	 * @model containment="true"
202
	 * @generated
203
	 */
204
	ModifiersRule getModifiers();
205
201
206
	/**
202
  /**
207
	 * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getModifiers <em>Modifiers</em>}'
203
   * Returns the value of the '<em><b>Effect</b></em>' containment reference.
208
	 * containment reference.
204
   * <!-- begin-user-doc -->
209
	 * <!-- begin-user-doc -->
205
   * <p>
210
	 * <!-- end-user-doc -->
206
   * If the meaning of the '<em>Effect</em>' containment reference isn't clear,
211
	 * 
207
   * there really should be more of a description here...
212
	 * @param value
208
   * </p>
213
	 *        the new value of the '<em>Modifiers</em>' containment reference.
209
   * <!-- end-user-doc -->
214
	 * @see #getModifiers()
210
   * @return the value of the '<em>Effect</em>' containment reference.
215
	 * @generated
211
   * @see #setEffect(EffectRule)
216
	 */
212
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getParameterRule_Effect()
217
	void setModifiers(ModifiersRule value);
213
   * @model containment="true"
214
   * @generated
215
   */
216
  EffectRule getEffect();
218
217
219
	/**
218
  /**
220
	 * Returns the value of the '<em><b>Effect</b></em>' containment reference.
219
   * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getEffect <em>Effect</em>}' containment reference.
221
	 * <!-- begin-user-doc -->
220
   * <!-- begin-user-doc -->
222
	 * <p>
221
   * <!-- end-user-doc -->
223
	 * If the meaning of the '<em>Effect</em>' containment reference isn't clear, there really should be more of a description here...
222
   * @param value the new value of the '<em>Effect</em>' containment reference.
224
	 * </p>
223
   * @see #getEffect()
225
	 * <!-- end-user-doc -->
224
   * @generated
226
	 * 
225
   */
227
	 * @return the value of the '<em>Effect</em>' containment reference.
226
  void setEffect(EffectRule value);
228
	 * @see #setEffect(EffectRule)
229
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getParameterRule_Effect()
230
	 * @model containment="true"
231
	 * @generated
232
	 */
233
	EffectRule getEffect();
234
235
	/**
236
	 * Sets the value of the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getEffect <em>Effect</em>}' containment
237
	 * reference.
238
	 * <!-- begin-user-doc -->
239
	 * <!-- end-user-doc -->
240
	 * 
241
	 * @param value
242
	 *        the new value of the '<em>Effect</em>' containment reference.
243
	 * @see #getEffect()
244
	 * @generated
245
	 */
246
	void setEffect(EffectRule value);
247
227
248
} // ParameterRule
228
} // ParameterRule
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/EffectKind.java (-238 / +237 lines)
Lines 17-282 Link Here
17
 * A representation of the literals of the enumeration '<em><b>Effect Kind</b></em>',
17
 * A representation of the literals of the enumeration '<em><b>Effect Kind</b></em>',
18
 * and utility methods for working with them.
18
 * and utility methods for working with them.
19
 * <!-- end-user-doc -->
19
 * <!-- end-user-doc -->
20
 * 
21
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getEffectKind()
20
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getEffectKind()
22
 * @model
21
 * @model
23
 * @generated
22
 * @generated
24
 */
23
 */
25
public enum EffectKind implements Enumerator {
24
public enum EffectKind implements Enumerator
26
	/**
25
{
27
	 * The '<em><b>CREATE</b></em>' literal object.
26
  /**
28
	 * <!-- begin-user-doc -->
27
   * The '<em><b>CREATE</b></em>' literal object.
29
	 * <!-- end-user-doc -->
28
   * <!-- begin-user-doc -->
30
	 * 
29
   * <!-- end-user-doc -->
31
	 * @see #CREATE_VALUE
30
   * @see #CREATE_VALUE
32
	 * @generated
31
   * @generated
33
	 * @ordered
32
   * @ordered
34
	 */
33
   */
35
	CREATE(0, "CREATE", "create"),
34
  CREATE(0, "CREATE", "create"),
36
35
37
	/**
36
  /**
38
	 * The '<em><b>READ</b></em>' literal object.
37
   * The '<em><b>READ</b></em>' literal object.
39
	 * <!-- begin-user-doc -->
38
   * <!-- begin-user-doc -->
40
	 * <!-- end-user-doc -->
39
   * <!-- end-user-doc -->
41
	 * 
40
   * @see #READ_VALUE
42
	 * @see #READ_VALUE
41
   * @generated
43
	 * @generated
42
   * @ordered
44
	 * @ordered
43
   */
45
	 */
44
  READ(1, "READ", "read"),
46
	READ(1, "READ", "read"),
47
45
48
	/**
46
  /**
49
	 * The '<em><b>UPDATE</b></em>' literal object.
47
   * The '<em><b>UPDATE</b></em>' literal object.
50
	 * <!-- begin-user-doc -->
48
   * <!-- begin-user-doc -->
51
	 * <!-- end-user-doc -->
49
   * <!-- end-user-doc -->
52
	 * 
50
   * @see #UPDATE_VALUE
53
	 * @see #UPDATE_VALUE
51
   * @generated
54
	 * @generated
52
   * @ordered
55
	 * @ordered
53
   */
56
	 */
54
  UPDATE(2, "UPDATE", "update"),
57
	UPDATE(2, "UPDATE", "update"),
58
55
59
	/**
56
  /**
60
	 * The '<em><b>DELETE</b></em>' literal object.
57
   * The '<em><b>DELETE</b></em>' literal object.
61
	 * <!-- begin-user-doc -->
58
   * <!-- begin-user-doc -->
62
	 * <!-- end-user-doc -->
59
   * <!-- end-user-doc -->
63
	 * 
60
   * @see #DELETE_VALUE
64
	 * @see #DELETE_VALUE
61
   * @generated
65
	 * @generated
62
   * @ordered
66
	 * @ordered
63
   */
67
	 */
64
  DELETE(3, "DELETE", "delete");
68
	DELETE(3, "DELETE", "delete");
69
65
70
	/**
66
  /**
71
	 * The '<em><b>CREATE</b></em>' literal value.
67
   * The '<em><b>CREATE</b></em>' literal value.
72
	 * <!-- begin-user-doc -->
68
   * <!-- begin-user-doc -->
73
	 * <p>
69
   * <p>
74
	 * If the meaning of '<em><b>CREATE</b></em>' literal object isn't clear, there really should be more of a description here...
70
   * If the meaning of '<em><b>CREATE</b></em>' literal object isn't clear,
75
	 * </p>
71
   * there really should be more of a description here...
76
	 * <!-- end-user-doc -->
72
   * </p>
77
	 * 
73
   * <!-- end-user-doc -->
78
	 * @see #CREATE
74
   * @see #CREATE
79
	 * @model literal="create"
75
   * @model literal="create"
80
	 * @generated
76
   * @generated
81
	 * @ordered
77
   * @ordered
82
	 */
78
   */
83
	public static final int CREATE_VALUE = 0;
79
  public static final int CREATE_VALUE = 0;
84
80
85
	/**
81
  /**
86
	 * The '<em><b>READ</b></em>' literal value.
82
   * The '<em><b>READ</b></em>' literal value.
87
	 * <!-- begin-user-doc -->
83
   * <!-- begin-user-doc -->
88
	 * <p>
84
   * <p>
89
	 * If the meaning of '<em><b>READ</b></em>' literal object isn't clear, there really should be more of a description here...
85
   * If the meaning of '<em><b>READ</b></em>' literal object isn't clear,
90
	 * </p>
86
   * there really should be more of a description here...
91
	 * <!-- end-user-doc -->
87
   * </p>
92
	 * 
88
   * <!-- end-user-doc -->
93
	 * @see #READ
89
   * @see #READ
94
	 * @model literal="read"
90
   * @model literal="read"
95
	 * @generated
91
   * @generated
96
	 * @ordered
92
   * @ordered
97
	 */
93
   */
98
	public static final int READ_VALUE = 1;
94
  public static final int READ_VALUE = 1;
99
95
100
	/**
96
  /**
101
	 * The '<em><b>UPDATE</b></em>' literal value.
97
   * The '<em><b>UPDATE</b></em>' literal value.
102
	 * <!-- begin-user-doc -->
98
   * <!-- begin-user-doc -->
103
	 * <p>
99
   * <p>
104
	 * If the meaning of '<em><b>UPDATE</b></em>' literal object isn't clear, there really should be more of a description here...
100
   * If the meaning of '<em><b>UPDATE</b></em>' literal object isn't clear,
105
	 * </p>
101
   * there really should be more of a description here...
106
	 * <!-- end-user-doc -->
102
   * </p>
107
	 * 
103
   * <!-- end-user-doc -->
108
	 * @see #UPDATE
104
   * @see #UPDATE
109
	 * @model literal="update"
105
   * @model literal="update"
110
	 * @generated
106
   * @generated
111
	 * @ordered
107
   * @ordered
112
	 */
108
   */
113
	public static final int UPDATE_VALUE = 2;
109
  public static final int UPDATE_VALUE = 2;
114
110
115
	/**
111
  /**
116
	 * The '<em><b>DELETE</b></em>' literal value.
112
   * The '<em><b>DELETE</b></em>' literal value.
117
	 * <!-- begin-user-doc -->
113
   * <!-- begin-user-doc -->
118
	 * <p>
114
   * <p>
119
	 * If the meaning of '<em><b>DELETE</b></em>' literal object isn't clear, there really should be more of a description here...
115
   * If the meaning of '<em><b>DELETE</b></em>' literal object isn't clear,
120
	 * </p>
116
   * there really should be more of a description here...
121
	 * <!-- end-user-doc -->
117
   * </p>
122
	 * 
118
   * <!-- end-user-doc -->
123
	 * @see #DELETE
119
   * @see #DELETE
124
	 * @model literal="delete"
120
   * @model literal="delete"
125
	 * @generated
121
   * @generated
126
	 * @ordered
122
   * @ordered
127
	 */
123
   */
128
	public static final int DELETE_VALUE = 3;
124
  public static final int DELETE_VALUE = 3;
129
125
130
	/**
126
  /**
131
	 * An array of all the '<em><b>Effect Kind</b></em>' enumerators.
127
   * An array of all the '<em><b>Effect Kind</b></em>' enumerators.
132
	 * <!-- begin-user-doc -->
128
   * <!-- begin-user-doc -->
133
	 * <!-- end-user-doc -->
129
   * <!-- end-user-doc -->
134
	 * 
130
   * @generated
135
	 * @generated
131
   */
136
	 */
132
  private static final EffectKind[] VALUES_ARRAY =
137
	private static final EffectKind[] VALUES_ARRAY = new EffectKind[]{ CREATE, READ, UPDATE, DELETE, };
133
    new EffectKind[]
134
    {
135
      CREATE,
136
      READ,
137
      UPDATE,
138
      DELETE,
139
    };
138
140
139
	/**
141
  /**
140
	 * A public read-only list of all the '<em><b>Effect Kind</b></em>' enumerators.
142
   * A public read-only list of all the '<em><b>Effect Kind</b></em>' enumerators.
141
	 * <!-- begin-user-doc -->
143
   * <!-- begin-user-doc -->
142
	 * <!-- end-user-doc -->
144
   * <!-- end-user-doc -->
143
	 * 
145
   * @generated
144
	 * @generated
146
   */
145
	 */
147
  public static final List<EffectKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
146
	public static final List<EffectKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
147
148
148
	/**
149
  /**
149
	 * Returns the '<em><b>Effect Kind</b></em>' literal with the specified literal value.
150
   * Returns the '<em><b>Effect Kind</b></em>' literal with the specified literal value.
150
	 * <!-- begin-user-doc -->
151
   * <!-- begin-user-doc -->
151
	 * <!-- end-user-doc -->
152
   * <!-- end-user-doc -->
152
	 * 
153
   * @generated
153
	 * @generated
154
   */
154
	 */
155
  public static EffectKind get(String literal)
155
	public static EffectKind get(String literal) {
156
  {
156
		for(int i = 0; i < VALUES_ARRAY.length; ++i) {
157
    for (int i = 0; i < VALUES_ARRAY.length; ++i)
157
			EffectKind result = VALUES_ARRAY[i];
158
    {
158
			if(result.toString().equals(literal)) {
159
      EffectKind result = VALUES_ARRAY[i];
159
				return result;
160
      if (result.toString().equals(literal))
160
			}
161
      {
161
		}
162
        return result;
162
		return null;
163
      }
163
	}
164
    }
165
    return null;
166
  }
164
167
165
	/**
168
  /**
166
	 * Returns the '<em><b>Effect Kind</b></em>' literal with the specified name.
169
   * Returns the '<em><b>Effect Kind</b></em>' literal with the specified name.
167
	 * <!-- begin-user-doc -->
170
   * <!-- begin-user-doc -->
168
	 * <!-- end-user-doc -->
171
   * <!-- end-user-doc -->
169
	 * 
172
   * @generated
170
	 * @generated
173
   */
171
	 */
174
  public static EffectKind getByName(String name)
172
	public static EffectKind getByName(String name) {
175
  {
173
		for(int i = 0; i < VALUES_ARRAY.length; ++i) {
176
    for (int i = 0; i < VALUES_ARRAY.length; ++i)
174
			EffectKind result = VALUES_ARRAY[i];
177
    {
175
			if(result.getName().equals(name)) {
178
      EffectKind result = VALUES_ARRAY[i];
176
				return result;
179
      if (result.getName().equals(name))
177
			}
180
      {
178
		}
181
        return result;
179
		return null;
182
      }
180
	}
183
    }
184
    return null;
185
  }
181
186
182
	/**
187
  /**
183
	 * Returns the '<em><b>Effect Kind</b></em>' literal with the specified integer value.
188
   * Returns the '<em><b>Effect Kind</b></em>' literal with the specified integer value.
184
	 * <!-- begin-user-doc -->
189
   * <!-- begin-user-doc -->
185
	 * <!-- end-user-doc -->
190
   * <!-- end-user-doc -->
186
	 * 
191
   * @generated
187
	 * @generated
192
   */
188
	 */
193
  public static EffectKind get(int value)
189
	public static EffectKind get(int value) {
194
  {
190
		switch(value) {
195
    switch (value)
191
		case CREATE_VALUE:
196
    {
192
			return CREATE;
197
      case CREATE_VALUE: return CREATE;
193
		case READ_VALUE:
198
      case READ_VALUE: return READ;
194
			return READ;
199
      case UPDATE_VALUE: return UPDATE;
195
		case UPDATE_VALUE:
200
      case DELETE_VALUE: return DELETE;
196
			return UPDATE;
201
    }
197
		case DELETE_VALUE:
202
    return null;
198
			return DELETE;
203
  }
199
		}
200
		return null;
201
	}
202
204
203
	/**
205
  /**
204
	 * <!-- begin-user-doc -->
206
   * <!-- begin-user-doc -->
205
	 * <!-- end-user-doc -->
207
   * <!-- end-user-doc -->
206
	 * 
208
   * @generated
207
	 * @generated
209
   */
208
	 */
210
  private final int value;
209
	private final int value;
210
211
211
	/**
212
  /**
212
	 * <!-- begin-user-doc -->
213
   * <!-- begin-user-doc -->
213
	 * <!-- end-user-doc -->
214
   * <!-- end-user-doc -->
214
	 * 
215
   * @generated
215
	 * @generated
216
   */
216
	 */
217
  private final String name;
217
	private final String name;
218
218
219
	/**
219
  /**
220
	 * <!-- begin-user-doc -->
220
   * <!-- begin-user-doc -->
221
	 * <!-- end-user-doc -->
221
   * <!-- end-user-doc -->
222
	 * 
222
   * @generated
223
	 * @generated
223
   */
224
	 */
224
  private final String literal;
225
	private final String literal;
226
225
227
	/**
226
  /**
228
	 * Only this class can construct instances.
227
   * Only this class can construct instances.
229
	 * <!-- begin-user-doc -->
228
   * <!-- begin-user-doc -->
230
	 * <!-- end-user-doc -->
229
   * <!-- end-user-doc -->
231
	 * 
230
   * @generated
232
	 * @generated
231
   */
233
	 */
232
  private EffectKind(int value, String name, String literal)
234
	private EffectKind(int value, String name, String literal) {
233
  {
235
		this.value = value;
234
    this.value = value;
236
		this.name = name;
235
    this.name = name;
237
		this.literal = literal;
236
    this.literal = literal;
238
	}
237
  }
239
238
240
	/**
239
  /**
241
	 * <!-- begin-user-doc -->
240
   * <!-- begin-user-doc -->
242
	 * <!-- end-user-doc -->
241
   * <!-- end-user-doc -->
243
	 * 
242
   * @generated
244
	 * @generated
243
   */
245
	 */
244
  public int getValue()
246
	public int getValue() {
245
  {
247
		return value;
246
    return value;
248
	}
247
  }
249
248
250
	/**
249
  /**
251
	 * <!-- begin-user-doc -->
250
   * <!-- begin-user-doc -->
252
	 * <!-- end-user-doc -->
251
   * <!-- end-user-doc -->
253
	 * 
252
   * @generated
254
	 * @generated
253
   */
255
	 */
254
  public String getName()
256
	public String getName() {
255
  {
257
		return name;
256
    return name;
258
	}
257
  }
259
258
260
	/**
259
  /**
261
	 * <!-- begin-user-doc -->
260
   * <!-- begin-user-doc -->
262
	 * <!-- end-user-doc -->
261
   * <!-- end-user-doc -->
263
	 * 
262
   * @generated
264
	 * @generated
263
   */
265
	 */
264
  public String getLiteral()
266
	public String getLiteral() {
265
  {
267
		return literal;
266
    return literal;
268
	}
267
  }
269
268
270
	/**
269
  /**
271
	 * Returns the literal value of the enumerator, which is its string representation.
270
   * Returns the literal value of the enumerator, which is its string representation.
272
	 * <!-- begin-user-doc -->
271
   * <!-- begin-user-doc -->
273
	 * <!-- end-user-doc -->
272
   * <!-- end-user-doc -->
274
	 * 
273
   * @generated
275
	 * @generated
274
   */
276
	 */
275
  @Override
277
	@Override
276
  public String toString()
278
	public String toString() {
277
  {
279
		return literal;
278
    return literal;
280
	}
279
  }
281
280
  
282
} //EffectKind
281
} //EffectKind
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/UmlParameterFactory.java (-56 / +49 lines)
Lines 13-81 Link Here
13
 * The <b>Factory</b> for the model.
13
 * The <b>Factory</b> for the model.
14
 * It provides a create method for each non-abstract class of the model.
14
 * It provides a create method for each non-abstract class of the model.
15
 * <!-- end-user-doc -->
15
 * <!-- end-user-doc -->
16
 * 
17
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage
16
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage
18
 * @generated
17
 * @generated
19
 */
18
 */
20
public interface UmlParameterFactory extends EFactory {
19
public interface UmlParameterFactory extends EFactory
20
{
21
  /**
22
   * The singleton instance of the factory.
23
   * <!-- begin-user-doc -->
24
   * <!-- end-user-doc -->
25
   * @generated
26
   */
27
  UmlParameterFactory eINSTANCE = org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterFactoryImpl.init();
21
28
22
	/**
29
  /**
23
	 * The singleton instance of the factory.
30
   * Returns a new object of class '<em>Parameter Rule</em>'.
24
	 * <!-- begin-user-doc -->
31
   * <!-- begin-user-doc -->
25
	 * <!-- end-user-doc -->
32
   * <!-- end-user-doc -->
26
	 * 
33
   * @return a new object of class '<em>Parameter Rule</em>'.
27
	 * @generated
34
   * @generated
28
	 */
35
   */
29
	UmlParameterFactory eINSTANCE = org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterFactoryImpl.init();
36
  ParameterRule createParameterRule();
30
37
31
	/**
38
  /**
32
	 * Returns a new object of class '<em>Parameter Rule</em>'.
39
   * Returns a new object of class '<em>Modifiers Rule</em>'.
33
	 * <!-- begin-user-doc -->
40
   * <!-- begin-user-doc -->
34
	 * <!-- end-user-doc -->
41
   * <!-- end-user-doc -->
35
	 * 
42
   * @return a new object of class '<em>Modifiers Rule</em>'.
36
	 * @return a new object of class '<em>Parameter Rule</em>'.
43
   * @generated
37
	 * @generated
44
   */
38
	 */
45
  ModifiersRule createModifiersRule();
39
	ParameterRule createParameterRule();
40
46
41
	/**
47
  /**
42
	 * Returns a new object of class '<em>Modifiers Rule</em>'.
48
   * Returns a new object of class '<em>Modifier Specification</em>'.
43
	 * <!-- begin-user-doc -->
49
   * <!-- begin-user-doc -->
44
	 * <!-- end-user-doc -->
50
   * <!-- end-user-doc -->
45
	 * 
51
   * @return a new object of class '<em>Modifier Specification</em>'.
46
	 * @return a new object of class '<em>Modifiers Rule</em>'.
52
   * @generated
47
	 * @generated
53
   */
48
	 */
54
  ModifierSpecification createModifierSpecification();
49
	ModifiersRule createModifiersRule();
50
55
51
	/**
56
  /**
52
	 * Returns a new object of class '<em>Modifier Specification</em>'.
57
   * Returns a new object of class '<em>Effect Rule</em>'.
53
	 * <!-- begin-user-doc -->
58
   * <!-- begin-user-doc -->
54
	 * <!-- end-user-doc -->
59
   * <!-- end-user-doc -->
55
	 * 
60
   * @return a new object of class '<em>Effect Rule</em>'.
56
	 * @return a new object of class '<em>Modifier Specification</em>'.
61
   * @generated
57
	 * @generated
62
   */
58
	 */
63
  EffectRule createEffectRule();
59
	ModifierSpecification createModifierSpecification();
60
64
61
	/**
65
  /**
62
	 * Returns a new object of class '<em>Effect Rule</em>'.
66
   * Returns the package supported by this factory.
63
	 * <!-- begin-user-doc -->
67
   * <!-- begin-user-doc -->
64
	 * <!-- end-user-doc -->
68
   * <!-- end-user-doc -->
65
	 * 
69
   * @return the package supported by this factory.
66
	 * @return a new object of class '<em>Effect Rule</em>'.
70
   * @generated
67
	 * @generated
71
   */
68
	 */
72
  UmlParameterPackage getUmlParameterPackage();
69
	EffectRule createEffectRule();
70
71
	/**
72
	 * Returns the package supported by this factory.
73
	 * <!-- begin-user-doc -->
74
	 * <!-- end-user-doc -->
75
	 * 
76
	 * @return the package supported by this factory.
77
	 * @generated
78
	 */
79
	UmlParameterPackage getUmlParameterPackage();
80
73
81
} //UmlParameterFactory
74
} //UmlParameterFactory
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/UmlParameterPackage.java (-578 / +501 lines)
Lines 17-663 Link Here
17
 * The <b>Package</b> for the model.
17
 * The <b>Package</b> for the model.
18
 * It contains accessors for the meta objects to represent
18
 * It contains accessors for the meta objects to represent
19
 * <ul>
19
 * <ul>
20
 * <li>each class,</li>
20
 *   <li>each class,</li>
21
 * <li>each feature of each class,</li>
21
 *   <li>each feature of each class,</li>
22
 * <li>each enum,</li>
22
 *   <li>each enum,</li>
23
 * <li>and each data type</li>
23
 *   <li>and each data type</li>
24
 * </ul>
24
 * </ul>
25
 * <!-- end-user-doc -->
25
 * <!-- end-user-doc -->
26
 * 
27
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterFactory
26
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterFactory
28
 * @model kind="package"
27
 * @model kind="package"
29
 * @generated
28
 * @generated
30
 */
29
 */
31
public interface UmlParameterPackage extends EPackage {
30
public interface UmlParameterPackage extends EPackage
32
31
{
33
	/**
32
  /**
34
	 * The package name.
33
   * The package name.
35
	 * <!-- begin-user-doc -->
34
   * <!-- begin-user-doc -->
36
	 * <!-- end-user-doc -->
35
   * <!-- end-user-doc -->
37
	 * 
36
   * @generated
38
	 * @generated
37
   */
39
	 */
38
  String eNAME = "umlParameter";
40
	String eNAME = "umlParameter";
41
39
42
	/**
40
  /**
43
	 * The package namespace URI.
41
   * The package namespace URI.
44
	 * <!-- begin-user-doc -->
42
   * <!-- begin-user-doc -->
45
	 * <!-- end-user-doc -->
43
   * <!-- end-user-doc -->
46
	 * 
44
   * @generated
47
	 * @generated
45
   */
48
	 */
46
  String eNS_URI = "http://www.eclipse.org/papyrus/parameter/editor/xtext/UmlParameter";
49
	String eNS_URI = "http://www.eclipse.org/papyrus/parameter/editor/xtext/UmlParameter";
50
47
51
	/**
48
  /**
52
	 * The package namespace name.
49
   * The package namespace name.
53
	 * <!-- begin-user-doc -->
50
   * <!-- begin-user-doc -->
54
	 * <!-- end-user-doc -->
51
   * <!-- end-user-doc -->
55
	 * 
52
   * @generated
56
	 * @generated
53
   */
57
	 */
54
  String eNS_PREFIX = "umlParameter";
58
	String eNS_PREFIX = "umlParameter";
59
55
60
	/**
56
  /**
61
	 * The singleton instance of the package.
57
   * The singleton instance of the package.
62
	 * <!-- begin-user-doc -->
58
   * <!-- begin-user-doc -->
63
	 * <!-- end-user-doc -->
59
   * <!-- end-user-doc -->
64
	 * 
60
   * @generated
65
	 * @generated
61
   */
66
	 */
62
  UmlParameterPackage eINSTANCE = org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl.init();
67
	UmlParameterPackage eINSTANCE = org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl.init();
68
63
69
	/**
64
  /**
70
	 * The meta object id for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl <em>Parameter Rule</em>}'
65
   * The meta object id for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl <em>Parameter Rule</em>}' class.
71
	 * class.
66
   * <!-- begin-user-doc -->
72
	 * <!-- begin-user-doc -->
67
   * <!-- end-user-doc -->
73
	 * <!-- end-user-doc -->
68
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl
74
	 * 
69
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getParameterRule()
75
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl
70
   * @generated
76
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getParameterRule()
71
   */
77
	 * @generated
72
  int PARAMETER_RULE = 0;
78
	 */
79
	int PARAMETER_RULE = 0;
80
73
81
	/**
74
  /**
82
	 * The feature id for the '<em><b>Visibility</b></em>' attribute.
75
   * The feature id for the '<em><b>Visibility</b></em>' attribute.
83
	 * <!-- begin-user-doc -->
76
   * <!-- begin-user-doc -->
84
	 * <!-- end-user-doc -->
77
   * <!-- end-user-doc -->
85
	 * 
78
   * @generated
86
	 * @generated
79
   * @ordered
87
	 * @ordered
80
   */
88
	 */
81
  int PARAMETER_RULE__VISIBILITY = 0;
89
	int PARAMETER_RULE__VISIBILITY = 0;
90
82
91
	/**
83
  /**
92
	 * The feature id for the '<em><b>Direction</b></em>' attribute.
84
   * The feature id for the '<em><b>Direction</b></em>' attribute.
93
	 * <!-- begin-user-doc -->
85
   * <!-- begin-user-doc -->
94
	 * <!-- end-user-doc -->
86
   * <!-- end-user-doc -->
95
	 * 
87
   * @generated
96
	 * @generated
88
   * @ordered
97
	 * @ordered
89
   */
98
	 */
90
  int PARAMETER_RULE__DIRECTION = 1;
99
	int PARAMETER_RULE__DIRECTION = 1;
100
91
101
	/**
92
  /**
102
	 * The feature id for the '<em><b>Name</b></em>' attribute.
93
   * The feature id for the '<em><b>Name</b></em>' attribute.
103
	 * <!-- begin-user-doc -->
94
   * <!-- begin-user-doc -->
104
	 * <!-- end-user-doc -->
95
   * <!-- end-user-doc -->
105
	 * 
96
   * @generated
106
	 * @generated
97
   * @ordered
107
	 * @ordered
98
   */
108
	 */
99
  int PARAMETER_RULE__NAME = 2;
109
	int PARAMETER_RULE__NAME = 2;
110
100
111
	/**
101
  /**
112
	 * The feature id for the '<em><b>Type</b></em>' containment reference.
102
   * The feature id for the '<em><b>Type</b></em>' containment reference.
113
	 * <!-- begin-user-doc -->
103
   * <!-- begin-user-doc -->
114
	 * <!-- end-user-doc -->
104
   * <!-- end-user-doc -->
115
	 * 
105
   * @generated
116
	 * @generated
106
   * @ordered
117
	 * @ordered
107
   */
118
	 */
108
  int PARAMETER_RULE__TYPE = 3;
119
	int PARAMETER_RULE__TYPE = 3;
120
109
121
	/**
110
  /**
122
	 * The feature id for the '<em><b>Multiplicity</b></em>' containment reference.
111
   * The feature id for the '<em><b>Multiplicity</b></em>' containment reference.
123
	 * <!-- begin-user-doc -->
112
   * <!-- begin-user-doc -->
124
	 * <!-- end-user-doc -->
113
   * <!-- end-user-doc -->
125
	 * 
114
   * @generated
126
	 * @generated
115
   * @ordered
127
	 * @ordered
116
   */
128
	 */
117
  int PARAMETER_RULE__MULTIPLICITY = 4;
129
	int PARAMETER_RULE__MULTIPLICITY = 4;
130
118
131
	/**
119
  /**
132
	 * The feature id for the '<em><b>Modifiers</b></em>' containment reference.
120
   * The feature id for the '<em><b>Modifiers</b></em>' containment reference.
133
	 * <!-- begin-user-doc -->
121
   * <!-- begin-user-doc -->
134
	 * <!-- end-user-doc -->
122
   * <!-- end-user-doc -->
135
	 * 
123
   * @generated
136
	 * @generated
124
   * @ordered
137
	 * @ordered
125
   */
138
	 */
126
  int PARAMETER_RULE__MODIFIERS = 5;
139
	int PARAMETER_RULE__MODIFIERS = 5;
140
127
141
	/**
128
  /**
142
	 * The feature id for the '<em><b>Effect</b></em>' containment reference.
129
   * The feature id for the '<em><b>Effect</b></em>' containment reference.
143
	 * <!-- begin-user-doc -->
130
   * <!-- begin-user-doc -->
144
	 * <!-- end-user-doc -->
131
   * <!-- end-user-doc -->
145
	 * 
132
   * @generated
146
	 * @generated
133
   * @ordered
147
	 * @ordered
134
   */
148
	 */
135
  int PARAMETER_RULE__EFFECT = 6;
149
	int PARAMETER_RULE__EFFECT = 6;
150
136
151
	/**
137
  /**
152
	 * The number of structural features of the '<em>Parameter Rule</em>' class.
138
   * The number of structural features of the '<em>Parameter Rule</em>' class.
153
	 * <!-- begin-user-doc -->
139
   * <!-- begin-user-doc -->
154
	 * <!-- end-user-doc -->
140
   * <!-- end-user-doc -->
155
	 * 
141
   * @generated
156
	 * @generated
142
   * @ordered
157
	 * @ordered
143
   */
158
	 */
144
  int PARAMETER_RULE_FEATURE_COUNT = 7;
159
	int PARAMETER_RULE_FEATURE_COUNT = 7;
160
145
161
	/**
146
  /**
162
	 * The meta object id for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifiersRuleImpl <em>Modifiers Rule</em>}'
147
   * The meta object id for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifiersRuleImpl <em>Modifiers Rule</em>}' class.
163
	 * class.
148
   * <!-- begin-user-doc -->
164
	 * <!-- begin-user-doc -->
149
   * <!-- end-user-doc -->
165
	 * <!-- end-user-doc -->
150
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifiersRuleImpl
166
	 * 
151
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifiersRule()
167
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifiersRuleImpl
152
   * @generated
168
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifiersRule()
153
   */
169
	 * @generated
154
  int MODIFIERS_RULE = 1;
170
	 */
171
	int MODIFIERS_RULE = 1;
172
155
173
	/**
156
  /**
174
	 * The feature id for the '<em><b>Values</b></em>' containment reference list.
157
   * The feature id for the '<em><b>Values</b></em>' containment reference list.
175
	 * <!-- begin-user-doc -->
158
   * <!-- begin-user-doc -->
176
	 * <!-- end-user-doc -->
159
   * <!-- end-user-doc -->
177
	 * 
160
   * @generated
178
	 * @generated
161
   * @ordered
179
	 * @ordered
162
   */
180
	 */
163
  int MODIFIERS_RULE__VALUES = 0;
181
	int MODIFIERS_RULE__VALUES = 0;
182
164
183
	/**
165
  /**
184
	 * The number of structural features of the '<em>Modifiers Rule</em>' class.
166
   * The number of structural features of the '<em>Modifiers Rule</em>' class.
185
	 * <!-- begin-user-doc -->
167
   * <!-- begin-user-doc -->
186
	 * <!-- end-user-doc -->
168
   * <!-- end-user-doc -->
187
	 * 
169
   * @generated
188
	 * @generated
170
   * @ordered
189
	 * @ordered
171
   */
190
	 */
172
  int MODIFIERS_RULE_FEATURE_COUNT = 1;
191
	int MODIFIERS_RULE_FEATURE_COUNT = 1;
192
173
193
	/**
174
  /**
194
	 * The meta object id for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifierSpecificationImpl
175
   * The meta object id for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifierSpecificationImpl <em>Modifier Specification</em>}' class.
195
	 * <em>Modifier Specification</em>}' class.
176
   * <!-- begin-user-doc -->
196
	 * <!-- begin-user-doc -->
177
   * <!-- end-user-doc -->
197
	 * <!-- end-user-doc -->
178
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifierSpecificationImpl
198
	 * 
179
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifierSpecification()
199
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifierSpecificationImpl
180
   * @generated
200
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifierSpecification()
181
   */
201
	 * @generated
182
  int MODIFIER_SPECIFICATION = 2;
202
	 */
203
	int MODIFIER_SPECIFICATION = 2;
204
183
205
	/**
184
  /**
206
	 * The feature id for the '<em><b>Value</b></em>' attribute.
185
   * The feature id for the '<em><b>Value</b></em>' attribute.
207
	 * <!-- begin-user-doc -->
186
   * <!-- begin-user-doc -->
208
	 * <!-- end-user-doc -->
187
   * <!-- end-user-doc -->
209
	 * 
188
   * @generated
210
	 * @generated
189
   * @ordered
211
	 * @ordered
190
   */
212
	 */
191
  int MODIFIER_SPECIFICATION__VALUE = 0;
213
	int MODIFIER_SPECIFICATION__VALUE = 0;
214
192
215
	/**
193
  /**
216
	 * The number of structural features of the '<em>Modifier Specification</em>' class.
194
   * The number of structural features of the '<em>Modifier Specification</em>' class.
217
	 * <!-- begin-user-doc -->
195
   * <!-- begin-user-doc -->
218
	 * <!-- end-user-doc -->
196
   * <!-- end-user-doc -->
219
	 * 
197
   * @generated
220
	 * @generated
198
   * @ordered
221
	 * @ordered
199
   */
222
	 */
200
  int MODIFIER_SPECIFICATION_FEATURE_COUNT = 1;
223
	int MODIFIER_SPECIFICATION_FEATURE_COUNT = 1;
224
201
225
	/**
202
  /**
226
	 * The meta object id for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.EffectRuleImpl <em>Effect Rule</em>}' class.
203
   * The meta object id for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.EffectRuleImpl <em>Effect Rule</em>}' class.
227
	 * <!-- begin-user-doc -->
204
   * <!-- begin-user-doc -->
228
	 * <!-- end-user-doc -->
205
   * <!-- end-user-doc -->
229
	 * 
206
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.EffectRuleImpl
230
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.EffectRuleImpl
207
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getEffectRule()
231
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getEffectRule()
208
   * @generated
232
	 * @generated
209
   */
233
	 */
210
  int EFFECT_RULE = 3;
234
	int EFFECT_RULE = 3;
235
211
236
	/**
212
  /**
237
	 * The feature id for the '<em><b>Effect Kind</b></em>' attribute.
213
   * The feature id for the '<em><b>Effect Kind</b></em>' attribute.
238
	 * <!-- begin-user-doc -->
214
   * <!-- begin-user-doc -->
239
	 * <!-- end-user-doc -->
215
   * <!-- end-user-doc -->
240
	 * 
216
   * @generated
241
	 * @generated
217
   * @ordered
242
	 * @ordered
218
   */
243
	 */
219
  int EFFECT_RULE__EFFECT_KIND = 0;
244
	int EFFECT_RULE__EFFECT_KIND = 0;
245
220
246
	/**
221
  /**
247
	 * The number of structural features of the '<em>Effect Rule</em>' class.
222
   * The number of structural features of the '<em>Effect Rule</em>' class.
248
	 * <!-- begin-user-doc -->
223
   * <!-- begin-user-doc -->
249
	 * <!-- end-user-doc -->
224
   * <!-- end-user-doc -->
250
	 * 
225
   * @generated
251
	 * @generated
226
   * @ordered
252
	 * @ordered
227
   */
253
	 */
228
  int EFFECT_RULE_FEATURE_COUNT = 1;
254
	int EFFECT_RULE_FEATURE_COUNT = 1;
255
229
256
	/**
230
  /**
257
	 * The meta object id for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind <em>Modifier Kind</em>}' enum.
231
   * The meta object id for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind <em>Modifier Kind</em>}' enum.
258
	 * <!-- begin-user-doc -->
232
   * <!-- begin-user-doc -->
259
	 * <!-- end-user-doc -->
233
   * <!-- end-user-doc -->
260
	 * 
234
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind
261
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind
235
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifierKind()
262
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifierKind()
236
   * @generated
263
	 * @generated
237
   */
264
	 */
238
  int MODIFIER_KIND = 4;
265
	int MODIFIER_KIND = 4;
266
239
267
	/**
240
  /**
268
	 * The meta object id for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind <em>Effect Kind</em>}' enum.
241
   * The meta object id for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind <em>Effect Kind</em>}' enum.
269
	 * <!-- begin-user-doc -->
242
   * <!-- begin-user-doc -->
270
	 * <!-- end-user-doc -->
243
   * <!-- end-user-doc -->
271
	 * 
244
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind
272
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind
245
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getEffectKind()
273
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getEffectKind()
246
   * @generated
274
	 * @generated
247
   */
275
	 */
248
  int EFFECT_KIND = 5;
276
	int EFFECT_KIND = 5;
277
249
278
250
279
	/**
251
  /**
280
	 * Returns the meta object for class '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule <em>Parameter Rule</em>}'.
252
   * Returns the meta object for class '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule <em>Parameter Rule</em>}'.
281
	 * <!-- begin-user-doc -->
253
   * <!-- begin-user-doc -->
282
	 * <!-- end-user-doc -->
254
   * <!-- end-user-doc -->
283
	 * 
255
   * @return the meta object for class '<em>Parameter Rule</em>'.
284
	 * @return the meta object for class '<em>Parameter Rule</em>'.
256
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule
285
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule
257
   * @generated
286
	 * @generated
258
   */
287
	 */
259
  EClass getParameterRule();
288
	EClass getParameterRule();
289
260
290
	/**
261
  /**
291
	 * Returns the meta object for the attribute '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getVisibility
262
   * Returns the meta object for the attribute '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getVisibility <em>Visibility</em>}'.
292
	 * <em>Visibility</em>}'.
263
   * <!-- begin-user-doc -->
293
	 * <!-- begin-user-doc -->
264
   * <!-- end-user-doc -->
294
	 * <!-- end-user-doc -->
265
   * @return the meta object for the attribute '<em>Visibility</em>'.
295
	 * 
266
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getVisibility()
296
	 * @return the meta object for the attribute '<em>Visibility</em>'.
267
   * @see #getParameterRule()
297
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getVisibility()
268
   * @generated
298
	 * @see #getParameterRule()
269
   */
299
	 * @generated
270
  EAttribute getParameterRule_Visibility();
300
	 */
301
	EAttribute getParameterRule_Visibility();
302
271
303
	/**
272
  /**
304
	 * Returns the meta object for the attribute '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getDirection
273
   * Returns the meta object for the attribute '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getDirection <em>Direction</em>}'.
305
	 * <em>Direction</em>}'.
274
   * <!-- begin-user-doc -->
306
	 * <!-- begin-user-doc -->
275
   * <!-- end-user-doc -->
307
	 * <!-- end-user-doc -->
276
   * @return the meta object for the attribute '<em>Direction</em>'.
308
	 * 
277
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getDirection()
309
	 * @return the meta object for the attribute '<em>Direction</em>'.
278
   * @see #getParameterRule()
310
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getDirection()
279
   * @generated
311
	 * @see #getParameterRule()
280
   */
312
	 * @generated
281
  EAttribute getParameterRule_Direction();
313
	 */
314
	EAttribute getParameterRule_Direction();
315
282
316
	/**
283
  /**
317
	 * Returns the meta object for the attribute '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getName <em>Name</em>}
284
   * Returns the meta object for the attribute '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getName <em>Name</em>}'.
318
	 * '.
285
   * <!-- begin-user-doc -->
319
	 * <!-- begin-user-doc -->
286
   * <!-- end-user-doc -->
320
	 * <!-- end-user-doc -->
287
   * @return the meta object for the attribute '<em>Name</em>'.
321
	 * 
288
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getName()
322
	 * @return the meta object for the attribute '<em>Name</em>'.
289
   * @see #getParameterRule()
323
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getName()
290
   * @generated
324
	 * @see #getParameterRule()
291
   */
325
	 * @generated
292
  EAttribute getParameterRule_Name();
326
	 */
327
	EAttribute getParameterRule_Name();
328
293
329
	/**
294
  /**
330
	 * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getType
295
   * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getType <em>Type</em>}'.
331
	 * <em>Type</em>}'.
296
   * <!-- begin-user-doc -->
332
	 * <!-- begin-user-doc -->
297
   * <!-- end-user-doc -->
333
	 * <!-- end-user-doc -->
298
   * @return the meta object for the containment reference '<em>Type</em>'.
334
	 * 
299
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getType()
335
	 * @return the meta object for the containment reference '<em>Type</em>'.
300
   * @see #getParameterRule()
336
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getType()
301
   * @generated
337
	 * @see #getParameterRule()
302
   */
338
	 * @generated
303
  EReference getParameterRule_Type();
339
	 */
340
	EReference getParameterRule_Type();
341
304
342
	/**
305
  /**
343
	 * Returns the meta object for the containment reference '
306
   * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getMultiplicity <em>Multiplicity</em>}'.
344
	 * {@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getMultiplicity <em>Multiplicity</em>}'.
307
   * <!-- begin-user-doc -->
345
	 * <!-- begin-user-doc -->
308
   * <!-- end-user-doc -->
346
	 * <!-- end-user-doc -->
309
   * @return the meta object for the containment reference '<em>Multiplicity</em>'.
347
	 * 
310
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getMultiplicity()
348
	 * @return the meta object for the containment reference '<em>Multiplicity</em>'.
311
   * @see #getParameterRule()
349
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getMultiplicity()
312
   * @generated
350
	 * @see #getParameterRule()
313
   */
351
	 * @generated
314
  EReference getParameterRule_Multiplicity();
352
	 */
353
	EReference getParameterRule_Multiplicity();
354
315
355
	/**
316
  /**
356
	 * Returns the meta object for the containment reference '
317
   * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getModifiers <em>Modifiers</em>}'.
357
	 * {@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getModifiers <em>Modifiers</em>}'.
318
   * <!-- begin-user-doc -->
358
	 * <!-- begin-user-doc -->
319
   * <!-- end-user-doc -->
359
	 * <!-- end-user-doc -->
320
   * @return the meta object for the containment reference '<em>Modifiers</em>'.
360
	 * 
321
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getModifiers()
361
	 * @return the meta object for the containment reference '<em>Modifiers</em>'.
322
   * @see #getParameterRule()
362
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getModifiers()
323
   * @generated
363
	 * @see #getParameterRule()
324
   */
364
	 * @generated
325
  EReference getParameterRule_Modifiers();
365
	 */
366
	EReference getParameterRule_Modifiers();
367
326
368
	/**
327
  /**
369
	 * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getEffect
328
   * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getEffect <em>Effect</em>}'.
370
	 * <em>Effect</em>}'.
329
   * <!-- begin-user-doc -->
371
	 * <!-- begin-user-doc -->
330
   * <!-- end-user-doc -->
372
	 * <!-- end-user-doc -->
331
   * @return the meta object for the containment reference '<em>Effect</em>'.
373
	 * 
332
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getEffect()
374
	 * @return the meta object for the containment reference '<em>Effect</em>'.
333
   * @see #getParameterRule()
375
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ParameterRule#getEffect()
334
   * @generated
376
	 * @see #getParameterRule()
335
   */
377
	 * @generated
336
  EReference getParameterRule_Effect();
378
	 */
379
	EReference getParameterRule_Effect();
380
337
381
	/**
338
  /**
382
	 * Returns the meta object for class '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifiersRule <em>Modifiers Rule</em>}'.
339
   * Returns the meta object for class '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifiersRule <em>Modifiers Rule</em>}'.
383
	 * <!-- begin-user-doc -->
340
   * <!-- begin-user-doc -->
384
	 * <!-- end-user-doc -->
341
   * <!-- end-user-doc -->
385
	 * 
342
   * @return the meta object for class '<em>Modifiers Rule</em>'.
386
	 * @return the meta object for class '<em>Modifiers Rule</em>'.
343
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifiersRule
387
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifiersRule
344
   * @generated
388
	 * @generated
345
   */
389
	 */
346
  EClass getModifiersRule();
390
	EClass getModifiersRule();
391
347
392
	/**
348
  /**
393
	 * Returns the meta object for the containment reference list '
349
   * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifiersRule#getValues <em>Values</em>}'.
394
	 * {@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifiersRule#getValues <em>Values</em>}'.
350
   * <!-- begin-user-doc -->
395
	 * <!-- begin-user-doc -->
351
   * <!-- end-user-doc -->
396
	 * <!-- end-user-doc -->
352
   * @return the meta object for the containment reference list '<em>Values</em>'.
397
	 * 
353
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifiersRule#getValues()
398
	 * @return the meta object for the containment reference list '<em>Values</em>'.
354
   * @see #getModifiersRule()
399
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifiersRule#getValues()
355
   * @generated
400
	 * @see #getModifiersRule()
356
   */
401
	 * @generated
357
  EReference getModifiersRule_Values();
402
	 */
403
	EReference getModifiersRule_Values();
404
358
405
	/**
359
  /**
406
	 * Returns the meta object for class '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification
360
   * Returns the meta object for class '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification <em>Modifier Specification</em>}'.
407
	 * <em>Modifier Specification</em>}'.
361
   * <!-- begin-user-doc -->
408
	 * <!-- begin-user-doc -->
362
   * <!-- end-user-doc -->
409
	 * <!-- end-user-doc -->
363
   * @return the meta object for class '<em>Modifier Specification</em>'.
410
	 * 
364
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification
411
	 * @return the meta object for class '<em>Modifier Specification</em>'.
365
   * @generated
412
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification
366
   */
413
	 * @generated
367
  EClass getModifierSpecification();
414
	 */
415
	EClass getModifierSpecification();
416
368
417
	/**
369
  /**
418
	 * Returns the meta object for the attribute '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification#getValue
370
   * Returns the meta object for the attribute '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification#getValue <em>Value</em>}'.
419
	 * <em>Value</em>}'.
371
   * <!-- begin-user-doc -->
420
	 * <!-- begin-user-doc -->
372
   * <!-- end-user-doc -->
421
	 * <!-- end-user-doc -->
373
   * @return the meta object for the attribute '<em>Value</em>'.
422
	 * 
374
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification#getValue()
423
	 * @return the meta object for the attribute '<em>Value</em>'.
375
   * @see #getModifierSpecification()
424
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification#getValue()
376
   * @generated
425
	 * @see #getModifierSpecification()
377
   */
426
	 * @generated
378
  EAttribute getModifierSpecification_Value();
427
	 */
428
	EAttribute getModifierSpecification_Value();
429
379
430
	/**
380
  /**
431
	 * Returns the meta object for class '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectRule <em>Effect Rule</em>}'.
381
   * Returns the meta object for class '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectRule <em>Effect Rule</em>}'.
432
	 * <!-- begin-user-doc -->
382
   * <!-- begin-user-doc -->
433
	 * <!-- end-user-doc -->
383
   * <!-- end-user-doc -->
434
	 * 
384
   * @return the meta object for class '<em>Effect Rule</em>'.
435
	 * @return the meta object for class '<em>Effect Rule</em>'.
385
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectRule
436
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectRule
386
   * @generated
437
	 * @generated
387
   */
438
	 */
388
  EClass getEffectRule();
439
	EClass getEffectRule();
440
389
441
	/**
390
  /**
442
	 * Returns the meta object for the attribute '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectRule#getEffectKind
391
   * Returns the meta object for the attribute '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectRule#getEffectKind <em>Effect Kind</em>}'.
443
	 * <em>Effect Kind</em>}'.
392
   * <!-- begin-user-doc -->
444
	 * <!-- begin-user-doc -->
393
   * <!-- end-user-doc -->
445
	 * <!-- end-user-doc -->
394
   * @return the meta object for the attribute '<em>Effect Kind</em>'.
446
	 * 
395
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectRule#getEffectKind()
447
	 * @return the meta object for the attribute '<em>Effect Kind</em>'.
396
   * @see #getEffectRule()
448
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectRule#getEffectKind()
397
   * @generated
449
	 * @see #getEffectRule()
398
   */
450
	 * @generated
399
  EAttribute getEffectRule_EffectKind();
451
	 */
452
	EAttribute getEffectRule_EffectKind();
453
400
454
	/**
401
  /**
455
	 * Returns the meta object for enum '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind <em>Modifier Kind</em>}'.
402
   * Returns the meta object for enum '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind <em>Modifier Kind</em>}'.
456
	 * <!-- begin-user-doc -->
403
   * <!-- begin-user-doc -->
457
	 * <!-- end-user-doc -->
404
   * <!-- end-user-doc -->
458
	 * 
405
   * @return the meta object for enum '<em>Modifier Kind</em>'.
459
	 * @return the meta object for enum '<em>Modifier Kind</em>'.
406
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind
460
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind
407
   * @generated
461
	 * @generated
408
   */
462
	 */
409
  EEnum getModifierKind();
463
	EEnum getModifierKind();
464
410
465
	/**
411
  /**
466
	 * Returns the meta object for enum '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind <em>Effect Kind</em>}'.
412
   * Returns the meta object for enum '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind <em>Effect Kind</em>}'.
467
	 * <!-- begin-user-doc -->
413
   * <!-- begin-user-doc -->
468
	 * <!-- end-user-doc -->
414
   * <!-- end-user-doc -->
469
	 * 
415
   * @return the meta object for enum '<em>Effect Kind</em>'.
470
	 * @return the meta object for enum '<em>Effect Kind</em>'.
416
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind
471
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind
417
   * @generated
472
	 * @generated
418
   */
473
	 */
419
  EEnum getEffectKind();
474
	EEnum getEffectKind();
475
420
476
	/**
421
  /**
477
	 * Returns the factory that creates the instances of the model.
422
   * Returns the factory that creates the instances of the model.
478
	 * <!-- begin-user-doc -->
423
   * <!-- begin-user-doc -->
479
	 * <!-- end-user-doc -->
424
   * <!-- end-user-doc -->
480
	 * 
425
   * @return the factory that creates the instances of the model.
481
	 * @return the factory that creates the instances of the model.
426
   * @generated
482
	 * @generated
427
   */
483
	 */
428
  UmlParameterFactory getUmlParameterFactory();
484
	UmlParameterFactory getUmlParameterFactory();
485
429
486
	/**
430
  /**
487
	 * <!-- begin-user-doc -->
431
   * <!-- begin-user-doc -->
488
	 * Defines literals for the meta objects that represent
432
   * Defines literals for the meta objects that represent
489
	 * <ul>
433
   * <ul>
490
	 * <li>each class,</li>
434
   *   <li>each class,</li>
491
	 * <li>each feature of each class,</li>
435
   *   <li>each feature of each class,</li>
492
	 * <li>each enum,</li>
436
   *   <li>each enum,</li>
493
	 * <li>and each data type</li>
437
   *   <li>and each data type</li>
494
	 * </ul>
438
   * </ul>
495
	 * <!-- end-user-doc -->
439
   * <!-- end-user-doc -->
496
	 * 
440
   * @generated
497
	 * @generated
441
   */
498
	 */
442
  interface Literals
499
	interface Literals {
443
  {
444
    /**
445
     * The meta object literal for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl <em>Parameter Rule</em>}' class.
446
     * <!-- begin-user-doc -->
447
     * <!-- end-user-doc -->
448
     * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl
449
     * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getParameterRule()
450
     * @generated
451
     */
452
    EClass PARAMETER_RULE = eINSTANCE.getParameterRule();
500
453
501
		/**
454
    /**
502
		 * The meta object literal for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl
455
     * The meta object literal for the '<em><b>Visibility</b></em>' attribute feature.
503
		 * <em>Parameter Rule</em>}' class.
456
     * <!-- begin-user-doc -->
504
		 * <!-- begin-user-doc -->
457
     * <!-- end-user-doc -->
505
		 * <!-- end-user-doc -->
458
     * @generated
506
		 * 
459
     */
507
		 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ParameterRuleImpl
460
    EAttribute PARAMETER_RULE__VISIBILITY = eINSTANCE.getParameterRule_Visibility();
508
		 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getParameterRule()
509
		 * @generated
510
		 */
511
		EClass PARAMETER_RULE = eINSTANCE.getParameterRule();
512
461
513
		/**
462
    /**
514
		 * The meta object literal for the '<em><b>Visibility</b></em>' attribute feature.
463
     * The meta object literal for the '<em><b>Direction</b></em>' attribute feature.
515
		 * <!-- begin-user-doc -->
464
     * <!-- begin-user-doc -->
516
		 * <!-- end-user-doc -->
465
     * <!-- end-user-doc -->
517
		 * 
466
     * @generated
518
		 * @generated
467
     */
519
		 */
468
    EAttribute PARAMETER_RULE__DIRECTION = eINSTANCE.getParameterRule_Direction();
520
		EAttribute PARAMETER_RULE__VISIBILITY = eINSTANCE.getParameterRule_Visibility();
521
469
522
		/**
470
    /**
523
		 * The meta object literal for the '<em><b>Direction</b></em>' attribute feature.
471
     * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
524
		 * <!-- begin-user-doc -->
472
     * <!-- begin-user-doc -->
525
		 * <!-- end-user-doc -->
473
     * <!-- end-user-doc -->
526
		 * 
474
     * @generated
527
		 * @generated
475
     */
528
		 */
476
    EAttribute PARAMETER_RULE__NAME = eINSTANCE.getParameterRule_Name();
529
		EAttribute PARAMETER_RULE__DIRECTION = eINSTANCE.getParameterRule_Direction();
530
477
531
		/**
478
    /**
532
		 * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
479
     * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.
533
		 * <!-- begin-user-doc -->
480
     * <!-- begin-user-doc -->
534
		 * <!-- end-user-doc -->
481
     * <!-- end-user-doc -->
535
		 * 
482
     * @generated
536
		 * @generated
483
     */
537
		 */
484
    EReference PARAMETER_RULE__TYPE = eINSTANCE.getParameterRule_Type();
538
		EAttribute PARAMETER_RULE__NAME = eINSTANCE.getParameterRule_Name();
539
485
540
		/**
486
    /**
541
		 * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.
487
     * The meta object literal for the '<em><b>Multiplicity</b></em>' containment reference feature.
542
		 * <!-- begin-user-doc -->
488
     * <!-- begin-user-doc -->
543
		 * <!-- end-user-doc -->
489
     * <!-- end-user-doc -->
544
		 * 
490
     * @generated
545
		 * @generated
491
     */
546
		 */
492
    EReference PARAMETER_RULE__MULTIPLICITY = eINSTANCE.getParameterRule_Multiplicity();
547
		EReference PARAMETER_RULE__TYPE = eINSTANCE.getParameterRule_Type();
548
493
549
		/**
494
    /**
550
		 * The meta object literal for the '<em><b>Multiplicity</b></em>' containment reference feature.
495
     * The meta object literal for the '<em><b>Modifiers</b></em>' containment reference feature.
551
		 * <!-- begin-user-doc -->
496
     * <!-- begin-user-doc -->
552
		 * <!-- end-user-doc -->
497
     * <!-- end-user-doc -->
553
		 * 
498
     * @generated
554
		 * @generated
499
     */
555
		 */
500
    EReference PARAMETER_RULE__MODIFIERS = eINSTANCE.getParameterRule_Modifiers();
556
		EReference PARAMETER_RULE__MULTIPLICITY = eINSTANCE.getParameterRule_Multiplicity();
557
501
558
		/**
502
    /**
559
		 * The meta object literal for the '<em><b>Modifiers</b></em>' containment reference feature.
503
     * The meta object literal for the '<em><b>Effect</b></em>' containment reference feature.
560
		 * <!-- begin-user-doc -->
504
     * <!-- begin-user-doc -->
561
		 * <!-- end-user-doc -->
505
     * <!-- end-user-doc -->
562
		 * 
506
     * @generated
563
		 * @generated
507
     */
564
		 */
508
    EReference PARAMETER_RULE__EFFECT = eINSTANCE.getParameterRule_Effect();
565
		EReference PARAMETER_RULE__MODIFIERS = eINSTANCE.getParameterRule_Modifiers();
566
509
567
		/**
510
    /**
568
		 * The meta object literal for the '<em><b>Effect</b></em>' containment reference feature.
511
     * The meta object literal for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifiersRuleImpl <em>Modifiers Rule</em>}' class.
569
		 * <!-- begin-user-doc -->
512
     * <!-- begin-user-doc -->
570
		 * <!-- end-user-doc -->
513
     * <!-- end-user-doc -->
571
		 * 
514
     * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifiersRuleImpl
572
		 * @generated
515
     * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifiersRule()
573
		 */
516
     * @generated
574
		EReference PARAMETER_RULE__EFFECT = eINSTANCE.getParameterRule_Effect();
517
     */
518
    EClass MODIFIERS_RULE = eINSTANCE.getModifiersRule();
575
519
576
		/**
520
    /**
577
		 * The meta object literal for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifiersRuleImpl
521
     * The meta object literal for the '<em><b>Values</b></em>' containment reference list feature.
578
		 * <em>Modifiers Rule</em>}' class.
522
     * <!-- begin-user-doc -->
579
		 * <!-- begin-user-doc -->
523
     * <!-- end-user-doc -->
580
		 * <!-- end-user-doc -->
524
     * @generated
581
		 * 
525
     */
582
		 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifiersRuleImpl
526
    EReference MODIFIERS_RULE__VALUES = eINSTANCE.getModifiersRule_Values();
583
		 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifiersRule()
584
		 * @generated
585
		 */
586
		EClass MODIFIERS_RULE = eINSTANCE.getModifiersRule();
587
527
588
		/**
528
    /**
589
		 * The meta object literal for the '<em><b>Values</b></em>' containment reference list feature.
529
     * The meta object literal for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifierSpecificationImpl <em>Modifier Specification</em>}' class.
590
		 * <!-- begin-user-doc -->
530
     * <!-- begin-user-doc -->
591
		 * <!-- end-user-doc -->
531
     * <!-- end-user-doc -->
592
		 * 
532
     * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifierSpecificationImpl
593
		 * @generated
533
     * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifierSpecification()
594
		 */
534
     * @generated
595
		EReference MODIFIERS_RULE__VALUES = eINSTANCE.getModifiersRule_Values();
535
     */
536
    EClass MODIFIER_SPECIFICATION = eINSTANCE.getModifierSpecification();
596
537
597
		/**
538
    /**
598
		 * The meta object literal for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifierSpecificationImpl
539
     * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
599
		 * <em>Modifier Specification</em>}' class.
540
     * <!-- begin-user-doc -->
600
		 * <!-- begin-user-doc -->
541
     * <!-- end-user-doc -->
601
		 * <!-- end-user-doc -->
542
     * @generated
602
		 * 
543
     */
603
		 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.ModifierSpecificationImpl
544
    EAttribute MODIFIER_SPECIFICATION__VALUE = eINSTANCE.getModifierSpecification_Value();
604
		 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifierSpecification()
605
		 * @generated
606
		 */
607
		EClass MODIFIER_SPECIFICATION = eINSTANCE.getModifierSpecification();
608
545
609
		/**
546
    /**
610
		 * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
547
     * The meta object literal for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.EffectRuleImpl <em>Effect Rule</em>}' class.
611
		 * <!-- begin-user-doc -->
548
     * <!-- begin-user-doc -->
612
		 * <!-- end-user-doc -->
549
     * <!-- end-user-doc -->
613
		 * 
550
     * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.EffectRuleImpl
614
		 * @generated
551
     * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getEffectRule()
615
		 */
552
     * @generated
616
		EAttribute MODIFIER_SPECIFICATION__VALUE = eINSTANCE.getModifierSpecification_Value();
553
     */
554
    EClass EFFECT_RULE = eINSTANCE.getEffectRule();
617
555
618
		/**
556
    /**
619
		 * The meta object literal for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.EffectRuleImpl <em>Effect Rule</em>}'
557
     * The meta object literal for the '<em><b>Effect Kind</b></em>' attribute feature.
620
		 * class.
558
     * <!-- begin-user-doc -->
621
		 * <!-- begin-user-doc -->
559
     * <!-- end-user-doc -->
622
		 * <!-- end-user-doc -->
560
     * @generated
623
		 * 
561
     */
624
		 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.EffectRuleImpl
562
    EAttribute EFFECT_RULE__EFFECT_KIND = eINSTANCE.getEffectRule_EffectKind();
625
		 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getEffectRule()
626
		 * @generated
627
		 */
628
		EClass EFFECT_RULE = eINSTANCE.getEffectRule();
629
563
630
		/**
564
    /**
631
		 * The meta object literal for the '<em><b>Effect Kind</b></em>' attribute feature.
565
     * The meta object literal for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind <em>Modifier Kind</em>}' enum.
632
		 * <!-- begin-user-doc -->
566
     * <!-- begin-user-doc -->
633
		 * <!-- end-user-doc -->
567
     * <!-- end-user-doc -->
634
		 * 
568
     * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind
635
		 * @generated
569
     * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifierKind()
636
		 */
570
     * @generated
637
		EAttribute EFFECT_RULE__EFFECT_KIND = eINSTANCE.getEffectRule_EffectKind();
571
     */
572
    EEnum MODIFIER_KIND = eINSTANCE.getModifierKind();
638
573
639
		/**
574
    /**
640
		 * The meta object literal for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind <em>Modifier Kind</em>}' enum.
575
     * The meta object literal for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind <em>Effect Kind</em>}' enum.
641
		 * <!-- begin-user-doc -->
576
     * <!-- begin-user-doc -->
642
		 * <!-- end-user-doc -->
577
     * <!-- end-user-doc -->
643
		 * 
578
     * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind
644
		 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierKind
579
     * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getEffectKind()
645
		 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifierKind()
580
     * @generated
646
		 * @generated
581
     */
647
		 */
582
    EEnum EFFECT_KIND = eINSTANCE.getEffectKind();
648
		EEnum MODIFIER_KIND = eINSTANCE.getModifierKind();
649
583
650
		/**
584
  }
651
		 * The meta object literal for the '{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind <em>Effect Kind</em>}' enum.
652
		 * <!-- begin-user-doc -->
653
		 * <!-- end-user-doc -->
654
		 * 
655
		 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.EffectKind
656
		 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.impl.UmlParameterPackageImpl#getEffectKind()
657
		 * @generated
658
		 */
659
		EEnum EFFECT_KIND = eINSTANCE.getEffectKind();
660
661
	}
662
585
663
} //UmlParameterPackage
586
} //UmlParameterPackage
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/umlParameter/ModifiersRule.java (-20 / +20 lines)
Lines 14-47 Link Here
14
 * <!-- begin-user-doc -->
14
 * <!-- begin-user-doc -->
15
 * A representation of the model object '<em><b>Modifiers Rule</b></em>'.
15
 * A representation of the model object '<em><b>Modifiers Rule</b></em>'.
16
 * <!-- end-user-doc -->
16
 * <!-- end-user-doc -->
17
 * 
17
 *
18
 * <p>
18
 * <p>
19
 * The following features are supported:
19
 * The following features are supported:
20
 * <ul>
20
 * <ul>
21
 * <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifiersRule#getValues <em>Values</em>}</li>
21
 *   <li>{@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifiersRule#getValues <em>Values</em>}</li>
22
 * </ul>
22
 * </ul>
23
 * </p>
23
 * </p>
24
 * 
24
 *
25
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getModifiersRule()
25
 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getModifiersRule()
26
 * @model
26
 * @model
27
 * @generated
27
 * @generated
28
 */
28
 */
29
public interface ModifiersRule extends EObject {
29
public interface ModifiersRule extends EObject
30
30
{
31
	/**
31
  /**
32
	 * Returns the value of the '<em><b>Values</b></em>' containment reference list.
32
   * Returns the value of the '<em><b>Values</b></em>' containment reference list.
33
	 * The list contents are of type {@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification}.
33
   * The list contents are of type {@link org.eclipse.papyrus.parameter.editor.xtext.umlParameter.ModifierSpecification}.
34
	 * <!-- begin-user-doc -->
34
   * <!-- begin-user-doc -->
35
	 * <p>
35
   * <p>
36
	 * If the meaning of the '<em>Values</em>' containment reference list isn't clear, there really should be more of a description here...
36
   * If the meaning of the '<em>Values</em>' containment reference list isn't clear,
37
	 * </p>
37
   * there really should be more of a description here...
38
	 * <!-- end-user-doc -->
38
   * </p>
39
	 * 
39
   * <!-- end-user-doc -->
40
	 * @return the value of the '<em>Values</em>' containment reference list.
40
   * @return the value of the '<em>Values</em>' containment reference list.
41
	 * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getModifiersRule_Values()
41
   * @see org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage#getModifiersRule_Values()
42
	 * @model containment="true"
42
   * @model containment="true"
43
	 * @generated
43
   * @generated
44
	 */
44
   */
45
	EList<ModifierSpecification> getValues();
45
  EList<ModifierSpecification> getValues();
46
46
47
} // ModifiersRule
47
} // ModifiersRule
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/validation/AbstractUmlParameterJavaValidator.java (-17 / +4 lines)
Lines 1-18 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
package org.eclipse.papyrus.parameter.editor.xtext.validation;
1
package org.eclipse.papyrus.parameter.editor.xtext.validation;
15
2
 
16
import java.util.ArrayList;
3
import java.util.ArrayList;
17
import java.util.List;
4
import java.util.List;
18
5
Lines 20-32 Link Here
20
import org.eclipse.xtext.validation.AbstractDeclarativeValidator;
7
import org.eclipse.xtext.validation.AbstractDeclarativeValidator;
21
import org.eclipse.xtext.validation.ComposedChecks;
8
import org.eclipse.xtext.validation.ComposedChecks;
22
9
23
@ComposedChecks(validators = { org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class })
10
@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class})
24
public class AbstractUmlParameterJavaValidator extends AbstractDeclarativeValidator {
11
public class AbstractUmlParameterJavaValidator extends AbstractDeclarativeValidator {
25
12
26
	@Override
13
	@Override
27
	protected List<EPackage> getEPackages() {
14
	protected List<EPackage> getEPackages() {
28
		List<EPackage> result = new ArrayList<EPackage>();
15
	    List<EPackage> result = new ArrayList<EPackage>();
29
		result.add(org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage.eINSTANCE);
16
	    result.add(org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage.eINSTANCE);
30
		return result;
17
		return result;
31
	}
18
	}
32
19
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.xmi (+2 lines)
Lines 323-328 Link Here
323
                <elements xsi:type="xtext:Keyword" value="n"/>
323
                <elements xsi:type="xtext:Keyword" value="n"/>
324
                <elements xsi:type="xtext:Keyword" value="f"/>
324
                <elements xsi:type="xtext:Keyword" value="f"/>
325
                <elements xsi:type="xtext:Keyword" value="r"/>
325
                <elements xsi:type="xtext:Keyword" value="r"/>
326
                <elements xsi:type="xtext:Keyword" value="u"/>
326
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
327
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
327
                <elements xsi:type="xtext:Keyword" value="'"/>
328
                <elements xsi:type="xtext:Keyword" value="'"/>
328
                <elements xsi:type="xtext:Keyword" value="\"/>
329
                <elements xsi:type="xtext:Keyword" value="\"/>
Lines 348-353 Link Here
348
                <elements xsi:type="xtext:Keyword" value="n"/>
349
                <elements xsi:type="xtext:Keyword" value="n"/>
349
                <elements xsi:type="xtext:Keyword" value="f"/>
350
                <elements xsi:type="xtext:Keyword" value="f"/>
350
                <elements xsi:type="xtext:Keyword" value="r"/>
351
                <elements xsi:type="xtext:Keyword" value="r"/>
352
                <elements xsi:type="xtext:Keyword" value="u"/>
351
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
353
                <elements xsi:type="xtext:Keyword" value="&quot;"/>
352
                <elements xsi:type="xtext:Keyword" value="'"/>
354
                <elements xsi:type="xtext:Keyword" value="'"/>
353
                <elements xsi:type="xtext:Keyword" value="\"/>
355
                <elements xsi:type="xtext:Keyword" value="\"/>
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore (-9 / +10 lines)
Lines 4-27 Link Here
4
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="umlParameter"
4
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="umlParameter"
5
    nsURI="http://www.eclipse.org/papyrus/parameter/editor/xtext/UmlParameter" nsPrefix="umlParameter">
5
    nsURI="http://www.eclipse.org/papyrus/parameter/editor/xtext/UmlParameter" nsPrefix="umlParameter">
6
  <eClassifiers xsi:type="ecore:EClass" name="ParameterRule">
6
  <eClassifiers xsi:type="ecore:EClass" name="ParameterRule">
7
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="visibility" eType="ecore:EEnum ../../../../../../../../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//VisibilityKind"/>
7
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="visibility" eType="ecore:EEnum platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//VisibilityKind"/>
8
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" eType="ecore:EEnum ../../../../../../../../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//Direction"/>
8
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" eType="ecore:EEnum platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//Direction"/>
9
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
9
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
10
    <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="ecore:EClass ../../../../../../../../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//TypeRule"
10
    <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//TypeRule"
11
        containment="true"/>
11
        containment="true"/>
12
    <eStructuralFeatures xsi:type="ecore:EReference" name="multiplicity" eType="ecore:EClass ../../../../../../../../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//MultiplicityRule"
12
    <eStructuralFeatures xsi:type="ecore:EReference" name="multiplicity" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UmlCommon.ecore#//MultiplicityRule"
13
        containment="true"/>
13
        containment="true"/>
14
    <eStructuralFeatures xsi:type="ecore:EReference" name="modifiers" eType="#//ModifiersRule"
14
    <eStructuralFeatures xsi:type="ecore:EReference" name="modifiers" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ModifiersRule"
15
        containment="true"/>
15
        containment="true"/>
16
    <eStructuralFeatures xsi:type="ecore:EReference" name="effect" eType="#//EffectRule"
16
    <eStructuralFeatures xsi:type="ecore:EReference" name="effect" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//EffectRule"
17
        containment="true"/>
17
        containment="true"/>
18
  </eClassifiers>
18
  </eClassifiers>
19
  <eClassifiers xsi:type="ecore:EClass" name="ModifiersRule">
19
  <eClassifiers xsi:type="ecore:EClass" name="ModifiersRule">
20
    <eStructuralFeatures xsi:type="ecore:EReference" name="values" upperBound="-1"
20
    <eStructuralFeatures xsi:type="ecore:EReference" name="values" upperBound="-1"
21
        eType="#//ModifierSpecification" containment="true"/>
21
        eType="ecore:EClass platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ModifierSpecification"
22
        containment="true"/>
22
  </eClassifiers>
23
  </eClassifiers>
23
  <eClassifiers xsi:type="ecore:EClass" name="ModifierSpecification">
24
  <eClassifiers xsi:type="ecore:EClass" name="ModifierSpecification">
24
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="#//ModifierKind"/>
25
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EEnum platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ModifierKind"/>
25
  </eClassifiers>
26
  </eClassifiers>
26
  <eClassifiers xsi:type="ecore:EEnum" name="ModifierKind">
27
  <eClassifiers xsi:type="ecore:EEnum" name="ModifierKind">
27
    <eLiterals name="EXCEPTION" literal="exception"/>
28
    <eLiterals name="EXCEPTION" literal="exception"/>
Lines 36-41 Link Here
36
    <eLiterals name="DELETE" value="3" literal="delete"/>
37
    <eLiterals name="DELETE" value="3" literal="delete"/>
37
  </eClassifiers>
38
  </eClassifiers>
38
  <eClassifiers xsi:type="ecore:EClass" name="EffectRule">
39
  <eClassifiers xsi:type="ecore:EClass" name="EffectRule">
39
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="effectKind" eType="#//EffectKind"/>
40
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="effectKind" eType="ecore:EEnum platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//EffectKind"/>
40
  </eClassifiers>
41
  </eClassifiers>
41
</ecore:EPackage>
42
</ecore:EPackage>
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/services/UmlParameterGrammarAccess.java (-288 / +107 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * generated by Xtext
2
* generated by Xtext
3
 */
3
*/
4
4
5
package org.eclipse.papyrus.parameter.editor.xtext.services;
5
package org.eclipse.papyrus.parameter.editor.xtext.services;
6
6
Lines 15-501 Link Here
15
15
16
@Singleton
16
@Singleton
17
public class UmlParameterGrammarAccess extends AbstractGrammarElementFinder {
17
public class UmlParameterGrammarAccess extends AbstractGrammarElementFinder {
18
18
	
19
19
	
20
	public class ParameterRuleElements extends AbstractParserRuleElementFinder {
20
	public class ParameterRuleElements extends AbstractParserRuleElementFinder {
21
21
		private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ParameterRule");
22
		private final ParserRule rule = (ParserRule)GrammarUtil.findRuleForName(getGrammar(), "ParameterRule");
23
24
		private final Group cGroup = (Group)rule.eContents().get(1);
22
		private final Group cGroup = (Group)rule.eContents().get(1);
25
26
		private final Assignment cVisibilityAssignment_0 = (Assignment)cGroup.eContents().get(0);
23
		private final Assignment cVisibilityAssignment_0 = (Assignment)cGroup.eContents().get(0);
27
28
		private final RuleCall cVisibilityVisibilityKindEnumRuleCall_0_0 = (RuleCall)cVisibilityAssignment_0.eContents().get(0);
24
		private final RuleCall cVisibilityVisibilityKindEnumRuleCall_0_0 = (RuleCall)cVisibilityAssignment_0.eContents().get(0);
29
30
		private final Assignment cDirectionAssignment_1 = (Assignment)cGroup.eContents().get(1);
25
		private final Assignment cDirectionAssignment_1 = (Assignment)cGroup.eContents().get(1);
31
32
		private final RuleCall cDirectionDirectionEnumRuleCall_1_0 = (RuleCall)cDirectionAssignment_1.eContents().get(0);
26
		private final RuleCall cDirectionDirectionEnumRuleCall_1_0 = (RuleCall)cDirectionAssignment_1.eContents().get(0);
33
34
		private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
27
		private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
35
36
		private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
28
		private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
37
38
		private final Keyword cColonKeyword_3 = (Keyword)cGroup.eContents().get(3);
29
		private final Keyword cColonKeyword_3 = (Keyword)cGroup.eContents().get(3);
39
40
		private final Alternatives cAlternatives_4 = (Alternatives)cGroup.eContents().get(4);
30
		private final Alternatives cAlternatives_4 = (Alternatives)cGroup.eContents().get(4);
41
42
		private final Assignment cTypeAssignment_4_0 = (Assignment)cAlternatives_4.eContents().get(0);
31
		private final Assignment cTypeAssignment_4_0 = (Assignment)cAlternatives_4.eContents().get(0);
43
44
		private final RuleCall cTypeTypeRuleParserRuleCall_4_0_0 = (RuleCall)cTypeAssignment_4_0.eContents().get(0);
32
		private final RuleCall cTypeTypeRuleParserRuleCall_4_0_0 = (RuleCall)cTypeAssignment_4_0.eContents().get(0);
45
46
		private final Keyword cUndefinedKeyword_4_1 = (Keyword)cAlternatives_4.eContents().get(1);
33
		private final Keyword cUndefinedKeyword_4_1 = (Keyword)cAlternatives_4.eContents().get(1);
47
48
		private final Assignment cMultiplicityAssignment_5 = (Assignment)cGroup.eContents().get(5);
34
		private final Assignment cMultiplicityAssignment_5 = (Assignment)cGroup.eContents().get(5);
49
50
		private final RuleCall cMultiplicityMultiplicityRuleParserRuleCall_5_0 = (RuleCall)cMultiplicityAssignment_5.eContents().get(0);
35
		private final RuleCall cMultiplicityMultiplicityRuleParserRuleCall_5_0 = (RuleCall)cMultiplicityAssignment_5.eContents().get(0);
51
52
		private final Assignment cModifiersAssignment_6 = (Assignment)cGroup.eContents().get(6);
36
		private final Assignment cModifiersAssignment_6 = (Assignment)cGroup.eContents().get(6);
53
54
		private final RuleCall cModifiersModifiersRuleParserRuleCall_6_0 = (RuleCall)cModifiersAssignment_6.eContents().get(0);
37
		private final RuleCall cModifiersModifiersRuleParserRuleCall_6_0 = (RuleCall)cModifiersAssignment_6.eContents().get(0);
55
56
		private final Assignment cEffectAssignment_7 = (Assignment)cGroup.eContents().get(7);
38
		private final Assignment cEffectAssignment_7 = (Assignment)cGroup.eContents().get(7);
57
58
		private final RuleCall cEffectEffectRuleParserRuleCall_7_0 = (RuleCall)cEffectAssignment_7.eContents().get(0);
39
		private final RuleCall cEffectEffectRuleParserRuleCall_7_0 = (RuleCall)cEffectAssignment_7.eContents().get(0);
59
40
		
60
		//ParameterRule:
41
		//ParameterRule:
61
		//	visibility=VisibilityKind direction=Direction name=ID ":" (type=TypeRule | "<Undefined>")
42
		//	visibility=VisibilityKind direction=Direction name=ID ":" (type=TypeRule | "<Undefined>")
62
		//	multiplicity=MultiplicityRule? modifiers=ModifiersRule? effect=EffectRule;
43
		//	multiplicity=MultiplicityRule? modifiers=ModifiersRule? effect=EffectRule;
63
		public ParserRule getRule() {
44
		public ParserRule getRule() { return rule; }
64
			return rule;
65
		}
66
45
67
		//visibility=VisibilityKind direction=Direction name=ID ":" (type=TypeRule | "<Undefined>") multiplicity=MultiplicityRule?
46
		//visibility=VisibilityKind direction=Direction name=ID ":" (type=TypeRule | "<Undefined>") multiplicity=MultiplicityRule?
68
		//modifiers=ModifiersRule? effect=EffectRule
47
		//modifiers=ModifiersRule? effect=EffectRule
69
		public Group getGroup() {
48
		public Group getGroup() { return cGroup; }
70
			return cGroup;
71
		}
72
49
73
		//visibility=VisibilityKind
50
		//visibility=VisibilityKind
74
		public Assignment getVisibilityAssignment_0() {
51
		public Assignment getVisibilityAssignment_0() { return cVisibilityAssignment_0; }
75
			return cVisibilityAssignment_0;
76
		}
77
52
78
		//VisibilityKind
53
		//VisibilityKind
79
		public RuleCall getVisibilityVisibilityKindEnumRuleCall_0_0() {
54
		public RuleCall getVisibilityVisibilityKindEnumRuleCall_0_0() { return cVisibilityVisibilityKindEnumRuleCall_0_0; }
80
			return cVisibilityVisibilityKindEnumRuleCall_0_0;
81
		}
82
55
83
		//direction=Direction
56
		//direction=Direction
84
		public Assignment getDirectionAssignment_1() {
57
		public Assignment getDirectionAssignment_1() { return cDirectionAssignment_1; }
85
			return cDirectionAssignment_1;
86
		}
87
58
88
		//Direction
59
		//Direction
89
		public RuleCall getDirectionDirectionEnumRuleCall_1_0() {
60
		public RuleCall getDirectionDirectionEnumRuleCall_1_0() { return cDirectionDirectionEnumRuleCall_1_0; }
90
			return cDirectionDirectionEnumRuleCall_1_0;
91
		}
92
61
93
		//name=ID
62
		//name=ID
94
		public Assignment getNameAssignment_2() {
63
		public Assignment getNameAssignment_2() { return cNameAssignment_2; }
95
			return cNameAssignment_2;
96
		}
97
64
98
		//ID
65
		//ID
99
		public RuleCall getNameIDTerminalRuleCall_2_0() {
66
		public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; }
100
			return cNameIDTerminalRuleCall_2_0;
101
		}
102
67
103
		//":"
68
		//":"
104
		public Keyword getColonKeyword_3() {
69
		public Keyword getColonKeyword_3() { return cColonKeyword_3; }
105
			return cColonKeyword_3;
106
		}
107
70
108
		//type=TypeRule | "<Undefined>"
71
		//type=TypeRule | "<Undefined>"
109
		public Alternatives getAlternatives_4() {
72
		public Alternatives getAlternatives_4() { return cAlternatives_4; }
110
			return cAlternatives_4;
111
		}
112
73
113
		//type=TypeRule
74
		//type=TypeRule
114
		public Assignment getTypeAssignment_4_0() {
75
		public Assignment getTypeAssignment_4_0() { return cTypeAssignment_4_0; }
115
			return cTypeAssignment_4_0;
116
		}
117
76
118
		//TypeRule
77
		//TypeRule
119
		public RuleCall getTypeTypeRuleParserRuleCall_4_0_0() {
78
		public RuleCall getTypeTypeRuleParserRuleCall_4_0_0() { return cTypeTypeRuleParserRuleCall_4_0_0; }
120
			return cTypeTypeRuleParserRuleCall_4_0_0;
121
		}
122
79
123
		//"<Undefined>"
80
		//"<Undefined>"
124
		public Keyword getUndefinedKeyword_4_1() {
81
		public Keyword getUndefinedKeyword_4_1() { return cUndefinedKeyword_4_1; }
125
			return cUndefinedKeyword_4_1;
126
		}
127
82
128
		//multiplicity=MultiplicityRule?
83
		//multiplicity=MultiplicityRule?
129
		public Assignment getMultiplicityAssignment_5() {
84
		public Assignment getMultiplicityAssignment_5() { return cMultiplicityAssignment_5; }
130
			return cMultiplicityAssignment_5;
131
		}
132
85
133
		//MultiplicityRule
86
		//MultiplicityRule
134
		public RuleCall getMultiplicityMultiplicityRuleParserRuleCall_5_0() {
87
		public RuleCall getMultiplicityMultiplicityRuleParserRuleCall_5_0() { return cMultiplicityMultiplicityRuleParserRuleCall_5_0; }
135
			return cMultiplicityMultiplicityRuleParserRuleCall_5_0;
136
		}
137
88
138
		//modifiers=ModifiersRule?
89
		//modifiers=ModifiersRule?
139
		public Assignment getModifiersAssignment_6() {
90
		public Assignment getModifiersAssignment_6() { return cModifiersAssignment_6; }
140
			return cModifiersAssignment_6;
141
		}
142
91
143
		//ModifiersRule
92
		//ModifiersRule
144
		public RuleCall getModifiersModifiersRuleParserRuleCall_6_0() {
93
		public RuleCall getModifiersModifiersRuleParserRuleCall_6_0() { return cModifiersModifiersRuleParserRuleCall_6_0; }
145
			return cModifiersModifiersRuleParserRuleCall_6_0;
146
		}
147
94
148
		//effect=EffectRule
95
		//effect=EffectRule
149
		public Assignment getEffectAssignment_7() {
96
		public Assignment getEffectAssignment_7() { return cEffectAssignment_7; }
150
			return cEffectAssignment_7;
151
		}
152
97
153
		//EffectRule
98
		//EffectRule
154
		public RuleCall getEffectEffectRuleParserRuleCall_7_0() {
99
		public RuleCall getEffectEffectRuleParserRuleCall_7_0() { return cEffectEffectRuleParserRuleCall_7_0; }
155
			return cEffectEffectRuleParserRuleCall_7_0;
156
		}
157
	}
100
	}
158
101
159
	public class ModifiersRuleElements extends AbstractParserRuleElementFinder {
102
	public class ModifiersRuleElements extends AbstractParserRuleElementFinder {
160
103
		private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ModifiersRule");
161
		private final ParserRule rule = (ParserRule)GrammarUtil.findRuleForName(getGrammar(), "ModifiersRule");
162
163
		private final Group cGroup = (Group)rule.eContents().get(1);
104
		private final Group cGroup = (Group)rule.eContents().get(1);
164
165
		private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
105
		private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
166
167
		private final Assignment cValuesAssignment_1 = (Assignment)cGroup.eContents().get(1);
106
		private final Assignment cValuesAssignment_1 = (Assignment)cGroup.eContents().get(1);
168
169
		private final RuleCall cValuesModifierSpecificationParserRuleCall_1_0 = (RuleCall)cValuesAssignment_1.eContents().get(0);
107
		private final RuleCall cValuesModifierSpecificationParserRuleCall_1_0 = (RuleCall)cValuesAssignment_1.eContents().get(0);
170
171
		private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
108
		private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
172
173
		private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
109
		private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
174
175
		private final Assignment cValuesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
110
		private final Assignment cValuesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
176
177
		private final RuleCall cValuesModifierSpecificationParserRuleCall_2_1_0 = (RuleCall)cValuesAssignment_2_1.eContents().get(0);
111
		private final RuleCall cValuesModifierSpecificationParserRuleCall_2_1_0 = (RuleCall)cValuesAssignment_2_1.eContents().get(0);
178
179
		private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
112
		private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
180
113
		
181
		//ModifiersRule:
114
		//ModifiersRule:
182
		//	"{" values+=ModifierSpecification ("," values+=ModifierSpecification)* "}";
115
		//	"{" values+=ModifierSpecification ("," values+=ModifierSpecification)* "}";
183
		public ParserRule getRule() {
116
		public ParserRule getRule() { return rule; }
184
			return rule;
185
		}
186
117
187
		//"{" values+=ModifierSpecification ("," values+=ModifierSpecification)* "}"
118
		//"{" values+=ModifierSpecification ("," values+=ModifierSpecification)* "}"
188
		public Group getGroup() {
119
		public Group getGroup() { return cGroup; }
189
			return cGroup;
190
		}
191
120
192
		//"{"
121
		//"{"
193
		public Keyword getLeftCurlyBracketKeyword_0() {
122
		public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; }
194
			return cLeftCurlyBracketKeyword_0;
195
		}
196
123
197
		//values+=ModifierSpecification
124
		//values+=ModifierSpecification
198
		public Assignment getValuesAssignment_1() {
125
		public Assignment getValuesAssignment_1() { return cValuesAssignment_1; }
199
			return cValuesAssignment_1;
200
		}
201
126
202
		//ModifierSpecification
127
		//ModifierSpecification
203
		public RuleCall getValuesModifierSpecificationParserRuleCall_1_0() {
128
		public RuleCall getValuesModifierSpecificationParserRuleCall_1_0() { return cValuesModifierSpecificationParserRuleCall_1_0; }
204
			return cValuesModifierSpecificationParserRuleCall_1_0;
205
		}
206
129
207
		//("," values+=ModifierSpecification)*
130
		//("," values+=ModifierSpecification)*
208
		public Group getGroup_2() {
131
		public Group getGroup_2() { return cGroup_2; }
209
			return cGroup_2;
210
		}
211
132
212
		//","
133
		//","
213
		public Keyword getCommaKeyword_2_0() {
134
		public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; }
214
			return cCommaKeyword_2_0;
215
		}
216
135
217
		//values+=ModifierSpecification
136
		//values+=ModifierSpecification
218
		public Assignment getValuesAssignment_2_1() {
137
		public Assignment getValuesAssignment_2_1() { return cValuesAssignment_2_1; }
219
			return cValuesAssignment_2_1;
220
		}
221
138
222
		//ModifierSpecification
139
		//ModifierSpecification
223
		public RuleCall getValuesModifierSpecificationParserRuleCall_2_1_0() {
140
		public RuleCall getValuesModifierSpecificationParserRuleCall_2_1_0() { return cValuesModifierSpecificationParserRuleCall_2_1_0; }
224
			return cValuesModifierSpecificationParserRuleCall_2_1_0;
225
		}
226
141
227
		//"}"
142
		//"}"
228
		public Keyword getRightCurlyBracketKeyword_3() {
143
		public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
229
			return cRightCurlyBracketKeyword_3;
230
		}
231
	}
144
	}
232
145
233
	public class ModifierSpecificationElements extends AbstractParserRuleElementFinder {
146
	public class ModifierSpecificationElements extends AbstractParserRuleElementFinder {
234
147
		private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ModifierSpecification");
235
		private final ParserRule rule = (ParserRule)GrammarUtil.findRuleForName(getGrammar(), "ModifierSpecification");
236
237
		private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1);
148
		private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1);
238
239
		private final RuleCall cValueModifierKindEnumRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0);
149
		private final RuleCall cValueModifierKindEnumRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0);
240
150
		
241
		//ModifierSpecification:
151
		//ModifierSpecification:
242
		//	value=ModifierKind;
152
		//	value=ModifierKind;
243
		public ParserRule getRule() {
153
		public ParserRule getRule() { return rule; }
244
			return rule;
245
		}
246
154
247
		//value=ModifierKind
155
		//value=ModifierKind
248
		public Assignment getValueAssignment() {
156
		public Assignment getValueAssignment() { return cValueAssignment; }
249
			return cValueAssignment;
250
		}
251
157
252
		//ModifierKind
158
		//ModifierKind
253
		public RuleCall getValueModifierKindEnumRuleCall_0() {
159
		public RuleCall getValueModifierKindEnumRuleCall_0() { return cValueModifierKindEnumRuleCall_0; }
254
			return cValueModifierKindEnumRuleCall_0;
255
		}
256
	}
160
	}
257
161
258
	public class EffectRuleElements extends AbstractParserRuleElementFinder {
162
	public class EffectRuleElements extends AbstractParserRuleElementFinder {
259
163
		private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EffectRule");
260
		private final ParserRule rule = (ParserRule)GrammarUtil.findRuleForName(getGrammar(), "EffectRule");
261
262
		private final Group cGroup = (Group)rule.eContents().get(1);
164
		private final Group cGroup = (Group)rule.eContents().get(1);
263
264
		private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
165
		private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
265
266
		private final Keyword cEffectKeyword_1 = (Keyword)cGroup.eContents().get(1);
166
		private final Keyword cEffectKeyword_1 = (Keyword)cGroup.eContents().get(1);
267
268
		private final Assignment cEffectKindAssignment_2 = (Assignment)cGroup.eContents().get(2);
167
		private final Assignment cEffectKindAssignment_2 = (Assignment)cGroup.eContents().get(2);
269
270
		private final RuleCall cEffectKindEffectKindEnumRuleCall_2_0 = (RuleCall)cEffectKindAssignment_2.eContents().get(0);
168
		private final RuleCall cEffectKindEffectKindEnumRuleCall_2_0 = (RuleCall)cEffectKindAssignment_2.eContents().get(0);
271
272
		private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
169
		private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
273
170
		
274
		//EffectRule:
171
		//EffectRule:
275
		//	"{" "effect: " effectKind=EffectKind "}";
172
		//	"{" "effect: " effectKind=EffectKind "}";
276
		public ParserRule getRule() {
173
		public ParserRule getRule() { return rule; }
277
			return rule;
278
		}
279
174
280
		//"{" "effect: " effectKind=EffectKind "}"
175
		//"{" "effect: " effectKind=EffectKind "}"
281
		public Group getGroup() {
176
		public Group getGroup() { return cGroup; }
282
			return cGroup;
283
		}
284
177
285
		//"{"
178
		//"{"
286
		public Keyword getLeftCurlyBracketKeyword_0() {
179
		public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; }
287
			return cLeftCurlyBracketKeyword_0;
288
		}
289
180
290
		//"effect: "
181
		//"effect: "
291
		public Keyword getEffectKeyword_1() {
182
		public Keyword getEffectKeyword_1() { return cEffectKeyword_1; }
292
			return cEffectKeyword_1;
293
		}
294
183
295
		//effectKind=EffectKind
184
		//effectKind=EffectKind
296
		public Assignment getEffectKindAssignment_2() {
185
		public Assignment getEffectKindAssignment_2() { return cEffectKindAssignment_2; }
297
			return cEffectKindAssignment_2;
298
		}
299
186
300
		//EffectKind
187
		//EffectKind
301
		public RuleCall getEffectKindEffectKindEnumRuleCall_2_0() {
188
		public RuleCall getEffectKindEffectKindEnumRuleCall_2_0() { return cEffectKindEffectKindEnumRuleCall_2_0; }
302
			return cEffectKindEffectKindEnumRuleCall_2_0;
303
		}
304
189
305
		//"}"
190
		//"}"
306
		public Keyword getRightCurlyBracketKeyword_3() {
191
		public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
307
			return cRightCurlyBracketKeyword_3;
308
		}
309
	}
192
	}
310
193
	
311
194
	
312
	public class ModifierKindElements extends AbstractEnumRuleElementFinder {
195
	public class ModifierKindElements extends AbstractEnumRuleElementFinder {
313
196
		private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "ModifierKind");
314
		private final EnumRule rule = (EnumRule)GrammarUtil.findRuleForName(getGrammar(), "ModifierKind");
315
316
		private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
197
		private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
317
318
		private final EnumLiteralDeclaration cEXCEPTIONEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
198
		private final EnumLiteralDeclaration cEXCEPTIONEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
319
320
		private final Keyword cEXCEPTIONExceptionKeyword_0_0 = (Keyword)cEXCEPTIONEnumLiteralDeclaration_0.eContents().get(0);
199
		private final Keyword cEXCEPTIONExceptionKeyword_0_0 = (Keyword)cEXCEPTIONEnumLiteralDeclaration_0.eContents().get(0);
321
322
		private final EnumLiteralDeclaration cSTREAMEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
200
		private final EnumLiteralDeclaration cSTREAMEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
323
324
		private final Keyword cSTREAMStreamKeyword_1_0 = (Keyword)cSTREAMEnumLiteralDeclaration_1.eContents().get(0);
201
		private final Keyword cSTREAMStreamKeyword_1_0 = (Keyword)cSTREAMEnumLiteralDeclaration_1.eContents().get(0);
325
326
		private final EnumLiteralDeclaration cORDEREDEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
202
		private final EnumLiteralDeclaration cORDEREDEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
327
328
		private final Keyword cORDEREDOrderedKeyword_2_0 = (Keyword)cORDEREDEnumLiteralDeclaration_2.eContents().get(0);
203
		private final Keyword cORDEREDOrderedKeyword_2_0 = (Keyword)cORDEREDEnumLiteralDeclaration_2.eContents().get(0);
329
330
		private final EnumLiteralDeclaration cUNIQUEEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
204
		private final EnumLiteralDeclaration cUNIQUEEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
331
332
		private final Keyword cUNIQUEUniqueKeyword_3_0 = (Keyword)cUNIQUEEnumLiteralDeclaration_3.eContents().get(0);
205
		private final Keyword cUNIQUEUniqueKeyword_3_0 = (Keyword)cUNIQUEEnumLiteralDeclaration_3.eContents().get(0);
333
206
		
334
		//enum ModifierKind:
207
		//enum ModifierKind:
335
		//	EXCEPTION="exception" | STREAM="stream" | ORDERED="ordered" | UNIQUE="unique";
208
		//	EXCEPTION="exception" | STREAM="stream" | ORDERED="ordered" | UNIQUE="unique";
336
		public EnumRule getRule() {
209
		public EnumRule getRule() { return rule; }
337
			return rule;
338
		}
339
210
340
		//EXCEPTION="exception" | STREAM="stream" | ORDERED="ordered" | UNIQUE="unique"
211
		//EXCEPTION="exception" | STREAM="stream" | ORDERED="ordered" | UNIQUE="unique"
341
		public Alternatives getAlternatives() {
212
		public Alternatives getAlternatives() { return cAlternatives; }
342
			return cAlternatives;
343
		}
344
213
345
		//EXCEPTION="exception"
214
		//EXCEPTION="exception"
346
		public EnumLiteralDeclaration getEXCEPTIONEnumLiteralDeclaration_0() {
215
		public EnumLiteralDeclaration getEXCEPTIONEnumLiteralDeclaration_0() { return cEXCEPTIONEnumLiteralDeclaration_0; }
347
			return cEXCEPTIONEnumLiteralDeclaration_0;
348
		}
349
216
350
		//"exception"
217
		//"exception"
351
		public Keyword getEXCEPTIONExceptionKeyword_0_0() {
218
		public Keyword getEXCEPTIONExceptionKeyword_0_0() { return cEXCEPTIONExceptionKeyword_0_0; }
352
			return cEXCEPTIONExceptionKeyword_0_0;
353
		}
354
219
355
		//STREAM="stream"
220
		//STREAM="stream"
356
		public EnumLiteralDeclaration getSTREAMEnumLiteralDeclaration_1() {
221
		public EnumLiteralDeclaration getSTREAMEnumLiteralDeclaration_1() { return cSTREAMEnumLiteralDeclaration_1; }
357
			return cSTREAMEnumLiteralDeclaration_1;
358
		}
359
222
360
		//"stream"
223
		//"stream"
361
		public Keyword getSTREAMStreamKeyword_1_0() {
224
		public Keyword getSTREAMStreamKeyword_1_0() { return cSTREAMStreamKeyword_1_0; }
362
			return cSTREAMStreamKeyword_1_0;
363
		}
364
225
365
		//ORDERED="ordered"
226
		//ORDERED="ordered"
366
		public EnumLiteralDeclaration getORDEREDEnumLiteralDeclaration_2() {
227
		public EnumLiteralDeclaration getORDEREDEnumLiteralDeclaration_2() { return cORDEREDEnumLiteralDeclaration_2; }
367
			return cORDEREDEnumLiteralDeclaration_2;
368
		}
369
228
370
		//"ordered"
229
		//"ordered"
371
		public Keyword getORDEREDOrderedKeyword_2_0() {
230
		public Keyword getORDEREDOrderedKeyword_2_0() { return cORDEREDOrderedKeyword_2_0; }
372
			return cORDEREDOrderedKeyword_2_0;
373
		}
374
231
375
		//UNIQUE="unique"
232
		//UNIQUE="unique"
376
		public EnumLiteralDeclaration getUNIQUEEnumLiteralDeclaration_3() {
233
		public EnumLiteralDeclaration getUNIQUEEnumLiteralDeclaration_3() { return cUNIQUEEnumLiteralDeclaration_3; }
377
			return cUNIQUEEnumLiteralDeclaration_3;
378
		}
379
234
380
		//"unique"
235
		//"unique"
381
		public Keyword getUNIQUEUniqueKeyword_3_0() {
236
		public Keyword getUNIQUEUniqueKeyword_3_0() { return cUNIQUEUniqueKeyword_3_0; }
382
			return cUNIQUEUniqueKeyword_3_0;
383
		}
384
	}
237
	}
385
238
386
	public class EffectKindElements extends AbstractEnumRuleElementFinder {
239
	public class EffectKindElements extends AbstractEnumRuleElementFinder {
387
240
		private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "EffectKind");
388
		private final EnumRule rule = (EnumRule)GrammarUtil.findRuleForName(getGrammar(), "EffectKind");
389
390
		private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
241
		private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
391
392
		private final EnumLiteralDeclaration cCREATEEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
242
		private final EnumLiteralDeclaration cCREATEEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
393
394
		private final Keyword cCREATECreateKeyword_0_0 = (Keyword)cCREATEEnumLiteralDeclaration_0.eContents().get(0);
243
		private final Keyword cCREATECreateKeyword_0_0 = (Keyword)cCREATEEnumLiteralDeclaration_0.eContents().get(0);
395
396
		private final EnumLiteralDeclaration cREADEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
244
		private final EnumLiteralDeclaration cREADEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
397
398
		private final Keyword cREADReadKeyword_1_0 = (Keyword)cREADEnumLiteralDeclaration_1.eContents().get(0);
245
		private final Keyword cREADReadKeyword_1_0 = (Keyword)cREADEnumLiteralDeclaration_1.eContents().get(0);
399
400
		private final EnumLiteralDeclaration cUPDATEEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
246
		private final EnumLiteralDeclaration cUPDATEEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
401
402
		private final Keyword cUPDATEUpdateKeyword_2_0 = (Keyword)cUPDATEEnumLiteralDeclaration_2.eContents().get(0);
247
		private final Keyword cUPDATEUpdateKeyword_2_0 = (Keyword)cUPDATEEnumLiteralDeclaration_2.eContents().get(0);
403
404
		private final EnumLiteralDeclaration cDELETEEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
248
		private final EnumLiteralDeclaration cDELETEEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
405
406
		private final Keyword cDELETEDeleteKeyword_3_0 = (Keyword)cDELETEEnumLiteralDeclaration_3.eContents().get(0);
249
		private final Keyword cDELETEDeleteKeyword_3_0 = (Keyword)cDELETEEnumLiteralDeclaration_3.eContents().get(0);
407
250
		
408
		//enum EffectKind:
251
		//enum EffectKind:
409
		//	CREATE="create" | READ="read" | UPDATE="update" | DELETE="delete";
252
		//	CREATE="create" | READ="read" | UPDATE="update" | DELETE="delete";
410
		public EnumRule getRule() {
253
		public EnumRule getRule() { return rule; }
411
			return rule;
412
		}
413
254
414
		//CREATE="create" | READ="read" | UPDATE="update" | DELETE="delete"
255
		//CREATE="create" | READ="read" | UPDATE="update" | DELETE="delete"
415
		public Alternatives getAlternatives() {
256
		public Alternatives getAlternatives() { return cAlternatives; }
416
			return cAlternatives;
417
		}
418
257
419
		//CREATE="create"
258
		//CREATE="create"
420
		public EnumLiteralDeclaration getCREATEEnumLiteralDeclaration_0() {
259
		public EnumLiteralDeclaration getCREATEEnumLiteralDeclaration_0() { return cCREATEEnumLiteralDeclaration_0; }
421
			return cCREATEEnumLiteralDeclaration_0;
422
		}
423
260
424
		//"create"
261
		//"create"
425
		public Keyword getCREATECreateKeyword_0_0() {
262
		public Keyword getCREATECreateKeyword_0_0() { return cCREATECreateKeyword_0_0; }
426
			return cCREATECreateKeyword_0_0;
427
		}
428
263
429
		//READ="read"
264
		//READ="read"
430
		public EnumLiteralDeclaration getREADEnumLiteralDeclaration_1() {
265
		public EnumLiteralDeclaration getREADEnumLiteralDeclaration_1() { return cREADEnumLiteralDeclaration_1; }
431
			return cREADEnumLiteralDeclaration_1;
432
		}
433
266
434
		//"read"
267
		//"read"
435
		public Keyword getREADReadKeyword_1_0() {
268
		public Keyword getREADReadKeyword_1_0() { return cREADReadKeyword_1_0; }
436
			return cREADReadKeyword_1_0;
437
		}
438
269
439
		//UPDATE="update"
270
		//UPDATE="update"
440
		public EnumLiteralDeclaration getUPDATEEnumLiteralDeclaration_2() {
271
		public EnumLiteralDeclaration getUPDATEEnumLiteralDeclaration_2() { return cUPDATEEnumLiteralDeclaration_2; }
441
			return cUPDATEEnumLiteralDeclaration_2;
442
		}
443
272
444
		//"update"
273
		//"update"
445
		public Keyword getUPDATEUpdateKeyword_2_0() {
274
		public Keyword getUPDATEUpdateKeyword_2_0() { return cUPDATEUpdateKeyword_2_0; }
446
			return cUPDATEUpdateKeyword_2_0;
447
		}
448
275
449
		//DELETE="delete"
276
		//DELETE="delete"
450
		public EnumLiteralDeclaration getDELETEEnumLiteralDeclaration_3() {
277
		public EnumLiteralDeclaration getDELETEEnumLiteralDeclaration_3() { return cDELETEEnumLiteralDeclaration_3; }
451
			return cDELETEEnumLiteralDeclaration_3;
452
		}
453
278
454
		//"delete"
279
		//"delete"
455
		public Keyword getDELETEDeleteKeyword_3_0() {
280
		public Keyword getDELETEDeleteKeyword_3_0() { return cDELETEDeleteKeyword_3_0; }
456
			return cDELETEDeleteKeyword_3_0;
457
		}
458
	}
281
	}
459
282
	
460
	private ParameterRuleElements pParameterRule;
283
	private ParameterRuleElements pParameterRule;
461
462
	private ModifiersRuleElements pModifiersRule;
284
	private ModifiersRuleElements pModifiersRule;
463
464
	private ModifierSpecificationElements pModifierSpecification;
285
	private ModifierSpecificationElements pModifierSpecification;
465
466
	private ModifierKindElements unknownRuleModifierKind;
286
	private ModifierKindElements unknownRuleModifierKind;
467
468
	private EffectKindElements unknownRuleEffectKind;
287
	private EffectKindElements unknownRuleEffectKind;
469
470
	private EffectRuleElements pEffectRule;
288
	private EffectRuleElements pEffectRule;
471
289
	
472
	private final GrammarProvider grammarProvider;
290
	private final GrammarProvider grammarProvider;
473
291
474
	private UmlCommonGrammarAccess gaUmlCommon;
292
	private UmlCommonGrammarAccess gaUmlCommon;
475
293
476
	@Inject
294
	@Inject
477
	public UmlParameterGrammarAccess(GrammarProvider grammarProvider, UmlCommonGrammarAccess gaUmlCommon) {
295
	public UmlParameterGrammarAccess(GrammarProvider grammarProvider,
296
		UmlCommonGrammarAccess gaUmlCommon) {
478
		this.grammarProvider = grammarProvider;
297
		this.grammarProvider = grammarProvider;
479
		this.gaUmlCommon = gaUmlCommon;
298
		this.gaUmlCommon = gaUmlCommon;
480
	}
299
	}
481
300
	
482
	public Grammar getGrammar() {
301
	public Grammar getGrammar() {	
483
		return grammarProvider.getGrammar(this);
302
		return grammarProvider.getGrammar(this);
484
	}
303
	}
485
304
	
486
305
487
	public UmlCommonGrammarAccess getUmlCommonGrammarAccess() {
306
	public UmlCommonGrammarAccess getUmlCommonGrammarAccess() {
488
		return gaUmlCommon;
307
		return gaUmlCommon;
489
	}
308
	}
490
309
491
310
	
492
	//ParameterRule:
311
	//ParameterRule:
493
	//	visibility=VisibilityKind direction=Direction name=ID ":" (type=TypeRule | "<Undefined>")
312
	//	visibility=VisibilityKind direction=Direction name=ID ":" (type=TypeRule | "<Undefined>")
494
	//	multiplicity=MultiplicityRule? modifiers=ModifiersRule? effect=EffectRule;
313
	//	multiplicity=MultiplicityRule? modifiers=ModifiersRule? effect=EffectRule;
495
	public ParameterRuleElements getParameterRuleAccess() {
314
	public ParameterRuleElements getParameterRuleAccess() {
496
		return (pParameterRule != null) ? pParameterRule : (pParameterRule = new ParameterRuleElements());
315
		return (pParameterRule != null) ? pParameterRule : (pParameterRule = new ParameterRuleElements());
497
	}
316
	}
498
317
	
499
	public ParserRule getParameterRuleRule() {
318
	public ParserRule getParameterRuleRule() {
500
		return getParameterRuleAccess().getRule();
319
		return getParameterRuleAccess().getRule();
501
	}
320
	}
Lines 505-511 Link Here
505
	public ModifiersRuleElements getModifiersRuleAccess() {
324
	public ModifiersRuleElements getModifiersRuleAccess() {
506
		return (pModifiersRule != null) ? pModifiersRule : (pModifiersRule = new ModifiersRuleElements());
325
		return (pModifiersRule != null) ? pModifiersRule : (pModifiersRule = new ModifiersRuleElements());
507
	}
326
	}
508
327
	
509
	public ParserRule getModifiersRuleRule() {
328
	public ParserRule getModifiersRuleRule() {
510
		return getModifiersRuleAccess().getRule();
329
		return getModifiersRuleAccess().getRule();
511
	}
330
	}
Lines 515-521 Link Here
515
	public ModifierSpecificationElements getModifierSpecificationAccess() {
334
	public ModifierSpecificationElements getModifierSpecificationAccess() {
516
		return (pModifierSpecification != null) ? pModifierSpecification : (pModifierSpecification = new ModifierSpecificationElements());
335
		return (pModifierSpecification != null) ? pModifierSpecification : (pModifierSpecification = new ModifierSpecificationElements());
517
	}
336
	}
518
337
	
519
	public ParserRule getModifierSpecificationRule() {
338
	public ParserRule getModifierSpecificationRule() {
520
		return getModifierSpecificationAccess().getRule();
339
		return getModifierSpecificationAccess().getRule();
521
	}
340
	}
Lines 525-531 Link Here
525
	public ModifierKindElements getModifierKindAccess() {
344
	public ModifierKindElements getModifierKindAccess() {
526
		return (unknownRuleModifierKind != null) ? unknownRuleModifierKind : (unknownRuleModifierKind = new ModifierKindElements());
345
		return (unknownRuleModifierKind != null) ? unknownRuleModifierKind : (unknownRuleModifierKind = new ModifierKindElements());
527
	}
346
	}
528
347
	
529
	public EnumRule getModifierKindRule() {
348
	public EnumRule getModifierKindRule() {
530
		return getModifierKindAccess().getRule();
349
		return getModifierKindAccess().getRule();
531
	}
350
	}
Lines 535-541 Link Here
535
	public EffectKindElements getEffectKindAccess() {
354
	public EffectKindElements getEffectKindAccess() {
536
		return (unknownRuleEffectKind != null) ? unknownRuleEffectKind : (unknownRuleEffectKind = new EffectKindElements());
355
		return (unknownRuleEffectKind != null) ? unknownRuleEffectKind : (unknownRuleEffectKind = new EffectKindElements());
537
	}
356
	}
538
357
	
539
	public EnumRule getEffectKindRule() {
358
	public EnumRule getEffectKindRule() {
540
		return getEffectKindAccess().getRule();
359
		return getEffectKindAccess().getRule();
541
	}
360
	}
Lines 545-551 Link Here
545
	public EffectRuleElements getEffectRuleAccess() {
364
	public EffectRuleElements getEffectRuleAccess() {
546
		return (pEffectRule != null) ? pEffectRule : (pEffectRule = new EffectRuleElements());
365
		return (pEffectRule != null) ? pEffectRule : (pEffectRule = new EffectRuleElements());
547
	}
366
	}
548
367
	
549
	public ParserRule getEffectRuleRule() {
368
	public ParserRule getEffectRuleRule() {
550
		return getEffectRuleAccess().getRule();
369
		return getEffectRuleAccess().getRule();
551
	}
370
	}
Lines 555-561 Link Here
555
	public UmlCommonGrammarAccess.QualifiedNameElements getQualifiedNameAccess() {
374
	public UmlCommonGrammarAccess.QualifiedNameElements getQualifiedNameAccess() {
556
		return gaUmlCommon.getQualifiedNameAccess();
375
		return gaUmlCommon.getQualifiedNameAccess();
557
	}
376
	}
558
377
	
559
	public ParserRule getQualifiedNameRule() {
378
	public ParserRule getQualifiedNameRule() {
560
		return getQualifiedNameAccess().getRule();
379
		return getQualifiedNameAccess().getRule();
561
	}
380
	}
Lines 565-571 Link Here
565
	public UmlCommonGrammarAccess.TypeRuleElements getTypeRuleAccess() {
384
	public UmlCommonGrammarAccess.TypeRuleElements getTypeRuleAccess() {
566
		return gaUmlCommon.getTypeRuleAccess();
385
		return gaUmlCommon.getTypeRuleAccess();
567
	}
386
	}
568
387
	
569
	public ParserRule getTypeRuleRule() {
388
	public ParserRule getTypeRuleRule() {
570
		return getTypeRuleAccess().getRule();
389
		return getTypeRuleAccess().getRule();
571
	}
390
	}
Lines 575-581 Link Here
575
	public UmlCommonGrammarAccess.VisibilityKindElements getVisibilityKindAccess() {
394
	public UmlCommonGrammarAccess.VisibilityKindElements getVisibilityKindAccess() {
576
		return gaUmlCommon.getVisibilityKindAccess();
395
		return gaUmlCommon.getVisibilityKindAccess();
577
	}
396
	}
578
397
	
579
	public EnumRule getVisibilityKindRule() {
398
	public EnumRule getVisibilityKindRule() {
580
		return getVisibilityKindAccess().getRule();
399
		return getVisibilityKindAccess().getRule();
581
	}
400
	}
Lines 585-591 Link Here
585
	public UmlCommonGrammarAccess.MultiplicityRuleElements getMultiplicityRuleAccess() {
404
	public UmlCommonGrammarAccess.MultiplicityRuleElements getMultiplicityRuleAccess() {
586
		return gaUmlCommon.getMultiplicityRuleAccess();
405
		return gaUmlCommon.getMultiplicityRuleAccess();
587
	}
406
	}
588
407
	
589
	public ParserRule getMultiplicityRuleRule() {
408
	public ParserRule getMultiplicityRuleRule() {
590
		return getMultiplicityRuleAccess().getRule();
409
		return getMultiplicityRuleAccess().getRule();
591
	}
410
	}
Lines 595-601 Link Here
595
	public UmlCommonGrammarAccess.BoundSpecificationElements getBoundSpecificationAccess() {
414
	public UmlCommonGrammarAccess.BoundSpecificationElements getBoundSpecificationAccess() {
596
		return gaUmlCommon.getBoundSpecificationAccess();
415
		return gaUmlCommon.getBoundSpecificationAccess();
597
	}
416
	}
598
417
	
599
	public ParserRule getBoundSpecificationRule() {
418
	public ParserRule getBoundSpecificationRule() {
600
		return getBoundSpecificationAccess().getRule();
419
		return getBoundSpecificationAccess().getRule();
601
	}
420
	}
Lines 604-617 Link Here
604
	//	"0".."9" "0".."9"* | "*";
423
	//	"0".."9" "0".."9"* | "*";
605
	public TerminalRule getUnlimitedLiteralRule() {
424
	public TerminalRule getUnlimitedLiteralRule() {
606
		return gaUmlCommon.getUnlimitedLiteralRule();
425
		return gaUmlCommon.getUnlimitedLiteralRule();
607
	}
426
	} 
608
427
609
	//enum Direction:
428
	//enum Direction:
610
	//	IN="in" | OUT="out" | INOUT="inout" | RETURN="return";
429
	//	IN="in" | OUT="out" | INOUT="inout" | RETURN="return";
611
	public UmlCommonGrammarAccess.DirectionElements getDirectionAccess() {
430
	public UmlCommonGrammarAccess.DirectionElements getDirectionAccess() {
612
		return gaUmlCommon.getDirectionAccess();
431
		return gaUmlCommon.getDirectionAccess();
613
	}
432
	}
614
433
	
615
	public EnumRule getDirectionRule() {
434
	public EnumRule getDirectionRule() {
616
		return getDirectionAccess().getRule();
435
		return getDirectionAccess().getRule();
617
	}
436
	}
Lines 620-661 Link Here
620
	//	"^"? ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")*;
439
	//	"^"? ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")*;
621
	public TerminalRule getIDRule() {
440
	public TerminalRule getIDRule() {
622
		return gaUmlCommon.getIDRule();
441
		return gaUmlCommon.getIDRule();
623
	}
442
	} 
624
443
625
	//terminal INT returns ecore::EInt:
444
	//terminal INT returns ecore::EInt:
626
	//	"0".."9"+;
445
	//	"0".."9"+;
627
	public TerminalRule getINTRule() {
446
	public TerminalRule getINTRule() {
628
		return gaUmlCommon.getINTRule();
447
		return gaUmlCommon.getINTRule();
629
	}
448
	} 
630
449
631
	//terminal STRING:
450
	//terminal STRING:
632
	//	"\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" | "n" |
451
	//	"\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" |
633
	//	"f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
452
	//	"n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
634
	public TerminalRule getSTRINGRule() {
453
	public TerminalRule getSTRINGRule() {
635
		return gaUmlCommon.getSTRINGRule();
454
		return gaUmlCommon.getSTRINGRule();
636
	}
455
	} 
637
456
638
	//terminal ML_COMMENT:
457
	//terminal ML_COMMENT:
639
	//	"/ *"->"* /";
458
	//	"/ *"->"* /";
640
	public TerminalRule getML_COMMENTRule() {
459
	public TerminalRule getML_COMMENTRule() {
641
		return gaUmlCommon.getML_COMMENTRule();
460
		return gaUmlCommon.getML_COMMENTRule();
642
	}
461
	} 
643
462
644
	//terminal SL_COMMENT:
463
	//terminal SL_COMMENT:
645
	//	"//" !("\n" | "\r")* ("\r"? "\n")?;
464
	//	"//" !("\n" | "\r")* ("\r"? "\n")?;
646
	public TerminalRule getSL_COMMENTRule() {
465
	public TerminalRule getSL_COMMENTRule() {
647
		return gaUmlCommon.getSL_COMMENTRule();
466
		return gaUmlCommon.getSL_COMMENTRule();
648
	}
467
	} 
649
468
650
	//terminal WS:
469
	//terminal WS:
651
	//	(" " | "\t" | "\r" | "\n")+;
470
	//	(" " | "\t" | "\r" | "\n")+;
652
	public TerminalRule getWSRule() {
471
	public TerminalRule getWSRule() {
653
		return gaUmlCommon.getWSRule();
472
		return gaUmlCommon.getWSRule();
654
	}
473
	} 
655
474
656
	//terminal ANY_OTHER:
475
	//terminal ANY_OTHER:
657
	//	.;
476
	//	.;
658
	public TerminalRule getANY_OTHERRule() {
477
	public TerminalRule getANY_OTHERRule() {
659
		return gaUmlCommon.getANY_OTHERRule();
478
		return gaUmlCommon.getANY_OTHERRule();
660
	}
479
	} 
661
}
480
}
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/AbstractUmlParameterRuntimeModule.java (-10 / +14 lines)
Lines 14-20 Link Here
14
/**
14
/**
15
 * Manual modifications go to {org.eclipse.papyrus.parameter.editor.xtext.UmlParameterRuntimeModule}
15
 * Manual modifications go to {org.eclipse.papyrus.parameter.editor.xtext.UmlParameterRuntimeModule}
16
 */
16
 */
17
@SuppressWarnings("all")
17
 @SuppressWarnings("all")
18
public abstract class AbstractUmlParameterRuntimeModule extends DefaultRuntimeModule {
18
public abstract class AbstractUmlParameterRuntimeModule extends DefaultRuntimeModule {
19
19
20
	protected Properties properties = null;
20
	protected Properties properties = null;
Lines 24-39 Link Here
24
		properties = tryBindProperties(binder, "org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.properties");
24
		properties = tryBindProperties(binder, "org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.properties");
25
		super.configure(binder);
25
		super.configure(binder);
26
	}
26
	}
27
27
	
28
	public void configureLanguageName(Binder binder) {
28
	public void configureLanguageName(Binder binder) {
29
		binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.papyrus.parameter.editor.xtext.UmlParameter");
29
		binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.papyrus.parameter.editor.xtext.UmlParameter");
30
	}
30
	}
31
31
	
32
	public void configureFileExtensions(Binder binder) {
32
	public void configureFileExtensions(Binder binder) {
33
		if(properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
33
		if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
34
			binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("umlparameter");
34
			binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("umlparameter");
35
	}
35
	}
36
36
	
37
	// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
37
	// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
38
	public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
38
	public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
39
		return org.eclipse.papyrus.parameter.editor.xtext.services.UmlParameterGrammarAccess.class;
39
		return org.eclipse.papyrus.parameter.editor.xtext.services.UmlParameterGrammarAccess.class;
Lines 45-51 Link Here
45
	}
45
	}
46
46
47
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
47
	// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
48
	public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrParser> bindIAntlrParser() {
48
	public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
49
		return org.eclipse.papyrus.parameter.editor.xtext.parser.antlr.UmlParameterParser.class;
49
		return org.eclipse.papyrus.parameter.editor.xtext.parser.antlr.UmlParameterParser.class;
50
	}
50
	}
51
51
Lines 80-87 Link Here
80
	}
80
	}
81
81
82
	// contributed by org.eclipse.xtext.generator.validation.JavaValidatorFragment
82
	// contributed by org.eclipse.xtext.generator.validation.JavaValidatorFragment
83
	@org.eclipse.xtext.service.SingletonBinding(eager = true)
83
	@org.eclipse.xtext.service.SingletonBinding(eager=true)	public Class<? extends org.eclipse.papyrus.parameter.editor.xtext.validation.UmlParameterJavaValidator> bindUmlParameterJavaValidator() {
84
	public Class<? extends org.eclipse.papyrus.parameter.editor.xtext.validation.UmlParameterJavaValidator> bindUmlParameterJavaValidator() {
85
		return org.eclipse.papyrus.parameter.editor.xtext.validation.UmlParameterJavaValidator.class;
84
		return org.eclipse.papyrus.parameter.editor.xtext.validation.UmlParameterJavaValidator.class;
86
	}
85
	}
87
86
Lines 92-98 Link Here
92
91
93
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
92
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
94
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
93
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
95
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named("org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegate")).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
94
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
96
	}
95
	}
97
96
98
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
97
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
Lines 100-105 Link Here
100
		return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
99
		return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
101
	}
100
	}
102
101
102
	// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
103
	public void configureIgnoreCaseLinking(com.google.inject.Binder binder) {
104
		binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false);
105
	}
106
103
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
107
	// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
104
	public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
108
	public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
105
		return org.eclipse.xtext.naming.SimpleNameProvider.class;
109
		return org.eclipse.xtext.naming.SimpleNameProvider.class;
Lines 122-128 Link Here
122
126
123
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
127
	// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
124
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
128
	public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
125
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
129
		binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
126
	}
130
	}
127
131
128
	// contributed by org.eclipse.xtext.generator.formatting.FormatterFragment
132
	// contributed by org.eclipse.xtext.generator.formatting.FormatterFragment
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameterStandaloneSetupGenerated.java (-20 / +6 lines)
Lines 1-16 Link Here
1
/*****************************************************************************
2
 * Copyright (c) 2010 CEA LIST.
3
 *
4
 *    
5
 * All rights reserved. This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 *
10
 * Contributors:
11
 *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
12
 *
13
 *****************************************************************************/
14
1
15
package org.eclipse.papyrus.parameter.editor.xtext;
2
package org.eclipse.papyrus.parameter.editor.xtext;
16
3
Lines 34-55 Link Here
34
		register(injector);
21
		register(injector);
35
		return injector;
22
		return injector;
36
	}
23
	}
37
24
	
38
	public Injector createInjector() {
25
	public Injector createInjector() {
39
		return Guice.createInjector(new org.eclipse.papyrus.parameter.editor.xtext.UmlParameterRuntimeModule());
26
		return Guice.createInjector(new org.eclipse.papyrus.parameter.editor.xtext.UmlParameterRuntimeModule());
40
	}
27
	}
41
28
	
42
	public void register(Injector injector) {
29
	public void register(Injector injector) {
43
		if(!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/papyrus/parameter/editor/xtext/UmlParameter")) {
30
	if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/papyrus/parameter/editor/xtext/UmlParameter")) {
44
			EPackage.Registry.INSTANCE.put("http://www.eclipse.org/papyrus/parameter/editor/xtext/UmlParameter", org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage.eINSTANCE);
31
		EPackage.Registry.INSTANCE.put("http://www.eclipse.org/papyrus/parameter/editor/xtext/UmlParameter", org.eclipse.papyrus.parameter.editor.xtext.umlParameter.UmlParameterPackage.eINSTANCE);
45
		}
32
	}
46
33
47
		org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
34
		org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
48
		org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
35
		org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
49
		Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("umlparameter", resourceFactory);
36
		Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("umlparameter", resourceFactory);
50
		org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("umlparameter", serviceProvider);
37
		org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("umlparameter", serviceProvider);
51
38
		
52
53
39
54
40
55
41
(-)src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.genmodel (-26 / +26 lines)
Lines 6-43 Link Here
6
    modelPluginID="org.eclipse.papyrus.parameter.editor.xtext" forceOverwrite="true"
6
    modelPluginID="org.eclipse.papyrus.parameter.editor.xtext" forceOverwrite="true"
7
    modelName="UmlParameter" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
7
    modelName="UmlParameter" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.parameter.editor.xtext.edit"
8
    complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.parameter.editor.xtext.edit"
9
    editorPluginID="org.eclipse.papyrus.parameter.editor.xtext.editor" usedGenPackages="../../../../../../../../org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UMLCommon.genmodel#//umlCommon">
9
    editorPluginID="org.eclipse.papyrus.parameter.editor.xtext.editor" usedGenPackages="platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UMLCommon.genmodel#//umlCommon">
10
  <genPackages prefix="UmlParameter" basePackage="org.eclipse.papyrus.parameter.editor.xtext"
10
  <genPackages prefix="UmlParameter" basePackage="org.eclipse.papyrus.parameter.editor.xtext"
11
      resource="XML" disposableProviderFactory="true" ecorePackage="UmlParameter.ecore#/">
11
      resource="XML" disposableProviderFactory="true" ecorePackage="platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#/">
12
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="UmlParameter.ecore#//ModifierKind">
12
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ModifierKind">
13
      <genEnumLiterals ecoreEnumLiteral="UmlParameter.ecore#//ModifierKind/EXCEPTION"/>
13
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ModifierKind/EXCEPTION"/>
14
      <genEnumLiterals ecoreEnumLiteral="UmlParameter.ecore#//ModifierKind/STREAM"/>
14
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ModifierKind/STREAM"/>
15
      <genEnumLiterals ecoreEnumLiteral="UmlParameter.ecore#//ModifierKind/ORDERED"/>
15
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ModifierKind/ORDERED"/>
16
      <genEnumLiterals ecoreEnumLiteral="UmlParameter.ecore#//ModifierKind/UNIQUE"/>
16
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ModifierKind/UNIQUE"/>
17
    </genEnums>
17
    </genEnums>
18
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="UmlParameter.ecore#//EffectKind">
18
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//EffectKind">
19
      <genEnumLiterals ecoreEnumLiteral="UmlParameter.ecore#//EffectKind/CREATE"/>
19
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//EffectKind/CREATE"/>
20
      <genEnumLiterals ecoreEnumLiteral="UmlParameter.ecore#//EffectKind/READ"/>
20
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//EffectKind/READ"/>
21
      <genEnumLiterals ecoreEnumLiteral="UmlParameter.ecore#//EffectKind/UPDATE"/>
21
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//EffectKind/UPDATE"/>
22
      <genEnumLiterals ecoreEnumLiteral="UmlParameter.ecore#//EffectKind/DELETE"/>
22
      <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//EffectKind/DELETE"/>
23
    </genEnums>
23
    </genEnums>
24
    <genClasses ecoreClass="UmlParameter.ecore#//ParameterRule">
24
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ParameterRule">
25
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlParameter.ecore#//ParameterRule/visibility"/>
25
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ParameterRule/visibility"/>
26
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlParameter.ecore#//ParameterRule/direction"/>
26
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ParameterRule/direction"/>
27
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlParameter.ecore#//ParameterRule/name"/>
27
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ParameterRule/name"/>
28
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlParameter.ecore#//ParameterRule/type"/>
28
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ParameterRule/type"/>
29
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlParameter.ecore#//ParameterRule/multiplicity"/>
29
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ParameterRule/multiplicity"/>
30
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlParameter.ecore#//ParameterRule/modifiers"/>
30
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ParameterRule/modifiers"/>
31
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlParameter.ecore#//ParameterRule/effect"/>
31
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ParameterRule/effect"/>
32
    </genClasses>
32
    </genClasses>
33
    <genClasses ecoreClass="UmlParameter.ecore#//ModifiersRule">
33
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ModifiersRule">
34
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlParameter.ecore#//ModifiersRule/values"/>
34
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ModifiersRule/values"/>
35
    </genClasses>
35
    </genClasses>
36
    <genClasses ecoreClass="UmlParameter.ecore#//ModifierSpecification">
36
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ModifierSpecification">
37
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlParameter.ecore#//ModifierSpecification/value"/>
37
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//ModifierSpecification/value"/>
38
    </genClasses>
38
    </genClasses>
39
    <genClasses ecoreClass="UmlParameter.ecore#//EffectRule">
39
    <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//EffectRule">
40
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute UmlParameter.ecore#//EffectRule/effectKind"/>
40
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.parameter.editor.xtext/src-gen/org/eclipse/papyrus/parameter/editor/xtext/UmlParameter.ecore#//EffectRule/effectKind"/>
41
    </genClasses>
41
    </genClasses>
42
  </genPackages>
42
  </genPackages>
43
</genmodel:GenModel>
43
</genmodel:GenModel>

Return to bug 337289