diff options
Diffstat (limited to 'extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr')
7 files changed, 0 insertions, 15193 deletions
diff --git a/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/StereotypeApplicationWithVSLAntlrTokenFileProvider.java b/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/StereotypeApplicationWithVSLAntlrTokenFileProvider.java deleted file mode 100644 index 84ae702f6f1..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/StereotypeApplicationWithVSLAntlrTokenFileProvider.java +++ /dev/null @@ -1,25 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 CEA LIST. - * - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.parser.antlr; - -import java.io.InputStream; -import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; - -public class StereotypeApplicationWithVSLAntlrTokenFileProvider implements IAntlrTokenFileProvider { - - public InputStream getAntlrTokenFile() { - ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.tokens"); - } -} diff --git a/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/StereotypeApplicationWithVSLParser.java b/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/StereotypeApplicationWithVSLParser.java deleted file mode 100644 index dc9b5eba778..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/StereotypeApplicationWithVSLParser.java +++ /dev/null @@ -1,66 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 CEA LIST. - * - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.parser.antlr; - -import org.antlr.runtime.CharStream; -import org.antlr.runtime.TokenSource; -import org.eclipse.xtext.parser.IParseResult; -import org.eclipse.xtext.parser.ParseException; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; - -import com.google.inject.Inject; - -import org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.services.StereotypeApplicationWithVSLGrammarAccess; - -public class StereotypeApplicationWithVSLParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { - - @Inject - private StereotypeApplicationWithVSLGrammarAccess grammarAccess; - - @Override - protected IParseResult parse(String ruleName, CharStream in) { - TokenSource tokenSource = createLexer(in); - XtextTokenStream tokenStream = createTokenStream(tokenSource); - tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); - org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.parser.antlr.internal.InternalStereotypeApplicationWithVSLParser parser = createParser(tokenStream); - parser.setTokenTypeMap(getTokenDefProvider().getTokenDefMap()); - parser.setSyntaxErrorProvider(getSyntaxErrorProvider()); - parser.setUnorderedGroupHelper(getUnorderedGroupHelper().get()); - try { - if(ruleName != null) - return parser.parse(ruleName); - return parser.parse(); - } catch (Exception re) { - throw new ParseException(re.getMessage(),re); - } - } - - protected org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.parser.antlr.internal.InternalStereotypeApplicationWithVSLParser createParser(XtextTokenStream stream) { - return new org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.parser.antlr.internal.InternalStereotypeApplicationWithVSLParser(stream, getElementFactory(), getGrammarAccess()); - } - - @Override - protected String getDefaultRuleName() { - return "StereotypeApplicationsRule"; - } - - public StereotypeApplicationWithVSLGrammarAccess getGrammarAccess() { - return this.grammarAccess; - } - - public void setGrammarAccess(StereotypeApplicationWithVSLGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - -} diff --git a/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g b/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g deleted file mode 100644 index d75c1c4ae72..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g +++ /dev/null @@ -1,3570 +0,0 @@ -/* -* generated by Xtext -*/ -grammar InternalStereotypeApplicationWithVSL; - -options { - superClass=AbstractInternalAntlrParser; - -} - -@lexer::header { -package org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; -} - -@parser::header { -package org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.parser.antlr.internal; - -import java.io.InputStream; -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.xtext.parsetree.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; -import org.eclipse.xtext.conversion.ValueConverterException; -import org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.services.StereotypeApplicationWithVSLGrammarAccess; - -} - -@parser::members { - - private StereotypeApplicationWithVSLGrammarAccess grammarAccess; - - public InternalStereotypeApplicationWithVSLParser(TokenStream input, IAstFactory factory, StereotypeApplicationWithVSLGrammarAccess grammarAccess) { - this(input); - this.factory = factory; - registerRules(grammarAccess.getGrammar()); - this.grammarAccess = grammarAccess; - } - - @Override - protected InputStream getTokenFile() { - ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.tokens"); - } - - @Override - protected String getFirstRuleName() { - return "StereotypeApplicationsRule"; - } - - @Override - protected StereotypeApplicationWithVSLGrammarAccess getGrammarAccess() { - return grammarAccess; - } -} - -@rulecatch { - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } -} - - - - -// Entry rule entryRuleStereotypeApplicationsRule -entryRuleStereotypeApplicationsRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getStereotypeApplicationsRuleRule(), currentNode); } - iv_ruleStereotypeApplicationsRule=ruleStereotypeApplicationsRule - { $current=$iv_ruleStereotypeApplicationsRule.current; } - EOF -; - -// Rule StereotypeApplicationsRule -ruleStereotypeApplicationsRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - { - currentNode=createCompositeNode(grammarAccess.getStereotypeApplicationsRuleAccess().getStereotypeApplicationsStereotypeApplicationRuleParserRuleCall_0(), currentNode); - } - lv_stereotypeApplications_0_0=ruleStereotypeApplicationRule { - if ($current==null) { - $current = factory.create(grammarAccess.getStereotypeApplicationsRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "stereotypeApplications", - lv_stereotypeApplications_0_0, - "StereotypeApplicationRule", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)* -; - - - - - -// Entry rule entryRuleStereotypeApplicationRule -entryRuleStereotypeApplicationRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getStereotypeApplicationRuleRule(), currentNode); } - iv_ruleStereotypeApplicationRule=ruleStereotypeApplicationRule - { $current=$iv_ruleStereotypeApplicationRule.current; } - EOF -; - -// Rule StereotypeApplicationRule -ruleStereotypeApplicationRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( '<<' - { - createLeafNode(grammarAccess.getStereotypeApplicationRuleAccess().getLessThanSignLessThanSignKeyword_0(), null); - } -( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getStereotypeApplicationRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getStereotypeApplicationRuleAccess().getStereotypeStereotypeCrossReference_1_0(), "stereotype"); - } - -) -) '>>' - { - createLeafNode(grammarAccess.getStereotypeApplicationRuleAccess().getGreaterThanSignGreaterThanSignKeyword_2(), null); - } -(( -( - { - currentNode=createCompositeNode(grammarAccess.getStereotypeApplicationRuleAccess().getTagSpecificationTagSpecificationRuleParserRuleCall_3_0_0(), currentNode); - } - lv_tagSpecification_3_0=ruleTagSpecificationRule { - if ($current==null) { - $current = factory.create(grammarAccess.getStereotypeApplicationRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "tagSpecification", - lv_tagSpecification_3_0, - "TagSpecificationRule", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)( ',' - { - createLeafNode(grammarAccess.getStereotypeApplicationRuleAccess().getCommaKeyword_3_1_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getStereotypeApplicationRuleAccess().getTagSpecificationTagSpecificationRuleParserRuleCall_3_1_1_0(), currentNode); - } - lv_tagSpecification_5_0=ruleTagSpecificationRule { - if ($current==null) { - $current = factory.create(grammarAccess.getStereotypeApplicationRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "tagSpecification", - lv_tagSpecification_5_0, - "TagSpecificationRule", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))*)?) -; - - - - - -// Entry rule entryRuleTagSpecificationRule -entryRuleTagSpecificationRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getTagSpecificationRuleRule(), currentNode); } - iv_ruleTagSpecificationRule=ruleTagSpecificationRule - { $current=$iv_ruleTagSpecificationRule.current; } - EOF -; - -// Rule TagSpecificationRule -ruleTagSpecificationRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getTagSpecificationRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getTagSpecificationRuleAccess().getPropertyPropertyCrossReference_0_0(), "property"); - } - -) -)( -( - { - currentNode=createCompositeNode(grammarAccess.getTagSpecificationRuleAccess().getValueExpressionValueRuleParserRuleCall_1_0(), currentNode); - } - lv_value_1_0=ruleExpressionValueRule { - if ($current==null) { - $current = factory.create(grammarAccess.getTagSpecificationRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "value", - lv_value_1_0, - "ExpressionValueRule", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)) -; - - - - - -// Entry rule entryRuleExpressionValueRule -entryRuleExpressionValueRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getExpressionValueRuleRule(), currentNode); } - iv_ruleExpressionValueRule=ruleExpressionValueRule - { $current=$iv_ruleExpressionValueRule.current; } - EOF -; - -// Rule ExpressionValueRule -ruleExpressionValueRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( '=' - { - createLeafNode(grammarAccess.getExpressionValueRuleAccess().getEqualsSignKeyword_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getExpressionValueRuleAccess().getExpressionExpressionParserRuleCall_1_0(), currentNode); - } - lv_expression_1_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getExpressionValueRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "expression", - lv_expression_1_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)) -; - - - - - -// Entry rule entryRuleExpression -entryRuleExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getExpressionRule(), currentNode); } - iv_ruleExpression=ruleExpression - { $current=$iv_ruleExpression.current; } - EOF -; - -// Rule Expression -ruleExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - { - currentNode=createCompositeNode(grammarAccess.getExpressionAccess().getExpAndOrXorExpressionParserRuleCall_0(), currentNode); - } - lv_exp_0_0=ruleAndOrXorExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "exp", - lv_exp_0_0, - "AndOrXorExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) -; - - - - - -// Entry rule entryRuleAndOrXorExpression -entryRuleAndOrXorExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getAndOrXorExpressionRule(), currentNode); } - iv_ruleAndOrXorExpression=ruleAndOrXorExpression - { $current=$iv_ruleAndOrXorExpression.current; } - EOF -; - -// Rule AndOrXorExpression -ruleAndOrXorExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getAndOrXorExpressionAccess().getExpEqualityExpressionParserRuleCall_0_0(), currentNode); - } - lv_exp_0_0=ruleEqualityExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_0_0, - "EqualityExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)(( -( -( - lv_op_1_1= 'and' - { - createLeafNode(grammarAccess.getAndOrXorExpressionAccess().getOpAndKeyword_1_0_0_0(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_2= 'or' - { - createLeafNode(grammarAccess.getAndOrXorExpressionAccess().getOpOrKeyword_1_0_0_1(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_3= 'xor' - { - createLeafNode(grammarAccess.getAndOrXorExpressionAccess().getOpXorKeyword_1_0_0_2(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_3, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) - -) -)( -( - { - currentNode=createCompositeNode(grammarAccess.getAndOrXorExpressionAccess().getExpEqualityExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_exp_2_0=ruleEqualityExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_2_0, - "EqualityExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))*) -; - - - - - -// Entry rule entryRuleEqualityExpression -entryRuleEqualityExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getEqualityExpressionRule(), currentNode); } - iv_ruleEqualityExpression=ruleEqualityExpression - { $current=$iv_ruleEqualityExpression.current; } - EOF -; - -// Rule EqualityExpression -ruleEqualityExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpRelationalExpressionParserRuleCall_0_0(), currentNode); - } - lv_exp_0_0=ruleRelationalExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getEqualityExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_0_0, - "RelationalExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)(( -( -( - lv_op_1_1= '==' - { - createLeafNode(grammarAccess.getEqualityExpressionAccess().getOpEqualsSignEqualsSignKeyword_1_0_0_0(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getEqualityExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_2= '<>' - { - createLeafNode(grammarAccess.getEqualityExpressionAccess().getOpLessThanSignGreaterThanSignKeyword_1_0_0_1(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getEqualityExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) - -) -)( -( - { - currentNode=createCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpRelationalExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_exp_2_0=ruleRelationalExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getEqualityExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_2_0, - "RelationalExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))*) -; - - - - - -// Entry rule entryRuleRelationalExpression -entryRuleRelationalExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getRelationalExpressionRule(), currentNode); } - iv_ruleRelationalExpression=ruleRelationalExpression - { $current=$iv_ruleRelationalExpression.current; } - EOF -; - -// Rule RelationalExpression -ruleRelationalExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getRelationalExpressionAccess().getExpConditionalExpressionParserRuleCall_0_0(), currentNode); - } - lv_exp_0_0=ruleConditionalExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_0_0, - "ConditionalExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)(( -( -( - lv_op_1_1= '<' - { - createLeafNode(grammarAccess.getRelationalExpressionAccess().getOpLessThanSignKeyword_1_0_0_0(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_2= '>' - { - createLeafNode(grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignKeyword_1_0_0_1(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_3= '<=' - { - createLeafNode(grammarAccess.getRelationalExpressionAccess().getOpLessThanSignEqualsSignKeyword_1_0_0_2(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_3, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_4= '>=' - { - createLeafNode(grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignEqualsSignKeyword_1_0_0_3(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_4, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) - -) -)( -( - { - currentNode=createCompositeNode(grammarAccess.getRelationalExpressionAccess().getExpConditionalExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_exp_2_0=ruleConditionalExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_2_0, - "ConditionalExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))*) -; - - - - - -// Entry rule entryRuleConditionalExpression -entryRuleConditionalExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getConditionalExpressionRule(), currentNode); } - iv_ruleConditionalExpression=ruleConditionalExpression - { $current=$iv_ruleConditionalExpression.current; } - EOF -; - -// Rule ConditionalExpression -ruleConditionalExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_0_0(), currentNode); - } - lv_exp_0_0=ruleAdditiveExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getConditionalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_0_0, - "AdditiveExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)(( -( - lv_op_1_0= '?' - { - createLeafNode(grammarAccess.getConditionalExpressionAccess().getOpQuestionMarkKeyword_1_0_0(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getConditionalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_0, "?", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -)( -( - { - currentNode=createCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_exp_2_0=ruleAdditiveExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getConditionalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_2_0, - "AdditiveExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) ':' - { - createLeafNode(grammarAccess.getConditionalExpressionAccess().getColonKeyword_1_2(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_3_0(), currentNode); - } - lv_exp_4_0=ruleAdditiveExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getConditionalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_4_0, - "AdditiveExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))?) -; - - - - - -// Entry rule entryRuleAdditiveExpression -entryRuleAdditiveExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getAdditiveExpressionRule(), currentNode); } - iv_ruleAdditiveExpression=ruleAdditiveExpression - { $current=$iv_ruleAdditiveExpression.current; } - EOF -; - -// Rule AdditiveExpression -ruleAdditiveExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_0_0(), currentNode); - } - lv_exp_0_0=ruleMultiplicativeExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getAdditiveExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_0_0, - "MultiplicativeExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)(( -( -( - lv_op_1_1= '+' - { - createLeafNode(grammarAccess.getAdditiveExpressionAccess().getOpPlusSignKeyword_1_0_0_0(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getAdditiveExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_2= '-' - { - createLeafNode(grammarAccess.getAdditiveExpressionAccess().getOpHyphenMinusKeyword_1_0_0_1(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getAdditiveExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) - -) -)( -( - { - currentNode=createCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_exp_2_0=ruleMultiplicativeExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getAdditiveExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_2_0, - "MultiplicativeExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))*) -; - - - - - -// Entry rule entryRuleMultiplicativeExpression -entryRuleMultiplicativeExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getMultiplicativeExpressionRule(), currentNode); } - iv_ruleMultiplicativeExpression=ruleMultiplicativeExpression - { $current=$iv_ruleMultiplicativeExpression.current; } - EOF -; - -// Rule MultiplicativeExpression -ruleMultiplicativeExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_0_0(), currentNode); - } - lv_exp_0_0=ruleUnaryExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_0_0, - "UnaryExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)(( -( -( - lv_op_1_1= '*' - { - createLeafNode(grammarAccess.getMultiplicativeExpressionAccess().getOpAsteriskKeyword_1_0_0_0(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_2= '/' - { - createLeafNode(grammarAccess.getMultiplicativeExpressionAccess().getOpSolidusKeyword_1_0_0_1(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_3= 'mod' - { - createLeafNode(grammarAccess.getMultiplicativeExpressionAccess().getOpModKeyword_1_0_0_2(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_3, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) - -) -)( -( - { - currentNode=createCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_exp_2_0=ruleUnaryExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_2_0, - "UnaryExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))*) -; - - - - - -// Entry rule entryRuleUnaryExpression -entryRuleUnaryExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getUnaryExpressionRule(), currentNode); } - iv_ruleUnaryExpression=ruleUnaryExpression - { $current=$iv_ruleUnaryExpression.current; } - EOF -; - -// Rule UnaryExpression -ruleUnaryExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -((( -( -( - lv_op_0_1= 'not' - { - createLeafNode(grammarAccess.getUnaryExpressionAccess().getOpNotKeyword_0_0_0_0(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "op", lv_op_0_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_0_2= '-' - { - createLeafNode(grammarAccess.getUnaryExpressionAccess().getOpHyphenMinusKeyword_0_0_0_1(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "op", lv_op_0_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_0_3= '+' - { - createLeafNode(grammarAccess.getUnaryExpressionAccess().getOpPlusSignKeyword_0_0_0_2(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "op", lv_op_0_3, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) - -) -)( -( - { - currentNode=createCompositeNode(grammarAccess.getUnaryExpressionAccess().getUnaryUnaryExpressionParserRuleCall_0_1_0(), currentNode); - } - lv_unary_1_0=ruleUnaryExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "unary", - lv_unary_1_0, - "UnaryExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)) - |( -( - { - currentNode=createCompositeNode(grammarAccess.getUnaryExpressionAccess().getExpPrimaryExpressionParserRuleCall_1_0(), currentNode); - } - lv_exp_2_0=rulePrimaryExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "exp", - lv_exp_2_0, - "PrimaryExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)) -; - - - - - -// Entry rule entryRulePrimaryExpression -entryRulePrimaryExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getPrimaryExpressionRule(), currentNode); } - iv_rulePrimaryExpression=rulePrimaryExpression - { $current=$iv_rulePrimaryExpression.current; } - EOF -; - -// Rule PrimaryExpression -rulePrimaryExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getPrimaryExpressionAccess().getPrefixValueSpecificationParserRuleCall_0_0(), currentNode); - } - lv_prefix_0_0=ruleValueSpecification { - if ($current==null) { - $current = factory.create(grammarAccess.getPrimaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "prefix", - lv_prefix_0_0, - "ValueSpecification", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)( '.' - { - createLeafNode(grammarAccess.getPrimaryExpressionAccess().getFullStopKeyword_1_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getPrimaryExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_suffix_2_0=ruleSuffixExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getPrimaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "suffix", - lv_suffix_2_0, - "SuffixExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))?) -; - - - - - -// Entry rule entryRuleValueSpecification -entryRuleValueSpecification returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getValueSpecificationRule(), currentNode); } - iv_ruleValueSpecification=ruleValueSpecification - { $current=$iv_ruleValueSpecification.current; } - EOF -; - -// Rule ValueSpecification -ruleValueSpecification returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( - { - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getLiteralParserRuleCall_0(), currentNode); - } - this_Literal_0=ruleLiteral - { - $current = $this_Literal_0.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getNameOrChoiceOrBehaviorCallParserRuleCall_1(), currentNode); - } - this_NameOrChoiceOrBehaviorCall_1=ruleNameOrChoiceOrBehaviorCall - { - $current = $this_NameOrChoiceOrBehaviorCall_1.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getIntervalParserRuleCall_2(), currentNode); - } - this_Interval_2=ruleInterval - { - $current = $this_Interval_2.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getCollectionOrTupleParserRuleCall_3(), currentNode); - } - this_CollectionOrTuple_3=ruleCollectionOrTuple - { - $current = $this_CollectionOrTuple_3.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getTupleParserRuleCall_4(), currentNode); - } - this_Tuple_4=ruleTuple - { - $current = $this_Tuple_4.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getTimeExpressionParserRuleCall_5(), currentNode); - } - this_TimeExpression_5=ruleTimeExpression - { - $current = $this_TimeExpression_5.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getVariableDeclarationParserRuleCall_6(), currentNode); - } - this_VariableDeclaration_6=ruleVariableDeclaration - { - $current = $this_VariableDeclaration_6.current; - currentNode = currentNode.getParent(); - } - - |( '(' - { - createLeafNode(grammarAccess.getValueSpecificationAccess().getLeftParenthesisKeyword_7_0(), null); - } - - { - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getExpressionParserRuleCall_7_1(), currentNode); - } - this_Expression_8=ruleExpression - { - $current = $this_Expression_8.current; - currentNode = currentNode.getParent(); - } - ')' - { - createLeafNode(grammarAccess.getValueSpecificationAccess().getRightParenthesisKeyword_7_2(), null); - } -)) -; - - - - - -// Entry rule entryRuleSuffixExpression -entryRuleSuffixExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getSuffixExpressionRule(), currentNode); } - iv_ruleSuffixExpression=ruleSuffixExpression - { $current=$iv_ruleSuffixExpression.current; } - EOF -; - -// Rule SuffixExpression -ruleSuffixExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( - { - currentNode=createCompositeNode(grammarAccess.getSuffixExpressionAccess().getPropertyCallExpressionParserRuleCall_0(), currentNode); - } - this_PropertyCallExpression_0=rulePropertyCallExpression - { - $current = $this_PropertyCallExpression_0.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getSuffixExpressionAccess().getOperationCallExpressionParserRuleCall_1(), currentNode); - } - this_OperationCallExpression_1=ruleOperationCallExpression - { - $current = $this_OperationCallExpression_1.current; - currentNode = currentNode.getParent(); - } -) -; - - - - - -// Entry rule entryRulePropertyCallExpression -entryRulePropertyCallExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getPropertyCallExpressionRule(), currentNode); } - iv_rulePropertyCallExpression=rulePropertyCallExpression - { $current=$iv_rulePropertyCallExpression.current; } - EOF -; - -// Rule PropertyCallExpression -rulePropertyCallExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getPropertyCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getPropertyCallExpressionAccess().getPropertyPropertyCrossReference_0_0(), "property"); - } - -) -)( '.' - { - createLeafNode(grammarAccess.getPropertyCallExpressionAccess().getFullStopKeyword_1_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getPropertyCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_suffix_2_0=ruleSuffixExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getPropertyCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "suffix", - lv_suffix_2_0, - "SuffixExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))?) -; - - - - - -// Entry rule entryRuleOperationCallExpression -entryRuleOperationCallExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getOperationCallExpressionRule(), currentNode); } - iv_ruleOperationCallExpression=ruleOperationCallExpression - { $current=$iv_ruleOperationCallExpression.current; } - EOF -; - -// Rule OperationCallExpression -ruleOperationCallExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getOperationCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getOperationCallExpressionAccess().getOperationOperationCrossReference_0_0(), "operation"); - } - -) -) '(' - { - createLeafNode(grammarAccess.getOperationCallExpressionAccess().getLeftParenthesisKeyword_1(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getOperationCallExpressionAccess().getArgumentsListOfValuesParserRuleCall_2_0(), currentNode); - } - lv_arguments_2_0=ruleListOfValues { - if ($current==null) { - $current = factory.create(grammarAccess.getOperationCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "arguments", - lv_arguments_2_0, - "ListOfValues", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)? ')' - { - createLeafNode(grammarAccess.getOperationCallExpressionAccess().getRightParenthesisKeyword_3(), null); - } -( '.' - { - createLeafNode(grammarAccess.getOperationCallExpressionAccess().getFullStopKeyword_4_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getOperationCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_4_1_0(), currentNode); - } - lv_suffix_5_0=ruleSuffixExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getOperationCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "suffix", - lv_suffix_5_0, - "SuffixExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))?) -; - - - - - -// Entry rule entryRuleLiteral -entryRuleLiteral returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getLiteralRule(), currentNode); } - iv_ruleLiteral=ruleLiteral - { $current=$iv_ruleLiteral.current; } - EOF -; - -// Rule Literal -ruleLiteral returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( - { - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralRuleParserRuleCall_0(), currentNode); - } - this_NumberLiteralRule_0=ruleNumberLiteralRule - { - $current = $this_NumberLiteralRule_0.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getDateTimeLiteralRuleParserRuleCall_1(), currentNode); - } - this_DateTimeLiteralRule_1=ruleDateTimeLiteralRule - { - $current = $this_DateTimeLiteralRule_1.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralRuleParserRuleCall_2(), currentNode); - } - this_BooleanLiteralRule_2=ruleBooleanLiteralRule - { - $current = $this_BooleanLiteralRule_2.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getNullLiteralRuleParserRuleCall_3(), currentNode); - } - this_NullLiteralRule_3=ruleNullLiteralRule - { - $current = $this_NullLiteralRule_3.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getDefaultLiteralRuleParserRuleCall_4(), currentNode); - } - this_DefaultLiteralRule_4=ruleDefaultLiteralRule - { - $current = $this_DefaultLiteralRule_4.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralRuleParserRuleCall_5(), currentNode); - } - this_StringLiteralRule_5=ruleStringLiteralRule - { - $current = $this_StringLiteralRule_5.current; - currentNode = currentNode.getParent(); - } -) -; - - - - - -// Entry rule entryRuleNameOrChoiceOrBehaviorCall -entryRuleNameOrChoiceOrBehaviorCall returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallRule(), currentNode); } - iv_ruleNameOrChoiceOrBehaviorCall=ruleNameOrChoiceOrBehaviorCall - { $current=$iv_ruleNameOrChoiceOrBehaviorCall.current; } - EOF -; - -// Rule NameOrChoiceOrBehaviorCall -ruleNameOrChoiceOrBehaviorCall returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); - } - lv_path_0_0=ruleQualifiedName { - if ($current==null) { - $current = factory.create(grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "path", - lv_path_0_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)?( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getIdNamedElementCrossReference_1_0(), "id"); - } - -) -)( '(' - { - createLeafNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getLeftParenthesisKeyword_2_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getArgumentsListOfValuesParserRuleCall_2_1_0(), currentNode); - } - lv_arguments_3_0=ruleListOfValues { - if ($current==null) { - $current = factory.create(grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "arguments", - lv_arguments_3_0, - "ListOfValues", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)? ')' - { - createLeafNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getRightParenthesisKeyword_2_2(), null); - } -)?) -; - - - - - -// Entry rule entryRuleQualifiedName -entryRuleQualifiedName returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getQualifiedNameRule(), currentNode); } - iv_ruleQualifiedName=ruleQualifiedName - { $current=$iv_ruleQualifiedName.current; } - EOF -; - -// Rule QualifiedName -ruleQualifiedName returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(), "path"); - } - -) -) '::' - { - createLeafNode(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(), currentNode); - } - lv_remaining_2_0=ruleQualifiedName { - if ($current==null) { - $current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "remaining", - lv_remaining_2_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)?) -; - - - - - -// Entry rule entryRuleInterval -entryRuleInterval returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getIntervalRule(), currentNode); } - iv_ruleInterval=ruleInterval - { $current=$iv_ruleInterval.current; } - EOF -; - -// Rule Interval -ruleInterval returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( ']' - { - createLeafNode(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_0_0(), null); - } - - |( -( - lv_isLowerIncluded_1_0= '[' - { - createLeafNode(grammarAccess.getIntervalAccess().getIsLowerIncludedLeftSquareBracketKeyword_0_1_0(), "isLowerIncluded"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getIntervalRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "isLowerIncluded", lv_isLowerIncluded_1_0, "[", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -))( -( - { - currentNode=createCompositeNode(grammarAccess.getIntervalAccess().getLowerExpressionParserRuleCall_1_0(), currentNode); - } - lv_lower_2_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getIntervalRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "lower", - lv_lower_2_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) '..' - { - createLeafNode(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getIntervalAccess().getUpperExpressionParserRuleCall_3_0(), currentNode); - } - lv_upper_4_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getIntervalRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "upper", - lv_upper_4_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)(( -( - lv_isUpperIncluded_5_0= ']' - { - createLeafNode(grammarAccess.getIntervalAccess().getIsUpperIncludedRightSquareBracketKeyword_4_0_0(), "isUpperIncluded"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getIntervalRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "isUpperIncluded", lv_isUpperIncluded_5_0, "]", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) - | '[' - { - createLeafNode(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_4_1(), null); - } -)) -; - - - - - -// Entry rule entryRuleCollectionOrTuple -entryRuleCollectionOrTuple returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getCollectionOrTupleRule(), currentNode); } - iv_ruleCollectionOrTuple=ruleCollectionOrTuple - { $current=$iv_ruleCollectionOrTuple.current; } - EOF -; - -// Rule CollectionOrTuple -ruleCollectionOrTuple returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( '{' - { - createLeafNode(grammarAccess.getCollectionOrTupleAccess().getLeftCurlyBracketKeyword_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getCollectionOrTupleAccess().getListOfValuesListOfValuesParserRuleCall_1_0(), currentNode); - } - lv_listOfValues_1_0=ruleListOfValues { - if ($current==null) { - $current = factory.create(grammarAccess.getCollectionOrTupleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "listOfValues", - lv_listOfValues_1_0, - "ListOfValues", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) '}' - { - createLeafNode(grammarAccess.getCollectionOrTupleAccess().getRightCurlyBracketKeyword_2(), null); - } -) -; - - - - - -// Entry rule entryRuleTuple -entryRuleTuple returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getTupleRule(), currentNode); } - iv_ruleTuple=ruleTuple - { $current=$iv_ruleTuple.current; } - EOF -; - -// Rule Tuple -ruleTuple returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( '{' - { - createLeafNode(grammarAccess.getTupleAccess().getLeftCurlyBracketKeyword_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getTupleAccess().getListOfValueNamePairsListOfValueNamePairsParserRuleCall_1_0(), currentNode); - } - lv_listOfValueNamePairs_1_0=ruleListOfValueNamePairs { - if ($current==null) { - $current = factory.create(grammarAccess.getTupleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "listOfValueNamePairs", - lv_listOfValueNamePairs_1_0, - "ListOfValueNamePairs", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) '}' - { - createLeafNode(grammarAccess.getTupleAccess().getRightCurlyBracketKeyword_2(), null); - } -) -; - - - - - -// Entry rule entryRuleListOfValues -entryRuleListOfValues returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getListOfValuesRule(), currentNode); } - iv_ruleListOfValues=ruleListOfValues - { $current=$iv_ruleListOfValues.current; } - EOF -; - -// Rule ListOfValues -ruleListOfValues returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getListOfValuesAccess().getValuesExpressionParserRuleCall_0_0(), currentNode); - } - lv_values_0_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getListOfValuesRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "values", - lv_values_0_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)( ',' - { - createLeafNode(grammarAccess.getListOfValuesAccess().getCommaKeyword_1_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getListOfValuesAccess().getValuesExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_values_2_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getListOfValuesRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "values", - lv_values_2_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))*) -; - - - - - -// Entry rule entryRuleListOfValueNamePairs -entryRuleListOfValueNamePairs returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getListOfValueNamePairsRule(), currentNode); } - iv_ruleListOfValueNamePairs=ruleListOfValueNamePairs - { $current=$iv_ruleListOfValueNamePairs.current; } - EOF -; - -// Rule ListOfValueNamePairs -ruleListOfValueNamePairs returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsValueNamePairParserRuleCall_0_0(), currentNode); - } - lv_valueNamePairs_0_0=ruleValueNamePair { - if ($current==null) { - $current = factory.create(grammarAccess.getListOfValueNamePairsRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "valueNamePairs", - lv_valueNamePairs_0_0, - "ValueNamePair", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)( ',' - { - createLeafNode(grammarAccess.getListOfValueNamePairsAccess().getCommaKeyword_1_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsValueNamePairParserRuleCall_1_1_0(), currentNode); - } - lv_valueNamePairs_2_0=ruleValueNamePair { - if ($current==null) { - $current = factory.create(grammarAccess.getListOfValueNamePairsRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "valueNamePairs", - lv_valueNamePairs_2_0, - "ValueNamePair", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))*) -; - - - - - -// Entry rule entryRuleValueNamePair -entryRuleValueNamePair returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getValueNamePairRule(), currentNode); } - iv_ruleValueNamePair=ruleValueNamePair - { $current=$iv_ruleValueNamePair.current; } - EOF -; - -// Rule ValueNamePair -ruleValueNamePair returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getValueNamePairRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getValueNamePairAccess().getPropertyPropertyCrossReference_0_0(), "property"); - } - -) -) '=' - { - createLeafNode(grammarAccess.getValueNamePairAccess().getEqualsSignKeyword_1(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getValueNamePairAccess().getValueExpressionParserRuleCall_2_0(), currentNode); - } - lv_value_2_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getValueNamePairRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "value", - lv_value_2_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)) -; - - - - - -// Entry rule entryRuleTimeExpression -entryRuleTimeExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getTimeExpressionRule(), currentNode); } - iv_ruleTimeExpression=ruleTimeExpression - { $current=$iv_ruleTimeExpression.current; } - EOF -; - -// Rule TimeExpression -ruleTimeExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( - { - currentNode=createCompositeNode(grammarAccess.getTimeExpressionAccess().getInstantObsExpressionParserRuleCall_0(), currentNode); - } - this_InstantObsExpression_0=ruleInstantObsExpression - { - $current = $this_InstantObsExpression_0.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getTimeExpressionAccess().getDurationObsExpressionParserRuleCall_1(), currentNode); - } - this_DurationObsExpression_1=ruleDurationObsExpression - { - $current = $this_DurationObsExpression_1.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getTimeExpressionAccess().getJitterExpParserRuleCall_2(), currentNode); - } - this_JitterExp_2=ruleJitterExp - { - $current = $this_JitterExp_2.current; - currentNode = currentNode.getParent(); - } -) -; - - - - - -// Entry rule entryRuleInstantObsExpression -entryRuleInstantObsExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getInstantObsExpressionRule(), currentNode); } - iv_ruleInstantObsExpression=ruleInstantObsExpression - { $current=$iv_ruleInstantObsExpression.current; } - EOF -; - -// Rule InstantObsExpression -ruleInstantObsExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( '@' - { - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getCommercialAtKeyword_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getInstantObsExpressionAccess().getIdInstantObsNameParserRuleCall_1_0(), currentNode); - } - lv_id_1_0=ruleInstantObsName { - if ($current==null) { - $current = factory.create(grammarAccess.getInstantObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "id", - lv_id_1_0, - "InstantObsName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)( '(' - { - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getLeftParenthesisKeyword_2_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getInstantObsExpressionAccess().getIndexExpressionParserRuleCall_2_1_0(), currentNode); - } - lv_index_3_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getInstantObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "index", - lv_index_3_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) ')' - { - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getRightParenthesisKeyword_2_2(), null); - } -)?( 'when' - { - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getWhenKeyword_3_0(), null); - } - '(' - { - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getLeftParenthesisKeyword_3_1(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getInstantObsExpressionAccess().getConditionExpressionParserRuleCall_3_2_0(), currentNode); - } - lv_condition_7_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getInstantObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "condition", - lv_condition_7_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) ')' - { - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getRightParenthesisKeyword_3_3(), null); - } -)?) -; - - - - - -// Entry rule entryRuleInstantObsName -entryRuleInstantObsName returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getInstantObsNameRule(), currentNode); } - iv_ruleInstantObsName=ruleInstantObsName - { $current=$iv_ruleInstantObsName.current; } - EOF -; - -// Rule InstantObsName -ruleInstantObsName returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getInstantObsNameAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); - } - lv_path_0_0=ruleQualifiedName { - if ($current==null) { - $current = factory.create(grammarAccess.getInstantObsNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "path", - lv_path_0_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)?( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getInstantObsNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getInstantObsNameAccess().getInstantIdTimeObservationCrossReference_1_0(), "instantId"); - } - -) -)) -; - - - - - -// Entry rule entryRuleDurationObsExpression -entryRuleDurationObsExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getDurationObsExpressionRule(), currentNode); } - iv_ruleDurationObsExpression=ruleDurationObsExpression - { $current=$iv_ruleDurationObsExpression.current; } - EOF -; - -// Rule DurationObsExpression -ruleDurationObsExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( '&' - { - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getAmpersandKeyword_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getDurationObsExpressionAccess().getIdDurationObsNameParserRuleCall_1_0(), currentNode); - } - lv_id_1_0=ruleDurationObsName { - if ($current==null) { - $current = factory.create(grammarAccess.getDurationObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "id", - lv_id_1_0, - "DurationObsName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)( '(' - { - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getLeftParenthesisKeyword_2_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getDurationObsExpressionAccess().getIndexExpressionParserRuleCall_2_1_0(), currentNode); - } - lv_index_3_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getDurationObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "index", - lv_index_3_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) ')' - { - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getRightParenthesisKeyword_2_2(), null); - } -)?( 'when' - { - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getWhenKeyword_3_0(), null); - } - '(' - { - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getLeftParenthesisKeyword_3_1(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getDurationObsExpressionAccess().getConditionExpressionParserRuleCall_3_2_0(), currentNode); - } - lv_condition_7_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getDurationObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "condition", - lv_condition_7_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) ')' - { - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getRightParenthesisKeyword_3_3(), null); - } -)?) -; - - - - - -// Entry rule entryRuleDurationObsName -entryRuleDurationObsName returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getDurationObsNameRule(), currentNode); } - iv_ruleDurationObsName=ruleDurationObsName - { $current=$iv_ruleDurationObsName.current; } - EOF -; - -// Rule DurationObsName -ruleDurationObsName returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getDurationObsNameAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); - } - lv_path_0_0=ruleQualifiedName { - if ($current==null) { - $current = factory.create(grammarAccess.getDurationObsNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "path", - lv_path_0_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)?( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getDurationObsNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getDurationObsNameAccess().getDurationIdDurationObservationCrossReference_1_0(), "durationId"); - } - -) -)) -; - - - - - -// Entry rule entryRuleJitterExp -entryRuleJitterExp returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getJitterExpRule(), currentNode); } - iv_ruleJitterExp=ruleJitterExp - { $current=$iv_ruleJitterExp.current; } - EOF -; - -// Rule JitterExp -ruleJitterExp returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( 'jitter(' - { - createLeafNode(grammarAccess.getJitterExpAccess().getJitterKeyword_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getJitterExpAccess().getFirstInstantInstantObsExpressionParserRuleCall_1_0(), currentNode); - } - lv_firstInstant_1_0=ruleInstantObsExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getJitterExpRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "firstInstant", - lv_firstInstant_1_0, - "InstantObsExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)( '-' - { - createLeafNode(grammarAccess.getJitterExpAccess().getHyphenMinusKeyword_2_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getJitterExpAccess().getSecondInstantInstantObsExpressionParserRuleCall_2_1_0(), currentNode); - } - lv_secondInstant_3_0=ruleInstantObsExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getJitterExpRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "secondInstant", - lv_secondInstant_3_0, - "InstantObsExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))? ')' - { - createLeafNode(grammarAccess.getJitterExpAccess().getRightParenthesisKeyword_3(), null); - } -) -; - - - - - -// Entry rule entryRuleVariableDeclaration -entryRuleVariableDeclaration returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getVariableDeclarationRule(), currentNode); } - iv_ruleVariableDeclaration=ruleVariableDeclaration - { $current=$iv_ruleVariableDeclaration.current; } - EOF -; - -// Rule VariableDeclaration -ruleVariableDeclaration returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getVariableDeclarationVariableDirectionKindParserRuleCall_0_0(), currentNode); - } - lv_variableDeclaration_0_0=ruleVariableDirectionKind { - if ($current==null) { - $current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "variableDeclaration", - lv_variableDeclaration_0_0, - "VariableDirectionKind", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)? '$' - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getDollarSignKeyword_1(), null); - } -( -( - lv_name_2_0=RULE_ID - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getNameIDTerminalRuleCall_2_0(), "name"); - } - { - if ($current==null) { - $current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "name", - lv_name_2_0, - "ID", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -)(( ':' - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getColonKeyword_3_0_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getTypeDataTypeNameParserRuleCall_3_0_1_0(), currentNode); - } - lv_type_4_0=ruleDataTypeName { - if ($current==null) { - $current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "type", - lv_type_4_0, - "DataTypeName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)( '=' - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_3_0_2_0(), null); - } - '(' - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getLeftParenthesisKeyword_3_0_2_1(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getInitValueExpressionParserRuleCall_3_0_2_2_0(), currentNode); - } - lv_initValue_7_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "initValue", - lv_initValue_7_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) ')' - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getRightParenthesisKeyword_3_0_2_3(), null); - } -)?) - |( '=' - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_3_1_0(), null); - } - '(' - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getLeftParenthesisKeyword_3_1_1(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getInitValueExpressionParserRuleCall_3_1_2_0(), currentNode); - } - lv_initValue_11_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "initValue", - lv_initValue_11_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) ')' - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getRightParenthesisKeyword_3_1_3(), null); - } -))) -; - - - - - -// Entry rule entryRuleVariableDirectionKind -entryRuleVariableDirectionKind returns [String current=null] - : - { currentNode = createCompositeNode(grammarAccess.getVariableDirectionKindRule(), currentNode); } - iv_ruleVariableDirectionKind=ruleVariableDirectionKind - { $current=$iv_ruleVariableDirectionKind.current.getText(); } - EOF -; - -// Rule VariableDirectionKind -ruleVariableDirectionKind returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( - kw='in' - { - $current.merge(kw); - createLeafNode(grammarAccess.getVariableDirectionKindAccess().getInKeyword_0(), null); - } - - | - kw='out' - { - $current.merge(kw); - createLeafNode(grammarAccess.getVariableDirectionKindAccess().getOutKeyword_1(), null); - } - - | - kw='inout' - { - $current.merge(kw); - createLeafNode(grammarAccess.getVariableDirectionKindAccess().getInoutKeyword_2(), null); - } -) - ; - - - - - -// Entry rule entryRuleDataTypeName -entryRuleDataTypeName returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getDataTypeNameRule(), currentNode); } - iv_ruleDataTypeName=ruleDataTypeName - { $current=$iv_ruleDataTypeName.current; } - EOF -; - -// Rule DataTypeName -ruleDataTypeName returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getDataTypeNameAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); - } - lv_path_0_0=ruleQualifiedName { - if ($current==null) { - $current = factory.create(grammarAccess.getDataTypeNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "path", - lv_path_0_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)?( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getDataTypeNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getDataTypeNameAccess().getTypeDataTypeCrossReference_1_0(), "type"); - } - -) -)) -; - - - - - -// Entry rule entryRuleNumberLiteralRule -entryRuleNumberLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getNumberLiteralRuleRule(), currentNode); } - iv_ruleNumberLiteralRule=ruleNumberLiteralRule - { $current=$iv_ruleNumberLiteralRule.current; } - EOF -; - -// Rule NumberLiteralRule -ruleNumberLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( - { - currentNode=createCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getIntegerLiteralRuleParserRuleCall_0(), currentNode); - } - this_IntegerLiteralRule_0=ruleIntegerLiteralRule - { - $current = $this_IntegerLiteralRule_0.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getUnlimitedLiteralRuleParserRuleCall_1(), currentNode); - } - this_UnlimitedLiteralRule_1=ruleUnlimitedLiteralRule - { - $current = $this_UnlimitedLiteralRule_1.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getRealLiteralRuleParserRuleCall_2(), currentNode); - } - this_RealLiteralRule_2=ruleRealLiteralRule - { - $current = $this_RealLiteralRule_2.current; - currentNode = currentNode.getParent(); - } -) -; - - - - - -// Entry rule entryRuleIntegerLiteralRule -entryRuleIntegerLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getIntegerLiteralRuleRule(), currentNode); } - iv_ruleIntegerLiteralRule=ruleIntegerLiteralRule - { $current=$iv_ruleIntegerLiteralRule.current; } - EOF -; - -// Rule IntegerLiteralRule -ruleIntegerLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - lv_value_0_0=RULE_INTEGERLITERAL - { - createLeafNode(grammarAccess.getIntegerLiteralRuleAccess().getValueIntegerLiteralTerminalRuleCall_0(), "value"); - } - { - if ($current==null) { - $current = factory.create(grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "value", - lv_value_0_0, - "IntegerLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) -; - - - - - -// Entry rule entryRuleUnlimitedLiteralRule -entryRuleUnlimitedLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getUnlimitedLiteralRuleRule(), currentNode); } - iv_ruleUnlimitedLiteralRule=ruleUnlimitedLiteralRule - { $current=$iv_ruleUnlimitedLiteralRule.current; } - EOF -; - -// Rule UnlimitedLiteralRule -ruleUnlimitedLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - lv_value_0_0= '*' - { - createLeafNode(grammarAccess.getUnlimitedLiteralRuleAccess().getValueAsteriskKeyword_0(), "value"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "value", lv_value_0_0, "*", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) -; - - - - - -// Entry rule entryRuleRealLiteralRule -entryRuleRealLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getRealLiteralRuleRule(), currentNode); } - iv_ruleRealLiteralRule=ruleRealLiteralRule - { $current=$iv_ruleRealLiteralRule.current; } - EOF -; - -// Rule RealLiteralRule -ruleRealLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - lv_value_0_0=RULE_REALLITERAL - { - createLeafNode(grammarAccess.getRealLiteralRuleAccess().getValueRealLiteralTerminalRuleCall_0(), "value"); - } - { - if ($current==null) { - $current = factory.create(grammarAccess.getRealLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "value", - lv_value_0_0, - "RealLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) -; - - - - - -// Entry rule entryRuleDateTimeLiteralRule -entryRuleDateTimeLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getDateTimeLiteralRuleRule(), currentNode); } - iv_ruleDateTimeLiteralRule=ruleDateTimeLiteralRule - { $current=$iv_ruleDateTimeLiteralRule.current; } - EOF -; - -// Rule DateTimeLiteralRule -ruleDateTimeLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - lv_value_0_0=RULE_DATETIMELITERAL - { - createLeafNode(grammarAccess.getDateTimeLiteralRuleAccess().getValueDateTimeLiteralTerminalRuleCall_0(), "value"); - } - { - if ($current==null) { - $current = factory.create(grammarAccess.getDateTimeLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "value", - lv_value_0_0, - "DateTimeLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) -; - - - - - -// Entry rule entryRuleBooleanLiteralRule -entryRuleBooleanLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getBooleanLiteralRuleRule(), currentNode); } - iv_ruleBooleanLiteralRule=ruleBooleanLiteralRule - { $current=$iv_ruleBooleanLiteralRule.current; } - EOF -; - -// Rule BooleanLiteralRule -ruleBooleanLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - lv_value_0_0=RULE_BOOLEANLITERAL - { - createLeafNode(grammarAccess.getBooleanLiteralRuleAccess().getValueBooleanLiteralTerminalRuleCall_0(), "value"); - } - { - if ($current==null) { - $current = factory.create(grammarAccess.getBooleanLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "value", - lv_value_0_0, - "BooleanLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) -; - - - - - -// Entry rule entryRuleNullLiteralRule -entryRuleNullLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getNullLiteralRuleRule(), currentNode); } - iv_ruleNullLiteralRule=ruleNullLiteralRule - { $current=$iv_ruleNullLiteralRule.current; } - EOF -; - -// Rule NullLiteralRule -ruleNullLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - lv_value_0_0=RULE_NULLLITERAL - { - createLeafNode(grammarAccess.getNullLiteralRuleAccess().getValueNullLiteralTerminalRuleCall_0(), "value"); - } - { - if ($current==null) { - $current = factory.create(grammarAccess.getNullLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "value", - lv_value_0_0, - "NullLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) -; - - - - - -// Entry rule entryRuleDefaultLiteralRule -entryRuleDefaultLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getDefaultLiteralRuleRule(), currentNode); } - iv_ruleDefaultLiteralRule=ruleDefaultLiteralRule - { $current=$iv_ruleDefaultLiteralRule.current; } - EOF -; - -// Rule DefaultLiteralRule -ruleDefaultLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - lv_value_0_0= '/' - { - createLeafNode(grammarAccess.getDefaultLiteralRuleAccess().getValueSolidusKeyword_0(), "value"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getDefaultLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "value", lv_value_0_0, "/", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) -; - - - - - -// Entry rule entryRuleStringLiteralRule -entryRuleStringLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getStringLiteralRuleRule(), currentNode); } - iv_ruleStringLiteralRule=ruleStringLiteralRule - { $current=$iv_ruleStringLiteralRule.current; } - EOF -; - -// Rule StringLiteralRule -ruleStringLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - lv_value_0_0=RULE_STRING - { - createLeafNode(grammarAccess.getStringLiteralRuleAccess().getValueSTRINGTerminalRuleCall_0(), "value"); - } - { - if ($current==null) { - $current = factory.create(grammarAccess.getStringLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "value", - lv_value_0_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) -; - - - - - -RULE_INTEGERLITERAL : ('+'|'-')? (('0'..'9')+|'0x' ('0'..'9'|'A'..'F'|'a'..'f')+|'0b' ('0'..'1')+); - -RULE_REALLITERAL : ('+'|'-')? ('0'..'9')+ '.' ('0'..'9')+ ('E' ('+'|'-')? ('0'..'9')+)?; - -RULE_DATETIMELITERAL : (('0'..'1' '0'..'9'|'2' '0'..'3') ':' '0'..'5' '0'..'9' (':' '0'..'5' '0'..'9' (':' '0'..'9' '0'..'9')?)? (' ' '0'..'9' '0'..'9' '0'..'9' '0'..'9' '/' ('0' '0'..'9'|'1' '0'..'2') '/' ('0'..'2' '0'..'9'|'3' ('0'|'1')))? (' ' ('Mon'|'Tue'|'Wed'|'Thr'|'Fri'|'Sat'|'Sun'))?|'0'..'9' '0'..'9' '0'..'9' '0'..'9' '/' ('0' '0'..'9'|'1' '0'..'2') '/' ('0'..'2' '0'..'9'|'3' ('0'|'1')) (' ' ('Mon'|'Tue'|'Wed'|'Thr'|'Fri'|'Sat'|'Sun'))?|('Mon'|'Tue'|'Wed'|'Thr'|'Fri'|'Sat'|'Sun')); - -RULE_BOOLEANLITERAL : ('true'|'false'); - -RULE_NULLLITERAL : 'null'; - -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -RULE_INT : ('0'..'9')+; - -RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\''); - -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; - -RULE_WS : (' '|'\t'|'\r'|'\n')+; - -RULE_ANY_OTHER : .; - - diff --git a/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.tokens b/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.tokens deleted file mode 100644 index 4c2b8cb373a..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.tokens +++ /dev/null @@ -1,50 +0,0 @@ -RULE_NULLLITERAL=9 -RULE_DATETIMELITERAL=7 -RULE_BOOLEANLITERAL=8 -RULE_ID=4 -RULE_STRING=10 -RULE_ANY_OTHER=15 -RULE_REALLITERAL=6 -RULE_INTEGERLITERAL=5 -RULE_INT=11 -RULE_WS=14 -RULE_SL_COMMENT=13 -RULE_ML_COMMENT=12 -'..'=43 -'out'=52 -'>='=28 -'when'=47 -'=='=23 -'/'=34 -'mod'=35 -'>'=26 -'='=19 -'<>'=24 -'@'=46 -'::'=40 -'+'=31 -'.'=37 -')'=39 -'xor'=22 -'$'=50 -'>>'=17 -'}'=45 -'jitter('=49 -'inout'=53 -'and'=20 -'{'=44 -'<<'=16 -'?'=29 -'<='=27 -'<'=25 -':'=30 -'not'=36 -'('=38 -'['=42 -'or'=21 -'-'=32 -'*'=33 -','=18 -'in'=51 -'&'=48 -']'=41 diff --git a/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSLLexer.java b/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSLLexer.java deleted file mode 100644 index 65eea9347eb..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSLLexer.java +++ /dev/null @@ -1,3147 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 CEA LIST. - * - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalStereotypeApplicationWithVSLLexer extends Lexer { - public static final int RULE_DATETIMELITERAL=7; - public static final int RULE_ID=4; - public static final int RULE_ANY_OTHER=15; - public static final int RULE_REALLITERAL=6; - public static final int T29=29; - public static final int T28=28; - public static final int T27=27; - public static final int T26=26; - public static final int T25=25; - public static final int EOF=-1; - public static final int T24=24; - public static final int T23=23; - public static final int T22=22; - public static final int T21=21; - public static final int T20=20; - public static final int RULE_BOOLEANLITERAL=8; - public static final int RULE_INT=11; - public static final int T38=38; - public static final int T37=37; - public static final int T39=39; - public static final int T34=34; - public static final int T33=33; - public static final int T36=36; - public static final int T35=35; - public static final int T30=30; - public static final int T32=32; - public static final int T31=31; - public static final int RULE_NULLLITERAL=9; - public static final int RULE_INTEGERLITERAL=5; - public static final int T49=49; - public static final int T48=48; - public static final int T43=43; - public static final int Tokens=54; - public static final int RULE_SL_COMMENT=13; - public static final int T42=42; - public static final int T41=41; - public static final int T40=40; - public static final int T47=47; - public static final int T46=46; - public static final int T45=45; - public static final int RULE_ML_COMMENT=12; - public static final int T44=44; - public static final int RULE_STRING=10; - public static final int T50=50; - public static final int T52=52; - public static final int RULE_WS=14; - public static final int T51=51; - public static final int T16=16; - public static final int T17=17; - public static final int T53=53; - public static final int T18=18; - public static final int T19=19; - public InternalStereotypeApplicationWithVSLLexer() {;} - public InternalStereotypeApplicationWithVSLLexer(CharStream input) { - super(input); - } - public String getGrammarFileName() { return "../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g"; } - - // $ANTLR start T16 - public final void mT16() throws RecognitionException { - try { - int _type = T16; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:10:5: ( '<<' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:10:7: '<<' - { - match("<<"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T16 - - // $ANTLR start T17 - public final void mT17() throws RecognitionException { - try { - int _type = T17; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:11:5: ( '>>' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:11:7: '>>' - { - match(">>"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T17 - - // $ANTLR start T18 - public final void mT18() throws RecognitionException { - try { - int _type = T18; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:12:5: ( ',' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:12:7: ',' - { - match(','); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T18 - - // $ANTLR start T19 - public final void mT19() throws RecognitionException { - try { - int _type = T19; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:13:5: ( '=' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:13:7: '=' - { - match('='); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T19 - - // $ANTLR start T20 - public final void mT20() throws RecognitionException { - try { - int _type = T20; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:14:5: ( 'and' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:14:7: 'and' - { - match("and"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T20 - - // $ANTLR start T21 - public final void mT21() throws RecognitionException { - try { - int _type = T21; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:15:5: ( 'or' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:15:7: 'or' - { - match("or"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T21 - - // $ANTLR start T22 - public final void mT22() throws RecognitionException { - try { - int _type = T22; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:16:5: ( 'xor' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:16:7: 'xor' - { - match("xor"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T22 - - // $ANTLR start T23 - public final void mT23() throws RecognitionException { - try { - int _type = T23; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:17:5: ( '==' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:17:7: '==' - { - match("=="); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T23 - - // $ANTLR start T24 - public final void mT24() throws RecognitionException { - try { - int _type = T24; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:18:5: ( '<>' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:18:7: '<>' - { - match("<>"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T24 - - // $ANTLR start T25 - public final void mT25() throws RecognitionException { - try { - int _type = T25; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:19:5: ( '<' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:19:7: '<' - { - match('<'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T25 - - // $ANTLR start T26 - public final void mT26() throws RecognitionException { - try { - int _type = T26; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:20:5: ( '>' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:20:7: '>' - { - match('>'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T26 - - // $ANTLR start T27 - public final void mT27() throws RecognitionException { - try { - int _type = T27; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:21:5: ( '<=' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:21:7: '<=' - { - match("<="); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T27 - - // $ANTLR start T28 - public final void mT28() throws RecognitionException { - try { - int _type = T28; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:22:5: ( '>=' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:22:7: '>=' - { - match(">="); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T28 - - // $ANTLR start T29 - public final void mT29() throws RecognitionException { - try { - int _type = T29; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:23:5: ( '?' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:23:7: '?' - { - match('?'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T29 - - // $ANTLR start T30 - public final void mT30() throws RecognitionException { - try { - int _type = T30; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:24:5: ( ':' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:24:7: ':' - { - match(':'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T30 - - // $ANTLR start T31 - public final void mT31() throws RecognitionException { - try { - int _type = T31; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:25:5: ( '+' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:25:7: '+' - { - match('+'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T31 - - // $ANTLR start T32 - public final void mT32() throws RecognitionException { - try { - int _type = T32; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:26:5: ( '-' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:26:7: '-' - { - match('-'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T32 - - // $ANTLR start T33 - public final void mT33() throws RecognitionException { - try { - int _type = T33; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:27:5: ( '*' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:27:7: '*' - { - match('*'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T33 - - // $ANTLR start T34 - public final void mT34() throws RecognitionException { - try { - int _type = T34; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:28:5: ( '/' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:28:7: '/' - { - match('/'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T34 - - // $ANTLR start T35 - public final void mT35() throws RecognitionException { - try { - int _type = T35; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:29:5: ( 'mod' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:29:7: 'mod' - { - match("mod"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T35 - - // $ANTLR start T36 - public final void mT36() throws RecognitionException { - try { - int _type = T36; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:30:5: ( 'not' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:30:7: 'not' - { - match("not"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T36 - - // $ANTLR start T37 - public final void mT37() throws RecognitionException { - try { - int _type = T37; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:31:5: ( '.' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:31:7: '.' - { - match('.'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T37 - - // $ANTLR start T38 - public final void mT38() throws RecognitionException { - try { - int _type = T38; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:32:5: ( '(' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:32:7: '(' - { - match('('); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T38 - - // $ANTLR start T39 - public final void mT39() throws RecognitionException { - try { - int _type = T39; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:33:5: ( ')' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:33:7: ')' - { - match(')'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T39 - - // $ANTLR start T40 - public final void mT40() throws RecognitionException { - try { - int _type = T40; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:34:5: ( '::' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:34:7: '::' - { - match("::"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T40 - - // $ANTLR start T41 - public final void mT41() throws RecognitionException { - try { - int _type = T41; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:35:5: ( ']' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:35:7: ']' - { - match(']'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T41 - - // $ANTLR start T42 - public final void mT42() throws RecognitionException { - try { - int _type = T42; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:36:5: ( '[' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:36:7: '[' - { - match('['); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T42 - - // $ANTLR start T43 - public final void mT43() throws RecognitionException { - try { - int _type = T43; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:37:5: ( '..' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:37:7: '..' - { - match(".."); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T43 - - // $ANTLR start T44 - public final void mT44() throws RecognitionException { - try { - int _type = T44; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:38:5: ( '{' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:38:7: '{' - { - match('{'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T44 - - // $ANTLR start T45 - public final void mT45() throws RecognitionException { - try { - int _type = T45; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:39:5: ( '}' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:39:7: '}' - { - match('}'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T45 - - // $ANTLR start T46 - public final void mT46() throws RecognitionException { - try { - int _type = T46; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:40:5: ( '@' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:40:7: '@' - { - match('@'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T46 - - // $ANTLR start T47 - public final void mT47() throws RecognitionException { - try { - int _type = T47; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:41:5: ( 'when' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:41:7: 'when' - { - match("when"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T47 - - // $ANTLR start T48 - public final void mT48() throws RecognitionException { - try { - int _type = T48; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:42:5: ( '&' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:42:7: '&' - { - match('&'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T48 - - // $ANTLR start T49 - public final void mT49() throws RecognitionException { - try { - int _type = T49; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:43:5: ( 'jitter(' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:43:7: 'jitter(' - { - match("jitter("); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T49 - - // $ANTLR start T50 - public final void mT50() throws RecognitionException { - try { - int _type = T50; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:44:5: ( '$' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:44:7: '$' - { - match('$'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T50 - - // $ANTLR start T51 - public final void mT51() throws RecognitionException { - try { - int _type = T51; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:45:5: ( 'in' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:45:7: 'in' - { - match("in"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T51 - - // $ANTLR start T52 - public final void mT52() throws RecognitionException { - try { - int _type = T52; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:46:5: ( 'out' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:46:7: 'out' - { - match("out"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T52 - - // $ANTLR start T53 - public final void mT53() throws RecognitionException { - try { - int _type = T53; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:47:5: ( 'inout' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:47:7: 'inout' - { - match("inout"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T53 - - // $ANTLR start RULE_INTEGERLITERAL - public final void mRULE_INTEGERLITERAL() throws RecognitionException { - try { - int _type = RULE_INTEGERLITERAL; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3546:21: ( ( '+' | '-' )? ( ( '0' .. '9' )+ | '0x' ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+ | '0b' ( '0' .. '1' )+ ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3546:23: ( '+' | '-' )? ( ( '0' .. '9' )+ | '0x' ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+ | '0b' ( '0' .. '1' )+ ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3546:23: ( '+' | '-' )? - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0=='+'||LA1_0=='-') ) { - alt1=1; - } - switch (alt1) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g: - { - if ( input.LA(1)=='+'||input.LA(1)=='-' ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3546:34: ( ( '0' .. '9' )+ | '0x' ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+ | '0b' ( '0' .. '1' )+ ) - int alt5=3; - int LA5_0 = input.LA(1); - - if ( (LA5_0=='0') ) { - switch ( input.LA(2) ) { - case 'x': - { - alt5=2; - } - break; - case 'b': - { - alt5=3; - } - break; - default: - alt5=1;} - - } - else if ( ((LA5_0>='1' && LA5_0<='9')) ) { - alt5=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("3546:34: ( ( '0' .. '9' )+ | '0x' ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+ | '0b' ( '0' .. '1' )+ )", 5, 0, input); - - throw nvae; - } - switch (alt5) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3546:35: ( '0' .. '9' )+ - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3546:35: ( '0' .. '9' )+ - int cnt2=0; - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( ((LA2_0>='0' && LA2_0<='9')) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3546:36: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt2 >= 1 ) break loop2; - EarlyExitException eee = - new EarlyExitException(2, input); - throw eee; - } - cnt2++; - } while (true); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3546:47: '0x' ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+ - { - match("0x"); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3546:52: ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+ - int cnt3=0; - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='F')||(LA3_0>='a' && LA3_0<='f')) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g: - { - if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - default : - if ( cnt3 >= 1 ) break loop3; - EarlyExitException eee = - new EarlyExitException(3, input); - throw eee; - } - cnt3++; - } while (true); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3546:82: '0b' ( '0' .. '1' )+ - { - match("0b"); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3546:87: ( '0' .. '1' )+ - int cnt4=0; - loop4: - do { - int alt4=2; - int LA4_0 = input.LA(1); - - if ( ((LA4_0>='0' && LA4_0<='1')) ) { - alt4=1; - } - - - switch (alt4) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3546:88: '0' .. '1' - { - matchRange('0','1'); - - } - break; - - default : - if ( cnt4 >= 1 ) break loop4; - EarlyExitException eee = - new EarlyExitException(4, input); - throw eee; - } - cnt4++; - } while (true); - - - } - break; - - } - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_INTEGERLITERAL - - // $ANTLR start RULE_REALLITERAL - public final void mRULE_REALLITERAL() throws RecognitionException { - try { - int _type = RULE_REALLITERAL; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3548:18: ( ( '+' | '-' )? ( '0' .. '9' )+ '.' ( '0' .. '9' )+ ( 'E' ( '+' | '-' )? ( '0' .. '9' )+ )? ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3548:20: ( '+' | '-' )? ( '0' .. '9' )+ '.' ( '0' .. '9' )+ ( 'E' ( '+' | '-' )? ( '0' .. '9' )+ )? - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3548:20: ( '+' | '-' )? - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0=='+'||LA6_0=='-') ) { - alt6=1; - } - switch (alt6) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g: - { - if ( input.LA(1)=='+'||input.LA(1)=='-' ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3548:31: ( '0' .. '9' )+ - int cnt7=0; - loop7: - do { - int alt7=2; - int LA7_0 = input.LA(1); - - if ( ((LA7_0>='0' && LA7_0<='9')) ) { - alt7=1; - } - - - switch (alt7) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3548:32: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt7 >= 1 ) break loop7; - EarlyExitException eee = - new EarlyExitException(7, input); - throw eee; - } - cnt7++; - } while (true); - - match('.'); - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3548:47: ( '0' .. '9' )+ - int cnt8=0; - loop8: - do { - int alt8=2; - int LA8_0 = input.LA(1); - - if ( ((LA8_0>='0' && LA8_0<='9')) ) { - alt8=1; - } - - - switch (alt8) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3548:48: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt8 >= 1 ) break loop8; - EarlyExitException eee = - new EarlyExitException(8, input); - throw eee; - } - cnt8++; - } while (true); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3548:59: ( 'E' ( '+' | '-' )? ( '0' .. '9' )+ )? - int alt11=2; - int LA11_0 = input.LA(1); - - if ( (LA11_0=='E') ) { - alt11=1; - } - switch (alt11) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3548:60: 'E' ( '+' | '-' )? ( '0' .. '9' )+ - { - match('E'); - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3548:64: ( '+' | '-' )? - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0=='+'||LA9_0=='-') ) { - alt9=1; - } - switch (alt9) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g: - { - if ( input.LA(1)=='+'||input.LA(1)=='-' ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3548:75: ( '0' .. '9' )+ - int cnt10=0; - loop10: - do { - int alt10=2; - int LA10_0 = input.LA(1); - - if ( ((LA10_0>='0' && LA10_0<='9')) ) { - alt10=1; - } - - - switch (alt10) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3548:76: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt10 >= 1 ) break loop10; - EarlyExitException eee = - new EarlyExitException(10, input); - throw eee; - } - cnt10++; - } while (true); - - - } - break; - - } - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_REALLITERAL - - // $ANTLR start RULE_DATETIMELITERAL - public final void mRULE_DATETIMELITERAL() throws RecognitionException { - try { - int _type = RULE_DATETIMELITERAL; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:22: ( ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:24: ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:24: ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) ) - int alt25=3; - switch ( input.LA(1) ) { - case '0': - case '1': - { - int LA25_1 = input.LA(2); - - if ( ((LA25_1>='0' && LA25_1<='9')) ) { - int LA25_5 = input.LA(3); - - if ( ((LA25_5>='0' && LA25_5<='9')) ) { - alt25=2; - } - else if ( (LA25_5==':') ) { - alt25=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("3550:24: ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )", 25, 5, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("3550:24: ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )", 25, 1, input); - - throw nvae; - } - } - break; - case '2': - { - int LA25_2 = input.LA(2); - - if ( ((LA25_2>='0' && LA25_2<='3')) ) { - int LA25_6 = input.LA(3); - - if ( ((LA25_6>='0' && LA25_6<='9')) ) { - alt25=2; - } - else if ( (LA25_6==':') ) { - alt25=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("3550:24: ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )", 25, 6, input); - - throw nvae; - } - } - else if ( ((LA25_2>='4' && LA25_2<='9')) ) { - alt25=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3550:24: ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )", 25, 2, input); - - throw nvae; - } - } - break; - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': - { - alt25=2; - } - break; - case 'F': - case 'M': - case 'S': - case 'T': - case 'W': - { - alt25=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("3550:24: ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )", 25, 0, input); - - throw nvae; - } - - switch (alt25) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:25: ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:25: ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) - int alt12=2; - int LA12_0 = input.LA(1); - - if ( ((LA12_0>='0' && LA12_0<='1')) ) { - alt12=1; - } - else if ( (LA12_0=='2') ) { - alt12=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3550:25: ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' )", 12, 0, input); - - throw nvae; - } - switch (alt12) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:26: '0' .. '1' '0' .. '9' - { - matchRange('0','1'); - matchRange('0','9'); - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:44: '2' '0' .. '3' - { - match('2'); - matchRange('0','3'); - - } - break; - - } - - match(':'); - matchRange('0','5'); - matchRange('0','9'); - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:80: ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? - int alt14=2; - int LA14_0 = input.LA(1); - - if ( (LA14_0==':') ) { - alt14=1; - } - switch (alt14) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:81: ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? - { - match(':'); - matchRange('0','5'); - matchRange('0','9'); - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:103: ( ':' '0' .. '9' '0' .. '9' )? - int alt13=2; - int LA13_0 = input.LA(1); - - if ( (LA13_0==':') ) { - alt13=1; - } - switch (alt13) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:104: ':' '0' .. '9' '0' .. '9' - { - match(':'); - matchRange('0','9'); - matchRange('0','9'); - - } - break; - - } - - - } - break; - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:130: ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? - int alt17=2; - int LA17_0 = input.LA(1); - - if ( (LA17_0==' ') ) { - int LA17_1 = input.LA(2); - - if ( ((LA17_1>='0' && LA17_1<='9')) ) { - alt17=1; - } - } - switch (alt17) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:131: ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) - { - match(' '); - matchRange('0','9'); - matchRange('0','9'); - matchRange('0','9'); - matchRange('0','9'); - match('/'); - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:175: ( '0' '0' .. '9' | '1' '0' .. '2' ) - int alt15=2; - int LA15_0 = input.LA(1); - - if ( (LA15_0=='0') ) { - alt15=1; - } - else if ( (LA15_0=='1') ) { - alt15=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3550:175: ( '0' '0' .. '9' | '1' '0' .. '2' )", 15, 0, input); - - throw nvae; - } - switch (alt15) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:176: '0' '0' .. '9' - { - match('0'); - matchRange('0','9'); - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:189: '1' '0' .. '2' - { - match('1'); - matchRange('0','2'); - - } - break; - - } - - match('/'); - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:207: ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) - int alt16=2; - int LA16_0 = input.LA(1); - - if ( ((LA16_0>='0' && LA16_0<='2')) ) { - alt16=1; - } - else if ( (LA16_0=='3') ) { - alt16=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3550:207: ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) )", 16, 0, input); - - throw nvae; - } - switch (alt16) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:208: '0' .. '2' '0' .. '9' - { - matchRange('0','2'); - matchRange('0','9'); - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:226: '3' ( '0' | '1' ) - { - match('3'); - if ( (input.LA(1)>='0' && input.LA(1)<='1') ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - } - - - } - break; - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:243: ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? - int alt19=2; - int LA19_0 = input.LA(1); - - if ( (LA19_0==' ') ) { - alt19=1; - } - switch (alt19) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:244: ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) - { - match(' '); - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:248: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) - int alt18=7; - switch ( input.LA(1) ) { - case 'M': - { - alt18=1; - } - break; - case 'T': - { - int LA18_2 = input.LA(2); - - if ( (LA18_2=='u') ) { - alt18=2; - } - else if ( (LA18_2=='h') ) { - alt18=4; - } - else { - NoViableAltException nvae = - new NoViableAltException("3550:248: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 18, 2, input); - - throw nvae; - } - } - break; - case 'W': - { - alt18=3; - } - break; - case 'F': - { - alt18=5; - } - break; - case 'S': - { - int LA18_5 = input.LA(2); - - if ( (LA18_5=='a') ) { - alt18=6; - } - else if ( (LA18_5=='u') ) { - alt18=7; - } - else { - NoViableAltException nvae = - new NoViableAltException("3550:248: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 18, 5, input); - - throw nvae; - } - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("3550:248: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 18, 0, input); - - throw nvae; - } - - switch (alt18) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:249: 'Mon' - { - match("Mon"); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:255: 'Tue' - { - match("Tue"); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:261: 'Wed' - { - match("Wed"); - - - } - break; - case 4 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:267: 'Thr' - { - match("Thr"); - - - } - break; - case 5 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:273: 'Fri' - { - match("Fri"); - - - } - break; - case 6 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:279: 'Sat' - { - match("Sat"); - - - } - break; - case 7 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:285: 'Sun' - { - match("Sun"); - - - } - break; - - } - - - } - break; - - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:294: '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? - { - matchRange('0','9'); - matchRange('0','9'); - matchRange('0','9'); - matchRange('0','9'); - match('/'); - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:334: ( '0' '0' .. '9' | '1' '0' .. '2' ) - int alt20=2; - int LA20_0 = input.LA(1); - - if ( (LA20_0=='0') ) { - alt20=1; - } - else if ( (LA20_0=='1') ) { - alt20=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3550:334: ( '0' '0' .. '9' | '1' '0' .. '2' )", 20, 0, input); - - throw nvae; - } - switch (alt20) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:335: '0' '0' .. '9' - { - match('0'); - matchRange('0','9'); - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:348: '1' '0' .. '2' - { - match('1'); - matchRange('0','2'); - - } - break; - - } - - match('/'); - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:366: ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) - int alt21=2; - int LA21_0 = input.LA(1); - - if ( ((LA21_0>='0' && LA21_0<='2')) ) { - alt21=1; - } - else if ( (LA21_0=='3') ) { - alt21=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3550:366: ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) )", 21, 0, input); - - throw nvae; - } - switch (alt21) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:367: '0' .. '2' '0' .. '9' - { - matchRange('0','2'); - matchRange('0','9'); - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:385: '3' ( '0' | '1' ) - { - match('3'); - if ( (input.LA(1)>='0' && input.LA(1)<='1') ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:400: ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? - int alt23=2; - int LA23_0 = input.LA(1); - - if ( (LA23_0==' ') ) { - alt23=1; - } - switch (alt23) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:401: ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) - { - match(' '); - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:405: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) - int alt22=7; - switch ( input.LA(1) ) { - case 'M': - { - alt22=1; - } - break; - case 'T': - { - int LA22_2 = input.LA(2); - - if ( (LA22_2=='u') ) { - alt22=2; - } - else if ( (LA22_2=='h') ) { - alt22=4; - } - else { - NoViableAltException nvae = - new NoViableAltException("3550:405: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 22, 2, input); - - throw nvae; - } - } - break; - case 'W': - { - alt22=3; - } - break; - case 'F': - { - alt22=5; - } - break; - case 'S': - { - int LA22_5 = input.LA(2); - - if ( (LA22_5=='u') ) { - alt22=7; - } - else if ( (LA22_5=='a') ) { - alt22=6; - } - else { - NoViableAltException nvae = - new NoViableAltException("3550:405: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 22, 5, input); - - throw nvae; - } - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("3550:405: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 22, 0, input); - - throw nvae; - } - - switch (alt22) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:406: 'Mon' - { - match("Mon"); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:412: 'Tue' - { - match("Tue"); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:418: 'Wed' - { - match("Wed"); - - - } - break; - case 4 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:424: 'Thr' - { - match("Thr"); - - - } - break; - case 5 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:430: 'Fri' - { - match("Fri"); - - - } - break; - case 6 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:436: 'Sat' - { - match("Sat"); - - - } - break; - case 7 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:442: 'Sun' - { - match("Sun"); - - - } - break; - - } - - - } - break; - - } - - - } - break; - case 3 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:451: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:451: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) - int alt24=7; - switch ( input.LA(1) ) { - case 'M': - { - alt24=1; - } - break; - case 'T': - { - int LA24_2 = input.LA(2); - - if ( (LA24_2=='u') ) { - alt24=2; - } - else if ( (LA24_2=='h') ) { - alt24=4; - } - else { - NoViableAltException nvae = - new NoViableAltException("3550:451: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 24, 2, input); - - throw nvae; - } - } - break; - case 'W': - { - alt24=3; - } - break; - case 'F': - { - alt24=5; - } - break; - case 'S': - { - int LA24_5 = input.LA(2); - - if ( (LA24_5=='u') ) { - alt24=7; - } - else if ( (LA24_5=='a') ) { - alt24=6; - } - else { - NoViableAltException nvae = - new NoViableAltException("3550:451: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 24, 5, input); - - throw nvae; - } - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("3550:451: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 24, 0, input); - - throw nvae; - } - - switch (alt24) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:452: 'Mon' - { - match("Mon"); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:458: 'Tue' - { - match("Tue"); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:464: 'Wed' - { - match("Wed"); - - - } - break; - case 4 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:470: 'Thr' - { - match("Thr"); - - - } - break; - case 5 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:476: 'Fri' - { - match("Fri"); - - - } - break; - case 6 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:482: 'Sat' - { - match("Sat"); - - - } - break; - case 7 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3550:488: 'Sun' - { - match("Sun"); - - - } - break; - - } - - - } - break; - - } - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_DATETIMELITERAL - - // $ANTLR start RULE_BOOLEANLITERAL - public final void mRULE_BOOLEANLITERAL() throws RecognitionException { - try { - int _type = RULE_BOOLEANLITERAL; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3552:21: ( ( 'true' | 'false' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3552:23: ( 'true' | 'false' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3552:23: ( 'true' | 'false' ) - int alt26=2; - int LA26_0 = input.LA(1); - - if ( (LA26_0=='t') ) { - alt26=1; - } - else if ( (LA26_0=='f') ) { - alt26=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3552:23: ( 'true' | 'false' )", 26, 0, input); - - throw nvae; - } - switch (alt26) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3552:24: 'true' - { - match("true"); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3552:31: 'false' - { - match("false"); - - - } - break; - - } - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_BOOLEANLITERAL - - // $ANTLR start RULE_NULLLITERAL - public final void mRULE_NULLLITERAL() throws RecognitionException { - try { - int _type = RULE_NULLLITERAL; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3554:18: ( 'null' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3554:20: 'null' - { - match("null"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_NULLLITERAL - - // $ANTLR start RULE_ID - public final void mRULE_ID() throws RecognitionException { - try { - int _type = RULE_ID; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3556:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3556:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3556:11: ( '^' )? - int alt27=2; - int LA27_0 = input.LA(1); - - if ( (LA27_0=='^') ) { - alt27=1; - } - switch (alt27) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3556:11: '^' - { - match('^'); - - } - break; - - } - - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3556:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop28: - do { - int alt28=2; - int LA28_0 = input.LA(1); - - if ( ((LA28_0>='0' && LA28_0<='9')||(LA28_0>='A' && LA28_0<='Z')||LA28_0=='_'||(LA28_0>='a' && LA28_0<='z')) ) { - alt28=1; - } - - - switch (alt28) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g: - { - 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') ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - default : - break loop28; - } - } while (true); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_ID - - // $ANTLR start RULE_INT - public final void mRULE_INT() throws RecognitionException { - try { - int _type = RULE_INT; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3558:10: ( ( '0' .. '9' )+ ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3558:12: ( '0' .. '9' )+ - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3558:12: ( '0' .. '9' )+ - int cnt29=0; - loop29: - do { - int alt29=2; - int LA29_0 = input.LA(1); - - if ( ((LA29_0>='0' && LA29_0<='9')) ) { - alt29=1; - } - - - switch (alt29) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3558:13: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt29 >= 1 ) break loop29; - EarlyExitException eee = - new EarlyExitException(29, input); - throw eee; - } - cnt29++; - } while (true); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_INT - - // $ANTLR start RULE_STRING - public final void mRULE_STRING() throws RecognitionException { - try { - int _type = RULE_STRING; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3560:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3560:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3560:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - int alt32=2; - int LA32_0 = input.LA(1); - - if ( (LA32_0=='\"') ) { - alt32=1; - } - else if ( (LA32_0=='\'') ) { - alt32=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3560:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 32, 0, input); - - throw nvae; - } - switch (alt32) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3560:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' - { - match('\"'); - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3560:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* - loop30: - do { - int alt30=3; - int LA30_0 = input.LA(1); - - if ( (LA30_0=='\\') ) { - alt30=1; - } - else if ( ((LA30_0>='\u0000' && LA30_0<='!')||(LA30_0>='#' && LA30_0<='[')||(LA30_0>=']' && LA30_0<='\uFFFE')) ) { - alt30=2; - } - - - switch (alt30) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3560:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) - { - match('\\'); - 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.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3560:62: ~ ( ( '\\\\' | '\"' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - default : - break loop30; - } - } while (true); - - match('\"'); - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3560:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' - { - match('\''); - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3560:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* - loop31: - do { - int alt31=3; - int LA31_0 = input.LA(1); - - if ( (LA31_0=='\\') ) { - alt31=1; - } - else if ( ((LA31_0>='\u0000' && LA31_0<='&')||(LA31_0>='(' && LA31_0<='[')||(LA31_0>=']' && LA31_0<='\uFFFE')) ) { - alt31=2; - } - - - switch (alt31) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3560:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) - { - match('\\'); - 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.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3560:129: ~ ( ( '\\\\' | '\\'' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - default : - break loop31; - } - } while (true); - - match('\''); - - } - break; - - } - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_STRING - - // $ANTLR start RULE_ML_COMMENT - public final void mRULE_ML_COMMENT() throws RecognitionException { - try { - int _type = RULE_ML_COMMENT; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3562:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3562:19: '/*' ( options {greedy=false; } : . )* '*/' - { - match("/*"); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3562:24: ( options {greedy=false; } : . )* - loop33: - do { - int alt33=2; - int LA33_0 = input.LA(1); - - if ( (LA33_0=='*') ) { - int LA33_1 = input.LA(2); - - if ( (LA33_1=='/') ) { - alt33=2; - } - else if ( ((LA33_1>='\u0000' && LA33_1<='.')||(LA33_1>='0' && LA33_1<='\uFFFE')) ) { - alt33=1; - } - - - } - else if ( ((LA33_0>='\u0000' && LA33_0<=')')||(LA33_0>='+' && LA33_0<='\uFFFE')) ) { - alt33=1; - } - - - switch (alt33) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3562:52: . - { - matchAny(); - - } - break; - - default : - break loop33; - } - } while (true); - - match("*/"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_ML_COMMENT - - // $ANTLR start RULE_SL_COMMENT - public final void mRULE_SL_COMMENT() throws RecognitionException { - try { - int _type = RULE_SL_COMMENT; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3564:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3564:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? - { - match("//"); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3564:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop34: - do { - int alt34=2; - int LA34_0 = input.LA(1); - - if ( ((LA34_0>='\u0000' && LA34_0<='\t')||(LA34_0>='\u000B' && LA34_0<='\f')||(LA34_0>='\u000E' && LA34_0<='\uFFFE')) ) { - alt34=1; - } - - - switch (alt34) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3564:24: ~ ( ( '\\n' | '\\r' ) ) - { - 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') ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - default : - break loop34; - } - } while (true); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3564:40: ( ( '\\r' )? '\\n' )? - int alt36=2; - int LA36_0 = input.LA(1); - - if ( (LA36_0=='\n'||LA36_0=='\r') ) { - alt36=1; - } - switch (alt36) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3564:41: ( '\\r' )? '\\n' - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3564:41: ( '\\r' )? - int alt35=2; - int LA35_0 = input.LA(1); - - if ( (LA35_0=='\r') ) { - alt35=1; - } - switch (alt35) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3564:41: '\\r' - { - match('\r'); - - } - break; - - } - - match('\n'); - - } - break; - - } - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_SL_COMMENT - - // $ANTLR start RULE_WS - public final void mRULE_WS() throws RecognitionException { - try { - int _type = RULE_WS; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3566:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3566:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3566:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt37=0; - loop37: - do { - int alt37=2; - int LA37_0 = input.LA(1); - - if ( ((LA37_0>='\t' && LA37_0<='\n')||LA37_0=='\r'||LA37_0==' ') ) { - alt37=1; - } - - - switch (alt37) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g: - { - if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - default : - if ( cnt37 >= 1 ) break loop37; - EarlyExitException eee = - new EarlyExitException(37, input); - throw eee; - } - cnt37++; - } while (true); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_WS - - // $ANTLR start RULE_ANY_OTHER - public final void mRULE_ANY_OTHER() throws RecognitionException { - try { - int _type = RULE_ANY_OTHER; - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3568:16: ( . ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3568:18: . - { - matchAny(); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_ANY_OTHER - - public void mTokens() throws RecognitionException { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:8: ( T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | T52 | T53 | RULE_INTEGERLITERAL | RULE_REALLITERAL | RULE_DATETIMELITERAL | RULE_BOOLEANLITERAL | RULE_NULLLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt38=50; - alt38 = dfa38.predict(input); - switch (alt38) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:10: T16 - { - mT16(); - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:14: T17 - { - mT17(); - - } - break; - case 3 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:18: T18 - { - mT18(); - - } - break; - case 4 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:22: T19 - { - mT19(); - - } - break; - case 5 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:26: T20 - { - mT20(); - - } - break; - case 6 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:30: T21 - { - mT21(); - - } - break; - case 7 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:34: T22 - { - mT22(); - - } - break; - case 8 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:38: T23 - { - mT23(); - - } - break; - case 9 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:42: T24 - { - mT24(); - - } - break; - case 10 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:46: T25 - { - mT25(); - - } - break; - case 11 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:50: T26 - { - mT26(); - - } - break; - case 12 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:54: T27 - { - mT27(); - - } - break; - case 13 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:58: T28 - { - mT28(); - - } - break; - case 14 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:62: T29 - { - mT29(); - - } - break; - case 15 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:66: T30 - { - mT30(); - - } - break; - case 16 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:70: T31 - { - mT31(); - - } - break; - case 17 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:74: T32 - { - mT32(); - - } - break; - case 18 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:78: T33 - { - mT33(); - - } - break; - case 19 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:82: T34 - { - mT34(); - - } - break; - case 20 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:86: T35 - { - mT35(); - - } - break; - case 21 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:90: T36 - { - mT36(); - - } - break; - case 22 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:94: T37 - { - mT37(); - - } - break; - case 23 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:98: T38 - { - mT38(); - - } - break; - case 24 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:102: T39 - { - mT39(); - - } - break; - case 25 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:106: T40 - { - mT40(); - - } - break; - case 26 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:110: T41 - { - mT41(); - - } - break; - case 27 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:114: T42 - { - mT42(); - - } - break; - case 28 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:118: T43 - { - mT43(); - - } - break; - case 29 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:122: T44 - { - mT44(); - - } - break; - case 30 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:126: T45 - { - mT45(); - - } - break; - case 31 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:130: T46 - { - mT46(); - - } - break; - case 32 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:134: T47 - { - mT47(); - - } - break; - case 33 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:138: T48 - { - mT48(); - - } - break; - case 34 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:142: T49 - { - mT49(); - - } - break; - case 35 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:146: T50 - { - mT50(); - - } - break; - case 36 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:150: T51 - { - mT51(); - - } - break; - case 37 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:154: T52 - { - mT52(); - - } - break; - case 38 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:158: T53 - { - mT53(); - - } - break; - case 39 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:162: RULE_INTEGERLITERAL - { - mRULE_INTEGERLITERAL(); - - } - break; - case 40 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:182: RULE_REALLITERAL - { - mRULE_REALLITERAL(); - - } - break; - case 41 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:199: RULE_DATETIMELITERAL - { - mRULE_DATETIMELITERAL(); - - } - break; - case 42 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:220: RULE_BOOLEANLITERAL - { - mRULE_BOOLEANLITERAL(); - - } - break; - case 43 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:240: RULE_NULLLITERAL - { - mRULE_NULLLITERAL(); - - } - break; - case 44 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:257: RULE_ID - { - mRULE_ID(); - - } - break; - case 45 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:265: RULE_INT - { - mRULE_INT(); - - } - break; - case 46 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:274: RULE_STRING - { - mRULE_STRING(); - - } - break; - case 47 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:286: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 48 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:302: RULE_SL_COMMENT - { - mRULE_SL_COMMENT(); - - } - break; - case 49 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:318: RULE_WS - { - mRULE_WS(); - - } - break; - case 50 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1:326: RULE_ANY_OTHER - { - mRULE_ANY_OTHER(); - - } - break; - - } - - } - - - protected DFA38 dfa38 = new DFA38(this); - static final String DFA38_eotS = - "\1\uffff\1\61\1\64\1\uffff\1\67\3\71\1\uffff\1\77\1\100\1\103\1"+ - "\uffff\1\107\2\71\1\114\7\uffff\1\71\1\uffff\1\71\1\uffff\1\71\4"+ - "\132\7\71\1\55\1\uffff\2\55\14\uffff\1\71\1\uffff\1\152\2\71\4\uffff"+ - "\2\132\5\uffff\3\71\11\uffff\1\71\1\uffff\1\71\1\uffff\1\163\1\132"+ - "\2\uffff\2\132\11\71\2\uffff\1\177\1\uffff\1\u0080\1\u0081\1\u0082"+ - "\1\71\1\u0084\3\71\1\uffff\1\132\1\uffff\7\165\2\71\4\uffff\1\u008b"+ - "\1\uffff\1\u008c\2\71\1\132\1\u0090\1\71\2\uffff\1\71\1\u0093\1"+ - "\132\1\uffff\1\u0090\1\71\2\uffff"; - static final String DFA38_eofS = - "\u0095\uffff"; - static final String DFA38_minS = - "\1\0\1\74\1\75\1\uffff\1\75\1\156\1\162\1\157\1\uffff\1\72\2\60"+ - "\1\uffff\1\52\2\157\1\56\7\uffff\1\150\1\uffff\1\151\1\uffff\1\156"+ - "\4\56\1\157\1\150\1\145\1\162\1\141\1\162\1\141\1\101\1\uffff\2"+ - "\0\14\uffff\1\144\1\uffff\1\60\1\164\1\162\4\uffff\2\56\5\uffff"+ - "\1\144\1\154\1\164\11\uffff\1\145\1\uffff\1\164\1\uffff\1\60\1\56"+ - "\2\uffff\2\56\1\156\1\162\1\145\1\144\1\151\1\156\1\164\1\165\1"+ - "\154\2\uffff\1\60\1\uffff\3\60\1\154\1\60\1\156\1\164\1\165\1\uffff"+ - "\1\56\1\uffff\7\60\1\145\1\163\4\uffff\1\60\1\uffff\1\60\1\145\1"+ - "\164\1\56\1\60\1\145\2\uffff\1\162\1\60\1\56\1\uffff\1\60\1\50\2"+ - "\uffff"; - static final String DFA38_maxS = - "\1\ufffe\2\76\1\uffff\1\75\1\156\1\165\1\157\1\uffff\1\72\2\71\1"+ - "\uffff\1\57\1\157\1\165\1\56\7\uffff\1\150\1\uffff\1\151\1\uffff"+ - "\1\156\4\71\1\157\1\165\1\145\1\162\1\165\1\162\1\141\1\172\1\uffff"+ - "\2\ufffe\14\uffff\1\144\1\uffff\1\172\1\164\1\162\4\uffff\2\71\5"+ - "\uffff\1\144\1\154\1\164\11\uffff\1\145\1\uffff\1\164\1\uffff\1"+ - "\172\1\72\2\uffff\1\72\1\71\1\156\1\162\1\145\1\144\1\151\1\156"+ - "\1\164\1\165\1\154\2\uffff\1\172\1\uffff\3\172\1\154\1\172\1\156"+ - "\1\164\1\165\1\uffff\1\71\1\uffff\7\172\1\145\1\163\4\uffff\1\172"+ - "\1\uffff\1\172\1\145\1\164\1\71\1\172\1\145\2\uffff\1\162\1\172"+ - "\1\71\1\uffff\1\172\1\50\2\uffff"; - static final String DFA38_acceptS = - "\3\uffff\1\3\4\uffff\1\16\3\uffff\1\22\4\uffff\1\27\1\30\1\32\1"+ - "\33\1\35\1\36\1\37\1\uffff\1\41\1\uffff\1\43\15\uffff\1\54\2\uffff"+ - "\1\61\1\62\1\1\1\14\1\11\1\12\1\2\1\15\1\13\1\3\1\10\1\4\1\uffff"+ - "\1\54\3\uffff\1\16\1\31\1\17\1\20\2\uffff\1\21\1\22\1\60\1\57\1"+ - "\23\3\uffff\1\34\1\26\1\27\1\30\1\32\1\33\1\35\1\36\1\37\1\uffff"+ - "\1\41\1\uffff\1\43\2\uffff\1\47\1\50\13\uffff\1\56\1\61\1\uffff"+ - "\1\6\10\uffff\1\44\1\uffff\1\51\11\uffff\1\5\1\45\1\7\1\24\1\uffff"+ - "\1\25\6\uffff\1\53\1\40\3\uffff\1\52\2\uffff\1\46\1\42"; - static final String DFA38_specialS = - "\u0095\uffff}>"; - static final String[] DFA38_transitionS = { - "\11\55\2\54\2\55\1\54\22\55\1\54\1\55\1\52\1\55\1\33\1\55\1"+ - "\31\1\53\1\21\1\22\1\14\1\12\1\3\1\13\1\20\1\15\1\35\1\36\1"+ - "\37\7\40\1\11\1\55\1\1\1\4\1\2\1\10\1\27\5\51\1\44\6\51\1\41"+ - "\5\51\1\45\1\42\2\51\1\43\3\51\1\24\1\55\1\23\1\50\1\51\1\55"+ - "\1\5\4\51\1\47\2\51\1\34\1\32\2\51\1\16\1\17\1\6\4\51\1\46\2"+ - "\51\1\30\1\7\2\51\1\25\1\55\1\26\uff81\55", - "\1\56\1\57\1\60", - "\1\63\1\62", - "", - "\1\66", - "\1\70", - "\1\72\2\uffff\1\73", - "\1\74", - "", - "\1\76", - "\1\101\11\102", - "\1\101\11\102", - "", - "\1\106\4\uffff\1\105", - "\1\110", - "\1\112\5\uffff\1\111", - "\1\113", - "", - "", - "", - "", - "", - "", - "", - "\1\124", - "", - "\1\126", - "", - "\1\130", - "\1\133\1\uffff\12\131", - "\1\133\1\uffff\12\131", - "\1\133\1\uffff\4\134\6\135", - "\1\133\1\uffff\12\135", - "\1\136", - "\1\137\14\uffff\1\140", - "\1\141", - "\1\142", - "\1\144\23\uffff\1\143", - "\1\145", - "\1\146", - "\32\71\4\uffff\1\71\1\uffff\32\71", - "", - "\uffff\147", - "\uffff\147", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "\1\151", - "", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "\1\153", - "\1\154", - "", - "", - "", - "", - "\1\133\1\uffff\12\102", - "\1\133\1\uffff\12\102", - "", - "", - "", - "", - "", - "\1\155", - "\1\156", - "\1\157", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "\1\160", - "", - "\1\161", - "", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\16\71\1\162\13\71", - "\1\133\1\uffff\12\164\1\165", - "", - "", - "\1\133\1\uffff\12\164\1\165", - "\1\133\1\uffff\12\164", - "\1\166", - "\1\167", - "\1\170", - "\1\171", - "\1\172", - "\1\173", - "\1\174", - "\1\175", - "\1\176", - "", - "", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "\1\u0083", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "\1\u0085", - "\1\u0086", - "\1\u0087", - "", - "\1\133\1\uffff\12\u0088", - "", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "\1\u0089", - "\1\u008a", - "", - "", - "", - "", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "\1\u008d", - "\1\u008e", - "\1\133\1\165\12\u008f", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "\1\u0091", - "", - "", - "\1\u0092", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "\1\133\1\uffff\12\u008f", - "", - "\12\71\7\uffff\32\71\4\uffff\1\71\1\uffff\32\71", - "\1\u0094", - "", - "" - }; - - static final short[] DFA38_eot = DFA.unpackEncodedString(DFA38_eotS); - static final short[] DFA38_eof = DFA.unpackEncodedString(DFA38_eofS); - static final char[] DFA38_min = DFA.unpackEncodedStringToUnsignedChars(DFA38_minS); - static final char[] DFA38_max = DFA.unpackEncodedStringToUnsignedChars(DFA38_maxS); - static final short[] DFA38_accept = DFA.unpackEncodedString(DFA38_acceptS); - static final short[] DFA38_special = DFA.unpackEncodedString(DFA38_specialS); - static final short[][] DFA38_transition; - - static { - int numStates = DFA38_transitionS.length; - DFA38_transition = new short[numStates][]; - for (int i=0; i<numStates; i++) { - DFA38_transition[i] = DFA.unpackEncodedString(DFA38_transitionS[i]); - } - } - - class DFA38 extends DFA { - - public DFA38(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 38; - this.eot = DFA38_eot; - this.eof = DFA38_eof; - this.min = DFA38_min; - this.max = DFA38_max; - this.accept = DFA38_accept; - this.special = DFA38_special; - this.transition = DFA38_transition; - } - public String getDescription() { - return "1:1: Tokens : ( T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | T52 | T53 | RULE_INTEGERLITERAL | RULE_REALLITERAL | RULE_DATETIMELITERAL | RULE_BOOLEANLITERAL | RULE_NULLLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; - } - } - - -}
\ No newline at end of file diff --git a/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSLParser.java b/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSLParser.java deleted file mode 100644 index 02c5a6c7331..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSLParser.java +++ /dev/null @@ -1,8250 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 CEA LIST. - * - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.parser.antlr.internal; - -import java.io.InputStream; -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.xtext.parsetree.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; -import org.eclipse.xtext.conversion.ValueConverterException; -import org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.services.StereotypeApplicationWithVSLGrammarAccess; - - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalStereotypeApplicationWithVSLParser extends AbstractInternalAntlrParser { - public static final String[] tokenNames = new String[] { - "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INTEGERLITERAL", "RULE_REALLITERAL", "RULE_DATETIMELITERAL", "RULE_BOOLEANLITERAL", "RULE_NULLLITERAL", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'<<'", "'>>'", "','", "'='", "'and'", "'or'", "'xor'", "'=='", "'<>'", "'<'", "'>'", "'<='", "'>='", "'?'", "':'", "'+'", "'-'", "'*'", "'/'", "'mod'", "'not'", "'.'", "'('", "')'", "'::'", "']'", "'['", "'..'", "'{'", "'}'", "'@'", "'when'", "'&'", "'jitter('", "'$'", "'in'", "'out'", "'inout'" - }; - public static final int RULE_NULLLITERAL=9; - public static final int RULE_DATETIMELITERAL=7; - public static final int RULE_BOOLEANLITERAL=8; - public static final int RULE_ID=4; - public static final int RULE_STRING=10; - public static final int RULE_ANY_OTHER=15; - public static final int RULE_REALLITERAL=6; - public static final int RULE_INTEGERLITERAL=5; - public static final int RULE_INT=11; - public static final int RULE_WS=14; - public static final int RULE_SL_COMMENT=13; - public static final int EOF=-1; - public static final int RULE_ML_COMMENT=12; - - public InternalStereotypeApplicationWithVSLParser(TokenStream input) { - super(input); - } - - - public String[] getTokenNames() { return tokenNames; } - public String getGrammarFileName() { return "../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g"; } - - - - private StereotypeApplicationWithVSLGrammarAccess grammarAccess; - - public InternalStereotypeApplicationWithVSLParser(TokenStream input, IAstFactory factory, StereotypeApplicationWithVSLGrammarAccess grammarAccess) { - this(input); - this.factory = factory; - registerRules(grammarAccess.getGrammar()); - this.grammarAccess = grammarAccess; - } - - @Override - protected InputStream getTokenFile() { - ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.tokens"); - } - - @Override - protected String getFirstRuleName() { - return "StereotypeApplicationsRule"; - } - - @Override - protected StereotypeApplicationWithVSLGrammarAccess getGrammarAccess() { - return grammarAccess; - } - - - - // $ANTLR start entryRuleStereotypeApplicationsRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:77:1: entryRuleStereotypeApplicationsRule returns [EObject current=null] : iv_ruleStereotypeApplicationsRule= ruleStereotypeApplicationsRule EOF ; - public final EObject entryRuleStereotypeApplicationsRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleStereotypeApplicationsRule = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:78:2: (iv_ruleStereotypeApplicationsRule= ruleStereotypeApplicationsRule EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:79:2: iv_ruleStereotypeApplicationsRule= ruleStereotypeApplicationsRule EOF - { - currentNode = createCompositeNode(grammarAccess.getStereotypeApplicationsRuleRule(), currentNode); - pushFollow(FOLLOW_ruleStereotypeApplicationsRule_in_entryRuleStereotypeApplicationsRule75); - iv_ruleStereotypeApplicationsRule=ruleStereotypeApplicationsRule(); - _fsp--; - - current =iv_ruleStereotypeApplicationsRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleStereotypeApplicationsRule85); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleStereotypeApplicationsRule - - - // $ANTLR start ruleStereotypeApplicationsRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:86:1: ruleStereotypeApplicationsRule returns [EObject current=null] : ( (lv_stereotypeApplications_0_0= ruleStereotypeApplicationRule ) )* ; - public final EObject ruleStereotypeApplicationsRule() throws RecognitionException { - EObject current = null; - - EObject lv_stereotypeApplications_0_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:91:6: ( ( (lv_stereotypeApplications_0_0= ruleStereotypeApplicationRule ) )* ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:92:1: ( (lv_stereotypeApplications_0_0= ruleStereotypeApplicationRule ) )* - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:92:1: ( (lv_stereotypeApplications_0_0= ruleStereotypeApplicationRule ) )* - loop1: - do { - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0==16) ) { - alt1=1; - } - - - switch (alt1) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:93:1: (lv_stereotypeApplications_0_0= ruleStereotypeApplicationRule ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:93:1: (lv_stereotypeApplications_0_0= ruleStereotypeApplicationRule ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:94:3: lv_stereotypeApplications_0_0= ruleStereotypeApplicationRule - { - - currentNode=createCompositeNode(grammarAccess.getStereotypeApplicationsRuleAccess().getStereotypeApplicationsStereotypeApplicationRuleParserRuleCall_0(), currentNode); - - pushFollow(FOLLOW_ruleStereotypeApplicationRule_in_ruleStereotypeApplicationsRule130); - lv_stereotypeApplications_0_0=ruleStereotypeApplicationRule(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getStereotypeApplicationsRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "stereotypeApplications", - lv_stereotypeApplications_0_0, - "StereotypeApplicationRule", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - default : - break loop1; - } - } while (true); - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleStereotypeApplicationsRule - - - // $ANTLR start entryRuleStereotypeApplicationRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:124:1: entryRuleStereotypeApplicationRule returns [EObject current=null] : iv_ruleStereotypeApplicationRule= ruleStereotypeApplicationRule EOF ; - public final EObject entryRuleStereotypeApplicationRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleStereotypeApplicationRule = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:125:2: (iv_ruleStereotypeApplicationRule= ruleStereotypeApplicationRule EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:126:2: iv_ruleStereotypeApplicationRule= ruleStereotypeApplicationRule EOF - { - currentNode = createCompositeNode(grammarAccess.getStereotypeApplicationRuleRule(), currentNode); - pushFollow(FOLLOW_ruleStereotypeApplicationRule_in_entryRuleStereotypeApplicationRule166); - iv_ruleStereotypeApplicationRule=ruleStereotypeApplicationRule(); - _fsp--; - - current =iv_ruleStereotypeApplicationRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleStereotypeApplicationRule176); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleStereotypeApplicationRule - - - // $ANTLR start ruleStereotypeApplicationRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:133:1: ruleStereotypeApplicationRule returns [EObject current=null] : ( '<<' ( ( RULE_ID ) ) '>>' ( ( (lv_tagSpecification_3_0= ruleTagSpecificationRule ) ) ( ',' ( (lv_tagSpecification_5_0= ruleTagSpecificationRule ) ) )* )? ) ; - public final EObject ruleStereotypeApplicationRule() throws RecognitionException { - EObject current = null; - - EObject lv_tagSpecification_3_0 = null; - - EObject lv_tagSpecification_5_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:138:6: ( ( '<<' ( ( RULE_ID ) ) '>>' ( ( (lv_tagSpecification_3_0= ruleTagSpecificationRule ) ) ( ',' ( (lv_tagSpecification_5_0= ruleTagSpecificationRule ) ) )* )? ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:139:1: ( '<<' ( ( RULE_ID ) ) '>>' ( ( (lv_tagSpecification_3_0= ruleTagSpecificationRule ) ) ( ',' ( (lv_tagSpecification_5_0= ruleTagSpecificationRule ) ) )* )? ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:139:1: ( '<<' ( ( RULE_ID ) ) '>>' ( ( (lv_tagSpecification_3_0= ruleTagSpecificationRule ) ) ( ',' ( (lv_tagSpecification_5_0= ruleTagSpecificationRule ) ) )* )? ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:139:3: '<<' ( ( RULE_ID ) ) '>>' ( ( (lv_tagSpecification_3_0= ruleTagSpecificationRule ) ) ( ',' ( (lv_tagSpecification_5_0= ruleTagSpecificationRule ) ) )* )? - { - match(input,16,FOLLOW_16_in_ruleStereotypeApplicationRule211); - - createLeafNode(grammarAccess.getStereotypeApplicationRuleAccess().getLessThanSignLessThanSignKeyword_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:143:1: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:144:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:144:1: ( RULE_ID ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:145:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getStereotypeApplicationRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleStereotypeApplicationRule229); - - createLeafNode(grammarAccess.getStereotypeApplicationRuleAccess().getStereotypeStereotypeCrossReference_1_0(), "stereotype"); - - - } - - - } - - match(input,17,FOLLOW_17_in_ruleStereotypeApplicationRule239); - - createLeafNode(grammarAccess.getStereotypeApplicationRuleAccess().getGreaterThanSignGreaterThanSignKeyword_2(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:161:1: ( ( (lv_tagSpecification_3_0= ruleTagSpecificationRule ) ) ( ',' ( (lv_tagSpecification_5_0= ruleTagSpecificationRule ) ) )* )? - int alt3=2; - int LA3_0 = input.LA(1); - - if ( (LA3_0==RULE_ID) ) { - alt3=1; - } - switch (alt3) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:161:2: ( (lv_tagSpecification_3_0= ruleTagSpecificationRule ) ) ( ',' ( (lv_tagSpecification_5_0= ruleTagSpecificationRule ) ) )* - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:161:2: ( (lv_tagSpecification_3_0= ruleTagSpecificationRule ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:162:1: (lv_tagSpecification_3_0= ruleTagSpecificationRule ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:162:1: (lv_tagSpecification_3_0= ruleTagSpecificationRule ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:163:3: lv_tagSpecification_3_0= ruleTagSpecificationRule - { - - currentNode=createCompositeNode(grammarAccess.getStereotypeApplicationRuleAccess().getTagSpecificationTagSpecificationRuleParserRuleCall_3_0_0(), currentNode); - - pushFollow(FOLLOW_ruleTagSpecificationRule_in_ruleStereotypeApplicationRule261); - lv_tagSpecification_3_0=ruleTagSpecificationRule(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getStereotypeApplicationRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "tagSpecification", - lv_tagSpecification_3_0, - "TagSpecificationRule", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:185:2: ( ',' ( (lv_tagSpecification_5_0= ruleTagSpecificationRule ) ) )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( (LA2_0==18) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:185:4: ',' ( (lv_tagSpecification_5_0= ruleTagSpecificationRule ) ) - { - match(input,18,FOLLOW_18_in_ruleStereotypeApplicationRule272); - - createLeafNode(grammarAccess.getStereotypeApplicationRuleAccess().getCommaKeyword_3_1_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:189:1: ( (lv_tagSpecification_5_0= ruleTagSpecificationRule ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:190:1: (lv_tagSpecification_5_0= ruleTagSpecificationRule ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:190:1: (lv_tagSpecification_5_0= ruleTagSpecificationRule ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:191:3: lv_tagSpecification_5_0= ruleTagSpecificationRule - { - - currentNode=createCompositeNode(grammarAccess.getStereotypeApplicationRuleAccess().getTagSpecificationTagSpecificationRuleParserRuleCall_3_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleTagSpecificationRule_in_ruleStereotypeApplicationRule293); - lv_tagSpecification_5_0=ruleTagSpecificationRule(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getStereotypeApplicationRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "tagSpecification", - lv_tagSpecification_5_0, - "TagSpecificationRule", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - default : - break loop2; - } - } while (true); - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleStereotypeApplicationRule - - - // $ANTLR start entryRuleTagSpecificationRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:221:1: entryRuleTagSpecificationRule returns [EObject current=null] : iv_ruleTagSpecificationRule= ruleTagSpecificationRule EOF ; - public final EObject entryRuleTagSpecificationRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleTagSpecificationRule = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:222:2: (iv_ruleTagSpecificationRule= ruleTagSpecificationRule EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:223:2: iv_ruleTagSpecificationRule= ruleTagSpecificationRule EOF - { - currentNode = createCompositeNode(grammarAccess.getTagSpecificationRuleRule(), currentNode); - pushFollow(FOLLOW_ruleTagSpecificationRule_in_entryRuleTagSpecificationRule333); - iv_ruleTagSpecificationRule=ruleTagSpecificationRule(); - _fsp--; - - current =iv_ruleTagSpecificationRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleTagSpecificationRule343); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleTagSpecificationRule - - - // $ANTLR start ruleTagSpecificationRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:230:1: ruleTagSpecificationRule returns [EObject current=null] : ( ( ( RULE_ID ) ) ( (lv_value_1_0= ruleExpressionValueRule ) ) ) ; - public final EObject ruleTagSpecificationRule() throws RecognitionException { - EObject current = null; - - EObject lv_value_1_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:235:6: ( ( ( ( RULE_ID ) ) ( (lv_value_1_0= ruleExpressionValueRule ) ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:236:1: ( ( ( RULE_ID ) ) ( (lv_value_1_0= ruleExpressionValueRule ) ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:236:1: ( ( ( RULE_ID ) ) ( (lv_value_1_0= ruleExpressionValueRule ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:236:2: ( ( RULE_ID ) ) ( (lv_value_1_0= ruleExpressionValueRule ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:236:2: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:237:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:237:1: ( RULE_ID ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:238:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getTagSpecificationRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTagSpecificationRule386); - - createLeafNode(grammarAccess.getTagSpecificationRuleAccess().getPropertyPropertyCrossReference_0_0(), "property"); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:250:2: ( (lv_value_1_0= ruleExpressionValueRule ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:251:1: (lv_value_1_0= ruleExpressionValueRule ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:251:1: (lv_value_1_0= ruleExpressionValueRule ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:252:3: lv_value_1_0= ruleExpressionValueRule - { - - currentNode=createCompositeNode(grammarAccess.getTagSpecificationRuleAccess().getValueExpressionValueRuleParserRuleCall_1_0(), currentNode); - - pushFollow(FOLLOW_ruleExpressionValueRule_in_ruleTagSpecificationRule407); - lv_value_1_0=ruleExpressionValueRule(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getTagSpecificationRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "value", - lv_value_1_0, - "ExpressionValueRule", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleTagSpecificationRule - - - // $ANTLR start entryRuleExpressionValueRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:282:1: entryRuleExpressionValueRule returns [EObject current=null] : iv_ruleExpressionValueRule= ruleExpressionValueRule EOF ; - public final EObject entryRuleExpressionValueRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleExpressionValueRule = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:283:2: (iv_ruleExpressionValueRule= ruleExpressionValueRule EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:284:2: iv_ruleExpressionValueRule= ruleExpressionValueRule EOF - { - currentNode = createCompositeNode(grammarAccess.getExpressionValueRuleRule(), currentNode); - pushFollow(FOLLOW_ruleExpressionValueRule_in_entryRuleExpressionValueRule443); - iv_ruleExpressionValueRule=ruleExpressionValueRule(); - _fsp--; - - current =iv_ruleExpressionValueRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleExpressionValueRule453); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleExpressionValueRule - - - // $ANTLR start ruleExpressionValueRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:291:1: ruleExpressionValueRule returns [EObject current=null] : ( '=' ( (lv_expression_1_0= ruleExpression ) ) ) ; - public final EObject ruleExpressionValueRule() throws RecognitionException { - EObject current = null; - - EObject lv_expression_1_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:296:6: ( ( '=' ( (lv_expression_1_0= ruleExpression ) ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:297:1: ( '=' ( (lv_expression_1_0= ruleExpression ) ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:297:1: ( '=' ( (lv_expression_1_0= ruleExpression ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:297:3: '=' ( (lv_expression_1_0= ruleExpression ) ) - { - match(input,19,FOLLOW_19_in_ruleExpressionValueRule488); - - createLeafNode(grammarAccess.getExpressionValueRuleAccess().getEqualsSignKeyword_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:301:1: ( (lv_expression_1_0= ruleExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:302:1: (lv_expression_1_0= ruleExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:302:1: (lv_expression_1_0= ruleExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:303:3: lv_expression_1_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getExpressionValueRuleAccess().getExpressionExpressionParserRuleCall_1_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleExpressionValueRule509); - lv_expression_1_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getExpressionValueRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "expression", - lv_expression_1_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleExpressionValueRule - - - // $ANTLR start entryRuleExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:333:1: entryRuleExpression returns [EObject current=null] : iv_ruleExpression= ruleExpression EOF ; - public final EObject entryRuleExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleExpression = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:334:2: (iv_ruleExpression= ruleExpression EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:335:2: iv_ruleExpression= ruleExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleExpression_in_entryRuleExpression545); - iv_ruleExpression=ruleExpression(); - _fsp--; - - current =iv_ruleExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleExpression555); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleExpression - - - // $ANTLR start ruleExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:342:1: ruleExpression returns [EObject current=null] : ( (lv_exp_0_0= ruleAndOrXorExpression ) ) ; - public final EObject ruleExpression() throws RecognitionException { - EObject current = null; - - EObject lv_exp_0_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:347:6: ( ( (lv_exp_0_0= ruleAndOrXorExpression ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:348:1: ( (lv_exp_0_0= ruleAndOrXorExpression ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:348:1: ( (lv_exp_0_0= ruleAndOrXorExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:349:1: (lv_exp_0_0= ruleAndOrXorExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:349:1: (lv_exp_0_0= ruleAndOrXorExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:350:3: lv_exp_0_0= ruleAndOrXorExpression - { - - currentNode=createCompositeNode(grammarAccess.getExpressionAccess().getExpAndOrXorExpressionParserRuleCall_0(), currentNode); - - pushFollow(FOLLOW_ruleAndOrXorExpression_in_ruleExpression600); - lv_exp_0_0=ruleAndOrXorExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "exp", - lv_exp_0_0, - "AndOrXorExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleExpression - - - // $ANTLR start entryRuleAndOrXorExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:380:1: entryRuleAndOrXorExpression returns [EObject current=null] : iv_ruleAndOrXorExpression= ruleAndOrXorExpression EOF ; - public final EObject entryRuleAndOrXorExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleAndOrXorExpression = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:381:2: (iv_ruleAndOrXorExpression= ruleAndOrXorExpression EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:382:2: iv_ruleAndOrXorExpression= ruleAndOrXorExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getAndOrXorExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleAndOrXorExpression_in_entryRuleAndOrXorExpression635); - iv_ruleAndOrXorExpression=ruleAndOrXorExpression(); - _fsp--; - - current =iv_ruleAndOrXorExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleAndOrXorExpression645); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleAndOrXorExpression - - - // $ANTLR start ruleAndOrXorExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:389:1: ruleAndOrXorExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleEqualityExpression ) ) ( ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) ( (lv_exp_2_0= ruleEqualityExpression ) ) )* ) ; - public final EObject ruleAndOrXorExpression() throws RecognitionException { - EObject current = null; - - Token lv_op_1_1=null; - Token lv_op_1_2=null; - Token lv_op_1_3=null; - EObject lv_exp_0_0 = null; - - EObject lv_exp_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:394:6: ( ( ( (lv_exp_0_0= ruleEqualityExpression ) ) ( ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) ( (lv_exp_2_0= ruleEqualityExpression ) ) )* ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:395:1: ( ( (lv_exp_0_0= ruleEqualityExpression ) ) ( ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) ( (lv_exp_2_0= ruleEqualityExpression ) ) )* ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:395:1: ( ( (lv_exp_0_0= ruleEqualityExpression ) ) ( ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) ( (lv_exp_2_0= ruleEqualityExpression ) ) )* ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:395:2: ( (lv_exp_0_0= ruleEqualityExpression ) ) ( ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) ( (lv_exp_2_0= ruleEqualityExpression ) ) )* - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:395:2: ( (lv_exp_0_0= ruleEqualityExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:396:1: (lv_exp_0_0= ruleEqualityExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:396:1: (lv_exp_0_0= ruleEqualityExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:397:3: lv_exp_0_0= ruleEqualityExpression - { - - currentNode=createCompositeNode(grammarAccess.getAndOrXorExpressionAccess().getExpEqualityExpressionParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleEqualityExpression_in_ruleAndOrXorExpression691); - lv_exp_0_0=ruleEqualityExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_0_0, - "EqualityExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:419:2: ( ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) ( (lv_exp_2_0= ruleEqualityExpression ) ) )* - loop5: - do { - int alt5=2; - int LA5_0 = input.LA(1); - - if ( ((LA5_0>=20 && LA5_0<=22)) ) { - alt5=1; - } - - - switch (alt5) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:419:3: ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) ( (lv_exp_2_0= ruleEqualityExpression ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:419:3: ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:420:1: ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:420:1: ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:421:1: (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:421:1: (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) - int alt4=3; - switch ( input.LA(1) ) { - case 20: - { - alt4=1; - } - break; - case 21: - { - alt4=2; - } - break; - case 22: - { - alt4=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("421:1: (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' )", 4, 0, input); - - throw nvae; - } - - switch (alt4) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:422:3: lv_op_1_1= 'and' - { - lv_op_1_1=(Token)input.LT(1); - match(input,20,FOLLOW_20_in_ruleAndOrXorExpression712); - - createLeafNode(grammarAccess.getAndOrXorExpressionAccess().getOpAndKeyword_1_0_0_0(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:440:8: lv_op_1_2= 'or' - { - lv_op_1_2=(Token)input.LT(1); - match(input,21,FOLLOW_21_in_ruleAndOrXorExpression741); - - createLeafNode(grammarAccess.getAndOrXorExpressionAccess().getOpOrKeyword_1_0_0_1(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 3 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:458:8: lv_op_1_3= 'xor' - { - lv_op_1_3=(Token)input.LT(1); - match(input,22,FOLLOW_22_in_ruleAndOrXorExpression770); - - createLeafNode(grammarAccess.getAndOrXorExpressionAccess().getOpXorKeyword_1_0_0_2(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_3, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - - } - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:479:2: ( (lv_exp_2_0= ruleEqualityExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:480:1: (lv_exp_2_0= ruleEqualityExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:480:1: (lv_exp_2_0= ruleEqualityExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:481:3: lv_exp_2_0= ruleEqualityExpression - { - - currentNode=createCompositeNode(grammarAccess.getAndOrXorExpressionAccess().getExpEqualityExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleEqualityExpression_in_ruleAndOrXorExpression807); - lv_exp_2_0=ruleEqualityExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_2_0, - "EqualityExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - default : - break loop5; - } - } while (true); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleAndOrXorExpression - - - // $ANTLR start entryRuleEqualityExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:511:1: entryRuleEqualityExpression returns [EObject current=null] : iv_ruleEqualityExpression= ruleEqualityExpression EOF ; - public final EObject entryRuleEqualityExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleEqualityExpression = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:512:2: (iv_ruleEqualityExpression= ruleEqualityExpression EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:513:2: iv_ruleEqualityExpression= ruleEqualityExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getEqualityExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleEqualityExpression_in_entryRuleEqualityExpression845); - iv_ruleEqualityExpression=ruleEqualityExpression(); - _fsp--; - - current =iv_ruleEqualityExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleEqualityExpression855); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleEqualityExpression - - - // $ANTLR start ruleEqualityExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:520:1: ruleEqualityExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )* ) ; - public final EObject ruleEqualityExpression() throws RecognitionException { - EObject current = null; - - Token lv_op_1_1=null; - Token lv_op_1_2=null; - EObject lv_exp_0_0 = null; - - EObject lv_exp_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:525:6: ( ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )* ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:526:1: ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )* ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:526:1: ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )* ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:526:2: ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )* - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:526:2: ( (lv_exp_0_0= ruleRelationalExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:527:1: (lv_exp_0_0= ruleRelationalExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:527:1: (lv_exp_0_0= ruleRelationalExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:528:3: lv_exp_0_0= ruleRelationalExpression - { - - currentNode=createCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpRelationalExpressionParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleRelationalExpression_in_ruleEqualityExpression901); - lv_exp_0_0=ruleRelationalExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getEqualityExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_0_0, - "RelationalExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:550:2: ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )* - loop7: - do { - int alt7=2; - int LA7_0 = input.LA(1); - - if ( ((LA7_0>=23 && LA7_0<=24)) ) { - alt7=1; - } - - - switch (alt7) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:550:3: ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:550:3: ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:551:1: ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:551:1: ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:552:1: (lv_op_1_1= '==' | lv_op_1_2= '<>' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:552:1: (lv_op_1_1= '==' | lv_op_1_2= '<>' ) - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0==23) ) { - alt6=1; - } - else if ( (LA6_0==24) ) { - alt6=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("552:1: (lv_op_1_1= '==' | lv_op_1_2= '<>' )", 6, 0, input); - - throw nvae; - } - switch (alt6) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:553:3: lv_op_1_1= '==' - { - lv_op_1_1=(Token)input.LT(1); - match(input,23,FOLLOW_23_in_ruleEqualityExpression922); - - createLeafNode(grammarAccess.getEqualityExpressionAccess().getOpEqualsSignEqualsSignKeyword_1_0_0_0(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getEqualityExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:571:8: lv_op_1_2= '<>' - { - lv_op_1_2=(Token)input.LT(1); - match(input,24,FOLLOW_24_in_ruleEqualityExpression951); - - createLeafNode(grammarAccess.getEqualityExpressionAccess().getOpLessThanSignGreaterThanSignKeyword_1_0_0_1(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getEqualityExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - - } - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:592:2: ( (lv_exp_2_0= ruleRelationalExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:593:1: (lv_exp_2_0= ruleRelationalExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:593:1: (lv_exp_2_0= ruleRelationalExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:594:3: lv_exp_2_0= ruleRelationalExpression - { - - currentNode=createCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpRelationalExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleRelationalExpression_in_ruleEqualityExpression988); - lv_exp_2_0=ruleRelationalExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getEqualityExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_2_0, - "RelationalExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - default : - break loop7; - } - } while (true); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleEqualityExpression - - - // $ANTLR start entryRuleRelationalExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:624:1: entryRuleRelationalExpression returns [EObject current=null] : iv_ruleRelationalExpression= ruleRelationalExpression EOF ; - public final EObject entryRuleRelationalExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleRelationalExpression = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:625:2: (iv_ruleRelationalExpression= ruleRelationalExpression EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:626:2: iv_ruleRelationalExpression= ruleRelationalExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getRelationalExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleRelationalExpression_in_entryRuleRelationalExpression1026); - iv_ruleRelationalExpression=ruleRelationalExpression(); - _fsp--; - - current =iv_ruleRelationalExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleRelationalExpression1036); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleRelationalExpression - - - // $ANTLR start ruleRelationalExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:633:1: ruleRelationalExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleConditionalExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_exp_2_0= ruleConditionalExpression ) ) )* ) ; - public final EObject ruleRelationalExpression() throws RecognitionException { - EObject current = null; - - Token lv_op_1_1=null; - Token lv_op_1_2=null; - Token lv_op_1_3=null; - Token lv_op_1_4=null; - EObject lv_exp_0_0 = null; - - EObject lv_exp_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:638:6: ( ( ( (lv_exp_0_0= ruleConditionalExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_exp_2_0= ruleConditionalExpression ) ) )* ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:639:1: ( ( (lv_exp_0_0= ruleConditionalExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_exp_2_0= ruleConditionalExpression ) ) )* ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:639:1: ( ( (lv_exp_0_0= ruleConditionalExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_exp_2_0= ruleConditionalExpression ) ) )* ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:639:2: ( (lv_exp_0_0= ruleConditionalExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_exp_2_0= ruleConditionalExpression ) ) )* - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:639:2: ( (lv_exp_0_0= ruleConditionalExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:640:1: (lv_exp_0_0= ruleConditionalExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:640:1: (lv_exp_0_0= ruleConditionalExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:641:3: lv_exp_0_0= ruleConditionalExpression - { - - currentNode=createCompositeNode(grammarAccess.getRelationalExpressionAccess().getExpConditionalExpressionParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleConditionalExpression_in_ruleRelationalExpression1082); - lv_exp_0_0=ruleConditionalExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_0_0, - "ConditionalExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:663:2: ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_exp_2_0= ruleConditionalExpression ) ) )* - loop9: - do { - int alt9=2; - int LA9_0 = input.LA(1); - - if ( ((LA9_0>=25 && LA9_0<=28)) ) { - alt9=1; - } - - - switch (alt9) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:663:3: ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_exp_2_0= ruleConditionalExpression ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:663:3: ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:664:1: ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:664:1: ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:665:1: (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:665:1: (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) - int alt8=4; - switch ( input.LA(1) ) { - case 25: - { - alt8=1; - } - break; - case 26: - { - alt8=2; - } - break; - case 27: - { - alt8=3; - } - break; - case 28: - { - alt8=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("665:1: (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' )", 8, 0, input); - - throw nvae; - } - - switch (alt8) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:666:3: lv_op_1_1= '<' - { - lv_op_1_1=(Token)input.LT(1); - match(input,25,FOLLOW_25_in_ruleRelationalExpression1103); - - createLeafNode(grammarAccess.getRelationalExpressionAccess().getOpLessThanSignKeyword_1_0_0_0(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:684:8: lv_op_1_2= '>' - { - lv_op_1_2=(Token)input.LT(1); - match(input,26,FOLLOW_26_in_ruleRelationalExpression1132); - - createLeafNode(grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignKeyword_1_0_0_1(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 3 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:702:8: lv_op_1_3= '<=' - { - lv_op_1_3=(Token)input.LT(1); - match(input,27,FOLLOW_27_in_ruleRelationalExpression1161); - - createLeafNode(grammarAccess.getRelationalExpressionAccess().getOpLessThanSignEqualsSignKeyword_1_0_0_2(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_3, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 4 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:720:8: lv_op_1_4= '>=' - { - lv_op_1_4=(Token)input.LT(1); - match(input,28,FOLLOW_28_in_ruleRelationalExpression1190); - - createLeafNode(grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignEqualsSignKeyword_1_0_0_3(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_4, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - - } - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:741:2: ( (lv_exp_2_0= ruleConditionalExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:742:1: (lv_exp_2_0= ruleConditionalExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:742:1: (lv_exp_2_0= ruleConditionalExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:743:3: lv_exp_2_0= ruleConditionalExpression - { - - currentNode=createCompositeNode(grammarAccess.getRelationalExpressionAccess().getExpConditionalExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleConditionalExpression_in_ruleRelationalExpression1227); - lv_exp_2_0=ruleConditionalExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_2_0, - "ConditionalExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - default : - break loop9; - } - } while (true); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleRelationalExpression - - - // $ANTLR start entryRuleConditionalExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:773:1: entryRuleConditionalExpression returns [EObject current=null] : iv_ruleConditionalExpression= ruleConditionalExpression EOF ; - public final EObject entryRuleConditionalExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleConditionalExpression = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:774:2: (iv_ruleConditionalExpression= ruleConditionalExpression EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:775:2: iv_ruleConditionalExpression= ruleConditionalExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getConditionalExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleConditionalExpression_in_entryRuleConditionalExpression1265); - iv_ruleConditionalExpression=ruleConditionalExpression(); - _fsp--; - - current =iv_ruleConditionalExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleConditionalExpression1275); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleConditionalExpression - - - // $ANTLR start ruleConditionalExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:782:1: ruleConditionalExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )? ) ; - public final EObject ruleConditionalExpression() throws RecognitionException { - EObject current = null; - - Token lv_op_1_0=null; - EObject lv_exp_0_0 = null; - - EObject lv_exp_2_0 = null; - - EObject lv_exp_4_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:787:6: ( ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )? ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:788:1: ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )? ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:788:1: ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )? ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:788:2: ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )? - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:788:2: ( (lv_exp_0_0= ruleAdditiveExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:789:1: (lv_exp_0_0= ruleAdditiveExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:789:1: (lv_exp_0_0= ruleAdditiveExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:790:3: lv_exp_0_0= ruleAdditiveExpression - { - - currentNode=createCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression1321); - lv_exp_0_0=ruleAdditiveExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getConditionalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_0_0, - "AdditiveExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:812:2: ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )? - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0==29) ) { - alt10=1; - } - switch (alt10) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:812:3: ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:812:3: ( (lv_op_1_0= '?' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:813:1: (lv_op_1_0= '?' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:813:1: (lv_op_1_0= '?' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:814:3: lv_op_1_0= '?' - { - lv_op_1_0=(Token)input.LT(1); - match(input,29,FOLLOW_29_in_ruleConditionalExpression1340); - - createLeafNode(grammarAccess.getConditionalExpressionAccess().getOpQuestionMarkKeyword_1_0_0(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getConditionalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_0, "?", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:833:2: ( (lv_exp_2_0= ruleAdditiveExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:834:1: (lv_exp_2_0= ruleAdditiveExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:834:1: (lv_exp_2_0= ruleAdditiveExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:835:3: lv_exp_2_0= ruleAdditiveExpression - { - - currentNode=createCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression1374); - lv_exp_2_0=ruleAdditiveExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getConditionalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_2_0, - "AdditiveExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,30,FOLLOW_30_in_ruleConditionalExpression1384); - - createLeafNode(grammarAccess.getConditionalExpressionAccess().getColonKeyword_1_2(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:861:1: ( (lv_exp_4_0= ruleAdditiveExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:862:1: (lv_exp_4_0= ruleAdditiveExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:862:1: (lv_exp_4_0= ruleAdditiveExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:863:3: lv_exp_4_0= ruleAdditiveExpression - { - - currentNode=createCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_3_0(), currentNode); - - pushFollow(FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression1405); - lv_exp_4_0=ruleAdditiveExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getConditionalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_4_0, - "AdditiveExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleConditionalExpression - - - // $ANTLR start entryRuleAdditiveExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:893:1: entryRuleAdditiveExpression returns [EObject current=null] : iv_ruleAdditiveExpression= ruleAdditiveExpression EOF ; - public final EObject entryRuleAdditiveExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleAdditiveExpression = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:894:2: (iv_ruleAdditiveExpression= ruleAdditiveExpression EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:895:2: iv_ruleAdditiveExpression= ruleAdditiveExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getAdditiveExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleAdditiveExpression_in_entryRuleAdditiveExpression1443); - iv_ruleAdditiveExpression=ruleAdditiveExpression(); - _fsp--; - - current =iv_ruleAdditiveExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleAdditiveExpression1453); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleAdditiveExpression - - - // $ANTLR start ruleAdditiveExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:902:1: ruleAdditiveExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* ) ; - public final EObject ruleAdditiveExpression() throws RecognitionException { - EObject current = null; - - Token lv_op_1_1=null; - Token lv_op_1_2=null; - EObject lv_exp_0_0 = null; - - EObject lv_exp_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:907:6: ( ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:908:1: ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:908:1: ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:908:2: ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:908:2: ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:909:1: (lv_exp_0_0= ruleMultiplicativeExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:909:1: (lv_exp_0_0= ruleMultiplicativeExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:910:3: lv_exp_0_0= ruleMultiplicativeExpression - { - - currentNode=createCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression1499); - lv_exp_0_0=ruleMultiplicativeExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getAdditiveExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_0_0, - "MultiplicativeExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:932:2: ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* - loop12: - do { - int alt12=2; - int LA12_0 = input.LA(1); - - if ( ((LA12_0>=31 && LA12_0<=32)) ) { - alt12=1; - } - - - switch (alt12) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:932:3: ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:932:3: ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:933:1: ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:933:1: ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:934:1: (lv_op_1_1= '+' | lv_op_1_2= '-' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:934:1: (lv_op_1_1= '+' | lv_op_1_2= '-' ) - int alt11=2; - int LA11_0 = input.LA(1); - - if ( (LA11_0==31) ) { - alt11=1; - } - else if ( (LA11_0==32) ) { - alt11=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("934:1: (lv_op_1_1= '+' | lv_op_1_2= '-' )", 11, 0, input); - - throw nvae; - } - switch (alt11) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:935:3: lv_op_1_1= '+' - { - lv_op_1_1=(Token)input.LT(1); - match(input,31,FOLLOW_31_in_ruleAdditiveExpression1520); - - createLeafNode(grammarAccess.getAdditiveExpressionAccess().getOpPlusSignKeyword_1_0_0_0(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getAdditiveExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:953:8: lv_op_1_2= '-' - { - lv_op_1_2=(Token)input.LT(1); - match(input,32,FOLLOW_32_in_ruleAdditiveExpression1549); - - createLeafNode(grammarAccess.getAdditiveExpressionAccess().getOpHyphenMinusKeyword_1_0_0_1(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getAdditiveExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - - } - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:974:2: ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:975:1: (lv_exp_2_0= ruleMultiplicativeExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:975:1: (lv_exp_2_0= ruleMultiplicativeExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:976:3: lv_exp_2_0= ruleMultiplicativeExpression - { - - currentNode=createCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression1586); - lv_exp_2_0=ruleMultiplicativeExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getAdditiveExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_2_0, - "MultiplicativeExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - default : - break loop12; - } - } while (true); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleAdditiveExpression - - - // $ANTLR start entryRuleMultiplicativeExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1006:1: entryRuleMultiplicativeExpression returns [EObject current=null] : iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF ; - public final EObject entryRuleMultiplicativeExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleMultiplicativeExpression = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1007:2: (iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1008:2: iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getMultiplicativeExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleMultiplicativeExpression_in_entryRuleMultiplicativeExpression1624); - iv_ruleMultiplicativeExpression=ruleMultiplicativeExpression(); - _fsp--; - - current =iv_ruleMultiplicativeExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleMultiplicativeExpression1634); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleMultiplicativeExpression - - - // $ANTLR start ruleMultiplicativeExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1015:1: ruleMultiplicativeExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* ) ; - public final EObject ruleMultiplicativeExpression() throws RecognitionException { - EObject current = null; - - Token lv_op_1_1=null; - Token lv_op_1_2=null; - Token lv_op_1_3=null; - EObject lv_exp_0_0 = null; - - EObject lv_exp_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1020:6: ( ( ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1021:1: ( ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1021:1: ( ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1021:2: ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1021:2: ( (lv_exp_0_0= ruleUnaryExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1022:1: (lv_exp_0_0= ruleUnaryExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1022:1: (lv_exp_0_0= ruleUnaryExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1023:3: lv_exp_0_0= ruleUnaryExpression - { - - currentNode=createCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression1680); - lv_exp_0_0=ruleUnaryExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_0_0, - "UnaryExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1045:2: ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* - loop14: - do { - int alt14=2; - int LA14_0 = input.LA(1); - - if ( ((LA14_0>=33 && LA14_0<=35)) ) { - alt14=1; - } - - - switch (alt14) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1045:3: ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1045:3: ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1046:1: ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1046:1: ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1047:1: (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1047:1: (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) - int alt13=3; - switch ( input.LA(1) ) { - case 33: - { - alt13=1; - } - break; - case 34: - { - alt13=2; - } - break; - case 35: - { - alt13=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("1047:1: (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' )", 13, 0, input); - - throw nvae; - } - - switch (alt13) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1048:3: lv_op_1_1= '*' - { - lv_op_1_1=(Token)input.LT(1); - match(input,33,FOLLOW_33_in_ruleMultiplicativeExpression1701); - - createLeafNode(grammarAccess.getMultiplicativeExpressionAccess().getOpAsteriskKeyword_1_0_0_0(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1066:8: lv_op_1_2= '/' - { - lv_op_1_2=(Token)input.LT(1); - match(input,34,FOLLOW_34_in_ruleMultiplicativeExpression1730); - - createLeafNode(grammarAccess.getMultiplicativeExpressionAccess().getOpSolidusKeyword_1_0_0_1(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 3 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1084:8: lv_op_1_3= 'mod' - { - lv_op_1_3=(Token)input.LT(1); - match(input,35,FOLLOW_35_in_ruleMultiplicativeExpression1759); - - createLeafNode(grammarAccess.getMultiplicativeExpressionAccess().getOpModKeyword_1_0_0_2(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_3, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - - } - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1105:2: ( (lv_exp_2_0= ruleUnaryExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1106:1: (lv_exp_2_0= ruleUnaryExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1106:1: (lv_exp_2_0= ruleUnaryExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1107:3: lv_exp_2_0= ruleUnaryExpression - { - - currentNode=createCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression1796); - lv_exp_2_0=ruleUnaryExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_2_0, - "UnaryExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - default : - break loop14; - } - } while (true); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleMultiplicativeExpression - - - // $ANTLR start entryRuleUnaryExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1137:1: entryRuleUnaryExpression returns [EObject current=null] : iv_ruleUnaryExpression= ruleUnaryExpression EOF ; - public final EObject entryRuleUnaryExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleUnaryExpression = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1138:2: (iv_ruleUnaryExpression= ruleUnaryExpression EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1139:2: iv_ruleUnaryExpression= ruleUnaryExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getUnaryExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleUnaryExpression_in_entryRuleUnaryExpression1834); - iv_ruleUnaryExpression=ruleUnaryExpression(); - _fsp--; - - current =iv_ruleUnaryExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleUnaryExpression1844); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleUnaryExpression - - - // $ANTLR start ruleUnaryExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1146:1: ruleUnaryExpression returns [EObject current=null] : ( ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) ) | ( (lv_exp_2_0= rulePrimaryExpression ) ) ) ; - public final EObject ruleUnaryExpression() throws RecognitionException { - EObject current = null; - - Token lv_op_0_1=null; - Token lv_op_0_2=null; - Token lv_op_0_3=null; - EObject lv_unary_1_0 = null; - - EObject lv_exp_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1151:6: ( ( ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) ) | ( (lv_exp_2_0= rulePrimaryExpression ) ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1152:1: ( ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) ) | ( (lv_exp_2_0= rulePrimaryExpression ) ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1152:1: ( ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) ) | ( (lv_exp_2_0= rulePrimaryExpression ) ) ) - int alt16=2; - int LA16_0 = input.LA(1); - - if ( ((LA16_0>=31 && LA16_0<=32)||LA16_0==36) ) { - alt16=1; - } - else if ( ((LA16_0>=RULE_ID && LA16_0<=RULE_STRING)||(LA16_0>=33 && LA16_0<=34)||LA16_0==38||(LA16_0>=41 && LA16_0<=42)||LA16_0==44||LA16_0==46||(LA16_0>=48 && LA16_0<=53)) ) { - alt16=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("1152:1: ( ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) ) | ( (lv_exp_2_0= rulePrimaryExpression ) ) )", 16, 0, input); - - throw nvae; - } - switch (alt16) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1152:2: ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1152:2: ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1152:3: ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1152:3: ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1153:1: ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1153:1: ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1154:1: (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1154:1: (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) - int alt15=3; - switch ( input.LA(1) ) { - case 36: - { - alt15=1; - } - break; - case 32: - { - alt15=2; - } - break; - case 31: - { - alt15=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("1154:1: (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' )", 15, 0, input); - - throw nvae; - } - - switch (alt15) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1155:3: lv_op_0_1= 'not' - { - lv_op_0_1=(Token)input.LT(1); - match(input,36,FOLLOW_36_in_ruleUnaryExpression1890); - - createLeafNode(grammarAccess.getUnaryExpressionAccess().getOpNotKeyword_0_0_0_0(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - set(current, "op", lv_op_0_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1173:8: lv_op_0_2= '-' - { - lv_op_0_2=(Token)input.LT(1); - match(input,32,FOLLOW_32_in_ruleUnaryExpression1919); - - createLeafNode(grammarAccess.getUnaryExpressionAccess().getOpHyphenMinusKeyword_0_0_0_1(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - set(current, "op", lv_op_0_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 3 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1191:8: lv_op_0_3= '+' - { - lv_op_0_3=(Token)input.LT(1); - match(input,31,FOLLOW_31_in_ruleUnaryExpression1948); - - createLeafNode(grammarAccess.getUnaryExpressionAccess().getOpPlusSignKeyword_0_0_0_2(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - set(current, "op", lv_op_0_3, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - - } - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1212:2: ( (lv_unary_1_0= ruleUnaryExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1213:1: (lv_unary_1_0= ruleUnaryExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1213:1: (lv_unary_1_0= ruleUnaryExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1214:3: lv_unary_1_0= ruleUnaryExpression - { - - currentNode=createCompositeNode(grammarAccess.getUnaryExpressionAccess().getUnaryUnaryExpressionParserRuleCall_0_1_0(), currentNode); - - pushFollow(FOLLOW_ruleUnaryExpression_in_ruleUnaryExpression1985); - lv_unary_1_0=ruleUnaryExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "unary", - lv_unary_1_0, - "UnaryExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1237:6: ( (lv_exp_2_0= rulePrimaryExpression ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1237:6: ( (lv_exp_2_0= rulePrimaryExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1238:1: (lv_exp_2_0= rulePrimaryExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1238:1: (lv_exp_2_0= rulePrimaryExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1239:3: lv_exp_2_0= rulePrimaryExpression - { - - currentNode=createCompositeNode(grammarAccess.getUnaryExpressionAccess().getExpPrimaryExpressionParserRuleCall_1_0(), currentNode); - - pushFollow(FOLLOW_rulePrimaryExpression_in_ruleUnaryExpression2013); - lv_exp_2_0=rulePrimaryExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "exp", - lv_exp_2_0, - "PrimaryExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleUnaryExpression - - - // $ANTLR start entryRulePrimaryExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1269:1: entryRulePrimaryExpression returns [EObject current=null] : iv_rulePrimaryExpression= rulePrimaryExpression EOF ; - public final EObject entryRulePrimaryExpression() throws RecognitionException { - EObject current = null; - - EObject iv_rulePrimaryExpression = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1270:2: (iv_rulePrimaryExpression= rulePrimaryExpression EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1271:2: iv_rulePrimaryExpression= rulePrimaryExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getPrimaryExpressionRule(), currentNode); - pushFollow(FOLLOW_rulePrimaryExpression_in_entryRulePrimaryExpression2049); - iv_rulePrimaryExpression=rulePrimaryExpression(); - _fsp--; - - current =iv_rulePrimaryExpression; - match(input,EOF,FOLLOW_EOF_in_entryRulePrimaryExpression2059); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRulePrimaryExpression - - - // $ANTLR start rulePrimaryExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1278:1: rulePrimaryExpression returns [EObject current=null] : ( ( (lv_prefix_0_0= ruleValueSpecification ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) ; - public final EObject rulePrimaryExpression() throws RecognitionException { - EObject current = null; - - EObject lv_prefix_0_0 = null; - - EObject lv_suffix_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1283:6: ( ( ( (lv_prefix_0_0= ruleValueSpecification ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1284:1: ( ( (lv_prefix_0_0= ruleValueSpecification ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1284:1: ( ( (lv_prefix_0_0= ruleValueSpecification ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1284:2: ( (lv_prefix_0_0= ruleValueSpecification ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1284:2: ( (lv_prefix_0_0= ruleValueSpecification ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1285:1: (lv_prefix_0_0= ruleValueSpecification ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1285:1: (lv_prefix_0_0= ruleValueSpecification ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1286:3: lv_prefix_0_0= ruleValueSpecification - { - - currentNode=createCompositeNode(grammarAccess.getPrimaryExpressionAccess().getPrefixValueSpecificationParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleValueSpecification_in_rulePrimaryExpression2105); - lv_prefix_0_0=ruleValueSpecification(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getPrimaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "prefix", - lv_prefix_0_0, - "ValueSpecification", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1308:2: ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? - int alt17=2; - int LA17_0 = input.LA(1); - - if ( (LA17_0==37) ) { - alt17=1; - } - switch (alt17) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1308:4: '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) - { - match(input,37,FOLLOW_37_in_rulePrimaryExpression2116); - - createLeafNode(grammarAccess.getPrimaryExpressionAccess().getFullStopKeyword_1_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1312:1: ( (lv_suffix_2_0= ruleSuffixExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1313:1: (lv_suffix_2_0= ruleSuffixExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1313:1: (lv_suffix_2_0= ruleSuffixExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1314:3: lv_suffix_2_0= ruleSuffixExpression - { - - currentNode=createCompositeNode(grammarAccess.getPrimaryExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleSuffixExpression_in_rulePrimaryExpression2137); - lv_suffix_2_0=ruleSuffixExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getPrimaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "suffix", - lv_suffix_2_0, - "SuffixExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end rulePrimaryExpression - - - // $ANTLR start entryRuleValueSpecification - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1344:1: entryRuleValueSpecification returns [EObject current=null] : iv_ruleValueSpecification= ruleValueSpecification EOF ; - public final EObject entryRuleValueSpecification() throws RecognitionException { - EObject current = null; - - EObject iv_ruleValueSpecification = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1345:2: (iv_ruleValueSpecification= ruleValueSpecification EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1346:2: iv_ruleValueSpecification= ruleValueSpecification EOF - { - currentNode = createCompositeNode(grammarAccess.getValueSpecificationRule(), currentNode); - pushFollow(FOLLOW_ruleValueSpecification_in_entryRuleValueSpecification2175); - iv_ruleValueSpecification=ruleValueSpecification(); - _fsp--; - - current =iv_ruleValueSpecification; - match(input,EOF,FOLLOW_EOF_in_entryRuleValueSpecification2185); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleValueSpecification - - - // $ANTLR start ruleValueSpecification - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1353:1: ruleValueSpecification returns [EObject current=null] : (this_Literal_0= ruleLiteral | this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall | this_Interval_2= ruleInterval | this_CollectionOrTuple_3= ruleCollectionOrTuple | this_Tuple_4= ruleTuple | this_TimeExpression_5= ruleTimeExpression | this_VariableDeclaration_6= ruleVariableDeclaration | ( '(' this_Expression_8= ruleExpression ')' ) ) ; - public final EObject ruleValueSpecification() throws RecognitionException { - EObject current = null; - - EObject this_Literal_0 = null; - - EObject this_NameOrChoiceOrBehaviorCall_1 = null; - - EObject this_Interval_2 = null; - - EObject this_CollectionOrTuple_3 = null; - - EObject this_Tuple_4 = null; - - EObject this_TimeExpression_5 = null; - - EObject this_VariableDeclaration_6 = null; - - EObject this_Expression_8 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1358:6: ( (this_Literal_0= ruleLiteral | this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall | this_Interval_2= ruleInterval | this_CollectionOrTuple_3= ruleCollectionOrTuple | this_Tuple_4= ruleTuple | this_TimeExpression_5= ruleTimeExpression | this_VariableDeclaration_6= ruleVariableDeclaration | ( '(' this_Expression_8= ruleExpression ')' ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1359:1: (this_Literal_0= ruleLiteral | this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall | this_Interval_2= ruleInterval | this_CollectionOrTuple_3= ruleCollectionOrTuple | this_Tuple_4= ruleTuple | this_TimeExpression_5= ruleTimeExpression | this_VariableDeclaration_6= ruleVariableDeclaration | ( '(' this_Expression_8= ruleExpression ')' ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1359:1: (this_Literal_0= ruleLiteral | this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall | this_Interval_2= ruleInterval | this_CollectionOrTuple_3= ruleCollectionOrTuple | this_Tuple_4= ruleTuple | this_TimeExpression_5= ruleTimeExpression | this_VariableDeclaration_6= ruleVariableDeclaration | ( '(' this_Expression_8= ruleExpression ')' ) ) - int alt18=8; - switch ( input.LA(1) ) { - case RULE_INTEGERLITERAL: - case RULE_REALLITERAL: - case RULE_DATETIMELITERAL: - case RULE_BOOLEANLITERAL: - case RULE_NULLLITERAL: - case RULE_STRING: - case 33: - case 34: - { - alt18=1; - } - break; - case RULE_ID: - { - alt18=2; - } - break; - case 41: - case 42: - { - alt18=3; - } - break; - case 44: - { - int LA18_4 = input.LA(2); - - if ( ((LA18_4>=RULE_INTEGERLITERAL && LA18_4<=RULE_STRING)||(LA18_4>=31 && LA18_4<=34)||LA18_4==36||LA18_4==38||(LA18_4>=41 && LA18_4<=42)||LA18_4==44||LA18_4==46||(LA18_4>=48 && LA18_4<=53)) ) { - alt18=4; - } - else if ( (LA18_4==RULE_ID) ) { - int LA18_9 = input.LA(3); - - if ( (LA18_9==18||(LA18_9>=20 && LA18_9<=29)||(LA18_9>=31 && LA18_9<=35)||(LA18_9>=37 && LA18_9<=38)||LA18_9==40||LA18_9==45) ) { - alt18=4; - } - else if ( (LA18_9==19) ) { - alt18=5; - } - else { - NoViableAltException nvae = - new NoViableAltException("1359:1: (this_Literal_0= ruleLiteral | this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall | this_Interval_2= ruleInterval | this_CollectionOrTuple_3= ruleCollectionOrTuple | this_Tuple_4= ruleTuple | this_TimeExpression_5= ruleTimeExpression | this_VariableDeclaration_6= ruleVariableDeclaration | ( '(' this_Expression_8= ruleExpression ')' ) )", 18, 9, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("1359:1: (this_Literal_0= ruleLiteral | this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall | this_Interval_2= ruleInterval | this_CollectionOrTuple_3= ruleCollectionOrTuple | this_Tuple_4= ruleTuple | this_TimeExpression_5= ruleTimeExpression | this_VariableDeclaration_6= ruleVariableDeclaration | ( '(' this_Expression_8= ruleExpression ')' ) )", 18, 4, input); - - throw nvae; - } - } - break; - case 46: - case 48: - case 49: - { - alt18=6; - } - break; - case 50: - case 51: - case 52: - case 53: - { - alt18=7; - } - break; - case 38: - { - alt18=8; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("1359:1: (this_Literal_0= ruleLiteral | this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall | this_Interval_2= ruleInterval | this_CollectionOrTuple_3= ruleCollectionOrTuple | this_Tuple_4= ruleTuple | this_TimeExpression_5= ruleTimeExpression | this_VariableDeclaration_6= ruleVariableDeclaration | ( '(' this_Expression_8= ruleExpression ')' ) )", 18, 0, input); - - throw nvae; - } - - switch (alt18) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1360:5: this_Literal_0= ruleLiteral - { - - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getLiteralParserRuleCall_0(), currentNode); - - pushFollow(FOLLOW_ruleLiteral_in_ruleValueSpecification2232); - this_Literal_0=ruleLiteral(); - _fsp--; - - - current = this_Literal_0; - currentNode = currentNode.getParent(); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1370:5: this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall - { - - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getNameOrChoiceOrBehaviorCallParserRuleCall_1(), currentNode); - - pushFollow(FOLLOW_ruleNameOrChoiceOrBehaviorCall_in_ruleValueSpecification2259); - this_NameOrChoiceOrBehaviorCall_1=ruleNameOrChoiceOrBehaviorCall(); - _fsp--; - - - current = this_NameOrChoiceOrBehaviorCall_1; - currentNode = currentNode.getParent(); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1380:5: this_Interval_2= ruleInterval - { - - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getIntervalParserRuleCall_2(), currentNode); - - pushFollow(FOLLOW_ruleInterval_in_ruleValueSpecification2286); - this_Interval_2=ruleInterval(); - _fsp--; - - - current = this_Interval_2; - currentNode = currentNode.getParent(); - - - } - break; - case 4 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1390:5: this_CollectionOrTuple_3= ruleCollectionOrTuple - { - - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getCollectionOrTupleParserRuleCall_3(), currentNode); - - pushFollow(FOLLOW_ruleCollectionOrTuple_in_ruleValueSpecification2313); - this_CollectionOrTuple_3=ruleCollectionOrTuple(); - _fsp--; - - - current = this_CollectionOrTuple_3; - currentNode = currentNode.getParent(); - - - } - break; - case 5 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1400:5: this_Tuple_4= ruleTuple - { - - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getTupleParserRuleCall_4(), currentNode); - - pushFollow(FOLLOW_ruleTuple_in_ruleValueSpecification2340); - this_Tuple_4=ruleTuple(); - _fsp--; - - - current = this_Tuple_4; - currentNode = currentNode.getParent(); - - - } - break; - case 6 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1410:5: this_TimeExpression_5= ruleTimeExpression - { - - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getTimeExpressionParserRuleCall_5(), currentNode); - - pushFollow(FOLLOW_ruleTimeExpression_in_ruleValueSpecification2367); - this_TimeExpression_5=ruleTimeExpression(); - _fsp--; - - - current = this_TimeExpression_5; - currentNode = currentNode.getParent(); - - - } - break; - case 7 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1420:5: this_VariableDeclaration_6= ruleVariableDeclaration - { - - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getVariableDeclarationParserRuleCall_6(), currentNode); - - pushFollow(FOLLOW_ruleVariableDeclaration_in_ruleValueSpecification2394); - this_VariableDeclaration_6=ruleVariableDeclaration(); - _fsp--; - - - current = this_VariableDeclaration_6; - currentNode = currentNode.getParent(); - - - } - break; - case 8 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1429:6: ( '(' this_Expression_8= ruleExpression ')' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1429:6: ( '(' this_Expression_8= ruleExpression ')' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1429:8: '(' this_Expression_8= ruleExpression ')' - { - match(input,38,FOLLOW_38_in_ruleValueSpecification2410); - - createLeafNode(grammarAccess.getValueSpecificationAccess().getLeftParenthesisKeyword_7_0(), null); - - - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getExpressionParserRuleCall_7_1(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleValueSpecification2432); - this_Expression_8=ruleExpression(); - _fsp--; - - - current = this_Expression_8; - currentNode = currentNode.getParent(); - - match(input,39,FOLLOW_39_in_ruleValueSpecification2441); - - createLeafNode(grammarAccess.getValueSpecificationAccess().getRightParenthesisKeyword_7_2(), null); - - - } - - - } - break; - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleValueSpecification - - - // $ANTLR start entryRuleSuffixExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1454:1: entryRuleSuffixExpression returns [EObject current=null] : iv_ruleSuffixExpression= ruleSuffixExpression EOF ; - public final EObject entryRuleSuffixExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleSuffixExpression = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1455:2: (iv_ruleSuffixExpression= ruleSuffixExpression EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1456:2: iv_ruleSuffixExpression= ruleSuffixExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getSuffixExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleSuffixExpression_in_entryRuleSuffixExpression2478); - iv_ruleSuffixExpression=ruleSuffixExpression(); - _fsp--; - - current =iv_ruleSuffixExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleSuffixExpression2488); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleSuffixExpression - - - // $ANTLR start ruleSuffixExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1463:1: ruleSuffixExpression returns [EObject current=null] : (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression ) ; - public final EObject ruleSuffixExpression() throws RecognitionException { - EObject current = null; - - EObject this_PropertyCallExpression_0 = null; - - EObject this_OperationCallExpression_1 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1468:6: ( (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1469:1: (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1469:1: (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression ) - int alt19=2; - int LA19_0 = input.LA(1); - - if ( (LA19_0==RULE_ID) ) { - int LA19_1 = input.LA(2); - - if ( (LA19_1==38) ) { - alt19=2; - } - else if ( (LA19_1==EOF||LA19_1==16||LA19_1==18||(LA19_1>=20 && LA19_1<=35)||LA19_1==37||LA19_1==39||(LA19_1>=41 && LA19_1<=43)||LA19_1==45) ) { - alt19=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("1469:1: (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression )", 19, 1, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("1469:1: (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression )", 19, 0, input); - - throw nvae; - } - switch (alt19) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1470:5: this_PropertyCallExpression_0= rulePropertyCallExpression - { - - currentNode=createCompositeNode(grammarAccess.getSuffixExpressionAccess().getPropertyCallExpressionParserRuleCall_0(), currentNode); - - pushFollow(FOLLOW_rulePropertyCallExpression_in_ruleSuffixExpression2535); - this_PropertyCallExpression_0=rulePropertyCallExpression(); - _fsp--; - - - current = this_PropertyCallExpression_0; - currentNode = currentNode.getParent(); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1480:5: this_OperationCallExpression_1= ruleOperationCallExpression - { - - currentNode=createCompositeNode(grammarAccess.getSuffixExpressionAccess().getOperationCallExpressionParserRuleCall_1(), currentNode); - - pushFollow(FOLLOW_ruleOperationCallExpression_in_ruleSuffixExpression2562); - this_OperationCallExpression_1=ruleOperationCallExpression(); - _fsp--; - - - current = this_OperationCallExpression_1; - currentNode = currentNode.getParent(); - - - } - break; - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleSuffixExpression - - - // $ANTLR start entryRulePropertyCallExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1496:1: entryRulePropertyCallExpression returns [EObject current=null] : iv_rulePropertyCallExpression= rulePropertyCallExpression EOF ; - public final EObject entryRulePropertyCallExpression() throws RecognitionException { - EObject current = null; - - EObject iv_rulePropertyCallExpression = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1497:2: (iv_rulePropertyCallExpression= rulePropertyCallExpression EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1498:2: iv_rulePropertyCallExpression= rulePropertyCallExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getPropertyCallExpressionRule(), currentNode); - pushFollow(FOLLOW_rulePropertyCallExpression_in_entryRulePropertyCallExpression2597); - iv_rulePropertyCallExpression=rulePropertyCallExpression(); - _fsp--; - - current =iv_rulePropertyCallExpression; - match(input,EOF,FOLLOW_EOF_in_entryRulePropertyCallExpression2607); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRulePropertyCallExpression - - - // $ANTLR start rulePropertyCallExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1505:1: rulePropertyCallExpression returns [EObject current=null] : ( ( ( RULE_ID ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) ; - public final EObject rulePropertyCallExpression() throws RecognitionException { - EObject current = null; - - EObject lv_suffix_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1510:6: ( ( ( ( RULE_ID ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1511:1: ( ( ( RULE_ID ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1511:1: ( ( ( RULE_ID ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1511:2: ( ( RULE_ID ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1511:2: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1512:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1512:1: ( RULE_ID ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1513:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getPropertyCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePropertyCallExpression2650); - - createLeafNode(grammarAccess.getPropertyCallExpressionAccess().getPropertyPropertyCrossReference_0_0(), "property"); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1525:2: ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? - int alt20=2; - int LA20_0 = input.LA(1); - - if ( (LA20_0==37) ) { - alt20=1; - } - switch (alt20) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1525:4: '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) - { - match(input,37,FOLLOW_37_in_rulePropertyCallExpression2661); - - createLeafNode(grammarAccess.getPropertyCallExpressionAccess().getFullStopKeyword_1_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1529:1: ( (lv_suffix_2_0= ruleSuffixExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1530:1: (lv_suffix_2_0= ruleSuffixExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1530:1: (lv_suffix_2_0= ruleSuffixExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1531:3: lv_suffix_2_0= ruleSuffixExpression - { - - currentNode=createCompositeNode(grammarAccess.getPropertyCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleSuffixExpression_in_rulePropertyCallExpression2682); - lv_suffix_2_0=ruleSuffixExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getPropertyCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "suffix", - lv_suffix_2_0, - "SuffixExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end rulePropertyCallExpression - - - // $ANTLR start entryRuleOperationCallExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1561:1: entryRuleOperationCallExpression returns [EObject current=null] : iv_ruleOperationCallExpression= ruleOperationCallExpression EOF ; - public final EObject entryRuleOperationCallExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleOperationCallExpression = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1562:2: (iv_ruleOperationCallExpression= ruleOperationCallExpression EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1563:2: iv_ruleOperationCallExpression= ruleOperationCallExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getOperationCallExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleOperationCallExpression_in_entryRuleOperationCallExpression2720); - iv_ruleOperationCallExpression=ruleOperationCallExpression(); - _fsp--; - - current =iv_ruleOperationCallExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleOperationCallExpression2730); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleOperationCallExpression - - - // $ANTLR start ruleOperationCallExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1570:1: ruleOperationCallExpression returns [EObject current=null] : ( ( ( RULE_ID ) ) '(' ( (lv_arguments_2_0= ruleListOfValues ) )? ')' ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )? ) ; - public final EObject ruleOperationCallExpression() throws RecognitionException { - EObject current = null; - - EObject lv_arguments_2_0 = null; - - EObject lv_suffix_5_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1575:6: ( ( ( ( RULE_ID ) ) '(' ( (lv_arguments_2_0= ruleListOfValues ) )? ')' ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )? ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1576:1: ( ( ( RULE_ID ) ) '(' ( (lv_arguments_2_0= ruleListOfValues ) )? ')' ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )? ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1576:1: ( ( ( RULE_ID ) ) '(' ( (lv_arguments_2_0= ruleListOfValues ) )? ')' ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )? ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1576:2: ( ( RULE_ID ) ) '(' ( (lv_arguments_2_0= ruleListOfValues ) )? ')' ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )? - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1576:2: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1577:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1577:1: ( RULE_ID ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1578:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getOperationCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleOperationCallExpression2773); - - createLeafNode(grammarAccess.getOperationCallExpressionAccess().getOperationOperationCrossReference_0_0(), "operation"); - - - } - - - } - - match(input,38,FOLLOW_38_in_ruleOperationCallExpression2783); - - createLeafNode(grammarAccess.getOperationCallExpressionAccess().getLeftParenthesisKeyword_1(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1594:1: ( (lv_arguments_2_0= ruleListOfValues ) )? - int alt21=2; - int LA21_0 = input.LA(1); - - if ( ((LA21_0>=RULE_ID && LA21_0<=RULE_STRING)||(LA21_0>=31 && LA21_0<=34)||LA21_0==36||LA21_0==38||(LA21_0>=41 && LA21_0<=42)||LA21_0==44||LA21_0==46||(LA21_0>=48 && LA21_0<=53)) ) { - alt21=1; - } - switch (alt21) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1595:1: (lv_arguments_2_0= ruleListOfValues ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1595:1: (lv_arguments_2_0= ruleListOfValues ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1596:3: lv_arguments_2_0= ruleListOfValues - { - - currentNode=createCompositeNode(grammarAccess.getOperationCallExpressionAccess().getArgumentsListOfValuesParserRuleCall_2_0(), currentNode); - - pushFollow(FOLLOW_ruleListOfValues_in_ruleOperationCallExpression2804); - lv_arguments_2_0=ruleListOfValues(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getOperationCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "arguments", - lv_arguments_2_0, - "ListOfValues", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - } - - match(input,39,FOLLOW_39_in_ruleOperationCallExpression2815); - - createLeafNode(grammarAccess.getOperationCallExpressionAccess().getRightParenthesisKeyword_3(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1622:1: ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )? - int alt22=2; - int LA22_0 = input.LA(1); - - if ( (LA22_0==37) ) { - alt22=1; - } - switch (alt22) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1622:3: '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) - { - match(input,37,FOLLOW_37_in_ruleOperationCallExpression2826); - - createLeafNode(grammarAccess.getOperationCallExpressionAccess().getFullStopKeyword_4_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1626:1: ( (lv_suffix_5_0= ruleSuffixExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1627:1: (lv_suffix_5_0= ruleSuffixExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1627:1: (lv_suffix_5_0= ruleSuffixExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1628:3: lv_suffix_5_0= ruleSuffixExpression - { - - currentNode=createCompositeNode(grammarAccess.getOperationCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_4_1_0(), currentNode); - - pushFollow(FOLLOW_ruleSuffixExpression_in_ruleOperationCallExpression2847); - lv_suffix_5_0=ruleSuffixExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getOperationCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "suffix", - lv_suffix_5_0, - "SuffixExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleOperationCallExpression - - - // $ANTLR start entryRuleLiteral - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1658:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; - public final EObject entryRuleLiteral() throws RecognitionException { - EObject current = null; - - EObject iv_ruleLiteral = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1659:2: (iv_ruleLiteral= ruleLiteral EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1660:2: iv_ruleLiteral= ruleLiteral EOF - { - currentNode = createCompositeNode(grammarAccess.getLiteralRule(), currentNode); - pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral2885); - iv_ruleLiteral=ruleLiteral(); - _fsp--; - - current =iv_ruleLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral2895); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleLiteral - - - // $ANTLR start ruleLiteral - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1667:1: ruleLiteral returns [EObject current=null] : (this_NumberLiteralRule_0= ruleNumberLiteralRule | this_DateTimeLiteralRule_1= ruleDateTimeLiteralRule | this_BooleanLiteralRule_2= ruleBooleanLiteralRule | this_NullLiteralRule_3= ruleNullLiteralRule | this_DefaultLiteralRule_4= ruleDefaultLiteralRule | this_StringLiteralRule_5= ruleStringLiteralRule ) ; - public final EObject ruleLiteral() throws RecognitionException { - EObject current = null; - - EObject this_NumberLiteralRule_0 = null; - - EObject this_DateTimeLiteralRule_1 = null; - - EObject this_BooleanLiteralRule_2 = null; - - EObject this_NullLiteralRule_3 = null; - - EObject this_DefaultLiteralRule_4 = null; - - EObject this_StringLiteralRule_5 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1672:6: ( (this_NumberLiteralRule_0= ruleNumberLiteralRule | this_DateTimeLiteralRule_1= ruleDateTimeLiteralRule | this_BooleanLiteralRule_2= ruleBooleanLiteralRule | this_NullLiteralRule_3= ruleNullLiteralRule | this_DefaultLiteralRule_4= ruleDefaultLiteralRule | this_StringLiteralRule_5= ruleStringLiteralRule ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1673:1: (this_NumberLiteralRule_0= ruleNumberLiteralRule | this_DateTimeLiteralRule_1= ruleDateTimeLiteralRule | this_BooleanLiteralRule_2= ruleBooleanLiteralRule | this_NullLiteralRule_3= ruleNullLiteralRule | this_DefaultLiteralRule_4= ruleDefaultLiteralRule | this_StringLiteralRule_5= ruleStringLiteralRule ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1673:1: (this_NumberLiteralRule_0= ruleNumberLiteralRule | this_DateTimeLiteralRule_1= ruleDateTimeLiteralRule | this_BooleanLiteralRule_2= ruleBooleanLiteralRule | this_NullLiteralRule_3= ruleNullLiteralRule | this_DefaultLiteralRule_4= ruleDefaultLiteralRule | this_StringLiteralRule_5= ruleStringLiteralRule ) - int alt23=6; - switch ( input.LA(1) ) { - case RULE_INTEGERLITERAL: - case RULE_REALLITERAL: - case 33: - { - alt23=1; - } - break; - case RULE_DATETIMELITERAL: - { - alt23=2; - } - break; - case RULE_BOOLEANLITERAL: - { - alt23=3; - } - break; - case RULE_NULLLITERAL: - { - alt23=4; - } - break; - case 34: - { - alt23=5; - } - break; - case RULE_STRING: - { - alt23=6; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("1673:1: (this_NumberLiteralRule_0= ruleNumberLiteralRule | this_DateTimeLiteralRule_1= ruleDateTimeLiteralRule | this_BooleanLiteralRule_2= ruleBooleanLiteralRule | this_NullLiteralRule_3= ruleNullLiteralRule | this_DefaultLiteralRule_4= ruleDefaultLiteralRule | this_StringLiteralRule_5= ruleStringLiteralRule )", 23, 0, input); - - throw nvae; - } - - switch (alt23) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1674:5: this_NumberLiteralRule_0= ruleNumberLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralRuleParserRuleCall_0(), currentNode); - - pushFollow(FOLLOW_ruleNumberLiteralRule_in_ruleLiteral2942); - this_NumberLiteralRule_0=ruleNumberLiteralRule(); - _fsp--; - - - current = this_NumberLiteralRule_0; - currentNode = currentNode.getParent(); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1684:5: this_DateTimeLiteralRule_1= ruleDateTimeLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getDateTimeLiteralRuleParserRuleCall_1(), currentNode); - - pushFollow(FOLLOW_ruleDateTimeLiteralRule_in_ruleLiteral2969); - this_DateTimeLiteralRule_1=ruleDateTimeLiteralRule(); - _fsp--; - - - current = this_DateTimeLiteralRule_1; - currentNode = currentNode.getParent(); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1694:5: this_BooleanLiteralRule_2= ruleBooleanLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralRuleParserRuleCall_2(), currentNode); - - pushFollow(FOLLOW_ruleBooleanLiteralRule_in_ruleLiteral2996); - this_BooleanLiteralRule_2=ruleBooleanLiteralRule(); - _fsp--; - - - current = this_BooleanLiteralRule_2; - currentNode = currentNode.getParent(); - - - } - break; - case 4 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1704:5: this_NullLiteralRule_3= ruleNullLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getNullLiteralRuleParserRuleCall_3(), currentNode); - - pushFollow(FOLLOW_ruleNullLiteralRule_in_ruleLiteral3023); - this_NullLiteralRule_3=ruleNullLiteralRule(); - _fsp--; - - - current = this_NullLiteralRule_3; - currentNode = currentNode.getParent(); - - - } - break; - case 5 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1714:5: this_DefaultLiteralRule_4= ruleDefaultLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getDefaultLiteralRuleParserRuleCall_4(), currentNode); - - pushFollow(FOLLOW_ruleDefaultLiteralRule_in_ruleLiteral3050); - this_DefaultLiteralRule_4=ruleDefaultLiteralRule(); - _fsp--; - - - current = this_DefaultLiteralRule_4; - currentNode = currentNode.getParent(); - - - } - break; - case 6 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1724:5: this_StringLiteralRule_5= ruleStringLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralRuleParserRuleCall_5(), currentNode); - - pushFollow(FOLLOW_ruleStringLiteralRule_in_ruleLiteral3077); - this_StringLiteralRule_5=ruleStringLiteralRule(); - _fsp--; - - - current = this_StringLiteralRule_5; - currentNode = currentNode.getParent(); - - - } - break; - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleLiteral - - - // $ANTLR start entryRuleNameOrChoiceOrBehaviorCall - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1740:1: entryRuleNameOrChoiceOrBehaviorCall returns [EObject current=null] : iv_ruleNameOrChoiceOrBehaviorCall= ruleNameOrChoiceOrBehaviorCall EOF ; - public final EObject entryRuleNameOrChoiceOrBehaviorCall() throws RecognitionException { - EObject current = null; - - EObject iv_ruleNameOrChoiceOrBehaviorCall = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1741:2: (iv_ruleNameOrChoiceOrBehaviorCall= ruleNameOrChoiceOrBehaviorCall EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1742:2: iv_ruleNameOrChoiceOrBehaviorCall= ruleNameOrChoiceOrBehaviorCall EOF - { - currentNode = createCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallRule(), currentNode); - pushFollow(FOLLOW_ruleNameOrChoiceOrBehaviorCall_in_entryRuleNameOrChoiceOrBehaviorCall3112); - iv_ruleNameOrChoiceOrBehaviorCall=ruleNameOrChoiceOrBehaviorCall(); - _fsp--; - - current =iv_ruleNameOrChoiceOrBehaviorCall; - match(input,EOF,FOLLOW_EOF_in_entryRuleNameOrChoiceOrBehaviorCall3122); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleNameOrChoiceOrBehaviorCall - - - // $ANTLR start ruleNameOrChoiceOrBehaviorCall - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1749:1: ruleNameOrChoiceOrBehaviorCall returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )? ) ; - public final EObject ruleNameOrChoiceOrBehaviorCall() throws RecognitionException { - EObject current = null; - - EObject lv_path_0_0 = null; - - EObject lv_arguments_3_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1754:6: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )? ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1755:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )? ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1755:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )? ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1755:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )? - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1755:2: ( (lv_path_0_0= ruleQualifiedName ) )? - int alt24=2; - int LA24_0 = input.LA(1); - - if ( (LA24_0==RULE_ID) ) { - int LA24_1 = input.LA(2); - - if ( (LA24_1==40) ) { - alt24=1; - } - } - switch (alt24) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1756:1: (lv_path_0_0= ruleQualifiedName ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1756:1: (lv_path_0_0= ruleQualifiedName ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1757:3: lv_path_0_0= ruleQualifiedName - { - - currentNode=createCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleQualifiedName_in_ruleNameOrChoiceOrBehaviorCall3168); - lv_path_0_0=ruleQualifiedName(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "path", - lv_path_0_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1779:3: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1780:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1780:1: ( RULE_ID ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1781:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleNameOrChoiceOrBehaviorCall3187); - - createLeafNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getIdNamedElementCrossReference_1_0(), "id"); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1793:2: ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )? - int alt26=2; - int LA26_0 = input.LA(1); - - if ( (LA26_0==38) ) { - alt26=1; - } - switch (alt26) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1793:4: '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' - { - match(input,38,FOLLOW_38_in_ruleNameOrChoiceOrBehaviorCall3198); - - createLeafNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getLeftParenthesisKeyword_2_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1797:1: ( (lv_arguments_3_0= ruleListOfValues ) )? - int alt25=2; - int LA25_0 = input.LA(1); - - if ( ((LA25_0>=RULE_ID && LA25_0<=RULE_STRING)||(LA25_0>=31 && LA25_0<=34)||LA25_0==36||LA25_0==38||(LA25_0>=41 && LA25_0<=42)||LA25_0==44||LA25_0==46||(LA25_0>=48 && LA25_0<=53)) ) { - alt25=1; - } - switch (alt25) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1798:1: (lv_arguments_3_0= ruleListOfValues ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1798:1: (lv_arguments_3_0= ruleListOfValues ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1799:3: lv_arguments_3_0= ruleListOfValues - { - - currentNode=createCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getArgumentsListOfValuesParserRuleCall_2_1_0(), currentNode); - - pushFollow(FOLLOW_ruleListOfValues_in_ruleNameOrChoiceOrBehaviorCall3219); - lv_arguments_3_0=ruleListOfValues(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "arguments", - lv_arguments_3_0, - "ListOfValues", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - } - - match(input,39,FOLLOW_39_in_ruleNameOrChoiceOrBehaviorCall3230); - - createLeafNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getRightParenthesisKeyword_2_2(), null); - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleNameOrChoiceOrBehaviorCall - - - // $ANTLR start entryRuleQualifiedName - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1833:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; - public final EObject entryRuleQualifiedName() throws RecognitionException { - EObject current = null; - - EObject iv_ruleQualifiedName = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1834:2: (iv_ruleQualifiedName= ruleQualifiedName EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1835:2: iv_ruleQualifiedName= ruleQualifiedName EOF - { - currentNode = createCompositeNode(grammarAccess.getQualifiedNameRule(), currentNode); - pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName3268); - iv_ruleQualifiedName=ruleQualifiedName(); - _fsp--; - - current =iv_ruleQualifiedName; - match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName3278); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleQualifiedName - - - // $ANTLR start ruleQualifiedName - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1842:1: ruleQualifiedName returns [EObject current=null] : ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) ; - public final EObject ruleQualifiedName() throws RecognitionException { - EObject current = null; - - EObject lv_remaining_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1847:6: ( ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1848:1: ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1848:1: ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1848:2: ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1848:2: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1849:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1849:1: ( RULE_ID ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1850:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName3321); - - createLeafNode(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(), "path"); - - - } - - - } - - match(input,40,FOLLOW_40_in_ruleQualifiedName3331); - - createLeafNode(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1866:1: ( (lv_remaining_2_0= ruleQualifiedName ) )? - int alt27=2; - int LA27_0 = input.LA(1); - - if ( (LA27_0==RULE_ID) ) { - int LA27_1 = input.LA(2); - - if ( (LA27_1==40) ) { - alt27=1; - } - } - switch (alt27) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1867:1: (lv_remaining_2_0= ruleQualifiedName ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1867:1: (lv_remaining_2_0= ruleQualifiedName ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1868:3: lv_remaining_2_0= ruleQualifiedName - { - - currentNode=createCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(), currentNode); - - pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedName3352); - lv_remaining_2_0=ruleQualifiedName(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "remaining", - lv_remaining_2_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleQualifiedName - - - // $ANTLR start entryRuleInterval - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1898:1: entryRuleInterval returns [EObject current=null] : iv_ruleInterval= ruleInterval EOF ; - public final EObject entryRuleInterval() throws RecognitionException { - EObject current = null; - - EObject iv_ruleInterval = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1899:2: (iv_ruleInterval= ruleInterval EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1900:2: iv_ruleInterval= ruleInterval EOF - { - currentNode = createCompositeNode(grammarAccess.getIntervalRule(), currentNode); - pushFollow(FOLLOW_ruleInterval_in_entryRuleInterval3389); - iv_ruleInterval=ruleInterval(); - _fsp--; - - current =iv_ruleInterval; - match(input,EOF,FOLLOW_EOF_in_entryRuleInterval3399); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleInterval - - - // $ANTLR start ruleInterval - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1907:1: ruleInterval returns [EObject current=null] : ( ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) ) ( (lv_lower_2_0= ruleExpression ) ) '..' ( (lv_upper_4_0= ruleExpression ) ) ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' ) ) ; - public final EObject ruleInterval() throws RecognitionException { - EObject current = null; - - Token lv_isLowerIncluded_1_0=null; - Token lv_isUpperIncluded_5_0=null; - EObject lv_lower_2_0 = null; - - EObject lv_upper_4_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1912:6: ( ( ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) ) ( (lv_lower_2_0= ruleExpression ) ) '..' ( (lv_upper_4_0= ruleExpression ) ) ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1913:1: ( ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) ) ( (lv_lower_2_0= ruleExpression ) ) '..' ( (lv_upper_4_0= ruleExpression ) ) ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1913:1: ( ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) ) ( (lv_lower_2_0= ruleExpression ) ) '..' ( (lv_upper_4_0= ruleExpression ) ) ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1913:2: ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) ) ( (lv_lower_2_0= ruleExpression ) ) '..' ( (lv_upper_4_0= ruleExpression ) ) ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1913:2: ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) ) - int alt28=2; - int LA28_0 = input.LA(1); - - if ( (LA28_0==41) ) { - alt28=1; - } - else if ( (LA28_0==42) ) { - alt28=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("1913:2: ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) )", 28, 0, input); - - throw nvae; - } - switch (alt28) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1913:4: ']' - { - match(input,41,FOLLOW_41_in_ruleInterval3435); - - createLeafNode(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_0_0(), null); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1918:6: ( (lv_isLowerIncluded_1_0= '[' ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1918:6: ( (lv_isLowerIncluded_1_0= '[' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1919:1: (lv_isLowerIncluded_1_0= '[' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1919:1: (lv_isLowerIncluded_1_0= '[' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1920:3: lv_isLowerIncluded_1_0= '[' - { - lv_isLowerIncluded_1_0=(Token)input.LT(1); - match(input,42,FOLLOW_42_in_ruleInterval3459); - - createLeafNode(grammarAccess.getIntervalAccess().getIsLowerIncludedLeftSquareBracketKeyword_0_1_0(), "isLowerIncluded"); - - - if (current==null) { - current = factory.create(grammarAccess.getIntervalRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - set(current, "isLowerIncluded", lv_isLowerIncluded_1_0, "[", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - break; - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1939:3: ( (lv_lower_2_0= ruleExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1940:1: (lv_lower_2_0= ruleExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1940:1: (lv_lower_2_0= ruleExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1941:3: lv_lower_2_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getIntervalAccess().getLowerExpressionParserRuleCall_1_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleInterval3494); - lv_lower_2_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getIntervalRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "lower", - lv_lower_2_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,43,FOLLOW_43_in_ruleInterval3504); - - createLeafNode(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1967:1: ( (lv_upper_4_0= ruleExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1968:1: (lv_upper_4_0= ruleExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1968:1: (lv_upper_4_0= ruleExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1969:3: lv_upper_4_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getIntervalAccess().getUpperExpressionParserRuleCall_3_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleInterval3525); - lv_upper_4_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getIntervalRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "upper", - lv_upper_4_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1991:2: ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' ) - int alt29=2; - int LA29_0 = input.LA(1); - - if ( (LA29_0==41) ) { - alt29=1; - } - else if ( (LA29_0==42) ) { - alt29=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("1991:2: ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' )", 29, 0, input); - - throw nvae; - } - switch (alt29) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1991:3: ( (lv_isUpperIncluded_5_0= ']' ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1991:3: ( (lv_isUpperIncluded_5_0= ']' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1992:1: (lv_isUpperIncluded_5_0= ']' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1992:1: (lv_isUpperIncluded_5_0= ']' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:1993:3: lv_isUpperIncluded_5_0= ']' - { - lv_isUpperIncluded_5_0=(Token)input.LT(1); - match(input,41,FOLLOW_41_in_ruleInterval3544); - - createLeafNode(grammarAccess.getIntervalAccess().getIsUpperIncludedRightSquareBracketKeyword_4_0_0(), "isUpperIncluded"); - - - if (current==null) { - current = factory.create(grammarAccess.getIntervalRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - set(current, "isUpperIncluded", lv_isUpperIncluded_5_0, "]", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2013:7: '[' - { - match(input,42,FOLLOW_42_in_ruleInterval3573); - - createLeafNode(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_4_1(), null); - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleInterval - - - // $ANTLR start entryRuleCollectionOrTuple - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2025:1: entryRuleCollectionOrTuple returns [EObject current=null] : iv_ruleCollectionOrTuple= ruleCollectionOrTuple EOF ; - public final EObject entryRuleCollectionOrTuple() throws RecognitionException { - EObject current = null; - - EObject iv_ruleCollectionOrTuple = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2026:2: (iv_ruleCollectionOrTuple= ruleCollectionOrTuple EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2027:2: iv_ruleCollectionOrTuple= ruleCollectionOrTuple EOF - { - currentNode = createCompositeNode(grammarAccess.getCollectionOrTupleRule(), currentNode); - pushFollow(FOLLOW_ruleCollectionOrTuple_in_entryRuleCollectionOrTuple3610); - iv_ruleCollectionOrTuple=ruleCollectionOrTuple(); - _fsp--; - - current =iv_ruleCollectionOrTuple; - match(input,EOF,FOLLOW_EOF_in_entryRuleCollectionOrTuple3620); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleCollectionOrTuple - - - // $ANTLR start ruleCollectionOrTuple - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2034:1: ruleCollectionOrTuple returns [EObject current=null] : ( '{' ( (lv_listOfValues_1_0= ruleListOfValues ) ) '}' ) ; - public final EObject ruleCollectionOrTuple() throws RecognitionException { - EObject current = null; - - EObject lv_listOfValues_1_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2039:6: ( ( '{' ( (lv_listOfValues_1_0= ruleListOfValues ) ) '}' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2040:1: ( '{' ( (lv_listOfValues_1_0= ruleListOfValues ) ) '}' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2040:1: ( '{' ( (lv_listOfValues_1_0= ruleListOfValues ) ) '}' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2040:3: '{' ( (lv_listOfValues_1_0= ruleListOfValues ) ) '}' - { - match(input,44,FOLLOW_44_in_ruleCollectionOrTuple3655); - - createLeafNode(grammarAccess.getCollectionOrTupleAccess().getLeftCurlyBracketKeyword_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2044:1: ( (lv_listOfValues_1_0= ruleListOfValues ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2045:1: (lv_listOfValues_1_0= ruleListOfValues ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2045:1: (lv_listOfValues_1_0= ruleListOfValues ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2046:3: lv_listOfValues_1_0= ruleListOfValues - { - - currentNode=createCompositeNode(grammarAccess.getCollectionOrTupleAccess().getListOfValuesListOfValuesParserRuleCall_1_0(), currentNode); - - pushFollow(FOLLOW_ruleListOfValues_in_ruleCollectionOrTuple3676); - lv_listOfValues_1_0=ruleListOfValues(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getCollectionOrTupleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "listOfValues", - lv_listOfValues_1_0, - "ListOfValues", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,45,FOLLOW_45_in_ruleCollectionOrTuple3686); - - createLeafNode(grammarAccess.getCollectionOrTupleAccess().getRightCurlyBracketKeyword_2(), null); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleCollectionOrTuple - - - // $ANTLR start entryRuleTuple - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2080:1: entryRuleTuple returns [EObject current=null] : iv_ruleTuple= ruleTuple EOF ; - public final EObject entryRuleTuple() throws RecognitionException { - EObject current = null; - - EObject iv_ruleTuple = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2081:2: (iv_ruleTuple= ruleTuple EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2082:2: iv_ruleTuple= ruleTuple EOF - { - currentNode = createCompositeNode(grammarAccess.getTupleRule(), currentNode); - pushFollow(FOLLOW_ruleTuple_in_entryRuleTuple3722); - iv_ruleTuple=ruleTuple(); - _fsp--; - - current =iv_ruleTuple; - match(input,EOF,FOLLOW_EOF_in_entryRuleTuple3732); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleTuple - - - // $ANTLR start ruleTuple - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2089:1: ruleTuple returns [EObject current=null] : ( '{' ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) ) '}' ) ; - public final EObject ruleTuple() throws RecognitionException { - EObject current = null; - - EObject lv_listOfValueNamePairs_1_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2094:6: ( ( '{' ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) ) '}' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2095:1: ( '{' ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) ) '}' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2095:1: ( '{' ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) ) '}' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2095:3: '{' ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) ) '}' - { - match(input,44,FOLLOW_44_in_ruleTuple3767); - - createLeafNode(grammarAccess.getTupleAccess().getLeftCurlyBracketKeyword_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2099:1: ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2100:1: (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2100:1: (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2101:3: lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs - { - - currentNode=createCompositeNode(grammarAccess.getTupleAccess().getListOfValueNamePairsListOfValueNamePairsParserRuleCall_1_0(), currentNode); - - pushFollow(FOLLOW_ruleListOfValueNamePairs_in_ruleTuple3788); - lv_listOfValueNamePairs_1_0=ruleListOfValueNamePairs(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getTupleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "listOfValueNamePairs", - lv_listOfValueNamePairs_1_0, - "ListOfValueNamePairs", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,45,FOLLOW_45_in_ruleTuple3798); - - createLeafNode(grammarAccess.getTupleAccess().getRightCurlyBracketKeyword_2(), null); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleTuple - - - // $ANTLR start entryRuleListOfValues - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2135:1: entryRuleListOfValues returns [EObject current=null] : iv_ruleListOfValues= ruleListOfValues EOF ; - public final EObject entryRuleListOfValues() throws RecognitionException { - EObject current = null; - - EObject iv_ruleListOfValues = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2136:2: (iv_ruleListOfValues= ruleListOfValues EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2137:2: iv_ruleListOfValues= ruleListOfValues EOF - { - currentNode = createCompositeNode(grammarAccess.getListOfValuesRule(), currentNode); - pushFollow(FOLLOW_ruleListOfValues_in_entryRuleListOfValues3834); - iv_ruleListOfValues=ruleListOfValues(); - _fsp--; - - current =iv_ruleListOfValues; - match(input,EOF,FOLLOW_EOF_in_entryRuleListOfValues3844); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleListOfValues - - - // $ANTLR start ruleListOfValues - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2144:1: ruleListOfValues returns [EObject current=null] : ( ( (lv_values_0_0= ruleExpression ) ) ( ',' ( (lv_values_2_0= ruleExpression ) ) )* ) ; - public final EObject ruleListOfValues() throws RecognitionException { - EObject current = null; - - EObject lv_values_0_0 = null; - - EObject lv_values_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2149:6: ( ( ( (lv_values_0_0= ruleExpression ) ) ( ',' ( (lv_values_2_0= ruleExpression ) ) )* ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2150:1: ( ( (lv_values_0_0= ruleExpression ) ) ( ',' ( (lv_values_2_0= ruleExpression ) ) )* ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2150:1: ( ( (lv_values_0_0= ruleExpression ) ) ( ',' ( (lv_values_2_0= ruleExpression ) ) )* ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2150:2: ( (lv_values_0_0= ruleExpression ) ) ( ',' ( (lv_values_2_0= ruleExpression ) ) )* - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2150:2: ( (lv_values_0_0= ruleExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2151:1: (lv_values_0_0= ruleExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2151:1: (lv_values_0_0= ruleExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2152:3: lv_values_0_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getListOfValuesAccess().getValuesExpressionParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleListOfValues3890); - lv_values_0_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getListOfValuesRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "values", - lv_values_0_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2174:2: ( ',' ( (lv_values_2_0= ruleExpression ) ) )* - loop30: - do { - int alt30=2; - int LA30_0 = input.LA(1); - - if ( (LA30_0==18) ) { - alt30=1; - } - - - switch (alt30) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2174:4: ',' ( (lv_values_2_0= ruleExpression ) ) - { - match(input,18,FOLLOW_18_in_ruleListOfValues3901); - - createLeafNode(grammarAccess.getListOfValuesAccess().getCommaKeyword_1_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2178:1: ( (lv_values_2_0= ruleExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2179:1: (lv_values_2_0= ruleExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2179:1: (lv_values_2_0= ruleExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2180:3: lv_values_2_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getListOfValuesAccess().getValuesExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleListOfValues3922); - lv_values_2_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getListOfValuesRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "values", - lv_values_2_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - default : - break loop30; - } - } while (true); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleListOfValues - - - // $ANTLR start entryRuleListOfValueNamePairs - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2210:1: entryRuleListOfValueNamePairs returns [EObject current=null] : iv_ruleListOfValueNamePairs= ruleListOfValueNamePairs EOF ; - public final EObject entryRuleListOfValueNamePairs() throws RecognitionException { - EObject current = null; - - EObject iv_ruleListOfValueNamePairs = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2211:2: (iv_ruleListOfValueNamePairs= ruleListOfValueNamePairs EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2212:2: iv_ruleListOfValueNamePairs= ruleListOfValueNamePairs EOF - { - currentNode = createCompositeNode(grammarAccess.getListOfValueNamePairsRule(), currentNode); - pushFollow(FOLLOW_ruleListOfValueNamePairs_in_entryRuleListOfValueNamePairs3960); - iv_ruleListOfValueNamePairs=ruleListOfValueNamePairs(); - _fsp--; - - current =iv_ruleListOfValueNamePairs; - match(input,EOF,FOLLOW_EOF_in_entryRuleListOfValueNamePairs3970); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleListOfValueNamePairs - - - // $ANTLR start ruleListOfValueNamePairs - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2219:1: ruleListOfValueNamePairs returns [EObject current=null] : ( ( (lv_valueNamePairs_0_0= ruleValueNamePair ) ) ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )* ) ; - public final EObject ruleListOfValueNamePairs() throws RecognitionException { - EObject current = null; - - EObject lv_valueNamePairs_0_0 = null; - - EObject lv_valueNamePairs_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2224:6: ( ( ( (lv_valueNamePairs_0_0= ruleValueNamePair ) ) ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )* ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2225:1: ( ( (lv_valueNamePairs_0_0= ruleValueNamePair ) ) ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )* ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2225:1: ( ( (lv_valueNamePairs_0_0= ruleValueNamePair ) ) ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )* ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2225:2: ( (lv_valueNamePairs_0_0= ruleValueNamePair ) ) ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )* - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2225:2: ( (lv_valueNamePairs_0_0= ruleValueNamePair ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2226:1: (lv_valueNamePairs_0_0= ruleValueNamePair ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2226:1: (lv_valueNamePairs_0_0= ruleValueNamePair ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2227:3: lv_valueNamePairs_0_0= ruleValueNamePair - { - - currentNode=createCompositeNode(grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsValueNamePairParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleValueNamePair_in_ruleListOfValueNamePairs4016); - lv_valueNamePairs_0_0=ruleValueNamePair(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getListOfValueNamePairsRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "valueNamePairs", - lv_valueNamePairs_0_0, - "ValueNamePair", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2249:2: ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )* - loop31: - do { - int alt31=2; - int LA31_0 = input.LA(1); - - if ( (LA31_0==18) ) { - alt31=1; - } - - - switch (alt31) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2249:4: ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) - { - match(input,18,FOLLOW_18_in_ruleListOfValueNamePairs4027); - - createLeafNode(grammarAccess.getListOfValueNamePairsAccess().getCommaKeyword_1_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2253:1: ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2254:1: (lv_valueNamePairs_2_0= ruleValueNamePair ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2254:1: (lv_valueNamePairs_2_0= ruleValueNamePair ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2255:3: lv_valueNamePairs_2_0= ruleValueNamePair - { - - currentNode=createCompositeNode(grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsValueNamePairParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleValueNamePair_in_ruleListOfValueNamePairs4048); - lv_valueNamePairs_2_0=ruleValueNamePair(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getListOfValueNamePairsRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "valueNamePairs", - lv_valueNamePairs_2_0, - "ValueNamePair", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - default : - break loop31; - } - } while (true); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleListOfValueNamePairs - - - // $ANTLR start entryRuleValueNamePair - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2285:1: entryRuleValueNamePair returns [EObject current=null] : iv_ruleValueNamePair= ruleValueNamePair EOF ; - public final EObject entryRuleValueNamePair() throws RecognitionException { - EObject current = null; - - EObject iv_ruleValueNamePair = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2286:2: (iv_ruleValueNamePair= ruleValueNamePair EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2287:2: iv_ruleValueNamePair= ruleValueNamePair EOF - { - currentNode = createCompositeNode(grammarAccess.getValueNamePairRule(), currentNode); - pushFollow(FOLLOW_ruleValueNamePair_in_entryRuleValueNamePair4086); - iv_ruleValueNamePair=ruleValueNamePair(); - _fsp--; - - current =iv_ruleValueNamePair; - match(input,EOF,FOLLOW_EOF_in_entryRuleValueNamePair4096); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleValueNamePair - - - // $ANTLR start ruleValueNamePair - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2294:1: ruleValueNamePair returns [EObject current=null] : ( ( ( RULE_ID ) ) '=' ( (lv_value_2_0= ruleExpression ) ) ) ; - public final EObject ruleValueNamePair() throws RecognitionException { - EObject current = null; - - EObject lv_value_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2299:6: ( ( ( ( RULE_ID ) ) '=' ( (lv_value_2_0= ruleExpression ) ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2300:1: ( ( ( RULE_ID ) ) '=' ( (lv_value_2_0= ruleExpression ) ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2300:1: ( ( ( RULE_ID ) ) '=' ( (lv_value_2_0= ruleExpression ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2300:2: ( ( RULE_ID ) ) '=' ( (lv_value_2_0= ruleExpression ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2300:2: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2301:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2301:1: ( RULE_ID ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2302:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getValueNamePairRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleValueNamePair4139); - - createLeafNode(grammarAccess.getValueNamePairAccess().getPropertyPropertyCrossReference_0_0(), "property"); - - - } - - - } - - match(input,19,FOLLOW_19_in_ruleValueNamePair4149); - - createLeafNode(grammarAccess.getValueNamePairAccess().getEqualsSignKeyword_1(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2318:1: ( (lv_value_2_0= ruleExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2319:1: (lv_value_2_0= ruleExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2319:1: (lv_value_2_0= ruleExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2320:3: lv_value_2_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getValueNamePairAccess().getValueExpressionParserRuleCall_2_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleValueNamePair4170); - lv_value_2_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getValueNamePairRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "value", - lv_value_2_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleValueNamePair - - - // $ANTLR start entryRuleTimeExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2350:1: entryRuleTimeExpression returns [EObject current=null] : iv_ruleTimeExpression= ruleTimeExpression EOF ; - public final EObject entryRuleTimeExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleTimeExpression = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2351:2: (iv_ruleTimeExpression= ruleTimeExpression EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2352:2: iv_ruleTimeExpression= ruleTimeExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getTimeExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleTimeExpression_in_entryRuleTimeExpression4206); - iv_ruleTimeExpression=ruleTimeExpression(); - _fsp--; - - current =iv_ruleTimeExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleTimeExpression4216); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleTimeExpression - - - // $ANTLR start ruleTimeExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2359:1: ruleTimeExpression returns [EObject current=null] : (this_InstantObsExpression_0= ruleInstantObsExpression | this_DurationObsExpression_1= ruleDurationObsExpression | this_JitterExp_2= ruleJitterExp ) ; - public final EObject ruleTimeExpression() throws RecognitionException { - EObject current = null; - - EObject this_InstantObsExpression_0 = null; - - EObject this_DurationObsExpression_1 = null; - - EObject this_JitterExp_2 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2364:6: ( (this_InstantObsExpression_0= ruleInstantObsExpression | this_DurationObsExpression_1= ruleDurationObsExpression | this_JitterExp_2= ruleJitterExp ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2365:1: (this_InstantObsExpression_0= ruleInstantObsExpression | this_DurationObsExpression_1= ruleDurationObsExpression | this_JitterExp_2= ruleJitterExp ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2365:1: (this_InstantObsExpression_0= ruleInstantObsExpression | this_DurationObsExpression_1= ruleDurationObsExpression | this_JitterExp_2= ruleJitterExp ) - int alt32=3; - switch ( input.LA(1) ) { - case 46: - { - alt32=1; - } - break; - case 48: - { - alt32=2; - } - break; - case 49: - { - alt32=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("2365:1: (this_InstantObsExpression_0= ruleInstantObsExpression | this_DurationObsExpression_1= ruleDurationObsExpression | this_JitterExp_2= ruleJitterExp )", 32, 0, input); - - throw nvae; - } - - switch (alt32) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2366:5: this_InstantObsExpression_0= ruleInstantObsExpression - { - - currentNode=createCompositeNode(grammarAccess.getTimeExpressionAccess().getInstantObsExpressionParserRuleCall_0(), currentNode); - - pushFollow(FOLLOW_ruleInstantObsExpression_in_ruleTimeExpression4263); - this_InstantObsExpression_0=ruleInstantObsExpression(); - _fsp--; - - - current = this_InstantObsExpression_0; - currentNode = currentNode.getParent(); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2376:5: this_DurationObsExpression_1= ruleDurationObsExpression - { - - currentNode=createCompositeNode(grammarAccess.getTimeExpressionAccess().getDurationObsExpressionParserRuleCall_1(), currentNode); - - pushFollow(FOLLOW_ruleDurationObsExpression_in_ruleTimeExpression4290); - this_DurationObsExpression_1=ruleDurationObsExpression(); - _fsp--; - - - current = this_DurationObsExpression_1; - currentNode = currentNode.getParent(); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2386:5: this_JitterExp_2= ruleJitterExp - { - - currentNode=createCompositeNode(grammarAccess.getTimeExpressionAccess().getJitterExpParserRuleCall_2(), currentNode); - - pushFollow(FOLLOW_ruleJitterExp_in_ruleTimeExpression4317); - this_JitterExp_2=ruleJitterExp(); - _fsp--; - - - current = this_JitterExp_2; - currentNode = currentNode.getParent(); - - - } - break; - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleTimeExpression - - - // $ANTLR start entryRuleInstantObsExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2402:1: entryRuleInstantObsExpression returns [EObject current=null] : iv_ruleInstantObsExpression= ruleInstantObsExpression EOF ; - public final EObject entryRuleInstantObsExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleInstantObsExpression = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2403:2: (iv_ruleInstantObsExpression= ruleInstantObsExpression EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2404:2: iv_ruleInstantObsExpression= ruleInstantObsExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getInstantObsExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleInstantObsExpression_in_entryRuleInstantObsExpression4352); - iv_ruleInstantObsExpression=ruleInstantObsExpression(); - _fsp--; - - current =iv_ruleInstantObsExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleInstantObsExpression4362); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleInstantObsExpression - - - // $ANTLR start ruleInstantObsExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2411:1: ruleInstantObsExpression returns [EObject current=null] : ( '@' ( (lv_id_1_0= ruleInstantObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) ; - public final EObject ruleInstantObsExpression() throws RecognitionException { - EObject current = null; - - EObject lv_id_1_0 = null; - - EObject lv_index_3_0 = null; - - EObject lv_condition_7_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2416:6: ( ( '@' ( (lv_id_1_0= ruleInstantObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2417:1: ( '@' ( (lv_id_1_0= ruleInstantObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2417:1: ( '@' ( (lv_id_1_0= ruleInstantObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2417:3: '@' ( (lv_id_1_0= ruleInstantObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? - { - match(input,46,FOLLOW_46_in_ruleInstantObsExpression4397); - - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getCommercialAtKeyword_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2421:1: ( (lv_id_1_0= ruleInstantObsName ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2422:1: (lv_id_1_0= ruleInstantObsName ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2422:1: (lv_id_1_0= ruleInstantObsName ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2423:3: lv_id_1_0= ruleInstantObsName - { - - currentNode=createCompositeNode(grammarAccess.getInstantObsExpressionAccess().getIdInstantObsNameParserRuleCall_1_0(), currentNode); - - pushFollow(FOLLOW_ruleInstantObsName_in_ruleInstantObsExpression4418); - lv_id_1_0=ruleInstantObsName(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getInstantObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "id", - lv_id_1_0, - "InstantObsName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2445:2: ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? - int alt33=2; - int LA33_0 = input.LA(1); - - if ( (LA33_0==38) ) { - alt33=1; - } - switch (alt33) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2445:4: '(' ( (lv_index_3_0= ruleExpression ) ) ')' - { - match(input,38,FOLLOW_38_in_ruleInstantObsExpression4429); - - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getLeftParenthesisKeyword_2_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2449:1: ( (lv_index_3_0= ruleExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2450:1: (lv_index_3_0= ruleExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2450:1: (lv_index_3_0= ruleExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2451:3: lv_index_3_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getInstantObsExpressionAccess().getIndexExpressionParserRuleCall_2_1_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleInstantObsExpression4450); - lv_index_3_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getInstantObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "index", - lv_index_3_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,39,FOLLOW_39_in_ruleInstantObsExpression4460); - - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getRightParenthesisKeyword_2_2(), null); - - - } - break; - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2477:3: ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? - int alt34=2; - int LA34_0 = input.LA(1); - - if ( (LA34_0==47) ) { - alt34=1; - } - switch (alt34) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2477:5: 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' - { - match(input,47,FOLLOW_47_in_ruleInstantObsExpression4473); - - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getWhenKeyword_3_0(), null); - - match(input,38,FOLLOW_38_in_ruleInstantObsExpression4483); - - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getLeftParenthesisKeyword_3_1(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2485:1: ( (lv_condition_7_0= ruleExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2486:1: (lv_condition_7_0= ruleExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2486:1: (lv_condition_7_0= ruleExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2487:3: lv_condition_7_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getInstantObsExpressionAccess().getConditionExpressionParserRuleCall_3_2_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleInstantObsExpression4504); - lv_condition_7_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getInstantObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "condition", - lv_condition_7_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,39,FOLLOW_39_in_ruleInstantObsExpression4514); - - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getRightParenthesisKeyword_3_3(), null); - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleInstantObsExpression - - - // $ANTLR start entryRuleInstantObsName - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2521:1: entryRuleInstantObsName returns [EObject current=null] : iv_ruleInstantObsName= ruleInstantObsName EOF ; - public final EObject entryRuleInstantObsName() throws RecognitionException { - EObject current = null; - - EObject iv_ruleInstantObsName = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2522:2: (iv_ruleInstantObsName= ruleInstantObsName EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2523:2: iv_ruleInstantObsName= ruleInstantObsName EOF - { - currentNode = createCompositeNode(grammarAccess.getInstantObsNameRule(), currentNode); - pushFollow(FOLLOW_ruleInstantObsName_in_entryRuleInstantObsName4552); - iv_ruleInstantObsName=ruleInstantObsName(); - _fsp--; - - current =iv_ruleInstantObsName; - match(input,EOF,FOLLOW_EOF_in_entryRuleInstantObsName4562); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleInstantObsName - - - // $ANTLR start ruleInstantObsName - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2530:1: ruleInstantObsName returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) ; - public final EObject ruleInstantObsName() throws RecognitionException { - EObject current = null; - - EObject lv_path_0_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2535:6: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2536:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2536:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2536:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2536:2: ( (lv_path_0_0= ruleQualifiedName ) )? - int alt35=2; - int LA35_0 = input.LA(1); - - if ( (LA35_0==RULE_ID) ) { - int LA35_1 = input.LA(2); - - if ( (LA35_1==40) ) { - alt35=1; - } - } - switch (alt35) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2537:1: (lv_path_0_0= ruleQualifiedName ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2537:1: (lv_path_0_0= ruleQualifiedName ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2538:3: lv_path_0_0= ruleQualifiedName - { - - currentNode=createCompositeNode(grammarAccess.getInstantObsNameAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleQualifiedName_in_ruleInstantObsName4608); - lv_path_0_0=ruleQualifiedName(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getInstantObsNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "path", - lv_path_0_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2560:3: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2561:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2561:1: ( RULE_ID ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2562:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getInstantObsNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleInstantObsName4627); - - createLeafNode(grammarAccess.getInstantObsNameAccess().getInstantIdTimeObservationCrossReference_1_0(), "instantId"); - - - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleInstantObsName - - - // $ANTLR start entryRuleDurationObsExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2582:1: entryRuleDurationObsExpression returns [EObject current=null] : iv_ruleDurationObsExpression= ruleDurationObsExpression EOF ; - public final EObject entryRuleDurationObsExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleDurationObsExpression = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2583:2: (iv_ruleDurationObsExpression= ruleDurationObsExpression EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2584:2: iv_ruleDurationObsExpression= ruleDurationObsExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getDurationObsExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleDurationObsExpression_in_entryRuleDurationObsExpression4663); - iv_ruleDurationObsExpression=ruleDurationObsExpression(); - _fsp--; - - current =iv_ruleDurationObsExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleDurationObsExpression4673); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleDurationObsExpression - - - // $ANTLR start ruleDurationObsExpression - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2591:1: ruleDurationObsExpression returns [EObject current=null] : ( '&' ( (lv_id_1_0= ruleDurationObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) ; - public final EObject ruleDurationObsExpression() throws RecognitionException { - EObject current = null; - - EObject lv_id_1_0 = null; - - EObject lv_index_3_0 = null; - - EObject lv_condition_7_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2596:6: ( ( '&' ( (lv_id_1_0= ruleDurationObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2597:1: ( '&' ( (lv_id_1_0= ruleDurationObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2597:1: ( '&' ( (lv_id_1_0= ruleDurationObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2597:3: '&' ( (lv_id_1_0= ruleDurationObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? - { - match(input,48,FOLLOW_48_in_ruleDurationObsExpression4708); - - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getAmpersandKeyword_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2601:1: ( (lv_id_1_0= ruleDurationObsName ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2602:1: (lv_id_1_0= ruleDurationObsName ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2602:1: (lv_id_1_0= ruleDurationObsName ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2603:3: lv_id_1_0= ruleDurationObsName - { - - currentNode=createCompositeNode(grammarAccess.getDurationObsExpressionAccess().getIdDurationObsNameParserRuleCall_1_0(), currentNode); - - pushFollow(FOLLOW_ruleDurationObsName_in_ruleDurationObsExpression4729); - lv_id_1_0=ruleDurationObsName(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getDurationObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "id", - lv_id_1_0, - "DurationObsName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2625:2: ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? - int alt36=2; - int LA36_0 = input.LA(1); - - if ( (LA36_0==38) ) { - alt36=1; - } - switch (alt36) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2625:4: '(' ( (lv_index_3_0= ruleExpression ) ) ')' - { - match(input,38,FOLLOW_38_in_ruleDurationObsExpression4740); - - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getLeftParenthesisKeyword_2_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2629:1: ( (lv_index_3_0= ruleExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2630:1: (lv_index_3_0= ruleExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2630:1: (lv_index_3_0= ruleExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2631:3: lv_index_3_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getDurationObsExpressionAccess().getIndexExpressionParserRuleCall_2_1_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleDurationObsExpression4761); - lv_index_3_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getDurationObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "index", - lv_index_3_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,39,FOLLOW_39_in_ruleDurationObsExpression4771); - - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getRightParenthesisKeyword_2_2(), null); - - - } - break; - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2657:3: ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? - int alt37=2; - int LA37_0 = input.LA(1); - - if ( (LA37_0==47) ) { - alt37=1; - } - switch (alt37) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2657:5: 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' - { - match(input,47,FOLLOW_47_in_ruleDurationObsExpression4784); - - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getWhenKeyword_3_0(), null); - - match(input,38,FOLLOW_38_in_ruleDurationObsExpression4794); - - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getLeftParenthesisKeyword_3_1(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2665:1: ( (lv_condition_7_0= ruleExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2666:1: (lv_condition_7_0= ruleExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2666:1: (lv_condition_7_0= ruleExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2667:3: lv_condition_7_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getDurationObsExpressionAccess().getConditionExpressionParserRuleCall_3_2_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleDurationObsExpression4815); - lv_condition_7_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getDurationObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "condition", - lv_condition_7_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,39,FOLLOW_39_in_ruleDurationObsExpression4825); - - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getRightParenthesisKeyword_3_3(), null); - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleDurationObsExpression - - - // $ANTLR start entryRuleDurationObsName - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2701:1: entryRuleDurationObsName returns [EObject current=null] : iv_ruleDurationObsName= ruleDurationObsName EOF ; - public final EObject entryRuleDurationObsName() throws RecognitionException { - EObject current = null; - - EObject iv_ruleDurationObsName = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2702:2: (iv_ruleDurationObsName= ruleDurationObsName EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2703:2: iv_ruleDurationObsName= ruleDurationObsName EOF - { - currentNode = createCompositeNode(grammarAccess.getDurationObsNameRule(), currentNode); - pushFollow(FOLLOW_ruleDurationObsName_in_entryRuleDurationObsName4863); - iv_ruleDurationObsName=ruleDurationObsName(); - _fsp--; - - current =iv_ruleDurationObsName; - match(input,EOF,FOLLOW_EOF_in_entryRuleDurationObsName4873); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleDurationObsName - - - // $ANTLR start ruleDurationObsName - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2710:1: ruleDurationObsName returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) ; - public final EObject ruleDurationObsName() throws RecognitionException { - EObject current = null; - - EObject lv_path_0_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2715:6: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2716:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2716:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2716:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2716:2: ( (lv_path_0_0= ruleQualifiedName ) )? - int alt38=2; - int LA38_0 = input.LA(1); - - if ( (LA38_0==RULE_ID) ) { - int LA38_1 = input.LA(2); - - if ( (LA38_1==40) ) { - alt38=1; - } - } - switch (alt38) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2717:1: (lv_path_0_0= ruleQualifiedName ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2717:1: (lv_path_0_0= ruleQualifiedName ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2718:3: lv_path_0_0= ruleQualifiedName - { - - currentNode=createCompositeNode(grammarAccess.getDurationObsNameAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleQualifiedName_in_ruleDurationObsName4919); - lv_path_0_0=ruleQualifiedName(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getDurationObsNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "path", - lv_path_0_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2740:3: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2741:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2741:1: ( RULE_ID ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2742:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getDurationObsNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDurationObsName4938); - - createLeafNode(grammarAccess.getDurationObsNameAccess().getDurationIdDurationObservationCrossReference_1_0(), "durationId"); - - - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleDurationObsName - - - // $ANTLR start entryRuleJitterExp - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2762:1: entryRuleJitterExp returns [EObject current=null] : iv_ruleJitterExp= ruleJitterExp EOF ; - public final EObject entryRuleJitterExp() throws RecognitionException { - EObject current = null; - - EObject iv_ruleJitterExp = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2763:2: (iv_ruleJitterExp= ruleJitterExp EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2764:2: iv_ruleJitterExp= ruleJitterExp EOF - { - currentNode = createCompositeNode(grammarAccess.getJitterExpRule(), currentNode); - pushFollow(FOLLOW_ruleJitterExp_in_entryRuleJitterExp4974); - iv_ruleJitterExp=ruleJitterExp(); - _fsp--; - - current =iv_ruleJitterExp; - match(input,EOF,FOLLOW_EOF_in_entryRuleJitterExp4984); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleJitterExp - - - // $ANTLR start ruleJitterExp - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2771:1: ruleJitterExp returns [EObject current=null] : ( 'jitter(' ( (lv_firstInstant_1_0= ruleInstantObsExpression ) ) ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )? ')' ) ; - public final EObject ruleJitterExp() throws RecognitionException { - EObject current = null; - - EObject lv_firstInstant_1_0 = null; - - EObject lv_secondInstant_3_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2776:6: ( ( 'jitter(' ( (lv_firstInstant_1_0= ruleInstantObsExpression ) ) ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )? ')' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2777:1: ( 'jitter(' ( (lv_firstInstant_1_0= ruleInstantObsExpression ) ) ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )? ')' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2777:1: ( 'jitter(' ( (lv_firstInstant_1_0= ruleInstantObsExpression ) ) ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )? ')' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2777:3: 'jitter(' ( (lv_firstInstant_1_0= ruleInstantObsExpression ) ) ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )? ')' - { - match(input,49,FOLLOW_49_in_ruleJitterExp5019); - - createLeafNode(grammarAccess.getJitterExpAccess().getJitterKeyword_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2781:1: ( (lv_firstInstant_1_0= ruleInstantObsExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2782:1: (lv_firstInstant_1_0= ruleInstantObsExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2782:1: (lv_firstInstant_1_0= ruleInstantObsExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2783:3: lv_firstInstant_1_0= ruleInstantObsExpression - { - - currentNode=createCompositeNode(grammarAccess.getJitterExpAccess().getFirstInstantInstantObsExpressionParserRuleCall_1_0(), currentNode); - - pushFollow(FOLLOW_ruleInstantObsExpression_in_ruleJitterExp5040); - lv_firstInstant_1_0=ruleInstantObsExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getJitterExpRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "firstInstant", - lv_firstInstant_1_0, - "InstantObsExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2805:2: ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )? - int alt39=2; - int LA39_0 = input.LA(1); - - if ( (LA39_0==32) ) { - alt39=1; - } - switch (alt39) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2805:4: '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) - { - match(input,32,FOLLOW_32_in_ruleJitterExp5051); - - createLeafNode(grammarAccess.getJitterExpAccess().getHyphenMinusKeyword_2_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2809:1: ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2810:1: (lv_secondInstant_3_0= ruleInstantObsExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2810:1: (lv_secondInstant_3_0= ruleInstantObsExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2811:3: lv_secondInstant_3_0= ruleInstantObsExpression - { - - currentNode=createCompositeNode(grammarAccess.getJitterExpAccess().getSecondInstantInstantObsExpressionParserRuleCall_2_1_0(), currentNode); - - pushFollow(FOLLOW_ruleInstantObsExpression_in_ruleJitterExp5072); - lv_secondInstant_3_0=ruleInstantObsExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getJitterExpRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "secondInstant", - lv_secondInstant_3_0, - "InstantObsExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - } - - match(input,39,FOLLOW_39_in_ruleJitterExp5084); - - createLeafNode(grammarAccess.getJitterExpAccess().getRightParenthesisKeyword_3(), null); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleJitterExp - - - // $ANTLR start entryRuleVariableDeclaration - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2845:1: entryRuleVariableDeclaration returns [EObject current=null] : iv_ruleVariableDeclaration= ruleVariableDeclaration EOF ; - public final EObject entryRuleVariableDeclaration() throws RecognitionException { - EObject current = null; - - EObject iv_ruleVariableDeclaration = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2846:2: (iv_ruleVariableDeclaration= ruleVariableDeclaration EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2847:2: iv_ruleVariableDeclaration= ruleVariableDeclaration EOF - { - currentNode = createCompositeNode(grammarAccess.getVariableDeclarationRule(), currentNode); - pushFollow(FOLLOW_ruleVariableDeclaration_in_entryRuleVariableDeclaration5120); - iv_ruleVariableDeclaration=ruleVariableDeclaration(); - _fsp--; - - current =iv_ruleVariableDeclaration; - match(input,EOF,FOLLOW_EOF_in_entryRuleVariableDeclaration5130); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleVariableDeclaration - - - // $ANTLR start ruleVariableDeclaration - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2854:1: ruleVariableDeclaration returns [EObject current=null] : ( ( (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) )? '$' ( (lv_name_2_0= RULE_ID ) ) ( ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) | ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) ) ) ; - public final EObject ruleVariableDeclaration() throws RecognitionException { - EObject current = null; - - Token lv_name_2_0=null; - AntlrDatatypeRuleToken lv_variableDeclaration_0_0 = null; - - EObject lv_type_4_0 = null; - - EObject lv_initValue_7_0 = null; - - EObject lv_initValue_11_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2859:6: ( ( ( (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) )? '$' ( (lv_name_2_0= RULE_ID ) ) ( ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) | ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2860:1: ( ( (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) )? '$' ( (lv_name_2_0= RULE_ID ) ) ( ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) | ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2860:1: ( ( (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) )? '$' ( (lv_name_2_0= RULE_ID ) ) ( ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) | ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2860:2: ( (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) )? '$' ( (lv_name_2_0= RULE_ID ) ) ( ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) | ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2860:2: ( (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) )? - int alt40=2; - int LA40_0 = input.LA(1); - - if ( ((LA40_0>=51 && LA40_0<=53)) ) { - alt40=1; - } - switch (alt40) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2861:1: (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2861:1: (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2862:3: lv_variableDeclaration_0_0= ruleVariableDirectionKind - { - - currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getVariableDeclarationVariableDirectionKindParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleVariableDirectionKind_in_ruleVariableDeclaration5176); - lv_variableDeclaration_0_0=ruleVariableDirectionKind(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "variableDeclaration", - lv_variableDeclaration_0_0, - "VariableDirectionKind", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - } - - match(input,50,FOLLOW_50_in_ruleVariableDeclaration5187); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getDollarSignKeyword_1(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2888:1: ( (lv_name_2_0= RULE_ID ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2889:1: (lv_name_2_0= RULE_ID ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2889:1: (lv_name_2_0= RULE_ID ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2890:3: lv_name_2_0= RULE_ID - { - lv_name_2_0=(Token)input.LT(1); - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleVariableDeclaration5204); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getNameIDTerminalRuleCall_2_0(), "name"); - - - if (current==null) { - current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set( - current, - "name", - lv_name_2_0, - "ID", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2912:2: ( ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) | ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) ) - int alt42=2; - int LA42_0 = input.LA(1); - - if ( (LA42_0==30) ) { - alt42=1; - } - else if ( (LA42_0==19) ) { - alt42=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("2912:2: ( ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) | ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) )", 42, 0, input); - - throw nvae; - } - switch (alt42) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2912:3: ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2912:3: ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2912:5: ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? - { - match(input,30,FOLLOW_30_in_ruleVariableDeclaration5221); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getColonKeyword_3_0_0(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2916:1: ( (lv_type_4_0= ruleDataTypeName ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2917:1: (lv_type_4_0= ruleDataTypeName ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2917:1: (lv_type_4_0= ruleDataTypeName ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2918:3: lv_type_4_0= ruleDataTypeName - { - - currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getTypeDataTypeNameParserRuleCall_3_0_1_0(), currentNode); - - pushFollow(FOLLOW_ruleDataTypeName_in_ruleVariableDeclaration5242); - lv_type_4_0=ruleDataTypeName(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "type", - lv_type_4_0, - "DataTypeName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2940:2: ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? - int alt41=2; - int LA41_0 = input.LA(1); - - if ( (LA41_0==19) ) { - alt41=1; - } - switch (alt41) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2940:4: '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' - { - match(input,19,FOLLOW_19_in_ruleVariableDeclaration5253); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_3_0_2_0(), null); - - match(input,38,FOLLOW_38_in_ruleVariableDeclaration5263); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getLeftParenthesisKeyword_3_0_2_1(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2948:1: ( (lv_initValue_7_0= ruleExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2949:1: (lv_initValue_7_0= ruleExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2949:1: (lv_initValue_7_0= ruleExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2950:3: lv_initValue_7_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getInitValueExpressionParserRuleCall_3_0_2_2_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleVariableDeclaration5284); - lv_initValue_7_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "initValue", - lv_initValue_7_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,39,FOLLOW_39_in_ruleVariableDeclaration5294); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getRightParenthesisKeyword_3_0_2_3(), null); - - - } - break; - - } - - - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2977:6: ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2977:6: ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2977:8: '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' - { - match(input,19,FOLLOW_19_in_ruleVariableDeclaration5314); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_3_1_0(), null); - - match(input,38,FOLLOW_38_in_ruleVariableDeclaration5324); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getLeftParenthesisKeyword_3_1_1(), null); - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2985:1: ( (lv_initValue_11_0= ruleExpression ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2986:1: (lv_initValue_11_0= ruleExpression ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2986:1: (lv_initValue_11_0= ruleExpression ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:2987:3: lv_initValue_11_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getInitValueExpressionParserRuleCall_3_1_2_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleVariableDeclaration5345); - lv_initValue_11_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "initValue", - lv_initValue_11_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,39,FOLLOW_39_in_ruleVariableDeclaration5355); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getRightParenthesisKeyword_3_1_3(), null); - - - } - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleVariableDeclaration - - - // $ANTLR start entryRuleVariableDirectionKind - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3021:1: entryRuleVariableDirectionKind returns [String current=null] : iv_ruleVariableDirectionKind= ruleVariableDirectionKind EOF ; - public final String entryRuleVariableDirectionKind() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleVariableDirectionKind = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3022:2: (iv_ruleVariableDirectionKind= ruleVariableDirectionKind EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3023:2: iv_ruleVariableDirectionKind= ruleVariableDirectionKind EOF - { - currentNode = createCompositeNode(grammarAccess.getVariableDirectionKindRule(), currentNode); - pushFollow(FOLLOW_ruleVariableDirectionKind_in_entryRuleVariableDirectionKind5394); - iv_ruleVariableDirectionKind=ruleVariableDirectionKind(); - _fsp--; - - current =iv_ruleVariableDirectionKind.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleVariableDirectionKind5405); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleVariableDirectionKind - - - // $ANTLR start ruleVariableDirectionKind - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3030:1: ruleVariableDirectionKind returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'in' | kw= 'out' | kw= 'inout' ) ; - public final AntlrDatatypeRuleToken ruleVariableDirectionKind() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token kw=null; - - setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3035:6: ( (kw= 'in' | kw= 'out' | kw= 'inout' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3036:1: (kw= 'in' | kw= 'out' | kw= 'inout' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3036:1: (kw= 'in' | kw= 'out' | kw= 'inout' ) - int alt43=3; - switch ( input.LA(1) ) { - case 51: - { - alt43=1; - } - break; - case 52: - { - alt43=2; - } - break; - case 53: - { - alt43=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("3036:1: (kw= 'in' | kw= 'out' | kw= 'inout' )", 43, 0, input); - - throw nvae; - } - - switch (alt43) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3037:2: kw= 'in' - { - kw=(Token)input.LT(1); - match(input,51,FOLLOW_51_in_ruleVariableDirectionKind5443); - - current.merge(kw); - createLeafNode(grammarAccess.getVariableDirectionKindAccess().getInKeyword_0(), null); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3044:2: kw= 'out' - { - kw=(Token)input.LT(1); - match(input,52,FOLLOW_52_in_ruleVariableDirectionKind5462); - - current.merge(kw); - createLeafNode(grammarAccess.getVariableDirectionKindAccess().getOutKeyword_1(), null); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3051:2: kw= 'inout' - { - kw=(Token)input.LT(1); - match(input,53,FOLLOW_53_in_ruleVariableDirectionKind5481); - - current.merge(kw); - createLeafNode(grammarAccess.getVariableDirectionKindAccess().getInoutKeyword_2(), null); - - - } - break; - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleVariableDirectionKind - - - // $ANTLR start entryRuleDataTypeName - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3064:1: entryRuleDataTypeName returns [EObject current=null] : iv_ruleDataTypeName= ruleDataTypeName EOF ; - public final EObject entryRuleDataTypeName() throws RecognitionException { - EObject current = null; - - EObject iv_ruleDataTypeName = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3065:2: (iv_ruleDataTypeName= ruleDataTypeName EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3066:2: iv_ruleDataTypeName= ruleDataTypeName EOF - { - currentNode = createCompositeNode(grammarAccess.getDataTypeNameRule(), currentNode); - pushFollow(FOLLOW_ruleDataTypeName_in_entryRuleDataTypeName5521); - iv_ruleDataTypeName=ruleDataTypeName(); - _fsp--; - - current =iv_ruleDataTypeName; - match(input,EOF,FOLLOW_EOF_in_entryRuleDataTypeName5531); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleDataTypeName - - - // $ANTLR start ruleDataTypeName - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3073:1: ruleDataTypeName returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) ; - public final EObject ruleDataTypeName() throws RecognitionException { - EObject current = null; - - EObject lv_path_0_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3078:6: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3079:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3079:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3079:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3079:2: ( (lv_path_0_0= ruleQualifiedName ) )? - int alt44=2; - int LA44_0 = input.LA(1); - - if ( (LA44_0==RULE_ID) ) { - int LA44_1 = input.LA(2); - - if ( (LA44_1==40) ) { - alt44=1; - } - } - switch (alt44) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3080:1: (lv_path_0_0= ruleQualifiedName ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3080:1: (lv_path_0_0= ruleQualifiedName ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3081:3: lv_path_0_0= ruleQualifiedName - { - - currentNode=createCompositeNode(grammarAccess.getDataTypeNameAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleQualifiedName_in_ruleDataTypeName5577); - lv_path_0_0=ruleQualifiedName(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getDataTypeNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "path", - lv_path_0_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - } - - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3103:3: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3104:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3104:1: ( RULE_ID ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3105:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getDataTypeNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDataTypeName5596); - - createLeafNode(grammarAccess.getDataTypeNameAccess().getTypeDataTypeCrossReference_1_0(), "type"); - - - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleDataTypeName - - - // $ANTLR start entryRuleNumberLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3125:1: entryRuleNumberLiteralRule returns [EObject current=null] : iv_ruleNumberLiteralRule= ruleNumberLiteralRule EOF ; - public final EObject entryRuleNumberLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleNumberLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3126:2: (iv_ruleNumberLiteralRule= ruleNumberLiteralRule EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3127:2: iv_ruleNumberLiteralRule= ruleNumberLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getNumberLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleNumberLiteralRule_in_entryRuleNumberLiteralRule5632); - iv_ruleNumberLiteralRule=ruleNumberLiteralRule(); - _fsp--; - - current =iv_ruleNumberLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteralRule5642); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleNumberLiteralRule - - - // $ANTLR start ruleNumberLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3134:1: ruleNumberLiteralRule returns [EObject current=null] : (this_IntegerLiteralRule_0= ruleIntegerLiteralRule | this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule | this_RealLiteralRule_2= ruleRealLiteralRule ) ; - public final EObject ruleNumberLiteralRule() throws RecognitionException { - EObject current = null; - - EObject this_IntegerLiteralRule_0 = null; - - EObject this_UnlimitedLiteralRule_1 = null; - - EObject this_RealLiteralRule_2 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3139:6: ( (this_IntegerLiteralRule_0= ruleIntegerLiteralRule | this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule | this_RealLiteralRule_2= ruleRealLiteralRule ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3140:1: (this_IntegerLiteralRule_0= ruleIntegerLiteralRule | this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule | this_RealLiteralRule_2= ruleRealLiteralRule ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3140:1: (this_IntegerLiteralRule_0= ruleIntegerLiteralRule | this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule | this_RealLiteralRule_2= ruleRealLiteralRule ) - int alt45=3; - switch ( input.LA(1) ) { - case RULE_INTEGERLITERAL: - { - alt45=1; - } - break; - case 33: - { - alt45=2; - } - break; - case RULE_REALLITERAL: - { - alt45=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("3140:1: (this_IntegerLiteralRule_0= ruleIntegerLiteralRule | this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule | this_RealLiteralRule_2= ruleRealLiteralRule )", 45, 0, input); - - throw nvae; - } - - switch (alt45) { - case 1 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3141:5: this_IntegerLiteralRule_0= ruleIntegerLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getIntegerLiteralRuleParserRuleCall_0(), currentNode); - - pushFollow(FOLLOW_ruleIntegerLiteralRule_in_ruleNumberLiteralRule5689); - this_IntegerLiteralRule_0=ruleIntegerLiteralRule(); - _fsp--; - - - current = this_IntegerLiteralRule_0; - currentNode = currentNode.getParent(); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3151:5: this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getUnlimitedLiteralRuleParserRuleCall_1(), currentNode); - - pushFollow(FOLLOW_ruleUnlimitedLiteralRule_in_ruleNumberLiteralRule5716); - this_UnlimitedLiteralRule_1=ruleUnlimitedLiteralRule(); - _fsp--; - - - current = this_UnlimitedLiteralRule_1; - currentNode = currentNode.getParent(); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3161:5: this_RealLiteralRule_2= ruleRealLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getRealLiteralRuleParserRuleCall_2(), currentNode); - - pushFollow(FOLLOW_ruleRealLiteralRule_in_ruleNumberLiteralRule5743); - this_RealLiteralRule_2=ruleRealLiteralRule(); - _fsp--; - - - current = this_RealLiteralRule_2; - currentNode = currentNode.getParent(); - - - } - break; - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleNumberLiteralRule - - - // $ANTLR start entryRuleIntegerLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3177:1: entryRuleIntegerLiteralRule returns [EObject current=null] : iv_ruleIntegerLiteralRule= ruleIntegerLiteralRule EOF ; - public final EObject entryRuleIntegerLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleIntegerLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3178:2: (iv_ruleIntegerLiteralRule= ruleIntegerLiteralRule EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3179:2: iv_ruleIntegerLiteralRule= ruleIntegerLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getIntegerLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleIntegerLiteralRule_in_entryRuleIntegerLiteralRule5778); - iv_ruleIntegerLiteralRule=ruleIntegerLiteralRule(); - _fsp--; - - current =iv_ruleIntegerLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleIntegerLiteralRule5788); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleIntegerLiteralRule - - - // $ANTLR start ruleIntegerLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3186:1: ruleIntegerLiteralRule returns [EObject current=null] : ( (lv_value_0_0= RULE_INTEGERLITERAL ) ) ; - public final EObject ruleIntegerLiteralRule() throws RecognitionException { - EObject current = null; - - Token lv_value_0_0=null; - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3191:6: ( ( (lv_value_0_0= RULE_INTEGERLITERAL ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3192:1: ( (lv_value_0_0= RULE_INTEGERLITERAL ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3192:1: ( (lv_value_0_0= RULE_INTEGERLITERAL ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3193:1: (lv_value_0_0= RULE_INTEGERLITERAL ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3193:1: (lv_value_0_0= RULE_INTEGERLITERAL ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3194:3: lv_value_0_0= RULE_INTEGERLITERAL - { - lv_value_0_0=(Token)input.LT(1); - match(input,RULE_INTEGERLITERAL,FOLLOW_RULE_INTEGERLITERAL_in_ruleIntegerLiteralRule5829); - - createLeafNode(grammarAccess.getIntegerLiteralRuleAccess().getValueIntegerLiteralTerminalRuleCall_0(), "value"); - - - if (current==null) { - current = factory.create(grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set( - current, - "value", - lv_value_0_0, - "IntegerLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleIntegerLiteralRule - - - // $ANTLR start entryRuleUnlimitedLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3224:1: entryRuleUnlimitedLiteralRule returns [EObject current=null] : iv_ruleUnlimitedLiteralRule= ruleUnlimitedLiteralRule EOF ; - public final EObject entryRuleUnlimitedLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleUnlimitedLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3225:2: (iv_ruleUnlimitedLiteralRule= ruleUnlimitedLiteralRule EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3226:2: iv_ruleUnlimitedLiteralRule= ruleUnlimitedLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getUnlimitedLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleUnlimitedLiteralRule_in_entryRuleUnlimitedLiteralRule5869); - iv_ruleUnlimitedLiteralRule=ruleUnlimitedLiteralRule(); - _fsp--; - - current =iv_ruleUnlimitedLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleUnlimitedLiteralRule5879); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleUnlimitedLiteralRule - - - // $ANTLR start ruleUnlimitedLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3233:1: ruleUnlimitedLiteralRule returns [EObject current=null] : ( (lv_value_0_0= '*' ) ) ; - public final EObject ruleUnlimitedLiteralRule() throws RecognitionException { - EObject current = null; - - Token lv_value_0_0=null; - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3238:6: ( ( (lv_value_0_0= '*' ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3239:1: ( (lv_value_0_0= '*' ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3239:1: ( (lv_value_0_0= '*' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3240:1: (lv_value_0_0= '*' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3240:1: (lv_value_0_0= '*' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3241:3: lv_value_0_0= '*' - { - lv_value_0_0=(Token)input.LT(1); - match(input,33,FOLLOW_33_in_ruleUnlimitedLiteralRule5921); - - createLeafNode(grammarAccess.getUnlimitedLiteralRuleAccess().getValueAsteriskKeyword_0(), "value"); - - - if (current==null) { - current = factory.create(grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - set(current, "value", lv_value_0_0, "*", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleUnlimitedLiteralRule - - - // $ANTLR start entryRuleRealLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3268:1: entryRuleRealLiteralRule returns [EObject current=null] : iv_ruleRealLiteralRule= ruleRealLiteralRule EOF ; - public final EObject entryRuleRealLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleRealLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3269:2: (iv_ruleRealLiteralRule= ruleRealLiteralRule EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3270:2: iv_ruleRealLiteralRule= ruleRealLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getRealLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleRealLiteralRule_in_entryRuleRealLiteralRule5969); - iv_ruleRealLiteralRule=ruleRealLiteralRule(); - _fsp--; - - current =iv_ruleRealLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteralRule5979); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleRealLiteralRule - - - // $ANTLR start ruleRealLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3277:1: ruleRealLiteralRule returns [EObject current=null] : ( (lv_value_0_0= RULE_REALLITERAL ) ) ; - public final EObject ruleRealLiteralRule() throws RecognitionException { - EObject current = null; - - Token lv_value_0_0=null; - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3282:6: ( ( (lv_value_0_0= RULE_REALLITERAL ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3283:1: ( (lv_value_0_0= RULE_REALLITERAL ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3283:1: ( (lv_value_0_0= RULE_REALLITERAL ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3284:1: (lv_value_0_0= RULE_REALLITERAL ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3284:1: (lv_value_0_0= RULE_REALLITERAL ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3285:3: lv_value_0_0= RULE_REALLITERAL - { - lv_value_0_0=(Token)input.LT(1); - match(input,RULE_REALLITERAL,FOLLOW_RULE_REALLITERAL_in_ruleRealLiteralRule6020); - - createLeafNode(grammarAccess.getRealLiteralRuleAccess().getValueRealLiteralTerminalRuleCall_0(), "value"); - - - if (current==null) { - current = factory.create(grammarAccess.getRealLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set( - current, - "value", - lv_value_0_0, - "RealLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleRealLiteralRule - - - // $ANTLR start entryRuleDateTimeLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3315:1: entryRuleDateTimeLiteralRule returns [EObject current=null] : iv_ruleDateTimeLiteralRule= ruleDateTimeLiteralRule EOF ; - public final EObject entryRuleDateTimeLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleDateTimeLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3316:2: (iv_ruleDateTimeLiteralRule= ruleDateTimeLiteralRule EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3317:2: iv_ruleDateTimeLiteralRule= ruleDateTimeLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getDateTimeLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleDateTimeLiteralRule_in_entryRuleDateTimeLiteralRule6060); - iv_ruleDateTimeLiteralRule=ruleDateTimeLiteralRule(); - _fsp--; - - current =iv_ruleDateTimeLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleDateTimeLiteralRule6070); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleDateTimeLiteralRule - - - // $ANTLR start ruleDateTimeLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3324:1: ruleDateTimeLiteralRule returns [EObject current=null] : ( (lv_value_0_0= RULE_DATETIMELITERAL ) ) ; - public final EObject ruleDateTimeLiteralRule() throws RecognitionException { - EObject current = null; - - Token lv_value_0_0=null; - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3329:6: ( ( (lv_value_0_0= RULE_DATETIMELITERAL ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3330:1: ( (lv_value_0_0= RULE_DATETIMELITERAL ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3330:1: ( (lv_value_0_0= RULE_DATETIMELITERAL ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3331:1: (lv_value_0_0= RULE_DATETIMELITERAL ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3331:1: (lv_value_0_0= RULE_DATETIMELITERAL ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3332:3: lv_value_0_0= RULE_DATETIMELITERAL - { - lv_value_0_0=(Token)input.LT(1); - match(input,RULE_DATETIMELITERAL,FOLLOW_RULE_DATETIMELITERAL_in_ruleDateTimeLiteralRule6111); - - createLeafNode(grammarAccess.getDateTimeLiteralRuleAccess().getValueDateTimeLiteralTerminalRuleCall_0(), "value"); - - - if (current==null) { - current = factory.create(grammarAccess.getDateTimeLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set( - current, - "value", - lv_value_0_0, - "DateTimeLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleDateTimeLiteralRule - - - // $ANTLR start entryRuleBooleanLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3362:1: entryRuleBooleanLiteralRule returns [EObject current=null] : iv_ruleBooleanLiteralRule= ruleBooleanLiteralRule EOF ; - public final EObject entryRuleBooleanLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleBooleanLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3363:2: (iv_ruleBooleanLiteralRule= ruleBooleanLiteralRule EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3364:2: iv_ruleBooleanLiteralRule= ruleBooleanLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getBooleanLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleBooleanLiteralRule_in_entryRuleBooleanLiteralRule6151); - iv_ruleBooleanLiteralRule=ruleBooleanLiteralRule(); - _fsp--; - - current =iv_ruleBooleanLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteralRule6161); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleBooleanLiteralRule - - - // $ANTLR start ruleBooleanLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3371:1: ruleBooleanLiteralRule returns [EObject current=null] : ( (lv_value_0_0= RULE_BOOLEANLITERAL ) ) ; - public final EObject ruleBooleanLiteralRule() throws RecognitionException { - EObject current = null; - - Token lv_value_0_0=null; - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3376:6: ( ( (lv_value_0_0= RULE_BOOLEANLITERAL ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3377:1: ( (lv_value_0_0= RULE_BOOLEANLITERAL ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3377:1: ( (lv_value_0_0= RULE_BOOLEANLITERAL ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3378:1: (lv_value_0_0= RULE_BOOLEANLITERAL ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3378:1: (lv_value_0_0= RULE_BOOLEANLITERAL ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3379:3: lv_value_0_0= RULE_BOOLEANLITERAL - { - lv_value_0_0=(Token)input.LT(1); - match(input,RULE_BOOLEANLITERAL,FOLLOW_RULE_BOOLEANLITERAL_in_ruleBooleanLiteralRule6202); - - createLeafNode(grammarAccess.getBooleanLiteralRuleAccess().getValueBooleanLiteralTerminalRuleCall_0(), "value"); - - - if (current==null) { - current = factory.create(grammarAccess.getBooleanLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set( - current, - "value", - lv_value_0_0, - "BooleanLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleBooleanLiteralRule - - - // $ANTLR start entryRuleNullLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3409:1: entryRuleNullLiteralRule returns [EObject current=null] : iv_ruleNullLiteralRule= ruleNullLiteralRule EOF ; - public final EObject entryRuleNullLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleNullLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3410:2: (iv_ruleNullLiteralRule= ruleNullLiteralRule EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3411:2: iv_ruleNullLiteralRule= ruleNullLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getNullLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleNullLiteralRule_in_entryRuleNullLiteralRule6242); - iv_ruleNullLiteralRule=ruleNullLiteralRule(); - _fsp--; - - current =iv_ruleNullLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleNullLiteralRule6252); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleNullLiteralRule - - - // $ANTLR start ruleNullLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3418:1: ruleNullLiteralRule returns [EObject current=null] : ( (lv_value_0_0= RULE_NULLLITERAL ) ) ; - public final EObject ruleNullLiteralRule() throws RecognitionException { - EObject current = null; - - Token lv_value_0_0=null; - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3423:6: ( ( (lv_value_0_0= RULE_NULLLITERAL ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3424:1: ( (lv_value_0_0= RULE_NULLLITERAL ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3424:1: ( (lv_value_0_0= RULE_NULLLITERAL ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3425:1: (lv_value_0_0= RULE_NULLLITERAL ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3425:1: (lv_value_0_0= RULE_NULLLITERAL ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3426:3: lv_value_0_0= RULE_NULLLITERAL - { - lv_value_0_0=(Token)input.LT(1); - match(input,RULE_NULLLITERAL,FOLLOW_RULE_NULLLITERAL_in_ruleNullLiteralRule6293); - - createLeafNode(grammarAccess.getNullLiteralRuleAccess().getValueNullLiteralTerminalRuleCall_0(), "value"); - - - if (current==null) { - current = factory.create(grammarAccess.getNullLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set( - current, - "value", - lv_value_0_0, - "NullLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleNullLiteralRule - - - // $ANTLR start entryRuleDefaultLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3456:1: entryRuleDefaultLiteralRule returns [EObject current=null] : iv_ruleDefaultLiteralRule= ruleDefaultLiteralRule EOF ; - public final EObject entryRuleDefaultLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleDefaultLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3457:2: (iv_ruleDefaultLiteralRule= ruleDefaultLiteralRule EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3458:2: iv_ruleDefaultLiteralRule= ruleDefaultLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getDefaultLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleDefaultLiteralRule_in_entryRuleDefaultLiteralRule6333); - iv_ruleDefaultLiteralRule=ruleDefaultLiteralRule(); - _fsp--; - - current =iv_ruleDefaultLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleDefaultLiteralRule6343); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleDefaultLiteralRule - - - // $ANTLR start ruleDefaultLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3465:1: ruleDefaultLiteralRule returns [EObject current=null] : ( (lv_value_0_0= '/' ) ) ; - public final EObject ruleDefaultLiteralRule() throws RecognitionException { - EObject current = null; - - Token lv_value_0_0=null; - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3470:6: ( ( (lv_value_0_0= '/' ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3471:1: ( (lv_value_0_0= '/' ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3471:1: ( (lv_value_0_0= '/' ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3472:1: (lv_value_0_0= '/' ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3472:1: (lv_value_0_0= '/' ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3473:3: lv_value_0_0= '/' - { - lv_value_0_0=(Token)input.LT(1); - match(input,34,FOLLOW_34_in_ruleDefaultLiteralRule6385); - - createLeafNode(grammarAccess.getDefaultLiteralRuleAccess().getValueSolidusKeyword_0(), "value"); - - - if (current==null) { - current = factory.create(grammarAccess.getDefaultLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - set(current, "value", lv_value_0_0, "/", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleDefaultLiteralRule - - - // $ANTLR start entryRuleStringLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3500:1: entryRuleStringLiteralRule returns [EObject current=null] : iv_ruleStringLiteralRule= ruleStringLiteralRule EOF ; - public final EObject entryRuleStringLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleStringLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3501:2: (iv_ruleStringLiteralRule= ruleStringLiteralRule EOF ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3502:2: iv_ruleStringLiteralRule= ruleStringLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getStringLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleStringLiteralRule_in_entryRuleStringLiteralRule6433); - iv_ruleStringLiteralRule=ruleStringLiteralRule(); - _fsp--; - - current =iv_ruleStringLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteralRule6443); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleStringLiteralRule - - - // $ANTLR start ruleStringLiteralRule - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3509:1: ruleStringLiteralRule returns [EObject current=null] : ( (lv_value_0_0= RULE_STRING ) ) ; - public final EObject ruleStringLiteralRule() throws RecognitionException { - EObject current = null; - - Token lv_value_0_0=null; - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3514:6: ( ( (lv_value_0_0= RULE_STRING ) ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3515:1: ( (lv_value_0_0= RULE_STRING ) ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3515:1: ( (lv_value_0_0= RULE_STRING ) ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3516:1: (lv_value_0_0= RULE_STRING ) - { - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3516:1: (lv_value_0_0= RULE_STRING ) - // ../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g:3517:3: lv_value_0_0= RULE_STRING - { - lv_value_0_0=(Token)input.LT(1); - match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteralRule6484); - - createLeafNode(grammarAccess.getStringLiteralRuleAccess().getValueSTRINGTerminalRuleCall_0(), "value"); - - - if (current==null) { - current = factory.create(grammarAccess.getStringLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set( - current, - "value", - lv_value_0_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleStringLiteralRule - - - - - public static final BitSet FOLLOW_ruleStereotypeApplicationsRule_in_entryRuleStereotypeApplicationsRule75 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleStereotypeApplicationsRule85 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStereotypeApplicationRule_in_ruleStereotypeApplicationsRule130 = new BitSet(new long[]{0x0000000000010002L}); - public static final BitSet FOLLOW_ruleStereotypeApplicationRule_in_entryRuleStereotypeApplicationRule166 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleStereotypeApplicationRule176 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_16_in_ruleStereotypeApplicationRule211 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleStereotypeApplicationRule229 = new BitSet(new long[]{0x0000000000020000L}); - public static final BitSet FOLLOW_17_in_ruleStereotypeApplicationRule239 = new BitSet(new long[]{0x0000000000000012L}); - public static final BitSet FOLLOW_ruleTagSpecificationRule_in_ruleStereotypeApplicationRule261 = new BitSet(new long[]{0x0000000000040002L}); - public static final BitSet FOLLOW_18_in_ruleStereotypeApplicationRule272 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleTagSpecificationRule_in_ruleStereotypeApplicationRule293 = new BitSet(new long[]{0x0000000000040002L}); - public static final BitSet FOLLOW_ruleTagSpecificationRule_in_entryRuleTagSpecificationRule333 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleTagSpecificationRule343 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleTagSpecificationRule386 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_ruleExpressionValueRule_in_ruleTagSpecificationRule407 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleExpressionValueRule_in_entryRuleExpressionValueRule443 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleExpressionValueRule453 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_19_in_ruleExpressionValueRule488 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleExpressionValueRule509 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleExpression_in_entryRuleExpression545 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleExpression555 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAndOrXorExpression_in_ruleExpression600 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAndOrXorExpression_in_entryRuleAndOrXorExpression635 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAndOrXorExpression645 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEqualityExpression_in_ruleAndOrXorExpression691 = new BitSet(new long[]{0x0000000000700002L}); - public static final BitSet FOLLOW_20_in_ruleAndOrXorExpression712 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_21_in_ruleAndOrXorExpression741 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_22_in_ruleAndOrXorExpression770 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleEqualityExpression_in_ruleAndOrXorExpression807 = new BitSet(new long[]{0x0000000000700002L}); - public static final BitSet FOLLOW_ruleEqualityExpression_in_entryRuleEqualityExpression845 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleEqualityExpression855 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRelationalExpression_in_ruleEqualityExpression901 = new BitSet(new long[]{0x0000000001800002L}); - public static final BitSet FOLLOW_23_in_ruleEqualityExpression922 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_24_in_ruleEqualityExpression951 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleRelationalExpression_in_ruleEqualityExpression988 = new BitSet(new long[]{0x0000000001800002L}); - public static final BitSet FOLLOW_ruleRelationalExpression_in_entryRuleRelationalExpression1026 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRelationalExpression1036 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleConditionalExpression_in_ruleRelationalExpression1082 = new BitSet(new long[]{0x000000001E000002L}); - public static final BitSet FOLLOW_25_in_ruleRelationalExpression1103 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_26_in_ruleRelationalExpression1132 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_27_in_ruleRelationalExpression1161 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_28_in_ruleRelationalExpression1190 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleConditionalExpression_in_ruleRelationalExpression1227 = new BitSet(new long[]{0x000000001E000002L}); - public static final BitSet FOLLOW_ruleConditionalExpression_in_entryRuleConditionalExpression1265 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleConditionalExpression1275 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression1321 = new BitSet(new long[]{0x0000000020000002L}); - public static final BitSet FOLLOW_29_in_ruleConditionalExpression1340 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression1374 = new BitSet(new long[]{0x0000000040000000L}); - public static final BitSet FOLLOW_30_in_ruleConditionalExpression1384 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression1405 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAdditiveExpression_in_entryRuleAdditiveExpression1443 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAdditiveExpression1453 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression1499 = new BitSet(new long[]{0x0000000180000002L}); - public static final BitSet FOLLOW_31_in_ruleAdditiveExpression1520 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_32_in_ruleAdditiveExpression1549 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression1586 = new BitSet(new long[]{0x0000000180000002L}); - public static final BitSet FOLLOW_ruleMultiplicativeExpression_in_entryRuleMultiplicativeExpression1624 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicativeExpression1634 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression1680 = new BitSet(new long[]{0x0000000E00000002L}); - public static final BitSet FOLLOW_33_in_ruleMultiplicativeExpression1701 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_34_in_ruleMultiplicativeExpression1730 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_35_in_ruleMultiplicativeExpression1759 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression1796 = new BitSet(new long[]{0x0000000E00000002L}); - public static final BitSet FOLLOW_ruleUnaryExpression_in_entryRuleUnaryExpression1834 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleUnaryExpression1844 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_36_in_ruleUnaryExpression1890 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_32_in_ruleUnaryExpression1919 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_31_in_ruleUnaryExpression1948 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleUnaryExpression_in_ruleUnaryExpression1985 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePrimaryExpression_in_ruleUnaryExpression2013 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePrimaryExpression_in_entryRulePrimaryExpression2049 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRulePrimaryExpression2059 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleValueSpecification_in_rulePrimaryExpression2105 = new BitSet(new long[]{0x0000002000000002L}); - public static final BitSet FOLLOW_37_in_rulePrimaryExpression2116 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleSuffixExpression_in_rulePrimaryExpression2137 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleValueSpecification_in_entryRuleValueSpecification2175 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleValueSpecification2185 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteral_in_ruleValueSpecification2232 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNameOrChoiceOrBehaviorCall_in_ruleValueSpecification2259 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInterval_in_ruleValueSpecification2286 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCollectionOrTuple_in_ruleValueSpecification2313 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTuple_in_ruleValueSpecification2340 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTimeExpression_in_ruleValueSpecification2367 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleVariableDeclaration_in_ruleValueSpecification2394 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_38_in_ruleValueSpecification2410 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleValueSpecification2432 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_39_in_ruleValueSpecification2441 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSuffixExpression_in_entryRuleSuffixExpression2478 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSuffixExpression2488 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePropertyCallExpression_in_ruleSuffixExpression2535 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleOperationCallExpression_in_ruleSuffixExpression2562 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePropertyCallExpression_in_entryRulePropertyCallExpression2597 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRulePropertyCallExpression2607 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_rulePropertyCallExpression2650 = new BitSet(new long[]{0x0000002000000002L}); - public static final BitSet FOLLOW_37_in_rulePropertyCallExpression2661 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleSuffixExpression_in_rulePropertyCallExpression2682 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleOperationCallExpression_in_entryRuleOperationCallExpression2720 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleOperationCallExpression2730 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleOperationCallExpression2773 = new BitSet(new long[]{0x0000004000000000L}); - public static final BitSet FOLLOW_38_in_ruleOperationCallExpression2783 = new BitSet(new long[]{0x003F56D7800007F0L}); - public static final BitSet FOLLOW_ruleListOfValues_in_ruleOperationCallExpression2804 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_39_in_ruleOperationCallExpression2815 = new BitSet(new long[]{0x0000002000000002L}); - public static final BitSet FOLLOW_37_in_ruleOperationCallExpression2826 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleOperationCallExpression2847 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral2885 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleLiteral2895 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNumberLiteralRule_in_ruleLiteral2942 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDateTimeLiteralRule_in_ruleLiteral2969 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBooleanLiteralRule_in_ruleLiteral2996 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNullLiteralRule_in_ruleLiteral3023 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDefaultLiteralRule_in_ruleLiteral3050 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStringLiteralRule_in_ruleLiteral3077 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNameOrChoiceOrBehaviorCall_in_entryRuleNameOrChoiceOrBehaviorCall3112 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleNameOrChoiceOrBehaviorCall3122 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleQualifiedName_in_ruleNameOrChoiceOrBehaviorCall3168 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleNameOrChoiceOrBehaviorCall3187 = new BitSet(new long[]{0x0000004000000002L}); - public static final BitSet FOLLOW_38_in_ruleNameOrChoiceOrBehaviorCall3198 = new BitSet(new long[]{0x003F56D7800007F0L}); - public static final BitSet FOLLOW_ruleListOfValues_in_ruleNameOrChoiceOrBehaviorCall3219 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_39_in_ruleNameOrChoiceOrBehaviorCall3230 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName3268 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName3278 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName3321 = new BitSet(new long[]{0x0000010000000000L}); - public static final BitSet FOLLOW_40_in_ruleQualifiedName3331 = new BitSet(new long[]{0x0000000000000012L}); - public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedName3352 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInterval_in_entryRuleInterval3389 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleInterval3399 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_41_in_ruleInterval3435 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_42_in_ruleInterval3459 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleInterval3494 = new BitSet(new long[]{0x0000080000000000L}); - public static final BitSet FOLLOW_43_in_ruleInterval3504 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleInterval3525 = new BitSet(new long[]{0x0000060000000000L}); - public static final BitSet FOLLOW_41_in_ruleInterval3544 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_42_in_ruleInterval3573 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCollectionOrTuple_in_entryRuleCollectionOrTuple3610 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleCollectionOrTuple3620 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_44_in_ruleCollectionOrTuple3655 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleListOfValues_in_ruleCollectionOrTuple3676 = new BitSet(new long[]{0x0000200000000000L}); - public static final BitSet FOLLOW_45_in_ruleCollectionOrTuple3686 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTuple_in_entryRuleTuple3722 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleTuple3732 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_44_in_ruleTuple3767 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleListOfValueNamePairs_in_ruleTuple3788 = new BitSet(new long[]{0x0000200000000000L}); - public static final BitSet FOLLOW_45_in_ruleTuple3798 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleListOfValues_in_entryRuleListOfValues3834 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleListOfValues3844 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleListOfValues3890 = new BitSet(new long[]{0x0000000000040002L}); - public static final BitSet FOLLOW_18_in_ruleListOfValues3901 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleListOfValues3922 = new BitSet(new long[]{0x0000000000040002L}); - public static final BitSet FOLLOW_ruleListOfValueNamePairs_in_entryRuleListOfValueNamePairs3960 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleListOfValueNamePairs3970 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleValueNamePair_in_ruleListOfValueNamePairs4016 = new BitSet(new long[]{0x0000000000040002L}); - public static final BitSet FOLLOW_18_in_ruleListOfValueNamePairs4027 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleValueNamePair_in_ruleListOfValueNamePairs4048 = new BitSet(new long[]{0x0000000000040002L}); - public static final BitSet FOLLOW_ruleValueNamePair_in_entryRuleValueNamePair4086 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleValueNamePair4096 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleValueNamePair4139 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_ruleValueNamePair4149 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleValueNamePair4170 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTimeExpression_in_entryRuleTimeExpression4206 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleTimeExpression4216 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInstantObsExpression_in_ruleTimeExpression4263 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDurationObsExpression_in_ruleTimeExpression4290 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleJitterExp_in_ruleTimeExpression4317 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInstantObsExpression_in_entryRuleInstantObsExpression4352 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleInstantObsExpression4362 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_46_in_ruleInstantObsExpression4397 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleInstantObsName_in_ruleInstantObsExpression4418 = new BitSet(new long[]{0x0000804000000002L}); - public static final BitSet FOLLOW_38_in_ruleInstantObsExpression4429 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleInstantObsExpression4450 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_39_in_ruleInstantObsExpression4460 = new BitSet(new long[]{0x0000800000000002L}); - public static final BitSet FOLLOW_47_in_ruleInstantObsExpression4473 = new BitSet(new long[]{0x0000004000000000L}); - public static final BitSet FOLLOW_38_in_ruleInstantObsExpression4483 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleInstantObsExpression4504 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_39_in_ruleInstantObsExpression4514 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInstantObsName_in_entryRuleInstantObsName4552 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleInstantObsName4562 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleQualifiedName_in_ruleInstantObsName4608 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleInstantObsName4627 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDurationObsExpression_in_entryRuleDurationObsExpression4663 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDurationObsExpression4673 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_48_in_ruleDurationObsExpression4708 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleDurationObsName_in_ruleDurationObsExpression4729 = new BitSet(new long[]{0x0000804000000002L}); - public static final BitSet FOLLOW_38_in_ruleDurationObsExpression4740 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleDurationObsExpression4761 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_39_in_ruleDurationObsExpression4771 = new BitSet(new long[]{0x0000800000000002L}); - public static final BitSet FOLLOW_47_in_ruleDurationObsExpression4784 = new BitSet(new long[]{0x0000004000000000L}); - public static final BitSet FOLLOW_38_in_ruleDurationObsExpression4794 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleDurationObsExpression4815 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_39_in_ruleDurationObsExpression4825 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDurationObsName_in_entryRuleDurationObsName4863 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDurationObsName4873 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleQualifiedName_in_ruleDurationObsName4919 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleDurationObsName4938 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleJitterExp_in_entryRuleJitterExp4974 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleJitterExp4984 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_49_in_ruleJitterExp5019 = new BitSet(new long[]{0x0000400000000000L}); - public static final BitSet FOLLOW_ruleInstantObsExpression_in_ruleJitterExp5040 = new BitSet(new long[]{0x0000008100000000L}); - public static final BitSet FOLLOW_32_in_ruleJitterExp5051 = new BitSet(new long[]{0x0000400000000000L}); - public static final BitSet FOLLOW_ruleInstantObsExpression_in_ruleJitterExp5072 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_39_in_ruleJitterExp5084 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleVariableDeclaration_in_entryRuleVariableDeclaration5120 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleVariableDeclaration5130 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleVariableDirectionKind_in_ruleVariableDeclaration5176 = new BitSet(new long[]{0x0004000000000000L}); - public static final BitSet FOLLOW_50_in_ruleVariableDeclaration5187 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleVariableDeclaration5204 = new BitSet(new long[]{0x0000000040080000L}); - public static final BitSet FOLLOW_30_in_ruleVariableDeclaration5221 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleDataTypeName_in_ruleVariableDeclaration5242 = new BitSet(new long[]{0x0000000000080002L}); - public static final BitSet FOLLOW_19_in_ruleVariableDeclaration5253 = new BitSet(new long[]{0x0000004000000000L}); - public static final BitSet FOLLOW_38_in_ruleVariableDeclaration5263 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleVariableDeclaration5284 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_39_in_ruleVariableDeclaration5294 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_19_in_ruleVariableDeclaration5314 = new BitSet(new long[]{0x0000004000000000L}); - public static final BitSet FOLLOW_38_in_ruleVariableDeclaration5324 = new BitSet(new long[]{0x003F5657800007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleVariableDeclaration5345 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_39_in_ruleVariableDeclaration5355 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleVariableDirectionKind_in_entryRuleVariableDirectionKind5394 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleVariableDirectionKind5405 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_51_in_ruleVariableDirectionKind5443 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_52_in_ruleVariableDirectionKind5462 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_53_in_ruleVariableDirectionKind5481 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDataTypeName_in_entryRuleDataTypeName5521 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDataTypeName5531 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleQualifiedName_in_ruleDataTypeName5577 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleDataTypeName5596 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNumberLiteralRule_in_entryRuleNumberLiteralRule5632 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteralRule5642 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleIntegerLiteralRule_in_ruleNumberLiteralRule5689 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleUnlimitedLiteralRule_in_ruleNumberLiteralRule5716 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRealLiteralRule_in_ruleNumberLiteralRule5743 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleIntegerLiteralRule_in_entryRuleIntegerLiteralRule5778 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleIntegerLiteralRule5788 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_INTEGERLITERAL_in_ruleIntegerLiteralRule5829 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleUnlimitedLiteralRule_in_entryRuleUnlimitedLiteralRule5869 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleUnlimitedLiteralRule5879 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_33_in_ruleUnlimitedLiteralRule5921 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRealLiteralRule_in_entryRuleRealLiteralRule5969 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteralRule5979 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_REALLITERAL_in_ruleRealLiteralRule6020 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDateTimeLiteralRule_in_entryRuleDateTimeLiteralRule6060 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDateTimeLiteralRule6070 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_DATETIMELITERAL_in_ruleDateTimeLiteralRule6111 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBooleanLiteralRule_in_entryRuleBooleanLiteralRule6151 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteralRule6161 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_BOOLEANLITERAL_in_ruleBooleanLiteralRule6202 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNullLiteralRule_in_entryRuleNullLiteralRule6242 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleNullLiteralRule6252 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_NULLLITERAL_in_ruleNullLiteralRule6293 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDefaultLiteralRule_in_entryRuleDefaultLiteralRule6333 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDefaultLiteralRule6343 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_34_in_ruleDefaultLiteralRule6385 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStringLiteralRule_in_entryRuleStringLiteralRule6433 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteralRule6443 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteralRule6484 = new BitSet(new long[]{0x0000000000000002L}); - -}
\ No newline at end of file diff --git a/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL__.g b/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL__.g deleted file mode 100644 index 4974c5dc957..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL__.g +++ /dev/null @@ -1,85 +0,0 @@ -lexer grammar InternalStereotypeApplicationWithVSL; -@header { -package org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; -} - -T16 : '<<' ; -T17 : '>>' ; -T18 : ',' ; -T19 : '=' ; -T20 : 'and' ; -T21 : 'or' ; -T22 : 'xor' ; -T23 : '==' ; -T24 : '<>' ; -T25 : '<' ; -T26 : '>' ; -T27 : '<=' ; -T28 : '>=' ; -T29 : '?' ; -T30 : ':' ; -T31 : '+' ; -T32 : '-' ; -T33 : '*' ; -T34 : '/' ; -T35 : 'mod' ; -T36 : 'not' ; -T37 : '.' ; -T38 : '(' ; -T39 : ')' ; -T40 : '::' ; -T41 : ']' ; -T42 : '[' ; -T43 : '..' ; -T44 : '{' ; -T45 : '}' ; -T46 : '@' ; -T47 : 'when' ; -T48 : '&' ; -T49 : 'jitter(' ; -T50 : '$' ; -T51 : 'in' ; -T52 : 'out' ; -T53 : 'inout' ; - -// $ANTLR src "../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g" 3546 -RULE_INTEGERLITERAL : ('+'|'-')? (('0'..'9')+|'0x' ('0'..'9'|'A'..'F'|'a'..'f')+|'0b' ('0'..'1')+); - -// $ANTLR src "../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g" 3548 -RULE_REALLITERAL : ('+'|'-')? ('0'..'9')+ '.' ('0'..'9')+ ('E' ('+'|'-')? ('0'..'9')+)?; - -// $ANTLR src "../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g" 3550 -RULE_DATETIMELITERAL : (('0'..'1' '0'..'9'|'2' '0'..'3') ':' '0'..'5' '0'..'9' (':' '0'..'5' '0'..'9' (':' '0'..'9' '0'..'9')?)? (' ' '0'..'9' '0'..'9' '0'..'9' '0'..'9' '/' ('0' '0'..'9'|'1' '0'..'2') '/' ('0'..'2' '0'..'9'|'3' ('0'|'1')))? (' ' ('Mon'|'Tue'|'Wed'|'Thr'|'Fri'|'Sat'|'Sun'))?|'0'..'9' '0'..'9' '0'..'9' '0'..'9' '/' ('0' '0'..'9'|'1' '0'..'2') '/' ('0'..'2' '0'..'9'|'3' ('0'|'1')) (' ' ('Mon'|'Tue'|'Wed'|'Thr'|'Fri'|'Sat'|'Sun'))?|('Mon'|'Tue'|'Wed'|'Thr'|'Fri'|'Sat'|'Sun')); - -// $ANTLR src "../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g" 3552 -RULE_BOOLEANLITERAL : ('true'|'false'); - -// $ANTLR src "../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g" 3554 -RULE_NULLLITERAL : 'null'; - -// $ANTLR src "../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g" 3556 -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -// $ANTLR src "../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g" 3558 -RULE_INT : ('0'..'9')+; - -// $ANTLR src "../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g" 3560 -RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\''); - -// $ANTLR src "../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g" 3562 -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -// $ANTLR src "../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g" 3564 -RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; - -// $ANTLR src "../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g" 3566 -RULE_WS : (' '|'\t'|'\r'|'\n')+; - -// $ANTLR src "../org.eclipse.papyrus.stereotypeapplicationwithvsl.editor.xtext/src-gen/org/eclipse/papyrus/stereotypeapplicationwithvsl/editor/xtext/parser/antlr/internal/InternalStereotypeApplicationWithVSL.g" 3568 -RULE_ANY_OTHER : .; - - |