InternalVerifyParser.java
package org.osate.verify.parser.antlr.internal;
import org.eclipse.xtext.*;
import org.eclipse.xtext.parser.*;
import org.eclipse.xtext.parser.impl.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.common.util.Enumerator;
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.osate.verify.services.VerifyGrammarAccess;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
/**
* Copyright (c) 2004-2025 Carnegie Mellon University and others. (see Contributors file).
* All Rights Reserved.
*
* NO WARRANTY. ALL MATERIAL IS FURNISHED ON AN "AS-IS" BASIS. CARNEGIE MELLON UNIVERSITY MAKES NO WARRANTIES OF ANY
* KIND, EITHER EXPRESSED OR IMPLIED, AS TO ANY MATTER INCLUDING, BUT NOT LIMITED TO, WARRANTY OF FITNESS FOR PURPOSE
* OR MERCHANTABILITY, EXCLUSIVITY, OR RESULTS OBTAINED FROM USE OF THE MATERIAL. CARNEGIE MELLON UNIVERSITY DOES NOT
* MAKE ANY WARRANTY OF ANY KIND WITH RESPECT TO FREEDOM FROM PATENT, TRADEMARK, OR COPYRIGHT INFRINGEMENT.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
* SPDX-License-Identifier: EPL-2.0
*
* Created, in part, with funding and support from the United States Government. (see Acknowledgments file).
*
* This program includes and/or can make use of certain third party source code, object code, documentation and other
* files ("Third Party Software"). The Third Party Software that is used by this program is dependent upon your system
* configuration. By using this program, You agree to comply with any and all relevant Third Party Software terms and
* conditions contained in any such Third Party Software or separate license file distributed with such Third Party
* Software. The parties who own the Third Party Software ("Third Party Licensors") are intended third party benefici-
* aries to this license with respect to the terms applicable to their Third Party Software. Third Party Software li-
* censes only apply to the Third Party Software and not any other portion of this program or this program as a whole.
*/
@SuppressWarnings("all")
public class InternalVerifyParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_INT", "RULE_ID", "RULE_REAL_LIT", "RULE_DIGIT", "RULE_EXPONENT", "RULE_INT_EXPONENT", "RULE_EXTENDED_DIGIT", "RULE_BASED_INTEGER", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'verification'", "'plan'", "':'", "'for'", "'['", "'issues'", "']'", "'claim'", "'activities'", "'assert'", "'weight'", "'then'", "'else'", "'fail'", "'timeout'", "'error'", "'all'", "','", "'('", "')'", "'='", "'property'", "'values'", "'category'", "'validation'", "'precondition'", "'methods'", "'typeof'", "'in'", "'method'", "'properties'", "'returns'", "'boolean'", "'report'", "'resolute'", "'java'", "'python'", "'manual'", "'plugin'", "'agree'", "'single'", "'junit'", "'description'", "'this'", "'rationale'", "'integer'", "'units'", "'real'", "'string'", "'model'", "'element'", "'#'", "'.'", "'%'", "'img'", "'/'", "'or'", "'||'", "'and'", "'&&'", "'=='", "'!='", "'>='", "'<='", "'>'", "'<'", "'><'", "'+'", "'-'", "'*'", "'div'", "'mod'", "'not'", "'..'", "'delta'", "'if'", "'endif'", "'true'", "'false'", "'abstract'", "'bus'", "'data'", "'device'", "'memory'", "'process'", "'processor'", "'subprogram'", "'group'", "'system'", "'thread'", "'virtual'", "'::'", "'component'", "'feature'", "'connection'", "'flow'", "'mode'", "'root'"
};
public static final int T__50=50;
public static final int T__59=59;
public static final int T__55=55;
public static final int T__56=56;
public static final int T__57=57;
public static final int T__58=58;
public static final int T__51=51;
public static final int T__52=52;
public static final int T__53=53;
public static final int T__54=54;
public static final int T__60=60;
public static final int T__61=61;
public static final int RULE_ID=6;
public static final int RULE_DIGIT=8;
public static final int RULE_INT=5;
public static final int T__66=66;
public static final int RULE_ML_COMMENT=13;
public static final int T__67=67;
public static final int T__68=68;
public static final int T__69=69;
public static final int T__62=62;
public static final int T__63=63;
public static final int T__64=64;
public static final int T__65=65;
public static final int RULE_REAL_LIT=7;
public static final int T__37=37;
public static final int T__38=38;
public static final int T__39=39;
public static final int T__33=33;
public static final int T__34=34;
public static final int T__35=35;
public static final int T__36=36;
public static final int T__30=30;
public static final int T__31=31;
public static final int T__32=32;
public static final int RULE_EXPONENT=9;
public static final int T__48=48;
public static final int T__49=49;
public static final int T__44=44;
public static final int RULE_EXTENDED_DIGIT=11;
public static final int T__45=45;
public static final int T__46=46;
public static final int T__47=47;
public static final int T__40=40;
public static final int T__41=41;
public static final int T__42=42;
public static final int T__43=43;
public static final int T__91=91;
public static final int T__100=100;
public static final int T__92=92;
public static final int T__93=93;
public static final int T__102=102;
public static final int T__94=94;
public static final int T__101=101;
public static final int T__90=90;
public static final int RULE_INT_EXPONENT=10;
public static final int T__19=19;
public static final int T__17=17;
public static final int T__18=18;
public static final int T__99=99;
public static final int T__95=95;
public static final int T__96=96;
public static final int RULE_BASED_INTEGER=12;
public static final int T__97=97;
public static final int T__98=98;
public static final int T__26=26;
public static final int T__27=27;
public static final int T__28=28;
public static final int T__29=29;
public static final int T__22=22;
public static final int T__23=23;
public static final int T__24=24;
public static final int T__25=25;
public static final int T__20=20;
public static final int T__21=21;
public static final int T__70=70;
public static final int T__71=71;
public static final int T__72=72;
public static final int RULE_STRING=4;
public static final int RULE_SL_COMMENT=14;
public static final int T__77=77;
public static final int T__78=78;
public static final int T__79=79;
public static final int T__73=73;
public static final int EOF=-1;
public static final int T__74=74;
public static final int T__114=114;
public static final int T__75=75;
public static final int T__76=76;
public static final int T__80=80;
public static final int T__111=111;
public static final int T__81=81;
public static final int T__110=110;
public static final int T__82=82;
public static final int T__113=113;
public static final int T__83=83;
public static final int T__112=112;
public static final int RULE_WS=15;
public static final int RULE_ANY_OTHER=16;
public static final int T__88=88;
public static final int T__108=108;
public static final int T__89=89;
public static final int T__107=107;
public static final int T__109=109;
public static final int T__84=84;
public static final int T__104=104;
public static final int T__85=85;
public static final int T__103=103;
public static final int T__86=86;
public static final int T__106=106;
public static final int T__87=87;
public static final int T__105=105;
// delegates
// delegators
public InternalVerifyParser(TokenStream input) {
this(input, new RecognizerSharedState());
}
public InternalVerifyParser(TokenStream input, RecognizerSharedState state) {
super(input, state);
}
public String[] getTokenNames() { return InternalVerifyParser.tokenNames; }
public String getGrammarFileName() { return "InternalVerify.g"; }
private VerifyGrammarAccess grammarAccess;
public InternalVerifyParser(TokenStream input, VerifyGrammarAccess grammarAccess) {
this(input);
this.grammarAccess = grammarAccess;
registerRules(grammarAccess.getGrammar());
}
@Override
protected String getFirstRuleName() {
return "Verification";
}
@Override
protected VerifyGrammarAccess getGrammarAccess() {
return grammarAccess;
}
// $ANTLR start "entryRuleVerification"
// InternalVerify.g:85:1: entryRuleVerification returns [EObject current=null] : iv_ruleVerification= ruleVerification EOF ;
public final EObject entryRuleVerification() throws RecognitionException {
EObject current = null;
EObject iv_ruleVerification = null;
try {
// InternalVerify.g:85:53: (iv_ruleVerification= ruleVerification EOF )
// InternalVerify.g:86:2: iv_ruleVerification= ruleVerification EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationRule());
}
pushFollow(FOLLOW_1);
iv_ruleVerification=ruleVerification();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleVerification;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleVerification"
// $ANTLR start "ruleVerification"
// InternalVerify.g:92:1: ruleVerification returns [EObject current=null] : ( ( (lv_contents_0_1= ruleVerificationPlan | lv_contents_0_2= ruleVerificationMethodRegistry ) ) )+ ;
public final EObject ruleVerification() throws RecognitionException {
EObject current = null;
EObject lv_contents_0_1 = null;
EObject lv_contents_0_2 = null;
enterRule();
try {
// InternalVerify.g:98:2: ( ( ( (lv_contents_0_1= ruleVerificationPlan | lv_contents_0_2= ruleVerificationMethodRegistry ) ) )+ )
// InternalVerify.g:99:2: ( ( (lv_contents_0_1= ruleVerificationPlan | lv_contents_0_2= ruleVerificationMethodRegistry ) ) )+
{
// InternalVerify.g:99:2: ( ( (lv_contents_0_1= ruleVerificationPlan | lv_contents_0_2= ruleVerificationMethodRegistry ) ) )+
int cnt2=0;
loop2:
do {
int alt2=2;
int LA2_0 = input.LA(1);
if ( (LA2_0==17) ) {
alt2=1;
}
switch (alt2) {
case 1 :
// InternalVerify.g:100:3: ( (lv_contents_0_1= ruleVerificationPlan | lv_contents_0_2= ruleVerificationMethodRegistry ) )
{
// InternalVerify.g:100:3: ( (lv_contents_0_1= ruleVerificationPlan | lv_contents_0_2= ruleVerificationMethodRegistry ) )
// InternalVerify.g:101:4: (lv_contents_0_1= ruleVerificationPlan | lv_contents_0_2= ruleVerificationMethodRegistry )
{
// InternalVerify.g:101:4: (lv_contents_0_1= ruleVerificationPlan | lv_contents_0_2= ruleVerificationMethodRegistry )
int alt1=2;
int LA1_0 = input.LA(1);
if ( (LA1_0==17) ) {
int LA1_1 = input.LA(2);
if ( (LA1_1==18) ) {
alt1=1;
}
else if ( (LA1_1==43) ) {
alt1=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 1, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 1, 0, input);
throw nvae;
}
switch (alt1) {
case 1 :
// InternalVerify.g:102:5: lv_contents_0_1= ruleVerificationPlan
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationAccess().getContentsVerificationPlanParserRuleCall_0_0());
}
pushFollow(FOLLOW_3);
lv_contents_0_1=ruleVerificationPlan();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationRule());
}
add(
current,
"contents",
lv_contents_0_1,
"org.osate.verify.Verify.VerificationPlan");
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalVerify.g:118:5: lv_contents_0_2= ruleVerificationMethodRegistry
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationAccess().getContentsVerificationMethodRegistryParserRuleCall_0_1());
}
pushFollow(FOLLOW_3);
lv_contents_0_2=ruleVerificationMethodRegistry();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationRule());
}
add(
current,
"contents",
lv_contents_0_2,
"org.osate.verify.Verify.VerificationMethodRegistry");
afterParserOrEnumRuleCall();
}
}
break;
}
}
}
break;
default :
if ( cnt2 >= 1 ) break loop2;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(2, input);
throw eee;
}
cnt2++;
} while (true);
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleVerification"
// $ANTLR start "entryRuleVerificationPlan"
// InternalVerify.g:139:1: entryRuleVerificationPlan returns [EObject current=null] : iv_ruleVerificationPlan= ruleVerificationPlan EOF ;
public final EObject entryRuleVerificationPlan() throws RecognitionException {
EObject current = null;
EObject iv_ruleVerificationPlan = null;
try {
// InternalVerify.g:139:57: (iv_ruleVerificationPlan= ruleVerificationPlan EOF )
// InternalVerify.g:140:2: iv_ruleVerificationPlan= ruleVerificationPlan EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationPlanRule());
}
pushFollow(FOLLOW_1);
iv_ruleVerificationPlan=ruleVerificationPlan();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleVerificationPlan;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleVerificationPlan"
// $ANTLR start "ruleVerificationPlan"
// InternalVerify.g:146:1: ruleVerificationPlan returns [EObject current=null] : (otherlv_0= 'verification' otherlv_1= 'plan' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )? otherlv_5= 'for' ( ( ruleQualifiedName ) ) otherlv_7= '[' ( ( ( ( ({...}? => ( ({...}? => ( (lv_description_9_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) ) ) ) )* ) ) ) otherlv_14= ']' ) ;
public final EObject ruleVerificationPlan() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_3=null;
Token lv_title_4_0=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token otherlv_12=null;
Token lv_issues_13_0=null;
Token otherlv_14=null;
AntlrDatatypeRuleToken lv_name_2_0 = null;
EObject lv_description_9_0 = null;
EObject lv_claim_10_0 = null;
EObject lv_rationale_11_0 = null;
enterRule();
try {
// InternalVerify.g:152:2: ( (otherlv_0= 'verification' otherlv_1= 'plan' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )? otherlv_5= 'for' ( ( ruleQualifiedName ) ) otherlv_7= '[' ( ( ( ( ({...}? => ( ({...}? => ( (lv_description_9_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) ) ) ) )* ) ) ) otherlv_14= ']' ) )
// InternalVerify.g:153:2: (otherlv_0= 'verification' otherlv_1= 'plan' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )? otherlv_5= 'for' ( ( ruleQualifiedName ) ) otherlv_7= '[' ( ( ( ( ({...}? => ( ({...}? => ( (lv_description_9_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) ) ) ) )* ) ) ) otherlv_14= ']' )
{
// InternalVerify.g:153:2: (otherlv_0= 'verification' otherlv_1= 'plan' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )? otherlv_5= 'for' ( ( ruleQualifiedName ) ) otherlv_7= '[' ( ( ( ( ({...}? => ( ({...}? => ( (lv_description_9_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) ) ) ) )* ) ) ) otherlv_14= ']' )
// InternalVerify.g:154:3: otherlv_0= 'verification' otherlv_1= 'plan' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )? otherlv_5= 'for' ( ( ruleQualifiedName ) ) otherlv_7= '[' ( ( ( ( ({...}? => ( ({...}? => ( (lv_description_9_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) ) ) ) )* ) ) ) otherlv_14= ']'
{
otherlv_0=(Token)match(input,17,FOLLOW_4); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getVerificationPlanAccess().getVerificationKeyword_0());
}
otherlv_1=(Token)match(input,18,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getVerificationPlanAccess().getPlanKeyword_1());
}
// InternalVerify.g:162:3: ( (lv_name_2_0= ruleQualifiedName ) )
// InternalVerify.g:163:4: (lv_name_2_0= ruleQualifiedName )
{
// InternalVerify.g:163:4: (lv_name_2_0= ruleQualifiedName )
// InternalVerify.g:164:5: lv_name_2_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationPlanAccess().getNameQualifiedNameParserRuleCall_2_0());
}
pushFollow(FOLLOW_6);
lv_name_2_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationPlanRule());
}
set(
current,
"name",
lv_name_2_0,
"org.osate.alisa.common.Common.QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:181:3: (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )?
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0==19) ) {
alt3=1;
}
switch (alt3) {
case 1 :
// InternalVerify.g:182:4: otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) )
{
otherlv_3=(Token)match(input,19,FOLLOW_7); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getVerificationPlanAccess().getColonKeyword_3_0());
}
// InternalVerify.g:186:4: ( (lv_title_4_0= RULE_STRING ) )
// InternalVerify.g:187:5: (lv_title_4_0= RULE_STRING )
{
// InternalVerify.g:187:5: (lv_title_4_0= RULE_STRING )
// InternalVerify.g:188:6: lv_title_4_0= RULE_STRING
{
lv_title_4_0=(Token)match(input,RULE_STRING,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_title_4_0, grammarAccess.getVerificationPlanAccess().getTitleSTRINGTerminalRuleCall_3_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationPlanRule());
}
setWithLastConsumed(
current,
"title",
lv_title_4_0,
"org.eclipse.xtext.common.Terminals.STRING");
}
}
}
}
break;
}
otherlv_5=(Token)match(input,20,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getVerificationPlanAccess().getForKeyword_4());
}
// InternalVerify.g:209:3: ( ( ruleQualifiedName ) )
// InternalVerify.g:210:4: ( ruleQualifiedName )
{
// InternalVerify.g:210:4: ( ruleQualifiedName )
// InternalVerify.g:211:5: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationPlanRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationPlanAccess().getRequirementSetRequirementSetCrossReference_5_0());
}
pushFollow(FOLLOW_9);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
otherlv_7=(Token)match(input,21,FOLLOW_10); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getVerificationPlanAccess().getLeftSquareBracketKeyword_6());
}
// InternalVerify.g:229:3: ( ( ( ( ({...}? => ( ({...}? => ( (lv_description_9_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) ) ) ) )* ) ) )
// InternalVerify.g:230:4: ( ( ( ({...}? => ( ({...}? => ( (lv_description_9_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) ) ) ) )* ) )
{
// InternalVerify.g:230:4: ( ( ( ({...}? => ( ({...}? => ( (lv_description_9_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) ) ) ) )* ) )
// InternalVerify.g:231:5: ( ( ({...}? => ( ({...}? => ( (lv_description_9_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) ) ) ) )* )
{
getUnorderedGroupHelper().enter(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7());
// InternalVerify.g:234:5: ( ( ({...}? => ( ({...}? => ( (lv_description_9_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) ) ) ) )* )
// InternalVerify.g:235:6: ( ({...}? => ( ({...}? => ( (lv_description_9_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) ) ) ) )*
{
// InternalVerify.g:235:6: ( ({...}? => ( ({...}? => ( (lv_description_9_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) ) ) ) )*
loop6:
do {
int alt6=5;
int LA6_0 = input.LA(1);
if ( LA6_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7(), 0) ) {
alt6=1;
}
else if ( LA6_0 == 24 && getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7(), 1) ) {
alt6=2;
}
else if ( LA6_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7(), 2) ) {
alt6=3;
}
else if ( LA6_0 == 22 && getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7(), 3) ) {
alt6=4;
}
switch (alt6) {
case 1 :
// InternalVerify.g:236:4: ({...}? => ( ({...}? => ( (lv_description_9_0= ruleDescription ) ) ) ) )
{
// InternalVerify.g:236:4: ({...}? => ( ({...}? => ( (lv_description_9_0= ruleDescription ) ) ) ) )
// InternalVerify.g:237:5: {...}? => ( ({...}? => ( (lv_description_9_0= ruleDescription ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationPlan", "getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7(), 0)");
}
// InternalVerify.g:237:113: ( ({...}? => ( (lv_description_9_0= ruleDescription ) ) ) )
// InternalVerify.g:238:6: ({...}? => ( (lv_description_9_0= ruleDescription ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7(), 0);
// InternalVerify.g:241:9: ({...}? => ( (lv_description_9_0= ruleDescription ) ) )
// InternalVerify.g:241:10: {...}? => ( (lv_description_9_0= ruleDescription ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationPlan", "true");
}
// InternalVerify.g:241:19: ( (lv_description_9_0= ruleDescription ) )
// InternalVerify.g:241:20: (lv_description_9_0= ruleDescription )
{
// InternalVerify.g:241:20: (lv_description_9_0= ruleDescription )
// InternalVerify.g:242:10: lv_description_9_0= ruleDescription
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationPlanAccess().getDescriptionDescriptionParserRuleCall_7_0_0());
}
pushFollow(FOLLOW_10);
lv_description_9_0=ruleDescription();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationPlanRule());
}
set(
current,
"description",
lv_description_9_0,
"org.osate.alisa.common.Common.Description");
afterParserOrEnumRuleCall();
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7());
}
}
}
break;
case 2 :
// InternalVerify.g:264:4: ({...}? => ( ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+ ) )
{
// InternalVerify.g:264:4: ({...}? => ( ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+ ) )
// InternalVerify.g:265:5: {...}? => ( ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+ )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationPlan", "getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7(), 1)");
}
// InternalVerify.g:265:113: ( ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+ )
// InternalVerify.g:266:6: ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+
{
getUnorderedGroupHelper().select(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7(), 1);
// InternalVerify.g:269:9: ({...}? => ( (lv_claim_10_0= ruleClaim ) ) )+
int cnt4=0;
loop4:
do {
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0==24) ) {
int LA4_2 = input.LA(2);
if ( ((true)) ) {
alt4=1;
}
}
switch (alt4) {
case 1 :
// InternalVerify.g:269:10: {...}? => ( (lv_claim_10_0= ruleClaim ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationPlan", "true");
}
// InternalVerify.g:269:19: ( (lv_claim_10_0= ruleClaim ) )
// InternalVerify.g:269:20: (lv_claim_10_0= ruleClaim )
{
// InternalVerify.g:269:20: (lv_claim_10_0= ruleClaim )
// InternalVerify.g:270:10: lv_claim_10_0= ruleClaim
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationPlanAccess().getClaimClaimParserRuleCall_7_1_0());
}
pushFollow(FOLLOW_10);
lv_claim_10_0=ruleClaim();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationPlanRule());
}
add(
current,
"claim",
lv_claim_10_0,
"org.osate.verify.Verify.Claim");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
if ( cnt4 >= 1 ) break loop4;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(4, input);
throw eee;
}
cnt4++;
} while (true);
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7());
}
}
}
break;
case 3 :
// InternalVerify.g:292:4: ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) )
{
// InternalVerify.g:292:4: ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) )
// InternalVerify.g:293:5: {...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationPlan", "getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7(), 2)");
}
// InternalVerify.g:293:113: ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) )
// InternalVerify.g:294:6: ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7(), 2);
// InternalVerify.g:297:9: ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) )
// InternalVerify.g:297:10: {...}? => ( (lv_rationale_11_0= ruleRationale ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationPlan", "true");
}
// InternalVerify.g:297:19: ( (lv_rationale_11_0= ruleRationale ) )
// InternalVerify.g:297:20: (lv_rationale_11_0= ruleRationale )
{
// InternalVerify.g:297:20: (lv_rationale_11_0= ruleRationale )
// InternalVerify.g:298:10: lv_rationale_11_0= ruleRationale
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationPlanAccess().getRationaleRationaleParserRuleCall_7_2_0());
}
pushFollow(FOLLOW_10);
lv_rationale_11_0=ruleRationale();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationPlanRule());
}
set(
current,
"rationale",
lv_rationale_11_0,
"org.osate.alisa.common.Common.Rationale");
afterParserOrEnumRuleCall();
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7());
}
}
}
break;
case 4 :
// InternalVerify.g:320:4: ({...}? => ( ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) ) ) )
{
// InternalVerify.g:320:4: ({...}? => ( ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) ) ) )
// InternalVerify.g:321:5: {...}? => ( ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7(), 3) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationPlan", "getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7(), 3)");
}
// InternalVerify.g:321:113: ( ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) ) )
// InternalVerify.g:322:6: ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) )
{
getUnorderedGroupHelper().select(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7(), 3);
// InternalVerify.g:325:9: ({...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ ) )
// InternalVerify.g:325:10: {...}? => (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationPlan", "true");
}
// InternalVerify.g:325:19: (otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+ )
// InternalVerify.g:325:20: otherlv_12= 'issues' ( (lv_issues_13_0= RULE_STRING ) )+
{
otherlv_12=(Token)match(input,22,FOLLOW_7); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getVerificationPlanAccess().getIssuesKeyword_7_3_0());
}
// InternalVerify.g:329:9: ( (lv_issues_13_0= RULE_STRING ) )+
int cnt5=0;
loop5:
do {
int alt5=2;
int LA5_0 = input.LA(1);
if ( (LA5_0==RULE_STRING) ) {
alt5=1;
}
switch (alt5) {
case 1 :
// InternalVerify.g:330:10: (lv_issues_13_0= RULE_STRING )
{
// InternalVerify.g:330:10: (lv_issues_13_0= RULE_STRING )
// InternalVerify.g:331:11: lv_issues_13_0= RULE_STRING
{
lv_issues_13_0=(Token)match(input,RULE_STRING,FOLLOW_11); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_issues_13_0, grammarAccess.getVerificationPlanAccess().getIssuesSTRINGTerminalRuleCall_7_3_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationPlanRule());
}
addWithLastConsumed(
current,
"issues",
lv_issues_13_0,
"org.eclipse.xtext.common.Terminals.STRING");
}
}
}
break;
default :
if ( cnt5 >= 1 ) break loop5;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(5, input);
throw eee;
}
cnt5++;
} while (true);
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7());
}
}
}
break;
default :
break loop6;
}
} while (true);
}
}
getUnorderedGroupHelper().leave(grammarAccess.getVerificationPlanAccess().getUnorderedGroup_7());
}
otherlv_14=(Token)match(input,23,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_14, grammarAccess.getVerificationPlanAccess().getRightSquareBracketKeyword_8());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleVerificationPlan"
// $ANTLR start "entryRuleClaim"
// InternalVerify.g:368:1: entryRuleClaim returns [EObject current=null] : iv_ruleClaim= ruleClaim EOF ;
public final EObject entryRuleClaim() throws RecognitionException {
EObject current = null;
EObject iv_ruleClaim = null;
try {
// InternalVerify.g:368:46: (iv_ruleClaim= ruleClaim EOF )
// InternalVerify.g:369:2: iv_ruleClaim= ruleClaim EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getClaimRule());
}
pushFollow(FOLLOW_1);
iv_ruleClaim=ruleClaim();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleClaim;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleClaim"
// $ANTLR start "ruleClaim"
// InternalVerify.g:375:1: ruleClaim returns [EObject current=null] : ( () otherlv_1= 'claim' ( ( ruleQualifiedName ) )? (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )? otherlv_5= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) ) ) ) )* ) ) ) otherlv_17= ']' ) ;
public final EObject ruleClaim() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token lv_title_4_0=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token otherlv_9=null;
Token otherlv_12=null;
Token lv_weight_13_0=null;
Token otherlv_15=null;
Token lv_issues_16_0=null;
Token otherlv_17=null;
EObject lv_activities_8_0 = null;
EObject lv_assert_10_0 = null;
EObject lv_rationale_11_0 = null;
EObject lv_subclaim_14_0 = null;
enterRule();
try {
// InternalVerify.g:381:2: ( ( () otherlv_1= 'claim' ( ( ruleQualifiedName ) )? (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )? otherlv_5= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) ) ) ) )* ) ) ) otherlv_17= ']' ) )
// InternalVerify.g:382:2: ( () otherlv_1= 'claim' ( ( ruleQualifiedName ) )? (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )? otherlv_5= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) ) ) ) )* ) ) ) otherlv_17= ']' )
{
// InternalVerify.g:382:2: ( () otherlv_1= 'claim' ( ( ruleQualifiedName ) )? (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )? otherlv_5= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) ) ) ) )* ) ) ) otherlv_17= ']' )
// InternalVerify.g:383:3: () otherlv_1= 'claim' ( ( ruleQualifiedName ) )? (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )? otherlv_5= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) ) ) ) )* ) ) ) otherlv_17= ']'
{
// InternalVerify.g:383:3: ()
// InternalVerify.g:384:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getClaimAccess().getClaimAction_0(),
current);
}
}
otherlv_1=(Token)match(input,24,FOLLOW_12); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getClaimAccess().getClaimKeyword_1());
}
// InternalVerify.g:394:3: ( ( ruleQualifiedName ) )?
int alt7=2;
int LA7_0 = input.LA(1);
if ( (LA7_0==RULE_ID) ) {
alt7=1;
}
switch (alt7) {
case 1 :
// InternalVerify.g:395:4: ( ruleQualifiedName )
{
// InternalVerify.g:395:4: ( ruleQualifiedName )
// InternalVerify.g:396:5: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getClaimRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getClaimAccess().getRequirementRequirementCrossReference_2_0());
}
pushFollow(FOLLOW_13);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
break;
}
// InternalVerify.g:410:3: (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )?
int alt8=2;
int LA8_0 = input.LA(1);
if ( (LA8_0==19) ) {
alt8=1;
}
switch (alt8) {
case 1 :
// InternalVerify.g:411:4: otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) )
{
otherlv_3=(Token)match(input,19,FOLLOW_7); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getClaimAccess().getColonKeyword_3_0());
}
// InternalVerify.g:415:4: ( (lv_title_4_0= RULE_STRING ) )
// InternalVerify.g:416:5: (lv_title_4_0= RULE_STRING )
{
// InternalVerify.g:416:5: (lv_title_4_0= RULE_STRING )
// InternalVerify.g:417:6: lv_title_4_0= RULE_STRING
{
lv_title_4_0=(Token)match(input,RULE_STRING,FOLLOW_9); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_title_4_0, grammarAccess.getClaimAccess().getTitleSTRINGTerminalRuleCall_3_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getClaimRule());
}
setWithLastConsumed(
current,
"title",
lv_title_4_0,
"org.eclipse.xtext.common.Terminals.STRING");
}
}
}
}
break;
}
otherlv_5=(Token)match(input,21,FOLLOW_14); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getClaimAccess().getLeftSquareBracketKeyword_4());
}
// InternalVerify.g:438:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) ) ) ) )* ) ) )
// InternalVerify.g:439:4: ( ( ( ({...}? => ( ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) ) ) ) )* ) )
{
// InternalVerify.g:439:4: ( ( ( ({...}? => ( ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) ) ) ) )* ) )
// InternalVerify.g:440:5: ( ( ({...}? => ( ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) ) ) ) )* )
{
getUnorderedGroupHelper().enter(grammarAccess.getClaimAccess().getUnorderedGroup_5());
// InternalVerify.g:443:5: ( ( ({...}? => ( ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) ) ) ) )* )
// InternalVerify.g:444:6: ( ({...}? => ( ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) ) ) ) )*
{
// InternalVerify.g:444:6: ( ({...}? => ( ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+ ) ) | ({...}? => ( ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) ) ) ) )*
loop12:
do {
int alt12=7;
int LA12_0 = input.LA(1);
if ( LA12_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 0) ) {
alt12=1;
}
else if ( LA12_0 == 26 && getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 1) ) {
alt12=2;
}
else if ( LA12_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 2) ) {
alt12=3;
}
else if ( LA12_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 3) ) {
alt12=4;
}
else if ( LA12_0 == 24 && getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 4) ) {
alt12=5;
}
else if ( LA12_0 == 22 && getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 5) ) {
alt12=6;
}
switch (alt12) {
case 1 :
// InternalVerify.g:445:4: ({...}? => ( ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) ) ) )
{
// InternalVerify.g:445:4: ({...}? => ( ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) ) ) )
// InternalVerify.g:446:5: {...}? => ( ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleClaim", "getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 0)");
}
// InternalVerify.g:446:102: ( ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) ) )
// InternalVerify.g:447:6: ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) )
{
getUnorderedGroupHelper().select(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 0);
// InternalVerify.g:450:9: ({...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* ) )
// InternalVerify.g:450:10: {...}? => (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleClaim", "true");
}
// InternalVerify.g:450:19: (otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )* )
// InternalVerify.g:450:20: otherlv_7= 'activities' ( (lv_activities_8_0= ruleVerificationActivity ) )*
{
otherlv_7=(Token)match(input,25,FOLLOW_15); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getClaimAccess().getActivitiesKeyword_5_0_0());
}
// InternalVerify.g:454:9: ( (lv_activities_8_0= ruleVerificationActivity ) )*
loop9:
do {
int alt9=2;
int LA9_0 = input.LA(1);
if ( (LA9_0==RULE_ID) ) {
alt9=1;
}
switch (alt9) {
case 1 :
// InternalVerify.g:455:10: (lv_activities_8_0= ruleVerificationActivity )
{
// InternalVerify.g:455:10: (lv_activities_8_0= ruleVerificationActivity )
// InternalVerify.g:456:11: lv_activities_8_0= ruleVerificationActivity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getClaimAccess().getActivitiesVerificationActivityParserRuleCall_5_0_1_0());
}
pushFollow(FOLLOW_15);
lv_activities_8_0=ruleVerificationActivity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getClaimRule());
}
add(
current,
"activities",
lv_activities_8_0,
"org.osate.verify.Verify.VerificationActivity");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop9;
}
} while (true);
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getClaimAccess().getUnorderedGroup_5());
}
}
}
break;
case 2 :
// InternalVerify.g:479:4: ({...}? => ( ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) ) ) )
{
// InternalVerify.g:479:4: ({...}? => ( ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) ) ) )
// InternalVerify.g:480:5: {...}? => ( ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleClaim", "getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 1)");
}
// InternalVerify.g:480:102: ( ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) ) )
// InternalVerify.g:481:6: ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 1);
// InternalVerify.g:484:9: ({...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) ) )
// InternalVerify.g:484:10: {...}? => (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleClaim", "true");
}
// InternalVerify.g:484:19: (otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) ) )
// InternalVerify.g:484:20: otherlv_9= 'assert' ( (lv_assert_10_0= ruleArgumentExpr ) )
{
otherlv_9=(Token)match(input,26,FOLLOW_16); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getClaimAccess().getAssertKeyword_5_1_0());
}
// InternalVerify.g:488:9: ( (lv_assert_10_0= ruleArgumentExpr ) )
// InternalVerify.g:489:10: (lv_assert_10_0= ruleArgumentExpr )
{
// InternalVerify.g:489:10: (lv_assert_10_0= ruleArgumentExpr )
// InternalVerify.g:490:11: lv_assert_10_0= ruleArgumentExpr
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getClaimAccess().getAssertArgumentExprParserRuleCall_5_1_1_0());
}
pushFollow(FOLLOW_14);
lv_assert_10_0=ruleArgumentExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getClaimRule());
}
set(
current,
"assert",
lv_assert_10_0,
"org.osate.verify.Verify.ArgumentExpr");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getClaimAccess().getUnorderedGroup_5());
}
}
}
break;
case 3 :
// InternalVerify.g:513:4: ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) )
{
// InternalVerify.g:513:4: ({...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) ) )
// InternalVerify.g:514:5: {...}? => ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleClaim", "getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 2)");
}
// InternalVerify.g:514:102: ( ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) ) )
// InternalVerify.g:515:6: ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 2);
// InternalVerify.g:518:9: ({...}? => ( (lv_rationale_11_0= ruleRationale ) ) )
// InternalVerify.g:518:10: {...}? => ( (lv_rationale_11_0= ruleRationale ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleClaim", "true");
}
// InternalVerify.g:518:19: ( (lv_rationale_11_0= ruleRationale ) )
// InternalVerify.g:518:20: (lv_rationale_11_0= ruleRationale )
{
// InternalVerify.g:518:20: (lv_rationale_11_0= ruleRationale )
// InternalVerify.g:519:10: lv_rationale_11_0= ruleRationale
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getClaimAccess().getRationaleRationaleParserRuleCall_5_2_0());
}
pushFollow(FOLLOW_14);
lv_rationale_11_0=ruleRationale();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getClaimRule());
}
set(
current,
"rationale",
lv_rationale_11_0,
"org.osate.alisa.common.Common.Rationale");
afterParserOrEnumRuleCall();
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getClaimAccess().getUnorderedGroup_5());
}
}
}
break;
case 4 :
// InternalVerify.g:541:4: ({...}? => ( ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) ) ) )
{
// InternalVerify.g:541:4: ({...}? => ( ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) ) ) )
// InternalVerify.g:542:5: {...}? => ( ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 3) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleClaim", "getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 3)");
}
// InternalVerify.g:542:102: ( ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) ) )
// InternalVerify.g:543:6: ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 3);
// InternalVerify.g:546:9: ({...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) ) )
// InternalVerify.g:546:10: {...}? => (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleClaim", "true");
}
// InternalVerify.g:546:19: (otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) ) )
// InternalVerify.g:546:20: otherlv_12= 'weight' ( (lv_weight_13_0= RULE_INT ) )
{
otherlv_12=(Token)match(input,27,FOLLOW_17); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getClaimAccess().getWeightKeyword_5_3_0());
}
// InternalVerify.g:550:9: ( (lv_weight_13_0= RULE_INT ) )
// InternalVerify.g:551:10: (lv_weight_13_0= RULE_INT )
{
// InternalVerify.g:551:10: (lv_weight_13_0= RULE_INT )
// InternalVerify.g:552:11: lv_weight_13_0= RULE_INT
{
lv_weight_13_0=(Token)match(input,RULE_INT,FOLLOW_14); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_weight_13_0, grammarAccess.getClaimAccess().getWeightINTTerminalRuleCall_5_3_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getClaimRule());
}
setWithLastConsumed(
current,
"weight",
lv_weight_13_0,
"org.eclipse.xtext.common.Terminals.INT");
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getClaimAccess().getUnorderedGroup_5());
}
}
}
break;
case 5 :
// InternalVerify.g:574:4: ({...}? => ( ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+ ) )
{
// InternalVerify.g:574:4: ({...}? => ( ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+ ) )
// InternalVerify.g:575:5: {...}? => ( ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+ )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 4) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleClaim", "getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 4)");
}
// InternalVerify.g:575:102: ( ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+ )
// InternalVerify.g:576:6: ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+
{
getUnorderedGroupHelper().select(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 4);
// InternalVerify.g:579:9: ({...}? => ( (lv_subclaim_14_0= ruleClaim ) ) )+
int cnt10=0;
loop10:
do {
int alt10=2;
int LA10_0 = input.LA(1);
if ( (LA10_0==24) ) {
int LA10_2 = input.LA(2);
if ( ((true)) ) {
alt10=1;
}
}
switch (alt10) {
case 1 :
// InternalVerify.g:579:10: {...}? => ( (lv_subclaim_14_0= ruleClaim ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleClaim", "true");
}
// InternalVerify.g:579:19: ( (lv_subclaim_14_0= ruleClaim ) )
// InternalVerify.g:579:20: (lv_subclaim_14_0= ruleClaim )
{
// InternalVerify.g:579:20: (lv_subclaim_14_0= ruleClaim )
// InternalVerify.g:580:10: lv_subclaim_14_0= ruleClaim
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getClaimAccess().getSubclaimClaimParserRuleCall_5_4_0());
}
pushFollow(FOLLOW_14);
lv_subclaim_14_0=ruleClaim();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getClaimRule());
}
add(
current,
"subclaim",
lv_subclaim_14_0,
"org.osate.verify.Verify.Claim");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
if ( cnt10 >= 1 ) break loop10;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(10, input);
throw eee;
}
cnt10++;
} while (true);
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getClaimAccess().getUnorderedGroup_5());
}
}
}
break;
case 6 :
// InternalVerify.g:602:4: ({...}? => ( ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) ) ) )
{
// InternalVerify.g:602:4: ({...}? => ( ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) ) ) )
// InternalVerify.g:603:5: {...}? => ( ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 5) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleClaim", "getUnorderedGroupHelper().canSelect(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 5)");
}
// InternalVerify.g:603:102: ( ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) ) )
// InternalVerify.g:604:6: ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) )
{
getUnorderedGroupHelper().select(grammarAccess.getClaimAccess().getUnorderedGroup_5(), 5);
// InternalVerify.g:607:9: ({...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ ) )
// InternalVerify.g:607:10: {...}? => (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleClaim", "true");
}
// InternalVerify.g:607:19: (otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+ )
// InternalVerify.g:607:20: otherlv_15= 'issues' ( (lv_issues_16_0= RULE_STRING ) )+
{
otherlv_15=(Token)match(input,22,FOLLOW_7); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getClaimAccess().getIssuesKeyword_5_5_0());
}
// InternalVerify.g:611:9: ( (lv_issues_16_0= RULE_STRING ) )+
int cnt11=0;
loop11:
do {
int alt11=2;
int LA11_0 = input.LA(1);
if ( (LA11_0==RULE_STRING) ) {
alt11=1;
}
switch (alt11) {
case 1 :
// InternalVerify.g:612:10: (lv_issues_16_0= RULE_STRING )
{
// InternalVerify.g:612:10: (lv_issues_16_0= RULE_STRING )
// InternalVerify.g:613:11: lv_issues_16_0= RULE_STRING
{
lv_issues_16_0=(Token)match(input,RULE_STRING,FOLLOW_18); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_issues_16_0, grammarAccess.getClaimAccess().getIssuesSTRINGTerminalRuleCall_5_5_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getClaimRule());
}
addWithLastConsumed(
current,
"issues",
lv_issues_16_0,
"org.eclipse.xtext.common.Terminals.STRING");
}
}
}
break;
default :
if ( cnt11 >= 1 ) break loop11;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(11, input);
throw eee;
}
cnt11++;
} while (true);
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getClaimAccess().getUnorderedGroup_5());
}
}
}
break;
default :
break loop12;
}
} while (true);
}
}
getUnorderedGroupHelper().leave(grammarAccess.getClaimAccess().getUnorderedGroup_5());
}
otherlv_17=(Token)match(input,23,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_17, grammarAccess.getClaimAccess().getRightSquareBracketKeyword_6());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleClaim"
// $ANTLR start "entryRuleArgumentExpr"
// InternalVerify.g:650:1: entryRuleArgumentExpr returns [EObject current=null] : iv_ruleArgumentExpr= ruleArgumentExpr EOF ;
public final EObject entryRuleArgumentExpr() throws RecognitionException {
EObject current = null;
EObject iv_ruleArgumentExpr = null;
try {
// InternalVerify.g:650:53: (iv_ruleArgumentExpr= ruleArgumentExpr EOF )
// InternalVerify.g:651:2: iv_ruleArgumentExpr= ruleArgumentExpr EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getArgumentExprRule());
}
pushFollow(FOLLOW_1);
iv_ruleArgumentExpr=ruleArgumentExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleArgumentExpr;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleArgumentExpr"
// $ANTLR start "ruleArgumentExpr"
// InternalVerify.g:657:1: ruleArgumentExpr returns [EObject current=null] : this_ThenEvidenceExpr_0= ruleThenEvidenceExpr ;
public final EObject ruleArgumentExpr() throws RecognitionException {
EObject current = null;
EObject this_ThenEvidenceExpr_0 = null;
enterRule();
try {
// InternalVerify.g:663:2: (this_ThenEvidenceExpr_0= ruleThenEvidenceExpr )
// InternalVerify.g:664:2: this_ThenEvidenceExpr_0= ruleThenEvidenceExpr
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getArgumentExprAccess().getThenEvidenceExprParserRuleCall());
}
pushFollow(FOLLOW_2);
this_ThenEvidenceExpr_0=ruleThenEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ThenEvidenceExpr_0;
afterParserOrEnumRuleCall();
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleArgumentExpr"
// $ANTLR start "entryRuleThenEvidenceExpr"
// InternalVerify.g:675:1: entryRuleThenEvidenceExpr returns [EObject current=null] : iv_ruleThenEvidenceExpr= ruleThenEvidenceExpr EOF ;
public final EObject entryRuleThenEvidenceExpr() throws RecognitionException {
EObject current = null;
EObject iv_ruleThenEvidenceExpr = null;
try {
// InternalVerify.g:675:57: (iv_ruleThenEvidenceExpr= ruleThenEvidenceExpr EOF )
// InternalVerify.g:676:2: iv_ruleThenEvidenceExpr= ruleThenEvidenceExpr EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getThenEvidenceExprRule());
}
pushFollow(FOLLOW_1);
iv_ruleThenEvidenceExpr=ruleThenEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleThenEvidenceExpr;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleThenEvidenceExpr"
// $ANTLR start "ruleThenEvidenceExpr"
// InternalVerify.g:682:1: ruleThenEvidenceExpr returns [EObject current=null] : (this_ElseEvidenceExpr_0= ruleElseEvidenceExpr ( ( ( ( () 'then' ) )=> ( () otherlv_2= 'then' ) ) ( (lv_successor_3_0= ruleThenEvidenceExpr ) ) )* ) ;
public final EObject ruleThenEvidenceExpr() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject this_ElseEvidenceExpr_0 = null;
EObject lv_successor_3_0 = null;
enterRule();
try {
// InternalVerify.g:688:2: ( (this_ElseEvidenceExpr_0= ruleElseEvidenceExpr ( ( ( ( () 'then' ) )=> ( () otherlv_2= 'then' ) ) ( (lv_successor_3_0= ruleThenEvidenceExpr ) ) )* ) )
// InternalVerify.g:689:2: (this_ElseEvidenceExpr_0= ruleElseEvidenceExpr ( ( ( ( () 'then' ) )=> ( () otherlv_2= 'then' ) ) ( (lv_successor_3_0= ruleThenEvidenceExpr ) ) )* )
{
// InternalVerify.g:689:2: (this_ElseEvidenceExpr_0= ruleElseEvidenceExpr ( ( ( ( () 'then' ) )=> ( () otherlv_2= 'then' ) ) ( (lv_successor_3_0= ruleThenEvidenceExpr ) ) )* )
// InternalVerify.g:690:3: this_ElseEvidenceExpr_0= ruleElseEvidenceExpr ( ( ( ( () 'then' ) )=> ( () otherlv_2= 'then' ) ) ( (lv_successor_3_0= ruleThenEvidenceExpr ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getThenEvidenceExprAccess().getElseEvidenceExprParserRuleCall_0());
}
pushFollow(FOLLOW_19);
this_ElseEvidenceExpr_0=ruleElseEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ElseEvidenceExpr_0;
afterParserOrEnumRuleCall();
}
// InternalVerify.g:698:3: ( ( ( ( () 'then' ) )=> ( () otherlv_2= 'then' ) ) ( (lv_successor_3_0= ruleThenEvidenceExpr ) ) )*
loop13:
do {
int alt13=2;
int LA13_0 = input.LA(1);
if ( (LA13_0==28) ) {
int LA13_2 = input.LA(2);
if ( (synpred1_InternalVerify()) ) {
alt13=1;
}
}
switch (alt13) {
case 1 :
// InternalVerify.g:699:4: ( ( ( () 'then' ) )=> ( () otherlv_2= 'then' ) ) ( (lv_successor_3_0= ruleThenEvidenceExpr ) )
{
// InternalVerify.g:699:4: ( ( ( () 'then' ) )=> ( () otherlv_2= 'then' ) )
// InternalVerify.g:700:5: ( ( () 'then' ) )=> ( () otherlv_2= 'then' )
{
// InternalVerify.g:706:5: ( () otherlv_2= 'then' )
// InternalVerify.g:707:6: () otherlv_2= 'then'
{
// InternalVerify.g:707:6: ()
// InternalVerify.g:708:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getThenEvidenceExprAccess().getThenExprLeftAction_1_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,28,FOLLOW_16); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getThenEvidenceExprAccess().getThenKeyword_1_0_0_1());
}
}
}
// InternalVerify.g:720:4: ( (lv_successor_3_0= ruleThenEvidenceExpr ) )
// InternalVerify.g:721:5: (lv_successor_3_0= ruleThenEvidenceExpr )
{
// InternalVerify.g:721:5: (lv_successor_3_0= ruleThenEvidenceExpr )
// InternalVerify.g:722:6: lv_successor_3_0= ruleThenEvidenceExpr
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getThenEvidenceExprAccess().getSuccessorThenEvidenceExprParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_19);
lv_successor_3_0=ruleThenEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getThenEvidenceExprRule());
}
set(
current,
"successor",
lv_successor_3_0,
"org.osate.verify.Verify.ThenEvidenceExpr");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop13;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleThenEvidenceExpr"
// $ANTLR start "entryRuleElseEvidenceExpr"
// InternalVerify.g:744:1: entryRuleElseEvidenceExpr returns [EObject current=null] : iv_ruleElseEvidenceExpr= ruleElseEvidenceExpr EOF ;
public final EObject entryRuleElseEvidenceExpr() throws RecognitionException {
EObject current = null;
EObject iv_ruleElseEvidenceExpr = null;
try {
// InternalVerify.g:744:57: (iv_ruleElseEvidenceExpr= ruleElseEvidenceExpr EOF )
// InternalVerify.g:745:2: iv_ruleElseEvidenceExpr= ruleElseEvidenceExpr EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getElseEvidenceExprRule());
}
pushFollow(FOLLOW_1);
iv_ruleElseEvidenceExpr=ruleElseEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleElseEvidenceExpr;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleElseEvidenceExpr"
// $ANTLR start "ruleElseEvidenceExpr"
// InternalVerify.g:751:1: ruleElseEvidenceExpr returns [EObject current=null] : (this_SingleElseEvidenceExpr_0= ruleSingleElseEvidenceExpr | this_CompositeElseEvidenceExpr_1= ruleCompositeElseEvidenceExpr ) ;
public final EObject ruleElseEvidenceExpr() throws RecognitionException {
EObject current = null;
EObject this_SingleElseEvidenceExpr_0 = null;
EObject this_CompositeElseEvidenceExpr_1 = null;
enterRule();
try {
// InternalVerify.g:757:2: ( (this_SingleElseEvidenceExpr_0= ruleSingleElseEvidenceExpr | this_CompositeElseEvidenceExpr_1= ruleCompositeElseEvidenceExpr ) )
// InternalVerify.g:758:2: (this_SingleElseEvidenceExpr_0= ruleSingleElseEvidenceExpr | this_CompositeElseEvidenceExpr_1= ruleCompositeElseEvidenceExpr )
{
// InternalVerify.g:758:2: (this_SingleElseEvidenceExpr_0= ruleSingleElseEvidenceExpr | this_CompositeElseEvidenceExpr_1= ruleCompositeElseEvidenceExpr )
int alt14=2;
int LA14_0 = input.LA(1);
if ( (LA14_0==RULE_ID) ) {
alt14=1;
}
else if ( (LA14_0==33||LA14_0==35) ) {
alt14=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 14, 0, input);
throw nvae;
}
switch (alt14) {
case 1 :
// InternalVerify.g:759:3: this_SingleElseEvidenceExpr_0= ruleSingleElseEvidenceExpr
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getElseEvidenceExprAccess().getSingleElseEvidenceExprParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_SingleElseEvidenceExpr_0=ruleSingleElseEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_SingleElseEvidenceExpr_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalVerify.g:768:3: this_CompositeElseEvidenceExpr_1= ruleCompositeElseEvidenceExpr
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getElseEvidenceExprAccess().getCompositeElseEvidenceExprParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_CompositeElseEvidenceExpr_1=ruleCompositeElseEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_CompositeElseEvidenceExpr_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleElseEvidenceExpr"
// $ANTLR start "entryRuleSingleElseEvidenceExpr"
// InternalVerify.g:780:1: entryRuleSingleElseEvidenceExpr returns [EObject current=null] : iv_ruleSingleElseEvidenceExpr= ruleSingleElseEvidenceExpr EOF ;
public final EObject entryRuleSingleElseEvidenceExpr() throws RecognitionException {
EObject current = null;
EObject iv_ruleSingleElseEvidenceExpr = null;
try {
// InternalVerify.g:780:63: (iv_ruleSingleElseEvidenceExpr= ruleSingleElseEvidenceExpr EOF )
// InternalVerify.g:781:2: iv_ruleSingleElseEvidenceExpr= ruleSingleElseEvidenceExpr EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSingleElseEvidenceExprRule());
}
pushFollow(FOLLOW_1);
iv_ruleSingleElseEvidenceExpr=ruleSingleElseEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleSingleElseEvidenceExpr;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleSingleElseEvidenceExpr"
// $ANTLR start "ruleSingleElseEvidenceExpr"
// InternalVerify.g:787:1: ruleSingleElseEvidenceExpr returns [EObject current=null] : (this_VAReference_0= ruleVAReference ( ( ( ( () 'else' ) )=> ( () otherlv_2= 'else' ) ) ( ( (lv_error_3_0= ruleElseEvidenceExpr ) ) | (otherlv_4= '[' (otherlv_5= 'fail' otherlv_6= ':' ( (lv_fail_7_0= ruleThenEvidenceExpr ) ) )? (otherlv_8= 'timeout' otherlv_9= ':' ( (lv_timeout_10_0= ruleThenEvidenceExpr ) ) )? (otherlv_11= 'error' otherlv_12= ':' ( (lv_error_13_0= ruleThenEvidenceExpr ) ) )? otherlv_14= ']' ) ) )* ) ;
public final EObject ruleSingleElseEvidenceExpr() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_5=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token otherlv_9=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_14=null;
EObject this_VAReference_0 = null;
EObject lv_error_3_0 = null;
EObject lv_fail_7_0 = null;
EObject lv_timeout_10_0 = null;
EObject lv_error_13_0 = null;
enterRule();
try {
// InternalVerify.g:793:2: ( (this_VAReference_0= ruleVAReference ( ( ( ( () 'else' ) )=> ( () otherlv_2= 'else' ) ) ( ( (lv_error_3_0= ruleElseEvidenceExpr ) ) | (otherlv_4= '[' (otherlv_5= 'fail' otherlv_6= ':' ( (lv_fail_7_0= ruleThenEvidenceExpr ) ) )? (otherlv_8= 'timeout' otherlv_9= ':' ( (lv_timeout_10_0= ruleThenEvidenceExpr ) ) )? (otherlv_11= 'error' otherlv_12= ':' ( (lv_error_13_0= ruleThenEvidenceExpr ) ) )? otherlv_14= ']' ) ) )* ) )
// InternalVerify.g:794:2: (this_VAReference_0= ruleVAReference ( ( ( ( () 'else' ) )=> ( () otherlv_2= 'else' ) ) ( ( (lv_error_3_0= ruleElseEvidenceExpr ) ) | (otherlv_4= '[' (otherlv_5= 'fail' otherlv_6= ':' ( (lv_fail_7_0= ruleThenEvidenceExpr ) ) )? (otherlv_8= 'timeout' otherlv_9= ':' ( (lv_timeout_10_0= ruleThenEvidenceExpr ) ) )? (otherlv_11= 'error' otherlv_12= ':' ( (lv_error_13_0= ruleThenEvidenceExpr ) ) )? otherlv_14= ']' ) ) )* )
{
// InternalVerify.g:794:2: (this_VAReference_0= ruleVAReference ( ( ( ( () 'else' ) )=> ( () otherlv_2= 'else' ) ) ( ( (lv_error_3_0= ruleElseEvidenceExpr ) ) | (otherlv_4= '[' (otherlv_5= 'fail' otherlv_6= ':' ( (lv_fail_7_0= ruleThenEvidenceExpr ) ) )? (otherlv_8= 'timeout' otherlv_9= ':' ( (lv_timeout_10_0= ruleThenEvidenceExpr ) ) )? (otherlv_11= 'error' otherlv_12= ':' ( (lv_error_13_0= ruleThenEvidenceExpr ) ) )? otherlv_14= ']' ) ) )* )
// InternalVerify.g:795:3: this_VAReference_0= ruleVAReference ( ( ( ( () 'else' ) )=> ( () otherlv_2= 'else' ) ) ( ( (lv_error_3_0= ruleElseEvidenceExpr ) ) | (otherlv_4= '[' (otherlv_5= 'fail' otherlv_6= ':' ( (lv_fail_7_0= ruleThenEvidenceExpr ) ) )? (otherlv_8= 'timeout' otherlv_9= ':' ( (lv_timeout_10_0= ruleThenEvidenceExpr ) ) )? (otherlv_11= 'error' otherlv_12= ':' ( (lv_error_13_0= ruleThenEvidenceExpr ) ) )? otherlv_14= ']' ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSingleElseEvidenceExprAccess().getVAReferenceParserRuleCall_0());
}
pushFollow(FOLLOW_20);
this_VAReference_0=ruleVAReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_VAReference_0;
afterParserOrEnumRuleCall();
}
// InternalVerify.g:803:3: ( ( ( ( () 'else' ) )=> ( () otherlv_2= 'else' ) ) ( ( (lv_error_3_0= ruleElseEvidenceExpr ) ) | (otherlv_4= '[' (otherlv_5= 'fail' otherlv_6= ':' ( (lv_fail_7_0= ruleThenEvidenceExpr ) ) )? (otherlv_8= 'timeout' otherlv_9= ':' ( (lv_timeout_10_0= ruleThenEvidenceExpr ) ) )? (otherlv_11= 'error' otherlv_12= ':' ( (lv_error_13_0= ruleThenEvidenceExpr ) ) )? otherlv_14= ']' ) ) )*
loop19:
do {
int alt19=2;
int LA19_0 = input.LA(1);
if ( (LA19_0==29) ) {
int LA19_2 = input.LA(2);
if ( (synpred2_InternalVerify()) ) {
alt19=1;
}
}
switch (alt19) {
case 1 :
// InternalVerify.g:804:4: ( ( ( () 'else' ) )=> ( () otherlv_2= 'else' ) ) ( ( (lv_error_3_0= ruleElseEvidenceExpr ) ) | (otherlv_4= '[' (otherlv_5= 'fail' otherlv_6= ':' ( (lv_fail_7_0= ruleThenEvidenceExpr ) ) )? (otherlv_8= 'timeout' otherlv_9= ':' ( (lv_timeout_10_0= ruleThenEvidenceExpr ) ) )? (otherlv_11= 'error' otherlv_12= ':' ( (lv_error_13_0= ruleThenEvidenceExpr ) ) )? otherlv_14= ']' ) )
{
// InternalVerify.g:804:4: ( ( ( () 'else' ) )=> ( () otherlv_2= 'else' ) )
// InternalVerify.g:805:5: ( ( () 'else' ) )=> ( () otherlv_2= 'else' )
{
// InternalVerify.g:811:5: ( () otherlv_2= 'else' )
// InternalVerify.g:812:6: () otherlv_2= 'else'
{
// InternalVerify.g:812:6: ()
// InternalVerify.g:813:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getSingleElseEvidenceExprAccess().getElseExprLeftAction_1_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,29,FOLLOW_21); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getSingleElseEvidenceExprAccess().getElseKeyword_1_0_0_1());
}
}
}
// InternalVerify.g:825:4: ( ( (lv_error_3_0= ruleElseEvidenceExpr ) ) | (otherlv_4= '[' (otherlv_5= 'fail' otherlv_6= ':' ( (lv_fail_7_0= ruleThenEvidenceExpr ) ) )? (otherlv_8= 'timeout' otherlv_9= ':' ( (lv_timeout_10_0= ruleThenEvidenceExpr ) ) )? (otherlv_11= 'error' otherlv_12= ':' ( (lv_error_13_0= ruleThenEvidenceExpr ) ) )? otherlv_14= ']' ) )
int alt18=2;
int LA18_0 = input.LA(1);
if ( (LA18_0==RULE_ID||LA18_0==33||LA18_0==35) ) {
alt18=1;
}
else if ( (LA18_0==21) ) {
alt18=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 18, 0, input);
throw nvae;
}
switch (alt18) {
case 1 :
// InternalVerify.g:826:5: ( (lv_error_3_0= ruleElseEvidenceExpr ) )
{
// InternalVerify.g:826:5: ( (lv_error_3_0= ruleElseEvidenceExpr ) )
// InternalVerify.g:827:6: (lv_error_3_0= ruleElseEvidenceExpr )
{
// InternalVerify.g:827:6: (lv_error_3_0= ruleElseEvidenceExpr )
// InternalVerify.g:828:7: lv_error_3_0= ruleElseEvidenceExpr
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSingleElseEvidenceExprAccess().getErrorElseEvidenceExprParserRuleCall_1_1_0_0());
}
pushFollow(FOLLOW_20);
lv_error_3_0=ruleElseEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getSingleElseEvidenceExprRule());
}
set(
current,
"error",
lv_error_3_0,
"org.osate.verify.Verify.ElseEvidenceExpr");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// InternalVerify.g:846:5: (otherlv_4= '[' (otherlv_5= 'fail' otherlv_6= ':' ( (lv_fail_7_0= ruleThenEvidenceExpr ) ) )? (otherlv_8= 'timeout' otherlv_9= ':' ( (lv_timeout_10_0= ruleThenEvidenceExpr ) ) )? (otherlv_11= 'error' otherlv_12= ':' ( (lv_error_13_0= ruleThenEvidenceExpr ) ) )? otherlv_14= ']' )
{
// InternalVerify.g:846:5: (otherlv_4= '[' (otherlv_5= 'fail' otherlv_6= ':' ( (lv_fail_7_0= ruleThenEvidenceExpr ) ) )? (otherlv_8= 'timeout' otherlv_9= ':' ( (lv_timeout_10_0= ruleThenEvidenceExpr ) ) )? (otherlv_11= 'error' otherlv_12= ':' ( (lv_error_13_0= ruleThenEvidenceExpr ) ) )? otherlv_14= ']' )
// InternalVerify.g:847:6: otherlv_4= '[' (otherlv_5= 'fail' otherlv_6= ':' ( (lv_fail_7_0= ruleThenEvidenceExpr ) ) )? (otherlv_8= 'timeout' otherlv_9= ':' ( (lv_timeout_10_0= ruleThenEvidenceExpr ) ) )? (otherlv_11= 'error' otherlv_12= ':' ( (lv_error_13_0= ruleThenEvidenceExpr ) ) )? otherlv_14= ']'
{
otherlv_4=(Token)match(input,21,FOLLOW_22); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getSingleElseEvidenceExprAccess().getLeftSquareBracketKeyword_1_1_1_0());
}
// InternalVerify.g:851:6: (otherlv_5= 'fail' otherlv_6= ':' ( (lv_fail_7_0= ruleThenEvidenceExpr ) ) )?
int alt15=2;
int LA15_0 = input.LA(1);
if ( (LA15_0==30) ) {
alt15=1;
}
switch (alt15) {
case 1 :
// InternalVerify.g:852:7: otherlv_5= 'fail' otherlv_6= ':' ( (lv_fail_7_0= ruleThenEvidenceExpr ) )
{
otherlv_5=(Token)match(input,30,FOLLOW_23); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getSingleElseEvidenceExprAccess().getFailKeyword_1_1_1_1_0());
}
otherlv_6=(Token)match(input,19,FOLLOW_16); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getSingleElseEvidenceExprAccess().getColonKeyword_1_1_1_1_1());
}
// InternalVerify.g:860:7: ( (lv_fail_7_0= ruleThenEvidenceExpr ) )
// InternalVerify.g:861:8: (lv_fail_7_0= ruleThenEvidenceExpr )
{
// InternalVerify.g:861:8: (lv_fail_7_0= ruleThenEvidenceExpr )
// InternalVerify.g:862:9: lv_fail_7_0= ruleThenEvidenceExpr
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSingleElseEvidenceExprAccess().getFailThenEvidenceExprParserRuleCall_1_1_1_1_2_0());
}
pushFollow(FOLLOW_24);
lv_fail_7_0=ruleThenEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getSingleElseEvidenceExprRule());
}
set(
current,
"fail",
lv_fail_7_0,
"org.osate.verify.Verify.ThenEvidenceExpr");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalVerify.g:880:6: (otherlv_8= 'timeout' otherlv_9= ':' ( (lv_timeout_10_0= ruleThenEvidenceExpr ) ) )?
int alt16=2;
int LA16_0 = input.LA(1);
if ( (LA16_0==31) ) {
alt16=1;
}
switch (alt16) {
case 1 :
// InternalVerify.g:881:7: otherlv_8= 'timeout' otherlv_9= ':' ( (lv_timeout_10_0= ruleThenEvidenceExpr ) )
{
otherlv_8=(Token)match(input,31,FOLLOW_23); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getSingleElseEvidenceExprAccess().getTimeoutKeyword_1_1_1_2_0());
}
otherlv_9=(Token)match(input,19,FOLLOW_16); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getSingleElseEvidenceExprAccess().getColonKeyword_1_1_1_2_1());
}
// InternalVerify.g:889:7: ( (lv_timeout_10_0= ruleThenEvidenceExpr ) )
// InternalVerify.g:890:8: (lv_timeout_10_0= ruleThenEvidenceExpr )
{
// InternalVerify.g:890:8: (lv_timeout_10_0= ruleThenEvidenceExpr )
// InternalVerify.g:891:9: lv_timeout_10_0= ruleThenEvidenceExpr
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSingleElseEvidenceExprAccess().getTimeoutThenEvidenceExprParserRuleCall_1_1_1_2_2_0());
}
pushFollow(FOLLOW_25);
lv_timeout_10_0=ruleThenEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getSingleElseEvidenceExprRule());
}
set(
current,
"timeout",
lv_timeout_10_0,
"org.osate.verify.Verify.ThenEvidenceExpr");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// InternalVerify.g:909:6: (otherlv_11= 'error' otherlv_12= ':' ( (lv_error_13_0= ruleThenEvidenceExpr ) ) )?
int alt17=2;
int LA17_0 = input.LA(1);
if ( (LA17_0==32) ) {
alt17=1;
}
switch (alt17) {
case 1 :
// InternalVerify.g:910:7: otherlv_11= 'error' otherlv_12= ':' ( (lv_error_13_0= ruleThenEvidenceExpr ) )
{
otherlv_11=(Token)match(input,32,FOLLOW_23); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getSingleElseEvidenceExprAccess().getErrorKeyword_1_1_1_3_0());
}
otherlv_12=(Token)match(input,19,FOLLOW_16); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getSingleElseEvidenceExprAccess().getColonKeyword_1_1_1_3_1());
}
// InternalVerify.g:918:7: ( (lv_error_13_0= ruleThenEvidenceExpr ) )
// InternalVerify.g:919:8: (lv_error_13_0= ruleThenEvidenceExpr )
{
// InternalVerify.g:919:8: (lv_error_13_0= ruleThenEvidenceExpr )
// InternalVerify.g:920:9: lv_error_13_0= ruleThenEvidenceExpr
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSingleElseEvidenceExprAccess().getErrorThenEvidenceExprParserRuleCall_1_1_1_3_2_0());
}
pushFollow(FOLLOW_26);
lv_error_13_0=ruleThenEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getSingleElseEvidenceExprRule());
}
set(
current,
"error",
lv_error_13_0,
"org.osate.verify.Verify.ThenEvidenceExpr");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_14=(Token)match(input,23,FOLLOW_20); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_14, grammarAccess.getSingleElseEvidenceExprAccess().getRightSquareBracketKeyword_1_1_1_4());
}
}
}
break;
}
}
break;
default :
break loop19;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleSingleElseEvidenceExpr"
// $ANTLR start "entryRuleCompositeElseEvidenceExpr"
// InternalVerify.g:949:1: entryRuleCompositeElseEvidenceExpr returns [EObject current=null] : iv_ruleCompositeElseEvidenceExpr= ruleCompositeElseEvidenceExpr EOF ;
public final EObject entryRuleCompositeElseEvidenceExpr() throws RecognitionException {
EObject current = null;
EObject iv_ruleCompositeElseEvidenceExpr = null;
try {
// InternalVerify.g:949:66: (iv_ruleCompositeElseEvidenceExpr= ruleCompositeElseEvidenceExpr EOF )
// InternalVerify.g:950:2: iv_ruleCompositeElseEvidenceExpr= ruleCompositeElseEvidenceExpr EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCompositeElseEvidenceExprRule());
}
pushFollow(FOLLOW_1);
iv_ruleCompositeElseEvidenceExpr=ruleCompositeElseEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCompositeElseEvidenceExpr;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCompositeElseEvidenceExpr"
// $ANTLR start "ruleCompositeElseEvidenceExpr"
// InternalVerify.g:956:1: ruleCompositeElseEvidenceExpr returns [EObject current=null] : (this_CompositeEvidenceExpr_0= ruleCompositeEvidenceExpr ( ( ( ( () 'else' ) )=> ( () otherlv_2= 'else' ) ) ( (lv_error_3_0= ruleElseEvidenceExpr ) ) )* ) ;
public final EObject ruleCompositeElseEvidenceExpr() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject this_CompositeEvidenceExpr_0 = null;
EObject lv_error_3_0 = null;
enterRule();
try {
// InternalVerify.g:962:2: ( (this_CompositeEvidenceExpr_0= ruleCompositeEvidenceExpr ( ( ( ( () 'else' ) )=> ( () otherlv_2= 'else' ) ) ( (lv_error_3_0= ruleElseEvidenceExpr ) ) )* ) )
// InternalVerify.g:963:2: (this_CompositeEvidenceExpr_0= ruleCompositeEvidenceExpr ( ( ( ( () 'else' ) )=> ( () otherlv_2= 'else' ) ) ( (lv_error_3_0= ruleElseEvidenceExpr ) ) )* )
{
// InternalVerify.g:963:2: (this_CompositeEvidenceExpr_0= ruleCompositeEvidenceExpr ( ( ( ( () 'else' ) )=> ( () otherlv_2= 'else' ) ) ( (lv_error_3_0= ruleElseEvidenceExpr ) ) )* )
// InternalVerify.g:964:3: this_CompositeEvidenceExpr_0= ruleCompositeEvidenceExpr ( ( ( ( () 'else' ) )=> ( () otherlv_2= 'else' ) ) ( (lv_error_3_0= ruleElseEvidenceExpr ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCompositeElseEvidenceExprAccess().getCompositeEvidenceExprParserRuleCall_0());
}
pushFollow(FOLLOW_20);
this_CompositeEvidenceExpr_0=ruleCompositeEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_CompositeEvidenceExpr_0;
afterParserOrEnumRuleCall();
}
// InternalVerify.g:972:3: ( ( ( ( () 'else' ) )=> ( () otherlv_2= 'else' ) ) ( (lv_error_3_0= ruleElseEvidenceExpr ) ) )*
loop20:
do {
int alt20=2;
int LA20_0 = input.LA(1);
if ( (LA20_0==29) ) {
int LA20_2 = input.LA(2);
if ( (synpred3_InternalVerify()) ) {
alt20=1;
}
}
switch (alt20) {
case 1 :
// InternalVerify.g:973:4: ( ( ( () 'else' ) )=> ( () otherlv_2= 'else' ) ) ( (lv_error_3_0= ruleElseEvidenceExpr ) )
{
// InternalVerify.g:973:4: ( ( ( () 'else' ) )=> ( () otherlv_2= 'else' ) )
// InternalVerify.g:974:5: ( ( () 'else' ) )=> ( () otherlv_2= 'else' )
{
// InternalVerify.g:980:5: ( () otherlv_2= 'else' )
// InternalVerify.g:981:6: () otherlv_2= 'else'
{
// InternalVerify.g:981:6: ()
// InternalVerify.g:982:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getCompositeElseEvidenceExprAccess().getElseExprLeftAction_1_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,29,FOLLOW_16); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getCompositeElseEvidenceExprAccess().getElseKeyword_1_0_0_1());
}
}
}
// InternalVerify.g:994:4: ( (lv_error_3_0= ruleElseEvidenceExpr ) )
// InternalVerify.g:995:5: (lv_error_3_0= ruleElseEvidenceExpr )
{
// InternalVerify.g:995:5: (lv_error_3_0= ruleElseEvidenceExpr )
// InternalVerify.g:996:6: lv_error_3_0= ruleElseEvidenceExpr
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCompositeElseEvidenceExprAccess().getErrorElseEvidenceExprParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_20);
lv_error_3_0=ruleElseEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getCompositeElseEvidenceExprRule());
}
set(
current,
"error",
lv_error_3_0,
"org.osate.verify.Verify.ElseEvidenceExpr");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop20;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCompositeElseEvidenceExpr"
// $ANTLR start "entryRuleQuantifiedEvidenceExpr"
// InternalVerify.g:1018:1: entryRuleQuantifiedEvidenceExpr returns [EObject current=null] : iv_ruleQuantifiedEvidenceExpr= ruleQuantifiedEvidenceExpr EOF ;
public final EObject entryRuleQuantifiedEvidenceExpr() throws RecognitionException {
EObject current = null;
EObject iv_ruleQuantifiedEvidenceExpr = null;
try {
// InternalVerify.g:1018:63: (iv_ruleQuantifiedEvidenceExpr= ruleQuantifiedEvidenceExpr EOF )
// InternalVerify.g:1019:2: iv_ruleQuantifiedEvidenceExpr= ruleQuantifiedEvidenceExpr EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQuantifiedEvidenceExprRule());
}
pushFollow(FOLLOW_1);
iv_ruleQuantifiedEvidenceExpr=ruleQuantifiedEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleQuantifiedEvidenceExpr;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleQuantifiedEvidenceExpr"
// $ANTLR start "ruleQuantifiedEvidenceExpr"
// InternalVerify.g:1025:1: ruleQuantifiedEvidenceExpr returns [EObject current=null] : (otherlv_0= 'all' () otherlv_2= '[' ( (lv_elements_3_0= ruleThenEvidenceExpr ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleThenEvidenceExpr ) ) )* otherlv_6= ']' ) ;
public final EObject ruleQuantifiedEvidenceExpr() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_elements_3_0 = null;
EObject lv_elements_5_0 = null;
enterRule();
try {
// InternalVerify.g:1031:2: ( (otherlv_0= 'all' () otherlv_2= '[' ( (lv_elements_3_0= ruleThenEvidenceExpr ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleThenEvidenceExpr ) ) )* otherlv_6= ']' ) )
// InternalVerify.g:1032:2: (otherlv_0= 'all' () otherlv_2= '[' ( (lv_elements_3_0= ruleThenEvidenceExpr ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleThenEvidenceExpr ) ) )* otherlv_6= ']' )
{
// InternalVerify.g:1032:2: (otherlv_0= 'all' () otherlv_2= '[' ( (lv_elements_3_0= ruleThenEvidenceExpr ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleThenEvidenceExpr ) ) )* otherlv_6= ']' )
// InternalVerify.g:1033:3: otherlv_0= 'all' () otherlv_2= '[' ( (lv_elements_3_0= ruleThenEvidenceExpr ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleThenEvidenceExpr ) ) )* otherlv_6= ']'
{
otherlv_0=(Token)match(input,33,FOLLOW_9); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getQuantifiedEvidenceExprAccess().getAllKeyword_0());
}
// InternalVerify.g:1037:3: ()
// InternalVerify.g:1038:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getQuantifiedEvidenceExprAccess().getAllExprAction_1(),
current);
}
}
otherlv_2=(Token)match(input,21,FOLLOW_16); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getQuantifiedEvidenceExprAccess().getLeftSquareBracketKeyword_2());
}
// InternalVerify.g:1048:3: ( (lv_elements_3_0= ruleThenEvidenceExpr ) )
// InternalVerify.g:1049:4: (lv_elements_3_0= ruleThenEvidenceExpr )
{
// InternalVerify.g:1049:4: (lv_elements_3_0= ruleThenEvidenceExpr )
// InternalVerify.g:1050:5: lv_elements_3_0= ruleThenEvidenceExpr
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQuantifiedEvidenceExprAccess().getElementsThenEvidenceExprParserRuleCall_3_0());
}
pushFollow(FOLLOW_27);
lv_elements_3_0=ruleThenEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getQuantifiedEvidenceExprRule());
}
add(
current,
"elements",
lv_elements_3_0,
"org.osate.verify.Verify.ThenEvidenceExpr");
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:1067:3: (otherlv_4= ',' ( (lv_elements_5_0= ruleThenEvidenceExpr ) ) )*
loop21:
do {
int alt21=2;
int LA21_0 = input.LA(1);
if ( (LA21_0==34) ) {
alt21=1;
}
switch (alt21) {
case 1 :
// InternalVerify.g:1068:4: otherlv_4= ',' ( (lv_elements_5_0= ruleThenEvidenceExpr ) )
{
otherlv_4=(Token)match(input,34,FOLLOW_16); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getQuantifiedEvidenceExprAccess().getCommaKeyword_4_0());
}
// InternalVerify.g:1072:4: ( (lv_elements_5_0= ruleThenEvidenceExpr ) )
// InternalVerify.g:1073:5: (lv_elements_5_0= ruleThenEvidenceExpr )
{
// InternalVerify.g:1073:5: (lv_elements_5_0= ruleThenEvidenceExpr )
// InternalVerify.g:1074:6: lv_elements_5_0= ruleThenEvidenceExpr
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQuantifiedEvidenceExprAccess().getElementsThenEvidenceExprParserRuleCall_4_1_0());
}
pushFollow(FOLLOW_27);
lv_elements_5_0=ruleThenEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getQuantifiedEvidenceExprRule());
}
add(
current,
"elements",
lv_elements_5_0,
"org.osate.verify.Verify.ThenEvidenceExpr");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop21;
}
} while (true);
otherlv_6=(Token)match(input,23,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getQuantifiedEvidenceExprAccess().getRightSquareBracketKeyword_5());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleQuantifiedEvidenceExpr"
// $ANTLR start "entryRuleCompositeEvidenceExpr"
// InternalVerify.g:1100:1: entryRuleCompositeEvidenceExpr returns [EObject current=null] : iv_ruleCompositeEvidenceExpr= ruleCompositeEvidenceExpr EOF ;
public final EObject entryRuleCompositeEvidenceExpr() throws RecognitionException {
EObject current = null;
EObject iv_ruleCompositeEvidenceExpr = null;
try {
// InternalVerify.g:1100:62: (iv_ruleCompositeEvidenceExpr= ruleCompositeEvidenceExpr EOF )
// InternalVerify.g:1101:2: iv_ruleCompositeEvidenceExpr= ruleCompositeEvidenceExpr EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCompositeEvidenceExprRule());
}
pushFollow(FOLLOW_1);
iv_ruleCompositeEvidenceExpr=ruleCompositeEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleCompositeEvidenceExpr;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleCompositeEvidenceExpr"
// $ANTLR start "ruleCompositeEvidenceExpr"
// InternalVerify.g:1107:1: ruleCompositeEvidenceExpr returns [EObject current=null] : ( (otherlv_0= '(' this_ThenEvidenceExpr_1= ruleThenEvidenceExpr otherlv_2= ')' ) | this_QuantifiedEvidenceExpr_3= ruleQuantifiedEvidenceExpr ) ;
public final EObject ruleCompositeEvidenceExpr() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
EObject this_ThenEvidenceExpr_1 = null;
EObject this_QuantifiedEvidenceExpr_3 = null;
enterRule();
try {
// InternalVerify.g:1113:2: ( ( (otherlv_0= '(' this_ThenEvidenceExpr_1= ruleThenEvidenceExpr otherlv_2= ')' ) | this_QuantifiedEvidenceExpr_3= ruleQuantifiedEvidenceExpr ) )
// InternalVerify.g:1114:2: ( (otherlv_0= '(' this_ThenEvidenceExpr_1= ruleThenEvidenceExpr otherlv_2= ')' ) | this_QuantifiedEvidenceExpr_3= ruleQuantifiedEvidenceExpr )
{
// InternalVerify.g:1114:2: ( (otherlv_0= '(' this_ThenEvidenceExpr_1= ruleThenEvidenceExpr otherlv_2= ')' ) | this_QuantifiedEvidenceExpr_3= ruleQuantifiedEvidenceExpr )
int alt22=2;
int LA22_0 = input.LA(1);
if ( (LA22_0==35) ) {
alt22=1;
}
else if ( (LA22_0==33) ) {
alt22=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 22, 0, input);
throw nvae;
}
switch (alt22) {
case 1 :
// InternalVerify.g:1115:3: (otherlv_0= '(' this_ThenEvidenceExpr_1= ruleThenEvidenceExpr otherlv_2= ')' )
{
// InternalVerify.g:1115:3: (otherlv_0= '(' this_ThenEvidenceExpr_1= ruleThenEvidenceExpr otherlv_2= ')' )
// InternalVerify.g:1116:4: otherlv_0= '(' this_ThenEvidenceExpr_1= ruleThenEvidenceExpr otherlv_2= ')'
{
otherlv_0=(Token)match(input,35,FOLLOW_16); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getCompositeEvidenceExprAccess().getLeftParenthesisKeyword_0_0());
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCompositeEvidenceExprAccess().getThenEvidenceExprParserRuleCall_0_1());
}
pushFollow(FOLLOW_28);
this_ThenEvidenceExpr_1=ruleThenEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ThenEvidenceExpr_1;
afterParserOrEnumRuleCall();
}
otherlv_2=(Token)match(input,36,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getCompositeEvidenceExprAccess().getRightParenthesisKeyword_0_2());
}
}
}
break;
case 2 :
// InternalVerify.g:1134:3: this_QuantifiedEvidenceExpr_3= ruleQuantifiedEvidenceExpr
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCompositeEvidenceExprAccess().getQuantifiedEvidenceExprParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_QuantifiedEvidenceExpr_3=ruleQuantifiedEvidenceExpr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_QuantifiedEvidenceExpr_3;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleCompositeEvidenceExpr"
// $ANTLR start "entryRuleVAReference"
// InternalVerify.g:1146:1: entryRuleVAReference returns [EObject current=null] : iv_ruleVAReference= ruleVAReference EOF ;
public final EObject entryRuleVAReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleVAReference = null;
try {
// InternalVerify.g:1146:52: (iv_ruleVAReference= ruleVAReference EOF )
// InternalVerify.g:1147:2: iv_ruleVAReference= ruleVAReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVAReferenceRule());
}
pushFollow(FOLLOW_1);
iv_ruleVAReference=ruleVAReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleVAReference;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleVAReference"
// $ANTLR start "ruleVAReference"
// InternalVerify.g:1153:1: ruleVAReference returns [EObject current=null] : ( () ( (otherlv_1= RULE_ID ) ) ) ;
public final EObject ruleVAReference() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
enterRule();
try {
// InternalVerify.g:1159:2: ( ( () ( (otherlv_1= RULE_ID ) ) ) )
// InternalVerify.g:1160:2: ( () ( (otherlv_1= RULE_ID ) ) )
{
// InternalVerify.g:1160:2: ( () ( (otherlv_1= RULE_ID ) ) )
// InternalVerify.g:1161:3: () ( (otherlv_1= RULE_ID ) )
{
// InternalVerify.g:1161:3: ()
// InternalVerify.g:1162:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getVAReferenceAccess().getRefExprAction_0(),
current);
}
}
// InternalVerify.g:1168:3: ( (otherlv_1= RULE_ID ) )
// InternalVerify.g:1169:4: (otherlv_1= RULE_ID )
{
// InternalVerify.g:1169:4: (otherlv_1= RULE_ID )
// InternalVerify.g:1170:5: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVAReferenceRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getVAReferenceAccess().getVerificationVerificationActivityCrossReference_1_0());
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleVAReference"
// $ANTLR start "entryRuleComputeRef"
// InternalVerify.g:1185:1: entryRuleComputeRef returns [EObject current=null] : iv_ruleComputeRef= ruleComputeRef EOF ;
public final EObject entryRuleComputeRef() throws RecognitionException {
EObject current = null;
EObject iv_ruleComputeRef = null;
try {
// InternalVerify.g:1185:51: (iv_ruleComputeRef= ruleComputeRef EOF )
// InternalVerify.g:1186:2: iv_ruleComputeRef= ruleComputeRef EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getComputeRefRule());
}
pushFollow(FOLLOW_1);
iv_ruleComputeRef=ruleComputeRef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleComputeRef;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleComputeRef"
// $ANTLR start "ruleComputeRef"
// InternalVerify.g:1192:1: ruleComputeRef returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
public final EObject ruleComputeRef() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
enterRule();
try {
// InternalVerify.g:1198:2: ( ( (otherlv_0= RULE_ID ) ) )
// InternalVerify.g:1199:2: ( (otherlv_0= RULE_ID ) )
{
// InternalVerify.g:1199:2: ( (otherlv_0= RULE_ID ) )
// InternalVerify.g:1200:3: (otherlv_0= RULE_ID )
{
// InternalVerify.g:1200:3: (otherlv_0= RULE_ID )
// InternalVerify.g:1201:4: otherlv_0= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getComputeRefRule());
}
}
otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getComputeRefAccess().getComputeComputeDeclarationCrossReference_0());
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleComputeRef"
// $ANTLR start "entryRuleVerificationActivity"
// InternalVerify.g:1215:1: entryRuleVerificationActivity returns [EObject current=null] : iv_ruleVerificationActivity= ruleVerificationActivity EOF ;
public final EObject entryRuleVerificationActivity() throws RecognitionException {
EObject current = null;
EObject iv_ruleVerificationActivity = null;
try {
// InternalVerify.g:1215:61: (iv_ruleVerificationActivity= ruleVerificationActivity EOF )
// InternalVerify.g:1216:2: iv_ruleVerificationActivity= ruleVerificationActivity EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationActivityRule());
}
pushFollow(FOLLOW_1);
iv_ruleVerificationActivity=ruleVerificationActivity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleVerificationActivity;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleVerificationActivity"
// $ANTLR start "ruleVerificationActivity"
// InternalVerify.g:1222:1: ruleVerificationActivity returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) (otherlv_1= ':' ( (lv_title_2_0= RULE_STRING ) ) )? otherlv_3= ':' ( ( (lv_computes_4_0= ruleComputeRef ) ) (otherlv_5= ',' ( (lv_computes_6_0= ruleComputeRef ) ) )* otherlv_7= '=' )? ( ( ruleQualifiedName ) ) otherlv_9= '(' ( ( (lv_actuals_10_0= ruleAExpression ) ) (otherlv_11= ',' ( (lv_actuals_12_0= ruleAExpression ) ) )* )? otherlv_13= ')' (otherlv_14= 'property' otherlv_15= 'values' otherlv_16= '(' ( ( (lv_propertyValues_17_0= ruleAExpression ) ) (otherlv_18= ',' ( (lv_propertyValues_19_0= ruleAExpression ) ) )* )? otherlv_20= ')' )? (otherlv_21= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) ) ) )* ) ) ) otherlv_29= ']' )? ) ;
public final EObject ruleVerificationActivity() throws RecognitionException {
EObject current = null;
Token lv_name_0_0=null;
Token otherlv_1=null;
Token lv_title_2_0=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token otherlv_9=null;
Token otherlv_11=null;
Token otherlv_13=null;
Token otherlv_14=null;
Token otherlv_15=null;
Token otherlv_16=null;
Token otherlv_18=null;
Token otherlv_20=null;
Token otherlv_21=null;
Token otherlv_23=null;
Token otherlv_25=null;
Token otherlv_27=null;
Token lv_weight_28_0=null;
Token otherlv_29=null;
EObject lv_computes_4_0 = null;
EObject lv_computes_6_0 = null;
EObject lv_actuals_10_0 = null;
EObject lv_actuals_12_0 = null;
EObject lv_propertyValues_17_0 = null;
EObject lv_propertyValues_19_0 = null;
EObject lv_timeout_26_0 = null;
enterRule();
try {
// InternalVerify.g:1228:2: ( ( ( (lv_name_0_0= RULE_ID ) ) (otherlv_1= ':' ( (lv_title_2_0= RULE_STRING ) ) )? otherlv_3= ':' ( ( (lv_computes_4_0= ruleComputeRef ) ) (otherlv_5= ',' ( (lv_computes_6_0= ruleComputeRef ) ) )* otherlv_7= '=' )? ( ( ruleQualifiedName ) ) otherlv_9= '(' ( ( (lv_actuals_10_0= ruleAExpression ) ) (otherlv_11= ',' ( (lv_actuals_12_0= ruleAExpression ) ) )* )? otherlv_13= ')' (otherlv_14= 'property' otherlv_15= 'values' otherlv_16= '(' ( ( (lv_propertyValues_17_0= ruleAExpression ) ) (otherlv_18= ',' ( (lv_propertyValues_19_0= ruleAExpression ) ) )* )? otherlv_20= ')' )? (otherlv_21= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) ) ) )* ) ) ) otherlv_29= ']' )? ) )
// InternalVerify.g:1229:2: ( ( (lv_name_0_0= RULE_ID ) ) (otherlv_1= ':' ( (lv_title_2_0= RULE_STRING ) ) )? otherlv_3= ':' ( ( (lv_computes_4_0= ruleComputeRef ) ) (otherlv_5= ',' ( (lv_computes_6_0= ruleComputeRef ) ) )* otherlv_7= '=' )? ( ( ruleQualifiedName ) ) otherlv_9= '(' ( ( (lv_actuals_10_0= ruleAExpression ) ) (otherlv_11= ',' ( (lv_actuals_12_0= ruleAExpression ) ) )* )? otherlv_13= ')' (otherlv_14= 'property' otherlv_15= 'values' otherlv_16= '(' ( ( (lv_propertyValues_17_0= ruleAExpression ) ) (otherlv_18= ',' ( (lv_propertyValues_19_0= ruleAExpression ) ) )* )? otherlv_20= ')' )? (otherlv_21= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) ) ) )* ) ) ) otherlv_29= ']' )? )
{
// InternalVerify.g:1229:2: ( ( (lv_name_0_0= RULE_ID ) ) (otherlv_1= ':' ( (lv_title_2_0= RULE_STRING ) ) )? otherlv_3= ':' ( ( (lv_computes_4_0= ruleComputeRef ) ) (otherlv_5= ',' ( (lv_computes_6_0= ruleComputeRef ) ) )* otherlv_7= '=' )? ( ( ruleQualifiedName ) ) otherlv_9= '(' ( ( (lv_actuals_10_0= ruleAExpression ) ) (otherlv_11= ',' ( (lv_actuals_12_0= ruleAExpression ) ) )* )? otherlv_13= ')' (otherlv_14= 'property' otherlv_15= 'values' otherlv_16= '(' ( ( (lv_propertyValues_17_0= ruleAExpression ) ) (otherlv_18= ',' ( (lv_propertyValues_19_0= ruleAExpression ) ) )* )? otherlv_20= ')' )? (otherlv_21= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) ) ) )* ) ) ) otherlv_29= ']' )? )
// InternalVerify.g:1230:3: ( (lv_name_0_0= RULE_ID ) ) (otherlv_1= ':' ( (lv_title_2_0= RULE_STRING ) ) )? otherlv_3= ':' ( ( (lv_computes_4_0= ruleComputeRef ) ) (otherlv_5= ',' ( (lv_computes_6_0= ruleComputeRef ) ) )* otherlv_7= '=' )? ( ( ruleQualifiedName ) ) otherlv_9= '(' ( ( (lv_actuals_10_0= ruleAExpression ) ) (otherlv_11= ',' ( (lv_actuals_12_0= ruleAExpression ) ) )* )? otherlv_13= ')' (otherlv_14= 'property' otherlv_15= 'values' otherlv_16= '(' ( ( (lv_propertyValues_17_0= ruleAExpression ) ) (otherlv_18= ',' ( (lv_propertyValues_19_0= ruleAExpression ) ) )* )? otherlv_20= ')' )? (otherlv_21= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) ) ) )* ) ) ) otherlv_29= ']' )?
{
// InternalVerify.g:1230:3: ( (lv_name_0_0= RULE_ID ) )
// InternalVerify.g:1231:4: (lv_name_0_0= RULE_ID )
{
// InternalVerify.g:1231:4: (lv_name_0_0= RULE_ID )
// InternalVerify.g:1232:5: lv_name_0_0= RULE_ID
{
lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_23); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_0_0, grammarAccess.getVerificationActivityAccess().getNameIDTerminalRuleCall_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationActivityRule());
}
setWithLastConsumed(
current,
"name",
lv_name_0_0,
"org.eclipse.xtext.common.Terminals.ID");
}
}
}
// InternalVerify.g:1248:3: (otherlv_1= ':' ( (lv_title_2_0= RULE_STRING ) ) )?
int alt23=2;
int LA23_0 = input.LA(1);
if ( (LA23_0==19) ) {
int LA23_1 = input.LA(2);
if ( (LA23_1==RULE_STRING) ) {
alt23=1;
}
}
switch (alt23) {
case 1 :
// InternalVerify.g:1249:4: otherlv_1= ':' ( (lv_title_2_0= RULE_STRING ) )
{
otherlv_1=(Token)match(input,19,FOLLOW_7); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getVerificationActivityAccess().getColonKeyword_1_0());
}
// InternalVerify.g:1253:4: ( (lv_title_2_0= RULE_STRING ) )
// InternalVerify.g:1254:5: (lv_title_2_0= RULE_STRING )
{
// InternalVerify.g:1254:5: (lv_title_2_0= RULE_STRING )
// InternalVerify.g:1255:6: lv_title_2_0= RULE_STRING
{
lv_title_2_0=(Token)match(input,RULE_STRING,FOLLOW_23); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_title_2_0, grammarAccess.getVerificationActivityAccess().getTitleSTRINGTerminalRuleCall_1_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationActivityRule());
}
setWithLastConsumed(
current,
"title",
lv_title_2_0,
"org.eclipse.xtext.common.Terminals.STRING");
}
}
}
}
break;
}
otherlv_3=(Token)match(input,19,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getVerificationActivityAccess().getColonKeyword_2());
}
// InternalVerify.g:1276:3: ( ( (lv_computes_4_0= ruleComputeRef ) ) (otherlv_5= ',' ( (lv_computes_6_0= ruleComputeRef ) ) )* otherlv_7= '=' )?
int alt25=2;
int LA25_0 = input.LA(1);
if ( (LA25_0==RULE_ID) ) {
int LA25_1 = input.LA(2);
if ( (LA25_1==34||LA25_1==37) ) {
alt25=1;
}
}
switch (alt25) {
case 1 :
// InternalVerify.g:1277:4: ( (lv_computes_4_0= ruleComputeRef ) ) (otherlv_5= ',' ( (lv_computes_6_0= ruleComputeRef ) ) )* otherlv_7= '='
{
// InternalVerify.g:1277:4: ( (lv_computes_4_0= ruleComputeRef ) )
// InternalVerify.g:1278:5: (lv_computes_4_0= ruleComputeRef )
{
// InternalVerify.g:1278:5: (lv_computes_4_0= ruleComputeRef )
// InternalVerify.g:1279:6: lv_computes_4_0= ruleComputeRef
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationActivityAccess().getComputesComputeRefParserRuleCall_3_0_0());
}
pushFollow(FOLLOW_29);
lv_computes_4_0=ruleComputeRef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationActivityRule());
}
add(
current,
"computes",
lv_computes_4_0,
"org.osate.verify.Verify.ComputeRef");
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:1296:4: (otherlv_5= ',' ( (lv_computes_6_0= ruleComputeRef ) ) )*
loop24:
do {
int alt24=2;
int LA24_0 = input.LA(1);
if ( (LA24_0==34) ) {
alt24=1;
}
switch (alt24) {
case 1 :
// InternalVerify.g:1297:5: otherlv_5= ',' ( (lv_computes_6_0= ruleComputeRef ) )
{
otherlv_5=(Token)match(input,34,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getVerificationActivityAccess().getCommaKeyword_3_1_0());
}
// InternalVerify.g:1301:5: ( (lv_computes_6_0= ruleComputeRef ) )
// InternalVerify.g:1302:6: (lv_computes_6_0= ruleComputeRef )
{
// InternalVerify.g:1302:6: (lv_computes_6_0= ruleComputeRef )
// InternalVerify.g:1303:7: lv_computes_6_0= ruleComputeRef
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationActivityAccess().getComputesComputeRefParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_29);
lv_computes_6_0=ruleComputeRef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationActivityRule());
}
add(
current,
"computes",
lv_computes_6_0,
"org.osate.verify.Verify.ComputeRef");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop24;
}
} while (true);
otherlv_7=(Token)match(input,37,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getVerificationActivityAccess().getEqualsSignKeyword_3_2());
}
}
break;
}
// InternalVerify.g:1326:3: ( ( ruleQualifiedName ) )
// InternalVerify.g:1327:4: ( ruleQualifiedName )
{
// InternalVerify.g:1327:4: ( ruleQualifiedName )
// InternalVerify.g:1328:5: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationActivityRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationActivityAccess().getMethodVerificationMethodCrossReference_4_0());
}
pushFollow(FOLLOW_30);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
otherlv_9=(Token)match(input,35,FOLLOW_31); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getVerificationActivityAccess().getLeftParenthesisKeyword_5());
}
// InternalVerify.g:1346:3: ( ( (lv_actuals_10_0= ruleAExpression ) ) (otherlv_11= ',' ( (lv_actuals_12_0= ruleAExpression ) ) )* )?
int alt27=2;
int LA27_0 = input.LA(1);
if ( ((LA27_0>=RULE_STRING && LA27_0<=RULE_REAL_LIT)||LA27_0==21||LA27_0==35||LA27_0==60||LA27_0==68||(LA27_0>=84 && LA27_0<=85)||LA27_0==89||LA27_0==92||(LA27_0>=94 && LA27_0<=95)) ) {
alt27=1;
}
switch (alt27) {
case 1 :
// InternalVerify.g:1347:4: ( (lv_actuals_10_0= ruleAExpression ) ) (otherlv_11= ',' ( (lv_actuals_12_0= ruleAExpression ) ) )*
{
// InternalVerify.g:1347:4: ( (lv_actuals_10_0= ruleAExpression ) )
// InternalVerify.g:1348:5: (lv_actuals_10_0= ruleAExpression )
{
// InternalVerify.g:1348:5: (lv_actuals_10_0= ruleAExpression )
// InternalVerify.g:1349:6: lv_actuals_10_0= ruleAExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationActivityAccess().getActualsAExpressionParserRuleCall_6_0_0());
}
pushFollow(FOLLOW_32);
lv_actuals_10_0=ruleAExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationActivityRule());
}
add(
current,
"actuals",
lv_actuals_10_0,
"org.osate.alisa.common.Common.AExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:1366:4: (otherlv_11= ',' ( (lv_actuals_12_0= ruleAExpression ) ) )*
loop26:
do {
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0==34) ) {
alt26=1;
}
switch (alt26) {
case 1 :
// InternalVerify.g:1367:5: otherlv_11= ',' ( (lv_actuals_12_0= ruleAExpression ) )
{
otherlv_11=(Token)match(input,34,FOLLOW_33); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getVerificationActivityAccess().getCommaKeyword_6_1_0());
}
// InternalVerify.g:1371:5: ( (lv_actuals_12_0= ruleAExpression ) )
// InternalVerify.g:1372:6: (lv_actuals_12_0= ruleAExpression )
{
// InternalVerify.g:1372:6: (lv_actuals_12_0= ruleAExpression )
// InternalVerify.g:1373:7: lv_actuals_12_0= ruleAExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationActivityAccess().getActualsAExpressionParserRuleCall_6_1_1_0());
}
pushFollow(FOLLOW_32);
lv_actuals_12_0=ruleAExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationActivityRule());
}
add(
current,
"actuals",
lv_actuals_12_0,
"org.osate.alisa.common.Common.AExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop26;
}
} while (true);
}
break;
}
otherlv_13=(Token)match(input,36,FOLLOW_34); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getVerificationActivityAccess().getRightParenthesisKeyword_7());
}
// InternalVerify.g:1396:3: (otherlv_14= 'property' otherlv_15= 'values' otherlv_16= '(' ( ( (lv_propertyValues_17_0= ruleAExpression ) ) (otherlv_18= ',' ( (lv_propertyValues_19_0= ruleAExpression ) ) )* )? otherlv_20= ')' )?
int alt30=2;
int LA30_0 = input.LA(1);
if ( (LA30_0==38) ) {
alt30=1;
}
switch (alt30) {
case 1 :
// InternalVerify.g:1397:4: otherlv_14= 'property' otherlv_15= 'values' otherlv_16= '(' ( ( (lv_propertyValues_17_0= ruleAExpression ) ) (otherlv_18= ',' ( (lv_propertyValues_19_0= ruleAExpression ) ) )* )? otherlv_20= ')'
{
otherlv_14=(Token)match(input,38,FOLLOW_35); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_14, grammarAccess.getVerificationActivityAccess().getPropertyKeyword_8_0());
}
otherlv_15=(Token)match(input,39,FOLLOW_30); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getVerificationActivityAccess().getValuesKeyword_8_1());
}
otherlv_16=(Token)match(input,35,FOLLOW_31); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_16, grammarAccess.getVerificationActivityAccess().getLeftParenthesisKeyword_8_2());
}
// InternalVerify.g:1409:4: ( ( (lv_propertyValues_17_0= ruleAExpression ) ) (otherlv_18= ',' ( (lv_propertyValues_19_0= ruleAExpression ) ) )* )?
int alt29=2;
int LA29_0 = input.LA(1);
if ( ((LA29_0>=RULE_STRING && LA29_0<=RULE_REAL_LIT)||LA29_0==21||LA29_0==35||LA29_0==60||LA29_0==68||(LA29_0>=84 && LA29_0<=85)||LA29_0==89||LA29_0==92||(LA29_0>=94 && LA29_0<=95)) ) {
alt29=1;
}
switch (alt29) {
case 1 :
// InternalVerify.g:1410:5: ( (lv_propertyValues_17_0= ruleAExpression ) ) (otherlv_18= ',' ( (lv_propertyValues_19_0= ruleAExpression ) ) )*
{
// InternalVerify.g:1410:5: ( (lv_propertyValues_17_0= ruleAExpression ) )
// InternalVerify.g:1411:6: (lv_propertyValues_17_0= ruleAExpression )
{
// InternalVerify.g:1411:6: (lv_propertyValues_17_0= ruleAExpression )
// InternalVerify.g:1412:7: lv_propertyValues_17_0= ruleAExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationActivityAccess().getPropertyValuesAExpressionParserRuleCall_8_3_0_0());
}
pushFollow(FOLLOW_32);
lv_propertyValues_17_0=ruleAExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationActivityRule());
}
add(
current,
"propertyValues",
lv_propertyValues_17_0,
"org.osate.alisa.common.Common.AExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:1429:5: (otherlv_18= ',' ( (lv_propertyValues_19_0= ruleAExpression ) ) )*
loop28:
do {
int alt28=2;
int LA28_0 = input.LA(1);
if ( (LA28_0==34) ) {
alt28=1;
}
switch (alt28) {
case 1 :
// InternalVerify.g:1430:6: otherlv_18= ',' ( (lv_propertyValues_19_0= ruleAExpression ) )
{
otherlv_18=(Token)match(input,34,FOLLOW_33); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_18, grammarAccess.getVerificationActivityAccess().getCommaKeyword_8_3_1_0());
}
// InternalVerify.g:1434:6: ( (lv_propertyValues_19_0= ruleAExpression ) )
// InternalVerify.g:1435:7: (lv_propertyValues_19_0= ruleAExpression )
{
// InternalVerify.g:1435:7: (lv_propertyValues_19_0= ruleAExpression )
// InternalVerify.g:1436:8: lv_propertyValues_19_0= ruleAExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationActivityAccess().getPropertyValuesAExpressionParserRuleCall_8_3_1_1_0());
}
pushFollow(FOLLOW_32);
lv_propertyValues_19_0=ruleAExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationActivityRule());
}
add(
current,
"propertyValues",
lv_propertyValues_19_0,
"org.osate.alisa.common.Common.AExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop28;
}
} while (true);
}
break;
}
otherlv_20=(Token)match(input,36,FOLLOW_36); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_20, grammarAccess.getVerificationActivityAccess().getRightParenthesisKeyword_8_4());
}
}
break;
}
// InternalVerify.g:1460:3: (otherlv_21= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) ) ) )* ) ) ) otherlv_29= ']' )?
int alt33=2;
int LA33_0 = input.LA(1);
if ( (LA33_0==21) ) {
alt33=1;
}
switch (alt33) {
case 1 :
// InternalVerify.g:1461:4: otherlv_21= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) ) ) )* ) ) ) otherlv_29= ']'
{
otherlv_21=(Token)match(input,21,FOLLOW_37); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_21, grammarAccess.getVerificationActivityAccess().getLeftSquareBracketKeyword_9_0());
}
// InternalVerify.g:1465:4: ( ( ( ( ({...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) ) ) )* ) ) )
// InternalVerify.g:1466:5: ( ( ( ({...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) ) ) )* ) )
{
// InternalVerify.g:1466:5: ( ( ( ({...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) ) ) )* ) )
// InternalVerify.g:1467:6: ( ( ({...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) ) ) )* )
{
getUnorderedGroupHelper().enter(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1());
// InternalVerify.g:1470:6: ( ( ({...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) ) ) )* )
// InternalVerify.g:1471:7: ( ({...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) ) ) )*
{
// InternalVerify.g:1471:7: ( ({...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) ) ) )*
loop32:
do {
int alt32=4;
int LA32_0 = input.LA(1);
if ( LA32_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1(), 0) ) {
alt32=1;
}
else if ( LA32_0 == 31 && getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1(), 1) ) {
alt32=2;
}
else if ( LA32_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1(), 2) ) {
alt32=3;
}
switch (alt32) {
case 1 :
// InternalVerify.g:1472:5: ({...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) ) )
{
// InternalVerify.g:1472:5: ({...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) ) )
// InternalVerify.g:1473:6: {...}? => ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationActivity", "getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1(), 0)");
}
// InternalVerify.g:1473:120: ( ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) ) )
// InternalVerify.g:1474:7: ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) )
{
getUnorderedGroupHelper().select(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1(), 0);
// InternalVerify.g:1477:10: ({...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ ) )
// InternalVerify.g:1477:11: {...}? => (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationActivity", "true");
}
// InternalVerify.g:1477:20: (otherlv_23= 'category' ( ( ruleQualifiedName ) )+ )
// InternalVerify.g:1477:21: otherlv_23= 'category' ( ( ruleQualifiedName ) )+
{
otherlv_23=(Token)match(input,40,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_23, grammarAccess.getVerificationActivityAccess().getCategoryKeyword_9_1_0_0());
}
// InternalVerify.g:1481:10: ( ( ruleQualifiedName ) )+
int cnt31=0;
loop31:
do {
int alt31=2;
int LA31_0 = input.LA(1);
if ( (LA31_0==RULE_ID) ) {
alt31=1;
}
switch (alt31) {
case 1 :
// InternalVerify.g:1482:11: ( ruleQualifiedName )
{
// InternalVerify.g:1482:11: ( ruleQualifiedName )
// InternalVerify.g:1483:12: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationActivityRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationActivityAccess().getCategoryCategoryCrossReference_9_1_0_1_0());
}
pushFollow(FOLLOW_38);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
break;
default :
if ( cnt31 >= 1 ) break loop31;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(31, input);
throw eee;
}
cnt31++;
} while (true);
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1());
}
}
}
break;
case 2 :
// InternalVerify.g:1503:5: ({...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) ) )
{
// InternalVerify.g:1503:5: ({...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) ) )
// InternalVerify.g:1504:6: {...}? => ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationActivity", "getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1(), 1)");
}
// InternalVerify.g:1504:120: ( ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) ) )
// InternalVerify.g:1505:7: ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1(), 1);
// InternalVerify.g:1508:10: ({...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) ) )
// InternalVerify.g:1508:11: {...}? => (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationActivity", "true");
}
// InternalVerify.g:1508:20: (otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) ) )
// InternalVerify.g:1508:21: otherlv_25= 'timeout' ( (lv_timeout_26_0= ruleAIntegerTerm ) )
{
otherlv_25=(Token)match(input,31,FOLLOW_17); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_25, grammarAccess.getVerificationActivityAccess().getTimeoutKeyword_9_1_1_0());
}
// InternalVerify.g:1512:10: ( (lv_timeout_26_0= ruleAIntegerTerm ) )
// InternalVerify.g:1513:11: (lv_timeout_26_0= ruleAIntegerTerm )
{
// InternalVerify.g:1513:11: (lv_timeout_26_0= ruleAIntegerTerm )
// InternalVerify.g:1514:12: lv_timeout_26_0= ruleAIntegerTerm
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationActivityAccess().getTimeoutAIntegerTermParserRuleCall_9_1_1_1_0());
}
pushFollow(FOLLOW_37);
lv_timeout_26_0=ruleAIntegerTerm();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationActivityRule());
}
set(
current,
"timeout",
lv_timeout_26_0,
"org.osate.alisa.common.Common.AIntegerTerm");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1());
}
}
}
break;
case 3 :
// InternalVerify.g:1537:5: ({...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) ) )
{
// InternalVerify.g:1537:5: ({...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) ) )
// InternalVerify.g:1538:6: {...}? => ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationActivity", "getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1(), 2)");
}
// InternalVerify.g:1538:120: ( ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) ) )
// InternalVerify.g:1539:7: ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1(), 2);
// InternalVerify.g:1542:10: ({...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) ) )
// InternalVerify.g:1542:11: {...}? => (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationActivity", "true");
}
// InternalVerify.g:1542:20: (otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) ) )
// InternalVerify.g:1542:21: otherlv_27= 'weight' ( (lv_weight_28_0= RULE_INT ) )
{
otherlv_27=(Token)match(input,27,FOLLOW_17); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_27, grammarAccess.getVerificationActivityAccess().getWeightKeyword_9_1_2_0());
}
// InternalVerify.g:1546:10: ( (lv_weight_28_0= RULE_INT ) )
// InternalVerify.g:1547:11: (lv_weight_28_0= RULE_INT )
{
// InternalVerify.g:1547:11: (lv_weight_28_0= RULE_INT )
// InternalVerify.g:1548:12: lv_weight_28_0= RULE_INT
{
lv_weight_28_0=(Token)match(input,RULE_INT,FOLLOW_37); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_weight_28_0, grammarAccess.getVerificationActivityAccess().getWeightINTTerminalRuleCall_9_1_2_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationActivityRule());
}
setWithLastConsumed(
current,
"weight",
lv_weight_28_0,
"org.eclipse.xtext.common.Terminals.INT");
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1());
}
}
}
break;
default :
break loop32;
}
} while (true);
}
}
getUnorderedGroupHelper().leave(grammarAccess.getVerificationActivityAccess().getUnorderedGroup_9_1());
}
otherlv_29=(Token)match(input,23,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_29, grammarAccess.getVerificationActivityAccess().getRightSquareBracketKeyword_9_2());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleVerificationActivity"
// $ANTLR start "entryRuleVerificationValidation"
// InternalVerify.g:1586:1: entryRuleVerificationValidation returns [EObject current=null] : iv_ruleVerificationValidation= ruleVerificationValidation EOF ;
public final EObject entryRuleVerificationValidation() throws RecognitionException {
EObject current = null;
EObject iv_ruleVerificationValidation = null;
try {
// InternalVerify.g:1586:63: (iv_ruleVerificationValidation= ruleVerificationValidation EOF )
// InternalVerify.g:1587:2: iv_ruleVerificationValidation= ruleVerificationValidation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationValidationRule());
}
pushFollow(FOLLOW_1);
iv_ruleVerificationValidation=ruleVerificationValidation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleVerificationValidation;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleVerificationValidation"
// $ANTLR start "ruleVerificationValidation"
// InternalVerify.g:1593:1: ruleVerificationValidation returns [EObject current=null] : (otherlv_0= 'validation' () ( ( ruleQualifiedName ) ) otherlv_3= '(' ( ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* )? otherlv_7= ')' ) ;
public final EObject ruleVerificationValidation() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_5=null;
Token otherlv_6=null;
Token otherlv_7=null;
enterRule();
try {
// InternalVerify.g:1599:2: ( (otherlv_0= 'validation' () ( ( ruleQualifiedName ) ) otherlv_3= '(' ( ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* )? otherlv_7= ')' ) )
// InternalVerify.g:1600:2: (otherlv_0= 'validation' () ( ( ruleQualifiedName ) ) otherlv_3= '(' ( ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* )? otherlv_7= ')' )
{
// InternalVerify.g:1600:2: (otherlv_0= 'validation' () ( ( ruleQualifiedName ) ) otherlv_3= '(' ( ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* )? otherlv_7= ')' )
// InternalVerify.g:1601:3: otherlv_0= 'validation' () ( ( ruleQualifiedName ) ) otherlv_3= '(' ( ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* )? otherlv_7= ')'
{
otherlv_0=(Token)match(input,41,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getVerificationValidationAccess().getValidationKeyword_0());
}
// InternalVerify.g:1605:3: ()
// InternalVerify.g:1606:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getVerificationValidationAccess().getVerificationValidationAction_1(),
current);
}
}
// InternalVerify.g:1612:3: ( ( ruleQualifiedName ) )
// InternalVerify.g:1613:4: ( ruleQualifiedName )
{
// InternalVerify.g:1613:4: ( ruleQualifiedName )
// InternalVerify.g:1614:5: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationValidationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationValidationAccess().getMethodVerificationMethodCrossReference_2_0());
}
pushFollow(FOLLOW_30);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,35,FOLLOW_39); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getVerificationValidationAccess().getLeftParenthesisKeyword_3());
}
// InternalVerify.g:1632:3: ( ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* )?
int alt35=2;
int LA35_0 = input.LA(1);
if ( (LA35_0==RULE_ID) ) {
alt35=1;
}
switch (alt35) {
case 1 :
// InternalVerify.g:1633:4: ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )*
{
// InternalVerify.g:1633:4: ( (otherlv_4= RULE_ID ) )
// InternalVerify.g:1634:5: (otherlv_4= RULE_ID )
{
// InternalVerify.g:1634:5: (otherlv_4= RULE_ID )
// InternalVerify.g:1635:6: otherlv_4= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationValidationRule());
}
}
otherlv_4=(Token)match(input,RULE_ID,FOLLOW_32); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getVerificationValidationAccess().getParametersFormalParameterCrossReference_4_0_0());
}
}
}
// InternalVerify.g:1646:4: (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )*
loop34:
do {
int alt34=2;
int LA34_0 = input.LA(1);
if ( (LA34_0==34) ) {
alt34=1;
}
switch (alt34) {
case 1 :
// InternalVerify.g:1647:5: otherlv_5= ',' ( (otherlv_6= RULE_ID ) )
{
otherlv_5=(Token)match(input,34,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getVerificationValidationAccess().getCommaKeyword_4_1_0());
}
// InternalVerify.g:1651:5: ( (otherlv_6= RULE_ID ) )
// InternalVerify.g:1652:6: (otherlv_6= RULE_ID )
{
// InternalVerify.g:1652:6: (otherlv_6= RULE_ID )
// InternalVerify.g:1653:7: otherlv_6= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationValidationRule());
}
}
otherlv_6=(Token)match(input,RULE_ID,FOLLOW_32); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getVerificationValidationAccess().getParametersFormalParameterCrossReference_4_1_1_0());
}
}
}
}
break;
default :
break loop34;
}
} while (true);
}
break;
}
otherlv_7=(Token)match(input,36,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getVerificationValidationAccess().getRightParenthesisKeyword_5());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleVerificationValidation"
// $ANTLR start "entryRuleVerificationPrecondition"
// InternalVerify.g:1674:1: entryRuleVerificationPrecondition returns [EObject current=null] : iv_ruleVerificationPrecondition= ruleVerificationPrecondition EOF ;
public final EObject entryRuleVerificationPrecondition() throws RecognitionException {
EObject current = null;
EObject iv_ruleVerificationPrecondition = null;
try {
// InternalVerify.g:1674:65: (iv_ruleVerificationPrecondition= ruleVerificationPrecondition EOF )
// InternalVerify.g:1675:2: iv_ruleVerificationPrecondition= ruleVerificationPrecondition EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationPreconditionRule());
}
pushFollow(FOLLOW_1);
iv_ruleVerificationPrecondition=ruleVerificationPrecondition();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleVerificationPrecondition;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleVerificationPrecondition"
// $ANTLR start "ruleVerificationPrecondition"
// InternalVerify.g:1681:1: ruleVerificationPrecondition returns [EObject current=null] : (otherlv_0= 'precondition' () ( ( ruleQualifiedName ) ) otherlv_3= '(' ( ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* )? otherlv_7= ')' ) ;
public final EObject ruleVerificationPrecondition() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_5=null;
Token otherlv_6=null;
Token otherlv_7=null;
enterRule();
try {
// InternalVerify.g:1687:2: ( (otherlv_0= 'precondition' () ( ( ruleQualifiedName ) ) otherlv_3= '(' ( ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* )? otherlv_7= ')' ) )
// InternalVerify.g:1688:2: (otherlv_0= 'precondition' () ( ( ruleQualifiedName ) ) otherlv_3= '(' ( ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* )? otherlv_7= ')' )
{
// InternalVerify.g:1688:2: (otherlv_0= 'precondition' () ( ( ruleQualifiedName ) ) otherlv_3= '(' ( ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* )? otherlv_7= ')' )
// InternalVerify.g:1689:3: otherlv_0= 'precondition' () ( ( ruleQualifiedName ) ) otherlv_3= '(' ( ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* )? otherlv_7= ')'
{
otherlv_0=(Token)match(input,42,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getVerificationPreconditionAccess().getPreconditionKeyword_0());
}
// InternalVerify.g:1693:3: ()
// InternalVerify.g:1694:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getVerificationPreconditionAccess().getVerificationPreconditionAction_1(),
current);
}
}
// InternalVerify.g:1700:3: ( ( ruleQualifiedName ) )
// InternalVerify.g:1701:4: ( ruleQualifiedName )
{
// InternalVerify.g:1701:4: ( ruleQualifiedName )
// InternalVerify.g:1702:5: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationPreconditionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationPreconditionAccess().getMethodVerificationMethodCrossReference_2_0());
}
pushFollow(FOLLOW_30);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,35,FOLLOW_39); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getVerificationPreconditionAccess().getLeftParenthesisKeyword_3());
}
// InternalVerify.g:1720:3: ( ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* )?
int alt37=2;
int LA37_0 = input.LA(1);
if ( (LA37_0==RULE_ID) ) {
alt37=1;
}
switch (alt37) {
case 1 :
// InternalVerify.g:1721:4: ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )*
{
// InternalVerify.g:1721:4: ( (otherlv_4= RULE_ID ) )
// InternalVerify.g:1722:5: (otherlv_4= RULE_ID )
{
// InternalVerify.g:1722:5: (otherlv_4= RULE_ID )
// InternalVerify.g:1723:6: otherlv_4= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationPreconditionRule());
}
}
otherlv_4=(Token)match(input,RULE_ID,FOLLOW_32); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getVerificationPreconditionAccess().getParametersFormalParameterCrossReference_4_0_0());
}
}
}
// InternalVerify.g:1734:4: (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )*
loop36:
do {
int alt36=2;
int LA36_0 = input.LA(1);
if ( (LA36_0==34) ) {
alt36=1;
}
switch (alt36) {
case 1 :
// InternalVerify.g:1735:5: otherlv_5= ',' ( (otherlv_6= RULE_ID ) )
{
otherlv_5=(Token)match(input,34,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getVerificationPreconditionAccess().getCommaKeyword_4_1_0());
}
// InternalVerify.g:1739:5: ( (otherlv_6= RULE_ID ) )
// InternalVerify.g:1740:6: (otherlv_6= RULE_ID )
{
// InternalVerify.g:1740:6: (otherlv_6= RULE_ID )
// InternalVerify.g:1741:7: otherlv_6= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationPreconditionRule());
}
}
otherlv_6=(Token)match(input,RULE_ID,FOLLOW_32); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getVerificationPreconditionAccess().getParametersFormalParameterCrossReference_4_1_1_0());
}
}
}
}
break;
default :
break loop36;
}
} while (true);
}
break;
}
otherlv_7=(Token)match(input,36,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getVerificationPreconditionAccess().getRightParenthesisKeyword_5());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleVerificationPrecondition"
// $ANTLR start "entryRuleVerificationMethodRegistry"
// InternalVerify.g:1762:1: entryRuleVerificationMethodRegistry returns [EObject current=null] : iv_ruleVerificationMethodRegistry= ruleVerificationMethodRegistry EOF ;
public final EObject entryRuleVerificationMethodRegistry() throws RecognitionException {
EObject current = null;
EObject iv_ruleVerificationMethodRegistry = null;
try {
// InternalVerify.g:1762:67: (iv_ruleVerificationMethodRegistry= ruleVerificationMethodRegistry EOF )
// InternalVerify.g:1763:2: iv_ruleVerificationMethodRegistry= ruleVerificationMethodRegistry EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodRegistryRule());
}
pushFollow(FOLLOW_1);
iv_ruleVerificationMethodRegistry=ruleVerificationMethodRegistry();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleVerificationMethodRegistry;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleVerificationMethodRegistry"
// $ANTLR start "ruleVerificationMethodRegistry"
// InternalVerify.g:1769:1: ruleVerificationMethodRegistry returns [EObject current=null] : (otherlv_0= 'verification' otherlv_1= 'methods' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )? otherlv_5= '[' ( ( (lv_description_6_0= ruleDescription ) )? ( (lv_methods_7_0= ruleVerificationMethod ) )* ) otherlv_8= ']' ) ;
public final EObject ruleVerificationMethodRegistry() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_3=null;
Token lv_title_4_0=null;
Token otherlv_5=null;
Token otherlv_8=null;
AntlrDatatypeRuleToken lv_name_2_0 = null;
EObject lv_description_6_0 = null;
EObject lv_methods_7_0 = null;
enterRule();
try {
// InternalVerify.g:1775:2: ( (otherlv_0= 'verification' otherlv_1= 'methods' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )? otherlv_5= '[' ( ( (lv_description_6_0= ruleDescription ) )? ( (lv_methods_7_0= ruleVerificationMethod ) )* ) otherlv_8= ']' ) )
// InternalVerify.g:1776:2: (otherlv_0= 'verification' otherlv_1= 'methods' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )? otherlv_5= '[' ( ( (lv_description_6_0= ruleDescription ) )? ( (lv_methods_7_0= ruleVerificationMethod ) )* ) otherlv_8= ']' )
{
// InternalVerify.g:1776:2: (otherlv_0= 'verification' otherlv_1= 'methods' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )? otherlv_5= '[' ( ( (lv_description_6_0= ruleDescription ) )? ( (lv_methods_7_0= ruleVerificationMethod ) )* ) otherlv_8= ']' )
// InternalVerify.g:1777:3: otherlv_0= 'verification' otherlv_1= 'methods' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )? otherlv_5= '[' ( ( (lv_description_6_0= ruleDescription ) )? ( (lv_methods_7_0= ruleVerificationMethod ) )* ) otherlv_8= ']'
{
otherlv_0=(Token)match(input,17,FOLLOW_40); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getVerificationMethodRegistryAccess().getVerificationKeyword_0());
}
otherlv_1=(Token)match(input,43,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getVerificationMethodRegistryAccess().getMethodsKeyword_1());
}
// InternalVerify.g:1785:3: ( (lv_name_2_0= ruleQualifiedName ) )
// InternalVerify.g:1786:4: (lv_name_2_0= ruleQualifiedName )
{
// InternalVerify.g:1786:4: (lv_name_2_0= ruleQualifiedName )
// InternalVerify.g:1787:5: lv_name_2_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodRegistryAccess().getNameQualifiedNameParserRuleCall_2_0());
}
pushFollow(FOLLOW_13);
lv_name_2_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationMethodRegistryRule());
}
set(
current,
"name",
lv_name_2_0,
"org.osate.alisa.common.Common.QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:1804:3: (otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) ) )?
int alt38=2;
int LA38_0 = input.LA(1);
if ( (LA38_0==19) ) {
alt38=1;
}
switch (alt38) {
case 1 :
// InternalVerify.g:1805:4: otherlv_3= ':' ( (lv_title_4_0= RULE_STRING ) )
{
otherlv_3=(Token)match(input,19,FOLLOW_7); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getVerificationMethodRegistryAccess().getColonKeyword_3_0());
}
// InternalVerify.g:1809:4: ( (lv_title_4_0= RULE_STRING ) )
// InternalVerify.g:1810:5: (lv_title_4_0= RULE_STRING )
{
// InternalVerify.g:1810:5: (lv_title_4_0= RULE_STRING )
// InternalVerify.g:1811:6: lv_title_4_0= RULE_STRING
{
lv_title_4_0=(Token)match(input,RULE_STRING,FOLLOW_9); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_title_4_0, grammarAccess.getVerificationMethodRegistryAccess().getTitleSTRINGTerminalRuleCall_3_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationMethodRegistryRule());
}
setWithLastConsumed(
current,
"title",
lv_title_4_0,
"org.eclipse.xtext.common.Terminals.STRING");
}
}
}
}
break;
}
otherlv_5=(Token)match(input,21,FOLLOW_41); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getVerificationMethodRegistryAccess().getLeftSquareBracketKeyword_4());
}
// InternalVerify.g:1832:3: ( ( (lv_description_6_0= ruleDescription ) )? ( (lv_methods_7_0= ruleVerificationMethod ) )* )
// InternalVerify.g:1833:4: ( (lv_description_6_0= ruleDescription ) )? ( (lv_methods_7_0= ruleVerificationMethod ) )*
{
// InternalVerify.g:1833:4: ( (lv_description_6_0= ruleDescription ) )?
int alt39=2;
int LA39_0 = input.LA(1);
if ( (LA39_0==59) ) {
alt39=1;
}
switch (alt39) {
case 1 :
// InternalVerify.g:1834:5: (lv_description_6_0= ruleDescription )
{
// InternalVerify.g:1834:5: (lv_description_6_0= ruleDescription )
// InternalVerify.g:1835:6: lv_description_6_0= ruleDescription
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodRegistryAccess().getDescriptionDescriptionParserRuleCall_5_0_0());
}
pushFollow(FOLLOW_42);
lv_description_6_0=ruleDescription();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationMethodRegistryRule());
}
set(
current,
"description",
lv_description_6_0,
"org.osate.alisa.common.Common.Description");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// InternalVerify.g:1852:4: ( (lv_methods_7_0= ruleVerificationMethod ) )*
loop40:
do {
int alt40=2;
int LA40_0 = input.LA(1);
if ( (LA40_0==46) ) {
alt40=1;
}
switch (alt40) {
case 1 :
// InternalVerify.g:1853:5: (lv_methods_7_0= ruleVerificationMethod )
{
// InternalVerify.g:1853:5: (lv_methods_7_0= ruleVerificationMethod )
// InternalVerify.g:1854:6: lv_methods_7_0= ruleVerificationMethod
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodRegistryAccess().getMethodsVerificationMethodParserRuleCall_5_1_0());
}
pushFollow(FOLLOW_42);
lv_methods_7_0=ruleVerificationMethod();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationMethodRegistryRule());
}
add(
current,
"methods",
lv_methods_7_0,
"org.osate.verify.Verify.VerificationMethod");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop40;
}
} while (true);
}
otherlv_8=(Token)match(input,23,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getVerificationMethodRegistryAccess().getRightSquareBracketKeyword_6());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleVerificationMethodRegistry"
// $ANTLR start "entryRuleFormalParameter"
// InternalVerify.g:1880:1: entryRuleFormalParameter returns [EObject current=null] : iv_ruleFormalParameter= ruleFormalParameter EOF ;
public final EObject entryRuleFormalParameter() throws RecognitionException {
EObject current = null;
EObject iv_ruleFormalParameter = null;
try {
// InternalVerify.g:1880:56: (iv_ruleFormalParameter= ruleFormalParameter EOF )
// InternalVerify.g:1881:2: iv_ruleFormalParameter= ruleFormalParameter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFormalParameterRule());
}
pushFollow(FOLLOW_1);
iv_ruleFormalParameter=ruleFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleFormalParameter;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleFormalParameter"
// $ANTLR start "ruleFormalParameter"
// InternalVerify.g:1887:1: ruleFormalParameter returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= ':' ( ( (lv_type_2_0= ruleTypeRef ) ) | (otherlv_3= 'typeof' ( (lv_type_4_0= rulePropertyRef ) ) ) ) (otherlv_5= 'in' ( (otherlv_6= RULE_ID ) ) )? ) ;
public final EObject ruleFormalParameter() throws RecognitionException {
EObject current = null;
Token lv_name_0_0=null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_6=null;
EObject lv_type_2_0 = null;
EObject lv_type_4_0 = null;
enterRule();
try {
// InternalVerify.g:1893:2: ( ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= ':' ( ( (lv_type_2_0= ruleTypeRef ) ) | (otherlv_3= 'typeof' ( (lv_type_4_0= rulePropertyRef ) ) ) ) (otherlv_5= 'in' ( (otherlv_6= RULE_ID ) ) )? ) )
// InternalVerify.g:1894:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= ':' ( ( (lv_type_2_0= ruleTypeRef ) ) | (otherlv_3= 'typeof' ( (lv_type_4_0= rulePropertyRef ) ) ) ) (otherlv_5= 'in' ( (otherlv_6= RULE_ID ) ) )? )
{
// InternalVerify.g:1894:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= ':' ( ( (lv_type_2_0= ruleTypeRef ) ) | (otherlv_3= 'typeof' ( (lv_type_4_0= rulePropertyRef ) ) ) ) (otherlv_5= 'in' ( (otherlv_6= RULE_ID ) ) )? )
// InternalVerify.g:1895:3: ( (lv_name_0_0= RULE_ID ) ) otherlv_1= ':' ( ( (lv_type_2_0= ruleTypeRef ) ) | (otherlv_3= 'typeof' ( (lv_type_4_0= rulePropertyRef ) ) ) ) (otherlv_5= 'in' ( (otherlv_6= RULE_ID ) ) )?
{
// InternalVerify.g:1895:3: ( (lv_name_0_0= RULE_ID ) )
// InternalVerify.g:1896:4: (lv_name_0_0= RULE_ID )
{
// InternalVerify.g:1896:4: (lv_name_0_0= RULE_ID )
// InternalVerify.g:1897:5: lv_name_0_0= RULE_ID
{
lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_23); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_0_0, grammarAccess.getFormalParameterAccess().getNameIDTerminalRuleCall_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getFormalParameterRule());
}
setWithLastConsumed(
current,
"name",
lv_name_0_0,
"org.eclipse.xtext.common.Terminals.ID");
}
}
}
otherlv_1=(Token)match(input,19,FOLLOW_43); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getFormalParameterAccess().getColonKeyword_1());
}
// InternalVerify.g:1917:3: ( ( (lv_type_2_0= ruleTypeRef ) ) | (otherlv_3= 'typeof' ( (lv_type_4_0= rulePropertyRef ) ) ) )
int alt41=2;
int LA41_0 = input.LA(1);
if ( (LA41_0==RULE_ID||LA41_0==49||LA41_0==62||(LA41_0>=64 && LA41_0<=66)) ) {
alt41=1;
}
else if ( (LA41_0==44) ) {
alt41=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 41, 0, input);
throw nvae;
}
switch (alt41) {
case 1 :
// InternalVerify.g:1918:4: ( (lv_type_2_0= ruleTypeRef ) )
{
// InternalVerify.g:1918:4: ( (lv_type_2_0= ruleTypeRef ) )
// InternalVerify.g:1919:5: (lv_type_2_0= ruleTypeRef )
{
// InternalVerify.g:1919:5: (lv_type_2_0= ruleTypeRef )
// InternalVerify.g:1920:6: lv_type_2_0= ruleTypeRef
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFormalParameterAccess().getTypeTypeRefParserRuleCall_2_0_0());
}
pushFollow(FOLLOW_44);
lv_type_2_0=ruleTypeRef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getFormalParameterRule());
}
set(
current,
"type",
lv_type_2_0,
"org.osate.alisa.common.Common.TypeRef");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// InternalVerify.g:1938:4: (otherlv_3= 'typeof' ( (lv_type_4_0= rulePropertyRef ) ) )
{
// InternalVerify.g:1938:4: (otherlv_3= 'typeof' ( (lv_type_4_0= rulePropertyRef ) ) )
// InternalVerify.g:1939:5: otherlv_3= 'typeof' ( (lv_type_4_0= rulePropertyRef ) )
{
otherlv_3=(Token)match(input,44,FOLLOW_45); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getFormalParameterAccess().getTypeofKeyword_2_1_0());
}
// InternalVerify.g:1943:5: ( (lv_type_4_0= rulePropertyRef ) )
// InternalVerify.g:1944:6: (lv_type_4_0= rulePropertyRef )
{
// InternalVerify.g:1944:6: (lv_type_4_0= rulePropertyRef )
// InternalVerify.g:1945:7: lv_type_4_0= rulePropertyRef
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getFormalParameterAccess().getTypePropertyRefParserRuleCall_2_1_1_0());
}
pushFollow(FOLLOW_44);
lv_type_4_0=rulePropertyRef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getFormalParameterRule());
}
set(
current,
"type",
lv_type_4_0,
"org.osate.alisa.common.Common.PropertyRef");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
}
// InternalVerify.g:1964:3: (otherlv_5= 'in' ( (otherlv_6= RULE_ID ) ) )?
int alt42=2;
int LA42_0 = input.LA(1);
if ( (LA42_0==45) ) {
alt42=1;
}
switch (alt42) {
case 1 :
// InternalVerify.g:1965:4: otherlv_5= 'in' ( (otherlv_6= RULE_ID ) )
{
otherlv_5=(Token)match(input,45,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getFormalParameterAccess().getInKeyword_3_0());
}
// InternalVerify.g:1969:4: ( (otherlv_6= RULE_ID ) )
// InternalVerify.g:1970:5: (otherlv_6= RULE_ID )
{
// InternalVerify.g:1970:5: (otherlv_6= RULE_ID )
// InternalVerify.g:1971:6: otherlv_6= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getFormalParameterRule());
}
}
otherlv_6=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getFormalParameterAccess().getUnitUnitLiteralCrossReference_3_1_0());
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleFormalParameter"
// $ANTLR start "entryRuleVerificationMethod"
// InternalVerify.g:1987:1: entryRuleVerificationMethod returns [EObject current=null] : iv_ruleVerificationMethod= ruleVerificationMethod EOF ;
public final EObject entryRuleVerificationMethod() throws RecognitionException {
EObject current = null;
EObject iv_ruleVerificationMethod = null;
try {
// InternalVerify.g:1987:59: (iv_ruleVerificationMethod= ruleVerificationMethod EOF )
// InternalVerify.g:1988:2: iv_ruleVerificationMethod= ruleVerificationMethod EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodRule());
}
pushFollow(FOLLOW_1);
iv_ruleVerificationMethod=ruleVerificationMethod();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleVerificationMethod;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleVerificationMethod"
// $ANTLR start "ruleVerificationMethod"
// InternalVerify.g:1994:1: ruleVerificationMethod returns [EObject current=null] : (otherlv_0= 'method' ( (lv_name_1_0= RULE_ID ) ) (otherlv_2= '(' ( ( (lv_targetType_3_0= ruleTargetType ) )? | ( ( (lv_formals_4_0= ruleFormalParameter ) ) (otherlv_5= ',' ( (lv_formals_6_0= ruleFormalParameter ) ) )* ) | ( ( (lv_targetType_7_0= ruleTargetType ) ) otherlv_8= ',' ( (lv_formals_9_0= ruleFormalParameter ) ) (otherlv_10= ',' ( (lv_formals_11_0= ruleFormalParameter ) ) )* ) ) otherlv_12= ')' (otherlv_13= 'properties' otherlv_14= '(' ( ( ( ruleAADLPROPERTYREFERENCE ) ) (otherlv_16= ',' ( ( ruleAADLPROPERTYREFERENCE ) ) )* )? otherlv_18= ')' )? (otherlv_19= 'returns' otherlv_20= '(' ( ( (lv_results_21_0= ruleFormalParameter ) ) (otherlv_22= ',' ( (lv_results_23_0= ruleFormalParameter ) ) )* )? otherlv_24= ')' )? ( ( (lv_isPredicate_25_0= 'boolean' ) ) | ( (lv_isResultReport_26_0= 'report' ) ) )? )? (otherlv_27= ':' ( (lv_title_28_0= RULE_STRING ) ) )? (otherlv_29= 'for' ( ( ( ruleAadlClassifierReference ) ) | ( (lv_componentCategory_31_0= ruleComponentCategory ) )+ ) )? otherlv_32= '[' ( ( ( ( ({...}? => ( ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_description_35_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) )+ {...}?) ) ) otherlv_40= ']' ) ;
public final EObject ruleVerificationMethod() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
Token otherlv_2=null;
Token otherlv_5=null;
Token otherlv_8=null;
Token otherlv_10=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_14=null;
Token otherlv_16=null;
Token otherlv_18=null;
Token otherlv_19=null;
Token otherlv_20=null;
Token otherlv_22=null;
Token otherlv_24=null;
Token lv_isPredicate_25_0=null;
Token lv_isResultReport_26_0=null;
Token otherlv_27=null;
Token lv_title_28_0=null;
Token otherlv_29=null;
Token otherlv_32=null;
Token otherlv_38=null;
Token otherlv_40=null;
Enumerator lv_targetType_3_0 = null;
EObject lv_formals_4_0 = null;
EObject lv_formals_6_0 = null;
Enumerator lv_targetType_7_0 = null;
EObject lv_formals_9_0 = null;
EObject lv_formals_11_0 = null;
EObject lv_results_21_0 = null;
EObject lv_results_23_0 = null;
AntlrDatatypeRuleToken lv_componentCategory_31_0 = null;
EObject lv_methodKind_34_0 = null;
EObject lv_description_35_0 = null;
EObject lv_precondition_36_0 = null;
EObject lv_validation_37_0 = null;
enterRule();
try {
// InternalVerify.g:2000:2: ( (otherlv_0= 'method' ( (lv_name_1_0= RULE_ID ) ) (otherlv_2= '(' ( ( (lv_targetType_3_0= ruleTargetType ) )? | ( ( (lv_formals_4_0= ruleFormalParameter ) ) (otherlv_5= ',' ( (lv_formals_6_0= ruleFormalParameter ) ) )* ) | ( ( (lv_targetType_7_0= ruleTargetType ) ) otherlv_8= ',' ( (lv_formals_9_0= ruleFormalParameter ) ) (otherlv_10= ',' ( (lv_formals_11_0= ruleFormalParameter ) ) )* ) ) otherlv_12= ')' (otherlv_13= 'properties' otherlv_14= '(' ( ( ( ruleAADLPROPERTYREFERENCE ) ) (otherlv_16= ',' ( ( ruleAADLPROPERTYREFERENCE ) ) )* )? otherlv_18= ')' )? (otherlv_19= 'returns' otherlv_20= '(' ( ( (lv_results_21_0= ruleFormalParameter ) ) (otherlv_22= ',' ( (lv_results_23_0= ruleFormalParameter ) ) )* )? otherlv_24= ')' )? ( ( (lv_isPredicate_25_0= 'boolean' ) ) | ( (lv_isResultReport_26_0= 'report' ) ) )? )? (otherlv_27= ':' ( (lv_title_28_0= RULE_STRING ) ) )? (otherlv_29= 'for' ( ( ( ruleAadlClassifierReference ) ) | ( (lv_componentCategory_31_0= ruleComponentCategory ) )+ ) )? otherlv_32= '[' ( ( ( ( ({...}? => ( ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_description_35_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) )+ {...}?) ) ) otherlv_40= ']' ) )
// InternalVerify.g:2001:2: (otherlv_0= 'method' ( (lv_name_1_0= RULE_ID ) ) (otherlv_2= '(' ( ( (lv_targetType_3_0= ruleTargetType ) )? | ( ( (lv_formals_4_0= ruleFormalParameter ) ) (otherlv_5= ',' ( (lv_formals_6_0= ruleFormalParameter ) ) )* ) | ( ( (lv_targetType_7_0= ruleTargetType ) ) otherlv_8= ',' ( (lv_formals_9_0= ruleFormalParameter ) ) (otherlv_10= ',' ( (lv_formals_11_0= ruleFormalParameter ) ) )* ) ) otherlv_12= ')' (otherlv_13= 'properties' otherlv_14= '(' ( ( ( ruleAADLPROPERTYREFERENCE ) ) (otherlv_16= ',' ( ( ruleAADLPROPERTYREFERENCE ) ) )* )? otherlv_18= ')' )? (otherlv_19= 'returns' otherlv_20= '(' ( ( (lv_results_21_0= ruleFormalParameter ) ) (otherlv_22= ',' ( (lv_results_23_0= ruleFormalParameter ) ) )* )? otherlv_24= ')' )? ( ( (lv_isPredicate_25_0= 'boolean' ) ) | ( (lv_isResultReport_26_0= 'report' ) ) )? )? (otherlv_27= ':' ( (lv_title_28_0= RULE_STRING ) ) )? (otherlv_29= 'for' ( ( ( ruleAadlClassifierReference ) ) | ( (lv_componentCategory_31_0= ruleComponentCategory ) )+ ) )? otherlv_32= '[' ( ( ( ( ({...}? => ( ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_description_35_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) )+ {...}?) ) ) otherlv_40= ']' )
{
// InternalVerify.g:2001:2: (otherlv_0= 'method' ( (lv_name_1_0= RULE_ID ) ) (otherlv_2= '(' ( ( (lv_targetType_3_0= ruleTargetType ) )? | ( ( (lv_formals_4_0= ruleFormalParameter ) ) (otherlv_5= ',' ( (lv_formals_6_0= ruleFormalParameter ) ) )* ) | ( ( (lv_targetType_7_0= ruleTargetType ) ) otherlv_8= ',' ( (lv_formals_9_0= ruleFormalParameter ) ) (otherlv_10= ',' ( (lv_formals_11_0= ruleFormalParameter ) ) )* ) ) otherlv_12= ')' (otherlv_13= 'properties' otherlv_14= '(' ( ( ( ruleAADLPROPERTYREFERENCE ) ) (otherlv_16= ',' ( ( ruleAADLPROPERTYREFERENCE ) ) )* )? otherlv_18= ')' )? (otherlv_19= 'returns' otherlv_20= '(' ( ( (lv_results_21_0= ruleFormalParameter ) ) (otherlv_22= ',' ( (lv_results_23_0= ruleFormalParameter ) ) )* )? otherlv_24= ')' )? ( ( (lv_isPredicate_25_0= 'boolean' ) ) | ( (lv_isResultReport_26_0= 'report' ) ) )? )? (otherlv_27= ':' ( (lv_title_28_0= RULE_STRING ) ) )? (otherlv_29= 'for' ( ( ( ruleAadlClassifierReference ) ) | ( (lv_componentCategory_31_0= ruleComponentCategory ) )+ ) )? otherlv_32= '[' ( ( ( ( ({...}? => ( ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_description_35_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) )+ {...}?) ) ) otherlv_40= ']' )
// InternalVerify.g:2002:3: otherlv_0= 'method' ( (lv_name_1_0= RULE_ID ) ) (otherlv_2= '(' ( ( (lv_targetType_3_0= ruleTargetType ) )? | ( ( (lv_formals_4_0= ruleFormalParameter ) ) (otherlv_5= ',' ( (lv_formals_6_0= ruleFormalParameter ) ) )* ) | ( ( (lv_targetType_7_0= ruleTargetType ) ) otherlv_8= ',' ( (lv_formals_9_0= ruleFormalParameter ) ) (otherlv_10= ',' ( (lv_formals_11_0= ruleFormalParameter ) ) )* ) ) otherlv_12= ')' (otherlv_13= 'properties' otherlv_14= '(' ( ( ( ruleAADLPROPERTYREFERENCE ) ) (otherlv_16= ',' ( ( ruleAADLPROPERTYREFERENCE ) ) )* )? otherlv_18= ')' )? (otherlv_19= 'returns' otherlv_20= '(' ( ( (lv_results_21_0= ruleFormalParameter ) ) (otherlv_22= ',' ( (lv_results_23_0= ruleFormalParameter ) ) )* )? otherlv_24= ')' )? ( ( (lv_isPredicate_25_0= 'boolean' ) ) | ( (lv_isResultReport_26_0= 'report' ) ) )? )? (otherlv_27= ':' ( (lv_title_28_0= RULE_STRING ) ) )? (otherlv_29= 'for' ( ( ( ruleAadlClassifierReference ) ) | ( (lv_componentCategory_31_0= ruleComponentCategory ) )+ ) )? otherlv_32= '[' ( ( ( ( ({...}? => ( ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_description_35_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) )+ {...}?) ) ) otherlv_40= ']'
{
otherlv_0=(Token)match(input,46,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getVerificationMethodAccess().getMethodKeyword_0());
}
// InternalVerify.g:2006:3: ( (lv_name_1_0= RULE_ID ) )
// InternalVerify.g:2007:4: (lv_name_1_0= RULE_ID )
{
// InternalVerify.g:2007:4: (lv_name_1_0= RULE_ID )
// InternalVerify.g:2008:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_46); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getVerificationMethodAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationMethodRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.common.Terminals.ID");
}
}
}
// InternalVerify.g:2024:3: (otherlv_2= '(' ( ( (lv_targetType_3_0= ruleTargetType ) )? | ( ( (lv_formals_4_0= ruleFormalParameter ) ) (otherlv_5= ',' ( (lv_formals_6_0= ruleFormalParameter ) ) )* ) | ( ( (lv_targetType_7_0= ruleTargetType ) ) otherlv_8= ',' ( (lv_formals_9_0= ruleFormalParameter ) ) (otherlv_10= ',' ( (lv_formals_11_0= ruleFormalParameter ) ) )* ) ) otherlv_12= ')' (otherlv_13= 'properties' otherlv_14= '(' ( ( ( ruleAADLPROPERTYREFERENCE ) ) (otherlv_16= ',' ( ( ruleAADLPROPERTYREFERENCE ) ) )* )? otherlv_18= ')' )? (otherlv_19= 'returns' otherlv_20= '(' ( ( (lv_results_21_0= ruleFormalParameter ) ) (otherlv_22= ',' ( (lv_results_23_0= ruleFormalParameter ) ) )* )? otherlv_24= ')' )? ( ( (lv_isPredicate_25_0= 'boolean' ) ) | ( (lv_isResultReport_26_0= 'report' ) ) )? )?
int alt54=2;
int LA54_0 = input.LA(1);
if ( (LA54_0==35) ) {
alt54=1;
}
switch (alt54) {
case 1 :
// InternalVerify.g:2025:4: otherlv_2= '(' ( ( (lv_targetType_3_0= ruleTargetType ) )? | ( ( (lv_formals_4_0= ruleFormalParameter ) ) (otherlv_5= ',' ( (lv_formals_6_0= ruleFormalParameter ) ) )* ) | ( ( (lv_targetType_7_0= ruleTargetType ) ) otherlv_8= ',' ( (lv_formals_9_0= ruleFormalParameter ) ) (otherlv_10= ',' ( (lv_formals_11_0= ruleFormalParameter ) ) )* ) ) otherlv_12= ')' (otherlv_13= 'properties' otherlv_14= '(' ( ( ( ruleAADLPROPERTYREFERENCE ) ) (otherlv_16= ',' ( ( ruleAADLPROPERTYREFERENCE ) ) )* )? otherlv_18= ')' )? (otherlv_19= 'returns' otherlv_20= '(' ( ( (lv_results_21_0= ruleFormalParameter ) ) (otherlv_22= ',' ( (lv_results_23_0= ruleFormalParameter ) ) )* )? otherlv_24= ')' )? ( ( (lv_isPredicate_25_0= 'boolean' ) ) | ( (lv_isResultReport_26_0= 'report' ) ) )?
{
otherlv_2=(Token)match(input,35,FOLLOW_47); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getVerificationMethodAccess().getLeftParenthesisKeyword_2_0());
}
// InternalVerify.g:2029:4: ( ( (lv_targetType_3_0= ruleTargetType ) )? | ( ( (lv_formals_4_0= ruleFormalParameter ) ) (otherlv_5= ',' ( (lv_formals_6_0= ruleFormalParameter ) ) )* ) | ( ( (lv_targetType_7_0= ruleTargetType ) ) otherlv_8= ',' ( (lv_formals_9_0= ruleFormalParameter ) ) (otherlv_10= ',' ( (lv_formals_11_0= ruleFormalParameter ) ) )* ) )
int alt46=3;
alt46 = dfa46.predict(input);
switch (alt46) {
case 1 :
// InternalVerify.g:2030:5: ( (lv_targetType_3_0= ruleTargetType ) )?
{
// InternalVerify.g:2030:5: ( (lv_targetType_3_0= ruleTargetType ) )?
int alt43=2;
int LA43_0 = input.LA(1);
if ( (LA43_0==67||(LA43_0>=109 && LA43_0<=114)) ) {
alt43=1;
}
switch (alt43) {
case 1 :
// InternalVerify.g:2031:6: (lv_targetType_3_0= ruleTargetType )
{
// InternalVerify.g:2031:6: (lv_targetType_3_0= ruleTargetType )
// InternalVerify.g:2032:7: lv_targetType_3_0= ruleTargetType
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getTargetTypeTargetTypeEnumRuleCall_2_1_0_0());
}
pushFollow(FOLLOW_28);
lv_targetType_3_0=ruleTargetType();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationMethodRule());
}
set(
current,
"targetType",
lv_targetType_3_0,
"org.osate.alisa.common.Common.TargetType");
afterParserOrEnumRuleCall();
}
}
}
break;
}
}
break;
case 2 :
// InternalVerify.g:2050:5: ( ( (lv_formals_4_0= ruleFormalParameter ) ) (otherlv_5= ',' ( (lv_formals_6_0= ruleFormalParameter ) ) )* )
{
// InternalVerify.g:2050:5: ( ( (lv_formals_4_0= ruleFormalParameter ) ) (otherlv_5= ',' ( (lv_formals_6_0= ruleFormalParameter ) ) )* )
// InternalVerify.g:2051:6: ( (lv_formals_4_0= ruleFormalParameter ) ) (otherlv_5= ',' ( (lv_formals_6_0= ruleFormalParameter ) ) )*
{
// InternalVerify.g:2051:6: ( (lv_formals_4_0= ruleFormalParameter ) )
// InternalVerify.g:2052:7: (lv_formals_4_0= ruleFormalParameter )
{
// InternalVerify.g:2052:7: (lv_formals_4_0= ruleFormalParameter )
// InternalVerify.g:2053:8: lv_formals_4_0= ruleFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getFormalsFormalParameterParserRuleCall_2_1_1_0_0());
}
pushFollow(FOLLOW_32);
lv_formals_4_0=ruleFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationMethodRule());
}
add(
current,
"formals",
lv_formals_4_0,
"org.osate.verify.Verify.FormalParameter");
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:2070:6: (otherlv_5= ',' ( (lv_formals_6_0= ruleFormalParameter ) ) )*
loop44:
do {
int alt44=2;
int LA44_0 = input.LA(1);
if ( (LA44_0==34) ) {
alt44=1;
}
switch (alt44) {
case 1 :
// InternalVerify.g:2071:7: otherlv_5= ',' ( (lv_formals_6_0= ruleFormalParameter ) )
{
otherlv_5=(Token)match(input,34,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getVerificationMethodAccess().getCommaKeyword_2_1_1_1_0());
}
// InternalVerify.g:2075:7: ( (lv_formals_6_0= ruleFormalParameter ) )
// InternalVerify.g:2076:8: (lv_formals_6_0= ruleFormalParameter )
{
// InternalVerify.g:2076:8: (lv_formals_6_0= ruleFormalParameter )
// InternalVerify.g:2077:9: lv_formals_6_0= ruleFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getFormalsFormalParameterParserRuleCall_2_1_1_1_1_0());
}
pushFollow(FOLLOW_32);
lv_formals_6_0=ruleFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationMethodRule());
}
add(
current,
"formals",
lv_formals_6_0,
"org.osate.verify.Verify.FormalParameter");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop44;
}
} while (true);
}
}
break;
case 3 :
// InternalVerify.g:2097:5: ( ( (lv_targetType_7_0= ruleTargetType ) ) otherlv_8= ',' ( (lv_formals_9_0= ruleFormalParameter ) ) (otherlv_10= ',' ( (lv_formals_11_0= ruleFormalParameter ) ) )* )
{
// InternalVerify.g:2097:5: ( ( (lv_targetType_7_0= ruleTargetType ) ) otherlv_8= ',' ( (lv_formals_9_0= ruleFormalParameter ) ) (otherlv_10= ',' ( (lv_formals_11_0= ruleFormalParameter ) ) )* )
// InternalVerify.g:2098:6: ( (lv_targetType_7_0= ruleTargetType ) ) otherlv_8= ',' ( (lv_formals_9_0= ruleFormalParameter ) ) (otherlv_10= ',' ( (lv_formals_11_0= ruleFormalParameter ) ) )*
{
// InternalVerify.g:2098:6: ( (lv_targetType_7_0= ruleTargetType ) )
// InternalVerify.g:2099:7: (lv_targetType_7_0= ruleTargetType )
{
// InternalVerify.g:2099:7: (lv_targetType_7_0= ruleTargetType )
// InternalVerify.g:2100:8: lv_targetType_7_0= ruleTargetType
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getTargetTypeTargetTypeEnumRuleCall_2_1_2_0_0());
}
pushFollow(FOLLOW_48);
lv_targetType_7_0=ruleTargetType();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationMethodRule());
}
set(
current,
"targetType",
lv_targetType_7_0,
"org.osate.alisa.common.Common.TargetType");
afterParserOrEnumRuleCall();
}
}
}
otherlv_8=(Token)match(input,34,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getVerificationMethodAccess().getCommaKeyword_2_1_2_1());
}
// InternalVerify.g:2121:6: ( (lv_formals_9_0= ruleFormalParameter ) )
// InternalVerify.g:2122:7: (lv_formals_9_0= ruleFormalParameter )
{
// InternalVerify.g:2122:7: (lv_formals_9_0= ruleFormalParameter )
// InternalVerify.g:2123:8: lv_formals_9_0= ruleFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getFormalsFormalParameterParserRuleCall_2_1_2_2_0());
}
pushFollow(FOLLOW_32);
lv_formals_9_0=ruleFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationMethodRule());
}
add(
current,
"formals",
lv_formals_9_0,
"org.osate.verify.Verify.FormalParameter");
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:2140:6: (otherlv_10= ',' ( (lv_formals_11_0= ruleFormalParameter ) ) )*
loop45:
do {
int alt45=2;
int LA45_0 = input.LA(1);
if ( (LA45_0==34) ) {
alt45=1;
}
switch (alt45) {
case 1 :
// InternalVerify.g:2141:7: otherlv_10= ',' ( (lv_formals_11_0= ruleFormalParameter ) )
{
otherlv_10=(Token)match(input,34,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getVerificationMethodAccess().getCommaKeyword_2_1_2_3_0());
}
// InternalVerify.g:2145:7: ( (lv_formals_11_0= ruleFormalParameter ) )
// InternalVerify.g:2146:8: (lv_formals_11_0= ruleFormalParameter )
{
// InternalVerify.g:2146:8: (lv_formals_11_0= ruleFormalParameter )
// InternalVerify.g:2147:9: lv_formals_11_0= ruleFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getFormalsFormalParameterParserRuleCall_2_1_2_3_1_0());
}
pushFollow(FOLLOW_32);
lv_formals_11_0=ruleFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationMethodRule());
}
add(
current,
"formals",
lv_formals_11_0,
"org.osate.verify.Verify.FormalParameter");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop45;
}
} while (true);
}
}
break;
}
otherlv_12=(Token)match(input,36,FOLLOW_49); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getVerificationMethodAccess().getRightParenthesisKeyword_2_2());
}
// InternalVerify.g:2171:4: (otherlv_13= 'properties' otherlv_14= '(' ( ( ( ruleAADLPROPERTYREFERENCE ) ) (otherlv_16= ',' ( ( ruleAADLPROPERTYREFERENCE ) ) )* )? otherlv_18= ')' )?
int alt49=2;
int LA49_0 = input.LA(1);
if ( (LA49_0==47) ) {
alt49=1;
}
switch (alt49) {
case 1 :
// InternalVerify.g:2172:5: otherlv_13= 'properties' otherlv_14= '(' ( ( ( ruleAADLPROPERTYREFERENCE ) ) (otherlv_16= ',' ( ( ruleAADLPROPERTYREFERENCE ) ) )* )? otherlv_18= ')'
{
otherlv_13=(Token)match(input,47,FOLLOW_30); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getVerificationMethodAccess().getPropertiesKeyword_2_3_0());
}
otherlv_14=(Token)match(input,35,FOLLOW_50); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_14, grammarAccess.getVerificationMethodAccess().getLeftParenthesisKeyword_2_3_1());
}
// InternalVerify.g:2180:5: ( ( ( ruleAADLPROPERTYREFERENCE ) ) (otherlv_16= ',' ( ( ruleAADLPROPERTYREFERENCE ) ) )* )?
int alt48=2;
int LA48_0 = input.LA(1);
if ( (LA48_0==RULE_ID) ) {
alt48=1;
}
switch (alt48) {
case 1 :
// InternalVerify.g:2181:6: ( ( ruleAADLPROPERTYREFERENCE ) ) (otherlv_16= ',' ( ( ruleAADLPROPERTYREFERENCE ) ) )*
{
// InternalVerify.g:2181:6: ( ( ruleAADLPROPERTYREFERENCE ) )
// InternalVerify.g:2182:7: ( ruleAADLPROPERTYREFERENCE )
{
// InternalVerify.g:2182:7: ( ruleAADLPROPERTYREFERENCE )
// InternalVerify.g:2183:8: ruleAADLPROPERTYREFERENCE
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationMethodRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getPropertiesPropertyCrossReference_2_3_2_0_0());
}
pushFollow(FOLLOW_32);
ruleAADLPROPERTYREFERENCE();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:2197:6: (otherlv_16= ',' ( ( ruleAADLPROPERTYREFERENCE ) ) )*
loop47:
do {
int alt47=2;
int LA47_0 = input.LA(1);
if ( (LA47_0==34) ) {
alt47=1;
}
switch (alt47) {
case 1 :
// InternalVerify.g:2198:7: otherlv_16= ',' ( ( ruleAADLPROPERTYREFERENCE ) )
{
otherlv_16=(Token)match(input,34,FOLLOW_45); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_16, grammarAccess.getVerificationMethodAccess().getCommaKeyword_2_3_2_1_0());
}
// InternalVerify.g:2202:7: ( ( ruleAADLPROPERTYREFERENCE ) )
// InternalVerify.g:2203:8: ( ruleAADLPROPERTYREFERENCE )
{
// InternalVerify.g:2203:8: ( ruleAADLPROPERTYREFERENCE )
// InternalVerify.g:2204:9: ruleAADLPROPERTYREFERENCE
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationMethodRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getPropertiesPropertyCrossReference_2_3_2_1_1_0());
}
pushFollow(FOLLOW_32);
ruleAADLPROPERTYREFERENCE();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop47;
}
} while (true);
}
break;
}
otherlv_18=(Token)match(input,36,FOLLOW_51); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_18, grammarAccess.getVerificationMethodAccess().getRightParenthesisKeyword_2_3_3());
}
}
break;
}
// InternalVerify.g:2225:4: (otherlv_19= 'returns' otherlv_20= '(' ( ( (lv_results_21_0= ruleFormalParameter ) ) (otherlv_22= ',' ( (lv_results_23_0= ruleFormalParameter ) ) )* )? otherlv_24= ')' )?
int alt52=2;
int LA52_0 = input.LA(1);
if ( (LA52_0==48) ) {
alt52=1;
}
switch (alt52) {
case 1 :
// InternalVerify.g:2226:5: otherlv_19= 'returns' otherlv_20= '(' ( ( (lv_results_21_0= ruleFormalParameter ) ) (otherlv_22= ',' ( (lv_results_23_0= ruleFormalParameter ) ) )* )? otherlv_24= ')'
{
otherlv_19=(Token)match(input,48,FOLLOW_30); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_19, grammarAccess.getVerificationMethodAccess().getReturnsKeyword_2_4_0());
}
otherlv_20=(Token)match(input,35,FOLLOW_39); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_20, grammarAccess.getVerificationMethodAccess().getLeftParenthesisKeyword_2_4_1());
}
// InternalVerify.g:2234:5: ( ( (lv_results_21_0= ruleFormalParameter ) ) (otherlv_22= ',' ( (lv_results_23_0= ruleFormalParameter ) ) )* )?
int alt51=2;
int LA51_0 = input.LA(1);
if ( (LA51_0==RULE_ID) ) {
alt51=1;
}
switch (alt51) {
case 1 :
// InternalVerify.g:2235:6: ( (lv_results_21_0= ruleFormalParameter ) ) (otherlv_22= ',' ( (lv_results_23_0= ruleFormalParameter ) ) )*
{
// InternalVerify.g:2235:6: ( (lv_results_21_0= ruleFormalParameter ) )
// InternalVerify.g:2236:7: (lv_results_21_0= ruleFormalParameter )
{
// InternalVerify.g:2236:7: (lv_results_21_0= ruleFormalParameter )
// InternalVerify.g:2237:8: lv_results_21_0= ruleFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getResultsFormalParameterParserRuleCall_2_4_2_0_0());
}
pushFollow(FOLLOW_32);
lv_results_21_0=ruleFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationMethodRule());
}
add(
current,
"results",
lv_results_21_0,
"org.osate.verify.Verify.FormalParameter");
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:2254:6: (otherlv_22= ',' ( (lv_results_23_0= ruleFormalParameter ) ) )*
loop50:
do {
int alt50=2;
int LA50_0 = input.LA(1);
if ( (LA50_0==34) ) {
alt50=1;
}
switch (alt50) {
case 1 :
// InternalVerify.g:2255:7: otherlv_22= ',' ( (lv_results_23_0= ruleFormalParameter ) )
{
otherlv_22=(Token)match(input,34,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_22, grammarAccess.getVerificationMethodAccess().getCommaKeyword_2_4_2_1_0());
}
// InternalVerify.g:2259:7: ( (lv_results_23_0= ruleFormalParameter ) )
// InternalVerify.g:2260:8: (lv_results_23_0= ruleFormalParameter )
{
// InternalVerify.g:2260:8: (lv_results_23_0= ruleFormalParameter )
// InternalVerify.g:2261:9: lv_results_23_0= ruleFormalParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getResultsFormalParameterParserRuleCall_2_4_2_1_1_0());
}
pushFollow(FOLLOW_32);
lv_results_23_0=ruleFormalParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationMethodRule());
}
add(
current,
"results",
lv_results_23_0,
"org.osate.verify.Verify.FormalParameter");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop50;
}
} while (true);
}
break;
}
otherlv_24=(Token)match(input,36,FOLLOW_52); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_24, grammarAccess.getVerificationMethodAccess().getRightParenthesisKeyword_2_4_3());
}
}
break;
}
// InternalVerify.g:2285:4: ( ( (lv_isPredicate_25_0= 'boolean' ) ) | ( (lv_isResultReport_26_0= 'report' ) ) )?
int alt53=3;
int LA53_0 = input.LA(1);
if ( (LA53_0==49) ) {
alt53=1;
}
else if ( (LA53_0==50) ) {
alt53=2;
}
switch (alt53) {
case 1 :
// InternalVerify.g:2286:5: ( (lv_isPredicate_25_0= 'boolean' ) )
{
// InternalVerify.g:2286:5: ( (lv_isPredicate_25_0= 'boolean' ) )
// InternalVerify.g:2287:6: (lv_isPredicate_25_0= 'boolean' )
{
// InternalVerify.g:2287:6: (lv_isPredicate_25_0= 'boolean' )
// InternalVerify.g:2288:7: lv_isPredicate_25_0= 'boolean'
{
lv_isPredicate_25_0=(Token)match(input,49,FOLLOW_53); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_isPredicate_25_0, grammarAccess.getVerificationMethodAccess().getIsPredicateBooleanKeyword_2_5_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationMethodRule());
}
setWithLastConsumed(current, "isPredicate", true, "boolean");
}
}
}
}
break;
case 2 :
// InternalVerify.g:2301:5: ( (lv_isResultReport_26_0= 'report' ) )
{
// InternalVerify.g:2301:5: ( (lv_isResultReport_26_0= 'report' ) )
// InternalVerify.g:2302:6: (lv_isResultReport_26_0= 'report' )
{
// InternalVerify.g:2302:6: (lv_isResultReport_26_0= 'report' )
// InternalVerify.g:2303:7: lv_isResultReport_26_0= 'report'
{
lv_isResultReport_26_0=(Token)match(input,50,FOLLOW_53); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_isResultReport_26_0, grammarAccess.getVerificationMethodAccess().getIsResultReportReportKeyword_2_5_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationMethodRule());
}
setWithLastConsumed(current, "isResultReport", true, "report");
}
}
}
}
break;
}
}
break;
}
// InternalVerify.g:2317:3: (otherlv_27= ':' ( (lv_title_28_0= RULE_STRING ) ) )?
int alt55=2;
int LA55_0 = input.LA(1);
if ( (LA55_0==19) ) {
alt55=1;
}
switch (alt55) {
case 1 :
// InternalVerify.g:2318:4: otherlv_27= ':' ( (lv_title_28_0= RULE_STRING ) )
{
otherlv_27=(Token)match(input,19,FOLLOW_7); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_27, grammarAccess.getVerificationMethodAccess().getColonKeyword_3_0());
}
// InternalVerify.g:2322:4: ( (lv_title_28_0= RULE_STRING ) )
// InternalVerify.g:2323:5: (lv_title_28_0= RULE_STRING )
{
// InternalVerify.g:2323:5: (lv_title_28_0= RULE_STRING )
// InternalVerify.g:2324:6: lv_title_28_0= RULE_STRING
{
lv_title_28_0=(Token)match(input,RULE_STRING,FOLLOW_54); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_title_28_0, grammarAccess.getVerificationMethodAccess().getTitleSTRINGTerminalRuleCall_3_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationMethodRule());
}
setWithLastConsumed(
current,
"title",
lv_title_28_0,
"org.eclipse.xtext.common.Terminals.STRING");
}
}
}
}
break;
}
// InternalVerify.g:2341:3: (otherlv_29= 'for' ( ( ( ruleAadlClassifierReference ) ) | ( (lv_componentCategory_31_0= ruleComponentCategory ) )+ ) )?
int alt58=2;
int LA58_0 = input.LA(1);
if ( (LA58_0==20) ) {
alt58=1;
}
switch (alt58) {
case 1 :
// InternalVerify.g:2342:4: otherlv_29= 'for' ( ( ( ruleAadlClassifierReference ) ) | ( (lv_componentCategory_31_0= ruleComponentCategory ) )+ )
{
otherlv_29=(Token)match(input,20,FOLLOW_55); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_29, grammarAccess.getVerificationMethodAccess().getForKeyword_4_0());
}
// InternalVerify.g:2346:4: ( ( ( ruleAadlClassifierReference ) ) | ( (lv_componentCategory_31_0= ruleComponentCategory ) )+ )
int alt57=2;
int LA57_0 = input.LA(1);
if ( (LA57_0==RULE_ID) ) {
alt57=1;
}
else if ( ((LA57_0>=96 && LA57_0<=103)||(LA57_0>=105 && LA57_0<=107)) ) {
alt57=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 57, 0, input);
throw nvae;
}
switch (alt57) {
case 1 :
// InternalVerify.g:2347:5: ( ( ruleAadlClassifierReference ) )
{
// InternalVerify.g:2347:5: ( ( ruleAadlClassifierReference ) )
// InternalVerify.g:2348:6: ( ruleAadlClassifierReference )
{
// InternalVerify.g:2348:6: ( ruleAadlClassifierReference )
// InternalVerify.g:2349:7: ruleAadlClassifierReference
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationMethodRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getTargetComponentClassifierCrossReference_4_1_0_0());
}
pushFollow(FOLLOW_9);
ruleAadlClassifierReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// InternalVerify.g:2364:5: ( (lv_componentCategory_31_0= ruleComponentCategory ) )+
{
// InternalVerify.g:2364:5: ( (lv_componentCategory_31_0= ruleComponentCategory ) )+
int cnt56=0;
loop56:
do {
int alt56=2;
int LA56_0 = input.LA(1);
if ( ((LA56_0>=96 && LA56_0<=103)||(LA56_0>=105 && LA56_0<=107)) ) {
alt56=1;
}
switch (alt56) {
case 1 :
// InternalVerify.g:2365:6: (lv_componentCategory_31_0= ruleComponentCategory )
{
// InternalVerify.g:2365:6: (lv_componentCategory_31_0= ruleComponentCategory )
// InternalVerify.g:2366:7: lv_componentCategory_31_0= ruleComponentCategory
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getComponentCategoryComponentCategoryParserRuleCall_4_1_1_0());
}
pushFollow(FOLLOW_56);
lv_componentCategory_31_0=ruleComponentCategory();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationMethodRule());
}
add(
current,
"componentCategory",
lv_componentCategory_31_0,
"org.osate.alisa.common.Common.ComponentCategory");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
if ( cnt56 >= 1 ) break loop56;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(56, input);
throw eee;
}
cnt56++;
} while (true);
}
break;
}
}
break;
}
otherlv_32=(Token)match(input,21,FOLLOW_57); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_32, grammarAccess.getVerificationMethodAccess().getLeftSquareBracketKeyword_5());
}
// InternalVerify.g:2389:3: ( ( ( ( ({...}? => ( ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_description_35_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) )+ {...}?) ) )
// InternalVerify.g:2390:4: ( ( ( ({...}? => ( ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_description_35_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) )+ {...}?) )
{
// InternalVerify.g:2390:4: ( ( ( ({...}? => ( ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_description_35_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) )+ {...}?) )
// InternalVerify.g:2391:5: ( ( ({...}? => ( ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_description_35_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) )+ {...}?)
{
getUnorderedGroupHelper().enter(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6());
// InternalVerify.g:2394:5: ( ( ({...}? => ( ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_description_35_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) )+ {...}?)
// InternalVerify.g:2395:6: ( ({...}? => ( ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_description_35_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) )+ {...}?
{
// InternalVerify.g:2395:6: ( ({...}? => ( ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_description_35_0= ruleDescription ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) ) ) ) )+
int cnt60=0;
loop60:
do {
int alt60=6;
int LA60_0 = input.LA(1);
if ( ( LA60_0 >= 51 && LA60_0 <= 56 || LA60_0 == 58 ) && getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 0) ) {
alt60=1;
}
else if ( LA60_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 1) ) {
alt60=2;
}
else if ( LA60_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 2) ) {
alt60=3;
}
else if ( LA60_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 3) ) {
alt60=4;
}
else if ( LA60_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 4) ) {
alt60=5;
}
switch (alt60) {
case 1 :
// InternalVerify.g:2396:4: ({...}? => ( ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) ) ) )
{
// InternalVerify.g:2396:4: ({...}? => ( ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) ) ) )
// InternalVerify.g:2397:5: {...}? => ( ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationMethod", "getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 0)");
}
// InternalVerify.g:2397:115: ( ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) ) )
// InternalVerify.g:2398:6: ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 0);
// InternalVerify.g:2401:9: ({...}? => ( (lv_methodKind_34_0= ruleMethodKind ) ) )
// InternalVerify.g:2401:10: {...}? => ( (lv_methodKind_34_0= ruleMethodKind ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationMethod", "true");
}
// InternalVerify.g:2401:19: ( (lv_methodKind_34_0= ruleMethodKind ) )
// InternalVerify.g:2401:20: (lv_methodKind_34_0= ruleMethodKind )
{
// InternalVerify.g:2401:20: (lv_methodKind_34_0= ruleMethodKind )
// InternalVerify.g:2402:10: lv_methodKind_34_0= ruleMethodKind
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getMethodKindMethodKindParserRuleCall_6_0_0());
}
pushFollow(FOLLOW_58);
lv_methodKind_34_0=ruleMethodKind();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationMethodRule());
}
set(
current,
"methodKind",
lv_methodKind_34_0,
"org.osate.verify.Verify.MethodKind");
afterParserOrEnumRuleCall();
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6());
}
}
}
break;
case 2 :
// InternalVerify.g:2424:4: ({...}? => ( ({...}? => ( (lv_description_35_0= ruleDescription ) ) ) ) )
{
// InternalVerify.g:2424:4: ({...}? => ( ({...}? => ( (lv_description_35_0= ruleDescription ) ) ) ) )
// InternalVerify.g:2425:5: {...}? => ( ({...}? => ( (lv_description_35_0= ruleDescription ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationMethod", "getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 1)");
}
// InternalVerify.g:2425:115: ( ({...}? => ( (lv_description_35_0= ruleDescription ) ) ) )
// InternalVerify.g:2426:6: ({...}? => ( (lv_description_35_0= ruleDescription ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 1);
// InternalVerify.g:2429:9: ({...}? => ( (lv_description_35_0= ruleDescription ) ) )
// InternalVerify.g:2429:10: {...}? => ( (lv_description_35_0= ruleDescription ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationMethod", "true");
}
// InternalVerify.g:2429:19: ( (lv_description_35_0= ruleDescription ) )
// InternalVerify.g:2429:20: (lv_description_35_0= ruleDescription )
{
// InternalVerify.g:2429:20: (lv_description_35_0= ruleDescription )
// InternalVerify.g:2430:10: lv_description_35_0= ruleDescription
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getDescriptionDescriptionParserRuleCall_6_1_0());
}
pushFollow(FOLLOW_58);
lv_description_35_0=ruleDescription();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationMethodRule());
}
set(
current,
"description",
lv_description_35_0,
"org.osate.alisa.common.Common.Description");
afterParserOrEnumRuleCall();
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6());
}
}
}
break;
case 3 :
// InternalVerify.g:2452:4: ({...}? => ( ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) ) ) )
{
// InternalVerify.g:2452:4: ({...}? => ( ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) ) ) )
// InternalVerify.g:2453:5: {...}? => ( ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationMethod", "getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 2)");
}
// InternalVerify.g:2453:115: ( ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) ) )
// InternalVerify.g:2454:6: ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 2);
// InternalVerify.g:2457:9: ({...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) ) )
// InternalVerify.g:2457:10: {...}? => ( (lv_precondition_36_0= ruleVerificationPrecondition ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationMethod", "true");
}
// InternalVerify.g:2457:19: ( (lv_precondition_36_0= ruleVerificationPrecondition ) )
// InternalVerify.g:2457:20: (lv_precondition_36_0= ruleVerificationPrecondition )
{
// InternalVerify.g:2457:20: (lv_precondition_36_0= ruleVerificationPrecondition )
// InternalVerify.g:2458:10: lv_precondition_36_0= ruleVerificationPrecondition
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getPreconditionVerificationPreconditionParserRuleCall_6_2_0());
}
pushFollow(FOLLOW_58);
lv_precondition_36_0=ruleVerificationPrecondition();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationMethodRule());
}
set(
current,
"precondition",
lv_precondition_36_0,
"org.osate.verify.Verify.VerificationPrecondition");
afterParserOrEnumRuleCall();
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6());
}
}
}
break;
case 4 :
// InternalVerify.g:2480:4: ({...}? => ( ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) ) ) )
{
// InternalVerify.g:2480:4: ({...}? => ( ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) ) ) )
// InternalVerify.g:2481:5: {...}? => ( ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 3) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationMethod", "getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 3)");
}
// InternalVerify.g:2481:115: ( ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) ) )
// InternalVerify.g:2482:6: ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 3);
// InternalVerify.g:2485:9: ({...}? => ( (lv_validation_37_0= ruleVerificationValidation ) ) )
// InternalVerify.g:2485:10: {...}? => ( (lv_validation_37_0= ruleVerificationValidation ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationMethod", "true");
}
// InternalVerify.g:2485:19: ( (lv_validation_37_0= ruleVerificationValidation ) )
// InternalVerify.g:2485:20: (lv_validation_37_0= ruleVerificationValidation )
{
// InternalVerify.g:2485:20: (lv_validation_37_0= ruleVerificationValidation )
// InternalVerify.g:2486:10: lv_validation_37_0= ruleVerificationValidation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getValidationVerificationValidationParserRuleCall_6_3_0());
}
pushFollow(FOLLOW_58);
lv_validation_37_0=ruleVerificationValidation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getVerificationMethodRule());
}
set(
current,
"validation",
lv_validation_37_0,
"org.osate.verify.Verify.VerificationValidation");
afterParserOrEnumRuleCall();
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6());
}
}
}
break;
case 5 :
// InternalVerify.g:2508:4: ({...}? => ( ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) ) ) )
{
// InternalVerify.g:2508:4: ({...}? => ( ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) ) ) )
// InternalVerify.g:2509:5: {...}? => ( ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 4) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationMethod", "getUnorderedGroupHelper().canSelect(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 4)");
}
// InternalVerify.g:2509:115: ( ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) ) )
// InternalVerify.g:2510:6: ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) )
{
getUnorderedGroupHelper().select(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6(), 4);
// InternalVerify.g:2513:9: ({...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ ) )
// InternalVerify.g:2513:10: {...}? => (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationMethod", "true");
}
// InternalVerify.g:2513:19: (otherlv_38= 'category' ( ( ruleQualifiedName ) )+ )
// InternalVerify.g:2513:20: otherlv_38= 'category' ( ( ruleQualifiedName ) )+
{
otherlv_38=(Token)match(input,40,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_38, grammarAccess.getVerificationMethodAccess().getCategoryKeyword_6_4_0());
}
// InternalVerify.g:2517:9: ( ( ruleQualifiedName ) )+
int cnt59=0;
loop59:
do {
int alt59=2;
int LA59_0 = input.LA(1);
if ( (LA59_0==RULE_ID) ) {
alt59=1;
}
switch (alt59) {
case 1 :
// InternalVerify.g:2518:10: ( ruleQualifiedName )
{
// InternalVerify.g:2518:10: ( ruleQualifiedName )
// InternalVerify.g:2519:11: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getVerificationMethodRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getVerificationMethodAccess().getCategoryCategoryCrossReference_6_4_1_0());
}
pushFollow(FOLLOW_59);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
break;
default :
if ( cnt59 >= 1 ) break loop59;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(59, input);
throw eee;
}
cnt59++;
} while (true);
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6());
}
}
}
break;
default :
if ( cnt60 >= 1 ) break loop60;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(60, input);
throw eee;
}
cnt60++;
} while (true);
if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6()) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleVerificationMethod", "getUnorderedGroupHelper().canLeave(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6())");
}
}
}
getUnorderedGroupHelper().leave(grammarAccess.getVerificationMethodAccess().getUnorderedGroup_6());
}
otherlv_40=(Token)match(input,23,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_40, grammarAccess.getVerificationMethodAccess().getRightSquareBracketKeyword_7());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleVerificationMethod"
// $ANTLR start "entryRuleMethodKind"
// InternalVerify.g:2555:1: entryRuleMethodKind returns [EObject current=null] : iv_ruleMethodKind= ruleMethodKind EOF ;
public final EObject entryRuleMethodKind() throws RecognitionException {
EObject current = null;
EObject iv_ruleMethodKind = null;
try {
// InternalVerify.g:2555:51: (iv_ruleMethodKind= ruleMethodKind EOF )
// InternalVerify.g:2556:2: iv_ruleMethodKind= ruleMethodKind EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMethodKindRule());
}
pushFollow(FOLLOW_1);
iv_ruleMethodKind=ruleMethodKind();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleMethodKind;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleMethodKind"
// $ANTLR start "ruleMethodKind"
// InternalVerify.g:2562:1: ruleMethodKind returns [EObject current=null] : (this_ResoluteMethod_0= ruleResoluteMethod | this_JavaMethod_1= ruleJavaMethod | this_ManualMethod_2= ruleManualMethod | this_PluginMethod_3= rulePluginMethod | this_AgreeMethod_4= ruleAgreeMethod | this_JUnit4Method_5= ruleJUnit4Method | this_PythonMethod_6= rulePythonMethod ) ;
public final EObject ruleMethodKind() throws RecognitionException {
EObject current = null;
EObject this_ResoluteMethod_0 = null;
EObject this_JavaMethod_1 = null;
EObject this_ManualMethod_2 = null;
EObject this_PluginMethod_3 = null;
EObject this_AgreeMethod_4 = null;
EObject this_JUnit4Method_5 = null;
EObject this_PythonMethod_6 = null;
enterRule();
try {
// InternalVerify.g:2568:2: ( (this_ResoluteMethod_0= ruleResoluteMethod | this_JavaMethod_1= ruleJavaMethod | this_ManualMethod_2= ruleManualMethod | this_PluginMethod_3= rulePluginMethod | this_AgreeMethod_4= ruleAgreeMethod | this_JUnit4Method_5= ruleJUnit4Method | this_PythonMethod_6= rulePythonMethod ) )
// InternalVerify.g:2569:2: (this_ResoluteMethod_0= ruleResoluteMethod | this_JavaMethod_1= ruleJavaMethod | this_ManualMethod_2= ruleManualMethod | this_PluginMethod_3= rulePluginMethod | this_AgreeMethod_4= ruleAgreeMethod | this_JUnit4Method_5= ruleJUnit4Method | this_PythonMethod_6= rulePythonMethod )
{
// InternalVerify.g:2569:2: (this_ResoluteMethod_0= ruleResoluteMethod | this_JavaMethod_1= ruleJavaMethod | this_ManualMethod_2= ruleManualMethod | this_PluginMethod_3= rulePluginMethod | this_AgreeMethod_4= ruleAgreeMethod | this_JUnit4Method_5= ruleJUnit4Method | this_PythonMethod_6= rulePythonMethod )
int alt61=7;
switch ( input.LA(1) ) {
case 51:
{
alt61=1;
}
break;
case 52:
{
alt61=2;
}
break;
case 54:
{
alt61=3;
}
break;
case 55:
{
alt61=4;
}
break;
case 56:
{
alt61=5;
}
break;
case 58:
{
alt61=6;
}
break;
case 53:
{
alt61=7;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 61, 0, input);
throw nvae;
}
switch (alt61) {
case 1 :
// InternalVerify.g:2570:3: this_ResoluteMethod_0= ruleResoluteMethod
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMethodKindAccess().getResoluteMethodParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_ResoluteMethod_0=ruleResoluteMethod();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ResoluteMethod_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalVerify.g:2579:3: this_JavaMethod_1= ruleJavaMethod
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMethodKindAccess().getJavaMethodParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_JavaMethod_1=ruleJavaMethod();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_JavaMethod_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// InternalVerify.g:2588:3: this_ManualMethod_2= ruleManualMethod
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMethodKindAccess().getManualMethodParserRuleCall_2());
}
pushFollow(FOLLOW_2);
this_ManualMethod_2=ruleManualMethod();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ManualMethod_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// InternalVerify.g:2597:3: this_PluginMethod_3= rulePluginMethod
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMethodKindAccess().getPluginMethodParserRuleCall_3());
}
pushFollow(FOLLOW_2);
this_PluginMethod_3=rulePluginMethod();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PluginMethod_3;
afterParserOrEnumRuleCall();
}
}
break;
case 5 :
// InternalVerify.g:2606:3: this_AgreeMethod_4= ruleAgreeMethod
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMethodKindAccess().getAgreeMethodParserRuleCall_4());
}
pushFollow(FOLLOW_2);
this_AgreeMethod_4=ruleAgreeMethod();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AgreeMethod_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// InternalVerify.g:2615:3: this_JUnit4Method_5= ruleJUnit4Method
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMethodKindAccess().getJUnit4MethodParserRuleCall_5());
}
pushFollow(FOLLOW_2);
this_JUnit4Method_5=ruleJUnit4Method();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_JUnit4Method_5;
afterParserOrEnumRuleCall();
}
}
break;
case 7 :
// InternalVerify.g:2624:3: this_PythonMethod_6= rulePythonMethod
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getMethodKindAccess().getPythonMethodParserRuleCall_6());
}
pushFollow(FOLLOW_2);
this_PythonMethod_6=rulePythonMethod();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_PythonMethod_6;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleMethodKind"
// $ANTLR start "entryRuleResoluteMethod"
// InternalVerify.g:2636:1: entryRuleResoluteMethod returns [EObject current=null] : iv_ruleResoluteMethod= ruleResoluteMethod EOF ;
public final EObject entryRuleResoluteMethod() throws RecognitionException {
EObject current = null;
EObject iv_ruleResoluteMethod = null;
try {
// InternalVerify.g:2636:55: (iv_ruleResoluteMethod= ruleResoluteMethod EOF )
// InternalVerify.g:2637:2: iv_ruleResoluteMethod= ruleResoluteMethod EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getResoluteMethodRule());
}
pushFollow(FOLLOW_1);
iv_ruleResoluteMethod=ruleResoluteMethod();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleResoluteMethod;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleResoluteMethod"
// $ANTLR start "ruleResoluteMethod"
// InternalVerify.g:2643:1: ruleResoluteMethod returns [EObject current=null] : (otherlv_0= 'resolute' ( ( ruleQualifiedName ) ) ) ;
public final EObject ruleResoluteMethod() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
enterRule();
try {
// InternalVerify.g:2649:2: ( (otherlv_0= 'resolute' ( ( ruleQualifiedName ) ) ) )
// InternalVerify.g:2650:2: (otherlv_0= 'resolute' ( ( ruleQualifiedName ) ) )
{
// InternalVerify.g:2650:2: (otherlv_0= 'resolute' ( ( ruleQualifiedName ) ) )
// InternalVerify.g:2651:3: otherlv_0= 'resolute' ( ( ruleQualifiedName ) )
{
otherlv_0=(Token)match(input,51,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getResoluteMethodAccess().getResoluteKeyword_0());
}
// InternalVerify.g:2655:3: ( ( ruleQualifiedName ) )
// InternalVerify.g:2656:4: ( ruleQualifiedName )
{
// InternalVerify.g:2656:4: ( ruleQualifiedName )
// InternalVerify.g:2657:5: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getResoluteMethodRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getResoluteMethodAccess().getMethodReferenceEObjectCrossReference_1_0());
}
pushFollow(FOLLOW_2);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleResoluteMethod"
// $ANTLR start "entryRuleJavaMethod"
// InternalVerify.g:2675:1: entryRuleJavaMethod returns [EObject current=null] : iv_ruleJavaMethod= ruleJavaMethod EOF ;
public final EObject entryRuleJavaMethod() throws RecognitionException {
EObject current = null;
EObject iv_ruleJavaMethod = null;
try {
// InternalVerify.g:2675:51: (iv_ruleJavaMethod= ruleJavaMethod EOF )
// InternalVerify.g:2676:2: iv_ruleJavaMethod= ruleJavaMethod EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJavaMethodRule());
}
pushFollow(FOLLOW_1);
iv_ruleJavaMethod=ruleJavaMethod();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJavaMethod;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJavaMethod"
// $ANTLR start "ruleJavaMethod"
// InternalVerify.g:2682:1: ruleJavaMethod returns [EObject current=null] : (otherlv_0= 'java' ( (lv_methodPath_1_0= ruleQualifiedName ) ) (otherlv_2= '(' ( ( (lv_params_3_0= ruleJavaParameter ) ) (otherlv_4= ',' ( (lv_params_5_0= ruleJavaParameter ) ) )* )? otherlv_6= ')' )? ) ;
public final EObject ruleJavaMethod() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
AntlrDatatypeRuleToken lv_methodPath_1_0 = null;
EObject lv_params_3_0 = null;
EObject lv_params_5_0 = null;
enterRule();
try {
// InternalVerify.g:2688:2: ( (otherlv_0= 'java' ( (lv_methodPath_1_0= ruleQualifiedName ) ) (otherlv_2= '(' ( ( (lv_params_3_0= ruleJavaParameter ) ) (otherlv_4= ',' ( (lv_params_5_0= ruleJavaParameter ) ) )* )? otherlv_6= ')' )? ) )
// InternalVerify.g:2689:2: (otherlv_0= 'java' ( (lv_methodPath_1_0= ruleQualifiedName ) ) (otherlv_2= '(' ( ( (lv_params_3_0= ruleJavaParameter ) ) (otherlv_4= ',' ( (lv_params_5_0= ruleJavaParameter ) ) )* )? otherlv_6= ')' )? )
{
// InternalVerify.g:2689:2: (otherlv_0= 'java' ( (lv_methodPath_1_0= ruleQualifiedName ) ) (otherlv_2= '(' ( ( (lv_params_3_0= ruleJavaParameter ) ) (otherlv_4= ',' ( (lv_params_5_0= ruleJavaParameter ) ) )* )? otherlv_6= ')' )? )
// InternalVerify.g:2690:3: otherlv_0= 'java' ( (lv_methodPath_1_0= ruleQualifiedName ) ) (otherlv_2= '(' ( ( (lv_params_3_0= ruleJavaParameter ) ) (otherlv_4= ',' ( (lv_params_5_0= ruleJavaParameter ) ) )* )? otherlv_6= ')' )?
{
otherlv_0=(Token)match(input,52,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJavaMethodAccess().getJavaKeyword_0());
}
// InternalVerify.g:2694:3: ( (lv_methodPath_1_0= ruleQualifiedName ) )
// InternalVerify.g:2695:4: (lv_methodPath_1_0= ruleQualifiedName )
{
// InternalVerify.g:2695:4: (lv_methodPath_1_0= ruleQualifiedName )
// InternalVerify.g:2696:5: lv_methodPath_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJavaMethodAccess().getMethodPathQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_60);
lv_methodPath_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJavaMethodRule());
}
set(
current,
"methodPath",
lv_methodPath_1_0,
"org.osate.alisa.common.Common.QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:2713:3: (otherlv_2= '(' ( ( (lv_params_3_0= ruleJavaParameter ) ) (otherlv_4= ',' ( (lv_params_5_0= ruleJavaParameter ) ) )* )? otherlv_6= ')' )?
int alt64=2;
int LA64_0 = input.LA(1);
if ( (LA64_0==35) ) {
alt64=1;
}
switch (alt64) {
case 1 :
// InternalVerify.g:2714:4: otherlv_2= '(' ( ( (lv_params_3_0= ruleJavaParameter ) ) (otherlv_4= ',' ( (lv_params_5_0= ruleJavaParameter ) ) )* )? otherlv_6= ')'
{
otherlv_2=(Token)match(input,35,FOLLOW_39); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getJavaMethodAccess().getLeftParenthesisKeyword_2_0());
}
// InternalVerify.g:2718:4: ( ( (lv_params_3_0= ruleJavaParameter ) ) (otherlv_4= ',' ( (lv_params_5_0= ruleJavaParameter ) ) )* )?
int alt63=2;
int LA63_0 = input.LA(1);
if ( (LA63_0==RULE_ID) ) {
alt63=1;
}
switch (alt63) {
case 1 :
// InternalVerify.g:2719:5: ( (lv_params_3_0= ruleJavaParameter ) ) (otherlv_4= ',' ( (lv_params_5_0= ruleJavaParameter ) ) )*
{
// InternalVerify.g:2719:5: ( (lv_params_3_0= ruleJavaParameter ) )
// InternalVerify.g:2720:6: (lv_params_3_0= ruleJavaParameter )
{
// InternalVerify.g:2720:6: (lv_params_3_0= ruleJavaParameter )
// InternalVerify.g:2721:7: lv_params_3_0= ruleJavaParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJavaMethodAccess().getParamsJavaParameterParserRuleCall_2_1_0_0());
}
pushFollow(FOLLOW_32);
lv_params_3_0=ruleJavaParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJavaMethodRule());
}
add(
current,
"params",
lv_params_3_0,
"org.osate.verify.Verify.JavaParameter");
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:2738:5: (otherlv_4= ',' ( (lv_params_5_0= ruleJavaParameter ) ) )*
loop62:
do {
int alt62=2;
int LA62_0 = input.LA(1);
if ( (LA62_0==34) ) {
alt62=1;
}
switch (alt62) {
case 1 :
// InternalVerify.g:2739:6: otherlv_4= ',' ( (lv_params_5_0= ruleJavaParameter ) )
{
otherlv_4=(Token)match(input,34,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getJavaMethodAccess().getCommaKeyword_2_1_1_0());
}
// InternalVerify.g:2743:6: ( (lv_params_5_0= ruleJavaParameter ) )
// InternalVerify.g:2744:7: (lv_params_5_0= ruleJavaParameter )
{
// InternalVerify.g:2744:7: (lv_params_5_0= ruleJavaParameter )
// InternalVerify.g:2745:8: lv_params_5_0= ruleJavaParameter
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJavaMethodAccess().getParamsJavaParameterParserRuleCall_2_1_1_1_0());
}
pushFollow(FOLLOW_32);
lv_params_5_0=ruleJavaParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJavaMethodRule());
}
add(
current,
"params",
lv_params_5_0,
"org.osate.verify.Verify.JavaParameter");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop62;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,36,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getJavaMethodAccess().getRightParenthesisKeyword_2_2());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJavaMethod"
// $ANTLR start "entryRulePythonMethod"
// InternalVerify.g:2773:1: entryRulePythonMethod returns [EObject current=null] : iv_rulePythonMethod= rulePythonMethod EOF ;
public final EObject entryRulePythonMethod() throws RecognitionException {
EObject current = null;
EObject iv_rulePythonMethod = null;
try {
// InternalVerify.g:2773:53: (iv_rulePythonMethod= rulePythonMethod EOF )
// InternalVerify.g:2774:2: iv_rulePythonMethod= rulePythonMethod EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPythonMethodRule());
}
pushFollow(FOLLOW_1);
iv_rulePythonMethod=rulePythonMethod();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePythonMethod;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePythonMethod"
// $ANTLR start "rulePythonMethod"
// InternalVerify.g:2780:1: rulePythonMethod returns [EObject current=null] : (otherlv_0= 'python' ( (lv_methodPath_1_0= ruleQualifiedName ) ) ) ;
public final EObject rulePythonMethod() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
AntlrDatatypeRuleToken lv_methodPath_1_0 = null;
enterRule();
try {
// InternalVerify.g:2786:2: ( (otherlv_0= 'python' ( (lv_methodPath_1_0= ruleQualifiedName ) ) ) )
// InternalVerify.g:2787:2: (otherlv_0= 'python' ( (lv_methodPath_1_0= ruleQualifiedName ) ) )
{
// InternalVerify.g:2787:2: (otherlv_0= 'python' ( (lv_methodPath_1_0= ruleQualifiedName ) ) )
// InternalVerify.g:2788:3: otherlv_0= 'python' ( (lv_methodPath_1_0= ruleQualifiedName ) )
{
otherlv_0=(Token)match(input,53,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getPythonMethodAccess().getPythonKeyword_0());
}
// InternalVerify.g:2792:3: ( (lv_methodPath_1_0= ruleQualifiedName ) )
// InternalVerify.g:2793:4: (lv_methodPath_1_0= ruleQualifiedName )
{
// InternalVerify.g:2793:4: (lv_methodPath_1_0= ruleQualifiedName )
// InternalVerify.g:2794:5: lv_methodPath_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPythonMethodAccess().getMethodPathQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
lv_methodPath_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getPythonMethodRule());
}
set(
current,
"methodPath",
lv_methodPath_1_0,
"org.osate.alisa.common.Common.QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePythonMethod"
// $ANTLR start "entryRuleManualMethod"
// InternalVerify.g:2815:1: entryRuleManualMethod returns [EObject current=null] : iv_ruleManualMethod= ruleManualMethod EOF ;
public final EObject entryRuleManualMethod() throws RecognitionException {
EObject current = null;
EObject iv_ruleManualMethod = null;
try {
// InternalVerify.g:2815:53: (iv_ruleManualMethod= ruleManualMethod EOF )
// InternalVerify.g:2816:2: iv_ruleManualMethod= ruleManualMethod EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getManualMethodRule());
}
pushFollow(FOLLOW_1);
iv_ruleManualMethod=ruleManualMethod();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleManualMethod;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleManualMethod"
// $ANTLR start "ruleManualMethod"
// InternalVerify.g:2822:1: ruleManualMethod returns [EObject current=null] : (otherlv_0= 'manual' () ( (lv_dialogID_2_0= ruleQualifiedName ) ) ) ;
public final EObject ruleManualMethod() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
AntlrDatatypeRuleToken lv_dialogID_2_0 = null;
enterRule();
try {
// InternalVerify.g:2828:2: ( (otherlv_0= 'manual' () ( (lv_dialogID_2_0= ruleQualifiedName ) ) ) )
// InternalVerify.g:2829:2: (otherlv_0= 'manual' () ( (lv_dialogID_2_0= ruleQualifiedName ) ) )
{
// InternalVerify.g:2829:2: (otherlv_0= 'manual' () ( (lv_dialogID_2_0= ruleQualifiedName ) ) )
// InternalVerify.g:2830:3: otherlv_0= 'manual' () ( (lv_dialogID_2_0= ruleQualifiedName ) )
{
otherlv_0=(Token)match(input,54,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getManualMethodAccess().getManualKeyword_0());
}
// InternalVerify.g:2834:3: ()
// InternalVerify.g:2835:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getManualMethodAccess().getManualMethodAction_1(),
current);
}
}
// InternalVerify.g:2841:3: ( (lv_dialogID_2_0= ruleQualifiedName ) )
// InternalVerify.g:2842:4: (lv_dialogID_2_0= ruleQualifiedName )
{
// InternalVerify.g:2842:4: (lv_dialogID_2_0= ruleQualifiedName )
// InternalVerify.g:2843:5: lv_dialogID_2_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getManualMethodAccess().getDialogIDQualifiedNameParserRuleCall_2_0());
}
pushFollow(FOLLOW_2);
lv_dialogID_2_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getManualMethodRule());
}
set(
current,
"dialogID",
lv_dialogID_2_0,
"org.osate.alisa.common.Common.QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleManualMethod"
// $ANTLR start "entryRulePluginMethod"
// InternalVerify.g:2864:1: entryRulePluginMethod returns [EObject current=null] : iv_rulePluginMethod= rulePluginMethod EOF ;
public final EObject entryRulePluginMethod() throws RecognitionException {
EObject current = null;
EObject iv_rulePluginMethod = null;
try {
// InternalVerify.g:2864:53: (iv_rulePluginMethod= rulePluginMethod EOF )
// InternalVerify.g:2865:2: iv_rulePluginMethod= rulePluginMethod EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPluginMethodRule());
}
pushFollow(FOLLOW_1);
iv_rulePluginMethod=rulePluginMethod();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePluginMethod;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePluginMethod"
// $ANTLR start "rulePluginMethod"
// InternalVerify.g:2871:1: rulePluginMethod returns [EObject current=null] : (otherlv_0= 'plugin' ( (lv_methodID_1_0= RULE_ID ) ) ) ;
public final EObject rulePluginMethod() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_methodID_1_0=null;
enterRule();
try {
// InternalVerify.g:2877:2: ( (otherlv_0= 'plugin' ( (lv_methodID_1_0= RULE_ID ) ) ) )
// InternalVerify.g:2878:2: (otherlv_0= 'plugin' ( (lv_methodID_1_0= RULE_ID ) ) )
{
// InternalVerify.g:2878:2: (otherlv_0= 'plugin' ( (lv_methodID_1_0= RULE_ID ) ) )
// InternalVerify.g:2879:3: otherlv_0= 'plugin' ( (lv_methodID_1_0= RULE_ID ) )
{
otherlv_0=(Token)match(input,55,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getPluginMethodAccess().getPluginKeyword_0());
}
// InternalVerify.g:2883:3: ( (lv_methodID_1_0= RULE_ID ) )
// InternalVerify.g:2884:4: (lv_methodID_1_0= RULE_ID )
{
// InternalVerify.g:2884:4: (lv_methodID_1_0= RULE_ID )
// InternalVerify.g:2885:5: lv_methodID_1_0= RULE_ID
{
lv_methodID_1_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_methodID_1_0, grammarAccess.getPluginMethodAccess().getMethodIDIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPluginMethodRule());
}
setWithLastConsumed(
current,
"methodID",
lv_methodID_1_0,
"org.eclipse.xtext.common.Terminals.ID");
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePluginMethod"
// $ANTLR start "entryRuleAgreeMethod"
// InternalVerify.g:2905:1: entryRuleAgreeMethod returns [EObject current=null] : iv_ruleAgreeMethod= ruleAgreeMethod EOF ;
public final EObject entryRuleAgreeMethod() throws RecognitionException {
EObject current = null;
EObject iv_ruleAgreeMethod = null;
try {
// InternalVerify.g:2905:52: (iv_ruleAgreeMethod= ruleAgreeMethod EOF )
// InternalVerify.g:2906:2: iv_ruleAgreeMethod= ruleAgreeMethod EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAgreeMethodRule());
}
pushFollow(FOLLOW_1);
iv_ruleAgreeMethod=ruleAgreeMethod();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAgreeMethod;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAgreeMethod"
// $ANTLR start "ruleAgreeMethod"
// InternalVerify.g:2912:1: ruleAgreeMethod returns [EObject current=null] : (otherlv_0= 'agree' ( ( (lv_singleLayer_1_0= 'single' ) ) | ( (lv_all_2_0= 'all' ) ) ) ) ;
public final EObject ruleAgreeMethod() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_singleLayer_1_0=null;
Token lv_all_2_0=null;
enterRule();
try {
// InternalVerify.g:2918:2: ( (otherlv_0= 'agree' ( ( (lv_singleLayer_1_0= 'single' ) ) | ( (lv_all_2_0= 'all' ) ) ) ) )
// InternalVerify.g:2919:2: (otherlv_0= 'agree' ( ( (lv_singleLayer_1_0= 'single' ) ) | ( (lv_all_2_0= 'all' ) ) ) )
{
// InternalVerify.g:2919:2: (otherlv_0= 'agree' ( ( (lv_singleLayer_1_0= 'single' ) ) | ( (lv_all_2_0= 'all' ) ) ) )
// InternalVerify.g:2920:3: otherlv_0= 'agree' ( ( (lv_singleLayer_1_0= 'single' ) ) | ( (lv_all_2_0= 'all' ) ) )
{
otherlv_0=(Token)match(input,56,FOLLOW_61); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getAgreeMethodAccess().getAgreeKeyword_0());
}
// InternalVerify.g:2924:3: ( ( (lv_singleLayer_1_0= 'single' ) ) | ( (lv_all_2_0= 'all' ) ) )
int alt65=2;
int LA65_0 = input.LA(1);
if ( (LA65_0==57) ) {
alt65=1;
}
else if ( (LA65_0==33) ) {
alt65=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 65, 0, input);
throw nvae;
}
switch (alt65) {
case 1 :
// InternalVerify.g:2925:4: ( (lv_singleLayer_1_0= 'single' ) )
{
// InternalVerify.g:2925:4: ( (lv_singleLayer_1_0= 'single' ) )
// InternalVerify.g:2926:5: (lv_singleLayer_1_0= 'single' )
{
// InternalVerify.g:2926:5: (lv_singleLayer_1_0= 'single' )
// InternalVerify.g:2927:6: lv_singleLayer_1_0= 'single'
{
lv_singleLayer_1_0=(Token)match(input,57,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_singleLayer_1_0, grammarAccess.getAgreeMethodAccess().getSingleLayerSingleKeyword_1_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getAgreeMethodRule());
}
setWithLastConsumed(current, "singleLayer", true, "single");
}
}
}
}
break;
case 2 :
// InternalVerify.g:2940:4: ( (lv_all_2_0= 'all' ) )
{
// InternalVerify.g:2940:4: ( (lv_all_2_0= 'all' ) )
// InternalVerify.g:2941:5: (lv_all_2_0= 'all' )
{
// InternalVerify.g:2941:5: (lv_all_2_0= 'all' )
// InternalVerify.g:2942:6: lv_all_2_0= 'all'
{
lv_all_2_0=(Token)match(input,33,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_all_2_0, grammarAccess.getAgreeMethodAccess().getAllAllKeyword_1_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getAgreeMethodRule());
}
setWithLastConsumed(current, "all", true, "all");
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAgreeMethod"
// $ANTLR start "entryRuleJUnit4Method"
// InternalVerify.g:2959:1: entryRuleJUnit4Method returns [EObject current=null] : iv_ruleJUnit4Method= ruleJUnit4Method EOF ;
public final EObject entryRuleJUnit4Method() throws RecognitionException {
EObject current = null;
EObject iv_ruleJUnit4Method = null;
try {
// InternalVerify.g:2959:53: (iv_ruleJUnit4Method= ruleJUnit4Method EOF )
// InternalVerify.g:2960:2: iv_ruleJUnit4Method= ruleJUnit4Method EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJUnit4MethodRule());
}
pushFollow(FOLLOW_1);
iv_ruleJUnit4Method=ruleJUnit4Method();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJUnit4Method;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJUnit4Method"
// $ANTLR start "ruleJUnit4Method"
// InternalVerify.g:2966:1: ruleJUnit4Method returns [EObject current=null] : (otherlv_0= 'junit' ( (lv_classPath_1_0= ruleQualifiedName ) ) ) ;
public final EObject ruleJUnit4Method() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
AntlrDatatypeRuleToken lv_classPath_1_0 = null;
enterRule();
try {
// InternalVerify.g:2972:2: ( (otherlv_0= 'junit' ( (lv_classPath_1_0= ruleQualifiedName ) ) ) )
// InternalVerify.g:2973:2: (otherlv_0= 'junit' ( (lv_classPath_1_0= ruleQualifiedName ) ) )
{
// InternalVerify.g:2973:2: (otherlv_0= 'junit' ( (lv_classPath_1_0= ruleQualifiedName ) ) )
// InternalVerify.g:2974:3: otherlv_0= 'junit' ( (lv_classPath_1_0= ruleQualifiedName ) )
{
otherlv_0=(Token)match(input,58,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJUnit4MethodAccess().getJunitKeyword_0());
}
// InternalVerify.g:2978:3: ( (lv_classPath_1_0= ruleQualifiedName ) )
// InternalVerify.g:2979:4: (lv_classPath_1_0= ruleQualifiedName )
{
// InternalVerify.g:2979:4: (lv_classPath_1_0= ruleQualifiedName )
// InternalVerify.g:2980:5: lv_classPath_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJUnit4MethodAccess().getClassPathQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
lv_classPath_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getJUnit4MethodRule());
}
set(
current,
"classPath",
lv_classPath_1_0,
"org.osate.alisa.common.Common.QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJUnit4Method"
// $ANTLR start "entryRuleJavaParameter"
// InternalVerify.g:3001:1: entryRuleJavaParameter returns [EObject current=null] : iv_ruleJavaParameter= ruleJavaParameter EOF ;
public final EObject entryRuleJavaParameter() throws RecognitionException {
EObject current = null;
EObject iv_ruleJavaParameter = null;
try {
// InternalVerify.g:3001:54: (iv_ruleJavaParameter= ruleJavaParameter EOF )
// InternalVerify.g:3002:2: iv_ruleJavaParameter= ruleJavaParameter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJavaParameterRule());
}
pushFollow(FOLLOW_1);
iv_ruleJavaParameter=ruleJavaParameter();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleJavaParameter;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleJavaParameter"
// $ANTLR start "ruleJavaParameter"
// InternalVerify.g:3008:1: ruleJavaParameter returns [EObject current=null] : ( ( (lv_parameterType_0_0= RULE_ID ) ) ( (lv_name_1_0= RULE_ID ) ) ) ;
public final EObject ruleJavaParameter() throws RecognitionException {
EObject current = null;
Token lv_parameterType_0_0=null;
Token lv_name_1_0=null;
enterRule();
try {
// InternalVerify.g:3014:2: ( ( ( (lv_parameterType_0_0= RULE_ID ) ) ( (lv_name_1_0= RULE_ID ) ) ) )
// InternalVerify.g:3015:2: ( ( (lv_parameterType_0_0= RULE_ID ) ) ( (lv_name_1_0= RULE_ID ) ) )
{
// InternalVerify.g:3015:2: ( ( (lv_parameterType_0_0= RULE_ID ) ) ( (lv_name_1_0= RULE_ID ) ) )
// InternalVerify.g:3016:3: ( (lv_parameterType_0_0= RULE_ID ) ) ( (lv_name_1_0= RULE_ID ) )
{
// InternalVerify.g:3016:3: ( (lv_parameterType_0_0= RULE_ID ) )
// InternalVerify.g:3017:4: (lv_parameterType_0_0= RULE_ID )
{
// InternalVerify.g:3017:4: (lv_parameterType_0_0= RULE_ID )
// InternalVerify.g:3018:5: lv_parameterType_0_0= RULE_ID
{
lv_parameterType_0_0=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_parameterType_0_0, grammarAccess.getJavaParameterAccess().getParameterTypeIDTerminalRuleCall_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getJavaParameterRule());
}
setWithLastConsumed(
current,
"parameterType",
lv_parameterType_0_0,
"org.eclipse.xtext.common.Terminals.ID");
}
}
}
// InternalVerify.g:3034:3: ( (lv_name_1_0= RULE_ID ) )
// InternalVerify.g:3035:4: (lv_name_1_0= RULE_ID )
{
// InternalVerify.g:3035:4: (lv_name_1_0= RULE_ID )
// InternalVerify.g:3036:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getJavaParameterAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getJavaParameterRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"org.eclipse.xtext.common.Terminals.ID");
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleJavaParameter"
// $ANTLR start "entryRuleDescription"
// InternalVerify.g:3056:1: entryRuleDescription returns [EObject current=null] : iv_ruleDescription= ruleDescription EOF ;
public final EObject entryRuleDescription() throws RecognitionException {
EObject current = null;
EObject iv_ruleDescription = null;
try {
// InternalVerify.g:3056:52: (iv_ruleDescription= ruleDescription EOF )
// InternalVerify.g:3057:2: iv_ruleDescription= ruleDescription EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDescriptionRule());
}
pushFollow(FOLLOW_1);
iv_ruleDescription=ruleDescription();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDescription;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDescription"
// $ANTLR start "ruleDescription"
// InternalVerify.g:3063:1: ruleDescription returns [EObject current=null] : (otherlv_0= 'description' ( (lv_description_1_0= ruleDescriptionElement ) )+ ) ;
public final EObject ruleDescription() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
EObject lv_description_1_0 = null;
enterRule();
try {
// InternalVerify.g:3069:2: ( (otherlv_0= 'description' ( (lv_description_1_0= ruleDescriptionElement ) )+ ) )
// InternalVerify.g:3070:2: (otherlv_0= 'description' ( (lv_description_1_0= ruleDescriptionElement ) )+ )
{
// InternalVerify.g:3070:2: (otherlv_0= 'description' ( (lv_description_1_0= ruleDescriptionElement ) )+ )
// InternalVerify.g:3071:3: otherlv_0= 'description' ( (lv_description_1_0= ruleDescriptionElement ) )+
{
otherlv_0=(Token)match(input,59,FOLLOW_62); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDescriptionAccess().getDescriptionKeyword_0());
}
// InternalVerify.g:3075:3: ( (lv_description_1_0= ruleDescriptionElement ) )+
int cnt66=0;
loop66:
do {
int alt66=2;
int LA66_0 = input.LA(1);
if ( (LA66_0==RULE_STRING||LA66_0==RULE_ID||LA66_0==60||LA66_0==71) ) {
alt66=1;
}
switch (alt66) {
case 1 :
// InternalVerify.g:3076:4: (lv_description_1_0= ruleDescriptionElement )
{
// InternalVerify.g:3076:4: (lv_description_1_0= ruleDescriptionElement )
// InternalVerify.g:3077:5: lv_description_1_0= ruleDescriptionElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDescriptionAccess().getDescriptionDescriptionElementParserRuleCall_1_0());
}
pushFollow(FOLLOW_63);
lv_description_1_0=ruleDescriptionElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDescriptionRule());
}
add(
current,
"description",
lv_description_1_0,
"org.osate.alisa.common.Common.DescriptionElement");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
if ( cnt66 >= 1 ) break loop66;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(66, input);
throw eee;
}
cnt66++;
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDescription"
// $ANTLR start "entryRuleDescriptionElement"
// InternalVerify.g:3098:1: entryRuleDescriptionElement returns [EObject current=null] : iv_ruleDescriptionElement= ruleDescriptionElement EOF ;
public final EObject entryRuleDescriptionElement() throws RecognitionException {
EObject current = null;
EObject iv_ruleDescriptionElement = null;
try {
// InternalVerify.g:3098:59: (iv_ruleDescriptionElement= ruleDescriptionElement EOF )
// InternalVerify.g:3099:2: iv_ruleDescriptionElement= ruleDescriptionElement EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDescriptionElementRule());
}
pushFollow(FOLLOW_1);
iv_ruleDescriptionElement=ruleDescriptionElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDescriptionElement;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDescriptionElement"
// $ANTLR start "ruleDescriptionElement"
// InternalVerify.g:3105:1: ruleDescriptionElement returns [EObject current=null] : ( ( (lv_text_0_0= RULE_STRING ) ) | ( ( ( 'this' ) )=> (lv_thisTarget_1_0= 'this' ) ) | ( ( ( ruleImageReference ) )=> (lv_image_2_0= ruleImageReference ) ) | ( (lv_showValue_3_0= ruleShowValue ) ) ) ;
public final EObject ruleDescriptionElement() throws RecognitionException {
EObject current = null;
Token lv_text_0_0=null;
Token lv_thisTarget_1_0=null;
EObject lv_image_2_0 = null;
EObject lv_showValue_3_0 = null;
enterRule();
try {
// InternalVerify.g:3111:2: ( ( ( (lv_text_0_0= RULE_STRING ) ) | ( ( ( 'this' ) )=> (lv_thisTarget_1_0= 'this' ) ) | ( ( ( ruleImageReference ) )=> (lv_image_2_0= ruleImageReference ) ) | ( (lv_showValue_3_0= ruleShowValue ) ) ) )
// InternalVerify.g:3112:2: ( ( (lv_text_0_0= RULE_STRING ) ) | ( ( ( 'this' ) )=> (lv_thisTarget_1_0= 'this' ) ) | ( ( ( ruleImageReference ) )=> (lv_image_2_0= ruleImageReference ) ) | ( (lv_showValue_3_0= ruleShowValue ) ) )
{
// InternalVerify.g:3112:2: ( ( (lv_text_0_0= RULE_STRING ) ) | ( ( ( 'this' ) )=> (lv_thisTarget_1_0= 'this' ) ) | ( ( ( ruleImageReference ) )=> (lv_image_2_0= ruleImageReference ) ) | ( (lv_showValue_3_0= ruleShowValue ) ) )
int alt67=4;
int LA67_0 = input.LA(1);
if ( (LA67_0==RULE_STRING) ) {
alt67=1;
}
else if ( (LA67_0==60) && (synpred4_InternalVerify())) {
alt67=2;
}
else if ( (LA67_0==71) && (synpred5_InternalVerify())) {
alt67=3;
}
else if ( (LA67_0==RULE_ID) ) {
alt67=4;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 67, 0, input);
throw nvae;
}
switch (alt67) {
case 1 :
// InternalVerify.g:3113:3: ( (lv_text_0_0= RULE_STRING ) )
{
// InternalVerify.g:3113:3: ( (lv_text_0_0= RULE_STRING ) )
// InternalVerify.g:3114:4: (lv_text_0_0= RULE_STRING )
{
// InternalVerify.g:3114:4: (lv_text_0_0= RULE_STRING )
// InternalVerify.g:3115:5: lv_text_0_0= RULE_STRING
{
lv_text_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_text_0_0, grammarAccess.getDescriptionElementAccess().getTextSTRINGTerminalRuleCall_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDescriptionElementRule());
}
setWithLastConsumed(
current,
"text",
lv_text_0_0,
"org.eclipse.xtext.common.Terminals.STRING");
}
}
}
}
break;
case 2 :
// InternalVerify.g:3132:3: ( ( ( 'this' ) )=> (lv_thisTarget_1_0= 'this' ) )
{
// InternalVerify.g:3132:3: ( ( ( 'this' ) )=> (lv_thisTarget_1_0= 'this' ) )
// InternalVerify.g:3133:4: ( ( 'this' ) )=> (lv_thisTarget_1_0= 'this' )
{
// InternalVerify.g:3137:4: (lv_thisTarget_1_0= 'this' )
// InternalVerify.g:3138:5: lv_thisTarget_1_0= 'this'
{
lv_thisTarget_1_0=(Token)match(input,60,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_thisTarget_1_0, grammarAccess.getDescriptionElementAccess().getThisTargetThisKeyword_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDescriptionElementRule());
}
setWithLastConsumed(current, "thisTarget", true, "this");
}
}
}
}
break;
case 3 :
// InternalVerify.g:3151:3: ( ( ( ruleImageReference ) )=> (lv_image_2_0= ruleImageReference ) )
{
// InternalVerify.g:3151:3: ( ( ( ruleImageReference ) )=> (lv_image_2_0= ruleImageReference ) )
// InternalVerify.g:3152:4: ( ( ruleImageReference ) )=> (lv_image_2_0= ruleImageReference )
{
// InternalVerify.g:3156:4: (lv_image_2_0= ruleImageReference )
// InternalVerify.g:3157:5: lv_image_2_0= ruleImageReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDescriptionElementAccess().getImageImageReferenceParserRuleCall_2_0());
}
pushFollow(FOLLOW_2);
lv_image_2_0=ruleImageReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDescriptionElementRule());
}
set(
current,
"image",
lv_image_2_0,
"org.osate.alisa.common.Common.ImageReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 4 :
// InternalVerify.g:3175:3: ( (lv_showValue_3_0= ruleShowValue ) )
{
// InternalVerify.g:3175:3: ( (lv_showValue_3_0= ruleShowValue ) )
// InternalVerify.g:3176:4: (lv_showValue_3_0= ruleShowValue )
{
// InternalVerify.g:3176:4: (lv_showValue_3_0= ruleShowValue )
// InternalVerify.g:3177:5: lv_showValue_3_0= ruleShowValue
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDescriptionElementAccess().getShowValueShowValueParserRuleCall_3_0());
}
pushFollow(FOLLOW_2);
lv_showValue_3_0=ruleShowValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDescriptionElementRule());
}
set(
current,
"showValue",
lv_showValue_3_0,
"org.osate.alisa.common.Common.ShowValue");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDescriptionElement"
// $ANTLR start "entryRuleRationale"
// InternalVerify.g:3198:1: entryRuleRationale returns [EObject current=null] : iv_ruleRationale= ruleRationale EOF ;
public final EObject entryRuleRationale() throws RecognitionException {
EObject current = null;
EObject iv_ruleRationale = null;
try {
// InternalVerify.g:3198:50: (iv_ruleRationale= ruleRationale EOF )
// InternalVerify.g:3199:2: iv_ruleRationale= ruleRationale EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getRationaleRule());
}
pushFollow(FOLLOW_1);
iv_ruleRationale=ruleRationale();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleRationale;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleRationale"
// $ANTLR start "ruleRationale"
// InternalVerify.g:3205:1: ruleRationale returns [EObject current=null] : (otherlv_0= 'rationale' ( (lv_description_1_0= ruleDescriptionElement ) )+ ) ;
public final EObject ruleRationale() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
EObject lv_description_1_0 = null;
enterRule();
try {
// InternalVerify.g:3211:2: ( (otherlv_0= 'rationale' ( (lv_description_1_0= ruleDescriptionElement ) )+ ) )
// InternalVerify.g:3212:2: (otherlv_0= 'rationale' ( (lv_description_1_0= ruleDescriptionElement ) )+ )
{
// InternalVerify.g:3212:2: (otherlv_0= 'rationale' ( (lv_description_1_0= ruleDescriptionElement ) )+ )
// InternalVerify.g:3213:3: otherlv_0= 'rationale' ( (lv_description_1_0= ruleDescriptionElement ) )+
{
otherlv_0=(Token)match(input,61,FOLLOW_62); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getRationaleAccess().getRationaleKeyword_0());
}
// InternalVerify.g:3217:3: ( (lv_description_1_0= ruleDescriptionElement ) )+
int cnt68=0;
loop68:
do {
int alt68=2;
int LA68_0 = input.LA(1);
if ( (LA68_0==RULE_STRING||LA68_0==RULE_ID||LA68_0==60||LA68_0==71) ) {
alt68=1;
}
switch (alt68) {
case 1 :
// InternalVerify.g:3218:4: (lv_description_1_0= ruleDescriptionElement )
{
// InternalVerify.g:3218:4: (lv_description_1_0= ruleDescriptionElement )
// InternalVerify.g:3219:5: lv_description_1_0= ruleDescriptionElement
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getRationaleAccess().getDescriptionDescriptionElementParserRuleCall_1_0());
}
pushFollow(FOLLOW_63);
lv_description_1_0=ruleDescriptionElement();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getRationaleRule());
}
add(
current,
"description",
lv_description_1_0,
"org.osate.alisa.common.Common.DescriptionElement");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
if ( cnt68 >= 1 ) break loop68;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(68, input);
throw eee;
}
cnt68++;
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleRationale"
// $ANTLR start "entryRuleTypeRef"
// InternalVerify.g:3240:1: entryRuleTypeRef returns [EObject current=null] : iv_ruleTypeRef= ruleTypeRef EOF ;
public final EObject entryRuleTypeRef() throws RecognitionException {
EObject current = null;
EObject iv_ruleTypeRef = null;
try {
// InternalVerify.g:3240:48: (iv_ruleTypeRef= ruleTypeRef EOF )
// InternalVerify.g:3241:2: iv_ruleTypeRef= ruleTypeRef EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTypeRefRule());
}
pushFollow(FOLLOW_1);
iv_ruleTypeRef=ruleTypeRef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTypeRef;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTypeRef"
// $ANTLR start "ruleTypeRef"
// InternalVerify.g:3247:1: ruleTypeRef returns [EObject current=null] : ( ( () otherlv_1= 'boolean' ) | ( () otherlv_3= 'integer' (otherlv_4= 'units' ( ( ruleAADLPROPERTYREFERENCE ) ) )? ) | ( () otherlv_7= 'real' (otherlv_8= 'units' ( ( ruleAADLPROPERTYREFERENCE ) ) )? ) | ( () otherlv_11= 'string' ) | ( () otherlv_13= 'model' otherlv_14= 'element' ) | ( () ( ( ruleAADLPROPERTYREFERENCE ) ) ) ) ;
public final EObject ruleTypeRef() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_4=null;
Token otherlv_7=null;
Token otherlv_8=null;
Token otherlv_11=null;
Token otherlv_13=null;
Token otherlv_14=null;
enterRule();
try {
// InternalVerify.g:3253:2: ( ( ( () otherlv_1= 'boolean' ) | ( () otherlv_3= 'integer' (otherlv_4= 'units' ( ( ruleAADLPROPERTYREFERENCE ) ) )? ) | ( () otherlv_7= 'real' (otherlv_8= 'units' ( ( ruleAADLPROPERTYREFERENCE ) ) )? ) | ( () otherlv_11= 'string' ) | ( () otherlv_13= 'model' otherlv_14= 'element' ) | ( () ( ( ruleAADLPROPERTYREFERENCE ) ) ) ) )
// InternalVerify.g:3254:2: ( ( () otherlv_1= 'boolean' ) | ( () otherlv_3= 'integer' (otherlv_4= 'units' ( ( ruleAADLPROPERTYREFERENCE ) ) )? ) | ( () otherlv_7= 'real' (otherlv_8= 'units' ( ( ruleAADLPROPERTYREFERENCE ) ) )? ) | ( () otherlv_11= 'string' ) | ( () otherlv_13= 'model' otherlv_14= 'element' ) | ( () ( ( ruleAADLPROPERTYREFERENCE ) ) ) )
{
// InternalVerify.g:3254:2: ( ( () otherlv_1= 'boolean' ) | ( () otherlv_3= 'integer' (otherlv_4= 'units' ( ( ruleAADLPROPERTYREFERENCE ) ) )? ) | ( () otherlv_7= 'real' (otherlv_8= 'units' ( ( ruleAADLPROPERTYREFERENCE ) ) )? ) | ( () otherlv_11= 'string' ) | ( () otherlv_13= 'model' otherlv_14= 'element' ) | ( () ( ( ruleAADLPROPERTYREFERENCE ) ) ) )
int alt71=6;
switch ( input.LA(1) ) {
case 49:
{
alt71=1;
}
break;
case 62:
{
alt71=2;
}
break;
case 64:
{
alt71=3;
}
break;
case 65:
{
alt71=4;
}
break;
case 66:
{
alt71=5;
}
break;
case RULE_ID:
{
alt71=6;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 71, 0, input);
throw nvae;
}
switch (alt71) {
case 1 :
// InternalVerify.g:3255:3: ( () otherlv_1= 'boolean' )
{
// InternalVerify.g:3255:3: ( () otherlv_1= 'boolean' )
// InternalVerify.g:3256:4: () otherlv_1= 'boolean'
{
// InternalVerify.g:3256:4: ()
// InternalVerify.g:3257:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getTypeRefAccess().getAadlBooleanAction_0_0(),
current);
}
}
otherlv_1=(Token)match(input,49,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getTypeRefAccess().getBooleanKeyword_0_1());
}
}
}
break;
case 2 :
// InternalVerify.g:3269:3: ( () otherlv_3= 'integer' (otherlv_4= 'units' ( ( ruleAADLPROPERTYREFERENCE ) ) )? )
{
// InternalVerify.g:3269:3: ( () otherlv_3= 'integer' (otherlv_4= 'units' ( ( ruleAADLPROPERTYREFERENCE ) ) )? )
// InternalVerify.g:3270:4: () otherlv_3= 'integer' (otherlv_4= 'units' ( ( ruleAADLPROPERTYREFERENCE ) ) )?
{
// InternalVerify.g:3270:4: ()
// InternalVerify.g:3271:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getTypeRefAccess().getAadlIntegerAction_1_0(),
current);
}
}
otherlv_3=(Token)match(input,62,FOLLOW_64); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getTypeRefAccess().getIntegerKeyword_1_1());
}
// InternalVerify.g:3281:4: (otherlv_4= 'units' ( ( ruleAADLPROPERTYREFERENCE ) ) )?
int alt69=2;
int LA69_0 = input.LA(1);
if ( (LA69_0==63) ) {
alt69=1;
}
switch (alt69) {
case 1 :
// InternalVerify.g:3282:5: otherlv_4= 'units' ( ( ruleAADLPROPERTYREFERENCE ) )
{
otherlv_4=(Token)match(input,63,FOLLOW_45); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getTypeRefAccess().getUnitsKeyword_1_2_0());
}
// InternalVerify.g:3286:5: ( ( ruleAADLPROPERTYREFERENCE ) )
// InternalVerify.g:3287:6: ( ruleAADLPROPERTYREFERENCE )
{
// InternalVerify.g:3287:6: ( ruleAADLPROPERTYREFERENCE )
// InternalVerify.g:3288:7: ruleAADLPROPERTYREFERENCE
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTypeRefRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTypeRefAccess().getReferencedUnitsTypeUnitsTypeCrossReference_1_2_1_0());
}
pushFollow(FOLLOW_2);
ruleAADLPROPERTYREFERENCE();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
break;
case 3 :
// InternalVerify.g:3305:3: ( () otherlv_7= 'real' (otherlv_8= 'units' ( ( ruleAADLPROPERTYREFERENCE ) ) )? )
{
// InternalVerify.g:3305:3: ( () otherlv_7= 'real' (otherlv_8= 'units' ( ( ruleAADLPROPERTYREFERENCE ) ) )? )
// InternalVerify.g:3306:4: () otherlv_7= 'real' (otherlv_8= 'units' ( ( ruleAADLPROPERTYREFERENCE ) ) )?
{
// InternalVerify.g:3306:4: ()
// InternalVerify.g:3307:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getTypeRefAccess().getAadlRealAction_2_0(),
current);
}
}
otherlv_7=(Token)match(input,64,FOLLOW_64); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getTypeRefAccess().getRealKeyword_2_1());
}
// InternalVerify.g:3317:4: (otherlv_8= 'units' ( ( ruleAADLPROPERTYREFERENCE ) ) )?
int alt70=2;
int LA70_0 = input.LA(1);
if ( (LA70_0==63) ) {
alt70=1;
}
switch (alt70) {
case 1 :
// InternalVerify.g:3318:5: otherlv_8= 'units' ( ( ruleAADLPROPERTYREFERENCE ) )
{
otherlv_8=(Token)match(input,63,FOLLOW_45); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getTypeRefAccess().getUnitsKeyword_2_2_0());
}
// InternalVerify.g:3322:5: ( ( ruleAADLPROPERTYREFERENCE ) )
// InternalVerify.g:3323:6: ( ruleAADLPROPERTYREFERENCE )
{
// InternalVerify.g:3323:6: ( ruleAADLPROPERTYREFERENCE )
// InternalVerify.g:3324:7: ruleAADLPROPERTYREFERENCE
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTypeRefRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTypeRefAccess().getReferencedUnitsTypeUnitsTypeCrossReference_2_2_1_0());
}
pushFollow(FOLLOW_2);
ruleAADLPROPERTYREFERENCE();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
break;
case 4 :
// InternalVerify.g:3341:3: ( () otherlv_11= 'string' )
{
// InternalVerify.g:3341:3: ( () otherlv_11= 'string' )
// InternalVerify.g:3342:4: () otherlv_11= 'string'
{
// InternalVerify.g:3342:4: ()
// InternalVerify.g:3343:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getTypeRefAccess().getAadlStringAction_3_0(),
current);
}
}
otherlv_11=(Token)match(input,65,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getTypeRefAccess().getStringKeyword_3_1());
}
}
}
break;
case 5 :
// InternalVerify.g:3355:3: ( () otherlv_13= 'model' otherlv_14= 'element' )
{
// InternalVerify.g:3355:3: ( () otherlv_13= 'model' otherlv_14= 'element' )
// InternalVerify.g:3356:4: () otherlv_13= 'model' otherlv_14= 'element'
{
// InternalVerify.g:3356:4: ()
// InternalVerify.g:3357:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getTypeRefAccess().getModelRefAction_4_0(),
current);
}
}
otherlv_13=(Token)match(input,66,FOLLOW_65); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getTypeRefAccess().getModelKeyword_4_1());
}
otherlv_14=(Token)match(input,67,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_14, grammarAccess.getTypeRefAccess().getElementKeyword_4_2());
}
}
}
break;
case 6 :
// InternalVerify.g:3373:3: ( () ( ( ruleAADLPROPERTYREFERENCE ) ) )
{
// InternalVerify.g:3373:3: ( () ( ( ruleAADLPROPERTYREFERENCE ) ) )
// InternalVerify.g:3374:4: () ( ( ruleAADLPROPERTYREFERENCE ) )
{
// InternalVerify.g:3374:4: ()
// InternalVerify.g:3375:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getTypeRefAccess().getTypeRefAction_5_0(),
current);
}
}
// InternalVerify.g:3381:4: ( ( ruleAADLPROPERTYREFERENCE ) )
// InternalVerify.g:3382:5: ( ruleAADLPROPERTYREFERENCE )
{
// InternalVerify.g:3382:5: ( ruleAADLPROPERTYREFERENCE )
// InternalVerify.g:3383:6: ruleAADLPROPERTYREFERENCE
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getTypeRefRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTypeRefAccess().getRefPropertyTypeCrossReference_5_1_0());
}
pushFollow(FOLLOW_2);
ruleAADLPROPERTYREFERENCE();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTypeRef"
// $ANTLR start "entryRulePropertyRef"
// InternalVerify.g:3402:1: entryRulePropertyRef returns [EObject current=null] : iv_rulePropertyRef= rulePropertyRef EOF ;
public final EObject entryRulePropertyRef() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyRef = null;
try {
// InternalVerify.g:3402:52: (iv_rulePropertyRef= rulePropertyRef EOF )
// InternalVerify.g:3403:2: iv_rulePropertyRef= rulePropertyRef EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyRefRule());
}
pushFollow(FOLLOW_1);
iv_rulePropertyRef=rulePropertyRef();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_rulePropertyRef;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRulePropertyRef"
// $ANTLR start "rulePropertyRef"
// InternalVerify.g:3409:1: rulePropertyRef returns [EObject current=null] : ( () ( ( ruleAADLPROPERTYREFERENCE ) ) ) ;
public final EObject rulePropertyRef() throws RecognitionException {
EObject current = null;
enterRule();
try {
// InternalVerify.g:3415:2: ( ( () ( ( ruleAADLPROPERTYREFERENCE ) ) ) )
// InternalVerify.g:3416:2: ( () ( ( ruleAADLPROPERTYREFERENCE ) ) )
{
// InternalVerify.g:3416:2: ( () ( ( ruleAADLPROPERTYREFERENCE ) ) )
// InternalVerify.g:3417:3: () ( ( ruleAADLPROPERTYREFERENCE ) )
{
// InternalVerify.g:3417:3: ()
// InternalVerify.g:3418:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getPropertyRefAccess().getPropertyRefAction_0(),
current);
}
}
// InternalVerify.g:3424:3: ( ( ruleAADLPROPERTYREFERENCE ) )
// InternalVerify.g:3425:4: ( ruleAADLPROPERTYREFERENCE )
{
// InternalVerify.g:3425:4: ( ruleAADLPROPERTYREFERENCE )
// InternalVerify.g:3426:5: ruleAADLPROPERTYREFERENCE
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getPropertyRefRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getPropertyRefAccess().getRefPropertyCrossReference_1_0());
}
pushFollow(FOLLOW_2);
ruleAADLPROPERTYREFERENCE();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "rulePropertyRef"
// $ANTLR start "entryRuleAModelOrPropertyReference"
// InternalVerify.g:3444:1: entryRuleAModelOrPropertyReference returns [EObject current=null] : iv_ruleAModelOrPropertyReference= ruleAModelOrPropertyReference EOF ;
public final EObject entryRuleAModelOrPropertyReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleAModelOrPropertyReference = null;
try {
// InternalVerify.g:3444:66: (iv_ruleAModelOrPropertyReference= ruleAModelOrPropertyReference EOF )
// InternalVerify.g:3445:2: iv_ruleAModelOrPropertyReference= ruleAModelOrPropertyReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAModelOrPropertyReferenceRule());
}
pushFollow(FOLLOW_1);
iv_ruleAModelOrPropertyReference=ruleAModelOrPropertyReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAModelOrPropertyReference;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAModelOrPropertyReference"
// $ANTLR start "ruleAModelOrPropertyReference"
// InternalVerify.g:3451:1: ruleAModelOrPropertyReference returns [EObject current=null] : ( (this_AModelReference_0= ruleAModelReference ( ( ( ( () '#' ) )=> ( () otherlv_2= '#' ) ) ( ( ruleAADLPROPERTYREFERENCE ) ) )? ) | this_APropertyReference_4= ruleAPropertyReference ) ;
public final EObject ruleAModelOrPropertyReference() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject this_AModelReference_0 = null;
EObject this_APropertyReference_4 = null;
enterRule();
try {
// InternalVerify.g:3457:2: ( ( (this_AModelReference_0= ruleAModelReference ( ( ( ( () '#' ) )=> ( () otherlv_2= '#' ) ) ( ( ruleAADLPROPERTYREFERENCE ) ) )? ) | this_APropertyReference_4= ruleAPropertyReference ) )
// InternalVerify.g:3458:2: ( (this_AModelReference_0= ruleAModelReference ( ( ( ( () '#' ) )=> ( () otherlv_2= '#' ) ) ( ( ruleAADLPROPERTYREFERENCE ) ) )? ) | this_APropertyReference_4= ruleAPropertyReference )
{
// InternalVerify.g:3458:2: ( (this_AModelReference_0= ruleAModelReference ( ( ( ( () '#' ) )=> ( () otherlv_2= '#' ) ) ( ( ruleAADLPROPERTYREFERENCE ) ) )? ) | this_APropertyReference_4= ruleAPropertyReference )
int alt73=2;
int LA73_0 = input.LA(1);
if ( (LA73_0==60) ) {
alt73=1;
}
else if ( (LA73_0==68) ) {
alt73=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 73, 0, input);
throw nvae;
}
switch (alt73) {
case 1 :
// InternalVerify.g:3459:3: (this_AModelReference_0= ruleAModelReference ( ( ( ( () '#' ) )=> ( () otherlv_2= '#' ) ) ( ( ruleAADLPROPERTYREFERENCE ) ) )? )
{
// InternalVerify.g:3459:3: (this_AModelReference_0= ruleAModelReference ( ( ( ( () '#' ) )=> ( () otherlv_2= '#' ) ) ( ( ruleAADLPROPERTYREFERENCE ) ) )? )
// InternalVerify.g:3460:4: this_AModelReference_0= ruleAModelReference ( ( ( ( () '#' ) )=> ( () otherlv_2= '#' ) ) ( ( ruleAADLPROPERTYREFERENCE ) ) )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAModelOrPropertyReferenceAccess().getAModelReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_66);
this_AModelReference_0=ruleAModelReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AModelReference_0;
afterParserOrEnumRuleCall();
}
// InternalVerify.g:3468:4: ( ( ( ( () '#' ) )=> ( () otherlv_2= '#' ) ) ( ( ruleAADLPROPERTYREFERENCE ) ) )?
int alt72=2;
int LA72_0 = input.LA(1);
if ( (LA72_0==68) && (synpred6_InternalVerify())) {
alt72=1;
}
switch (alt72) {
case 1 :
// InternalVerify.g:3469:5: ( ( ( () '#' ) )=> ( () otherlv_2= '#' ) ) ( ( ruleAADLPROPERTYREFERENCE ) )
{
// InternalVerify.g:3469:5: ( ( ( () '#' ) )=> ( () otherlv_2= '#' ) )
// InternalVerify.g:3470:6: ( ( () '#' ) )=> ( () otherlv_2= '#' )
{
// InternalVerify.g:3476:6: ( () otherlv_2= '#' )
// InternalVerify.g:3477:7: () otherlv_2= '#'
{
// InternalVerify.g:3477:7: ()
// InternalVerify.g:3478:8:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getAModelOrPropertyReferenceAccess().getAPropertyReferenceModelElementReferenceAction_0_1_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,68,FOLLOW_45); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getAModelOrPropertyReferenceAccess().getNumberSignKeyword_0_1_0_0_1());
}
}
}
// InternalVerify.g:3490:5: ( ( ruleAADLPROPERTYREFERENCE ) )
// InternalVerify.g:3491:6: ( ruleAADLPROPERTYREFERENCE )
{
// InternalVerify.g:3491:6: ( ruleAADLPROPERTYREFERENCE )
// InternalVerify.g:3492:7: ruleAADLPROPERTYREFERENCE
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getAModelOrPropertyReferenceRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAModelOrPropertyReferenceAccess().getPropertyAbstractNamedValueCrossReference_0_1_1_0());
}
pushFollow(FOLLOW_2);
ruleAADLPROPERTYREFERENCE();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
break;
case 2 :
// InternalVerify.g:3509:3: this_APropertyReference_4= ruleAPropertyReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAModelOrPropertyReferenceAccess().getAPropertyReferenceParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_APropertyReference_4=ruleAPropertyReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_APropertyReference_4;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAModelOrPropertyReference"
// $ANTLR start "entryRuleAModelReference"
// InternalVerify.g:3521:1: entryRuleAModelReference returns [EObject current=null] : iv_ruleAModelReference= ruleAModelReference EOF ;
public final EObject entryRuleAModelReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleAModelReference = null;
try {
// InternalVerify.g:3521:56: (iv_ruleAModelReference= ruleAModelReference EOF )
// InternalVerify.g:3522:2: iv_ruleAModelReference= ruleAModelReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAModelReferenceRule());
}
pushFollow(FOLLOW_1);
iv_ruleAModelReference=ruleAModelReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAModelReference;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAModelReference"
// $ANTLR start "ruleAModelReference"
// InternalVerify.g:3528:1: ruleAModelReference returns [EObject current=null] : ( ( ( ruleThisKeyword ) ) ( () otherlv_2= '.' ( (otherlv_3= RULE_ID ) ) )* ) ;
public final EObject ruleAModelReference() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_3=null;
enterRule();
try {
// InternalVerify.g:3534:2: ( ( ( ( ruleThisKeyword ) ) ( () otherlv_2= '.' ( (otherlv_3= RULE_ID ) ) )* ) )
// InternalVerify.g:3535:2: ( ( ( ruleThisKeyword ) ) ( () otherlv_2= '.' ( (otherlv_3= RULE_ID ) ) )* )
{
// InternalVerify.g:3535:2: ( ( ( ruleThisKeyword ) ) ( () otherlv_2= '.' ( (otherlv_3= RULE_ID ) ) )* )
// InternalVerify.g:3536:3: ( ( ruleThisKeyword ) ) ( () otherlv_2= '.' ( (otherlv_3= RULE_ID ) ) )*
{
// InternalVerify.g:3536:3: ( ( ruleThisKeyword ) )
// InternalVerify.g:3537:4: ( ruleThisKeyword )
{
// InternalVerify.g:3537:4: ( ruleThisKeyword )
// InternalVerify.g:3538:5: ruleThisKeyword
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getAModelReferenceRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAModelReferenceAccess().getModelElementNamedElementCrossReference_0_0());
}
pushFollow(FOLLOW_67);
ruleThisKeyword();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:3552:3: ( () otherlv_2= '.' ( (otherlv_3= RULE_ID ) ) )*
loop74:
do {
int alt74=2;
int LA74_0 = input.LA(1);
if ( (LA74_0==69) ) {
alt74=1;
}
switch (alt74) {
case 1 :
// InternalVerify.g:3553:4: () otherlv_2= '.' ( (otherlv_3= RULE_ID ) )
{
// InternalVerify.g:3553:4: ()
// InternalVerify.g:3554:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getAModelReferenceAccess().getAModelReferencePrevAction_1_0(),
current);
}
}
otherlv_2=(Token)match(input,69,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getAModelReferenceAccess().getFullStopKeyword_1_1());
}
// InternalVerify.g:3564:4: ( (otherlv_3= RULE_ID ) )
// InternalVerify.g:3565:5: (otherlv_3= RULE_ID )
{
// InternalVerify.g:3565:5: (otherlv_3= RULE_ID )
// InternalVerify.g:3566:6: otherlv_3= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getAModelReferenceRule());
}
}
otherlv_3=(Token)match(input,RULE_ID,FOLLOW_67); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getAModelReferenceAccess().getModelElementNamedElementCrossReference_1_2_0());
}
}
}
}
break;
default :
break loop74;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAModelReference"
// $ANTLR start "entryRuleAPropertyReference"
// InternalVerify.g:3582:1: entryRuleAPropertyReference returns [EObject current=null] : iv_ruleAPropertyReference= ruleAPropertyReference EOF ;
public final EObject entryRuleAPropertyReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleAPropertyReference = null;
try {
// InternalVerify.g:3582:59: (iv_ruleAPropertyReference= ruleAPropertyReference EOF )
// InternalVerify.g:3583:2: iv_ruleAPropertyReference= ruleAPropertyReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAPropertyReferenceRule());
}
pushFollow(FOLLOW_1);
iv_ruleAPropertyReference=ruleAPropertyReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAPropertyReference;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAPropertyReference"
// $ANTLR start "ruleAPropertyReference"
// InternalVerify.g:3589:1: ruleAPropertyReference returns [EObject current=null] : ( () otherlv_1= '#' ( ( ruleAADLPROPERTYREFERENCE ) ) ) ;
public final EObject ruleAPropertyReference() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
enterRule();
try {
// InternalVerify.g:3595:2: ( ( () otherlv_1= '#' ( ( ruleAADLPROPERTYREFERENCE ) ) ) )
// InternalVerify.g:3596:2: ( () otherlv_1= '#' ( ( ruleAADLPROPERTYREFERENCE ) ) )
{
// InternalVerify.g:3596:2: ( () otherlv_1= '#' ( ( ruleAADLPROPERTYREFERENCE ) ) )
// InternalVerify.g:3597:3: () otherlv_1= '#' ( ( ruleAADLPROPERTYREFERENCE ) )
{
// InternalVerify.g:3597:3: ()
// InternalVerify.g:3598:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getAPropertyReferenceAccess().getAPropertyReferenceAction_0(),
current);
}
}
otherlv_1=(Token)match(input,68,FOLLOW_45); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getAPropertyReferenceAccess().getNumberSignKeyword_1());
}
// InternalVerify.g:3608:3: ( ( ruleAADLPROPERTYREFERENCE ) )
// InternalVerify.g:3609:4: ( ruleAADLPROPERTYREFERENCE )
{
// InternalVerify.g:3609:4: ( ruleAADLPROPERTYREFERENCE )
// InternalVerify.g:3610:5: ruleAADLPROPERTYREFERENCE
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getAPropertyReferenceRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAPropertyReferenceAccess().getPropertyAbstractNamedValueCrossReference_2_0());
}
pushFollow(FOLLOW_2);
ruleAADLPROPERTYREFERENCE();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAPropertyReference"
// $ANTLR start "entryRuleAVariableReference"
// InternalVerify.g:3628:1: entryRuleAVariableReference returns [EObject current=null] : iv_ruleAVariableReference= ruleAVariableReference EOF ;
public final EObject entryRuleAVariableReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleAVariableReference = null;
try {
// InternalVerify.g:3628:59: (iv_ruleAVariableReference= ruleAVariableReference EOF )
// InternalVerify.g:3629:2: iv_ruleAVariableReference= ruleAVariableReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAVariableReferenceRule());
}
pushFollow(FOLLOW_1);
iv_ruleAVariableReference=ruleAVariableReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAVariableReference;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAVariableReference"
// $ANTLR start "ruleAVariableReference"
// InternalVerify.g:3635:1: ruleAVariableReference returns [EObject current=null] : ( () ( (otherlv_1= RULE_ID ) ) ) ;
public final EObject ruleAVariableReference() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
enterRule();
try {
// InternalVerify.g:3641:2: ( ( () ( (otherlv_1= RULE_ID ) ) ) )
// InternalVerify.g:3642:2: ( () ( (otherlv_1= RULE_ID ) ) )
{
// InternalVerify.g:3642:2: ( () ( (otherlv_1= RULE_ID ) ) )
// InternalVerify.g:3643:3: () ( (otherlv_1= RULE_ID ) )
{
// InternalVerify.g:3643:3: ()
// InternalVerify.g:3644:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getAVariableReferenceAccess().getAVariableReferenceAction_0(),
current);
}
}
// InternalVerify.g:3650:3: ( (otherlv_1= RULE_ID ) )
// InternalVerify.g:3651:4: (otherlv_1= RULE_ID )
{
// InternalVerify.g:3651:4: (otherlv_1= RULE_ID )
// InternalVerify.g:3652:5: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getAVariableReferenceRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getAVariableReferenceAccess().getVariableAVariableDeclarationCrossReference_1_0());
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAVariableReference"
// $ANTLR start "entryRuleShowValue"
// InternalVerify.g:3667:1: entryRuleShowValue returns [EObject current=null] : iv_ruleShowValue= ruleShowValue EOF ;
public final EObject entryRuleShowValue() throws RecognitionException {
EObject current = null;
EObject iv_ruleShowValue = null;
try {
// InternalVerify.g:3667:50: (iv_ruleShowValue= ruleShowValue EOF )
// InternalVerify.g:3668:2: iv_ruleShowValue= ruleShowValue EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getShowValueRule());
}
pushFollow(FOLLOW_1);
iv_ruleShowValue=ruleShowValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleShowValue;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleShowValue"
// $ANTLR start "ruleShowValue"
// InternalVerify.g:3674:1: ruleShowValue returns [EObject current=null] : ( ( (lv_expression_0_0= ruleAVariableReference ) ) ( ( ( (lv_convert_1_0= '%' ) ) | ( (lv_drop_2_0= 'in' ) ) ) ( (otherlv_3= RULE_ID ) ) )? ) ;
public final EObject ruleShowValue() throws RecognitionException {
EObject current = null;
Token lv_convert_1_0=null;
Token lv_drop_2_0=null;
Token otherlv_3=null;
EObject lv_expression_0_0 = null;
enterRule();
try {
// InternalVerify.g:3680:2: ( ( ( (lv_expression_0_0= ruleAVariableReference ) ) ( ( ( (lv_convert_1_0= '%' ) ) | ( (lv_drop_2_0= 'in' ) ) ) ( (otherlv_3= RULE_ID ) ) )? ) )
// InternalVerify.g:3681:2: ( ( (lv_expression_0_0= ruleAVariableReference ) ) ( ( ( (lv_convert_1_0= '%' ) ) | ( (lv_drop_2_0= 'in' ) ) ) ( (otherlv_3= RULE_ID ) ) )? )
{
// InternalVerify.g:3681:2: ( ( (lv_expression_0_0= ruleAVariableReference ) ) ( ( ( (lv_convert_1_0= '%' ) ) | ( (lv_drop_2_0= 'in' ) ) ) ( (otherlv_3= RULE_ID ) ) )? )
// InternalVerify.g:3682:3: ( (lv_expression_0_0= ruleAVariableReference ) ) ( ( ( (lv_convert_1_0= '%' ) ) | ( (lv_drop_2_0= 'in' ) ) ) ( (otherlv_3= RULE_ID ) ) )?
{
// InternalVerify.g:3682:3: ( (lv_expression_0_0= ruleAVariableReference ) )
// InternalVerify.g:3683:4: (lv_expression_0_0= ruleAVariableReference )
{
// InternalVerify.g:3683:4: (lv_expression_0_0= ruleAVariableReference )
// InternalVerify.g:3684:5: lv_expression_0_0= ruleAVariableReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getShowValueAccess().getExpressionAVariableReferenceParserRuleCall_0_0());
}
pushFollow(FOLLOW_68);
lv_expression_0_0=ruleAVariableReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getShowValueRule());
}
set(
current,
"expression",
lv_expression_0_0,
"org.osate.alisa.common.Common.AVariableReference");
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:3701:3: ( ( ( (lv_convert_1_0= '%' ) ) | ( (lv_drop_2_0= 'in' ) ) ) ( (otherlv_3= RULE_ID ) ) )?
int alt76=2;
int LA76_0 = input.LA(1);
if ( (LA76_0==45||LA76_0==70) ) {
alt76=1;
}
switch (alt76) {
case 1 :
// InternalVerify.g:3702:4: ( ( (lv_convert_1_0= '%' ) ) | ( (lv_drop_2_0= 'in' ) ) ) ( (otherlv_3= RULE_ID ) )
{
// InternalVerify.g:3702:4: ( ( (lv_convert_1_0= '%' ) ) | ( (lv_drop_2_0= 'in' ) ) )
int alt75=2;
int LA75_0 = input.LA(1);
if ( (LA75_0==70) ) {
alt75=1;
}
else if ( (LA75_0==45) ) {
alt75=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 75, 0, input);
throw nvae;
}
switch (alt75) {
case 1 :
// InternalVerify.g:3703:5: ( (lv_convert_1_0= '%' ) )
{
// InternalVerify.g:3703:5: ( (lv_convert_1_0= '%' ) )
// InternalVerify.g:3704:6: (lv_convert_1_0= '%' )
{
// InternalVerify.g:3704:6: (lv_convert_1_0= '%' )
// InternalVerify.g:3705:7: lv_convert_1_0= '%'
{
lv_convert_1_0=(Token)match(input,70,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_convert_1_0, grammarAccess.getShowValueAccess().getConvertPercentSignKeyword_1_0_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getShowValueRule());
}
setWithLastConsumed(current, "convert", true, "%");
}
}
}
}
break;
case 2 :
// InternalVerify.g:3718:5: ( (lv_drop_2_0= 'in' ) )
{
// InternalVerify.g:3718:5: ( (lv_drop_2_0= 'in' ) )
// InternalVerify.g:3719:6: (lv_drop_2_0= 'in' )
{
// InternalVerify.g:3719:6: (lv_drop_2_0= 'in' )
// InternalVerify.g:3720:7: lv_drop_2_0= 'in'
{
lv_drop_2_0=(Token)match(input,45,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_drop_2_0, grammarAccess.getShowValueAccess().getDropInKeyword_1_0_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getShowValueRule());
}
setWithLastConsumed(current, "drop", true, "in");
}
}
}
}
break;
}
// InternalVerify.g:3733:4: ( (otherlv_3= RULE_ID ) )
// InternalVerify.g:3734:5: (otherlv_3= RULE_ID )
{
// InternalVerify.g:3734:5: (otherlv_3= RULE_ID )
// InternalVerify.g:3735:6: otherlv_3= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getShowValueRule());
}
}
otherlv_3=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getShowValueAccess().getUnitUnitLiteralCrossReference_1_1_0());
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleShowValue"
// $ANTLR start "entryRuleImageReference"
// InternalVerify.g:3751:1: entryRuleImageReference returns [EObject current=null] : iv_ruleImageReference= ruleImageReference EOF ;
public final EObject entryRuleImageReference() throws RecognitionException {
EObject current = null;
EObject iv_ruleImageReference = null;
try {
// InternalVerify.g:3751:55: (iv_ruleImageReference= ruleImageReference EOF )
// InternalVerify.g:3752:2: iv_ruleImageReference= ruleImageReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getImageReferenceRule());
}
pushFollow(FOLLOW_1);
iv_ruleImageReference=ruleImageReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleImageReference;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleImageReference"
// $ANTLR start "ruleImageReference"
// InternalVerify.g:3758:1: ruleImageReference returns [EObject current=null] : (otherlv_0= 'img' ( (lv_imgfile_1_0= ruleIMGREF ) ) ) ;
public final EObject ruleImageReference() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
AntlrDatatypeRuleToken lv_imgfile_1_0 = null;
enterRule();
try {
// InternalVerify.g:3764:2: ( (otherlv_0= 'img' ( (lv_imgfile_1_0= ruleIMGREF ) ) ) )
// InternalVerify.g:3765:2: (otherlv_0= 'img' ( (lv_imgfile_1_0= ruleIMGREF ) ) )
{
// InternalVerify.g:3765:2: (otherlv_0= 'img' ( (lv_imgfile_1_0= ruleIMGREF ) ) )
// InternalVerify.g:3766:3: otherlv_0= 'img' ( (lv_imgfile_1_0= ruleIMGREF ) )
{
otherlv_0=(Token)match(input,71,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getImageReferenceAccess().getImgKeyword_0());
}
// InternalVerify.g:3770:3: ( (lv_imgfile_1_0= ruleIMGREF ) )
// InternalVerify.g:3771:4: (lv_imgfile_1_0= ruleIMGREF )
{
// InternalVerify.g:3771:4: (lv_imgfile_1_0= ruleIMGREF )
// InternalVerify.g:3772:5: lv_imgfile_1_0= ruleIMGREF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getImageReferenceAccess().getImgfileIMGREFParserRuleCall_1_0());
}
pushFollow(FOLLOW_2);
lv_imgfile_1_0=ruleIMGREF();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getImageReferenceRule());
}
set(
current,
"imgfile",
lv_imgfile_1_0,
"org.osate.alisa.common.Common.IMGREF");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleImageReference"
// $ANTLR start "entryRuleIMGREF"
// InternalVerify.g:3793:1: entryRuleIMGREF returns [String current=null] : iv_ruleIMGREF= ruleIMGREF EOF ;
public final String entryRuleIMGREF() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleIMGREF = null;
try {
// InternalVerify.g:3793:46: (iv_ruleIMGREF= ruleIMGREF EOF )
// InternalVerify.g:3794:2: iv_ruleIMGREF= ruleIMGREF EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getIMGREFRule());
}
pushFollow(FOLLOW_1);
iv_ruleIMGREF=ruleIMGREF();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleIMGREF.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleIMGREF"
// $ANTLR start "ruleIMGREF"
// InternalVerify.g:3800:1: ruleIMGREF returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (this_ID_0= RULE_ID kw= '/' )* this_ID_2= RULE_ID kw= '.' this_ID_4= RULE_ID ) ;
public final AntlrDatatypeRuleToken ruleIMGREF() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_ID_0=null;
Token kw=null;
Token this_ID_2=null;
Token this_ID_4=null;
enterRule();
try {
// InternalVerify.g:3806:2: ( ( (this_ID_0= RULE_ID kw= '/' )* this_ID_2= RULE_ID kw= '.' this_ID_4= RULE_ID ) )
// InternalVerify.g:3807:2: ( (this_ID_0= RULE_ID kw= '/' )* this_ID_2= RULE_ID kw= '.' this_ID_4= RULE_ID )
{
// InternalVerify.g:3807:2: ( (this_ID_0= RULE_ID kw= '/' )* this_ID_2= RULE_ID kw= '.' this_ID_4= RULE_ID )
// InternalVerify.g:3808:3: (this_ID_0= RULE_ID kw= '/' )* this_ID_2= RULE_ID kw= '.' this_ID_4= RULE_ID
{
// InternalVerify.g:3808:3: (this_ID_0= RULE_ID kw= '/' )*
loop77:
do {
int alt77=2;
int LA77_0 = input.LA(1);
if ( (LA77_0==RULE_ID) ) {
int LA77_1 = input.LA(2);
if ( (LA77_1==72) ) {
alt77=1;
}
}
switch (alt77) {
case 1 :
// InternalVerify.g:3809:4: this_ID_0= RULE_ID kw= '/'
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_69); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_0, grammarAccess.getIMGREFAccess().getIDTerminalRuleCall_0_0());
}
kw=(Token)match(input,72,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getIMGREFAccess().getSolidusKeyword_0_1());
}
}
break;
default :
break loop77;
}
} while (true);
this_ID_2=(Token)match(input,RULE_ID,FOLLOW_70); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_2);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_2, grammarAccess.getIMGREFAccess().getIDTerminalRuleCall_1());
}
kw=(Token)match(input,69,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getIMGREFAccess().getFullStopKeyword_2());
}
this_ID_4=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_4);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_4, grammarAccess.getIMGREFAccess().getIDTerminalRuleCall_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleIMGREF"
// $ANTLR start "entryRuleAExpression"
// InternalVerify.g:3845:1: entryRuleAExpression returns [EObject current=null] : iv_ruleAExpression= ruleAExpression EOF ;
public final EObject entryRuleAExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleAExpression = null;
try {
// InternalVerify.g:3845:52: (iv_ruleAExpression= ruleAExpression EOF )
// InternalVerify.g:3846:2: iv_ruleAExpression= ruleAExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleAExpression=ruleAExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAExpression"
// $ANTLR start "ruleAExpression"
// InternalVerify.g:3852:1: ruleAExpression returns [EObject current=null] : this_AOrExpression_0= ruleAOrExpression ;
public final EObject ruleAExpression() throws RecognitionException {
EObject current = null;
EObject this_AOrExpression_0 = null;
enterRule();
try {
// InternalVerify.g:3858:2: (this_AOrExpression_0= ruleAOrExpression )
// InternalVerify.g:3859:2: this_AOrExpression_0= ruleAOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAExpressionAccess().getAOrExpressionParserRuleCall());
}
pushFollow(FOLLOW_2);
this_AOrExpression_0=ruleAOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AOrExpression_0;
afterParserOrEnumRuleCall();
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAExpression"
// $ANTLR start "entryRuleAOrExpression"
// InternalVerify.g:3870:1: entryRuleAOrExpression returns [EObject current=null] : iv_ruleAOrExpression= ruleAOrExpression EOF ;
public final EObject entryRuleAOrExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleAOrExpression = null;
try {
// InternalVerify.g:3870:54: (iv_ruleAOrExpression= ruleAOrExpression EOF )
// InternalVerify.g:3871:2: iv_ruleAOrExpression= ruleAOrExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAOrExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleAOrExpression=ruleAOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAOrExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAOrExpression"
// $ANTLR start "ruleAOrExpression"
// InternalVerify.g:3877:1: ruleAOrExpression returns [EObject current=null] : (this_AAndExpression_0= ruleAAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpOr ) ) ) ) ( (lv_right_3_0= ruleAAndExpression ) ) )* ) ;
public final EObject ruleAOrExpression() throws RecognitionException {
EObject current = null;
EObject this_AAndExpression_0 = null;
AntlrDatatypeRuleToken lv_operator_2_0 = null;
EObject lv_right_3_0 = null;
enterRule();
try {
// InternalVerify.g:3883:2: ( (this_AAndExpression_0= ruleAAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpOr ) ) ) ) ( (lv_right_3_0= ruleAAndExpression ) ) )* ) )
// InternalVerify.g:3884:2: (this_AAndExpression_0= ruleAAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpOr ) ) ) ) ( (lv_right_3_0= ruleAAndExpression ) ) )* )
{
// InternalVerify.g:3884:2: (this_AAndExpression_0= ruleAAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpOr ) ) ) ) ( (lv_right_3_0= ruleAAndExpression ) ) )* )
// InternalVerify.g:3885:3: this_AAndExpression_0= ruleAAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpOr ) ) ) ) ( (lv_right_3_0= ruleAAndExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAOrExpressionAccess().getAAndExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_71);
this_AAndExpression_0=ruleAAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AAndExpression_0;
afterParserOrEnumRuleCall();
}
// InternalVerify.g:3893:3: ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpOr ) ) ) ) ( (lv_right_3_0= ruleAAndExpression ) ) )*
loop78:
do {
int alt78=2;
int LA78_0 = input.LA(1);
if ( (LA78_0==73) && (synpred7_InternalVerify())) {
alt78=1;
}
else if ( (LA78_0==74) && (synpred7_InternalVerify())) {
alt78=1;
}
switch (alt78) {
case 1 :
// InternalVerify.g:3894:4: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpOr ) ) ) ) ( (lv_right_3_0= ruleAAndExpression ) )
{
// InternalVerify.g:3894:4: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpOr ) ) ) )
// InternalVerify.g:3895:5: ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpOr ) ) )
{
// InternalVerify.g:3905:5: ( () ( (lv_operator_2_0= ruleOpOr ) ) )
// InternalVerify.g:3906:6: () ( (lv_operator_2_0= ruleOpOr ) )
{
// InternalVerify.g:3906:6: ()
// InternalVerify.g:3907:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getAOrExpressionAccess().getABinaryOperationLeftAction_1_0_0_0(),
current);
}
}
// InternalVerify.g:3913:6: ( (lv_operator_2_0= ruleOpOr ) )
// InternalVerify.g:3914:7: (lv_operator_2_0= ruleOpOr )
{
// InternalVerify.g:3914:7: (lv_operator_2_0= ruleOpOr )
// InternalVerify.g:3915:8: lv_operator_2_0= ruleOpOr
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAOrExpressionAccess().getOperatorOpOrParserRuleCall_1_0_0_1_0());
}
pushFollow(FOLLOW_33);
lv_operator_2_0=ruleOpOr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAOrExpressionRule());
}
set(
current,
"operator",
lv_operator_2_0,
"org.osate.alisa.common.Common.OpOr");
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalVerify.g:3934:4: ( (lv_right_3_0= ruleAAndExpression ) )
// InternalVerify.g:3935:5: (lv_right_3_0= ruleAAndExpression )
{
// InternalVerify.g:3935:5: (lv_right_3_0= ruleAAndExpression )
// InternalVerify.g:3936:6: lv_right_3_0= ruleAAndExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAOrExpressionAccess().getRightAAndExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_71);
lv_right_3_0=ruleAAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAOrExpressionRule());
}
set(
current,
"right",
lv_right_3_0,
"org.osate.alisa.common.Common.AAndExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop78;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAOrExpression"
// $ANTLR start "entryRuleOpOr"
// InternalVerify.g:3958:1: entryRuleOpOr returns [String current=null] : iv_ruleOpOr= ruleOpOr EOF ;
public final String entryRuleOpOr() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpOr = null;
try {
// InternalVerify.g:3958:44: (iv_ruleOpOr= ruleOpOr EOF )
// InternalVerify.g:3959:2: iv_ruleOpOr= ruleOpOr EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpOrRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpOr=ruleOpOr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpOr.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpOr"
// $ANTLR start "ruleOpOr"
// InternalVerify.g:3965:1: ruleOpOr returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'or' | kw= '||' ) ;
public final AntlrDatatypeRuleToken ruleOpOr() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalVerify.g:3971:2: ( (kw= 'or' | kw= '||' ) )
// InternalVerify.g:3972:2: (kw= 'or' | kw= '||' )
{
// InternalVerify.g:3972:2: (kw= 'or' | kw= '||' )
int alt79=2;
int LA79_0 = input.LA(1);
if ( (LA79_0==73) ) {
alt79=1;
}
else if ( (LA79_0==74) ) {
alt79=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 79, 0, input);
throw nvae;
}
switch (alt79) {
case 1 :
// InternalVerify.g:3973:3: kw= 'or'
{
kw=(Token)match(input,73,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOrAccess().getOrKeyword_0());
}
}
break;
case 2 :
// InternalVerify.g:3979:3: kw= '||'
{
kw=(Token)match(input,74,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOrAccess().getVerticalLineVerticalLineKeyword_1());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpOr"
// $ANTLR start "entryRuleAAndExpression"
// InternalVerify.g:3988:1: entryRuleAAndExpression returns [EObject current=null] : iv_ruleAAndExpression= ruleAAndExpression EOF ;
public final EObject entryRuleAAndExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleAAndExpression = null;
try {
// InternalVerify.g:3988:55: (iv_ruleAAndExpression= ruleAAndExpression EOF )
// InternalVerify.g:3989:2: iv_ruleAAndExpression= ruleAAndExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAAndExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleAAndExpression=ruleAAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAAndExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAAndExpression"
// $ANTLR start "ruleAAndExpression"
// InternalVerify.g:3995:1: ruleAAndExpression returns [EObject current=null] : (this_AEqualityExpression_0= ruleAEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAnd ) ) ) ) ( (lv_right_3_0= ruleAEqualityExpression ) ) )* ) ;
public final EObject ruleAAndExpression() throws RecognitionException {
EObject current = null;
EObject this_AEqualityExpression_0 = null;
AntlrDatatypeRuleToken lv_operator_2_0 = null;
EObject lv_right_3_0 = null;
enterRule();
try {
// InternalVerify.g:4001:2: ( (this_AEqualityExpression_0= ruleAEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAnd ) ) ) ) ( (lv_right_3_0= ruleAEqualityExpression ) ) )* ) )
// InternalVerify.g:4002:2: (this_AEqualityExpression_0= ruleAEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAnd ) ) ) ) ( (lv_right_3_0= ruleAEqualityExpression ) ) )* )
{
// InternalVerify.g:4002:2: (this_AEqualityExpression_0= ruleAEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAnd ) ) ) ) ( (lv_right_3_0= ruleAEqualityExpression ) ) )* )
// InternalVerify.g:4003:3: this_AEqualityExpression_0= ruleAEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAnd ) ) ) ) ( (lv_right_3_0= ruleAEqualityExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAAndExpressionAccess().getAEqualityExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_72);
this_AEqualityExpression_0=ruleAEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AEqualityExpression_0;
afterParserOrEnumRuleCall();
}
// InternalVerify.g:4011:3: ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAnd ) ) ) ) ( (lv_right_3_0= ruleAEqualityExpression ) ) )*
loop80:
do {
int alt80=2;
int LA80_0 = input.LA(1);
if ( (LA80_0==75) && (synpred8_InternalVerify())) {
alt80=1;
}
else if ( (LA80_0==76) && (synpred8_InternalVerify())) {
alt80=1;
}
switch (alt80) {
case 1 :
// InternalVerify.g:4012:4: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAnd ) ) ) ) ( (lv_right_3_0= ruleAEqualityExpression ) )
{
// InternalVerify.g:4012:4: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAnd ) ) ) )
// InternalVerify.g:4013:5: ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAnd ) ) )
{
// InternalVerify.g:4023:5: ( () ( (lv_operator_2_0= ruleOpAnd ) ) )
// InternalVerify.g:4024:6: () ( (lv_operator_2_0= ruleOpAnd ) )
{
// InternalVerify.g:4024:6: ()
// InternalVerify.g:4025:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getAAndExpressionAccess().getABinaryOperationLeftAction_1_0_0_0(),
current);
}
}
// InternalVerify.g:4031:6: ( (lv_operator_2_0= ruleOpAnd ) )
// InternalVerify.g:4032:7: (lv_operator_2_0= ruleOpAnd )
{
// InternalVerify.g:4032:7: (lv_operator_2_0= ruleOpAnd )
// InternalVerify.g:4033:8: lv_operator_2_0= ruleOpAnd
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAAndExpressionAccess().getOperatorOpAndParserRuleCall_1_0_0_1_0());
}
pushFollow(FOLLOW_33);
lv_operator_2_0=ruleOpAnd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAAndExpressionRule());
}
set(
current,
"operator",
lv_operator_2_0,
"org.osate.alisa.common.Common.OpAnd");
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalVerify.g:4052:4: ( (lv_right_3_0= ruleAEqualityExpression ) )
// InternalVerify.g:4053:5: (lv_right_3_0= ruleAEqualityExpression )
{
// InternalVerify.g:4053:5: (lv_right_3_0= ruleAEqualityExpression )
// InternalVerify.g:4054:6: lv_right_3_0= ruleAEqualityExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAAndExpressionAccess().getRightAEqualityExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_72);
lv_right_3_0=ruleAEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAAndExpressionRule());
}
set(
current,
"right",
lv_right_3_0,
"org.osate.alisa.common.Common.AEqualityExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop80;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAAndExpression"
// $ANTLR start "entryRuleOpAnd"
// InternalVerify.g:4076:1: entryRuleOpAnd returns [String current=null] : iv_ruleOpAnd= ruleOpAnd EOF ;
public final String entryRuleOpAnd() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpAnd = null;
try {
// InternalVerify.g:4076:45: (iv_ruleOpAnd= ruleOpAnd EOF )
// InternalVerify.g:4077:2: iv_ruleOpAnd= ruleOpAnd EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpAndRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpAnd=ruleOpAnd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpAnd.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpAnd"
// $ANTLR start "ruleOpAnd"
// InternalVerify.g:4083:1: ruleOpAnd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'and' | kw= '&&' ) ;
public final AntlrDatatypeRuleToken ruleOpAnd() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalVerify.g:4089:2: ( (kw= 'and' | kw= '&&' ) )
// InternalVerify.g:4090:2: (kw= 'and' | kw= '&&' )
{
// InternalVerify.g:4090:2: (kw= 'and' | kw= '&&' )
int alt81=2;
int LA81_0 = input.LA(1);
if ( (LA81_0==75) ) {
alt81=1;
}
else if ( (LA81_0==76) ) {
alt81=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 81, 0, input);
throw nvae;
}
switch (alt81) {
case 1 :
// InternalVerify.g:4091:3: kw= 'and'
{
kw=(Token)match(input,75,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAndAccess().getAndKeyword_0());
}
}
break;
case 2 :
// InternalVerify.g:4097:3: kw= '&&'
{
kw=(Token)match(input,76,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAndAccess().getAmpersandAmpersandKeyword_1());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpAnd"
// $ANTLR start "entryRuleAEqualityExpression"
// InternalVerify.g:4106:1: entryRuleAEqualityExpression returns [EObject current=null] : iv_ruleAEqualityExpression= ruleAEqualityExpression EOF ;
public final EObject entryRuleAEqualityExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleAEqualityExpression = null;
try {
// InternalVerify.g:4106:60: (iv_ruleAEqualityExpression= ruleAEqualityExpression EOF )
// InternalVerify.g:4107:2: iv_ruleAEqualityExpression= ruleAEqualityExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAEqualityExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleAEqualityExpression=ruleAEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAEqualityExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAEqualityExpression"
// $ANTLR start "ruleAEqualityExpression"
// InternalVerify.g:4113:1: ruleAEqualityExpression returns [EObject current=null] : (this_ARelationalExpression_0= ruleARelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpEquality ) ) ) ) ( (lv_right_3_0= ruleARelationalExpression ) ) )* ) ;
public final EObject ruleAEqualityExpression() throws RecognitionException {
EObject current = null;
EObject this_ARelationalExpression_0 = null;
AntlrDatatypeRuleToken lv_operator_2_0 = null;
EObject lv_right_3_0 = null;
enterRule();
try {
// InternalVerify.g:4119:2: ( (this_ARelationalExpression_0= ruleARelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpEquality ) ) ) ) ( (lv_right_3_0= ruleARelationalExpression ) ) )* ) )
// InternalVerify.g:4120:2: (this_ARelationalExpression_0= ruleARelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpEquality ) ) ) ) ( (lv_right_3_0= ruleARelationalExpression ) ) )* )
{
// InternalVerify.g:4120:2: (this_ARelationalExpression_0= ruleARelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpEquality ) ) ) ) ( (lv_right_3_0= ruleARelationalExpression ) ) )* )
// InternalVerify.g:4121:3: this_ARelationalExpression_0= ruleARelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpEquality ) ) ) ) ( (lv_right_3_0= ruleARelationalExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAEqualityExpressionAccess().getARelationalExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_73);
this_ARelationalExpression_0=ruleARelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ARelationalExpression_0;
afterParserOrEnumRuleCall();
}
// InternalVerify.g:4129:3: ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpEquality ) ) ) ) ( (lv_right_3_0= ruleARelationalExpression ) ) )*
loop82:
do {
int alt82=2;
int LA82_0 = input.LA(1);
if ( (LA82_0==77) && (synpred9_InternalVerify())) {
alt82=1;
}
else if ( (LA82_0==78) && (synpred9_InternalVerify())) {
alt82=1;
}
switch (alt82) {
case 1 :
// InternalVerify.g:4130:4: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpEquality ) ) ) ) ( (lv_right_3_0= ruleARelationalExpression ) )
{
// InternalVerify.g:4130:4: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpEquality ) ) ) )
// InternalVerify.g:4131:5: ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpEquality ) ) )
{
// InternalVerify.g:4141:5: ( () ( (lv_operator_2_0= ruleOpEquality ) ) )
// InternalVerify.g:4142:6: () ( (lv_operator_2_0= ruleOpEquality ) )
{
// InternalVerify.g:4142:6: ()
// InternalVerify.g:4143:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getAEqualityExpressionAccess().getABinaryOperationLeftAction_1_0_0_0(),
current);
}
}
// InternalVerify.g:4149:6: ( (lv_operator_2_0= ruleOpEquality ) )
// InternalVerify.g:4150:7: (lv_operator_2_0= ruleOpEquality )
{
// InternalVerify.g:4150:7: (lv_operator_2_0= ruleOpEquality )
// InternalVerify.g:4151:8: lv_operator_2_0= ruleOpEquality
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAEqualityExpressionAccess().getOperatorOpEqualityParserRuleCall_1_0_0_1_0());
}
pushFollow(FOLLOW_33);
lv_operator_2_0=ruleOpEquality();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAEqualityExpressionRule());
}
set(
current,
"operator",
lv_operator_2_0,
"org.osate.alisa.common.Common.OpEquality");
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalVerify.g:4170:4: ( (lv_right_3_0= ruleARelationalExpression ) )
// InternalVerify.g:4171:5: (lv_right_3_0= ruleARelationalExpression )
{
// InternalVerify.g:4171:5: (lv_right_3_0= ruleARelationalExpression )
// InternalVerify.g:4172:6: lv_right_3_0= ruleARelationalExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAEqualityExpressionAccess().getRightARelationalExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_73);
lv_right_3_0=ruleARelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAEqualityExpressionRule());
}
set(
current,
"right",
lv_right_3_0,
"org.osate.alisa.common.Common.ARelationalExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop82;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAEqualityExpression"
// $ANTLR start "entryRuleOpEquality"
// InternalVerify.g:4194:1: entryRuleOpEquality returns [String current=null] : iv_ruleOpEquality= ruleOpEquality EOF ;
public final String entryRuleOpEquality() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpEquality = null;
try {
// InternalVerify.g:4194:50: (iv_ruleOpEquality= ruleOpEquality EOF )
// InternalVerify.g:4195:2: iv_ruleOpEquality= ruleOpEquality EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpEqualityRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpEquality=ruleOpEquality();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpEquality.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpEquality"
// $ANTLR start "ruleOpEquality"
// InternalVerify.g:4201:1: ruleOpEquality returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '==' | kw= '!=' ) ;
public final AntlrDatatypeRuleToken ruleOpEquality() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalVerify.g:4207:2: ( (kw= '==' | kw= '!=' ) )
// InternalVerify.g:4208:2: (kw= '==' | kw= '!=' )
{
// InternalVerify.g:4208:2: (kw= '==' | kw= '!=' )
int alt83=2;
int LA83_0 = input.LA(1);
if ( (LA83_0==77) ) {
alt83=1;
}
else if ( (LA83_0==78) ) {
alt83=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 83, 0, input);
throw nvae;
}
switch (alt83) {
case 1 :
// InternalVerify.g:4209:3: kw= '=='
{
kw=(Token)match(input,77,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// InternalVerify.g:4215:3: kw= '!='
{
kw=(Token)match(input,78,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignKeyword_1());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpEquality"
// $ANTLR start "entryRuleARelationalExpression"
// InternalVerify.g:4224:1: entryRuleARelationalExpression returns [EObject current=null] : iv_ruleARelationalExpression= ruleARelationalExpression EOF ;
public final EObject entryRuleARelationalExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleARelationalExpression = null;
try {
// InternalVerify.g:4224:62: (iv_ruleARelationalExpression= ruleARelationalExpression EOF )
// InternalVerify.g:4225:2: iv_ruleARelationalExpression= ruleARelationalExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getARelationalExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleARelationalExpression=ruleARelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleARelationalExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleARelationalExpression"
// $ANTLR start "ruleARelationalExpression"
// InternalVerify.g:4231:1: ruleARelationalExpression returns [EObject current=null] : (this_AAdditiveExpression_0= ruleAAdditiveExpression ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpCompare ) ) ) ) ( (lv_right_3_0= ruleAAdditiveExpression ) ) )* ) ;
public final EObject ruleARelationalExpression() throws RecognitionException {
EObject current = null;
EObject this_AAdditiveExpression_0 = null;
AntlrDatatypeRuleToken lv_operator_2_0 = null;
EObject lv_right_3_0 = null;
enterRule();
try {
// InternalVerify.g:4237:2: ( (this_AAdditiveExpression_0= ruleAAdditiveExpression ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpCompare ) ) ) ) ( (lv_right_3_0= ruleAAdditiveExpression ) ) )* ) )
// InternalVerify.g:4238:2: (this_AAdditiveExpression_0= ruleAAdditiveExpression ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpCompare ) ) ) ) ( (lv_right_3_0= ruleAAdditiveExpression ) ) )* )
{
// InternalVerify.g:4238:2: (this_AAdditiveExpression_0= ruleAAdditiveExpression ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpCompare ) ) ) ) ( (lv_right_3_0= ruleAAdditiveExpression ) ) )* )
// InternalVerify.g:4239:3: this_AAdditiveExpression_0= ruleAAdditiveExpression ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpCompare ) ) ) ) ( (lv_right_3_0= ruleAAdditiveExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getARelationalExpressionAccess().getAAdditiveExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_74);
this_AAdditiveExpression_0=ruleAAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AAdditiveExpression_0;
afterParserOrEnumRuleCall();
}
// InternalVerify.g:4247:3: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpCompare ) ) ) ) ( (lv_right_3_0= ruleAAdditiveExpression ) ) )*
loop84:
do {
int alt84=2;
int LA84_0 = input.LA(1);
if ( (LA84_0==79) && (synpred10_InternalVerify())) {
alt84=1;
}
else if ( (LA84_0==80) && (synpred10_InternalVerify())) {
alt84=1;
}
else if ( (LA84_0==81) && (synpred10_InternalVerify())) {
alt84=1;
}
else if ( (LA84_0==82) && (synpred10_InternalVerify())) {
alt84=1;
}
else if ( (LA84_0==83) && (synpred10_InternalVerify())) {
alt84=1;
}
switch (alt84) {
case 1 :
// InternalVerify.g:4248:4: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpCompare ) ) ) ) ( (lv_right_3_0= ruleAAdditiveExpression ) )
{
// InternalVerify.g:4248:4: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpCompare ) ) ) )
// InternalVerify.g:4249:5: ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpCompare ) ) )
{
// InternalVerify.g:4259:5: ( () ( (lv_operator_2_0= ruleOpCompare ) ) )
// InternalVerify.g:4260:6: () ( (lv_operator_2_0= ruleOpCompare ) )
{
// InternalVerify.g:4260:6: ()
// InternalVerify.g:4261:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getARelationalExpressionAccess().getABinaryOperationLeftAction_1_0_0_0(),
current);
}
}
// InternalVerify.g:4267:6: ( (lv_operator_2_0= ruleOpCompare ) )
// InternalVerify.g:4268:7: (lv_operator_2_0= ruleOpCompare )
{
// InternalVerify.g:4268:7: (lv_operator_2_0= ruleOpCompare )
// InternalVerify.g:4269:8: lv_operator_2_0= ruleOpCompare
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getARelationalExpressionAccess().getOperatorOpCompareParserRuleCall_1_0_0_1_0());
}
pushFollow(FOLLOW_33);
lv_operator_2_0=ruleOpCompare();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getARelationalExpressionRule());
}
set(
current,
"operator",
lv_operator_2_0,
"org.osate.alisa.common.Common.OpCompare");
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalVerify.g:4288:4: ( (lv_right_3_0= ruleAAdditiveExpression ) )
// InternalVerify.g:4289:5: (lv_right_3_0= ruleAAdditiveExpression )
{
// InternalVerify.g:4289:5: (lv_right_3_0= ruleAAdditiveExpression )
// InternalVerify.g:4290:6: lv_right_3_0= ruleAAdditiveExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getARelationalExpressionAccess().getRightAAdditiveExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_74);
lv_right_3_0=ruleAAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getARelationalExpressionRule());
}
set(
current,
"right",
lv_right_3_0,
"org.osate.alisa.common.Common.AAdditiveExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop84;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleARelationalExpression"
// $ANTLR start "entryRuleOpCompare"
// InternalVerify.g:4312:1: entryRuleOpCompare returns [String current=null] : iv_ruleOpCompare= ruleOpCompare EOF ;
public final String entryRuleOpCompare() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpCompare = null;
try {
// InternalVerify.g:4312:49: (iv_ruleOpCompare= ruleOpCompare EOF )
// InternalVerify.g:4313:2: iv_ruleOpCompare= ruleOpCompare EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpCompareRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpCompare=ruleOpCompare();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpCompare.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpCompare"
// $ANTLR start "ruleOpCompare"
// InternalVerify.g:4319:1: ruleOpCompare returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '>=' | kw= '<=' | kw= '>' | kw= '<' | kw= '><' ) ;
public final AntlrDatatypeRuleToken ruleOpCompare() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalVerify.g:4325:2: ( (kw= '>=' | kw= '<=' | kw= '>' | kw= '<' | kw= '><' ) )
// InternalVerify.g:4326:2: (kw= '>=' | kw= '<=' | kw= '>' | kw= '<' | kw= '><' )
{
// InternalVerify.g:4326:2: (kw= '>=' | kw= '<=' | kw= '>' | kw= '<' | kw= '><' )
int alt85=5;
switch ( input.LA(1) ) {
case 79:
{
alt85=1;
}
break;
case 80:
{
alt85=2;
}
break;
case 81:
{
alt85=3;
}
break;
case 82:
{
alt85=4;
}
break;
case 83:
{
alt85=5;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 85, 0, input);
throw nvae;
}
switch (alt85) {
case 1 :
// InternalVerify.g:4327:3: kw= '>='
{
kw=(Token)match(input,79,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// InternalVerify.g:4333:3: kw= '<='
{
kw=(Token)match(input,80,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignEqualsSignKeyword_1());
}
}
break;
case 3 :
// InternalVerify.g:4339:3: kw= '>'
{
kw=(Token)match(input,81,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignKeyword_2());
}
}
break;
case 4 :
// InternalVerify.g:4345:3: kw= '<'
{
kw=(Token)match(input,82,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_3());
}
}
break;
case 5 :
// InternalVerify.g:4351:3: kw= '><'
{
kw=(Token)match(input,83,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignLessThanSignKeyword_4());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpCompare"
// $ANTLR start "entryRuleAAdditiveExpression"
// InternalVerify.g:4360:1: entryRuleAAdditiveExpression returns [EObject current=null] : iv_ruleAAdditiveExpression= ruleAAdditiveExpression EOF ;
public final EObject entryRuleAAdditiveExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleAAdditiveExpression = null;
try {
// InternalVerify.g:4360:60: (iv_ruleAAdditiveExpression= ruleAAdditiveExpression EOF )
// InternalVerify.g:4361:2: iv_ruleAAdditiveExpression= ruleAAdditiveExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAAdditiveExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleAAdditiveExpression=ruleAAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAAdditiveExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAAdditiveExpression"
// $ANTLR start "ruleAAdditiveExpression"
// InternalVerify.g:4367:1: ruleAAdditiveExpression returns [EObject current=null] : (this_AMultiplicativeExpression_0= ruleAMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAdd ) ) ) ) ( (lv_right_3_0= ruleAMultiplicativeExpression ) ) )* ) ;
public final EObject ruleAAdditiveExpression() throws RecognitionException {
EObject current = null;
EObject this_AMultiplicativeExpression_0 = null;
AntlrDatatypeRuleToken lv_operator_2_0 = null;
EObject lv_right_3_0 = null;
enterRule();
try {
// InternalVerify.g:4373:2: ( (this_AMultiplicativeExpression_0= ruleAMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAdd ) ) ) ) ( (lv_right_3_0= ruleAMultiplicativeExpression ) ) )* ) )
// InternalVerify.g:4374:2: (this_AMultiplicativeExpression_0= ruleAMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAdd ) ) ) ) ( (lv_right_3_0= ruleAMultiplicativeExpression ) ) )* )
{
// InternalVerify.g:4374:2: (this_AMultiplicativeExpression_0= ruleAMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAdd ) ) ) ) ( (lv_right_3_0= ruleAMultiplicativeExpression ) ) )* )
// InternalVerify.g:4375:3: this_AMultiplicativeExpression_0= ruleAMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAdd ) ) ) ) ( (lv_right_3_0= ruleAMultiplicativeExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAAdditiveExpressionAccess().getAMultiplicativeExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_75);
this_AMultiplicativeExpression_0=ruleAMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AMultiplicativeExpression_0;
afterParserOrEnumRuleCall();
}
// InternalVerify.g:4383:3: ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAdd ) ) ) ) ( (lv_right_3_0= ruleAMultiplicativeExpression ) ) )*
loop86:
do {
int alt86=2;
int LA86_0 = input.LA(1);
if ( (LA86_0==84) && (synpred11_InternalVerify())) {
alt86=1;
}
else if ( (LA86_0==85) && (synpred11_InternalVerify())) {
alt86=1;
}
switch (alt86) {
case 1 :
// InternalVerify.g:4384:4: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAdd ) ) ) ) ( (lv_right_3_0= ruleAMultiplicativeExpression ) )
{
// InternalVerify.g:4384:4: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAdd ) ) ) )
// InternalVerify.g:4385:5: ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpAdd ) ) )
{
// InternalVerify.g:4395:5: ( () ( (lv_operator_2_0= ruleOpAdd ) ) )
// InternalVerify.g:4396:6: () ( (lv_operator_2_0= ruleOpAdd ) )
{
// InternalVerify.g:4396:6: ()
// InternalVerify.g:4397:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getAAdditiveExpressionAccess().getABinaryOperationLeftAction_1_0_0_0(),
current);
}
}
// InternalVerify.g:4403:6: ( (lv_operator_2_0= ruleOpAdd ) )
// InternalVerify.g:4404:7: (lv_operator_2_0= ruleOpAdd )
{
// InternalVerify.g:4404:7: (lv_operator_2_0= ruleOpAdd )
// InternalVerify.g:4405:8: lv_operator_2_0= ruleOpAdd
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAAdditiveExpressionAccess().getOperatorOpAddParserRuleCall_1_0_0_1_0());
}
pushFollow(FOLLOW_33);
lv_operator_2_0=ruleOpAdd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAAdditiveExpressionRule());
}
set(
current,
"operator",
lv_operator_2_0,
"org.osate.alisa.common.Common.OpAdd");
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalVerify.g:4424:4: ( (lv_right_3_0= ruleAMultiplicativeExpression ) )
// InternalVerify.g:4425:5: (lv_right_3_0= ruleAMultiplicativeExpression )
{
// InternalVerify.g:4425:5: (lv_right_3_0= ruleAMultiplicativeExpression )
// InternalVerify.g:4426:6: lv_right_3_0= ruleAMultiplicativeExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAAdditiveExpressionAccess().getRightAMultiplicativeExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_75);
lv_right_3_0=ruleAMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAAdditiveExpressionRule());
}
set(
current,
"right",
lv_right_3_0,
"org.osate.alisa.common.Common.AMultiplicativeExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop86;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAAdditiveExpression"
// $ANTLR start "entryRuleOpAdd"
// InternalVerify.g:4448:1: entryRuleOpAdd returns [String current=null] : iv_ruleOpAdd= ruleOpAdd EOF ;
public final String entryRuleOpAdd() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpAdd = null;
try {
// InternalVerify.g:4448:45: (iv_ruleOpAdd= ruleOpAdd EOF )
// InternalVerify.g:4449:2: iv_ruleOpAdd= ruleOpAdd EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpAddRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpAdd=ruleOpAdd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpAdd.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpAdd"
// $ANTLR start "ruleOpAdd"
// InternalVerify.g:4455:1: ruleOpAdd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '+' | kw= '-' ) ;
public final AntlrDatatypeRuleToken ruleOpAdd() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalVerify.g:4461:2: ( (kw= '+' | kw= '-' ) )
// InternalVerify.g:4462:2: (kw= '+' | kw= '-' )
{
// InternalVerify.g:4462:2: (kw= '+' | kw= '-' )
int alt87=2;
int LA87_0 = input.LA(1);
if ( (LA87_0==84) ) {
alt87=1;
}
else if ( (LA87_0==85) ) {
alt87=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 87, 0, input);
throw nvae;
}
switch (alt87) {
case 1 :
// InternalVerify.g:4463:3: kw= '+'
{
kw=(Token)match(input,84,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAddAccess().getPlusSignKeyword_0());
}
}
break;
case 2 :
// InternalVerify.g:4469:3: kw= '-'
{
kw=(Token)match(input,85,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAddAccess().getHyphenMinusKeyword_1());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpAdd"
// $ANTLR start "entryRuleAMultiplicativeExpression"
// InternalVerify.g:4478:1: entryRuleAMultiplicativeExpression returns [EObject current=null] : iv_ruleAMultiplicativeExpression= ruleAMultiplicativeExpression EOF ;
public final EObject entryRuleAMultiplicativeExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleAMultiplicativeExpression = null;
try {
// InternalVerify.g:4478:66: (iv_ruleAMultiplicativeExpression= ruleAMultiplicativeExpression EOF )
// InternalVerify.g:4479:2: iv_ruleAMultiplicativeExpression= ruleAMultiplicativeExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAMultiplicativeExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleAMultiplicativeExpression=ruleAMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAMultiplicativeExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAMultiplicativeExpression"
// $ANTLR start "ruleAMultiplicativeExpression"
// InternalVerify.g:4485:1: ruleAMultiplicativeExpression returns [EObject current=null] : (this_AUnaryOperation_0= ruleAUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpMulti ) ) ) ) ( (lv_right_3_0= ruleAUnaryOperation ) ) )* ) ;
public final EObject ruleAMultiplicativeExpression() throws RecognitionException {
EObject current = null;
EObject this_AUnaryOperation_0 = null;
AntlrDatatypeRuleToken lv_operator_2_0 = null;
EObject lv_right_3_0 = null;
enterRule();
try {
// InternalVerify.g:4491:2: ( (this_AUnaryOperation_0= ruleAUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpMulti ) ) ) ) ( (lv_right_3_0= ruleAUnaryOperation ) ) )* ) )
// InternalVerify.g:4492:2: (this_AUnaryOperation_0= ruleAUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpMulti ) ) ) ) ( (lv_right_3_0= ruleAUnaryOperation ) ) )* )
{
// InternalVerify.g:4492:2: (this_AUnaryOperation_0= ruleAUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpMulti ) ) ) ) ( (lv_right_3_0= ruleAUnaryOperation ) ) )* )
// InternalVerify.g:4493:3: this_AUnaryOperation_0= ruleAUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpMulti ) ) ) ) ( (lv_right_3_0= ruleAUnaryOperation ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAMultiplicativeExpressionAccess().getAUnaryOperationParserRuleCall_0());
}
pushFollow(FOLLOW_76);
this_AUnaryOperation_0=ruleAUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AUnaryOperation_0;
afterParserOrEnumRuleCall();
}
// InternalVerify.g:4501:3: ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpMulti ) ) ) ) ( (lv_right_3_0= ruleAUnaryOperation ) ) )*
loop88:
do {
int alt88=2;
int LA88_0 = input.LA(1);
if ( (LA88_0==86) && (synpred12_InternalVerify())) {
alt88=1;
}
else if ( (LA88_0==72) && (synpred12_InternalVerify())) {
alt88=1;
}
else if ( (LA88_0==87) && (synpred12_InternalVerify())) {
alt88=1;
}
else if ( (LA88_0==88) && (synpred12_InternalVerify())) {
alt88=1;
}
switch (alt88) {
case 1 :
// InternalVerify.g:4502:4: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpMulti ) ) ) ) ( (lv_right_3_0= ruleAUnaryOperation ) )
{
// InternalVerify.g:4502:4: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpMulti ) ) ) )
// InternalVerify.g:4503:5: ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( (lv_operator_2_0= ruleOpMulti ) ) )
{
// InternalVerify.g:4513:5: ( () ( (lv_operator_2_0= ruleOpMulti ) ) )
// InternalVerify.g:4514:6: () ( (lv_operator_2_0= ruleOpMulti ) )
{
// InternalVerify.g:4514:6: ()
// InternalVerify.g:4515:7:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getAMultiplicativeExpressionAccess().getABinaryOperationLeftAction_1_0_0_0(),
current);
}
}
// InternalVerify.g:4521:6: ( (lv_operator_2_0= ruleOpMulti ) )
// InternalVerify.g:4522:7: (lv_operator_2_0= ruleOpMulti )
{
// InternalVerify.g:4522:7: (lv_operator_2_0= ruleOpMulti )
// InternalVerify.g:4523:8: lv_operator_2_0= ruleOpMulti
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAMultiplicativeExpressionAccess().getOperatorOpMultiParserRuleCall_1_0_0_1_0());
}
pushFollow(FOLLOW_33);
lv_operator_2_0=ruleOpMulti();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAMultiplicativeExpressionRule());
}
set(
current,
"operator",
lv_operator_2_0,
"org.osate.alisa.common.Common.OpMulti");
afterParserOrEnumRuleCall();
}
}
}
}
}
// InternalVerify.g:4542:4: ( (lv_right_3_0= ruleAUnaryOperation ) )
// InternalVerify.g:4543:5: (lv_right_3_0= ruleAUnaryOperation )
{
// InternalVerify.g:4543:5: (lv_right_3_0= ruleAUnaryOperation )
// InternalVerify.g:4544:6: lv_right_3_0= ruleAUnaryOperation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAMultiplicativeExpressionAccess().getRightAUnaryOperationParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_76);
lv_right_3_0=ruleAUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAMultiplicativeExpressionRule());
}
set(
current,
"right",
lv_right_3_0,
"org.osate.alisa.common.Common.AUnaryOperation");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop88;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAMultiplicativeExpression"
// $ANTLR start "entryRuleOpMulti"
// InternalVerify.g:4566:1: entryRuleOpMulti returns [String current=null] : iv_ruleOpMulti= ruleOpMulti EOF ;
public final String entryRuleOpMulti() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpMulti = null;
try {
// InternalVerify.g:4566:47: (iv_ruleOpMulti= ruleOpMulti EOF )
// InternalVerify.g:4567:2: iv_ruleOpMulti= ruleOpMulti EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpMultiRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpMulti=ruleOpMulti();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpMulti.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpMulti"
// $ANTLR start "ruleOpMulti"
// InternalVerify.g:4573:1: ruleOpMulti returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '*' | kw= '/' | kw= 'div' | kw= 'mod' ) ;
public final AntlrDatatypeRuleToken ruleOpMulti() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalVerify.g:4579:2: ( (kw= '*' | kw= '/' | kw= 'div' | kw= 'mod' ) )
// InternalVerify.g:4580:2: (kw= '*' | kw= '/' | kw= 'div' | kw= 'mod' )
{
// InternalVerify.g:4580:2: (kw= '*' | kw= '/' | kw= 'div' | kw= 'mod' )
int alt89=4;
switch ( input.LA(1) ) {
case 86:
{
alt89=1;
}
break;
case 72:
{
alt89=2;
}
break;
case 87:
{
alt89=3;
}
break;
case 88:
{
alt89=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 89, 0, input);
throw nvae;
}
switch (alt89) {
case 1 :
// InternalVerify.g:4581:3: kw= '*'
{
kw=(Token)match(input,86,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskKeyword_0());
}
}
break;
case 2 :
// InternalVerify.g:4587:3: kw= '/'
{
kw=(Token)match(input,72,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getSolidusKeyword_1());
}
}
break;
case 3 :
// InternalVerify.g:4593:3: kw= 'div'
{
kw=(Token)match(input,87,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getDivKeyword_2());
}
}
break;
case 4 :
// InternalVerify.g:4599:3: kw= 'mod'
{
kw=(Token)match(input,88,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getModKeyword_3());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpMulti"
// $ANTLR start "entryRuleAUnaryOperation"
// InternalVerify.g:4608:1: entryRuleAUnaryOperation returns [EObject current=null] : iv_ruleAUnaryOperation= ruleAUnaryOperation EOF ;
public final EObject entryRuleAUnaryOperation() throws RecognitionException {
EObject current = null;
EObject iv_ruleAUnaryOperation = null;
try {
// InternalVerify.g:4608:56: (iv_ruleAUnaryOperation= ruleAUnaryOperation EOF )
// InternalVerify.g:4609:2: iv_ruleAUnaryOperation= ruleAUnaryOperation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAUnaryOperationRule());
}
pushFollow(FOLLOW_1);
iv_ruleAUnaryOperation=ruleAUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAUnaryOperation;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAUnaryOperation"
// $ANTLR start "ruleAUnaryOperation"
// InternalVerify.g:4615:1: ruleAUnaryOperation returns [EObject current=null] : ( ( () ( ( ( ruleOpUnary ) )=> (lv_operator_1_0= ruleOpUnary ) ) ( (lv_operand_2_0= ruleAUnaryOperation ) ) ) | this_AUnitExpression_3= ruleAUnitExpression ) ;
public final EObject ruleAUnaryOperation() throws RecognitionException {
EObject current = null;
AntlrDatatypeRuleToken lv_operator_1_0 = null;
EObject lv_operand_2_0 = null;
EObject this_AUnitExpression_3 = null;
enterRule();
try {
// InternalVerify.g:4621:2: ( ( ( () ( ( ( ruleOpUnary ) )=> (lv_operator_1_0= ruleOpUnary ) ) ( (lv_operand_2_0= ruleAUnaryOperation ) ) ) | this_AUnitExpression_3= ruleAUnitExpression ) )
// InternalVerify.g:4622:2: ( ( () ( ( ( ruleOpUnary ) )=> (lv_operator_1_0= ruleOpUnary ) ) ( (lv_operand_2_0= ruleAUnaryOperation ) ) ) | this_AUnitExpression_3= ruleAUnitExpression )
{
// InternalVerify.g:4622:2: ( ( () ( ( ( ruleOpUnary ) )=> (lv_operator_1_0= ruleOpUnary ) ) ( (lv_operand_2_0= ruleAUnaryOperation ) ) ) | this_AUnitExpression_3= ruleAUnitExpression )
int alt90=2;
int LA90_0 = input.LA(1);
if ( ((LA90_0>=84 && LA90_0<=85)||LA90_0==89) ) {
alt90=1;
}
else if ( ((LA90_0>=RULE_STRING && LA90_0<=RULE_REAL_LIT)||LA90_0==21||LA90_0==35||LA90_0==60||LA90_0==68||LA90_0==92||(LA90_0>=94 && LA90_0<=95)) ) {
alt90=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 90, 0, input);
throw nvae;
}
switch (alt90) {
case 1 :
// InternalVerify.g:4623:3: ( () ( ( ( ruleOpUnary ) )=> (lv_operator_1_0= ruleOpUnary ) ) ( (lv_operand_2_0= ruleAUnaryOperation ) ) )
{
// InternalVerify.g:4623:3: ( () ( ( ( ruleOpUnary ) )=> (lv_operator_1_0= ruleOpUnary ) ) ( (lv_operand_2_0= ruleAUnaryOperation ) ) )
// InternalVerify.g:4624:4: () ( ( ( ruleOpUnary ) )=> (lv_operator_1_0= ruleOpUnary ) ) ( (lv_operand_2_0= ruleAUnaryOperation ) )
{
// InternalVerify.g:4624:4: ()
// InternalVerify.g:4625:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getAUnaryOperationAccess().getAUnaryOperationAction_0_0(),
current);
}
}
// InternalVerify.g:4631:4: ( ( ( ruleOpUnary ) )=> (lv_operator_1_0= ruleOpUnary ) )
// InternalVerify.g:4632:5: ( ( ruleOpUnary ) )=> (lv_operator_1_0= ruleOpUnary )
{
// InternalVerify.g:4636:5: (lv_operator_1_0= ruleOpUnary )
// InternalVerify.g:4637:6: lv_operator_1_0= ruleOpUnary
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAUnaryOperationAccess().getOperatorOpUnaryParserRuleCall_0_1_0());
}
pushFollow(FOLLOW_33);
lv_operator_1_0=ruleOpUnary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAUnaryOperationRule());
}
set(
current,
"operator",
lv_operator_1_0,
"org.osate.alisa.common.Common.OpUnary");
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:4654:4: ( (lv_operand_2_0= ruleAUnaryOperation ) )
// InternalVerify.g:4655:5: (lv_operand_2_0= ruleAUnaryOperation )
{
// InternalVerify.g:4655:5: (lv_operand_2_0= ruleAUnaryOperation )
// InternalVerify.g:4656:6: lv_operand_2_0= ruleAUnaryOperation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAUnaryOperationAccess().getOperandAUnaryOperationParserRuleCall_0_2_0());
}
pushFollow(FOLLOW_2);
lv_operand_2_0=ruleAUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAUnaryOperationRule());
}
set(
current,
"operand",
lv_operand_2_0,
"org.osate.alisa.common.Common.AUnaryOperation");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// InternalVerify.g:4675:3: this_AUnitExpression_3= ruleAUnitExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAUnaryOperationAccess().getAUnitExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_AUnitExpression_3=ruleAUnitExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AUnitExpression_3;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAUnaryOperation"
// $ANTLR start "entryRuleOpUnary"
// InternalVerify.g:4687:1: entryRuleOpUnary returns [String current=null] : iv_ruleOpUnary= ruleOpUnary EOF ;
public final String entryRuleOpUnary() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpUnary = null;
try {
// InternalVerify.g:4687:47: (iv_ruleOpUnary= ruleOpUnary EOF )
// InternalVerify.g:4688:2: iv_ruleOpUnary= ruleOpUnary EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpUnaryRule());
}
pushFollow(FOLLOW_1);
iv_ruleOpUnary=ruleOpUnary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpUnary.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpUnary"
// $ANTLR start "ruleOpUnary"
// InternalVerify.g:4694:1: ruleOpUnary returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'not' | kw= '-' | kw= '+' ) ;
public final AntlrDatatypeRuleToken ruleOpUnary() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalVerify.g:4700:2: ( (kw= 'not' | kw= '-' | kw= '+' ) )
// InternalVerify.g:4701:2: (kw= 'not' | kw= '-' | kw= '+' )
{
// InternalVerify.g:4701:2: (kw= 'not' | kw= '-' | kw= '+' )
int alt91=3;
switch ( input.LA(1) ) {
case 89:
{
alt91=1;
}
break;
case 85:
{
alt91=2;
}
break;
case 84:
{
alt91=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 91, 0, input);
throw nvae;
}
switch (alt91) {
case 1 :
// InternalVerify.g:4702:3: kw= 'not'
{
kw=(Token)match(input,89,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getNotKeyword_0());
}
}
break;
case 2 :
// InternalVerify.g:4708:3: kw= '-'
{
kw=(Token)match(input,85,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getHyphenMinusKeyword_1());
}
}
break;
case 3 :
// InternalVerify.g:4714:3: kw= '+'
{
kw=(Token)match(input,84,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getPlusSignKeyword_2());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpUnary"
// $ANTLR start "entryRuleAUnitExpression"
// InternalVerify.g:4723:1: entryRuleAUnitExpression returns [EObject current=null] : iv_ruleAUnitExpression= ruleAUnitExpression EOF ;
public final EObject entryRuleAUnitExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleAUnitExpression = null;
try {
// InternalVerify.g:4723:56: (iv_ruleAUnitExpression= ruleAUnitExpression EOF )
// InternalVerify.g:4724:2: iv_ruleAUnitExpression= ruleAUnitExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAUnitExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleAUnitExpression=ruleAUnitExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAUnitExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAUnitExpression"
// $ANTLR start "ruleAUnitExpression"
// InternalVerify.g:4730:1: ruleAUnitExpression returns [EObject current=null] : (this_APrimaryExpression_0= ruleAPrimaryExpression ( () ( ( (lv_convert_2_0= '%' ) ) | ( (lv_drop_3_0= 'in' ) ) )? ( (otherlv_4= RULE_ID ) ) )? ) ;
public final EObject ruleAUnitExpression() throws RecognitionException {
EObject current = null;
Token lv_convert_2_0=null;
Token lv_drop_3_0=null;
Token otherlv_4=null;
EObject this_APrimaryExpression_0 = null;
enterRule();
try {
// InternalVerify.g:4736:2: ( (this_APrimaryExpression_0= ruleAPrimaryExpression ( () ( ( (lv_convert_2_0= '%' ) ) | ( (lv_drop_3_0= 'in' ) ) )? ( (otherlv_4= RULE_ID ) ) )? ) )
// InternalVerify.g:4737:2: (this_APrimaryExpression_0= ruleAPrimaryExpression ( () ( ( (lv_convert_2_0= '%' ) ) | ( (lv_drop_3_0= 'in' ) ) )? ( (otherlv_4= RULE_ID ) ) )? )
{
// InternalVerify.g:4737:2: (this_APrimaryExpression_0= ruleAPrimaryExpression ( () ( ( (lv_convert_2_0= '%' ) ) | ( (lv_drop_3_0= 'in' ) ) )? ( (otherlv_4= RULE_ID ) ) )? )
// InternalVerify.g:4738:3: this_APrimaryExpression_0= ruleAPrimaryExpression ( () ( ( (lv_convert_2_0= '%' ) ) | ( (lv_drop_3_0= 'in' ) ) )? ( (otherlv_4= RULE_ID ) ) )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAUnitExpressionAccess().getAPrimaryExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_77);
this_APrimaryExpression_0=ruleAPrimaryExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_APrimaryExpression_0;
afterParserOrEnumRuleCall();
}
// InternalVerify.g:4746:3: ( () ( ( (lv_convert_2_0= '%' ) ) | ( (lv_drop_3_0= 'in' ) ) )? ( (otherlv_4= RULE_ID ) ) )?
int alt93=2;
int LA93_0 = input.LA(1);
if ( (LA93_0==RULE_ID||LA93_0==45||LA93_0==70) ) {
alt93=1;
}
switch (alt93) {
case 1 :
// InternalVerify.g:4747:4: () ( ( (lv_convert_2_0= '%' ) ) | ( (lv_drop_3_0= 'in' ) ) )? ( (otherlv_4= RULE_ID ) )
{
// InternalVerify.g:4747:4: ()
// InternalVerify.g:4748:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getAUnitExpressionAccess().getAUnitExpressionExpressionAction_1_0(),
current);
}
}
// InternalVerify.g:4754:4: ( ( (lv_convert_2_0= '%' ) ) | ( (lv_drop_3_0= 'in' ) ) )?
int alt92=3;
int LA92_0 = input.LA(1);
if ( (LA92_0==70) ) {
alt92=1;
}
else if ( (LA92_0==45) ) {
alt92=2;
}
switch (alt92) {
case 1 :
// InternalVerify.g:4755:5: ( (lv_convert_2_0= '%' ) )
{
// InternalVerify.g:4755:5: ( (lv_convert_2_0= '%' ) )
// InternalVerify.g:4756:6: (lv_convert_2_0= '%' )
{
// InternalVerify.g:4756:6: (lv_convert_2_0= '%' )
// InternalVerify.g:4757:7: lv_convert_2_0= '%'
{
lv_convert_2_0=(Token)match(input,70,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_convert_2_0, grammarAccess.getAUnitExpressionAccess().getConvertPercentSignKeyword_1_1_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getAUnitExpressionRule());
}
setWithLastConsumed(current, "convert", true, "%");
}
}
}
}
break;
case 2 :
// InternalVerify.g:4770:5: ( (lv_drop_3_0= 'in' ) )
{
// InternalVerify.g:4770:5: ( (lv_drop_3_0= 'in' ) )
// InternalVerify.g:4771:6: (lv_drop_3_0= 'in' )
{
// InternalVerify.g:4771:6: (lv_drop_3_0= 'in' )
// InternalVerify.g:4772:7: lv_drop_3_0= 'in'
{
lv_drop_3_0=(Token)match(input,45,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_drop_3_0, grammarAccess.getAUnitExpressionAccess().getDropInKeyword_1_1_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getAUnitExpressionRule());
}
setWithLastConsumed(current, "drop", true, "in");
}
}
}
}
break;
}
// InternalVerify.g:4785:4: ( (otherlv_4= RULE_ID ) )
// InternalVerify.g:4786:5: (otherlv_4= RULE_ID )
{
// InternalVerify.g:4786:5: (otherlv_4= RULE_ID )
// InternalVerify.g:4787:6: otherlv_4= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getAUnitExpressionRule());
}
}
otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getAUnitExpressionAccess().getUnitUnitLiteralCrossReference_1_2_0());
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAUnitExpression"
// $ANTLR start "entryRuleAPrimaryExpression"
// InternalVerify.g:4803:1: entryRuleAPrimaryExpression returns [EObject current=null] : iv_ruleAPrimaryExpression= ruleAPrimaryExpression EOF ;
public final EObject entryRuleAPrimaryExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleAPrimaryExpression = null;
try {
// InternalVerify.g:4803:59: (iv_ruleAPrimaryExpression= ruleAPrimaryExpression EOF )
// InternalVerify.g:4804:2: iv_ruleAPrimaryExpression= ruleAPrimaryExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAPrimaryExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleAPrimaryExpression=ruleAPrimaryExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAPrimaryExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAPrimaryExpression"
// $ANTLR start "ruleAPrimaryExpression"
// InternalVerify.g:4810:1: ruleAPrimaryExpression returns [EObject current=null] : (this_ALiteral_0= ruleALiteral | this_AVariableReference_1= ruleAVariableReference | this_AModelOrPropertyReference_2= ruleAModelOrPropertyReference | this_AFunctionCall_3= ruleAFunctionCall | this_ARangeExpression_4= ruleARangeExpression | this_AIfExpression_5= ruleAIfExpression | this_AParenthesizedExpression_6= ruleAParenthesizedExpression ) ;
public final EObject ruleAPrimaryExpression() throws RecognitionException {
EObject current = null;
EObject this_ALiteral_0 = null;
EObject this_AVariableReference_1 = null;
EObject this_AModelOrPropertyReference_2 = null;
EObject this_AFunctionCall_3 = null;
EObject this_ARangeExpression_4 = null;
EObject this_AIfExpression_5 = null;
EObject this_AParenthesizedExpression_6 = null;
enterRule();
try {
// InternalVerify.g:4816:2: ( (this_ALiteral_0= ruleALiteral | this_AVariableReference_1= ruleAVariableReference | this_AModelOrPropertyReference_2= ruleAModelOrPropertyReference | this_AFunctionCall_3= ruleAFunctionCall | this_ARangeExpression_4= ruleARangeExpression | this_AIfExpression_5= ruleAIfExpression | this_AParenthesizedExpression_6= ruleAParenthesizedExpression ) )
// InternalVerify.g:4817:2: (this_ALiteral_0= ruleALiteral | this_AVariableReference_1= ruleAVariableReference | this_AModelOrPropertyReference_2= ruleAModelOrPropertyReference | this_AFunctionCall_3= ruleAFunctionCall | this_ARangeExpression_4= ruleARangeExpression | this_AIfExpression_5= ruleAIfExpression | this_AParenthesizedExpression_6= ruleAParenthesizedExpression )
{
// InternalVerify.g:4817:2: (this_ALiteral_0= ruleALiteral | this_AVariableReference_1= ruleAVariableReference | this_AModelOrPropertyReference_2= ruleAModelOrPropertyReference | this_AFunctionCall_3= ruleAFunctionCall | this_ARangeExpression_4= ruleARangeExpression | this_AIfExpression_5= ruleAIfExpression | this_AParenthesizedExpression_6= ruleAParenthesizedExpression )
int alt94=7;
switch ( input.LA(1) ) {
case RULE_STRING:
case RULE_INT:
case RULE_REAL_LIT:
case 94:
case 95:
{
alt94=1;
}
break;
case RULE_ID:
{
int LA94_2 = input.LA(2);
if ( (LA94_2==EOF||LA94_2==RULE_ID||LA94_2==23||(LA94_2>=28 && LA94_2<=29)||LA94_2==34||LA94_2==36||LA94_2==45||LA94_2==70||(LA94_2>=72 && LA94_2<=88)||(LA94_2>=90 && LA94_2<=91)||LA94_2==93) ) {
alt94=2;
}
else if ( (LA94_2==35||LA94_2==69) ) {
alt94=4;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 94, 2, input);
throw nvae;
}
}
break;
case 60:
case 68:
{
alt94=3;
}
break;
case 21:
{
alt94=5;
}
break;
case 92:
{
alt94=6;
}
break;
case 35:
{
alt94=7;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 94, 0, input);
throw nvae;
}
switch (alt94) {
case 1 :
// InternalVerify.g:4818:3: this_ALiteral_0= ruleALiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAPrimaryExpressionAccess().getALiteralParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_ALiteral_0=ruleALiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ALiteral_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalVerify.g:4827:3: this_AVariableReference_1= ruleAVariableReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAPrimaryExpressionAccess().getAVariableReferenceParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_AVariableReference_1=ruleAVariableReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AVariableReference_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// InternalVerify.g:4836:3: this_AModelOrPropertyReference_2= ruleAModelOrPropertyReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAPrimaryExpressionAccess().getAModelOrPropertyReferenceParserRuleCall_2());
}
pushFollow(FOLLOW_2);
this_AModelOrPropertyReference_2=ruleAModelOrPropertyReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AModelOrPropertyReference_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// InternalVerify.g:4845:3: this_AFunctionCall_3= ruleAFunctionCall
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAPrimaryExpressionAccess().getAFunctionCallParserRuleCall_3());
}
pushFollow(FOLLOW_2);
this_AFunctionCall_3=ruleAFunctionCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AFunctionCall_3;
afterParserOrEnumRuleCall();
}
}
break;
case 5 :
// InternalVerify.g:4854:3: this_ARangeExpression_4= ruleARangeExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAPrimaryExpressionAccess().getARangeExpressionParserRuleCall_4());
}
pushFollow(FOLLOW_2);
this_ARangeExpression_4=ruleARangeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ARangeExpression_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// InternalVerify.g:4863:3: this_AIfExpression_5= ruleAIfExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAPrimaryExpressionAccess().getAIfExpressionParserRuleCall_5());
}
pushFollow(FOLLOW_2);
this_AIfExpression_5=ruleAIfExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AIfExpression_5;
afterParserOrEnumRuleCall();
}
}
break;
case 7 :
// InternalVerify.g:4872:3: this_AParenthesizedExpression_6= ruleAParenthesizedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAPrimaryExpressionAccess().getAParenthesizedExpressionParserRuleCall_6());
}
pushFollow(FOLLOW_2);
this_AParenthesizedExpression_6=ruleAParenthesizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AParenthesizedExpression_6;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAPrimaryExpression"
// $ANTLR start "entryRuleAFunctionCall"
// InternalVerify.g:4884:1: entryRuleAFunctionCall returns [EObject current=null] : iv_ruleAFunctionCall= ruleAFunctionCall EOF ;
public final EObject entryRuleAFunctionCall() throws RecognitionException {
EObject current = null;
EObject iv_ruleAFunctionCall = null;
try {
// InternalVerify.g:4884:54: (iv_ruleAFunctionCall= ruleAFunctionCall EOF )
// InternalVerify.g:4885:2: iv_ruleAFunctionCall= ruleAFunctionCall EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAFunctionCallRule());
}
pushFollow(FOLLOW_1);
iv_ruleAFunctionCall=ruleAFunctionCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAFunctionCall;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAFunctionCall"
// $ANTLR start "ruleAFunctionCall"
// InternalVerify.g:4891:1: ruleAFunctionCall returns [EObject current=null] : ( () ( (lv_function_1_0= ruleQualifiedName ) ) otherlv_2= '(' ( ( (lv_arguments_3_0= ruleAExpression ) ) (otherlv_4= ',' ( (lv_arguments_5_0= ruleAExpression ) ) )* )? otherlv_6= ')' ) ;
public final EObject ruleAFunctionCall() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
AntlrDatatypeRuleToken lv_function_1_0 = null;
EObject lv_arguments_3_0 = null;
EObject lv_arguments_5_0 = null;
enterRule();
try {
// InternalVerify.g:4897:2: ( ( () ( (lv_function_1_0= ruleQualifiedName ) ) otherlv_2= '(' ( ( (lv_arguments_3_0= ruleAExpression ) ) (otherlv_4= ',' ( (lv_arguments_5_0= ruleAExpression ) ) )* )? otherlv_6= ')' ) )
// InternalVerify.g:4898:2: ( () ( (lv_function_1_0= ruleQualifiedName ) ) otherlv_2= '(' ( ( (lv_arguments_3_0= ruleAExpression ) ) (otherlv_4= ',' ( (lv_arguments_5_0= ruleAExpression ) ) )* )? otherlv_6= ')' )
{
// InternalVerify.g:4898:2: ( () ( (lv_function_1_0= ruleQualifiedName ) ) otherlv_2= '(' ( ( (lv_arguments_3_0= ruleAExpression ) ) (otherlv_4= ',' ( (lv_arguments_5_0= ruleAExpression ) ) )* )? otherlv_6= ')' )
// InternalVerify.g:4899:3: () ( (lv_function_1_0= ruleQualifiedName ) ) otherlv_2= '(' ( ( (lv_arguments_3_0= ruleAExpression ) ) (otherlv_4= ',' ( (lv_arguments_5_0= ruleAExpression ) ) )* )? otherlv_6= ')'
{
// InternalVerify.g:4899:3: ()
// InternalVerify.g:4900:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getAFunctionCallAccess().getAFunctionCallAction_0(),
current);
}
}
// InternalVerify.g:4906:3: ( (lv_function_1_0= ruleQualifiedName ) )
// InternalVerify.g:4907:4: (lv_function_1_0= ruleQualifiedName )
{
// InternalVerify.g:4907:4: (lv_function_1_0= ruleQualifiedName )
// InternalVerify.g:4908:5: lv_function_1_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAFunctionCallAccess().getFunctionQualifiedNameParserRuleCall_1_0());
}
pushFollow(FOLLOW_30);
lv_function_1_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAFunctionCallRule());
}
set(
current,
"function",
lv_function_1_0,
"org.osate.alisa.common.Common.QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
otherlv_2=(Token)match(input,35,FOLLOW_31); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getAFunctionCallAccess().getLeftParenthesisKeyword_2());
}
// InternalVerify.g:4929:3: ( ( (lv_arguments_3_0= ruleAExpression ) ) (otherlv_4= ',' ( (lv_arguments_5_0= ruleAExpression ) ) )* )?
int alt96=2;
int LA96_0 = input.LA(1);
if ( ((LA96_0>=RULE_STRING && LA96_0<=RULE_REAL_LIT)||LA96_0==21||LA96_0==35||LA96_0==60||LA96_0==68||(LA96_0>=84 && LA96_0<=85)||LA96_0==89||LA96_0==92||(LA96_0>=94 && LA96_0<=95)) ) {
alt96=1;
}
switch (alt96) {
case 1 :
// InternalVerify.g:4930:4: ( (lv_arguments_3_0= ruleAExpression ) ) (otherlv_4= ',' ( (lv_arguments_5_0= ruleAExpression ) ) )*
{
// InternalVerify.g:4930:4: ( (lv_arguments_3_0= ruleAExpression ) )
// InternalVerify.g:4931:5: (lv_arguments_3_0= ruleAExpression )
{
// InternalVerify.g:4931:5: (lv_arguments_3_0= ruleAExpression )
// InternalVerify.g:4932:6: lv_arguments_3_0= ruleAExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAFunctionCallAccess().getArgumentsAExpressionParserRuleCall_3_0_0());
}
pushFollow(FOLLOW_32);
lv_arguments_3_0=ruleAExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAFunctionCallRule());
}
add(
current,
"arguments",
lv_arguments_3_0,
"org.osate.alisa.common.Common.AExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:4949:4: (otherlv_4= ',' ( (lv_arguments_5_0= ruleAExpression ) ) )*
loop95:
do {
int alt95=2;
int LA95_0 = input.LA(1);
if ( (LA95_0==34) ) {
alt95=1;
}
switch (alt95) {
case 1 :
// InternalVerify.g:4950:5: otherlv_4= ',' ( (lv_arguments_5_0= ruleAExpression ) )
{
otherlv_4=(Token)match(input,34,FOLLOW_33); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getAFunctionCallAccess().getCommaKeyword_3_1_0());
}
// InternalVerify.g:4954:5: ( (lv_arguments_5_0= ruleAExpression ) )
// InternalVerify.g:4955:6: (lv_arguments_5_0= ruleAExpression )
{
// InternalVerify.g:4955:6: (lv_arguments_5_0= ruleAExpression )
// InternalVerify.g:4956:7: lv_arguments_5_0= ruleAExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAFunctionCallAccess().getArgumentsAExpressionParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_32);
lv_arguments_5_0=ruleAExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAFunctionCallRule());
}
add(
current,
"arguments",
lv_arguments_5_0,
"org.osate.alisa.common.Common.AExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop95;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,36,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getAFunctionCallAccess().getRightParenthesisKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAFunctionCall"
// $ANTLR start "entryRuleARangeExpression"
// InternalVerify.g:4983:1: entryRuleARangeExpression returns [EObject current=null] : iv_ruleARangeExpression= ruleARangeExpression EOF ;
public final EObject entryRuleARangeExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleARangeExpression = null;
try {
// InternalVerify.g:4983:57: (iv_ruleARangeExpression= ruleARangeExpression EOF )
// InternalVerify.g:4984:2: iv_ruleARangeExpression= ruleARangeExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getARangeExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleARangeExpression=ruleARangeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleARangeExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleARangeExpression"
// $ANTLR start "ruleARangeExpression"
// InternalVerify.g:4990:1: ruleARangeExpression returns [EObject current=null] : ( () otherlv_1= '[' ( (lv_minimum_2_0= ruleAExpression ) ) otherlv_3= '..' ( (lv_maximum_4_0= ruleAExpression ) ) ( ( ( 'delta' )=>otherlv_5= 'delta' ) ( (lv_delta_6_0= ruleAExpression ) ) )? otherlv_7= ']' ) ;
public final EObject ruleARangeExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_7=null;
EObject lv_minimum_2_0 = null;
EObject lv_maximum_4_0 = null;
EObject lv_delta_6_0 = null;
enterRule();
try {
// InternalVerify.g:4996:2: ( ( () otherlv_1= '[' ( (lv_minimum_2_0= ruleAExpression ) ) otherlv_3= '..' ( (lv_maximum_4_0= ruleAExpression ) ) ( ( ( 'delta' )=>otherlv_5= 'delta' ) ( (lv_delta_6_0= ruleAExpression ) ) )? otherlv_7= ']' ) )
// InternalVerify.g:4997:2: ( () otherlv_1= '[' ( (lv_minimum_2_0= ruleAExpression ) ) otherlv_3= '..' ( (lv_maximum_4_0= ruleAExpression ) ) ( ( ( 'delta' )=>otherlv_5= 'delta' ) ( (lv_delta_6_0= ruleAExpression ) ) )? otherlv_7= ']' )
{
// InternalVerify.g:4997:2: ( () otherlv_1= '[' ( (lv_minimum_2_0= ruleAExpression ) ) otherlv_3= '..' ( (lv_maximum_4_0= ruleAExpression ) ) ( ( ( 'delta' )=>otherlv_5= 'delta' ) ( (lv_delta_6_0= ruleAExpression ) ) )? otherlv_7= ']' )
// InternalVerify.g:4998:3: () otherlv_1= '[' ( (lv_minimum_2_0= ruleAExpression ) ) otherlv_3= '..' ( (lv_maximum_4_0= ruleAExpression ) ) ( ( ( 'delta' )=>otherlv_5= 'delta' ) ( (lv_delta_6_0= ruleAExpression ) ) )? otherlv_7= ']'
{
// InternalVerify.g:4998:3: ()
// InternalVerify.g:4999:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getARangeExpressionAccess().getARangeAction_0(),
current);
}
}
otherlv_1=(Token)match(input,21,FOLLOW_33); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getARangeExpressionAccess().getLeftSquareBracketKeyword_1());
}
// InternalVerify.g:5009:3: ( (lv_minimum_2_0= ruleAExpression ) )
// InternalVerify.g:5010:4: (lv_minimum_2_0= ruleAExpression )
{
// InternalVerify.g:5010:4: (lv_minimum_2_0= ruleAExpression )
// InternalVerify.g:5011:5: lv_minimum_2_0= ruleAExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getARangeExpressionAccess().getMinimumAExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_78);
lv_minimum_2_0=ruleAExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getARangeExpressionRule());
}
set(
current,
"minimum",
lv_minimum_2_0,
"org.osate.alisa.common.Common.AExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,90,FOLLOW_33); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getARangeExpressionAccess().getFullStopFullStopKeyword_3());
}
// InternalVerify.g:5032:3: ( (lv_maximum_4_0= ruleAExpression ) )
// InternalVerify.g:5033:4: (lv_maximum_4_0= ruleAExpression )
{
// InternalVerify.g:5033:4: (lv_maximum_4_0= ruleAExpression )
// InternalVerify.g:5034:5: lv_maximum_4_0= ruleAExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getARangeExpressionAccess().getMaximumAExpressionParserRuleCall_4_0());
}
pushFollow(FOLLOW_79);
lv_maximum_4_0=ruleAExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getARangeExpressionRule());
}
set(
current,
"maximum",
lv_maximum_4_0,
"org.osate.alisa.common.Common.AExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:5051:3: ( ( ( 'delta' )=>otherlv_5= 'delta' ) ( (lv_delta_6_0= ruleAExpression ) ) )?
int alt97=2;
int LA97_0 = input.LA(1);
if ( (LA97_0==91) && (synpred14_InternalVerify())) {
alt97=1;
}
switch (alt97) {
case 1 :
// InternalVerify.g:5052:4: ( ( 'delta' )=>otherlv_5= 'delta' ) ( (lv_delta_6_0= ruleAExpression ) )
{
// InternalVerify.g:5052:4: ( ( 'delta' )=>otherlv_5= 'delta' )
// InternalVerify.g:5053:5: ( 'delta' )=>otherlv_5= 'delta'
{
otherlv_5=(Token)match(input,91,FOLLOW_33); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getARangeExpressionAccess().getDeltaKeyword_5_0());
}
}
// InternalVerify.g:5059:4: ( (lv_delta_6_0= ruleAExpression ) )
// InternalVerify.g:5060:5: (lv_delta_6_0= ruleAExpression )
{
// InternalVerify.g:5060:5: (lv_delta_6_0= ruleAExpression )
// InternalVerify.g:5061:6: lv_delta_6_0= ruleAExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getARangeExpressionAccess().getDeltaAExpressionParserRuleCall_5_1_0());
}
pushFollow(FOLLOW_26);
lv_delta_6_0=ruleAExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getARangeExpressionRule());
}
set(
current,
"delta",
lv_delta_6_0,
"org.osate.alisa.common.Common.AExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_7=(Token)match(input,23,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getARangeExpressionAccess().getRightSquareBracketKeyword_6());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleARangeExpression"
// $ANTLR start "entryRuleAIfExpression"
// InternalVerify.g:5087:1: entryRuleAIfExpression returns [EObject current=null] : iv_ruleAIfExpression= ruleAIfExpression EOF ;
public final EObject entryRuleAIfExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleAIfExpression = null;
try {
// InternalVerify.g:5087:54: (iv_ruleAIfExpression= ruleAIfExpression EOF )
// InternalVerify.g:5088:2: iv_ruleAIfExpression= ruleAIfExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAIfExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleAIfExpression=ruleAIfExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAIfExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAIfExpression"
// $ANTLR start "ruleAIfExpression"
// InternalVerify.g:5094:1: ruleAIfExpression returns [EObject current=null] : ( () otherlv_1= 'if' ( (lv_if_2_0= ruleAExpression ) ) otherlv_3= 'then' ( (lv_then_4_0= ruleAExpression ) ) (otherlv_5= 'else' ( (lv_else_6_0= ruleAExpression ) ) )? otherlv_7= 'endif' ) ;
public final EObject ruleAIfExpression() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_7=null;
EObject lv_if_2_0 = null;
EObject lv_then_4_0 = null;
EObject lv_else_6_0 = null;
enterRule();
try {
// InternalVerify.g:5100:2: ( ( () otherlv_1= 'if' ( (lv_if_2_0= ruleAExpression ) ) otherlv_3= 'then' ( (lv_then_4_0= ruleAExpression ) ) (otherlv_5= 'else' ( (lv_else_6_0= ruleAExpression ) ) )? otherlv_7= 'endif' ) )
// InternalVerify.g:5101:2: ( () otherlv_1= 'if' ( (lv_if_2_0= ruleAExpression ) ) otherlv_3= 'then' ( (lv_then_4_0= ruleAExpression ) ) (otherlv_5= 'else' ( (lv_else_6_0= ruleAExpression ) ) )? otherlv_7= 'endif' )
{
// InternalVerify.g:5101:2: ( () otherlv_1= 'if' ( (lv_if_2_0= ruleAExpression ) ) otherlv_3= 'then' ( (lv_then_4_0= ruleAExpression ) ) (otherlv_5= 'else' ( (lv_else_6_0= ruleAExpression ) ) )? otherlv_7= 'endif' )
// InternalVerify.g:5102:3: () otherlv_1= 'if' ( (lv_if_2_0= ruleAExpression ) ) otherlv_3= 'then' ( (lv_then_4_0= ruleAExpression ) ) (otherlv_5= 'else' ( (lv_else_6_0= ruleAExpression ) ) )? otherlv_7= 'endif'
{
// InternalVerify.g:5102:3: ()
// InternalVerify.g:5103:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getAIfExpressionAccess().getAConditionalAction_0(),
current);
}
}
otherlv_1=(Token)match(input,92,FOLLOW_33); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getAIfExpressionAccess().getIfKeyword_1());
}
// InternalVerify.g:5113:3: ( (lv_if_2_0= ruleAExpression ) )
// InternalVerify.g:5114:4: (lv_if_2_0= ruleAExpression )
{
// InternalVerify.g:5114:4: (lv_if_2_0= ruleAExpression )
// InternalVerify.g:5115:5: lv_if_2_0= ruleAExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAIfExpressionAccess().getIfAExpressionParserRuleCall_2_0());
}
pushFollow(FOLLOW_80);
lv_if_2_0=ruleAExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAIfExpressionRule());
}
set(
current,
"if",
lv_if_2_0,
"org.osate.alisa.common.Common.AExpression");
afterParserOrEnumRuleCall();
}
}
}
otherlv_3=(Token)match(input,28,FOLLOW_33); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getAIfExpressionAccess().getThenKeyword_3());
}
// InternalVerify.g:5136:3: ( (lv_then_4_0= ruleAExpression ) )
// InternalVerify.g:5137:4: (lv_then_4_0= ruleAExpression )
{
// InternalVerify.g:5137:4: (lv_then_4_0= ruleAExpression )
// InternalVerify.g:5138:5: lv_then_4_0= ruleAExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAIfExpressionAccess().getThenAExpressionParserRuleCall_4_0());
}
pushFollow(FOLLOW_81);
lv_then_4_0=ruleAExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAIfExpressionRule());
}
set(
current,
"then",
lv_then_4_0,
"org.osate.alisa.common.Common.AExpression");
afterParserOrEnumRuleCall();
}
}
}
// InternalVerify.g:5155:3: (otherlv_5= 'else' ( (lv_else_6_0= ruleAExpression ) ) )?
int alt98=2;
int LA98_0 = input.LA(1);
if ( (LA98_0==29) ) {
alt98=1;
}
switch (alt98) {
case 1 :
// InternalVerify.g:5156:4: otherlv_5= 'else' ( (lv_else_6_0= ruleAExpression ) )
{
otherlv_5=(Token)match(input,29,FOLLOW_33); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getAIfExpressionAccess().getElseKeyword_5_0());
}
// InternalVerify.g:5160:4: ( (lv_else_6_0= ruleAExpression ) )
// InternalVerify.g:5161:5: (lv_else_6_0= ruleAExpression )
{
// InternalVerify.g:5161:5: (lv_else_6_0= ruleAExpression )
// InternalVerify.g:5162:6: lv_else_6_0= ruleAExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAIfExpressionAccess().getElseAExpressionParserRuleCall_5_1_0());
}
pushFollow(FOLLOW_82);
lv_else_6_0=ruleAExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAIfExpressionRule());
}
set(
current,
"else",
lv_else_6_0,
"org.osate.alisa.common.Common.AExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_7=(Token)match(input,93,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getAIfExpressionAccess().getEndifKeyword_6());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAIfExpression"
// $ANTLR start "entryRuleALiteral"
// InternalVerify.g:5188:1: entryRuleALiteral returns [EObject current=null] : iv_ruleALiteral= ruleALiteral EOF ;
public final EObject entryRuleALiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleALiteral = null;
try {
// InternalVerify.g:5188:49: (iv_ruleALiteral= ruleALiteral EOF )
// InternalVerify.g:5189:2: iv_ruleALiteral= ruleALiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getALiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleALiteral=ruleALiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleALiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleALiteral"
// $ANTLR start "ruleALiteral"
// InternalVerify.g:5195:1: ruleALiteral returns [EObject current=null] : (this_ABooleanLiteral_0= ruleABooleanLiteral | this_ARealTerm_1= ruleARealTerm | this_AIntegerTerm_2= ruleAIntegerTerm | this_StringTerm_3= ruleStringTerm ) ;
public final EObject ruleALiteral() throws RecognitionException {
EObject current = null;
EObject this_ABooleanLiteral_0 = null;
EObject this_ARealTerm_1 = null;
EObject this_AIntegerTerm_2 = null;
EObject this_StringTerm_3 = null;
enterRule();
try {
// InternalVerify.g:5201:2: ( (this_ABooleanLiteral_0= ruleABooleanLiteral | this_ARealTerm_1= ruleARealTerm | this_AIntegerTerm_2= ruleAIntegerTerm | this_StringTerm_3= ruleStringTerm ) )
// InternalVerify.g:5202:2: (this_ABooleanLiteral_0= ruleABooleanLiteral | this_ARealTerm_1= ruleARealTerm | this_AIntegerTerm_2= ruleAIntegerTerm | this_StringTerm_3= ruleStringTerm )
{
// InternalVerify.g:5202:2: (this_ABooleanLiteral_0= ruleABooleanLiteral | this_ARealTerm_1= ruleARealTerm | this_AIntegerTerm_2= ruleAIntegerTerm | this_StringTerm_3= ruleStringTerm )
int alt99=4;
switch ( input.LA(1) ) {
case 94:
case 95:
{
alt99=1;
}
break;
case RULE_REAL_LIT:
{
alt99=2;
}
break;
case RULE_INT:
{
alt99=3;
}
break;
case RULE_STRING:
{
alt99=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 99, 0, input);
throw nvae;
}
switch (alt99) {
case 1 :
// InternalVerify.g:5203:3: this_ABooleanLiteral_0= ruleABooleanLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getALiteralAccess().getABooleanLiteralParserRuleCall_0());
}
pushFollow(FOLLOW_2);
this_ABooleanLiteral_0=ruleABooleanLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ABooleanLiteral_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// InternalVerify.g:5212:3: this_ARealTerm_1= ruleARealTerm
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getALiteralAccess().getARealTermParserRuleCall_1());
}
pushFollow(FOLLOW_2);
this_ARealTerm_1=ruleARealTerm();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ARealTerm_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// InternalVerify.g:5221:3: this_AIntegerTerm_2= ruleAIntegerTerm
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getALiteralAccess().getAIntegerTermParserRuleCall_2());
}
pushFollow(FOLLOW_2);
this_AIntegerTerm_2=ruleAIntegerTerm();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AIntegerTerm_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// InternalVerify.g:5230:3: this_StringTerm_3= ruleStringTerm
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getALiteralAccess().getStringTermParserRuleCall_3());
}
pushFollow(FOLLOW_2);
this_StringTerm_3=ruleStringTerm();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_StringTerm_3;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleALiteral"
// $ANTLR start "entryRuleAIntegerTerm"
// InternalVerify.g:5242:1: entryRuleAIntegerTerm returns [EObject current=null] : iv_ruleAIntegerTerm= ruleAIntegerTerm EOF ;
public final EObject entryRuleAIntegerTerm() throws RecognitionException {
EObject current = null;
EObject iv_ruleAIntegerTerm = null;
try {
// InternalVerify.g:5242:53: (iv_ruleAIntegerTerm= ruleAIntegerTerm EOF )
// InternalVerify.g:5243:2: iv_ruleAIntegerTerm= ruleAIntegerTerm EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAIntegerTermRule());
}
pushFollow(FOLLOW_1);
iv_ruleAIntegerTerm=ruleAIntegerTerm();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAIntegerTerm;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAIntegerTerm"
// $ANTLR start "ruleAIntegerTerm"
// InternalVerify.g:5249:1: ruleAIntegerTerm returns [EObject current=null] : ( (lv_value_0_0= ruleAInt ) ) ;
public final EObject ruleAIntegerTerm() throws RecognitionException {
EObject current = null;
AntlrDatatypeRuleToken lv_value_0_0 = null;
enterRule();
try {
// InternalVerify.g:5255:2: ( ( (lv_value_0_0= ruleAInt ) ) )
// InternalVerify.g:5256:2: ( (lv_value_0_0= ruleAInt ) )
{
// InternalVerify.g:5256:2: ( (lv_value_0_0= ruleAInt ) )
// InternalVerify.g:5257:3: (lv_value_0_0= ruleAInt )
{
// InternalVerify.g:5257:3: (lv_value_0_0= ruleAInt )
// InternalVerify.g:5258:4: lv_value_0_0= ruleAInt
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAIntegerTermAccess().getValueAIntParserRuleCall_0());
}
pushFollow(FOLLOW_2);
lv_value_0_0=ruleAInt();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAIntegerTermRule());
}
set(
current,
"value",
lv_value_0_0,
"org.osate.alisa.common.Common.AInt");
afterParserOrEnumRuleCall();
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAIntegerTerm"
// $ANTLR start "entryRuleAInt"
// InternalVerify.g:5278:1: entryRuleAInt returns [String current=null] : iv_ruleAInt= ruleAInt EOF ;
public final String entryRuleAInt() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleAInt = null;
try {
// InternalVerify.g:5278:44: (iv_ruleAInt= ruleAInt EOF )
// InternalVerify.g:5279:2: iv_ruleAInt= ruleAInt EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAIntRule());
}
pushFollow(FOLLOW_1);
iv_ruleAInt=ruleAInt();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAInt.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAInt"
// $ANTLR start "ruleAInt"
// InternalVerify.g:5285:1: ruleAInt returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_INT_0= RULE_INT ;
public final AntlrDatatypeRuleToken ruleAInt() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_INT_0=null;
enterRule();
try {
// InternalVerify.g:5291:2: (this_INT_0= RULE_INT )
// InternalVerify.g:5292:2: this_INT_0= RULE_INT
{
this_INT_0=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_INT_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_INT_0, grammarAccess.getAIntAccess().getINTTerminalRuleCall());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAInt"
// $ANTLR start "entryRuleARealTerm"
// InternalVerify.g:5302:1: entryRuleARealTerm returns [EObject current=null] : iv_ruleARealTerm= ruleARealTerm EOF ;
public final EObject entryRuleARealTerm() throws RecognitionException {
EObject current = null;
EObject iv_ruleARealTerm = null;
try {
// InternalVerify.g:5302:50: (iv_ruleARealTerm= ruleARealTerm EOF )
// InternalVerify.g:5303:2: iv_ruleARealTerm= ruleARealTerm EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getARealTermRule());
}
pushFollow(FOLLOW_1);
iv_ruleARealTerm=ruleARealTerm();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleARealTerm;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleARealTerm"
// $ANTLR start "ruleARealTerm"
// InternalVerify.g:5309:1: ruleARealTerm returns [EObject current=null] : ( (lv_value_0_0= ruleAReal ) ) ;
public final EObject ruleARealTerm() throws RecognitionException {
EObject current = null;
AntlrDatatypeRuleToken lv_value_0_0 = null;
enterRule();
try {
// InternalVerify.g:5315:2: ( ( (lv_value_0_0= ruleAReal ) ) )
// InternalVerify.g:5316:2: ( (lv_value_0_0= ruleAReal ) )
{
// InternalVerify.g:5316:2: ( (lv_value_0_0= ruleAReal ) )
// InternalVerify.g:5317:3: (lv_value_0_0= ruleAReal )
{
// InternalVerify.g:5317:3: (lv_value_0_0= ruleAReal )
// InternalVerify.g:5318:4: lv_value_0_0= ruleAReal
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getARealTermAccess().getValueARealParserRuleCall_0());
}
pushFollow(FOLLOW_2);
lv_value_0_0=ruleAReal();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getARealTermRule());
}
set(
current,
"value",
lv_value_0_0,
"org.osate.alisa.common.Common.AReal");
afterParserOrEnumRuleCall();
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleARealTerm"
// $ANTLR start "entryRuleAReal"
// InternalVerify.g:5338:1: entryRuleAReal returns [String current=null] : iv_ruleAReal= ruleAReal EOF ;
public final String entryRuleAReal() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleAReal = null;
try {
// InternalVerify.g:5338:45: (iv_ruleAReal= ruleAReal EOF )
// InternalVerify.g:5339:2: iv_ruleAReal= ruleAReal EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getARealRule());
}
pushFollow(FOLLOW_1);
iv_ruleAReal=ruleAReal();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAReal.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAReal"
// $ANTLR start "ruleAReal"
// InternalVerify.g:5345:1: ruleAReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_REAL_LIT_0= RULE_REAL_LIT ;
public final AntlrDatatypeRuleToken ruleAReal() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_REAL_LIT_0=null;
enterRule();
try {
// InternalVerify.g:5351:2: (this_REAL_LIT_0= RULE_REAL_LIT )
// InternalVerify.g:5352:2: this_REAL_LIT_0= RULE_REAL_LIT
{
this_REAL_LIT_0=(Token)match(input,RULE_REAL_LIT,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_REAL_LIT_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_REAL_LIT_0, grammarAccess.getARealAccess().getREAL_LITTerminalRuleCall());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAReal"
// $ANTLR start "entryRuleABooleanLiteral"
// InternalVerify.g:5362:1: entryRuleABooleanLiteral returns [EObject current=null] : iv_ruleABooleanLiteral= ruleABooleanLiteral EOF ;
public final EObject entryRuleABooleanLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleABooleanLiteral = null;
try {
// InternalVerify.g:5362:56: (iv_ruleABooleanLiteral= ruleABooleanLiteral EOF )
// InternalVerify.g:5363:2: iv_ruleABooleanLiteral= ruleABooleanLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getABooleanLiteralRule());
}
pushFollow(FOLLOW_1);
iv_ruleABooleanLiteral=ruleABooleanLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleABooleanLiteral;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleABooleanLiteral"
// $ANTLR start "ruleABooleanLiteral"
// InternalVerify.g:5369:1: ruleABooleanLiteral returns [EObject current=null] : ( () ( ( (lv_value_1_0= 'true' ) ) | otherlv_2= 'false' ) ) ;
public final EObject ruleABooleanLiteral() throws RecognitionException {
EObject current = null;
Token lv_value_1_0=null;
Token otherlv_2=null;
enterRule();
try {
// InternalVerify.g:5375:2: ( ( () ( ( (lv_value_1_0= 'true' ) ) | otherlv_2= 'false' ) ) )
// InternalVerify.g:5376:2: ( () ( ( (lv_value_1_0= 'true' ) ) | otherlv_2= 'false' ) )
{
// InternalVerify.g:5376:2: ( () ( ( (lv_value_1_0= 'true' ) ) | otherlv_2= 'false' ) )
// InternalVerify.g:5377:3: () ( ( (lv_value_1_0= 'true' ) ) | otherlv_2= 'false' )
{
// InternalVerify.g:5377:3: ()
// InternalVerify.g:5378:4:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getABooleanLiteralAccess().getBooleanLiteralAction_0(),
current);
}
}
// InternalVerify.g:5384:3: ( ( (lv_value_1_0= 'true' ) ) | otherlv_2= 'false' )
int alt100=2;
int LA100_0 = input.LA(1);
if ( (LA100_0==94) ) {
alt100=1;
}
else if ( (LA100_0==95) ) {
alt100=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 100, 0, input);
throw nvae;
}
switch (alt100) {
case 1 :
// InternalVerify.g:5385:4: ( (lv_value_1_0= 'true' ) )
{
// InternalVerify.g:5385:4: ( (lv_value_1_0= 'true' ) )
// InternalVerify.g:5386:5: (lv_value_1_0= 'true' )
{
// InternalVerify.g:5386:5: (lv_value_1_0= 'true' )
// InternalVerify.g:5387:6: lv_value_1_0= 'true'
{
lv_value_1_0=(Token)match(input,94,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_value_1_0, grammarAccess.getABooleanLiteralAccess().getValueTrueKeyword_1_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getABooleanLiteralRule());
}
setWithLastConsumed(current, "value", true, "true");
}
}
}
}
break;
case 2 :
// InternalVerify.g:5400:4: otherlv_2= 'false'
{
otherlv_2=(Token)match(input,95,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getABooleanLiteralAccess().getFalseKeyword_1_1());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleABooleanLiteral"
// $ANTLR start "entryRuleStringTerm"
// InternalVerify.g:5409:1: entryRuleStringTerm returns [EObject current=null] : iv_ruleStringTerm= ruleStringTerm EOF ;
public final EObject entryRuleStringTerm() throws RecognitionException {
EObject current = null;
EObject iv_ruleStringTerm = null;
try {
// InternalVerify.g:5409:51: (iv_ruleStringTerm= ruleStringTerm EOF )
// InternalVerify.g:5410:2: iv_ruleStringTerm= ruleStringTerm EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStringTermRule());
}
pushFollow(FOLLOW_1);
iv_ruleStringTerm=ruleStringTerm();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleStringTerm;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleStringTerm"
// $ANTLR start "ruleStringTerm"
// InternalVerify.g:5416:1: ruleStringTerm returns [EObject current=null] : ( (lv_value_0_0= ruleNoQuoteString ) ) ;
public final EObject ruleStringTerm() throws RecognitionException {
EObject current = null;
AntlrDatatypeRuleToken lv_value_0_0 = null;
enterRule();
try {
// InternalVerify.g:5422:2: ( ( (lv_value_0_0= ruleNoQuoteString ) ) )
// InternalVerify.g:5423:2: ( (lv_value_0_0= ruleNoQuoteString ) )
{
// InternalVerify.g:5423:2: ( (lv_value_0_0= ruleNoQuoteString ) )
// InternalVerify.g:5424:3: (lv_value_0_0= ruleNoQuoteString )
{
// InternalVerify.g:5424:3: (lv_value_0_0= ruleNoQuoteString )
// InternalVerify.g:5425:4: lv_value_0_0= ruleNoQuoteString
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getStringTermAccess().getValueNoQuoteStringParserRuleCall_0());
}
pushFollow(FOLLOW_2);
lv_value_0_0=ruleNoQuoteString();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getStringTermRule());
}
set(
current,
"value",
lv_value_0_0,
"org.osate.alisa.common.Common.NoQuoteString");
afterParserOrEnumRuleCall();
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleStringTerm"
// $ANTLR start "entryRuleNoQuoteString"
// InternalVerify.g:5445:1: entryRuleNoQuoteString returns [String current=null] : iv_ruleNoQuoteString= ruleNoQuoteString EOF ;
public final String entryRuleNoQuoteString() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleNoQuoteString = null;
try {
// InternalVerify.g:5445:53: (iv_ruleNoQuoteString= ruleNoQuoteString EOF )
// InternalVerify.g:5446:2: iv_ruleNoQuoteString= ruleNoQuoteString EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getNoQuoteStringRule());
}
pushFollow(FOLLOW_1);
iv_ruleNoQuoteString=ruleNoQuoteString();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleNoQuoteString.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleNoQuoteString"
// $ANTLR start "ruleNoQuoteString"
// InternalVerify.g:5452:1: ruleNoQuoteString returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ;
public final AntlrDatatypeRuleToken ruleNoQuoteString() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_STRING_0=null;
enterRule();
try {
// InternalVerify.g:5458:2: (this_STRING_0= RULE_STRING )
// InternalVerify.g:5459:2: this_STRING_0= RULE_STRING
{
this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_STRING_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_STRING_0, grammarAccess.getNoQuoteStringAccess().getSTRINGTerminalRuleCall());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleNoQuoteString"
// $ANTLR start "entryRuleAParenthesizedExpression"
// InternalVerify.g:5469:1: entryRuleAParenthesizedExpression returns [EObject current=null] : iv_ruleAParenthesizedExpression= ruleAParenthesizedExpression EOF ;
public final EObject entryRuleAParenthesizedExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleAParenthesizedExpression = null;
try {
// InternalVerify.g:5469:65: (iv_ruleAParenthesizedExpression= ruleAParenthesizedExpression EOF )
// InternalVerify.g:5470:2: iv_ruleAParenthesizedExpression= ruleAParenthesizedExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAParenthesizedExpressionRule());
}
pushFollow(FOLLOW_1);
iv_ruleAParenthesizedExpression=ruleAParenthesizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAParenthesizedExpression;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAParenthesizedExpression"
// $ANTLR start "ruleAParenthesizedExpression"
// InternalVerify.g:5476:1: ruleAParenthesizedExpression returns [EObject current=null] : (otherlv_0= '(' this_AExpression_1= ruleAExpression otherlv_2= ')' ) ;
public final EObject ruleAParenthesizedExpression() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
EObject this_AExpression_1 = null;
enterRule();
try {
// InternalVerify.g:5482:2: ( (otherlv_0= '(' this_AExpression_1= ruleAExpression otherlv_2= ')' ) )
// InternalVerify.g:5483:2: (otherlv_0= '(' this_AExpression_1= ruleAExpression otherlv_2= ')' )
{
// InternalVerify.g:5483:2: (otherlv_0= '(' this_AExpression_1= ruleAExpression otherlv_2= ')' )
// InternalVerify.g:5484:3: otherlv_0= '(' this_AExpression_1= ruleAExpression otherlv_2= ')'
{
otherlv_0=(Token)match(input,35,FOLLOW_33); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getAParenthesizedExpressionAccess().getLeftParenthesisKeyword_0());
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAParenthesizedExpressionAccess().getAExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_28);
this_AExpression_1=ruleAExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_AExpression_1;
afterParserOrEnumRuleCall();
}
otherlv_2=(Token)match(input,36,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getAParenthesizedExpressionAccess().getRightParenthesisKeyword_2());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAParenthesizedExpression"
// $ANTLR start "entryRuleComponentCategory"
// InternalVerify.g:5504:1: entryRuleComponentCategory returns [String current=null] : iv_ruleComponentCategory= ruleComponentCategory EOF ;
public final String entryRuleComponentCategory() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleComponentCategory = null;
try {
// InternalVerify.g:5504:57: (iv_ruleComponentCategory= ruleComponentCategory EOF )
// InternalVerify.g:5505:2: iv_ruleComponentCategory= ruleComponentCategory EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getComponentCategoryRule());
}
pushFollow(FOLLOW_1);
iv_ruleComponentCategory=ruleComponentCategory();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleComponentCategory.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleComponentCategory"
// $ANTLR start "ruleComponentCategory"
// InternalVerify.g:5511:1: ruleComponentCategory returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'abstract' | kw= 'bus' | kw= 'data' | kw= 'device' | kw= 'memory' | kw= 'process' | kw= 'processor' | kw= 'subprogram' | (kw= 'subprogram' kw= 'group' ) | kw= 'system' | (kw= 'thread' kw= 'group' ) | kw= 'thread' | (kw= 'virtual' kw= 'bus' ) | (kw= 'virtual' kw= 'processor' ) ) ;
public final AntlrDatatypeRuleToken ruleComponentCategory() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalVerify.g:5517:2: ( (kw= 'abstract' | kw= 'bus' | kw= 'data' | kw= 'device' | kw= 'memory' | kw= 'process' | kw= 'processor' | kw= 'subprogram' | (kw= 'subprogram' kw= 'group' ) | kw= 'system' | (kw= 'thread' kw= 'group' ) | kw= 'thread' | (kw= 'virtual' kw= 'bus' ) | (kw= 'virtual' kw= 'processor' ) ) )
// InternalVerify.g:5518:2: (kw= 'abstract' | kw= 'bus' | kw= 'data' | kw= 'device' | kw= 'memory' | kw= 'process' | kw= 'processor' | kw= 'subprogram' | (kw= 'subprogram' kw= 'group' ) | kw= 'system' | (kw= 'thread' kw= 'group' ) | kw= 'thread' | (kw= 'virtual' kw= 'bus' ) | (kw= 'virtual' kw= 'processor' ) )
{
// InternalVerify.g:5518:2: (kw= 'abstract' | kw= 'bus' | kw= 'data' | kw= 'device' | kw= 'memory' | kw= 'process' | kw= 'processor' | kw= 'subprogram' | (kw= 'subprogram' kw= 'group' ) | kw= 'system' | (kw= 'thread' kw= 'group' ) | kw= 'thread' | (kw= 'virtual' kw= 'bus' ) | (kw= 'virtual' kw= 'processor' ) )
int alt101=14;
alt101 = dfa101.predict(input);
switch (alt101) {
case 1 :
// InternalVerify.g:5519:3: kw= 'abstract'
{
kw=(Token)match(input,96,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getAbstractKeyword_0());
}
}
break;
case 2 :
// InternalVerify.g:5525:3: kw= 'bus'
{
kw=(Token)match(input,97,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getBusKeyword_1());
}
}
break;
case 3 :
// InternalVerify.g:5531:3: kw= 'data'
{
kw=(Token)match(input,98,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getDataKeyword_2());
}
}
break;
case 4 :
// InternalVerify.g:5537:3: kw= 'device'
{
kw=(Token)match(input,99,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getDeviceKeyword_3());
}
}
break;
case 5 :
// InternalVerify.g:5543:3: kw= 'memory'
{
kw=(Token)match(input,100,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getMemoryKeyword_4());
}
}
break;
case 6 :
// InternalVerify.g:5549:3: kw= 'process'
{
kw=(Token)match(input,101,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getProcessKeyword_5());
}
}
break;
case 7 :
// InternalVerify.g:5555:3: kw= 'processor'
{
kw=(Token)match(input,102,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getProcessorKeyword_6());
}
}
break;
case 8 :
// InternalVerify.g:5561:3: kw= 'subprogram'
{
kw=(Token)match(input,103,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getSubprogramKeyword_7());
}
}
break;
case 9 :
// InternalVerify.g:5567:3: (kw= 'subprogram' kw= 'group' )
{
// InternalVerify.g:5567:3: (kw= 'subprogram' kw= 'group' )
// InternalVerify.g:5568:4: kw= 'subprogram' kw= 'group'
{
kw=(Token)match(input,103,FOLLOW_83); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getSubprogramKeyword_8_0());
}
kw=(Token)match(input,104,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getGroupKeyword_8_1());
}
}
}
break;
case 10 :
// InternalVerify.g:5580:3: kw= 'system'
{
kw=(Token)match(input,105,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getSystemKeyword_9());
}
}
break;
case 11 :
// InternalVerify.g:5586:3: (kw= 'thread' kw= 'group' )
{
// InternalVerify.g:5586:3: (kw= 'thread' kw= 'group' )
// InternalVerify.g:5587:4: kw= 'thread' kw= 'group'
{
kw=(Token)match(input,106,FOLLOW_83); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getThreadKeyword_10_0());
}
kw=(Token)match(input,104,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getGroupKeyword_10_1());
}
}
}
break;
case 12 :
// InternalVerify.g:5599:3: kw= 'thread'
{
kw=(Token)match(input,106,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getThreadKeyword_11());
}
}
break;
case 13 :
// InternalVerify.g:5605:3: (kw= 'virtual' kw= 'bus' )
{
// InternalVerify.g:5605:3: (kw= 'virtual' kw= 'bus' )
// InternalVerify.g:5606:4: kw= 'virtual' kw= 'bus'
{
kw=(Token)match(input,107,FOLLOW_84); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getVirtualKeyword_12_0());
}
kw=(Token)match(input,97,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getBusKeyword_12_1());
}
}
}
break;
case 14 :
// InternalVerify.g:5618:3: (kw= 'virtual' kw= 'processor' )
{
// InternalVerify.g:5618:3: (kw= 'virtual' kw= 'processor' )
// InternalVerify.g:5619:4: kw= 'virtual' kw= 'processor'
{
kw=(Token)match(input,107,FOLLOW_85); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getVirtualKeyword_13_0());
}
kw=(Token)match(input,102,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getComponentCategoryAccess().getProcessorKeyword_13_1());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleComponentCategory"
// $ANTLR start "entryRuleAadlClassifierReference"
// InternalVerify.g:5634:1: entryRuleAadlClassifierReference returns [String current=null] : iv_ruleAadlClassifierReference= ruleAadlClassifierReference EOF ;
public final String entryRuleAadlClassifierReference() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleAadlClassifierReference = null;
try {
// InternalVerify.g:5634:63: (iv_ruleAadlClassifierReference= ruleAadlClassifierReference EOF )
// InternalVerify.g:5635:2: iv_ruleAadlClassifierReference= ruleAadlClassifierReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAadlClassifierReferenceRule());
}
pushFollow(FOLLOW_1);
iv_ruleAadlClassifierReference=ruleAadlClassifierReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAadlClassifierReference.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAadlClassifierReference"
// $ANTLR start "ruleAadlClassifierReference"
// InternalVerify.g:5641:1: ruleAadlClassifierReference returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '::' this_ID_2= RULE_ID )+ (kw= '.' this_ID_4= RULE_ID )? ) ;
public final AntlrDatatypeRuleToken ruleAadlClassifierReference() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_ID_0=null;
Token kw=null;
Token this_ID_2=null;
Token this_ID_4=null;
enterRule();
try {
// InternalVerify.g:5647:2: ( (this_ID_0= RULE_ID (kw= '::' this_ID_2= RULE_ID )+ (kw= '.' this_ID_4= RULE_ID )? ) )
// InternalVerify.g:5648:2: (this_ID_0= RULE_ID (kw= '::' this_ID_2= RULE_ID )+ (kw= '.' this_ID_4= RULE_ID )? )
{
// InternalVerify.g:5648:2: (this_ID_0= RULE_ID (kw= '::' this_ID_2= RULE_ID )+ (kw= '.' this_ID_4= RULE_ID )? )
// InternalVerify.g:5649:3: this_ID_0= RULE_ID (kw= '::' this_ID_2= RULE_ID )+ (kw= '.' this_ID_4= RULE_ID )?
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_86); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_0, grammarAccess.getAadlClassifierReferenceAccess().getIDTerminalRuleCall_0());
}
// InternalVerify.g:5656:3: (kw= '::' this_ID_2= RULE_ID )+
int cnt102=0;
loop102:
do {
int alt102=2;
int LA102_0 = input.LA(1);
if ( (LA102_0==108) ) {
alt102=1;
}
switch (alt102) {
case 1 :
// InternalVerify.g:5657:4: kw= '::' this_ID_2= RULE_ID
{
kw=(Token)match(input,108,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getAadlClassifierReferenceAccess().getColonColonKeyword_1_0());
}
this_ID_2=(Token)match(input,RULE_ID,FOLLOW_87); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_2);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_2, grammarAccess.getAadlClassifierReferenceAccess().getIDTerminalRuleCall_1_1());
}
}
break;
default :
if ( cnt102 >= 1 ) break loop102;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(102, input);
throw eee;
}
cnt102++;
} while (true);
// InternalVerify.g:5670:3: (kw= '.' this_ID_4= RULE_ID )?
int alt103=2;
int LA103_0 = input.LA(1);
if ( (LA103_0==69) ) {
alt103=1;
}
switch (alt103) {
case 1 :
// InternalVerify.g:5671:4: kw= '.' this_ID_4= RULE_ID
{
kw=(Token)match(input,69,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getAadlClassifierReferenceAccess().getFullStopKeyword_2_0());
}
this_ID_4=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_4);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_4, grammarAccess.getAadlClassifierReferenceAccess().getIDTerminalRuleCall_2_1());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAadlClassifierReference"
// $ANTLR start "entryRuleAADLPROPERTYREFERENCE"
// InternalVerify.g:5688:1: entryRuleAADLPROPERTYREFERENCE returns [String current=null] : iv_ruleAADLPROPERTYREFERENCE= ruleAADLPROPERTYREFERENCE EOF ;
public final String entryRuleAADLPROPERTYREFERENCE() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleAADLPROPERTYREFERENCE = null;
try {
// InternalVerify.g:5688:61: (iv_ruleAADLPROPERTYREFERENCE= ruleAADLPROPERTYREFERENCE EOF )
// InternalVerify.g:5689:2: iv_ruleAADLPROPERTYREFERENCE= ruleAADLPROPERTYREFERENCE EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getAADLPROPERTYREFERENCERule());
}
pushFollow(FOLLOW_1);
iv_ruleAADLPROPERTYREFERENCE=ruleAADLPROPERTYREFERENCE();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleAADLPROPERTYREFERENCE.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleAADLPROPERTYREFERENCE"
// $ANTLR start "ruleAADLPROPERTYREFERENCE"
// InternalVerify.g:5695:1: ruleAADLPROPERTYREFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '::' this_ID_2= RULE_ID )? ) ;
public final AntlrDatatypeRuleToken ruleAADLPROPERTYREFERENCE() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_ID_0=null;
Token kw=null;
Token this_ID_2=null;
enterRule();
try {
// InternalVerify.g:5701:2: ( (this_ID_0= RULE_ID (kw= '::' this_ID_2= RULE_ID )? ) )
// InternalVerify.g:5702:2: (this_ID_0= RULE_ID (kw= '::' this_ID_2= RULE_ID )? )
{
// InternalVerify.g:5702:2: (this_ID_0= RULE_ID (kw= '::' this_ID_2= RULE_ID )? )
// InternalVerify.g:5703:3: this_ID_0= RULE_ID (kw= '::' this_ID_2= RULE_ID )?
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_88); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_0, grammarAccess.getAADLPROPERTYREFERENCEAccess().getIDTerminalRuleCall_0());
}
// InternalVerify.g:5710:3: (kw= '::' this_ID_2= RULE_ID )?
int alt104=2;
int LA104_0 = input.LA(1);
if ( (LA104_0==108) ) {
alt104=1;
}
switch (alt104) {
case 1 :
// InternalVerify.g:5711:4: kw= '::' this_ID_2= RULE_ID
{
kw=(Token)match(input,108,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getAADLPROPERTYREFERENCEAccess().getColonColonKeyword_1_0());
}
this_ID_2=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_2);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_2, grammarAccess.getAADLPROPERTYREFERENCEAccess().getIDTerminalRuleCall_1_1());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleAADLPROPERTYREFERENCE"
// $ANTLR start "entryRuleQualifiedName"
// InternalVerify.g:5728:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
public final String entryRuleQualifiedName() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleQualifiedName = null;
try {
// InternalVerify.g:5728:53: (iv_ruleQualifiedName= ruleQualifiedName EOF )
// InternalVerify.g:5729:2: iv_ruleQualifiedName= ruleQualifiedName EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameRule());
}
pushFollow(FOLLOW_1);
iv_ruleQualifiedName=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleQualifiedName.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleQualifiedName"
// $ANTLR start "ruleQualifiedName"
// InternalVerify.g:5735:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_ID_0=null;
Token kw=null;
Token this_ID_2=null;
enterRule();
try {
// InternalVerify.g:5741:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
// InternalVerify.g:5742:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
{
// InternalVerify.g:5742:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
// InternalVerify.g:5743:3: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_67); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0());
}
// InternalVerify.g:5750:3: (kw= '.' this_ID_2= RULE_ID )*
loop105:
do {
int alt105=2;
int LA105_0 = input.LA(1);
if ( (LA105_0==69) ) {
alt105=1;
}
switch (alt105) {
case 1 :
// InternalVerify.g:5751:4: kw= '.' this_ID_2= RULE_ID
{
kw=(Token)match(input,69,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0());
}
this_ID_2=(Token)match(input,RULE_ID,FOLLOW_67); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_2);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1());
}
}
break;
default :
break loop105;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleQualifiedName"
// $ANTLR start "entryRuleThisKeyword"
// InternalVerify.g:5768:1: entryRuleThisKeyword returns [String current=null] : iv_ruleThisKeyword= ruleThisKeyword EOF ;
public final String entryRuleThisKeyword() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleThisKeyword = null;
try {
// InternalVerify.g:5768:51: (iv_ruleThisKeyword= ruleThisKeyword EOF )
// InternalVerify.g:5769:2: iv_ruleThisKeyword= ruleThisKeyword EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getThisKeywordRule());
}
pushFollow(FOLLOW_1);
iv_ruleThisKeyword=ruleThisKeyword();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleThisKeyword.getText();
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleThisKeyword"
// $ANTLR start "ruleThisKeyword"
// InternalVerify.g:5775:1: ruleThisKeyword returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'this' ;
public final AntlrDatatypeRuleToken ruleThisKeyword() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalVerify.g:5781:2: (kw= 'this' )
// InternalVerify.g:5782:2: kw= 'this'
{
kw=(Token)match(input,60,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getThisKeywordAccess().getThisKeyword());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleThisKeyword"
// $ANTLR start "ruleTargetType"
// InternalVerify.g:5790:1: ruleTargetType returns [Enumerator current=null] : ( (enumLiteral_0= 'component' ) | (enumLiteral_1= 'feature' ) | (enumLiteral_2= 'connection' ) | (enumLiteral_3= 'flow' ) | (enumLiteral_4= 'mode' ) | (enumLiteral_5= 'element' ) | (enumLiteral_6= 'root' ) ) ;
public final Enumerator ruleTargetType() throws RecognitionException {
Enumerator current = null;
Token enumLiteral_0=null;
Token enumLiteral_1=null;
Token enumLiteral_2=null;
Token enumLiteral_3=null;
Token enumLiteral_4=null;
Token enumLiteral_5=null;
Token enumLiteral_6=null;
enterRule();
try {
// InternalVerify.g:5796:2: ( ( (enumLiteral_0= 'component' ) | (enumLiteral_1= 'feature' ) | (enumLiteral_2= 'connection' ) | (enumLiteral_3= 'flow' ) | (enumLiteral_4= 'mode' ) | (enumLiteral_5= 'element' ) | (enumLiteral_6= 'root' ) ) )
// InternalVerify.g:5797:2: ( (enumLiteral_0= 'component' ) | (enumLiteral_1= 'feature' ) | (enumLiteral_2= 'connection' ) | (enumLiteral_3= 'flow' ) | (enumLiteral_4= 'mode' ) | (enumLiteral_5= 'element' ) | (enumLiteral_6= 'root' ) )
{
// InternalVerify.g:5797:2: ( (enumLiteral_0= 'component' ) | (enumLiteral_1= 'feature' ) | (enumLiteral_2= 'connection' ) | (enumLiteral_3= 'flow' ) | (enumLiteral_4= 'mode' ) | (enumLiteral_5= 'element' ) | (enumLiteral_6= 'root' ) )
int alt106=7;
switch ( input.LA(1) ) {
case 109:
{
alt106=1;
}
break;
case 110:
{
alt106=2;
}
break;
case 111:
{
alt106=3;
}
break;
case 112:
{
alt106=4;
}
break;
case 113:
{
alt106=5;
}
break;
case 67:
{
alt106=6;
}
break;
case 114:
{
alt106=7;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 106, 0, input);
throw nvae;
}
switch (alt106) {
case 1 :
// InternalVerify.g:5798:3: (enumLiteral_0= 'component' )
{
// InternalVerify.g:5798:3: (enumLiteral_0= 'component' )
// InternalVerify.g:5799:4: enumLiteral_0= 'component'
{
enumLiteral_0=(Token)match(input,109,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTargetTypeAccess().getCOMPONENTEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getTargetTypeAccess().getCOMPONENTEnumLiteralDeclaration_0());
}
}
}
break;
case 2 :
// InternalVerify.g:5806:3: (enumLiteral_1= 'feature' )
{
// InternalVerify.g:5806:3: (enumLiteral_1= 'feature' )
// InternalVerify.g:5807:4: enumLiteral_1= 'feature'
{
enumLiteral_1=(Token)match(input,110,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTargetTypeAccess().getFEATUREEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getTargetTypeAccess().getFEATUREEnumLiteralDeclaration_1());
}
}
}
break;
case 3 :
// InternalVerify.g:5814:3: (enumLiteral_2= 'connection' )
{
// InternalVerify.g:5814:3: (enumLiteral_2= 'connection' )
// InternalVerify.g:5815:4: enumLiteral_2= 'connection'
{
enumLiteral_2=(Token)match(input,111,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTargetTypeAccess().getCONNECTIONEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getTargetTypeAccess().getCONNECTIONEnumLiteralDeclaration_2());
}
}
}
break;
case 4 :
// InternalVerify.g:5822:3: (enumLiteral_3= 'flow' )
{
// InternalVerify.g:5822:3: (enumLiteral_3= 'flow' )
// InternalVerify.g:5823:4: enumLiteral_3= 'flow'
{
enumLiteral_3=(Token)match(input,112,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTargetTypeAccess().getFLOWEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getTargetTypeAccess().getFLOWEnumLiteralDeclaration_3());
}
}
}
break;
case 5 :
// InternalVerify.g:5830:3: (enumLiteral_4= 'mode' )
{
// InternalVerify.g:5830:3: (enumLiteral_4= 'mode' )
// InternalVerify.g:5831:4: enumLiteral_4= 'mode'
{
enumLiteral_4=(Token)match(input,113,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTargetTypeAccess().getMODEEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_4, grammarAccess.getTargetTypeAccess().getMODEEnumLiteralDeclaration_4());
}
}
}
break;
case 6 :
// InternalVerify.g:5838:3: (enumLiteral_5= 'element' )
{
// InternalVerify.g:5838:3: (enumLiteral_5= 'element' )
// InternalVerify.g:5839:4: enumLiteral_5= 'element'
{
enumLiteral_5=(Token)match(input,67,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTargetTypeAccess().getELEMENTEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_5, grammarAccess.getTargetTypeAccess().getELEMENTEnumLiteralDeclaration_5());
}
}
}
break;
case 7 :
// InternalVerify.g:5846:3: (enumLiteral_6= 'root' )
{
// InternalVerify.g:5846:3: (enumLiteral_6= 'root' )
// InternalVerify.g:5847:4: enumLiteral_6= 'root'
{
enumLiteral_6=(Token)match(input,114,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current = grammarAccess.getTargetTypeAccess().getROOTEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_6, grammarAccess.getTargetTypeAccess().getROOTEnumLiteralDeclaration_6());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTargetType"
// $ANTLR start synpred1_InternalVerify
public final void synpred1_InternalVerify_fragment() throws RecognitionException {
// InternalVerify.g:700:5: ( ( () 'then' ) )
// InternalVerify.g:700:6: ( () 'then' )
{
// InternalVerify.g:700:6: ( () 'then' )
// InternalVerify.g:701:6: () 'then'
{
// InternalVerify.g:701:6: ()
// InternalVerify.g:702:6:
{
}
match(input,28,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred1_InternalVerify
// $ANTLR start synpred2_InternalVerify
public final void synpred2_InternalVerify_fragment() throws RecognitionException {
// InternalVerify.g:805:5: ( ( () 'else' ) )
// InternalVerify.g:805:6: ( () 'else' )
{
// InternalVerify.g:805:6: ( () 'else' )
// InternalVerify.g:806:6: () 'else'
{
// InternalVerify.g:806:6: ()
// InternalVerify.g:807:6:
{
}
match(input,29,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred2_InternalVerify
// $ANTLR start synpred3_InternalVerify
public final void synpred3_InternalVerify_fragment() throws RecognitionException {
// InternalVerify.g:974:5: ( ( () 'else' ) )
// InternalVerify.g:974:6: ( () 'else' )
{
// InternalVerify.g:974:6: ( () 'else' )
// InternalVerify.g:975:6: () 'else'
{
// InternalVerify.g:975:6: ()
// InternalVerify.g:976:6:
{
}
match(input,29,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred3_InternalVerify
// $ANTLR start synpred4_InternalVerify
public final void synpred4_InternalVerify_fragment() throws RecognitionException {
// InternalVerify.g:3133:4: ( ( 'this' ) )
// InternalVerify.g:3133:5: ( 'this' )
{
// InternalVerify.g:3133:5: ( 'this' )
// InternalVerify.g:3134:5: 'this'
{
match(input,60,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred4_InternalVerify
// $ANTLR start synpred5_InternalVerify
public final void synpred5_InternalVerify_fragment() throws RecognitionException {
// InternalVerify.g:3152:4: ( ( ruleImageReference ) )
// InternalVerify.g:3152:5: ( ruleImageReference )
{
// InternalVerify.g:3152:5: ( ruleImageReference )
// InternalVerify.g:3153:5: ruleImageReference
{
pushFollow(FOLLOW_2);
ruleImageReference();
state._fsp--;
if (state.failed) return ;
}
}
}
// $ANTLR end synpred5_InternalVerify
// $ANTLR start synpred6_InternalVerify
public final void synpred6_InternalVerify_fragment() throws RecognitionException {
// InternalVerify.g:3470:6: ( ( () '#' ) )
// InternalVerify.g:3470:7: ( () '#' )
{
// InternalVerify.g:3470:7: ( () '#' )
// InternalVerify.g:3471:7: () '#'
{
// InternalVerify.g:3471:7: ()
// InternalVerify.g:3472:7:
{
}
match(input,68,FOLLOW_2); if (state.failed) return ;
}
}
}
// $ANTLR end synpred6_InternalVerify
// $ANTLR start synpred7_InternalVerify
public final void synpred7_InternalVerify_fragment() throws RecognitionException {
// InternalVerify.g:3895:5: ( ( () ( ( ruleOpOr ) ) ) )
// InternalVerify.g:3895:6: ( () ( ( ruleOpOr ) ) )
{
// InternalVerify.g:3895:6: ( () ( ( ruleOpOr ) ) )
// InternalVerify.g:3896:6: () ( ( ruleOpOr ) )
{
// InternalVerify.g:3896:6: ()
// InternalVerify.g:3897:6:
{
}
// InternalVerify.g:3898:6: ( ( ruleOpOr ) )
// InternalVerify.g:3899:7: ( ruleOpOr )
{
// InternalVerify.g:3899:7: ( ruleOpOr )
// InternalVerify.g:3900:8: ruleOpOr
{
pushFollow(FOLLOW_2);
ruleOpOr();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred7_InternalVerify
// $ANTLR start synpred8_InternalVerify
public final void synpred8_InternalVerify_fragment() throws RecognitionException {
// InternalVerify.g:4013:5: ( ( () ( ( ruleOpAnd ) ) ) )
// InternalVerify.g:4013:6: ( () ( ( ruleOpAnd ) ) )
{
// InternalVerify.g:4013:6: ( () ( ( ruleOpAnd ) ) )
// InternalVerify.g:4014:6: () ( ( ruleOpAnd ) )
{
// InternalVerify.g:4014:6: ()
// InternalVerify.g:4015:6:
{
}
// InternalVerify.g:4016:6: ( ( ruleOpAnd ) )
// InternalVerify.g:4017:7: ( ruleOpAnd )
{
// InternalVerify.g:4017:7: ( ruleOpAnd )
// InternalVerify.g:4018:8: ruleOpAnd
{
pushFollow(FOLLOW_2);
ruleOpAnd();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred8_InternalVerify
// $ANTLR start synpred9_InternalVerify
public final void synpred9_InternalVerify_fragment() throws RecognitionException {
// InternalVerify.g:4131:5: ( ( () ( ( ruleOpEquality ) ) ) )
// InternalVerify.g:4131:6: ( () ( ( ruleOpEquality ) ) )
{
// InternalVerify.g:4131:6: ( () ( ( ruleOpEquality ) ) )
// InternalVerify.g:4132:6: () ( ( ruleOpEquality ) )
{
// InternalVerify.g:4132:6: ()
// InternalVerify.g:4133:6:
{
}
// InternalVerify.g:4134:6: ( ( ruleOpEquality ) )
// InternalVerify.g:4135:7: ( ruleOpEquality )
{
// InternalVerify.g:4135:7: ( ruleOpEquality )
// InternalVerify.g:4136:8: ruleOpEquality
{
pushFollow(FOLLOW_2);
ruleOpEquality();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred9_InternalVerify
// $ANTLR start synpred10_InternalVerify
public final void synpred10_InternalVerify_fragment() throws RecognitionException {
// InternalVerify.g:4249:5: ( ( () ( ( ruleOpCompare ) ) ) )
// InternalVerify.g:4249:6: ( () ( ( ruleOpCompare ) ) )
{
// InternalVerify.g:4249:6: ( () ( ( ruleOpCompare ) ) )
// InternalVerify.g:4250:6: () ( ( ruleOpCompare ) )
{
// InternalVerify.g:4250:6: ()
// InternalVerify.g:4251:6:
{
}
// InternalVerify.g:4252:6: ( ( ruleOpCompare ) )
// InternalVerify.g:4253:7: ( ruleOpCompare )
{
// InternalVerify.g:4253:7: ( ruleOpCompare )
// InternalVerify.g:4254:8: ruleOpCompare
{
pushFollow(FOLLOW_2);
ruleOpCompare();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred10_InternalVerify
// $ANTLR start synpred11_InternalVerify
public final void synpred11_InternalVerify_fragment() throws RecognitionException {
// InternalVerify.g:4385:5: ( ( () ( ( ruleOpAdd ) ) ) )
// InternalVerify.g:4385:6: ( () ( ( ruleOpAdd ) ) )
{
// InternalVerify.g:4385:6: ( () ( ( ruleOpAdd ) ) )
// InternalVerify.g:4386:6: () ( ( ruleOpAdd ) )
{
// InternalVerify.g:4386:6: ()
// InternalVerify.g:4387:6:
{
}
// InternalVerify.g:4388:6: ( ( ruleOpAdd ) )
// InternalVerify.g:4389:7: ( ruleOpAdd )
{
// InternalVerify.g:4389:7: ( ruleOpAdd )
// InternalVerify.g:4390:8: ruleOpAdd
{
pushFollow(FOLLOW_2);
ruleOpAdd();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred11_InternalVerify
// $ANTLR start synpred12_InternalVerify
public final void synpred12_InternalVerify_fragment() throws RecognitionException {
// InternalVerify.g:4503:5: ( ( () ( ( ruleOpMulti ) ) ) )
// InternalVerify.g:4503:6: ( () ( ( ruleOpMulti ) ) )
{
// InternalVerify.g:4503:6: ( () ( ( ruleOpMulti ) ) )
// InternalVerify.g:4504:6: () ( ( ruleOpMulti ) )
{
// InternalVerify.g:4504:6: ()
// InternalVerify.g:4505:6:
{
}
// InternalVerify.g:4506:6: ( ( ruleOpMulti ) )
// InternalVerify.g:4507:7: ( ruleOpMulti )
{
// InternalVerify.g:4507:7: ( ruleOpMulti )
// InternalVerify.g:4508:8: ruleOpMulti
{
pushFollow(FOLLOW_2);
ruleOpMulti();
state._fsp--;
if (state.failed) return ;
}
}
}
}
}
// $ANTLR end synpred12_InternalVerify
// $ANTLR start synpred14_InternalVerify
public final void synpred14_InternalVerify_fragment() throws RecognitionException {
// InternalVerify.g:5053:5: ( 'delta' )
// InternalVerify.g:5053:6: 'delta'
{
match(input,91,FOLLOW_2); if (state.failed) return ;
}
}
// $ANTLR end synpred14_InternalVerify
// Delegated rules
public final boolean synpred10_InternalVerify() {
state.backtracking++;
int start = input.mark();
try {
synpred10_InternalVerify_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred2_InternalVerify() {
state.backtracking++;
int start = input.mark();
try {
synpred2_InternalVerify_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred9_InternalVerify() {
state.backtracking++;
int start = input.mark();
try {
synpred9_InternalVerify_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred3_InternalVerify() {
state.backtracking++;
int start = input.mark();
try {
synpred3_InternalVerify_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred5_InternalVerify() {
state.backtracking++;
int start = input.mark();
try {
synpred5_InternalVerify_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred11_InternalVerify() {
state.backtracking++;
int start = input.mark();
try {
synpred11_InternalVerify_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred7_InternalVerify() {
state.backtracking++;
int start = input.mark();
try {
synpred7_InternalVerify_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred1_InternalVerify() {
state.backtracking++;
int start = input.mark();
try {
synpred1_InternalVerify_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred12_InternalVerify() {
state.backtracking++;
int start = input.mark();
try {
synpred12_InternalVerify_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred4_InternalVerify() {
state.backtracking++;
int start = input.mark();
try {
synpred4_InternalVerify_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred8_InternalVerify() {
state.backtracking++;
int start = input.mark();
try {
synpred8_InternalVerify_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred6_InternalVerify() {
state.backtracking++;
int start = input.mark();
try {
synpred6_InternalVerify_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred14_InternalVerify() {
state.backtracking++;
int start = input.mark();
try {
synpred14_InternalVerify_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
protected DFA46 dfa46 = new DFA46(this);
protected DFA101 dfa101 = new DFA101(this);
static final String dfa_1s = "\13\uffff";
static final String dfa_2s = "\1\6\7\42\3\uffff";
static final String dfa_3s = "\1\162\7\44\3\uffff";
static final String dfa_4s = "\10\uffff\1\1\1\2\1\3";
static final String dfa_5s = "\13\uffff}>";
static final String[] dfa_6s = {
"\1\11\35\uffff\1\10\36\uffff\1\6\51\uffff\1\1\1\2\1\3\1\4\1\5\1\7",
"\1\12\1\uffff\1\10",
"\1\12\1\uffff\1\10",
"\1\12\1\uffff\1\10",
"\1\12\1\uffff\1\10",
"\1\12\1\uffff\1\10",
"\1\12\1\uffff\1\10",
"\1\12\1\uffff\1\10",
"",
"",
""
};
static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s);
static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s);
static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s);
static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s);
static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s);
class DFA46 extends DFA {
public DFA46(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 46;
this.eot = dfa_1;
this.eof = dfa_1;
this.min = dfa_2;
this.max = dfa_3;
this.accept = dfa_4;
this.special = dfa_5;
this.transition = dfa_6;
}
public String getDescription() {
return "2029:4: ( ( (lv_targetType_3_0= ruleTargetType ) )? | ( ( (lv_formals_4_0= ruleFormalParameter ) ) (otherlv_5= ',' ( (lv_formals_6_0= ruleFormalParameter ) ) )* ) | ( ( (lv_targetType_7_0= ruleTargetType ) ) otherlv_8= ',' ( (lv_formals_9_0= ruleFormalParameter ) ) (otherlv_10= ',' ( (lv_formals_11_0= ruleFormalParameter ) ) )* ) )";
}
}
static final String dfa_7s = "\22\uffff";
static final String dfa_8s = "\10\uffff\1\14\1\uffff\1\16\7\uffff";
static final String dfa_9s = "\1\140\7\uffff\1\25\1\uffff\1\25\1\141\6\uffff";
static final String dfa_10s = "\1\153\7\uffff\1\153\1\uffff\1\153\1\146\6\uffff";
static final String dfa_11s = "\1\uffff\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\uffff\1\12\2\uffff\1\10\1\11\1\14\1\13\1\15\1\16";
static final String dfa_12s = "\22\uffff}>";
static final String[] dfa_13s = {
"\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\uffff\1\11\1\12\1\13",
"",
"",
"",
"",
"",
"",
"",
"\1\14\112\uffff\10\14\1\15\3\14",
"",
"\1\16\112\uffff\10\16\1\17\3\16",
"\1\20\4\uffff\1\21",
"",
"",
"",
"",
"",
""
};
static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s);
static final short[] dfa_8 = DFA.unpackEncodedString(dfa_8s);
static final char[] dfa_9 = DFA.unpackEncodedStringToUnsignedChars(dfa_9s);
static final char[] dfa_10 = DFA.unpackEncodedStringToUnsignedChars(dfa_10s);
static final short[] dfa_11 = DFA.unpackEncodedString(dfa_11s);
static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s);
static final short[][] dfa_13 = unpackEncodedStringArray(dfa_13s);
class DFA101 extends DFA {
public DFA101(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 101;
this.eot = dfa_7;
this.eof = dfa_8;
this.min = dfa_9;
this.max = dfa_10;
this.accept = dfa_11;
this.special = dfa_12;
this.transition = dfa_13;
}
public String getDescription() {
return "5518:2: (kw= 'abstract' | kw= 'bus' | kw= 'data' | kw= 'device' | kw= 'memory' | kw= 'process' | kw= 'processor' | kw= 'subprogram' | (kw= 'subprogram' kw= 'group' ) | kw= 'system' | (kw= 'thread' kw= 'group' ) | kw= 'thread' | (kw= 'virtual' kw= 'bus' ) | (kw= 'virtual' kw= 'processor' ) )";
}
}
public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000020002L});
public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000180000L});
public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000100000L});
public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000200000L});
public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x2800000001C00000L});
public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x2800000001C00010L});
public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000280040L});
public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000280000L});
public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x200000000FC00000L});
public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x200000000FC00040L});
public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000A00000040L});
public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000000020L});
public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x200000000FC00010L});
public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000010000002L});
public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000020000002L});
public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000A00200040L});
public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00000001C0800000L});
public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000180800000L});
public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000100800000L});
public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000800000L});
public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000400800000L});
public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000001000000000L});
public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000002400000000L});
public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x10000018002000F0L,0x00000000D2300010L});
public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000001400000000L});
public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x10000008002000F0L,0x00000000D2300010L});
public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000004000200002L});
public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000008000000000L});
public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000200002L});
public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000010088800000L});
public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000010088800040L});
public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000001000000040L});
public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000080000000000L});
public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0800400000800000L});
public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000400000800000L});
public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x4002100000000040L,0x0000000000000007L});
public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000200000000002L});
public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x4002000000000040L,0x0000000000000007L});
public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000800380000L});
public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000001000000040L,0x0007E00000000008L});
public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x0000000400000000L});
public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x0007800000380000L});
public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x4002001000000040L,0x0000000000000007L});
public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x0007000000380000L});
public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x0006000000380000L});
public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x0000000000380000L});
public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0000000000300000L});
public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x0000000000000040L,0x00000EFF00000000L});
public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0000000000200040L,0x00000EFF00000000L});
public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x0DF8070000000000L});
public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x0DF8070000800000L});
public static final BitSet FOLLOW_59 = new BitSet(new long[]{0x0DF8070000800040L});
public static final BitSet FOLLOW_60 = new BitSet(new long[]{0x0000000800000002L});
public static final BitSet FOLLOW_61 = new BitSet(new long[]{0x0200000200000000L});
public static final BitSet FOLLOW_62 = new BitSet(new long[]{0x1000000000000050L,0x0000000000000080L});
public static final BitSet FOLLOW_63 = new BitSet(new long[]{0x1000000000000052L,0x0000000000000080L});
public static final BitSet FOLLOW_64 = new BitSet(new long[]{0x8000000000000002L});
public static final BitSet FOLLOW_65 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
public static final BitSet FOLLOW_66 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000010L});
public static final BitSet FOLLOW_67 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000020L});
public static final BitSet FOLLOW_68 = new BitSet(new long[]{0x0000200000000002L,0x0000000000000040L});
public static final BitSet FOLLOW_69 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L});
public static final BitSet FOLLOW_70 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L});
public static final BitSet FOLLOW_71 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000600L});
public static final BitSet FOLLOW_72 = new BitSet(new long[]{0x0000000000000002L,0x0000000000001800L});
public static final BitSet FOLLOW_73 = new BitSet(new long[]{0x0000000000000002L,0x0000000000006000L});
public static final BitSet FOLLOW_74 = new BitSet(new long[]{0x0000000000000002L,0x00000000000F8000L});
public static final BitSet FOLLOW_75 = new BitSet(new long[]{0x0000000000000002L,0x0000000000300000L});
public static final BitSet FOLLOW_76 = new BitSet(new long[]{0x0000000000000002L,0x0000000001C00100L});
public static final BitSet FOLLOW_77 = new BitSet(new long[]{0x0000200000000042L,0x0000000000000040L});
public static final BitSet FOLLOW_78 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
public static final BitSet FOLLOW_79 = new BitSet(new long[]{0x0000000000800000L,0x0000000008000000L});
public static final BitSet FOLLOW_80 = new BitSet(new long[]{0x0000000010000000L});
public static final BitSet FOLLOW_81 = new BitSet(new long[]{0x0000000020000000L,0x0000000020000000L});
public static final BitSet FOLLOW_82 = new BitSet(new long[]{0x0000000000000000L,0x0000000020000000L});
public static final BitSet FOLLOW_83 = new BitSet(new long[]{0x0000000000000000L,0x0000010000000000L});
public static final BitSet FOLLOW_84 = new BitSet(new long[]{0x0000000000000000L,0x0000000200000000L});
public static final BitSet FOLLOW_85 = new BitSet(new long[]{0x0000000000000000L,0x0000004000000000L});
public static final BitSet FOLLOW_86 = new BitSet(new long[]{0x0000000000000000L,0x0000100000000000L});
public static final BitSet FOLLOW_87 = new BitSet(new long[]{0x0000000000000002L,0x0000100000000020L});
public static final BitSet FOLLOW_88 = new BitSet(new long[]{0x0000000000000002L,0x0000100000000000L});
}