/*****************************************************************************
* 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.marte.vsl.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.marte.vsl.services.VSLGrammarAccess;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
@SuppressWarnings("all")
public class InternalVSLParser 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 InternalVSLParser(TokenStream input) {
super(input);
}
public String[] getTokenNames() { return tokenNames; }
public String getGrammarFileName() { return "../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g"; }
private VSLGrammarAccess grammarAccess;
public InternalVSLParser(TokenStream input, IAstFactory factory, VSLGrammarAccess 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/marte/vsl/parser/antlr/internal/InternalVSL.tokens");
}
@Override
protected String getFirstRuleName() {
return "Expression";
}
@Override
protected VSLGrammarAccess getGrammarAccess() {
return grammarAccess;
}
// $ANTLR start entryRuleExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:77: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:78:2: (iv_ruleExpression= ruleExpression EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:79:2: iv_ruleExpression= ruleExpression EOF
{
currentNode = createCompositeNode(grammarAccess.getExpressionRule(), currentNode);
pushFollow(FOLLOW_ruleExpression_in_entryRuleExpression75);
iv_ruleExpression=ruleExpression();
_fsp--;
current =iv_ruleExpression;
match(input,EOF,FOLLOW_EOF_in_entryRuleExpression85);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleExpression
// $ANTLR start ruleExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:86: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:91:6: ( ( (lv_exp_0_0= ruleAndOrXorExpression ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:92:1: ( (lv_exp_0_0= ruleAndOrXorExpression ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:92:1: ( (lv_exp_0_0= ruleAndOrXorExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:93:1: (lv_exp_0_0= ruleAndOrXorExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:93:1: (lv_exp_0_0= ruleAndOrXorExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:94:3: lv_exp_0_0= ruleAndOrXorExpression
{
currentNode=createCompositeNode(grammarAccess.getExpressionAccess().getExpAndOrXorExpressionParserRuleCall_0(), currentNode);
pushFollow(FOLLOW_ruleAndOrXorExpression_in_ruleExpression130);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:124: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:125:2: (iv_ruleAndOrXorExpression= ruleAndOrXorExpression EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:126:2: iv_ruleAndOrXorExpression= ruleAndOrXorExpression EOF
{
currentNode = createCompositeNode(grammarAccess.getAndOrXorExpressionRule(), currentNode);
pushFollow(FOLLOW_ruleAndOrXorExpression_in_entryRuleAndOrXorExpression165);
iv_ruleAndOrXorExpression=ruleAndOrXorExpression();
_fsp--;
current =iv_ruleAndOrXorExpression;
match(input,EOF,FOLLOW_EOF_in_entryRuleAndOrXorExpression175);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleAndOrXorExpression
// $ANTLR start ruleAndOrXorExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:133: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:138: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:139: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:139: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:139: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:139:2: ( (lv_exp_0_0= ruleEqualityExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:140:1: (lv_exp_0_0= ruleEqualityExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:140:1: (lv_exp_0_0= ruleEqualityExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:141:3: lv_exp_0_0= ruleEqualityExpression
{
currentNode=createCompositeNode(grammarAccess.getAndOrXorExpressionAccess().getExpEqualityExpressionParserRuleCall_0_0(), currentNode);
pushFollow(FOLLOW_ruleEqualityExpression_in_ruleAndOrXorExpression221);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:163:2: ( ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) ( (lv_exp_2_0= ruleEqualityExpression ) ) )*
loop2:
do {
int alt2=2;
int LA2_0 = input.LA(1);
if ( ((LA2_0>=16 && LA2_0<=18)) ) {
alt2=1;
}
switch (alt2) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:163:3: ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) ( (lv_exp_2_0= ruleEqualityExpression ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:163:3: ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:164:1: ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:164:1: ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:165:1: (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:165:1: (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' )
int alt1=3;
switch ( input.LA(1) ) {
case 16:
{
alt1=1;
}
break;
case 17:
{
alt1=2;
}
break;
case 18:
{
alt1=3;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("165:1: (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' )", 1, 0, input);
throw nvae;
}
switch (alt1) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:166:3: lv_op_1_1= 'and'
{
lv_op_1_1=(Token)input.LT(1);
match(input,16,FOLLOW_16_in_ruleAndOrXorExpression242);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:184:8: lv_op_1_2= 'or'
{
lv_op_1_2=(Token)input.LT(1);
match(input,17,FOLLOW_17_in_ruleAndOrXorExpression271);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:202:8: lv_op_1_3= 'xor'
{
lv_op_1_3=(Token)input.LT(1);
match(input,18,FOLLOW_18_in_ruleAndOrXorExpression300);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:223:2: ( (lv_exp_2_0= ruleEqualityExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:224:1: (lv_exp_2_0= ruleEqualityExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:224:1: (lv_exp_2_0= ruleEqualityExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:225:3: lv_exp_2_0= ruleEqualityExpression
{
currentNode=createCompositeNode(grammarAccess.getAndOrXorExpressionAccess().getExpEqualityExpressionParserRuleCall_1_1_0(), currentNode);
pushFollow(FOLLOW_ruleEqualityExpression_in_ruleAndOrXorExpression337);
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 loop2;
}
} while (true);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleAndOrXorExpression
// $ANTLR start entryRuleEqualityExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:255: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:256:2: (iv_ruleEqualityExpression= ruleEqualityExpression EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:257:2: iv_ruleEqualityExpression= ruleEqualityExpression EOF
{
currentNode = createCompositeNode(grammarAccess.getEqualityExpressionRule(), currentNode);
pushFollow(FOLLOW_ruleEqualityExpression_in_entryRuleEqualityExpression375);
iv_ruleEqualityExpression=ruleEqualityExpression();
_fsp--;
current =iv_ruleEqualityExpression;
match(input,EOF,FOLLOW_EOF_in_entryRuleEqualityExpression385);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleEqualityExpression
// $ANTLR start ruleEqualityExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:264: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:269:6: ( ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )* ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:270:1: ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )* )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:270:1: ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )* )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:270:2: ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )*
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:270:2: ( (lv_exp_0_0= ruleRelationalExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:271:1: (lv_exp_0_0= ruleRelationalExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:271:1: (lv_exp_0_0= ruleRelationalExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:272:3: lv_exp_0_0= ruleRelationalExpression
{
currentNode=createCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpRelationalExpressionParserRuleCall_0_0(), currentNode);
pushFollow(FOLLOW_ruleRelationalExpression_in_ruleEqualityExpression431);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:294:2: ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )*
loop4:
do {
int alt4=2;
int LA4_0 = input.LA(1);
if ( ((LA4_0>=19 && LA4_0<=20)) ) {
alt4=1;
}
switch (alt4) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:294:3: ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:294:3: ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:295:1: ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:295:1: ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:296:1: (lv_op_1_1= '==' | lv_op_1_2= '<>' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:296:1: (lv_op_1_1= '==' | lv_op_1_2= '<>' )
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0==19) ) {
alt3=1;
}
else if ( (LA3_0==20) ) {
alt3=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("296:1: (lv_op_1_1= '==' | lv_op_1_2= '<>' )", 3, 0, input);
throw nvae;
}
switch (alt3) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:297:3: lv_op_1_1= '=='
{
lv_op_1_1=(Token)input.LT(1);
match(input,19,FOLLOW_19_in_ruleEqualityExpression452);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:315:8: lv_op_1_2= '<>'
{
lv_op_1_2=(Token)input.LT(1);
match(input,20,FOLLOW_20_in_ruleEqualityExpression481);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:336:2: ( (lv_exp_2_0= ruleRelationalExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:337:1: (lv_exp_2_0= ruleRelationalExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:337:1: (lv_exp_2_0= ruleRelationalExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:338:3: lv_exp_2_0= ruleRelationalExpression
{
currentNode=createCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpRelationalExpressionParserRuleCall_1_1_0(), currentNode);
pushFollow(FOLLOW_ruleRelationalExpression_in_ruleEqualityExpression518);
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 loop4;
}
} while (true);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleEqualityExpression
// $ANTLR start entryRuleRelationalExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:368: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:369:2: (iv_ruleRelationalExpression= ruleRelationalExpression EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:370:2: iv_ruleRelationalExpression= ruleRelationalExpression EOF
{
currentNode = createCompositeNode(grammarAccess.getRelationalExpressionRule(), currentNode);
pushFollow(FOLLOW_ruleRelationalExpression_in_entryRuleRelationalExpression556);
iv_ruleRelationalExpression=ruleRelationalExpression();
_fsp--;
current =iv_ruleRelationalExpression;
match(input,EOF,FOLLOW_EOF_in_entryRuleRelationalExpression566);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleRelationalExpression
// $ANTLR start ruleRelationalExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:377: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:382: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:383: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:383: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:383: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:383:2: ( (lv_exp_0_0= ruleConditionalExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:384:1: (lv_exp_0_0= ruleConditionalExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:384:1: (lv_exp_0_0= ruleConditionalExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:385:3: lv_exp_0_0= ruleConditionalExpression
{
currentNode=createCompositeNode(grammarAccess.getRelationalExpressionAccess().getExpConditionalExpressionParserRuleCall_0_0(), currentNode);
pushFollow(FOLLOW_ruleConditionalExpression_in_ruleRelationalExpression612);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:407:2: ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_exp_2_0= ruleConditionalExpression ) ) )*
loop6:
do {
int alt6=2;
int LA6_0 = input.LA(1);
if ( ((LA6_0>=21 && LA6_0<=24)) ) {
alt6=1;
}
switch (alt6) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:407: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:407:3: ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:408:1: ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:408:1: ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:409:1: (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:409:1: (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' )
int alt5=4;
switch ( input.LA(1) ) {
case 21:
{
alt5=1;
}
break;
case 22:
{
alt5=2;
}
break;
case 23:
{
alt5=3;
}
break;
case 24:
{
alt5=4;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("409:1: (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' )", 5, 0, input);
throw nvae;
}
switch (alt5) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:410:3: lv_op_1_1= '<'
{
lv_op_1_1=(Token)input.LT(1);
match(input,21,FOLLOW_21_in_ruleRelationalExpression633);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:428:8: lv_op_1_2= '>'
{
lv_op_1_2=(Token)input.LT(1);
match(input,22,FOLLOW_22_in_ruleRelationalExpression662);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:446:8: lv_op_1_3= '<='
{
lv_op_1_3=(Token)input.LT(1);
match(input,23,FOLLOW_23_in_ruleRelationalExpression691);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:464:8: lv_op_1_4= '>='
{
lv_op_1_4=(Token)input.LT(1);
match(input,24,FOLLOW_24_in_ruleRelationalExpression720);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:485:2: ( (lv_exp_2_0= ruleConditionalExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:486:1: (lv_exp_2_0= ruleConditionalExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:486:1: (lv_exp_2_0= ruleConditionalExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:487:3: lv_exp_2_0= ruleConditionalExpression
{
currentNode=createCompositeNode(grammarAccess.getRelationalExpressionAccess().getExpConditionalExpressionParserRuleCall_1_1_0(), currentNode);
pushFollow(FOLLOW_ruleConditionalExpression_in_ruleRelationalExpression757);
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 loop6;
}
} while (true);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleRelationalExpression
// $ANTLR start entryRuleConditionalExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:517: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:518:2: (iv_ruleConditionalExpression= ruleConditionalExpression EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:519:2: iv_ruleConditionalExpression= ruleConditionalExpression EOF
{
currentNode = createCompositeNode(grammarAccess.getConditionalExpressionRule(), currentNode);
pushFollow(FOLLOW_ruleConditionalExpression_in_entryRuleConditionalExpression795);
iv_ruleConditionalExpression=ruleConditionalExpression();
_fsp--;
current =iv_ruleConditionalExpression;
match(input,EOF,FOLLOW_EOF_in_entryRuleConditionalExpression805);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleConditionalExpression
// $ANTLR start ruleConditionalExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:526: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:531:6: ( ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )? ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:532:1: ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )? )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:532:1: ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )? )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:532:2: ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )?
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:532:2: ( (lv_exp_0_0= ruleAdditiveExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:533:1: (lv_exp_0_0= ruleAdditiveExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:533:1: (lv_exp_0_0= ruleAdditiveExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:534:3: lv_exp_0_0= ruleAdditiveExpression
{
currentNode=createCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_0_0(), currentNode);
pushFollow(FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression851);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:556:2: ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )?
int alt7=2;
int LA7_0 = input.LA(1);
if ( (LA7_0==25) ) {
alt7=1;
}
switch (alt7) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:556:3: ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:556:3: ( (lv_op_1_0= '?' ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:557:1: (lv_op_1_0= '?' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:557:1: (lv_op_1_0= '?' )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:558:3: lv_op_1_0= '?'
{
lv_op_1_0=(Token)input.LT(1);
match(input,25,FOLLOW_25_in_ruleConditionalExpression870);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:577:2: ( (lv_exp_2_0= ruleAdditiveExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:578:1: (lv_exp_2_0= ruleAdditiveExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:578:1: (lv_exp_2_0= ruleAdditiveExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:579:3: lv_exp_2_0= ruleAdditiveExpression
{
currentNode=createCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_1_0(), currentNode);
pushFollow(FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression904);
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,26,FOLLOW_26_in_ruleConditionalExpression914);
createLeafNode(grammarAccess.getConditionalExpressionAccess().getColonKeyword_1_2(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:605:1: ( (lv_exp_4_0= ruleAdditiveExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:606:1: (lv_exp_4_0= ruleAdditiveExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:606:1: (lv_exp_4_0= ruleAdditiveExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:607:3: lv_exp_4_0= ruleAdditiveExpression
{
currentNode=createCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_3_0(), currentNode);
pushFollow(FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression935);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:637: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:638:2: (iv_ruleAdditiveExpression= ruleAdditiveExpression EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:639:2: iv_ruleAdditiveExpression= ruleAdditiveExpression EOF
{
currentNode = createCompositeNode(grammarAccess.getAdditiveExpressionRule(), currentNode);
pushFollow(FOLLOW_ruleAdditiveExpression_in_entryRuleAdditiveExpression973);
iv_ruleAdditiveExpression=ruleAdditiveExpression();
_fsp--;
current =iv_ruleAdditiveExpression;
match(input,EOF,FOLLOW_EOF_in_entryRuleAdditiveExpression983);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleAdditiveExpression
// $ANTLR start ruleAdditiveExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:646: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:651:6: ( ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:652:1: ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:652:1: ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:652:2: ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )*
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:652:2: ( (lv_exp_0_0= ruleMultiplicativeExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:653:1: (lv_exp_0_0= ruleMultiplicativeExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:653:1: (lv_exp_0_0= ruleMultiplicativeExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:654:3: lv_exp_0_0= ruleMultiplicativeExpression
{
currentNode=createCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_0_0(), currentNode);
pushFollow(FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression1029);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:676:2: ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )*
loop9:
do {
int alt9=2;
int LA9_0 = input.LA(1);
if ( ((LA9_0>=27 && LA9_0<=28)) ) {
alt9=1;
}
switch (alt9) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:676:3: ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:676:3: ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:677:1: ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:677:1: ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:678:1: (lv_op_1_1= '+' | lv_op_1_2= '-' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:678:1: (lv_op_1_1= '+' | lv_op_1_2= '-' )
int alt8=2;
int LA8_0 = input.LA(1);
if ( (LA8_0==27) ) {
alt8=1;
}
else if ( (LA8_0==28) ) {
alt8=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("678:1: (lv_op_1_1= '+' | lv_op_1_2= '-' )", 8, 0, input);
throw nvae;
}
switch (alt8) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:679:3: lv_op_1_1= '+'
{
lv_op_1_1=(Token)input.LT(1);
match(input,27,FOLLOW_27_in_ruleAdditiveExpression1050);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:697:8: lv_op_1_2= '-'
{
lv_op_1_2=(Token)input.LT(1);
match(input,28,FOLLOW_28_in_ruleAdditiveExpression1079);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:718:2: ( (lv_exp_2_0= ruleMultiplicativeExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:719:1: (lv_exp_2_0= ruleMultiplicativeExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:719:1: (lv_exp_2_0= ruleMultiplicativeExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:720:3: lv_exp_2_0= ruleMultiplicativeExpression
{
currentNode=createCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_1_1_0(), currentNode);
pushFollow(FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression1116);
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 loop9;
}
} while (true);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleAdditiveExpression
// $ANTLR start entryRuleMultiplicativeExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:750: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:751:2: (iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:752:2: iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF
{
currentNode = createCompositeNode(grammarAccess.getMultiplicativeExpressionRule(), currentNode);
pushFollow(FOLLOW_ruleMultiplicativeExpression_in_entryRuleMultiplicativeExpression1154);
iv_ruleMultiplicativeExpression=ruleMultiplicativeExpression();
_fsp--;
current =iv_ruleMultiplicativeExpression;
match(input,EOF,FOLLOW_EOF_in_entryRuleMultiplicativeExpression1164);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleMultiplicativeExpression
// $ANTLR start ruleMultiplicativeExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:759: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:764: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:765: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:765: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:765: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:765:2: ( (lv_exp_0_0= ruleUnaryExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:766:1: (lv_exp_0_0= ruleUnaryExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:766:1: (lv_exp_0_0= ruleUnaryExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:767:3: lv_exp_0_0= ruleUnaryExpression
{
currentNode=createCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_0_0(), currentNode);
pushFollow(FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression1210);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:789:2: ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )*
loop11:
do {
int alt11=2;
int LA11_0 = input.LA(1);
if ( ((LA11_0>=29 && LA11_0<=31)) ) {
alt11=1;
}
switch (alt11) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:789:3: ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:789:3: ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:790:1: ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:790:1: ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:791:1: (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:791:1: (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' )
int alt10=3;
switch ( input.LA(1) ) {
case 29:
{
alt10=1;
}
break;
case 30:
{
alt10=2;
}
break;
case 31:
{
alt10=3;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("791:1: (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' )", 10, 0, input);
throw nvae;
}
switch (alt10) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:792:3: lv_op_1_1= '*'
{
lv_op_1_1=(Token)input.LT(1);
match(input,29,FOLLOW_29_in_ruleMultiplicativeExpression1231);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:810:8: lv_op_1_2= '/'
{
lv_op_1_2=(Token)input.LT(1);
match(input,30,FOLLOW_30_in_ruleMultiplicativeExpression1260);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:828:8: lv_op_1_3= 'mod'
{
lv_op_1_3=(Token)input.LT(1);
match(input,31,FOLLOW_31_in_ruleMultiplicativeExpression1289);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:849:2: ( (lv_exp_2_0= ruleUnaryExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:850:1: (lv_exp_2_0= ruleUnaryExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:850:1: (lv_exp_2_0= ruleUnaryExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:851:3: lv_exp_2_0= ruleUnaryExpression
{
currentNode=createCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_1_1_0(), currentNode);
pushFollow(FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression1326);
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 loop11;
}
} while (true);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleMultiplicativeExpression
// $ANTLR start entryRuleUnaryExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:881: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:882:2: (iv_ruleUnaryExpression= ruleUnaryExpression EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:883:2: iv_ruleUnaryExpression= ruleUnaryExpression EOF
{
currentNode = createCompositeNode(grammarAccess.getUnaryExpressionRule(), currentNode);
pushFollow(FOLLOW_ruleUnaryExpression_in_entryRuleUnaryExpression1364);
iv_ruleUnaryExpression=ruleUnaryExpression();
_fsp--;
current =iv_ruleUnaryExpression;
match(input,EOF,FOLLOW_EOF_in_entryRuleUnaryExpression1374);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleUnaryExpression
// $ANTLR start ruleUnaryExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:890: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:895: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:896: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:896: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 alt13=2;
int LA13_0 = input.LA(1);
if ( ((LA13_0>=27 && LA13_0<=28)||LA13_0==32) ) {
alt13=1;
}
else if ( ((LA13_0>=RULE_ID && LA13_0<=RULE_STRING)||(LA13_0>=29 && LA13_0<=30)||LA13_0==34||(LA13_0>=37 && LA13_0<=38)||LA13_0==40||LA13_0==44||(LA13_0>=46 && LA13_0<=51)) ) {
alt13=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("896:1: ( ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) ) | ( (lv_exp_2_0= rulePrimaryExpression ) ) )", 13, 0, input);
throw nvae;
}
switch (alt13) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:896:2: ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:896:2: ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:896:3: ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:896:3: ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:897:1: ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:897:1: ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:898:1: (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:898:1: (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' )
int alt12=3;
switch ( input.LA(1) ) {
case 32:
{
alt12=1;
}
break;
case 28:
{
alt12=2;
}
break;
case 27:
{
alt12=3;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("898:1: (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' )", 12, 0, input);
throw nvae;
}
switch (alt12) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:899:3: lv_op_0_1= 'not'
{
lv_op_0_1=(Token)input.LT(1);
match(input,32,FOLLOW_32_in_ruleUnaryExpression1420);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:917:8: lv_op_0_2= '-'
{
lv_op_0_2=(Token)input.LT(1);
match(input,28,FOLLOW_28_in_ruleUnaryExpression1449);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:935:8: lv_op_0_3= '+'
{
lv_op_0_3=(Token)input.LT(1);
match(input,27,FOLLOW_27_in_ruleUnaryExpression1478);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:956:2: ( (lv_unary_1_0= ruleUnaryExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:957:1: (lv_unary_1_0= ruleUnaryExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:957:1: (lv_unary_1_0= ruleUnaryExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:958:3: lv_unary_1_0= ruleUnaryExpression
{
currentNode=createCompositeNode(grammarAccess.getUnaryExpressionAccess().getUnaryUnaryExpressionParserRuleCall_0_1_0(), currentNode);
pushFollow(FOLLOW_ruleUnaryExpression_in_ruleUnaryExpression1515);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:981:6: ( (lv_exp_2_0= rulePrimaryExpression ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:981:6: ( (lv_exp_2_0= rulePrimaryExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:982:1: (lv_exp_2_0= rulePrimaryExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:982:1: (lv_exp_2_0= rulePrimaryExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:983:3: lv_exp_2_0= rulePrimaryExpression
{
currentNode=createCompositeNode(grammarAccess.getUnaryExpressionAccess().getExpPrimaryExpressionParserRuleCall_1_0(), currentNode);
pushFollow(FOLLOW_rulePrimaryExpression_in_ruleUnaryExpression1543);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1013: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1014:2: (iv_rulePrimaryExpression= rulePrimaryExpression EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1015:2: iv_rulePrimaryExpression= rulePrimaryExpression EOF
{
currentNode = createCompositeNode(grammarAccess.getPrimaryExpressionRule(), currentNode);
pushFollow(FOLLOW_rulePrimaryExpression_in_entryRulePrimaryExpression1579);
iv_rulePrimaryExpression=rulePrimaryExpression();
_fsp--;
current =iv_rulePrimaryExpression;
match(input,EOF,FOLLOW_EOF_in_entryRulePrimaryExpression1589);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRulePrimaryExpression
// $ANTLR start rulePrimaryExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1022: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1027:6: ( ( ( (lv_prefix_0_0= ruleValueSpecification ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1028:1: ( ( (lv_prefix_0_0= ruleValueSpecification ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1028:1: ( ( (lv_prefix_0_0= ruleValueSpecification ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1028:2: ( (lv_prefix_0_0= ruleValueSpecification ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )?
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1028:2: ( (lv_prefix_0_0= ruleValueSpecification ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1029:1: (lv_prefix_0_0= ruleValueSpecification )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1029:1: (lv_prefix_0_0= ruleValueSpecification )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1030:3: lv_prefix_0_0= ruleValueSpecification
{
currentNode=createCompositeNode(grammarAccess.getPrimaryExpressionAccess().getPrefixValueSpecificationParserRuleCall_0_0(), currentNode);
pushFollow(FOLLOW_ruleValueSpecification_in_rulePrimaryExpression1635);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1052:2: ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )?
int alt14=2;
int LA14_0 = input.LA(1);
if ( (LA14_0==33) ) {
alt14=1;
}
switch (alt14) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1052:4: '.' ( (lv_suffix_2_0= ruleSuffixExpression ) )
{
match(input,33,FOLLOW_33_in_rulePrimaryExpression1646);
createLeafNode(grammarAccess.getPrimaryExpressionAccess().getFullStopKeyword_1_0(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1056:1: ( (lv_suffix_2_0= ruleSuffixExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1057:1: (lv_suffix_2_0= ruleSuffixExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1057:1: (lv_suffix_2_0= ruleSuffixExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1058:3: lv_suffix_2_0= ruleSuffixExpression
{
currentNode=createCompositeNode(grammarAccess.getPrimaryExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_1_0(), currentNode);
pushFollow(FOLLOW_ruleSuffixExpression_in_rulePrimaryExpression1667);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1088: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1089:2: (iv_ruleValueSpecification= ruleValueSpecification EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1090:2: iv_ruleValueSpecification= ruleValueSpecification EOF
{
currentNode = createCompositeNode(grammarAccess.getValueSpecificationRule(), currentNode);
pushFollow(FOLLOW_ruleValueSpecification_in_entryRuleValueSpecification1705);
iv_ruleValueSpecification=ruleValueSpecification();
_fsp--;
current =iv_ruleValueSpecification;
match(input,EOF,FOLLOW_EOF_in_entryRuleValueSpecification1715);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleValueSpecification
// $ANTLR start ruleValueSpecification
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1097: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1102: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1103: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1103: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 alt15=8;
switch ( input.LA(1) ) {
case RULE_INTEGERLITERAL:
case RULE_REALLITERAL:
case RULE_DATETIMELITERAL:
case RULE_BOOLEANLITERAL:
case RULE_NULLLITERAL:
case RULE_STRING:
case 29:
case 30:
{
alt15=1;
}
break;
case RULE_ID:
{
alt15=2;
}
break;
case 37:
case 38:
{
alt15=3;
}
break;
case 40:
{
int LA15_4 = input.LA(2);
if ( (LA15_4==RULE_ID) ) {
int LA15_8 = input.LA(3);
if ( ((LA15_8>=16 && LA15_8<=25)||(LA15_8>=27 && LA15_8<=31)||(LA15_8>=33 && LA15_8<=34)||LA15_8==36||(LA15_8>=41 && LA15_8<=42)) ) {
alt15=4;
}
else if ( (LA15_8==43) ) {
alt15=5;
}
else {
NoViableAltException nvae =
new NoViableAltException("1103: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 ')' ) )", 15, 8, input);
throw nvae;
}
}
else if ( ((LA15_4>=RULE_INTEGERLITERAL && LA15_4<=RULE_STRING)||(LA15_4>=27 && LA15_4<=30)||LA15_4==32||LA15_4==34||(LA15_4>=37 && LA15_4<=38)||LA15_4==40||LA15_4==44||(LA15_4>=46 && LA15_4<=51)) ) {
alt15=4;
}
else {
NoViableAltException nvae =
new NoViableAltException("1103: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 ')' ) )", 15, 4, input);
throw nvae;
}
}
break;
case 44:
case 46:
case 47:
{
alt15=6;
}
break;
case 48:
case 49:
case 50:
case 51:
{
alt15=7;
}
break;
case 34:
{
alt15=8;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("1103: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 ')' ) )", 15, 0, input);
throw nvae;
}
switch (alt15) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1104:5: this_Literal_0= ruleLiteral
{
currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getLiteralParserRuleCall_0(), currentNode);
pushFollow(FOLLOW_ruleLiteral_in_ruleValueSpecification1762);
this_Literal_0=ruleLiteral();
_fsp--;
current = this_Literal_0;
currentNode = currentNode.getParent();
}
break;
case 2 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1114:5: this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall
{
currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getNameOrChoiceOrBehaviorCallParserRuleCall_1(), currentNode);
pushFollow(FOLLOW_ruleNameOrChoiceOrBehaviorCall_in_ruleValueSpecification1789);
this_NameOrChoiceOrBehaviorCall_1=ruleNameOrChoiceOrBehaviorCall();
_fsp--;
current = this_NameOrChoiceOrBehaviorCall_1;
currentNode = currentNode.getParent();
}
break;
case 3 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1124:5: this_Interval_2= ruleInterval
{
currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getIntervalParserRuleCall_2(), currentNode);
pushFollow(FOLLOW_ruleInterval_in_ruleValueSpecification1816);
this_Interval_2=ruleInterval();
_fsp--;
current = this_Interval_2;
currentNode = currentNode.getParent();
}
break;
case 4 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1134:5: this_CollectionOrTuple_3= ruleCollectionOrTuple
{
currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getCollectionOrTupleParserRuleCall_3(), currentNode);
pushFollow(FOLLOW_ruleCollectionOrTuple_in_ruleValueSpecification1843);
this_CollectionOrTuple_3=ruleCollectionOrTuple();
_fsp--;
current = this_CollectionOrTuple_3;
currentNode = currentNode.getParent();
}
break;
case 5 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1144:5: this_Tuple_4= ruleTuple
{
currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getTupleParserRuleCall_4(), currentNode);
pushFollow(FOLLOW_ruleTuple_in_ruleValueSpecification1870);
this_Tuple_4=ruleTuple();
_fsp--;
current = this_Tuple_4;
currentNode = currentNode.getParent();
}
break;
case 6 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1154:5: this_TimeExpression_5= ruleTimeExpression
{
currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getTimeExpressionParserRuleCall_5(), currentNode);
pushFollow(FOLLOW_ruleTimeExpression_in_ruleValueSpecification1897);
this_TimeExpression_5=ruleTimeExpression();
_fsp--;
current = this_TimeExpression_5;
currentNode = currentNode.getParent();
}
break;
case 7 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1164:5: this_VariableDeclaration_6= ruleVariableDeclaration
{
currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getVariableDeclarationParserRuleCall_6(), currentNode);
pushFollow(FOLLOW_ruleVariableDeclaration_in_ruleValueSpecification1924);
this_VariableDeclaration_6=ruleVariableDeclaration();
_fsp--;
current = this_VariableDeclaration_6;
currentNode = currentNode.getParent();
}
break;
case 8 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1173:6: ( '(' this_Expression_8= ruleExpression ')' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1173:6: ( '(' this_Expression_8= ruleExpression ')' )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1173:8: '(' this_Expression_8= ruleExpression ')'
{
match(input,34,FOLLOW_34_in_ruleValueSpecification1940);
createLeafNode(grammarAccess.getValueSpecificationAccess().getLeftParenthesisKeyword_7_0(), null);
currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getExpressionParserRuleCall_7_1(), currentNode);
pushFollow(FOLLOW_ruleExpression_in_ruleValueSpecification1962);
this_Expression_8=ruleExpression();
_fsp--;
current = this_Expression_8;
currentNode = currentNode.getParent();
match(input,35,FOLLOW_35_in_ruleValueSpecification1971);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1198: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1199:2: (iv_ruleSuffixExpression= ruleSuffixExpression EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1200:2: iv_ruleSuffixExpression= ruleSuffixExpression EOF
{
currentNode = createCompositeNode(grammarAccess.getSuffixExpressionRule(), currentNode);
pushFollow(FOLLOW_ruleSuffixExpression_in_entryRuleSuffixExpression2008);
iv_ruleSuffixExpression=ruleSuffixExpression();
_fsp--;
current =iv_ruleSuffixExpression;
match(input,EOF,FOLLOW_EOF_in_entryRuleSuffixExpression2018);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleSuffixExpression
// $ANTLR start ruleSuffixExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1207: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1212:6: ( (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1213:1: (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1213:1: (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression )
int alt16=2;
int LA16_0 = input.LA(1);
if ( (LA16_0==RULE_ID) ) {
int LA16_1 = input.LA(2);
if ( (LA16_1==34) ) {
alt16=2;
}
else if ( (LA16_1==EOF||(LA16_1>=16 && LA16_1<=31)||LA16_1==33||LA16_1==35||(LA16_1>=37 && LA16_1<=39)||(LA16_1>=41 && LA16_1<=42)) ) {
alt16=1;
}
else {
NoViableAltException nvae =
new NoViableAltException("1213:1: (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression )", 16, 1, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
new NoViableAltException("1213:1: (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression )", 16, 0, input);
throw nvae;
}
switch (alt16) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1214:5: this_PropertyCallExpression_0= rulePropertyCallExpression
{
currentNode=createCompositeNode(grammarAccess.getSuffixExpressionAccess().getPropertyCallExpressionParserRuleCall_0(), currentNode);
pushFollow(FOLLOW_rulePropertyCallExpression_in_ruleSuffixExpression2065);
this_PropertyCallExpression_0=rulePropertyCallExpression();
_fsp--;
current = this_PropertyCallExpression_0;
currentNode = currentNode.getParent();
}
break;
case 2 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1224:5: this_OperationCallExpression_1= ruleOperationCallExpression
{
currentNode=createCompositeNode(grammarAccess.getSuffixExpressionAccess().getOperationCallExpressionParserRuleCall_1(), currentNode);
pushFollow(FOLLOW_ruleOperationCallExpression_in_ruleSuffixExpression2092);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1240: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1241:2: (iv_rulePropertyCallExpression= rulePropertyCallExpression EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1242:2: iv_rulePropertyCallExpression= rulePropertyCallExpression EOF
{
currentNode = createCompositeNode(grammarAccess.getPropertyCallExpressionRule(), currentNode);
pushFollow(FOLLOW_rulePropertyCallExpression_in_entryRulePropertyCallExpression2127);
iv_rulePropertyCallExpression=rulePropertyCallExpression();
_fsp--;
current =iv_rulePropertyCallExpression;
match(input,EOF,FOLLOW_EOF_in_entryRulePropertyCallExpression2137);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRulePropertyCallExpression
// $ANTLR start rulePropertyCallExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1249: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1254:6: ( ( ( ( RULE_ID ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1255:1: ( ( ( RULE_ID ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1255:1: ( ( ( RULE_ID ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1255:2: ( ( RULE_ID ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )?
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1255:2: ( ( RULE_ID ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1256:1: ( RULE_ID )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1256:1: ( RULE_ID )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1257:3: RULE_ID
{
if (current==null) {
current = factory.create(grammarAccess.getPropertyCallExpressionRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePropertyCallExpression2180);
createLeafNode(grammarAccess.getPropertyCallExpressionAccess().getPropertyPropertyCrossReference_0_0(), "property");
}
}
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1269:2: ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )?
int alt17=2;
int LA17_0 = input.LA(1);
if ( (LA17_0==33) ) {
alt17=1;
}
switch (alt17) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1269:4: '.' ( (lv_suffix_2_0= ruleSuffixExpression ) )
{
match(input,33,FOLLOW_33_in_rulePropertyCallExpression2191);
createLeafNode(grammarAccess.getPropertyCallExpressionAccess().getFullStopKeyword_1_0(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1273:1: ( (lv_suffix_2_0= ruleSuffixExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1274:1: (lv_suffix_2_0= ruleSuffixExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1274:1: (lv_suffix_2_0= ruleSuffixExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1275:3: lv_suffix_2_0= ruleSuffixExpression
{
currentNode=createCompositeNode(grammarAccess.getPropertyCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_1_0(), currentNode);
pushFollow(FOLLOW_ruleSuffixExpression_in_rulePropertyCallExpression2212);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1305: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1306:2: (iv_ruleOperationCallExpression= ruleOperationCallExpression EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1307:2: iv_ruleOperationCallExpression= ruleOperationCallExpression EOF
{
currentNode = createCompositeNode(grammarAccess.getOperationCallExpressionRule(), currentNode);
pushFollow(FOLLOW_ruleOperationCallExpression_in_entryRuleOperationCallExpression2250);
iv_ruleOperationCallExpression=ruleOperationCallExpression();
_fsp--;
current =iv_ruleOperationCallExpression;
match(input,EOF,FOLLOW_EOF_in_entryRuleOperationCallExpression2260);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleOperationCallExpression
// $ANTLR start ruleOperationCallExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1314: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1319:6: ( ( ( ( RULE_ID ) ) '(' ( (lv_arguments_2_0= ruleListOfValues ) )? ')' ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )? ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1320:1: ( ( ( RULE_ID ) ) '(' ( (lv_arguments_2_0= ruleListOfValues ) )? ')' ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )? )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1320:1: ( ( ( RULE_ID ) ) '(' ( (lv_arguments_2_0= ruleListOfValues ) )? ')' ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )? )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1320:2: ( ( RULE_ID ) ) '(' ( (lv_arguments_2_0= ruleListOfValues ) )? ')' ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )?
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1320:2: ( ( RULE_ID ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1321:1: ( RULE_ID )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1321:1: ( RULE_ID )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1322:3: RULE_ID
{
if (current==null) {
current = factory.create(grammarAccess.getOperationCallExpressionRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleOperationCallExpression2303);
createLeafNode(grammarAccess.getOperationCallExpressionAccess().getOperationOperationCrossReference_0_0(), "operation");
}
}
match(input,34,FOLLOW_34_in_ruleOperationCallExpression2313);
createLeafNode(grammarAccess.getOperationCallExpressionAccess().getLeftParenthesisKeyword_1(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1338:1: ( (lv_arguments_2_0= ruleListOfValues ) )?
int alt18=2;
int LA18_0 = input.LA(1);
if ( ((LA18_0>=RULE_ID && LA18_0<=RULE_STRING)||(LA18_0>=27 && LA18_0<=30)||LA18_0==32||LA18_0==34||(LA18_0>=37 && LA18_0<=38)||LA18_0==40||LA18_0==44||(LA18_0>=46 && LA18_0<=51)) ) {
alt18=1;
}
switch (alt18) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1339:1: (lv_arguments_2_0= ruleListOfValues )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1339:1: (lv_arguments_2_0= ruleListOfValues )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1340:3: lv_arguments_2_0= ruleListOfValues
{
currentNode=createCompositeNode(grammarAccess.getOperationCallExpressionAccess().getArgumentsListOfValuesParserRuleCall_2_0(), currentNode);
pushFollow(FOLLOW_ruleListOfValues_in_ruleOperationCallExpression2334);
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,35,FOLLOW_35_in_ruleOperationCallExpression2345);
createLeafNode(grammarAccess.getOperationCallExpressionAccess().getRightParenthesisKeyword_3(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1366:1: ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )?
int alt19=2;
int LA19_0 = input.LA(1);
if ( (LA19_0==33) ) {
alt19=1;
}
switch (alt19) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1366:3: '.' ( (lv_suffix_5_0= ruleSuffixExpression ) )
{
match(input,33,FOLLOW_33_in_ruleOperationCallExpression2356);
createLeafNode(grammarAccess.getOperationCallExpressionAccess().getFullStopKeyword_4_0(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1370:1: ( (lv_suffix_5_0= ruleSuffixExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1371:1: (lv_suffix_5_0= ruleSuffixExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1371:1: (lv_suffix_5_0= ruleSuffixExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1372:3: lv_suffix_5_0= ruleSuffixExpression
{
currentNode=createCompositeNode(grammarAccess.getOperationCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_4_1_0(), currentNode);
pushFollow(FOLLOW_ruleSuffixExpression_in_ruleOperationCallExpression2377);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1402: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1403:2: (iv_ruleLiteral= ruleLiteral EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1404:2: iv_ruleLiteral= ruleLiteral EOF
{
currentNode = createCompositeNode(grammarAccess.getLiteralRule(), currentNode);
pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral2415);
iv_ruleLiteral=ruleLiteral();
_fsp--;
current =iv_ruleLiteral;
match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral2425);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleLiteral
// $ANTLR start ruleLiteral
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1411: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1416: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1417: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1417: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 alt20=6;
switch ( input.LA(1) ) {
case RULE_INTEGERLITERAL:
case RULE_REALLITERAL:
case 29:
{
alt20=1;
}
break;
case RULE_DATETIMELITERAL:
{
alt20=2;
}
break;
case RULE_BOOLEANLITERAL:
{
alt20=3;
}
break;
case RULE_NULLLITERAL:
{
alt20=4;
}
break;
case 30:
{
alt20=5;
}
break;
case RULE_STRING:
{
alt20=6;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("1417: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 )", 20, 0, input);
throw nvae;
}
switch (alt20) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1418:5: this_NumberLiteralRule_0= ruleNumberLiteralRule
{
currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralRuleParserRuleCall_0(), currentNode);
pushFollow(FOLLOW_ruleNumberLiteralRule_in_ruleLiteral2472);
this_NumberLiteralRule_0=ruleNumberLiteralRule();
_fsp--;
current = this_NumberLiteralRule_0;
currentNode = currentNode.getParent();
}
break;
case 2 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1428:5: this_DateTimeLiteralRule_1= ruleDateTimeLiteralRule
{
currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getDateTimeLiteralRuleParserRuleCall_1(), currentNode);
pushFollow(FOLLOW_ruleDateTimeLiteralRule_in_ruleLiteral2499);
this_DateTimeLiteralRule_1=ruleDateTimeLiteralRule();
_fsp--;
current = this_DateTimeLiteralRule_1;
currentNode = currentNode.getParent();
}
break;
case 3 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1438:5: this_BooleanLiteralRule_2= ruleBooleanLiteralRule
{
currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralRuleParserRuleCall_2(), currentNode);
pushFollow(FOLLOW_ruleBooleanLiteralRule_in_ruleLiteral2526);
this_BooleanLiteralRule_2=ruleBooleanLiteralRule();
_fsp--;
current = this_BooleanLiteralRule_2;
currentNode = currentNode.getParent();
}
break;
case 4 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1448:5: this_NullLiteralRule_3= ruleNullLiteralRule
{
currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getNullLiteralRuleParserRuleCall_3(), currentNode);
pushFollow(FOLLOW_ruleNullLiteralRule_in_ruleLiteral2553);
this_NullLiteralRule_3=ruleNullLiteralRule();
_fsp--;
current = this_NullLiteralRule_3;
currentNode = currentNode.getParent();
}
break;
case 5 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1458:5: this_DefaultLiteralRule_4= ruleDefaultLiteralRule
{
currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getDefaultLiteralRuleParserRuleCall_4(), currentNode);
pushFollow(FOLLOW_ruleDefaultLiteralRule_in_ruleLiteral2580);
this_DefaultLiteralRule_4=ruleDefaultLiteralRule();
_fsp--;
current = this_DefaultLiteralRule_4;
currentNode = currentNode.getParent();
}
break;
case 6 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1468:5: this_StringLiteralRule_5= ruleStringLiteralRule
{
currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralRuleParserRuleCall_5(), currentNode);
pushFollow(FOLLOW_ruleStringLiteralRule_in_ruleLiteral2607);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1484: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1485:2: (iv_ruleNameOrChoiceOrBehaviorCall= ruleNameOrChoiceOrBehaviorCall EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1486:2: iv_ruleNameOrChoiceOrBehaviorCall= ruleNameOrChoiceOrBehaviorCall EOF
{
currentNode = createCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallRule(), currentNode);
pushFollow(FOLLOW_ruleNameOrChoiceOrBehaviorCall_in_entryRuleNameOrChoiceOrBehaviorCall2642);
iv_ruleNameOrChoiceOrBehaviorCall=ruleNameOrChoiceOrBehaviorCall();
_fsp--;
current =iv_ruleNameOrChoiceOrBehaviorCall;
match(input,EOF,FOLLOW_EOF_in_entryRuleNameOrChoiceOrBehaviorCall2652);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleNameOrChoiceOrBehaviorCall
// $ANTLR start ruleNameOrChoiceOrBehaviorCall
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1493: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1498:6: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )? ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1499:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )? )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1499:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )? )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1499:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )?
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1499:2: ( (lv_path_0_0= ruleQualifiedName ) )?
int alt21=2;
int LA21_0 = input.LA(1);
if ( (LA21_0==RULE_ID) ) {
int LA21_1 = input.LA(2);
if ( (LA21_1==36) ) {
alt21=1;
}
}
switch (alt21) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1500:1: (lv_path_0_0= ruleQualifiedName )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1500:1: (lv_path_0_0= ruleQualifiedName )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1501:3: lv_path_0_0= ruleQualifiedName
{
currentNode=createCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode);
pushFollow(FOLLOW_ruleQualifiedName_in_ruleNameOrChoiceOrBehaviorCall2698);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1523:3: ( ( RULE_ID ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1524:1: ( RULE_ID )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1524:1: ( RULE_ID )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1525:3: RULE_ID
{
if (current==null) {
current = factory.create(grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleNameOrChoiceOrBehaviorCall2717);
createLeafNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getIdNamedElementCrossReference_1_0(), "id");
}
}
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1537:2: ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )?
int alt23=2;
int LA23_0 = input.LA(1);
if ( (LA23_0==34) ) {
alt23=1;
}
switch (alt23) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1537:4: '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')'
{
match(input,34,FOLLOW_34_in_ruleNameOrChoiceOrBehaviorCall2728);
createLeafNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getLeftParenthesisKeyword_2_0(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1541:1: ( (lv_arguments_3_0= ruleListOfValues ) )?
int alt22=2;
int LA22_0 = input.LA(1);
if ( ((LA22_0>=RULE_ID && LA22_0<=RULE_STRING)||(LA22_0>=27 && LA22_0<=30)||LA22_0==32||LA22_0==34||(LA22_0>=37 && LA22_0<=38)||LA22_0==40||LA22_0==44||(LA22_0>=46 && LA22_0<=51)) ) {
alt22=1;
}
switch (alt22) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1542:1: (lv_arguments_3_0= ruleListOfValues )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1542:1: (lv_arguments_3_0= ruleListOfValues )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1543:3: lv_arguments_3_0= ruleListOfValues
{
currentNode=createCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getArgumentsListOfValuesParserRuleCall_2_1_0(), currentNode);
pushFollow(FOLLOW_ruleListOfValues_in_ruleNameOrChoiceOrBehaviorCall2749);
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,35,FOLLOW_35_in_ruleNameOrChoiceOrBehaviorCall2760);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1577: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1578:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1579:2: iv_ruleQualifiedName= ruleQualifiedName EOF
{
currentNode = createCompositeNode(grammarAccess.getQualifiedNameRule(), currentNode);
pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName2798);
iv_ruleQualifiedName=ruleQualifiedName();
_fsp--;
current =iv_ruleQualifiedName;
match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName2808);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleQualifiedName
// $ANTLR start ruleQualifiedName
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1586: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1591:6: ( ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1592:1: ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1592:1: ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1592:2: ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )?
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1592:2: ( ( RULE_ID ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1593:1: ( RULE_ID )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1593:1: ( RULE_ID )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1594:3: RULE_ID
{
if (current==null) {
current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName2851);
createLeafNode(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(), "path");
}
}
match(input,36,FOLLOW_36_in_ruleQualifiedName2861);
createLeafNode(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1610:1: ( (lv_remaining_2_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==36) ) {
alt24=1;
}
}
switch (alt24) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1611:1: (lv_remaining_2_0= ruleQualifiedName )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1611:1: (lv_remaining_2_0= ruleQualifiedName )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1612:3: lv_remaining_2_0= ruleQualifiedName
{
currentNode=createCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(), currentNode);
pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedName2882);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1642: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1643:2: (iv_ruleInterval= ruleInterval EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1644:2: iv_ruleInterval= ruleInterval EOF
{
currentNode = createCompositeNode(grammarAccess.getIntervalRule(), currentNode);
pushFollow(FOLLOW_ruleInterval_in_entryRuleInterval2919);
iv_ruleInterval=ruleInterval();
_fsp--;
current =iv_ruleInterval;
match(input,EOF,FOLLOW_EOF_in_entryRuleInterval2929);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleInterval
// $ANTLR start ruleInterval
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1651: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1656:6: ( ( ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) ) ( (lv_lower_2_0= ruleExpression ) ) '..' ( (lv_upper_4_0= ruleExpression ) ) ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1657:1: ( ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) ) ( (lv_lower_2_0= ruleExpression ) ) '..' ( (lv_upper_4_0= ruleExpression ) ) ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1657:1: ( ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) ) ( (lv_lower_2_0= ruleExpression ) ) '..' ( (lv_upper_4_0= ruleExpression ) ) ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1657:2: ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) ) ( (lv_lower_2_0= ruleExpression ) ) '..' ( (lv_upper_4_0= ruleExpression ) ) ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1657:2: ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) )
int alt25=2;
int LA25_0 = input.LA(1);
if ( (LA25_0==37) ) {
alt25=1;
}
else if ( (LA25_0==38) ) {
alt25=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("1657:2: ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) )", 25, 0, input);
throw nvae;
}
switch (alt25) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1657:4: ']'
{
match(input,37,FOLLOW_37_in_ruleInterval2965);
createLeafNode(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_0_0(), null);
}
break;
case 2 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1662:6: ( (lv_isLowerIncluded_1_0= '[' ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1662:6: ( (lv_isLowerIncluded_1_0= '[' ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1663:1: (lv_isLowerIncluded_1_0= '[' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1663:1: (lv_isLowerIncluded_1_0= '[' )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1664:3: lv_isLowerIncluded_1_0= '['
{
lv_isLowerIncluded_1_0=(Token)input.LT(1);
match(input,38,FOLLOW_38_in_ruleInterval2989);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1683:3: ( (lv_lower_2_0= ruleExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1684:1: (lv_lower_2_0= ruleExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1684:1: (lv_lower_2_0= ruleExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1685:3: lv_lower_2_0= ruleExpression
{
currentNode=createCompositeNode(grammarAccess.getIntervalAccess().getLowerExpressionParserRuleCall_1_0(), currentNode);
pushFollow(FOLLOW_ruleExpression_in_ruleInterval3024);
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,39,FOLLOW_39_in_ruleInterval3034);
createLeafNode(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1711:1: ( (lv_upper_4_0= ruleExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1712:1: (lv_upper_4_0= ruleExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1712:1: (lv_upper_4_0= ruleExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1713:3: lv_upper_4_0= ruleExpression
{
currentNode=createCompositeNode(grammarAccess.getIntervalAccess().getUpperExpressionParserRuleCall_3_0(), currentNode);
pushFollow(FOLLOW_ruleExpression_in_ruleInterval3055);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1735:2: ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' )
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0==37) ) {
alt26=1;
}
else if ( (LA26_0==38) ) {
alt26=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("1735:2: ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' )", 26, 0, input);
throw nvae;
}
switch (alt26) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1735:3: ( (lv_isUpperIncluded_5_0= ']' ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1735:3: ( (lv_isUpperIncluded_5_0= ']' ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1736:1: (lv_isUpperIncluded_5_0= ']' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1736:1: (lv_isUpperIncluded_5_0= ']' )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1737:3: lv_isUpperIncluded_5_0= ']'
{
lv_isUpperIncluded_5_0=(Token)input.LT(1);
match(input,37,FOLLOW_37_in_ruleInterval3074);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1757:7: '['
{
match(input,38,FOLLOW_38_in_ruleInterval3103);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1769: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1770:2: (iv_ruleCollectionOrTuple= ruleCollectionOrTuple EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1771:2: iv_ruleCollectionOrTuple= ruleCollectionOrTuple EOF
{
currentNode = createCompositeNode(grammarAccess.getCollectionOrTupleRule(), currentNode);
pushFollow(FOLLOW_ruleCollectionOrTuple_in_entryRuleCollectionOrTuple3140);
iv_ruleCollectionOrTuple=ruleCollectionOrTuple();
_fsp--;
current =iv_ruleCollectionOrTuple;
match(input,EOF,FOLLOW_EOF_in_entryRuleCollectionOrTuple3150);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleCollectionOrTuple
// $ANTLR start ruleCollectionOrTuple
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1778: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1783:6: ( ( '{' ( (lv_listOfValues_1_0= ruleListOfValues ) ) '}' ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1784:1: ( '{' ( (lv_listOfValues_1_0= ruleListOfValues ) ) '}' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1784:1: ( '{' ( (lv_listOfValues_1_0= ruleListOfValues ) ) '}' )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1784:3: '{' ( (lv_listOfValues_1_0= ruleListOfValues ) ) '}'
{
match(input,40,FOLLOW_40_in_ruleCollectionOrTuple3185);
createLeafNode(grammarAccess.getCollectionOrTupleAccess().getLeftCurlyBracketKeyword_0(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1788:1: ( (lv_listOfValues_1_0= ruleListOfValues ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1789:1: (lv_listOfValues_1_0= ruleListOfValues )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1789:1: (lv_listOfValues_1_0= ruleListOfValues )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1790:3: lv_listOfValues_1_0= ruleListOfValues
{
currentNode=createCompositeNode(grammarAccess.getCollectionOrTupleAccess().getListOfValuesListOfValuesParserRuleCall_1_0(), currentNode);
pushFollow(FOLLOW_ruleListOfValues_in_ruleCollectionOrTuple3206);
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,41,FOLLOW_41_in_ruleCollectionOrTuple3216);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1824: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1825:2: (iv_ruleTuple= ruleTuple EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1826:2: iv_ruleTuple= ruleTuple EOF
{
currentNode = createCompositeNode(grammarAccess.getTupleRule(), currentNode);
pushFollow(FOLLOW_ruleTuple_in_entryRuleTuple3252);
iv_ruleTuple=ruleTuple();
_fsp--;
current =iv_ruleTuple;
match(input,EOF,FOLLOW_EOF_in_entryRuleTuple3262);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleTuple
// $ANTLR start ruleTuple
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1833: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1838:6: ( ( '{' ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) ) '}' ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1839:1: ( '{' ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) ) '}' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1839:1: ( '{' ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) ) '}' )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1839:3: '{' ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) ) '}'
{
match(input,40,FOLLOW_40_in_ruleTuple3297);
createLeafNode(grammarAccess.getTupleAccess().getLeftCurlyBracketKeyword_0(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1843:1: ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1844:1: (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1844:1: (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1845:3: lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs
{
currentNode=createCompositeNode(grammarAccess.getTupleAccess().getListOfValueNamePairsListOfValueNamePairsParserRuleCall_1_0(), currentNode);
pushFollow(FOLLOW_ruleListOfValueNamePairs_in_ruleTuple3318);
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,41,FOLLOW_41_in_ruleTuple3328);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1879: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1880:2: (iv_ruleListOfValues= ruleListOfValues EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1881:2: iv_ruleListOfValues= ruleListOfValues EOF
{
currentNode = createCompositeNode(grammarAccess.getListOfValuesRule(), currentNode);
pushFollow(FOLLOW_ruleListOfValues_in_entryRuleListOfValues3364);
iv_ruleListOfValues=ruleListOfValues();
_fsp--;
current =iv_ruleListOfValues;
match(input,EOF,FOLLOW_EOF_in_entryRuleListOfValues3374);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleListOfValues
// $ANTLR start ruleListOfValues
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1888: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1893:6: ( ( ( (lv_values_0_0= ruleExpression ) ) ( ',' ( (lv_values_2_0= ruleExpression ) ) )* ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1894:1: ( ( (lv_values_0_0= ruleExpression ) ) ( ',' ( (lv_values_2_0= ruleExpression ) ) )* )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1894:1: ( ( (lv_values_0_0= ruleExpression ) ) ( ',' ( (lv_values_2_0= ruleExpression ) ) )* )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1894:2: ( (lv_values_0_0= ruleExpression ) ) ( ',' ( (lv_values_2_0= ruleExpression ) ) )*
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1894:2: ( (lv_values_0_0= ruleExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1895:1: (lv_values_0_0= ruleExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1895:1: (lv_values_0_0= ruleExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1896:3: lv_values_0_0= ruleExpression
{
currentNode=createCompositeNode(grammarAccess.getListOfValuesAccess().getValuesExpressionParserRuleCall_0_0(), currentNode);
pushFollow(FOLLOW_ruleExpression_in_ruleListOfValues3420);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1918:2: ( ',' ( (lv_values_2_0= ruleExpression ) ) )*
loop27:
do {
int alt27=2;
int LA27_0 = input.LA(1);
if ( (LA27_0==42) ) {
alt27=1;
}
switch (alt27) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1918:4: ',' ( (lv_values_2_0= ruleExpression ) )
{
match(input,42,FOLLOW_42_in_ruleListOfValues3431);
createLeafNode(grammarAccess.getListOfValuesAccess().getCommaKeyword_1_0(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1922:1: ( (lv_values_2_0= ruleExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1923:1: (lv_values_2_0= ruleExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1923:1: (lv_values_2_0= ruleExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1924:3: lv_values_2_0= ruleExpression
{
currentNode=createCompositeNode(grammarAccess.getListOfValuesAccess().getValuesExpressionParserRuleCall_1_1_0(), currentNode);
pushFollow(FOLLOW_ruleExpression_in_ruleListOfValues3452);
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 loop27;
}
} while (true);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleListOfValues
// $ANTLR start entryRuleListOfValueNamePairs
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1954: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1955:2: (iv_ruleListOfValueNamePairs= ruleListOfValueNamePairs EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1956:2: iv_ruleListOfValueNamePairs= ruleListOfValueNamePairs EOF
{
currentNode = createCompositeNode(grammarAccess.getListOfValueNamePairsRule(), currentNode);
pushFollow(FOLLOW_ruleListOfValueNamePairs_in_entryRuleListOfValueNamePairs3490);
iv_ruleListOfValueNamePairs=ruleListOfValueNamePairs();
_fsp--;
current =iv_ruleListOfValueNamePairs;
match(input,EOF,FOLLOW_EOF_in_entryRuleListOfValueNamePairs3500);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleListOfValueNamePairs
// $ANTLR start ruleListOfValueNamePairs
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1963: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1968:6: ( ( ( (lv_valueNamePairs_0_0= ruleValueNamePair ) ) ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )* ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1969:1: ( ( (lv_valueNamePairs_0_0= ruleValueNamePair ) ) ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )* )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1969:1: ( ( (lv_valueNamePairs_0_0= ruleValueNamePair ) ) ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )* )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1969:2: ( (lv_valueNamePairs_0_0= ruleValueNamePair ) ) ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )*
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1969:2: ( (lv_valueNamePairs_0_0= ruleValueNamePair ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1970:1: (lv_valueNamePairs_0_0= ruleValueNamePair )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1970:1: (lv_valueNamePairs_0_0= ruleValueNamePair )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1971:3: lv_valueNamePairs_0_0= ruleValueNamePair
{
currentNode=createCompositeNode(grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsValueNamePairParserRuleCall_0_0(), currentNode);
pushFollow(FOLLOW_ruleValueNamePair_in_ruleListOfValueNamePairs3546);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1993:2: ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )*
loop28:
do {
int alt28=2;
int LA28_0 = input.LA(1);
if ( (LA28_0==42) ) {
alt28=1;
}
switch (alt28) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1993:4: ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) )
{
match(input,42,FOLLOW_42_in_ruleListOfValueNamePairs3557);
createLeafNode(grammarAccess.getListOfValueNamePairsAccess().getCommaKeyword_1_0(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1997:1: ( (lv_valueNamePairs_2_0= ruleValueNamePair ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1998:1: (lv_valueNamePairs_2_0= ruleValueNamePair )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1998:1: (lv_valueNamePairs_2_0= ruleValueNamePair )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1999:3: lv_valueNamePairs_2_0= ruleValueNamePair
{
currentNode=createCompositeNode(grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsValueNamePairParserRuleCall_1_1_0(), currentNode);
pushFollow(FOLLOW_ruleValueNamePair_in_ruleListOfValueNamePairs3578);
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 loop28;
}
} while (true);
}
}
resetLookahead();
lastConsumedNode = currentNode;
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end ruleListOfValueNamePairs
// $ANTLR start entryRuleValueNamePair
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2029: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2030:2: (iv_ruleValueNamePair= ruleValueNamePair EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2031:2: iv_ruleValueNamePair= ruleValueNamePair EOF
{
currentNode = createCompositeNode(grammarAccess.getValueNamePairRule(), currentNode);
pushFollow(FOLLOW_ruleValueNamePair_in_entryRuleValueNamePair3616);
iv_ruleValueNamePair=ruleValueNamePair();
_fsp--;
current =iv_ruleValueNamePair;
match(input,EOF,FOLLOW_EOF_in_entryRuleValueNamePair3626);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleValueNamePair
// $ANTLR start ruleValueNamePair
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2038: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2043:6: ( ( ( ( RULE_ID ) ) '=' ( (lv_value_2_0= ruleExpression ) ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2044:1: ( ( ( RULE_ID ) ) '=' ( (lv_value_2_0= ruleExpression ) ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2044:1: ( ( ( RULE_ID ) ) '=' ( (lv_value_2_0= ruleExpression ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2044:2: ( ( RULE_ID ) ) '=' ( (lv_value_2_0= ruleExpression ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2044:2: ( ( RULE_ID ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2045:1: ( RULE_ID )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2045:1: ( RULE_ID )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2046:3: RULE_ID
{
if (current==null) {
current = factory.create(grammarAccess.getValueNamePairRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleValueNamePair3669);
createLeafNode(grammarAccess.getValueNamePairAccess().getPropertyPropertyCrossReference_0_0(), "property");
}
}
match(input,43,FOLLOW_43_in_ruleValueNamePair3679);
createLeafNode(grammarAccess.getValueNamePairAccess().getEqualsSignKeyword_1(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2062:1: ( (lv_value_2_0= ruleExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2063:1: (lv_value_2_0= ruleExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2063:1: (lv_value_2_0= ruleExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2064:3: lv_value_2_0= ruleExpression
{
currentNode=createCompositeNode(grammarAccess.getValueNamePairAccess().getValueExpressionParserRuleCall_2_0(), currentNode);
pushFollow(FOLLOW_ruleExpression_in_ruleValueNamePair3700);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2094: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2095:2: (iv_ruleTimeExpression= ruleTimeExpression EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2096:2: iv_ruleTimeExpression= ruleTimeExpression EOF
{
currentNode = createCompositeNode(grammarAccess.getTimeExpressionRule(), currentNode);
pushFollow(FOLLOW_ruleTimeExpression_in_entryRuleTimeExpression3736);
iv_ruleTimeExpression=ruleTimeExpression();
_fsp--;
current =iv_ruleTimeExpression;
match(input,EOF,FOLLOW_EOF_in_entryRuleTimeExpression3746);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleTimeExpression
// $ANTLR start ruleTimeExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2103: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2108:6: ( (this_InstantObsExpression_0= ruleInstantObsExpression | this_DurationObsExpression_1= ruleDurationObsExpression | this_JitterExp_2= ruleJitterExp ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2109:1: (this_InstantObsExpression_0= ruleInstantObsExpression | this_DurationObsExpression_1= ruleDurationObsExpression | this_JitterExp_2= ruleJitterExp )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2109:1: (this_InstantObsExpression_0= ruleInstantObsExpression | this_DurationObsExpression_1= ruleDurationObsExpression | this_JitterExp_2= ruleJitterExp )
int alt29=3;
switch ( input.LA(1) ) {
case 44:
{
alt29=1;
}
break;
case 46:
{
alt29=2;
}
break;
case 47:
{
alt29=3;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("2109:1: (this_InstantObsExpression_0= ruleInstantObsExpression | this_DurationObsExpression_1= ruleDurationObsExpression | this_JitterExp_2= ruleJitterExp )", 29, 0, input);
throw nvae;
}
switch (alt29) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2110:5: this_InstantObsExpression_0= ruleInstantObsExpression
{
currentNode=createCompositeNode(grammarAccess.getTimeExpressionAccess().getInstantObsExpressionParserRuleCall_0(), currentNode);
pushFollow(FOLLOW_ruleInstantObsExpression_in_ruleTimeExpression3793);
this_InstantObsExpression_0=ruleInstantObsExpression();
_fsp--;
current = this_InstantObsExpression_0;
currentNode = currentNode.getParent();
}
break;
case 2 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2120:5: this_DurationObsExpression_1= ruleDurationObsExpression
{
currentNode=createCompositeNode(grammarAccess.getTimeExpressionAccess().getDurationObsExpressionParserRuleCall_1(), currentNode);
pushFollow(FOLLOW_ruleDurationObsExpression_in_ruleTimeExpression3820);
this_DurationObsExpression_1=ruleDurationObsExpression();
_fsp--;
current = this_DurationObsExpression_1;
currentNode = currentNode.getParent();
}
break;
case 3 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2130:5: this_JitterExp_2= ruleJitterExp
{
currentNode=createCompositeNode(grammarAccess.getTimeExpressionAccess().getJitterExpParserRuleCall_2(), currentNode);
pushFollow(FOLLOW_ruleJitterExp_in_ruleTimeExpression3847);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2146: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2147:2: (iv_ruleInstantObsExpression= ruleInstantObsExpression EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2148:2: iv_ruleInstantObsExpression= ruleInstantObsExpression EOF
{
currentNode = createCompositeNode(grammarAccess.getInstantObsExpressionRule(), currentNode);
pushFollow(FOLLOW_ruleInstantObsExpression_in_entryRuleInstantObsExpression3882);
iv_ruleInstantObsExpression=ruleInstantObsExpression();
_fsp--;
current =iv_ruleInstantObsExpression;
match(input,EOF,FOLLOW_EOF_in_entryRuleInstantObsExpression3892);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleInstantObsExpression
// $ANTLR start ruleInstantObsExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2155: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2160:6: ( ( '@' ( (lv_id_1_0= ruleInstantObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2161:1: ( '@' ( (lv_id_1_0= ruleInstantObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2161:1: ( '@' ( (lv_id_1_0= ruleInstantObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2161:3: '@' ( (lv_id_1_0= ruleInstantObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )?
{
match(input,44,FOLLOW_44_in_ruleInstantObsExpression3927);
createLeafNode(grammarAccess.getInstantObsExpressionAccess().getCommercialAtKeyword_0(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2165:1: ( (lv_id_1_0= ruleInstantObsName ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2166:1: (lv_id_1_0= ruleInstantObsName )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2166:1: (lv_id_1_0= ruleInstantObsName )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2167:3: lv_id_1_0= ruleInstantObsName
{
currentNode=createCompositeNode(grammarAccess.getInstantObsExpressionAccess().getIdInstantObsNameParserRuleCall_1_0(), currentNode);
pushFollow(FOLLOW_ruleInstantObsName_in_ruleInstantObsExpression3948);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2189:2: ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )?
int alt30=2;
int LA30_0 = input.LA(1);
if ( (LA30_0==34) ) {
alt30=1;
}
switch (alt30) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2189:4: '(' ( (lv_index_3_0= ruleExpression ) ) ')'
{
match(input,34,FOLLOW_34_in_ruleInstantObsExpression3959);
createLeafNode(grammarAccess.getInstantObsExpressionAccess().getLeftParenthesisKeyword_2_0(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2193:1: ( (lv_index_3_0= ruleExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2194:1: (lv_index_3_0= ruleExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2194:1: (lv_index_3_0= ruleExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2195:3: lv_index_3_0= ruleExpression
{
currentNode=createCompositeNode(grammarAccess.getInstantObsExpressionAccess().getIndexExpressionParserRuleCall_2_1_0(), currentNode);
pushFollow(FOLLOW_ruleExpression_in_ruleInstantObsExpression3980);
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,35,FOLLOW_35_in_ruleInstantObsExpression3990);
createLeafNode(grammarAccess.getInstantObsExpressionAccess().getRightParenthesisKeyword_2_2(), null);
}
break;
}
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2221:3: ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )?
int alt31=2;
int LA31_0 = input.LA(1);
if ( (LA31_0==45) ) {
alt31=1;
}
switch (alt31) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2221:5: 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')'
{
match(input,45,FOLLOW_45_in_ruleInstantObsExpression4003);
createLeafNode(grammarAccess.getInstantObsExpressionAccess().getWhenKeyword_3_0(), null);
match(input,34,FOLLOW_34_in_ruleInstantObsExpression4013);
createLeafNode(grammarAccess.getInstantObsExpressionAccess().getLeftParenthesisKeyword_3_1(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2229:1: ( (lv_condition_7_0= ruleExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2230:1: (lv_condition_7_0= ruleExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2230:1: (lv_condition_7_0= ruleExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2231:3: lv_condition_7_0= ruleExpression
{
currentNode=createCompositeNode(grammarAccess.getInstantObsExpressionAccess().getConditionExpressionParserRuleCall_3_2_0(), currentNode);
pushFollow(FOLLOW_ruleExpression_in_ruleInstantObsExpression4034);
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,35,FOLLOW_35_in_ruleInstantObsExpression4044);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2265: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2266:2: (iv_ruleInstantObsName= ruleInstantObsName EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2267:2: iv_ruleInstantObsName= ruleInstantObsName EOF
{
currentNode = createCompositeNode(grammarAccess.getInstantObsNameRule(), currentNode);
pushFollow(FOLLOW_ruleInstantObsName_in_entryRuleInstantObsName4082);
iv_ruleInstantObsName=ruleInstantObsName();
_fsp--;
current =iv_ruleInstantObsName;
match(input,EOF,FOLLOW_EOF_in_entryRuleInstantObsName4092);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleInstantObsName
// $ANTLR start ruleInstantObsName
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2274: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2279:6: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2280:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2280:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2280:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2280:2: ( (lv_path_0_0= ruleQualifiedName ) )?
int alt32=2;
int LA32_0 = input.LA(1);
if ( (LA32_0==RULE_ID) ) {
int LA32_1 = input.LA(2);
if ( (LA32_1==36) ) {
alt32=1;
}
}
switch (alt32) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2281:1: (lv_path_0_0= ruleQualifiedName )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2281:1: (lv_path_0_0= ruleQualifiedName )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2282:3: lv_path_0_0= ruleQualifiedName
{
currentNode=createCompositeNode(grammarAccess.getInstantObsNameAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode);
pushFollow(FOLLOW_ruleQualifiedName_in_ruleInstantObsName4138);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2304:3: ( ( RULE_ID ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2305:1: ( RULE_ID )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2305:1: ( RULE_ID )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2306:3: RULE_ID
{
if (current==null) {
current = factory.create(grammarAccess.getInstantObsNameRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleInstantObsName4157);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2326: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2327:2: (iv_ruleDurationObsExpression= ruleDurationObsExpression EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2328:2: iv_ruleDurationObsExpression= ruleDurationObsExpression EOF
{
currentNode = createCompositeNode(grammarAccess.getDurationObsExpressionRule(), currentNode);
pushFollow(FOLLOW_ruleDurationObsExpression_in_entryRuleDurationObsExpression4193);
iv_ruleDurationObsExpression=ruleDurationObsExpression();
_fsp--;
current =iv_ruleDurationObsExpression;
match(input,EOF,FOLLOW_EOF_in_entryRuleDurationObsExpression4203);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleDurationObsExpression
// $ANTLR start ruleDurationObsExpression
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2335: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2340:6: ( ( '&' ( (lv_id_1_0= ruleDurationObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2341:1: ( '&' ( (lv_id_1_0= ruleDurationObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2341:1: ( '&' ( (lv_id_1_0= ruleDurationObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2341:3: '&' ( (lv_id_1_0= ruleDurationObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )?
{
match(input,46,FOLLOW_46_in_ruleDurationObsExpression4238);
createLeafNode(grammarAccess.getDurationObsExpressionAccess().getAmpersandKeyword_0(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2345:1: ( (lv_id_1_0= ruleDurationObsName ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2346:1: (lv_id_1_0= ruleDurationObsName )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2346:1: (lv_id_1_0= ruleDurationObsName )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2347:3: lv_id_1_0= ruleDurationObsName
{
currentNode=createCompositeNode(grammarAccess.getDurationObsExpressionAccess().getIdDurationObsNameParserRuleCall_1_0(), currentNode);
pushFollow(FOLLOW_ruleDurationObsName_in_ruleDurationObsExpression4259);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2369:2: ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )?
int alt33=2;
int LA33_0 = input.LA(1);
if ( (LA33_0==34) ) {
alt33=1;
}
switch (alt33) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2369:4: '(' ( (lv_index_3_0= ruleExpression ) ) ')'
{
match(input,34,FOLLOW_34_in_ruleDurationObsExpression4270);
createLeafNode(grammarAccess.getDurationObsExpressionAccess().getLeftParenthesisKeyword_2_0(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2373:1: ( (lv_index_3_0= ruleExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2374:1: (lv_index_3_0= ruleExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2374:1: (lv_index_3_0= ruleExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2375:3: lv_index_3_0= ruleExpression
{
currentNode=createCompositeNode(grammarAccess.getDurationObsExpressionAccess().getIndexExpressionParserRuleCall_2_1_0(), currentNode);
pushFollow(FOLLOW_ruleExpression_in_ruleDurationObsExpression4291);
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,35,FOLLOW_35_in_ruleDurationObsExpression4301);
createLeafNode(grammarAccess.getDurationObsExpressionAccess().getRightParenthesisKeyword_2_2(), null);
}
break;
}
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2401:3: ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )?
int alt34=2;
int LA34_0 = input.LA(1);
if ( (LA34_0==45) ) {
alt34=1;
}
switch (alt34) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2401:5: 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')'
{
match(input,45,FOLLOW_45_in_ruleDurationObsExpression4314);
createLeafNode(grammarAccess.getDurationObsExpressionAccess().getWhenKeyword_3_0(), null);
match(input,34,FOLLOW_34_in_ruleDurationObsExpression4324);
createLeafNode(grammarAccess.getDurationObsExpressionAccess().getLeftParenthesisKeyword_3_1(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2409:1: ( (lv_condition_7_0= ruleExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2410:1: (lv_condition_7_0= ruleExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2410:1: (lv_condition_7_0= ruleExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2411:3: lv_condition_7_0= ruleExpression
{
currentNode=createCompositeNode(grammarAccess.getDurationObsExpressionAccess().getConditionExpressionParserRuleCall_3_2_0(), currentNode);
pushFollow(FOLLOW_ruleExpression_in_ruleDurationObsExpression4345);
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,35,FOLLOW_35_in_ruleDurationObsExpression4355);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2445: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2446:2: (iv_ruleDurationObsName= ruleDurationObsName EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2447:2: iv_ruleDurationObsName= ruleDurationObsName EOF
{
currentNode = createCompositeNode(grammarAccess.getDurationObsNameRule(), currentNode);
pushFollow(FOLLOW_ruleDurationObsName_in_entryRuleDurationObsName4393);
iv_ruleDurationObsName=ruleDurationObsName();
_fsp--;
current =iv_ruleDurationObsName;
match(input,EOF,FOLLOW_EOF_in_entryRuleDurationObsName4403);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleDurationObsName
// $ANTLR start ruleDurationObsName
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2454: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2459:6: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2460:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2460:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2460:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2460: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==36) ) {
alt35=1;
}
}
switch (alt35) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2461:1: (lv_path_0_0= ruleQualifiedName )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2461:1: (lv_path_0_0= ruleQualifiedName )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2462:3: lv_path_0_0= ruleQualifiedName
{
currentNode=createCompositeNode(grammarAccess.getDurationObsNameAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode);
pushFollow(FOLLOW_ruleQualifiedName_in_ruleDurationObsName4449);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2484:3: ( ( RULE_ID ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2485:1: ( RULE_ID )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2485:1: ( RULE_ID )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2486:3: RULE_ID
{
if (current==null) {
current = factory.create(grammarAccess.getDurationObsNameRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDurationObsName4468);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2506: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2507:2: (iv_ruleJitterExp= ruleJitterExp EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2508:2: iv_ruleJitterExp= ruleJitterExp EOF
{
currentNode = createCompositeNode(grammarAccess.getJitterExpRule(), currentNode);
pushFollow(FOLLOW_ruleJitterExp_in_entryRuleJitterExp4504);
iv_ruleJitterExp=ruleJitterExp();
_fsp--;
current =iv_ruleJitterExp;
match(input,EOF,FOLLOW_EOF_in_entryRuleJitterExp4514);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleJitterExp
// $ANTLR start ruleJitterExp
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2515: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2520:6: ( ( 'jitter(' ( (lv_firstInstant_1_0= ruleInstantObsExpression ) ) ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )? ')' ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2521:1: ( 'jitter(' ( (lv_firstInstant_1_0= ruleInstantObsExpression ) ) ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )? ')' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2521:1: ( 'jitter(' ( (lv_firstInstant_1_0= ruleInstantObsExpression ) ) ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )? ')' )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2521:3: 'jitter(' ( (lv_firstInstant_1_0= ruleInstantObsExpression ) ) ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )? ')'
{
match(input,47,FOLLOW_47_in_ruleJitterExp4549);
createLeafNode(grammarAccess.getJitterExpAccess().getJitterKeyword_0(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2525:1: ( (lv_firstInstant_1_0= ruleInstantObsExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2526:1: (lv_firstInstant_1_0= ruleInstantObsExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2526:1: (lv_firstInstant_1_0= ruleInstantObsExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2527:3: lv_firstInstant_1_0= ruleInstantObsExpression
{
currentNode=createCompositeNode(grammarAccess.getJitterExpAccess().getFirstInstantInstantObsExpressionParserRuleCall_1_0(), currentNode);
pushFollow(FOLLOW_ruleInstantObsExpression_in_ruleJitterExp4570);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2549:2: ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )?
int alt36=2;
int LA36_0 = input.LA(1);
if ( (LA36_0==28) ) {
alt36=1;
}
switch (alt36) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2549:4: '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) )
{
match(input,28,FOLLOW_28_in_ruleJitterExp4581);
createLeafNode(grammarAccess.getJitterExpAccess().getHyphenMinusKeyword_2_0(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2553:1: ( (lv_secondInstant_3_0= ruleInstantObsExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2554:1: (lv_secondInstant_3_0= ruleInstantObsExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2554:1: (lv_secondInstant_3_0= ruleInstantObsExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2555:3: lv_secondInstant_3_0= ruleInstantObsExpression
{
currentNode=createCompositeNode(grammarAccess.getJitterExpAccess().getSecondInstantInstantObsExpressionParserRuleCall_2_1_0(), currentNode);
pushFollow(FOLLOW_ruleInstantObsExpression_in_ruleJitterExp4602);
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,35,FOLLOW_35_in_ruleJitterExp4614);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2589: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2590:2: (iv_ruleVariableDeclaration= ruleVariableDeclaration EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2591:2: iv_ruleVariableDeclaration= ruleVariableDeclaration EOF
{
currentNode = createCompositeNode(grammarAccess.getVariableDeclarationRule(), currentNode);
pushFollow(FOLLOW_ruleVariableDeclaration_in_entryRuleVariableDeclaration4650);
iv_ruleVariableDeclaration=ruleVariableDeclaration();
_fsp--;
current =iv_ruleVariableDeclaration;
match(input,EOF,FOLLOW_EOF_in_entryRuleVariableDeclaration4660);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleVariableDeclaration
// $ANTLR start ruleVariableDeclaration
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2598: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2603: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2604: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2604: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2604: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2604:2: ( (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) )?
int alt37=2;
int LA37_0 = input.LA(1);
if ( ((LA37_0>=49 && LA37_0<=51)) ) {
alt37=1;
}
switch (alt37) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2605:1: (lv_variableDeclaration_0_0= ruleVariableDirectionKind )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2605:1: (lv_variableDeclaration_0_0= ruleVariableDirectionKind )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2606:3: lv_variableDeclaration_0_0= ruleVariableDirectionKind
{
currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getVariableDeclarationVariableDirectionKindParserRuleCall_0_0(), currentNode);
pushFollow(FOLLOW_ruleVariableDirectionKind_in_ruleVariableDeclaration4706);
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,48,FOLLOW_48_in_ruleVariableDeclaration4717);
createLeafNode(grammarAccess.getVariableDeclarationAccess().getDollarSignKeyword_1(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2632:1: ( (lv_name_2_0= RULE_ID ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2633:1: (lv_name_2_0= RULE_ID )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2633:1: (lv_name_2_0= RULE_ID )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2634:3: lv_name_2_0= RULE_ID
{
lv_name_2_0=(Token)input.LT(1);
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleVariableDeclaration4734);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2656:2: ( ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) | ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) )
int alt39=2;
int LA39_0 = input.LA(1);
if ( (LA39_0==26) ) {
alt39=1;
}
else if ( (LA39_0==43) ) {
alt39=2;
}
else {
NoViableAltException nvae =
new NoViableAltException("2656:2: ( ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) | ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) )", 39, 0, input);
throw nvae;
}
switch (alt39) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2656:3: ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2656:3: ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2656:5: ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )?
{
match(input,26,FOLLOW_26_in_ruleVariableDeclaration4751);
createLeafNode(grammarAccess.getVariableDeclarationAccess().getColonKeyword_3_0_0(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2660:1: ( (lv_type_4_0= ruleDataTypeName ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2661:1: (lv_type_4_0= ruleDataTypeName )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2661:1: (lv_type_4_0= ruleDataTypeName )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2662:3: lv_type_4_0= ruleDataTypeName
{
currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getTypeDataTypeNameParserRuleCall_3_0_1_0(), currentNode);
pushFollow(FOLLOW_ruleDataTypeName_in_ruleVariableDeclaration4772);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2684:2: ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )?
int alt38=2;
int LA38_0 = input.LA(1);
if ( (LA38_0==43) ) {
alt38=1;
}
switch (alt38) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2684:4: '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')'
{
match(input,43,FOLLOW_43_in_ruleVariableDeclaration4783);
createLeafNode(grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_3_0_2_0(), null);
match(input,34,FOLLOW_34_in_ruleVariableDeclaration4793);
createLeafNode(grammarAccess.getVariableDeclarationAccess().getLeftParenthesisKeyword_3_0_2_1(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2692:1: ( (lv_initValue_7_0= ruleExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2693:1: (lv_initValue_7_0= ruleExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2693:1: (lv_initValue_7_0= ruleExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2694:3: lv_initValue_7_0= ruleExpression
{
currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getInitValueExpressionParserRuleCall_3_0_2_2_0(), currentNode);
pushFollow(FOLLOW_ruleExpression_in_ruleVariableDeclaration4814);
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,35,FOLLOW_35_in_ruleVariableDeclaration4824);
createLeafNode(grammarAccess.getVariableDeclarationAccess().getRightParenthesisKeyword_3_0_2_3(), null);
}
break;
}
}
}
break;
case 2 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2721:6: ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2721:6: ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2721:8: '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')'
{
match(input,43,FOLLOW_43_in_ruleVariableDeclaration4844);
createLeafNode(grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_3_1_0(), null);
match(input,34,FOLLOW_34_in_ruleVariableDeclaration4854);
createLeafNode(grammarAccess.getVariableDeclarationAccess().getLeftParenthesisKeyword_3_1_1(), null);
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2729:1: ( (lv_initValue_11_0= ruleExpression ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2730:1: (lv_initValue_11_0= ruleExpression )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2730:1: (lv_initValue_11_0= ruleExpression )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2731:3: lv_initValue_11_0= ruleExpression
{
currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getInitValueExpressionParserRuleCall_3_1_2_0(), currentNode);
pushFollow(FOLLOW_ruleExpression_in_ruleVariableDeclaration4875);
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,35,FOLLOW_35_in_ruleVariableDeclaration4885);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2765: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2766:2: (iv_ruleVariableDirectionKind= ruleVariableDirectionKind EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2767:2: iv_ruleVariableDirectionKind= ruleVariableDirectionKind EOF
{
currentNode = createCompositeNode(grammarAccess.getVariableDirectionKindRule(), currentNode);
pushFollow(FOLLOW_ruleVariableDirectionKind_in_entryRuleVariableDirectionKind4924);
iv_ruleVariableDirectionKind=ruleVariableDirectionKind();
_fsp--;
current =iv_ruleVariableDirectionKind.getText();
match(input,EOF,FOLLOW_EOF_in_entryRuleVariableDirectionKind4935);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleVariableDirectionKind
// $ANTLR start ruleVariableDirectionKind
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2774: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2779:6: ( (kw= 'in' | kw= 'out' | kw= 'inout' ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2780:1: (kw= 'in' | kw= 'out' | kw= 'inout' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2780:1: (kw= 'in' | kw= 'out' | kw= 'inout' )
int alt40=3;
switch ( input.LA(1) ) {
case 49:
{
alt40=1;
}
break;
case 50:
{
alt40=2;
}
break;
case 51:
{
alt40=3;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("2780:1: (kw= 'in' | kw= 'out' | kw= 'inout' )", 40, 0, input);
throw nvae;
}
switch (alt40) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2781:2: kw= 'in'
{
kw=(Token)input.LT(1);
match(input,49,FOLLOW_49_in_ruleVariableDirectionKind4973);
current.merge(kw);
createLeafNode(grammarAccess.getVariableDirectionKindAccess().getInKeyword_0(), null);
}
break;
case 2 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2788:2: kw= 'out'
{
kw=(Token)input.LT(1);
match(input,50,FOLLOW_50_in_ruleVariableDirectionKind4992);
current.merge(kw);
createLeafNode(grammarAccess.getVariableDirectionKindAccess().getOutKeyword_1(), null);
}
break;
case 3 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2795:2: kw= 'inout'
{
kw=(Token)input.LT(1);
match(input,51,FOLLOW_51_in_ruleVariableDirectionKind5011);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2808: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2809:2: (iv_ruleDataTypeName= ruleDataTypeName EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2810:2: iv_ruleDataTypeName= ruleDataTypeName EOF
{
currentNode = createCompositeNode(grammarAccess.getDataTypeNameRule(), currentNode);
pushFollow(FOLLOW_ruleDataTypeName_in_entryRuleDataTypeName5051);
iv_ruleDataTypeName=ruleDataTypeName();
_fsp--;
current =iv_ruleDataTypeName;
match(input,EOF,FOLLOW_EOF_in_entryRuleDataTypeName5061);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleDataTypeName
// $ANTLR start ruleDataTypeName
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2817: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2822:6: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2823:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2823:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2823:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2823:2: ( (lv_path_0_0= ruleQualifiedName ) )?
int alt41=2;
int LA41_0 = input.LA(1);
if ( (LA41_0==RULE_ID) ) {
int LA41_1 = input.LA(2);
if ( (LA41_1==36) ) {
alt41=1;
}
}
switch (alt41) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2824:1: (lv_path_0_0= ruleQualifiedName )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2824:1: (lv_path_0_0= ruleQualifiedName )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2825:3: lv_path_0_0= ruleQualifiedName
{
currentNode=createCompositeNode(grammarAccess.getDataTypeNameAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode);
pushFollow(FOLLOW_ruleQualifiedName_in_ruleDataTypeName5107);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2847:3: ( ( RULE_ID ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2848:1: ( RULE_ID )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2848:1: ( RULE_ID )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2849:3: RULE_ID
{
if (current==null) {
current = factory.create(grammarAccess.getDataTypeNameRule().getType().getClassifier());
associateNodeWithAstElement(currentNode, current);
}
match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDataTypeName5126);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2869: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2870:2: (iv_ruleNumberLiteralRule= ruleNumberLiteralRule EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2871:2: iv_ruleNumberLiteralRule= ruleNumberLiteralRule EOF
{
currentNode = createCompositeNode(grammarAccess.getNumberLiteralRuleRule(), currentNode);
pushFollow(FOLLOW_ruleNumberLiteralRule_in_entryRuleNumberLiteralRule5162);
iv_ruleNumberLiteralRule=ruleNumberLiteralRule();
_fsp--;
current =iv_ruleNumberLiteralRule;
match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteralRule5172);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleNumberLiteralRule
// $ANTLR start ruleNumberLiteralRule
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2878: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2883:6: ( (this_IntegerLiteralRule_0= ruleIntegerLiteralRule | this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule | this_RealLiteralRule_2= ruleRealLiteralRule ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2884:1: (this_IntegerLiteralRule_0= ruleIntegerLiteralRule | this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule | this_RealLiteralRule_2= ruleRealLiteralRule )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2884:1: (this_IntegerLiteralRule_0= ruleIntegerLiteralRule | this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule | this_RealLiteralRule_2= ruleRealLiteralRule )
int alt42=3;
switch ( input.LA(1) ) {
case RULE_INTEGERLITERAL:
{
alt42=1;
}
break;
case 29:
{
alt42=2;
}
break;
case RULE_REALLITERAL:
{
alt42=3;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("2884:1: (this_IntegerLiteralRule_0= ruleIntegerLiteralRule | this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule | this_RealLiteralRule_2= ruleRealLiteralRule )", 42, 0, input);
throw nvae;
}
switch (alt42) {
case 1 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2885:5: this_IntegerLiteralRule_0= ruleIntegerLiteralRule
{
currentNode=createCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getIntegerLiteralRuleParserRuleCall_0(), currentNode);
pushFollow(FOLLOW_ruleIntegerLiteralRule_in_ruleNumberLiteralRule5219);
this_IntegerLiteralRule_0=ruleIntegerLiteralRule();
_fsp--;
current = this_IntegerLiteralRule_0;
currentNode = currentNode.getParent();
}
break;
case 2 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2895:5: this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule
{
currentNode=createCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getUnlimitedLiteralRuleParserRuleCall_1(), currentNode);
pushFollow(FOLLOW_ruleUnlimitedLiteralRule_in_ruleNumberLiteralRule5246);
this_UnlimitedLiteralRule_1=ruleUnlimitedLiteralRule();
_fsp--;
current = this_UnlimitedLiteralRule_1;
currentNode = currentNode.getParent();
}
break;
case 3 :
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2905:5: this_RealLiteralRule_2= ruleRealLiteralRule
{
currentNode=createCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getRealLiteralRuleParserRuleCall_2(), currentNode);
pushFollow(FOLLOW_ruleRealLiteralRule_in_ruleNumberLiteralRule5273);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2921: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2922:2: (iv_ruleIntegerLiteralRule= ruleIntegerLiteralRule EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2923:2: iv_ruleIntegerLiteralRule= ruleIntegerLiteralRule EOF
{
currentNode = createCompositeNode(grammarAccess.getIntegerLiteralRuleRule(), currentNode);
pushFollow(FOLLOW_ruleIntegerLiteralRule_in_entryRuleIntegerLiteralRule5308);
iv_ruleIntegerLiteralRule=ruleIntegerLiteralRule();
_fsp--;
current =iv_ruleIntegerLiteralRule;
match(input,EOF,FOLLOW_EOF_in_entryRuleIntegerLiteralRule5318);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleIntegerLiteralRule
// $ANTLR start ruleIntegerLiteralRule
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2930: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2935:6: ( ( (lv_value_0_0= RULE_INTEGERLITERAL ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2936:1: ( (lv_value_0_0= RULE_INTEGERLITERAL ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2936:1: ( (lv_value_0_0= RULE_INTEGERLITERAL ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2937:1: (lv_value_0_0= RULE_INTEGERLITERAL )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2937:1: (lv_value_0_0= RULE_INTEGERLITERAL )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2938:3: lv_value_0_0= RULE_INTEGERLITERAL
{
lv_value_0_0=(Token)input.LT(1);
match(input,RULE_INTEGERLITERAL,FOLLOW_RULE_INTEGERLITERAL_in_ruleIntegerLiteralRule5359);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2968: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2969:2: (iv_ruleUnlimitedLiteralRule= ruleUnlimitedLiteralRule EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2970:2: iv_ruleUnlimitedLiteralRule= ruleUnlimitedLiteralRule EOF
{
currentNode = createCompositeNode(grammarAccess.getUnlimitedLiteralRuleRule(), currentNode);
pushFollow(FOLLOW_ruleUnlimitedLiteralRule_in_entryRuleUnlimitedLiteralRule5399);
iv_ruleUnlimitedLiteralRule=ruleUnlimitedLiteralRule();
_fsp--;
current =iv_ruleUnlimitedLiteralRule;
match(input,EOF,FOLLOW_EOF_in_entryRuleUnlimitedLiteralRule5409);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleUnlimitedLiteralRule
// $ANTLR start ruleUnlimitedLiteralRule
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2977: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2982:6: ( ( (lv_value_0_0= '*' ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2983:1: ( (lv_value_0_0= '*' ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2983:1: ( (lv_value_0_0= '*' ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2984:1: (lv_value_0_0= '*' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2984:1: (lv_value_0_0= '*' )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2985:3: lv_value_0_0= '*'
{
lv_value_0_0=(Token)input.LT(1);
match(input,29,FOLLOW_29_in_ruleUnlimitedLiteralRule5451);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3012: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3013:2: (iv_ruleRealLiteralRule= ruleRealLiteralRule EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3014:2: iv_ruleRealLiteralRule= ruleRealLiteralRule EOF
{
currentNode = createCompositeNode(grammarAccess.getRealLiteralRuleRule(), currentNode);
pushFollow(FOLLOW_ruleRealLiteralRule_in_entryRuleRealLiteralRule5499);
iv_ruleRealLiteralRule=ruleRealLiteralRule();
_fsp--;
current =iv_ruleRealLiteralRule;
match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteralRule5509);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleRealLiteralRule
// $ANTLR start ruleRealLiteralRule
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3021: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3026:6: ( ( (lv_value_0_0= RULE_REALLITERAL ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3027:1: ( (lv_value_0_0= RULE_REALLITERAL ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3027:1: ( (lv_value_0_0= RULE_REALLITERAL ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3028:1: (lv_value_0_0= RULE_REALLITERAL )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3028:1: (lv_value_0_0= RULE_REALLITERAL )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3029:3: lv_value_0_0= RULE_REALLITERAL
{
lv_value_0_0=(Token)input.LT(1);
match(input,RULE_REALLITERAL,FOLLOW_RULE_REALLITERAL_in_ruleRealLiteralRule5550);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3059: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3060:2: (iv_ruleDateTimeLiteralRule= ruleDateTimeLiteralRule EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3061:2: iv_ruleDateTimeLiteralRule= ruleDateTimeLiteralRule EOF
{
currentNode = createCompositeNode(grammarAccess.getDateTimeLiteralRuleRule(), currentNode);
pushFollow(FOLLOW_ruleDateTimeLiteralRule_in_entryRuleDateTimeLiteralRule5590);
iv_ruleDateTimeLiteralRule=ruleDateTimeLiteralRule();
_fsp--;
current =iv_ruleDateTimeLiteralRule;
match(input,EOF,FOLLOW_EOF_in_entryRuleDateTimeLiteralRule5600);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleDateTimeLiteralRule
// $ANTLR start ruleDateTimeLiteralRule
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3068: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3073:6: ( ( (lv_value_0_0= RULE_DATETIMELITERAL ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3074:1: ( (lv_value_0_0= RULE_DATETIMELITERAL ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3074:1: ( (lv_value_0_0= RULE_DATETIMELITERAL ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3075:1: (lv_value_0_0= RULE_DATETIMELITERAL )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3075:1: (lv_value_0_0= RULE_DATETIMELITERAL )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3076:3: lv_value_0_0= RULE_DATETIMELITERAL
{
lv_value_0_0=(Token)input.LT(1);
match(input,RULE_DATETIMELITERAL,FOLLOW_RULE_DATETIMELITERAL_in_ruleDateTimeLiteralRule5641);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3106: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3107:2: (iv_ruleBooleanLiteralRule= ruleBooleanLiteralRule EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3108:2: iv_ruleBooleanLiteralRule= ruleBooleanLiteralRule EOF
{
currentNode = createCompositeNode(grammarAccess.getBooleanLiteralRuleRule(), currentNode);
pushFollow(FOLLOW_ruleBooleanLiteralRule_in_entryRuleBooleanLiteralRule5681);
iv_ruleBooleanLiteralRule=ruleBooleanLiteralRule();
_fsp--;
current =iv_ruleBooleanLiteralRule;
match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteralRule5691);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleBooleanLiteralRule
// $ANTLR start ruleBooleanLiteralRule
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3115: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3120:6: ( ( (lv_value_0_0= RULE_BOOLEANLITERAL ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3121:1: ( (lv_value_0_0= RULE_BOOLEANLITERAL ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3121:1: ( (lv_value_0_0= RULE_BOOLEANLITERAL ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3122:1: (lv_value_0_0= RULE_BOOLEANLITERAL )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3122:1: (lv_value_0_0= RULE_BOOLEANLITERAL )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3123:3: lv_value_0_0= RULE_BOOLEANLITERAL
{
lv_value_0_0=(Token)input.LT(1);
match(input,RULE_BOOLEANLITERAL,FOLLOW_RULE_BOOLEANLITERAL_in_ruleBooleanLiteralRule5732);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3153: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3154:2: (iv_ruleNullLiteralRule= ruleNullLiteralRule EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3155:2: iv_ruleNullLiteralRule= ruleNullLiteralRule EOF
{
currentNode = createCompositeNode(grammarAccess.getNullLiteralRuleRule(), currentNode);
pushFollow(FOLLOW_ruleNullLiteralRule_in_entryRuleNullLiteralRule5772);
iv_ruleNullLiteralRule=ruleNullLiteralRule();
_fsp--;
current =iv_ruleNullLiteralRule;
match(input,EOF,FOLLOW_EOF_in_entryRuleNullLiteralRule5782);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleNullLiteralRule
// $ANTLR start ruleNullLiteralRule
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3162: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3167:6: ( ( (lv_value_0_0= RULE_NULLLITERAL ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3168:1: ( (lv_value_0_0= RULE_NULLLITERAL ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3168:1: ( (lv_value_0_0= RULE_NULLLITERAL ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3169:1: (lv_value_0_0= RULE_NULLLITERAL )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3169:1: (lv_value_0_0= RULE_NULLLITERAL )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3170:3: lv_value_0_0= RULE_NULLLITERAL
{
lv_value_0_0=(Token)input.LT(1);
match(input,RULE_NULLLITERAL,FOLLOW_RULE_NULLLITERAL_in_ruleNullLiteralRule5823);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3200: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3201:2: (iv_ruleDefaultLiteralRule= ruleDefaultLiteralRule EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3202:2: iv_ruleDefaultLiteralRule= ruleDefaultLiteralRule EOF
{
currentNode = createCompositeNode(grammarAccess.getDefaultLiteralRuleRule(), currentNode);
pushFollow(FOLLOW_ruleDefaultLiteralRule_in_entryRuleDefaultLiteralRule5863);
iv_ruleDefaultLiteralRule=ruleDefaultLiteralRule();
_fsp--;
current =iv_ruleDefaultLiteralRule;
match(input,EOF,FOLLOW_EOF_in_entryRuleDefaultLiteralRule5873);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleDefaultLiteralRule
// $ANTLR start ruleDefaultLiteralRule
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3209: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3214:6: ( ( (lv_value_0_0= '/' ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3215:1: ( (lv_value_0_0= '/' ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3215:1: ( (lv_value_0_0= '/' ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3216:1: (lv_value_0_0= '/' )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3216:1: (lv_value_0_0= '/' )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3217:3: lv_value_0_0= '/'
{
lv_value_0_0=(Token)input.LT(1);
match(input,30,FOLLOW_30_in_ruleDefaultLiteralRule5915);
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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3244: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3245:2: (iv_ruleStringLiteralRule= ruleStringLiteralRule EOF )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3246:2: iv_ruleStringLiteralRule= ruleStringLiteralRule EOF
{
currentNode = createCompositeNode(grammarAccess.getStringLiteralRuleRule(), currentNode);
pushFollow(FOLLOW_ruleStringLiteralRule_in_entryRuleStringLiteralRule5963);
iv_ruleStringLiteralRule=ruleStringLiteralRule();
_fsp--;
current =iv_ruleStringLiteralRule;
match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteralRule5973);
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end entryRuleStringLiteralRule
// $ANTLR start ruleStringLiteralRule
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3253: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.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3258:6: ( ( (lv_value_0_0= RULE_STRING ) ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3259:1: ( (lv_value_0_0= RULE_STRING ) )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3259:1: ( (lv_value_0_0= RULE_STRING ) )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3260:1: (lv_value_0_0= RULE_STRING )
{
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3260:1: (lv_value_0_0= RULE_STRING )
// ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3261:3: lv_value_0_0= RULE_STRING
{
lv_value_0_0=(Token)input.LT(1);
match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteralRule6014);
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_ruleExpression_in_entryRuleExpression75 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleExpression85 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleAndOrXorExpression_in_ruleExpression130 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleAndOrXorExpression_in_entryRuleAndOrXorExpression165 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleAndOrXorExpression175 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleEqualityExpression_in_ruleAndOrXorExpression221 = new BitSet(new long[]{0x0000000000070002L});
public static final BitSet FOLLOW_16_in_ruleAndOrXorExpression242 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_17_in_ruleAndOrXorExpression271 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_18_in_ruleAndOrXorExpression300 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleEqualityExpression_in_ruleAndOrXorExpression337 = new BitSet(new long[]{0x0000000000070002L});
public static final BitSet FOLLOW_ruleEqualityExpression_in_entryRuleEqualityExpression375 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleEqualityExpression385 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleRelationalExpression_in_ruleEqualityExpression431 = new BitSet(new long[]{0x0000000000180002L});
public static final BitSet FOLLOW_19_in_ruleEqualityExpression452 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_20_in_ruleEqualityExpression481 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleRelationalExpression_in_ruleEqualityExpression518 = new BitSet(new long[]{0x0000000000180002L});
public static final BitSet FOLLOW_ruleRelationalExpression_in_entryRuleRelationalExpression556 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleRelationalExpression566 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleConditionalExpression_in_ruleRelationalExpression612 = new BitSet(new long[]{0x0000000001E00002L});
public static final BitSet FOLLOW_21_in_ruleRelationalExpression633 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_22_in_ruleRelationalExpression662 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_23_in_ruleRelationalExpression691 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_24_in_ruleRelationalExpression720 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleConditionalExpression_in_ruleRelationalExpression757 = new BitSet(new long[]{0x0000000001E00002L});
public static final BitSet FOLLOW_ruleConditionalExpression_in_entryRuleConditionalExpression795 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleConditionalExpression805 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression851 = new BitSet(new long[]{0x0000000002000002L});
public static final BitSet FOLLOW_25_in_ruleConditionalExpression870 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression904 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_26_in_ruleConditionalExpression914 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression935 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleAdditiveExpression_in_entryRuleAdditiveExpression973 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleAdditiveExpression983 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression1029 = new BitSet(new long[]{0x0000000018000002L});
public static final BitSet FOLLOW_27_in_ruleAdditiveExpression1050 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_28_in_ruleAdditiveExpression1079 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression1116 = new BitSet(new long[]{0x0000000018000002L});
public static final BitSet FOLLOW_ruleMultiplicativeExpression_in_entryRuleMultiplicativeExpression1154 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicativeExpression1164 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression1210 = new BitSet(new long[]{0x00000000E0000002L});
public static final BitSet FOLLOW_29_in_ruleMultiplicativeExpression1231 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_30_in_ruleMultiplicativeExpression1260 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_31_in_ruleMultiplicativeExpression1289 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression1326 = new BitSet(new long[]{0x00000000E0000002L});
public static final BitSet FOLLOW_ruleUnaryExpression_in_entryRuleUnaryExpression1364 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleUnaryExpression1374 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_32_in_ruleUnaryExpression1420 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_28_in_ruleUnaryExpression1449 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_27_in_ruleUnaryExpression1478 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleUnaryExpression_in_ruleUnaryExpression1515 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_rulePrimaryExpression_in_ruleUnaryExpression1543 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_rulePrimaryExpression_in_entryRulePrimaryExpression1579 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRulePrimaryExpression1589 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleValueSpecification_in_rulePrimaryExpression1635 = new BitSet(new long[]{0x0000000200000002L});
public static final BitSet FOLLOW_33_in_rulePrimaryExpression1646 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleSuffixExpression_in_rulePrimaryExpression1667 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleValueSpecification_in_entryRuleValueSpecification1705 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleValueSpecification1715 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleLiteral_in_ruleValueSpecification1762 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleNameOrChoiceOrBehaviorCall_in_ruleValueSpecification1789 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleInterval_in_ruleValueSpecification1816 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleCollectionOrTuple_in_ruleValueSpecification1843 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleTuple_in_ruleValueSpecification1870 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleTimeExpression_in_ruleValueSpecification1897 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleVariableDeclaration_in_ruleValueSpecification1924 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_34_in_ruleValueSpecification1940 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleExpression_in_ruleValueSpecification1962 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_35_in_ruleValueSpecification1971 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleSuffixExpression_in_entryRuleSuffixExpression2008 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleSuffixExpression2018 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_rulePropertyCallExpression_in_ruleSuffixExpression2065 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOperationCallExpression_in_ruleSuffixExpression2092 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_rulePropertyCallExpression_in_entryRulePropertyCallExpression2127 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRulePropertyCallExpression2137 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_ID_in_rulePropertyCallExpression2180 = new BitSet(new long[]{0x0000000200000002L});
public static final BitSet FOLLOW_33_in_rulePropertyCallExpression2191 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleSuffixExpression_in_rulePropertyCallExpression2212 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleOperationCallExpression_in_entryRuleOperationCallExpression2250 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleOperationCallExpression2260 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_ID_in_ruleOperationCallExpression2303 = new BitSet(new long[]{0x0000000400000000L});
public static final BitSet FOLLOW_34_in_ruleOperationCallExpression2313 = new BitSet(new long[]{0x000FD16D780007F0L});
public static final BitSet FOLLOW_ruleListOfValues_in_ruleOperationCallExpression2334 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_35_in_ruleOperationCallExpression2345 = new BitSet(new long[]{0x0000000200000002L});
public static final BitSet FOLLOW_33_in_ruleOperationCallExpression2356 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleOperationCallExpression2377 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral2415 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleLiteral2425 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleNumberLiteralRule_in_ruleLiteral2472 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleDateTimeLiteralRule_in_ruleLiteral2499 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleBooleanLiteralRule_in_ruleLiteral2526 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleNullLiteralRule_in_ruleLiteral2553 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleDefaultLiteralRule_in_ruleLiteral2580 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleStringLiteralRule_in_ruleLiteral2607 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleNameOrChoiceOrBehaviorCall_in_entryRuleNameOrChoiceOrBehaviorCall2642 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleNameOrChoiceOrBehaviorCall2652 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleQualifiedName_in_ruleNameOrChoiceOrBehaviorCall2698 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_ID_in_ruleNameOrChoiceOrBehaviorCall2717 = new BitSet(new long[]{0x0000000400000002L});
public static final BitSet FOLLOW_34_in_ruleNameOrChoiceOrBehaviorCall2728 = new BitSet(new long[]{0x000FD16D780007F0L});
public static final BitSet FOLLOW_ruleListOfValues_in_ruleNameOrChoiceOrBehaviorCall2749 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_35_in_ruleNameOrChoiceOrBehaviorCall2760 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName2798 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName2808 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName2851 = new BitSet(new long[]{0x0000001000000000L});
public static final BitSet FOLLOW_36_in_ruleQualifiedName2861 = new BitSet(new long[]{0x0000000000000012L});
public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedName2882 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleInterval_in_entryRuleInterval2919 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleInterval2929 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_37_in_ruleInterval2965 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_38_in_ruleInterval2989 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleExpression_in_ruleInterval3024 = new BitSet(new long[]{0x0000008000000000L});
public static final BitSet FOLLOW_39_in_ruleInterval3034 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleExpression_in_ruleInterval3055 = new BitSet(new long[]{0x0000006000000000L});
public static final BitSet FOLLOW_37_in_ruleInterval3074 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_38_in_ruleInterval3103 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleCollectionOrTuple_in_entryRuleCollectionOrTuple3140 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleCollectionOrTuple3150 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_40_in_ruleCollectionOrTuple3185 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleListOfValues_in_ruleCollectionOrTuple3206 = new BitSet(new long[]{0x0000020000000000L});
public static final BitSet FOLLOW_41_in_ruleCollectionOrTuple3216 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleTuple_in_entryRuleTuple3252 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleTuple3262 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_40_in_ruleTuple3297 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleListOfValueNamePairs_in_ruleTuple3318 = new BitSet(new long[]{0x0000020000000000L});
public static final BitSet FOLLOW_41_in_ruleTuple3328 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleListOfValues_in_entryRuleListOfValues3364 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleListOfValues3374 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleExpression_in_ruleListOfValues3420 = new BitSet(new long[]{0x0000040000000002L});
public static final BitSet FOLLOW_42_in_ruleListOfValues3431 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleExpression_in_ruleListOfValues3452 = new BitSet(new long[]{0x0000040000000002L});
public static final BitSet FOLLOW_ruleListOfValueNamePairs_in_entryRuleListOfValueNamePairs3490 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleListOfValueNamePairs3500 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleValueNamePair_in_ruleListOfValueNamePairs3546 = new BitSet(new long[]{0x0000040000000002L});
public static final BitSet FOLLOW_42_in_ruleListOfValueNamePairs3557 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleValueNamePair_in_ruleListOfValueNamePairs3578 = new BitSet(new long[]{0x0000040000000002L});
public static final BitSet FOLLOW_ruleValueNamePair_in_entryRuleValueNamePair3616 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleValueNamePair3626 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_ID_in_ruleValueNamePair3669 = new BitSet(new long[]{0x0000080000000000L});
public static final BitSet FOLLOW_43_in_ruleValueNamePair3679 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleExpression_in_ruleValueNamePair3700 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleTimeExpression_in_entryRuleTimeExpression3736 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleTimeExpression3746 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleInstantObsExpression_in_ruleTimeExpression3793 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleDurationObsExpression_in_ruleTimeExpression3820 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJitterExp_in_ruleTimeExpression3847 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleInstantObsExpression_in_entryRuleInstantObsExpression3882 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleInstantObsExpression3892 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_44_in_ruleInstantObsExpression3927 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleInstantObsName_in_ruleInstantObsExpression3948 = new BitSet(new long[]{0x0000200400000002L});
public static final BitSet FOLLOW_34_in_ruleInstantObsExpression3959 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleExpression_in_ruleInstantObsExpression3980 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_35_in_ruleInstantObsExpression3990 = new BitSet(new long[]{0x0000200000000002L});
public static final BitSet FOLLOW_45_in_ruleInstantObsExpression4003 = new BitSet(new long[]{0x0000000400000000L});
public static final BitSet FOLLOW_34_in_ruleInstantObsExpression4013 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleExpression_in_ruleInstantObsExpression4034 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_35_in_ruleInstantObsExpression4044 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleInstantObsName_in_entryRuleInstantObsName4082 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleInstantObsName4092 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleQualifiedName_in_ruleInstantObsName4138 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_ID_in_ruleInstantObsName4157 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleDurationObsExpression_in_entryRuleDurationObsExpression4193 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleDurationObsExpression4203 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_46_in_ruleDurationObsExpression4238 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleDurationObsName_in_ruleDurationObsExpression4259 = new BitSet(new long[]{0x0000200400000002L});
public static final BitSet FOLLOW_34_in_ruleDurationObsExpression4270 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleExpression_in_ruleDurationObsExpression4291 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_35_in_ruleDurationObsExpression4301 = new BitSet(new long[]{0x0000200000000002L});
public static final BitSet FOLLOW_45_in_ruleDurationObsExpression4314 = new BitSet(new long[]{0x0000000400000000L});
public static final BitSet FOLLOW_34_in_ruleDurationObsExpression4324 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleExpression_in_ruleDurationObsExpression4345 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_35_in_ruleDurationObsExpression4355 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleDurationObsName_in_entryRuleDurationObsName4393 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleDurationObsName4403 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleQualifiedName_in_ruleDurationObsName4449 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_ID_in_ruleDurationObsName4468 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleJitterExp_in_entryRuleJitterExp4504 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleJitterExp4514 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_47_in_ruleJitterExp4549 = new BitSet(new long[]{0x0000100000000000L});
public static final BitSet FOLLOW_ruleInstantObsExpression_in_ruleJitterExp4570 = new BitSet(new long[]{0x0000000810000000L});
public static final BitSet FOLLOW_28_in_ruleJitterExp4581 = new BitSet(new long[]{0x0000100000000000L});
public static final BitSet FOLLOW_ruleInstantObsExpression_in_ruleJitterExp4602 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_35_in_ruleJitterExp4614 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleVariableDeclaration_in_entryRuleVariableDeclaration4650 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleVariableDeclaration4660 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleVariableDirectionKind_in_ruleVariableDeclaration4706 = new BitSet(new long[]{0x0001000000000000L});
public static final BitSet FOLLOW_48_in_ruleVariableDeclaration4717 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_ID_in_ruleVariableDeclaration4734 = new BitSet(new long[]{0x0000080004000000L});
public static final BitSet FOLLOW_26_in_ruleVariableDeclaration4751 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_ruleDataTypeName_in_ruleVariableDeclaration4772 = new BitSet(new long[]{0x0000080000000002L});
public static final BitSet FOLLOW_43_in_ruleVariableDeclaration4783 = new BitSet(new long[]{0x0000000400000000L});
public static final BitSet FOLLOW_34_in_ruleVariableDeclaration4793 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleExpression_in_ruleVariableDeclaration4814 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_35_in_ruleVariableDeclaration4824 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_43_in_ruleVariableDeclaration4844 = new BitSet(new long[]{0x0000000400000000L});
public static final BitSet FOLLOW_34_in_ruleVariableDeclaration4854 = new BitSet(new long[]{0x000FD165780007F0L});
public static final BitSet FOLLOW_ruleExpression_in_ruleVariableDeclaration4875 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_35_in_ruleVariableDeclaration4885 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleVariableDirectionKind_in_entryRuleVariableDirectionKind4924 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleVariableDirectionKind4935 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_49_in_ruleVariableDirectionKind4973 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_50_in_ruleVariableDirectionKind4992 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_51_in_ruleVariableDirectionKind5011 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleDataTypeName_in_entryRuleDataTypeName5051 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleDataTypeName5061 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleQualifiedName_in_ruleDataTypeName5107 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_RULE_ID_in_ruleDataTypeName5126 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleNumberLiteralRule_in_entryRuleNumberLiteralRule5162 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteralRule5172 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleIntegerLiteralRule_in_ruleNumberLiteralRule5219 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleUnlimitedLiteralRule_in_ruleNumberLiteralRule5246 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleRealLiteralRule_in_ruleNumberLiteralRule5273 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleIntegerLiteralRule_in_entryRuleIntegerLiteralRule5308 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleIntegerLiteralRule5318 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_INTEGERLITERAL_in_ruleIntegerLiteralRule5359 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleUnlimitedLiteralRule_in_entryRuleUnlimitedLiteralRule5399 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleUnlimitedLiteralRule5409 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_29_in_ruleUnlimitedLiteralRule5451 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleRealLiteralRule_in_entryRuleRealLiteralRule5499 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteralRule5509 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_REALLITERAL_in_ruleRealLiteralRule5550 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleDateTimeLiteralRule_in_entryRuleDateTimeLiteralRule5590 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleDateTimeLiteralRule5600 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_DATETIMELITERAL_in_ruleDateTimeLiteralRule5641 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleBooleanLiteralRule_in_entryRuleBooleanLiteralRule5681 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteralRule5691 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_BOOLEANLITERAL_in_ruleBooleanLiteralRule5732 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleNullLiteralRule_in_entryRuleNullLiteralRule5772 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleNullLiteralRule5782 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_NULLLITERAL_in_ruleNullLiteralRule5823 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleDefaultLiteralRule_in_entryRuleDefaultLiteralRule5863 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleDefaultLiteralRule5873 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_30_in_ruleDefaultLiteralRule5915 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleStringLiteralRule_in_entryRuleStringLiteralRule5963 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteralRule5973 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteralRule6014 = new BitSet(new long[]{0x0000000000000002L});
}