package com.arm.cmsis.pack.debugseq.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.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 com.arm.cmsis.pack.debugseq.services.DebugSeqGrammarAccess; import org.antlr.runtime.*; import java.util.Stack; import java.util.List; import java.util.ArrayList; @SuppressWarnings("all") public class InternalDebugSeqParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_ID", "RULE_DEC", "RULE_HEX", "RULE_ML_COMMENT", "RULE_INT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'<debugvars'", "'configfile='", "'version='", "'Pname='", "'>'", "'</debugvars>'", "';'", "'__var'", "'='", "'<sequences>'", "'</sequences>'", "'<sequence'", "'name='", "'\"'", "'disable='", "'info='", "'</sequence>'", "'/>'", "'<block'", "'atomic='", "'</block>'", "'<control'", "'if='", "'while='", "'timeout='", "'</control>'", "'+='", "'-='", "'*='", "'/='", "'%='", "'<<='", "'>>='", "'&='", "'^='", "'|='", "'?'", "':'", "'||'", "'&&'", "'|'", "'^'", "'&'", "'=='", "'!='", "'>='", "'<='", "'>'", "'<'", "'<<'", "'>>'", "'+'", "'-'", "'*'", "'/'", "'%'", "'('", "')'", "'!'", "'~'", "','", "'Sequence'", "'Query'", "'QueryValue'", "'Message'", "'LoadDebugInfo'", "'Read8'", "'Read16'", "'Read32'", "'Read64'", "'ReadAP'", "'ReadDP'", "'Write8'", "'Write16'", "'Write32'", "'Write64'", "'WriteAP'", "'WriteDP'", "'DAP_Delay'", "'DAP_WriteABORT'", "'DAP_SWJ_Pins'", "'DAP_SWJ_Clock'", "'DAP_SWJ_Sequence'", "'DAP_JTAG_Sequence'" }; public static final int RULE_HEX=7; 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=5; public static final int RULE_DEC=6; public static final int RULE_INT=9; public static final int T__66=66; public static final int RULE_ML_COMMENT=8; 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 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 T__48=48; public static final int T__49=49; public static final int T__44=44; 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__92=92; public static final int T__93=93; public static final int T__94=94; public static final int T__90=90; public static final int T__19=19; public static final int T__15=15; public static final int T__16=16; public static final int T__17=17; public static final int T__18=18; public static final int T__13=13; public static final int T__14=14; public static final int T__95=95; public static final int T__96=96; 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=10; 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__75=75; public static final int T__76=76; public static final int T__80=80; public static final int T__81=81; public static final int T__82=82; public static final int T__83=83; public static final int RULE_WS=11; public static final int RULE_ANY_OTHER=12; public static final int T__88=88; public static final int T__89=89; public static final int T__84=84; public static final int T__85=85; public static final int T__86=86; public static final int T__87=87; // delegates // delegators public InternalDebugSeqParser(TokenStream input) { this(input, new RecognizerSharedState()); } public InternalDebugSeqParser(TokenStream input, RecognizerSharedState state) { super(input, state); } public String[] getTokenNames() { return InternalDebugSeqParser.tokenNames; } public String getGrammarFileName() { return "InternalDebugSeq.g"; } private DebugSeqGrammarAccess grammarAccess; public InternalDebugSeqParser(TokenStream input, DebugSeqGrammarAccess grammarAccess) { this(input); this.grammarAccess = grammarAccess; registerRules(grammarAccess.getGrammar()); } @Override protected String getFirstRuleName() { return "DebugSeqModel"; } @Override protected DebugSeqGrammarAccess getGrammarAccess() { return grammarAccess; } // $ANTLR start "entryRuleDebugSeqModel" // InternalDebugSeq.g:64:1: entryRuleDebugSeqModel returns [EObject current=null] : iv_ruleDebugSeqModel= ruleDebugSeqModel EOF ; public final EObject entryRuleDebugSeqModel() throws RecognitionException { EObject current = null; EObject iv_ruleDebugSeqModel = null; try { // InternalDebugSeq.g:64:54: (iv_ruleDebugSeqModel= ruleDebugSeqModel EOF ) // InternalDebugSeq.g:65:2: iv_ruleDebugSeqModel= ruleDebugSeqModel EOF { newCompositeNode(grammarAccess.getDebugSeqModelRule()); pushFollow(FOLLOW_1); iv_ruleDebugSeqModel=ruleDebugSeqModel(); state._fsp--; current =iv_ruleDebugSeqModel; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleDebugSeqModel" // $ANTLR start "ruleDebugSeqModel" // InternalDebugSeq.g:71:1: ruleDebugSeqModel returns [EObject current=null] : ( ( (lv_debugvars_0_0= ruleDebugVars ) ) ( (lv_sequences_1_0= ruleSequences ) )? ) ; public final EObject ruleDebugSeqModel() throws RecognitionException { EObject current = null; EObject lv_debugvars_0_0 = null; EObject lv_sequences_1_0 = null; enterRule(); try { // InternalDebugSeq.g:77:2: ( ( ( (lv_debugvars_0_0= ruleDebugVars ) ) ( (lv_sequences_1_0= ruleSequences ) )? ) ) // InternalDebugSeq.g:78:2: ( ( (lv_debugvars_0_0= ruleDebugVars ) ) ( (lv_sequences_1_0= ruleSequences ) )? ) { // InternalDebugSeq.g:78:2: ( ( (lv_debugvars_0_0= ruleDebugVars ) ) ( (lv_sequences_1_0= ruleSequences ) )? ) // InternalDebugSeq.g:79:3: ( (lv_debugvars_0_0= ruleDebugVars ) ) ( (lv_sequences_1_0= ruleSequences ) )? { // InternalDebugSeq.g:79:3: ( (lv_debugvars_0_0= ruleDebugVars ) ) // InternalDebugSeq.g:80:4: (lv_debugvars_0_0= ruleDebugVars ) { // InternalDebugSeq.g:80:4: (lv_debugvars_0_0= ruleDebugVars ) // InternalDebugSeq.g:81:5: lv_debugvars_0_0= ruleDebugVars { newCompositeNode(grammarAccess.getDebugSeqModelAccess().getDebugvarsDebugVarsParserRuleCall_0_0()); pushFollow(FOLLOW_3); lv_debugvars_0_0=ruleDebugVars(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDebugSeqModelRule()); } set( current, "debugvars", lv_debugvars_0_0, "com.arm.cmsis.pack.debugseq.DebugSeq.DebugVars"); afterParserOrEnumRuleCall(); } } // InternalDebugSeq.g:98:3: ( (lv_sequences_1_0= ruleSequences ) )? int alt1=2; int LA1_0 = input.LA(1); if ( (LA1_0==22) ) { alt1=1; } switch (alt1) { case 1 : // InternalDebugSeq.g:99:4: (lv_sequences_1_0= ruleSequences ) { // InternalDebugSeq.g:99:4: (lv_sequences_1_0= ruleSequences ) // InternalDebugSeq.g:100:5: lv_sequences_1_0= ruleSequences { newCompositeNode(grammarAccess.getDebugSeqModelAccess().getSequencesSequencesParserRuleCall_1_0()); pushFollow(FOLLOW_2); lv_sequences_1_0=ruleSequences(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDebugSeqModelRule()); } set( current, "sequences", lv_sequences_1_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Sequences"); afterParserOrEnumRuleCall(); } } break; } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleDebugSeqModel" // $ANTLR start "entryRuleDebugVars" // InternalDebugSeq.g:121:1: entryRuleDebugVars returns [EObject current=null] : iv_ruleDebugVars= ruleDebugVars EOF ; public final EObject entryRuleDebugVars() throws RecognitionException { EObject current = null; EObject iv_ruleDebugVars = null; try { // InternalDebugSeq.g:121:50: (iv_ruleDebugVars= ruleDebugVars EOF ) // InternalDebugSeq.g:122:2: iv_ruleDebugVars= ruleDebugVars EOF { newCompositeNode(grammarAccess.getDebugVarsRule()); pushFollow(FOLLOW_1); iv_ruleDebugVars=ruleDebugVars(); state._fsp--; current =iv_ruleDebugVars; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleDebugVars" // $ANTLR start "ruleDebugVars" // InternalDebugSeq.g:128:1: ruleDebugVars returns [EObject current=null] : ( () otherlv_1= '<debugvars' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) otherlv_9= '>' ( (lv_statements_10_0= ruleStatement ) )* otherlv_11= '</debugvars>' ) ; public final EObject ruleDebugVars() throws RecognitionException { EObject current = null; Token otherlv_1=null; Token otherlv_3=null; Token lv_configfile_4_0=null; Token otherlv_5=null; Token lv_version_6_0=null; Token otherlv_7=null; Token lv_pname_8_0=null; Token otherlv_9=null; Token otherlv_11=null; EObject lv_statements_10_0 = null; enterRule(); try { // InternalDebugSeq.g:134:2: ( ( () otherlv_1= '<debugvars' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) otherlv_9= '>' ( (lv_statements_10_0= ruleStatement ) )* otherlv_11= '</debugvars>' ) ) // InternalDebugSeq.g:135:2: ( () otherlv_1= '<debugvars' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) otherlv_9= '>' ( (lv_statements_10_0= ruleStatement ) )* otherlv_11= '</debugvars>' ) { // InternalDebugSeq.g:135:2: ( () otherlv_1= '<debugvars' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) otherlv_9= '>' ( (lv_statements_10_0= ruleStatement ) )* otherlv_11= '</debugvars>' ) // InternalDebugSeq.g:136:3: () otherlv_1= '<debugvars' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) otherlv_9= '>' ( (lv_statements_10_0= ruleStatement ) )* otherlv_11= '</debugvars>' { // InternalDebugSeq.g:136:3: () // InternalDebugSeq.g:137:4: { current = forceCreateModelElement( grammarAccess.getDebugVarsAccess().getDebugVarsAction_0(), current); } otherlv_1=(Token)match(input,13,FOLLOW_4); newLeafNode(otherlv_1, grammarAccess.getDebugVarsAccess().getDebugvarsKeyword_1()); // InternalDebugSeq.g:147:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) // InternalDebugSeq.g:148:4: ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) ) ) )* ) ) { // InternalDebugSeq.g:148:4: ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) ) ) )* ) ) // InternalDebugSeq.g:149:5: ( ( ({...}? => ( ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) ) ) )* ) { getUnorderedGroupHelper().enter(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2()); // InternalDebugSeq.g:152:5: ( ( ({...}? => ( ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) ) ) )* ) // InternalDebugSeq.g:153:6: ( ({...}? => ( ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) ) ) )* { // InternalDebugSeq.g:153:6: ( ({...}? => ( ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) ) ) )* loop2: do { int alt2=4; int LA2_0 = input.LA(1); if ( LA2_0 == 14 && getUnorderedGroupHelper().canSelect(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2(), 0) ) { alt2=1; } else if ( LA2_0 == 15 && getUnorderedGroupHelper().canSelect(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2(), 1) ) { alt2=2; } else if ( LA2_0 == 16 && getUnorderedGroupHelper().canSelect(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2(), 2) ) { alt2=3; } switch (alt2) { case 1 : // InternalDebugSeq.g:154:4: ({...}? => ( ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) ) ) { // InternalDebugSeq.g:154:4: ({...}? => ( ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) ) ) // InternalDebugSeq.g:155:5: {...}? => ( ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2(), 0) ) { throw new FailedPredicateException(input, "ruleDebugVars", "getUnorderedGroupHelper().canSelect(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2(), 0)"); } // InternalDebugSeq.g:155:106: ( ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) ) // InternalDebugSeq.g:156:6: ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2(), 0); // InternalDebugSeq.g:159:9: ({...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) ) // InternalDebugSeq.g:159:10: {...}? => (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleDebugVars", "true"); } // InternalDebugSeq.g:159:19: (otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) ) // InternalDebugSeq.g:159:20: otherlv_3= 'configfile=' ( (lv_configfile_4_0= RULE_STRING ) ) { otherlv_3=(Token)match(input,14,FOLLOW_5); newLeafNode(otherlv_3, grammarAccess.getDebugVarsAccess().getConfigfileKeyword_2_0_0()); // InternalDebugSeq.g:163:9: ( (lv_configfile_4_0= RULE_STRING ) ) // InternalDebugSeq.g:164:10: (lv_configfile_4_0= RULE_STRING ) { // InternalDebugSeq.g:164:10: (lv_configfile_4_0= RULE_STRING ) // InternalDebugSeq.g:165:11: lv_configfile_4_0= RULE_STRING { lv_configfile_4_0=(Token)match(input,RULE_STRING,FOLLOW_4); newLeafNode(lv_configfile_4_0, grammarAccess.getDebugVarsAccess().getConfigfileSTRINGTerminalRuleCall_2_0_1_0()); if (current==null) { current = createModelElement(grammarAccess.getDebugVarsRule()); } setWithLastConsumed( current, "configfile", lv_configfile_4_0, "com.arm.cmsis.pack.debugseq.DebugSeq.STRING"); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2()); } } } break; case 2 : // InternalDebugSeq.g:187:4: ({...}? => ( ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) ) ) { // InternalDebugSeq.g:187:4: ({...}? => ( ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) ) ) // InternalDebugSeq.g:188:5: {...}? => ( ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2(), 1) ) { throw new FailedPredicateException(input, "ruleDebugVars", "getUnorderedGroupHelper().canSelect(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2(), 1)"); } // InternalDebugSeq.g:188:106: ( ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) ) // InternalDebugSeq.g:189:6: ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2(), 1); // InternalDebugSeq.g:192:9: ({...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) ) // InternalDebugSeq.g:192:10: {...}? => (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleDebugVars", "true"); } // InternalDebugSeq.g:192:19: (otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) ) // InternalDebugSeq.g:192:20: otherlv_5= 'version=' ( (lv_version_6_0= RULE_STRING ) ) { otherlv_5=(Token)match(input,15,FOLLOW_5); newLeafNode(otherlv_5, grammarAccess.getDebugVarsAccess().getVersionKeyword_2_1_0()); // InternalDebugSeq.g:196:9: ( (lv_version_6_0= RULE_STRING ) ) // InternalDebugSeq.g:197:10: (lv_version_6_0= RULE_STRING ) { // InternalDebugSeq.g:197:10: (lv_version_6_0= RULE_STRING ) // InternalDebugSeq.g:198:11: lv_version_6_0= RULE_STRING { lv_version_6_0=(Token)match(input,RULE_STRING,FOLLOW_4); newLeafNode(lv_version_6_0, grammarAccess.getDebugVarsAccess().getVersionSTRINGTerminalRuleCall_2_1_1_0()); if (current==null) { current = createModelElement(grammarAccess.getDebugVarsRule()); } setWithLastConsumed( current, "version", lv_version_6_0, "com.arm.cmsis.pack.debugseq.DebugSeq.STRING"); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2()); } } } break; case 3 : // InternalDebugSeq.g:220:4: ({...}? => ( ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) ) ) { // InternalDebugSeq.g:220:4: ({...}? => ( ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) ) ) // InternalDebugSeq.g:221:5: {...}? => ( ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2(), 2) ) { throw new FailedPredicateException(input, "ruleDebugVars", "getUnorderedGroupHelper().canSelect(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2(), 2)"); } // InternalDebugSeq.g:221:106: ( ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) ) // InternalDebugSeq.g:222:6: ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2(), 2); // InternalDebugSeq.g:225:9: ({...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) ) // InternalDebugSeq.g:225:10: {...}? => (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleDebugVars", "true"); } // InternalDebugSeq.g:225:19: (otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) ) // InternalDebugSeq.g:225:20: otherlv_7= 'Pname=' ( (lv_pname_8_0= RULE_STRING ) ) { otherlv_7=(Token)match(input,16,FOLLOW_5); newLeafNode(otherlv_7, grammarAccess.getDebugVarsAccess().getPnameKeyword_2_2_0()); // InternalDebugSeq.g:229:9: ( (lv_pname_8_0= RULE_STRING ) ) // InternalDebugSeq.g:230:10: (lv_pname_8_0= RULE_STRING ) { // InternalDebugSeq.g:230:10: (lv_pname_8_0= RULE_STRING ) // InternalDebugSeq.g:231:11: lv_pname_8_0= RULE_STRING { lv_pname_8_0=(Token)match(input,RULE_STRING,FOLLOW_4); newLeafNode(lv_pname_8_0, grammarAccess.getDebugVarsAccess().getPnameSTRINGTerminalRuleCall_2_2_1_0()); if (current==null) { current = createModelElement(grammarAccess.getDebugVarsRule()); } setWithLastConsumed( current, "pname", lv_pname_8_0, "com.arm.cmsis.pack.debugseq.DebugSeq.STRING"); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2()); } } } break; default : break loop2; } } while (true); } } getUnorderedGroupHelper().leave(grammarAccess.getDebugVarsAccess().getUnorderedGroup_2()); } otherlv_9=(Token)match(input,17,FOLLOW_6); newLeafNode(otherlv_9, grammarAccess.getDebugVarsAccess().getGreaterThanSignKeyword_3()); // InternalDebugSeq.g:264:3: ( (lv_statements_10_0= ruleStatement ) )* loop3: do { int alt3=2; int LA3_0 = input.LA(1); if ( ((LA3_0>=RULE_STRING && LA3_0<=RULE_HEX)||LA3_0==20||LA3_0==69||(LA3_0>=71 && LA3_0<=72)||(LA3_0>=74 && LA3_0<=96)) ) { alt3=1; } switch (alt3) { case 1 : // InternalDebugSeq.g:265:4: (lv_statements_10_0= ruleStatement ) { // InternalDebugSeq.g:265:4: (lv_statements_10_0= ruleStatement ) // InternalDebugSeq.g:266:5: lv_statements_10_0= ruleStatement { newCompositeNode(grammarAccess.getDebugVarsAccess().getStatementsStatementParserRuleCall_4_0()); pushFollow(FOLLOW_6); lv_statements_10_0=ruleStatement(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getDebugVarsRule()); } add( current, "statements", lv_statements_10_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Statement"); afterParserOrEnumRuleCall(); } } break; default : break loop3; } } while (true); otherlv_11=(Token)match(input,18,FOLLOW_2); newLeafNode(otherlv_11, grammarAccess.getDebugVarsAccess().getDebugvarsKeyword_5()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleDebugVars" // $ANTLR start "entryRuleStatement" // InternalDebugSeq.g:291:1: entryRuleStatement returns [EObject current=null] : iv_ruleStatement= ruleStatement EOF ; public final EObject entryRuleStatement() throws RecognitionException { EObject current = null; EObject iv_ruleStatement = null; try { // InternalDebugSeq.g:291:50: (iv_ruleStatement= ruleStatement EOF ) // InternalDebugSeq.g:292:2: iv_ruleStatement= ruleStatement EOF { newCompositeNode(grammarAccess.getStatementRule()); pushFollow(FOLLOW_1); iv_ruleStatement=ruleStatement(); state._fsp--; current =iv_ruleStatement; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleStatement" // $ANTLR start "ruleStatement" // InternalDebugSeq.g:298:1: ruleStatement returns [EObject current=null] : ( (this_VariableDeclaration_0= ruleVariableDeclaration otherlv_1= ';' ) | (this_Expression_2= ruleExpression otherlv_3= ';' ) ) ; public final EObject ruleStatement() throws RecognitionException { EObject current = null; Token otherlv_1=null; Token otherlv_3=null; EObject this_VariableDeclaration_0 = null; EObject this_Expression_2 = null; enterRule(); try { // InternalDebugSeq.g:304:2: ( ( (this_VariableDeclaration_0= ruleVariableDeclaration otherlv_1= ';' ) | (this_Expression_2= ruleExpression otherlv_3= ';' ) ) ) // InternalDebugSeq.g:305:2: ( (this_VariableDeclaration_0= ruleVariableDeclaration otherlv_1= ';' ) | (this_Expression_2= ruleExpression otherlv_3= ';' ) ) { // InternalDebugSeq.g:305:2: ( (this_VariableDeclaration_0= ruleVariableDeclaration otherlv_1= ';' ) | (this_Expression_2= ruleExpression otherlv_3= ';' ) ) int alt4=2; int LA4_0 = input.LA(1); if ( (LA4_0==20) ) { alt4=1; } else if ( ((LA4_0>=RULE_STRING && LA4_0<=RULE_HEX)||LA4_0==69||(LA4_0>=71 && LA4_0<=72)||(LA4_0>=74 && LA4_0<=96)) ) { alt4=2; } else { NoViableAltException nvae = new NoViableAltException("", 4, 0, input); throw nvae; } switch (alt4) { case 1 : // InternalDebugSeq.g:306:3: (this_VariableDeclaration_0= ruleVariableDeclaration otherlv_1= ';' ) { // InternalDebugSeq.g:306:3: (this_VariableDeclaration_0= ruleVariableDeclaration otherlv_1= ';' ) // InternalDebugSeq.g:307:4: this_VariableDeclaration_0= ruleVariableDeclaration otherlv_1= ';' { newCompositeNode(grammarAccess.getStatementAccess().getVariableDeclarationParserRuleCall_0_0()); pushFollow(FOLLOW_7); this_VariableDeclaration_0=ruleVariableDeclaration(); state._fsp--; current = this_VariableDeclaration_0; afterParserOrEnumRuleCall(); otherlv_1=(Token)match(input,19,FOLLOW_2); newLeafNode(otherlv_1, grammarAccess.getStatementAccess().getSemicolonKeyword_0_1()); } } break; case 2 : // InternalDebugSeq.g:321:3: (this_Expression_2= ruleExpression otherlv_3= ';' ) { // InternalDebugSeq.g:321:3: (this_Expression_2= ruleExpression otherlv_3= ';' ) // InternalDebugSeq.g:322:4: this_Expression_2= ruleExpression otherlv_3= ';' { newCompositeNode(grammarAccess.getStatementAccess().getExpressionParserRuleCall_1_0()); pushFollow(FOLLOW_7); this_Expression_2=ruleExpression(); state._fsp--; current = this_Expression_2; afterParserOrEnumRuleCall(); otherlv_3=(Token)match(input,19,FOLLOW_2); newLeafNode(otherlv_3, grammarAccess.getStatementAccess().getSemicolonKeyword_1_1()); } } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleStatement" // $ANTLR start "entryRuleVariableDeclaration" // InternalDebugSeq.g:339:1: entryRuleVariableDeclaration returns [EObject current=null] : iv_ruleVariableDeclaration= ruleVariableDeclaration EOF ; public final EObject entryRuleVariableDeclaration() throws RecognitionException { EObject current = null; EObject iv_ruleVariableDeclaration = null; try { // InternalDebugSeq.g:339:60: (iv_ruleVariableDeclaration= ruleVariableDeclaration EOF ) // InternalDebugSeq.g:340:2: iv_ruleVariableDeclaration= ruleVariableDeclaration EOF { newCompositeNode(grammarAccess.getVariableDeclarationRule()); pushFollow(FOLLOW_1); iv_ruleVariableDeclaration=ruleVariableDeclaration(); state._fsp--; current =iv_ruleVariableDeclaration; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleVariableDeclaration" // $ANTLR start "ruleVariableDeclaration" // InternalDebugSeq.g:346:1: ruleVariableDeclaration returns [EObject current=null] : (otherlv_0= '__var' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_value_3_0= ruleExpression ) ) ) ; public final EObject ruleVariableDeclaration() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_name_1_0=null; Token otherlv_2=null; EObject lv_value_3_0 = null; enterRule(); try { // InternalDebugSeq.g:352:2: ( (otherlv_0= '__var' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_value_3_0= ruleExpression ) ) ) ) // InternalDebugSeq.g:353:2: (otherlv_0= '__var' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_value_3_0= ruleExpression ) ) ) { // InternalDebugSeq.g:353:2: (otherlv_0= '__var' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_value_3_0= ruleExpression ) ) ) // InternalDebugSeq.g:354:3: otherlv_0= '__var' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_value_3_0= ruleExpression ) ) { otherlv_0=(Token)match(input,20,FOLLOW_8); newLeafNode(otherlv_0, grammarAccess.getVariableDeclarationAccess().get__varKeyword_0()); // InternalDebugSeq.g:358:3: ( (lv_name_1_0= RULE_ID ) ) // InternalDebugSeq.g:359:4: (lv_name_1_0= RULE_ID ) { // InternalDebugSeq.g:359:4: (lv_name_1_0= RULE_ID ) // InternalDebugSeq.g:360:5: lv_name_1_0= RULE_ID { lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_9); newLeafNode(lv_name_1_0, grammarAccess.getVariableDeclarationAccess().getNameIDTerminalRuleCall_1_0()); if (current==null) { current = createModelElement(grammarAccess.getVariableDeclarationRule()); } setWithLastConsumed( current, "name", lv_name_1_0, "org.eclipse.xtext.common.Terminals.ID"); } } otherlv_2=(Token)match(input,21,FOLLOW_10); newLeafNode(otherlv_2, grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_2()); // InternalDebugSeq.g:380:3: ( (lv_value_3_0= ruleExpression ) ) // InternalDebugSeq.g:381:4: (lv_value_3_0= ruleExpression ) { // InternalDebugSeq.g:381:4: (lv_value_3_0= ruleExpression ) // InternalDebugSeq.g:382:5: lv_value_3_0= ruleExpression { newCompositeNode(grammarAccess.getVariableDeclarationAccess().getValueExpressionParserRuleCall_3_0()); pushFollow(FOLLOW_2); lv_value_3_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getVariableDeclarationRule()); } set( current, "value", lv_value_3_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleVariableDeclaration" // $ANTLR start "entryRuleSequences" // InternalDebugSeq.g:403:1: entryRuleSequences returns [EObject current=null] : iv_ruleSequences= ruleSequences EOF ; public final EObject entryRuleSequences() throws RecognitionException { EObject current = null; EObject iv_ruleSequences = null; try { // InternalDebugSeq.g:403:50: (iv_ruleSequences= ruleSequences EOF ) // InternalDebugSeq.g:404:2: iv_ruleSequences= ruleSequences EOF { newCompositeNode(grammarAccess.getSequencesRule()); pushFollow(FOLLOW_1); iv_ruleSequences=ruleSequences(); state._fsp--; current =iv_ruleSequences; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleSequences" // $ANTLR start "ruleSequences" // InternalDebugSeq.g:410:1: ruleSequences returns [EObject current=null] : ( () otherlv_1= '<sequences>' ( (lv_sequences_2_0= ruleSequence ) )* otherlv_3= '</sequences>' ) ; public final EObject ruleSequences() throws RecognitionException { EObject current = null; Token otherlv_1=null; Token otherlv_3=null; EObject lv_sequences_2_0 = null; enterRule(); try { // InternalDebugSeq.g:416:2: ( ( () otherlv_1= '<sequences>' ( (lv_sequences_2_0= ruleSequence ) )* otherlv_3= '</sequences>' ) ) // InternalDebugSeq.g:417:2: ( () otherlv_1= '<sequences>' ( (lv_sequences_2_0= ruleSequence ) )* otherlv_3= '</sequences>' ) { // InternalDebugSeq.g:417:2: ( () otherlv_1= '<sequences>' ( (lv_sequences_2_0= ruleSequence ) )* otherlv_3= '</sequences>' ) // InternalDebugSeq.g:418:3: () otherlv_1= '<sequences>' ( (lv_sequences_2_0= ruleSequence ) )* otherlv_3= '</sequences>' { // InternalDebugSeq.g:418:3: () // InternalDebugSeq.g:419:4: { current = forceCreateModelElement( grammarAccess.getSequencesAccess().getSequencesAction_0(), current); } otherlv_1=(Token)match(input,22,FOLLOW_11); newLeafNode(otherlv_1, grammarAccess.getSequencesAccess().getSequencesKeyword_1()); // InternalDebugSeq.g:429:3: ( (lv_sequences_2_0= ruleSequence ) )* loop5: do { int alt5=2; int LA5_0 = input.LA(1); if ( (LA5_0==24) ) { alt5=1; } switch (alt5) { case 1 : // InternalDebugSeq.g:430:4: (lv_sequences_2_0= ruleSequence ) { // InternalDebugSeq.g:430:4: (lv_sequences_2_0= ruleSequence ) // InternalDebugSeq.g:431:5: lv_sequences_2_0= ruleSequence { newCompositeNode(grammarAccess.getSequencesAccess().getSequencesSequenceParserRuleCall_2_0()); pushFollow(FOLLOW_11); lv_sequences_2_0=ruleSequence(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSequencesRule()); } add( current, "sequences", lv_sequences_2_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Sequence"); afterParserOrEnumRuleCall(); } } break; default : break loop5; } } while (true); otherlv_3=(Token)match(input,23,FOLLOW_2); newLeafNode(otherlv_3, grammarAccess.getSequencesAccess().getSequencesKeyword_3()); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleSequences" // $ANTLR start "entryRuleSequence" // InternalDebugSeq.g:456:1: entryRuleSequence returns [EObject current=null] : iv_ruleSequence= ruleSequence EOF ; public final EObject entryRuleSequence() throws RecognitionException { EObject current = null; EObject iv_ruleSequence = null; try { // InternalDebugSeq.g:456:49: (iv_ruleSequence= ruleSequence EOF ) // InternalDebugSeq.g:457:2: iv_ruleSequence= ruleSequence EOF { newCompositeNode(grammarAccess.getSequenceRule()); pushFollow(FOLLOW_1); iv_ruleSequence=ruleSequence(); state._fsp--; current =iv_ruleSequence; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleSequence" // $ANTLR start "ruleSequence" // InternalDebugSeq.g:463:1: ruleSequence returns [EObject current=null] : (otherlv_0= '<sequence' ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) ) ) )+ {...}?) ) ) ( (otherlv_14= '>' ( (lv_codeblocks_15_0= ruleCodeBlock ) )* otherlv_16= '</sequence>' ) | otherlv_17= '/>' ) ) ; public final EObject ruleSequence() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_3=null; Token lv_name_4_0=null; Token otherlv_5=null; Token otherlv_6=null; Token otherlv_7=null; Token lv_disable_8_0=null; Token otherlv_9=null; Token otherlv_10=null; Token lv_pname_11_0=null; Token otherlv_12=null; Token lv_info_13_0=null; Token otherlv_14=null; Token otherlv_16=null; Token otherlv_17=null; EObject lv_codeblocks_15_0 = null; enterRule(); try { // InternalDebugSeq.g:469:2: ( (otherlv_0= '<sequence' ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) ) ) )+ {...}?) ) ) ( (otherlv_14= '>' ( (lv_codeblocks_15_0= ruleCodeBlock ) )* otherlv_16= '</sequence>' ) | otherlv_17= '/>' ) ) ) // InternalDebugSeq.g:470:2: (otherlv_0= '<sequence' ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) ) ) )+ {...}?) ) ) ( (otherlv_14= '>' ( (lv_codeblocks_15_0= ruleCodeBlock ) )* otherlv_16= '</sequence>' ) | otherlv_17= '/>' ) ) { // InternalDebugSeq.g:470:2: (otherlv_0= '<sequence' ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) ) ) )+ {...}?) ) ) ( (otherlv_14= '>' ( (lv_codeblocks_15_0= ruleCodeBlock ) )* otherlv_16= '</sequence>' ) | otherlv_17= '/>' ) ) // InternalDebugSeq.g:471:3: otherlv_0= '<sequence' ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) ) ) )+ {...}?) ) ) ( (otherlv_14= '>' ( (lv_codeblocks_15_0= ruleCodeBlock ) )* otherlv_16= '</sequence>' ) | otherlv_17= '/>' ) { otherlv_0=(Token)match(input,24,FOLLOW_12); newLeafNode(otherlv_0, grammarAccess.getSequenceAccess().getSequenceKeyword_0()); // InternalDebugSeq.g:475:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) ) ) )+ {...}?) ) ) // InternalDebugSeq.g:476:4: ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) ) ) )+ {...}?) ) { // InternalDebugSeq.g:476:4: ( ( ( ({...}? => ( ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) ) ) )+ {...}?) ) // InternalDebugSeq.g:477:5: ( ( ({...}? => ( ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) ) ) )+ {...}?) { getUnorderedGroupHelper().enter(grammarAccess.getSequenceAccess().getUnorderedGroup_1()); // InternalDebugSeq.g:480:5: ( ( ({...}? => ( ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) ) ) )+ {...}?) // InternalDebugSeq.g:481:6: ( ({...}? => ( ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) ) ) )+ {...}? { // InternalDebugSeq.g:481:6: ( ({...}? => ( ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) ) ) )+ int cnt6=0; loop6: do { int alt6=5; int LA6_0 = input.LA(1); if ( LA6_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getSequenceAccess().getUnorderedGroup_1(), 0) ) { alt6=1; } else if ( LA6_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getSequenceAccess().getUnorderedGroup_1(), 1) ) { alt6=2; } else if ( LA6_0 == 16 && getUnorderedGroupHelper().canSelect(grammarAccess.getSequenceAccess().getUnorderedGroup_1(), 2) ) { alt6=3; } else if ( LA6_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getSequenceAccess().getUnorderedGroup_1(), 3) ) { alt6=4; } switch (alt6) { case 1 : // InternalDebugSeq.g:482:4: ({...}? => ( ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) ) ) { // InternalDebugSeq.g:482:4: ({...}? => ( ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) ) ) // InternalDebugSeq.g:483:5: {...}? => ( ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSequenceAccess().getUnorderedGroup_1(), 0) ) { throw new FailedPredicateException(input, "ruleSequence", "getUnorderedGroupHelper().canSelect(grammarAccess.getSequenceAccess().getUnorderedGroup_1(), 0)"); } // InternalDebugSeq.g:483:105: ( ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) ) // InternalDebugSeq.g:484:6: ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) { getUnorderedGroupHelper().select(grammarAccess.getSequenceAccess().getUnorderedGroup_1(), 0); // InternalDebugSeq.g:487:9: ({...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) ) // InternalDebugSeq.g:487:10: {...}? => (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleSequence", "true"); } // InternalDebugSeq.g:487:19: (otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' ) // InternalDebugSeq.g:487:20: otherlv_2= 'name=' otherlv_3= '\"' ( (lv_name_4_0= RULE_ID ) ) otherlv_5= '\"' { otherlv_2=(Token)match(input,25,FOLLOW_13); newLeafNode(otherlv_2, grammarAccess.getSequenceAccess().getNameKeyword_1_0_0()); otherlv_3=(Token)match(input,26,FOLLOW_8); newLeafNode(otherlv_3, grammarAccess.getSequenceAccess().getQuotationMarkKeyword_1_0_1()); // InternalDebugSeq.g:495:9: ( (lv_name_4_0= RULE_ID ) ) // InternalDebugSeq.g:496:10: (lv_name_4_0= RULE_ID ) { // InternalDebugSeq.g:496:10: (lv_name_4_0= RULE_ID ) // InternalDebugSeq.g:497:11: lv_name_4_0= RULE_ID { lv_name_4_0=(Token)match(input,RULE_ID,FOLLOW_13); newLeafNode(lv_name_4_0, grammarAccess.getSequenceAccess().getNameIDTerminalRuleCall_1_0_2_0()); if (current==null) { current = createModelElement(grammarAccess.getSequenceRule()); } setWithLastConsumed( current, "name", lv_name_4_0, "org.eclipse.xtext.common.Terminals.ID"); } } otherlv_5=(Token)match(input,26,FOLLOW_14); newLeafNode(otherlv_5, grammarAccess.getSequenceAccess().getQuotationMarkKeyword_1_0_3()); } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSequenceAccess().getUnorderedGroup_1()); } } } break; case 2 : // InternalDebugSeq.g:523:4: ({...}? => ( ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) ) ) { // InternalDebugSeq.g:523:4: ({...}? => ( ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) ) ) // InternalDebugSeq.g:524:5: {...}? => ( ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSequenceAccess().getUnorderedGroup_1(), 1) ) { throw new FailedPredicateException(input, "ruleSequence", "getUnorderedGroupHelper().canSelect(grammarAccess.getSequenceAccess().getUnorderedGroup_1(), 1)"); } // InternalDebugSeq.g:524:105: ( ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) ) // InternalDebugSeq.g:525:6: ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) { getUnorderedGroupHelper().select(grammarAccess.getSequenceAccess().getUnorderedGroup_1(), 1); // InternalDebugSeq.g:528:9: ({...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) ) // InternalDebugSeq.g:528:10: {...}? => (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleSequence", "true"); } // InternalDebugSeq.g:528:19: (otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' ) // InternalDebugSeq.g:528:20: otherlv_6= 'disable=' otherlv_7= '\"' ( (lv_disable_8_0= RULE_DEC ) ) otherlv_9= '\"' { otherlv_6=(Token)match(input,27,FOLLOW_13); newLeafNode(otherlv_6, grammarAccess.getSequenceAccess().getDisableKeyword_1_1_0()); otherlv_7=(Token)match(input,26,FOLLOW_15); newLeafNode(otherlv_7, grammarAccess.getSequenceAccess().getQuotationMarkKeyword_1_1_1()); // InternalDebugSeq.g:536:9: ( (lv_disable_8_0= RULE_DEC ) ) // InternalDebugSeq.g:537:10: (lv_disable_8_0= RULE_DEC ) { // InternalDebugSeq.g:537:10: (lv_disable_8_0= RULE_DEC ) // InternalDebugSeq.g:538:11: lv_disable_8_0= RULE_DEC { lv_disable_8_0=(Token)match(input,RULE_DEC,FOLLOW_13); newLeafNode(lv_disable_8_0, grammarAccess.getSequenceAccess().getDisableDECTerminalRuleCall_1_1_2_0()); if (current==null) { current = createModelElement(grammarAccess.getSequenceRule()); } setWithLastConsumed( current, "disable", lv_disable_8_0, "com.arm.cmsis.pack.debugseq.DebugSeq.DEC"); } } otherlv_9=(Token)match(input,26,FOLLOW_14); newLeafNode(otherlv_9, grammarAccess.getSequenceAccess().getQuotationMarkKeyword_1_1_3()); } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSequenceAccess().getUnorderedGroup_1()); } } } break; case 3 : // InternalDebugSeq.g:564:4: ({...}? => ( ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) ) ) { // InternalDebugSeq.g:564:4: ({...}? => ( ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) ) ) // InternalDebugSeq.g:565:5: {...}? => ( ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSequenceAccess().getUnorderedGroup_1(), 2) ) { throw new FailedPredicateException(input, "ruleSequence", "getUnorderedGroupHelper().canSelect(grammarAccess.getSequenceAccess().getUnorderedGroup_1(), 2)"); } // InternalDebugSeq.g:565:105: ( ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) ) // InternalDebugSeq.g:566:6: ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getSequenceAccess().getUnorderedGroup_1(), 2); // InternalDebugSeq.g:569:9: ({...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) ) // InternalDebugSeq.g:569:10: {...}? => (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleSequence", "true"); } // InternalDebugSeq.g:569:19: (otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) ) // InternalDebugSeq.g:569:20: otherlv_10= 'Pname=' ( (lv_pname_11_0= RULE_STRING ) ) { otherlv_10=(Token)match(input,16,FOLLOW_5); newLeafNode(otherlv_10, grammarAccess.getSequenceAccess().getPnameKeyword_1_2_0()); // InternalDebugSeq.g:573:9: ( (lv_pname_11_0= RULE_STRING ) ) // InternalDebugSeq.g:574:10: (lv_pname_11_0= RULE_STRING ) { // InternalDebugSeq.g:574:10: (lv_pname_11_0= RULE_STRING ) // InternalDebugSeq.g:575:11: lv_pname_11_0= RULE_STRING { lv_pname_11_0=(Token)match(input,RULE_STRING,FOLLOW_14); newLeafNode(lv_pname_11_0, grammarAccess.getSequenceAccess().getPnameSTRINGTerminalRuleCall_1_2_1_0()); if (current==null) { current = createModelElement(grammarAccess.getSequenceRule()); } setWithLastConsumed( current, "pname", lv_pname_11_0, "com.arm.cmsis.pack.debugseq.DebugSeq.STRING"); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSequenceAccess().getUnorderedGroup_1()); } } } break; case 4 : // InternalDebugSeq.g:597:4: ({...}? => ( ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) ) ) { // InternalDebugSeq.g:597:4: ({...}? => ( ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) ) ) // InternalDebugSeq.g:598:5: {...}? => ( ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSequenceAccess().getUnorderedGroup_1(), 3) ) { throw new FailedPredicateException(input, "ruleSequence", "getUnorderedGroupHelper().canSelect(grammarAccess.getSequenceAccess().getUnorderedGroup_1(), 3)"); } // InternalDebugSeq.g:598:105: ( ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) ) // InternalDebugSeq.g:599:6: ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getSequenceAccess().getUnorderedGroup_1(), 3); // InternalDebugSeq.g:602:9: ({...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) ) // InternalDebugSeq.g:602:10: {...}? => (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleSequence", "true"); } // InternalDebugSeq.g:602:19: (otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) ) // InternalDebugSeq.g:602:20: otherlv_12= 'info=' ( (lv_info_13_0= RULE_STRING ) ) { otherlv_12=(Token)match(input,28,FOLLOW_5); newLeafNode(otherlv_12, grammarAccess.getSequenceAccess().getInfoKeyword_1_3_0()); // InternalDebugSeq.g:606:9: ( (lv_info_13_0= RULE_STRING ) ) // InternalDebugSeq.g:607:10: (lv_info_13_0= RULE_STRING ) { // InternalDebugSeq.g:607:10: (lv_info_13_0= RULE_STRING ) // InternalDebugSeq.g:608:11: lv_info_13_0= RULE_STRING { lv_info_13_0=(Token)match(input,RULE_STRING,FOLLOW_14); newLeafNode(lv_info_13_0, grammarAccess.getSequenceAccess().getInfoSTRINGTerminalRuleCall_1_3_1_0()); if (current==null) { current = createModelElement(grammarAccess.getSequenceRule()); } setWithLastConsumed( current, "info", lv_info_13_0, "com.arm.cmsis.pack.debugseq.DebugSeq.STRING"); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSequenceAccess().getUnorderedGroup_1()); } } } break; default : if ( cnt6 >= 1 ) break loop6; EarlyExitException eee = new EarlyExitException(6, input); throw eee; } cnt6++; } while (true); if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getSequenceAccess().getUnorderedGroup_1()) ) { throw new FailedPredicateException(input, "ruleSequence", "getUnorderedGroupHelper().canLeave(grammarAccess.getSequenceAccess().getUnorderedGroup_1())"); } } } getUnorderedGroupHelper().leave(grammarAccess.getSequenceAccess().getUnorderedGroup_1()); } // InternalDebugSeq.g:638:3: ( (otherlv_14= '>' ( (lv_codeblocks_15_0= ruleCodeBlock ) )* otherlv_16= '</sequence>' ) | otherlv_17= '/>' ) int alt8=2; int LA8_0 = input.LA(1); if ( (LA8_0==17) ) { alt8=1; } else if ( (LA8_0==30) ) { alt8=2; } else { NoViableAltException nvae = new NoViableAltException("", 8, 0, input); throw nvae; } switch (alt8) { case 1 : // InternalDebugSeq.g:639:4: (otherlv_14= '>' ( (lv_codeblocks_15_0= ruleCodeBlock ) )* otherlv_16= '</sequence>' ) { // InternalDebugSeq.g:639:4: (otherlv_14= '>' ( (lv_codeblocks_15_0= ruleCodeBlock ) )* otherlv_16= '</sequence>' ) // InternalDebugSeq.g:640:5: otherlv_14= '>' ( (lv_codeblocks_15_0= ruleCodeBlock ) )* otherlv_16= '</sequence>' { otherlv_14=(Token)match(input,17,FOLLOW_16); newLeafNode(otherlv_14, grammarAccess.getSequenceAccess().getGreaterThanSignKeyword_2_0_0()); // InternalDebugSeq.g:644:5: ( (lv_codeblocks_15_0= ruleCodeBlock ) )* loop7: do { int alt7=2; int LA7_0 = input.LA(1); if ( (LA7_0==31||LA7_0==34) ) { alt7=1; } switch (alt7) { case 1 : // InternalDebugSeq.g:645:6: (lv_codeblocks_15_0= ruleCodeBlock ) { // InternalDebugSeq.g:645:6: (lv_codeblocks_15_0= ruleCodeBlock ) // InternalDebugSeq.g:646:7: lv_codeblocks_15_0= ruleCodeBlock { newCompositeNode(grammarAccess.getSequenceAccess().getCodeblocksCodeBlockParserRuleCall_2_0_1_0()); pushFollow(FOLLOW_16); lv_codeblocks_15_0=ruleCodeBlock(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getSequenceRule()); } add( current, "codeblocks", lv_codeblocks_15_0, "com.arm.cmsis.pack.debugseq.DebugSeq.CodeBlock"); afterParserOrEnumRuleCall(); } } break; default : break loop7; } } while (true); otherlv_16=(Token)match(input,29,FOLLOW_2); newLeafNode(otherlv_16, grammarAccess.getSequenceAccess().getSequenceKeyword_2_0_2()); } } break; case 2 : // InternalDebugSeq.g:669:4: otherlv_17= '/>' { otherlv_17=(Token)match(input,30,FOLLOW_2); newLeafNode(otherlv_17, grammarAccess.getSequenceAccess().getSolidusGreaterThanSignKeyword_2_1()); } break; } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleSequence" // $ANTLR start "entryRuleCodeBlock" // InternalDebugSeq.g:678:1: entryRuleCodeBlock returns [EObject current=null] : iv_ruleCodeBlock= ruleCodeBlock EOF ; public final EObject entryRuleCodeBlock() throws RecognitionException { EObject current = null; EObject iv_ruleCodeBlock = null; try { // InternalDebugSeq.g:678:50: (iv_ruleCodeBlock= ruleCodeBlock EOF ) // InternalDebugSeq.g:679:2: iv_ruleCodeBlock= ruleCodeBlock EOF { newCompositeNode(grammarAccess.getCodeBlockRule()); pushFollow(FOLLOW_1); iv_ruleCodeBlock=ruleCodeBlock(); state._fsp--; current =iv_ruleCodeBlock; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleCodeBlock" // $ANTLR start "ruleCodeBlock" // InternalDebugSeq.g:685:1: ruleCodeBlock returns [EObject current=null] : (this_Block_0= ruleBlock | this_Control_1= ruleControl ) ; public final EObject ruleCodeBlock() throws RecognitionException { EObject current = null; EObject this_Block_0 = null; EObject this_Control_1 = null; enterRule(); try { // InternalDebugSeq.g:691:2: ( (this_Block_0= ruleBlock | this_Control_1= ruleControl ) ) // InternalDebugSeq.g:692:2: (this_Block_0= ruleBlock | this_Control_1= ruleControl ) { // InternalDebugSeq.g:692:2: (this_Block_0= ruleBlock | this_Control_1= ruleControl ) int alt9=2; int LA9_0 = input.LA(1); if ( (LA9_0==31) ) { alt9=1; } else if ( (LA9_0==34) ) { alt9=2; } else { NoViableAltException nvae = new NoViableAltException("", 9, 0, input); throw nvae; } switch (alt9) { case 1 : // InternalDebugSeq.g:693:3: this_Block_0= ruleBlock { newCompositeNode(grammarAccess.getCodeBlockAccess().getBlockParserRuleCall_0()); pushFollow(FOLLOW_2); this_Block_0=ruleBlock(); state._fsp--; current = this_Block_0; afterParserOrEnumRuleCall(); } break; case 2 : // InternalDebugSeq.g:702:3: this_Control_1= ruleControl { newCompositeNode(grammarAccess.getCodeBlockAccess().getControlParserRuleCall_1()); pushFollow(FOLLOW_2); this_Control_1=ruleControl(); state._fsp--; current = this_Control_1; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleCodeBlock" // $ANTLR start "entryRuleBlock" // InternalDebugSeq.g:714:1: entryRuleBlock returns [EObject current=null] : iv_ruleBlock= ruleBlock EOF ; public final EObject entryRuleBlock() throws RecognitionException { EObject current = null; EObject iv_ruleBlock = null; try { // InternalDebugSeq.g:714:46: (iv_ruleBlock= ruleBlock EOF ) // InternalDebugSeq.g:715:2: iv_ruleBlock= ruleBlock EOF { newCompositeNode(grammarAccess.getBlockRule()); pushFollow(FOLLOW_1); iv_ruleBlock=ruleBlock(); state._fsp--; current =iv_ruleBlock; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleBlock" // $ANTLR start "ruleBlock" // InternalDebugSeq.g:721:1: ruleBlock returns [EObject current=null] : ( () otherlv_1= '<block' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) ( (otherlv_9= '>' ( (lv_statements_10_0= ruleStatement ) )* otherlv_11= '</block>' ) | otherlv_12= '/>' ) ) ; public final EObject ruleBlock() throws RecognitionException { EObject current = null; Token otherlv_1=null; Token otherlv_3=null; Token otherlv_4=null; Token lv_atomic_5_0=null; Token otherlv_6=null; Token otherlv_7=null; Token lv_info_8_0=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_12=null; EObject lv_statements_10_0 = null; enterRule(); try { // InternalDebugSeq.g:727:2: ( ( () otherlv_1= '<block' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) ( (otherlv_9= '>' ( (lv_statements_10_0= ruleStatement ) )* otherlv_11= '</block>' ) | otherlv_12= '/>' ) ) ) // InternalDebugSeq.g:728:2: ( () otherlv_1= '<block' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) ( (otherlv_9= '>' ( (lv_statements_10_0= ruleStatement ) )* otherlv_11= '</block>' ) | otherlv_12= '/>' ) ) { // InternalDebugSeq.g:728:2: ( () otherlv_1= '<block' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) ( (otherlv_9= '>' ( (lv_statements_10_0= ruleStatement ) )* otherlv_11= '</block>' ) | otherlv_12= '/>' ) ) // InternalDebugSeq.g:729:3: () otherlv_1= '<block' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) ( (otherlv_9= '>' ( (lv_statements_10_0= ruleStatement ) )* otherlv_11= '</block>' ) | otherlv_12= '/>' ) { // InternalDebugSeq.g:729:3: () // InternalDebugSeq.g:730:4: { current = forceCreateModelElement( grammarAccess.getBlockAccess().getBlockAction_0(), current); } otherlv_1=(Token)match(input,31,FOLLOW_17); newLeafNode(otherlv_1, grammarAccess.getBlockAccess().getBlockKeyword_1()); // InternalDebugSeq.g:740:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) // InternalDebugSeq.g:741:4: ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) ) ) )* ) ) { // InternalDebugSeq.g:741:4: ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) ) ) )* ) ) // InternalDebugSeq.g:742:5: ( ( ({...}? => ( ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) ) ) )* ) { getUnorderedGroupHelper().enter(grammarAccess.getBlockAccess().getUnorderedGroup_2()); // InternalDebugSeq.g:745:5: ( ( ({...}? => ( ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) ) ) )* ) // InternalDebugSeq.g:746:6: ( ({...}? => ( ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) ) ) )* { // InternalDebugSeq.g:746:6: ( ({...}? => ( ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) ) ) )* loop10: do { int alt10=3; int LA10_0 = input.LA(1); if ( LA10_0 == 32 && getUnorderedGroupHelper().canSelect(grammarAccess.getBlockAccess().getUnorderedGroup_2(), 0) ) { alt10=1; } else if ( LA10_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getBlockAccess().getUnorderedGroup_2(), 1) ) { alt10=2; } switch (alt10) { case 1 : // InternalDebugSeq.g:747:4: ({...}? => ( ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) ) ) { // InternalDebugSeq.g:747:4: ({...}? => ( ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) ) ) // InternalDebugSeq.g:748:5: {...}? => ( ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getBlockAccess().getUnorderedGroup_2(), 0) ) { throw new FailedPredicateException(input, "ruleBlock", "getUnorderedGroupHelper().canSelect(grammarAccess.getBlockAccess().getUnorderedGroup_2(), 0)"); } // InternalDebugSeq.g:748:102: ( ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) ) // InternalDebugSeq.g:749:6: ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) { getUnorderedGroupHelper().select(grammarAccess.getBlockAccess().getUnorderedGroup_2(), 0); // InternalDebugSeq.g:752:9: ({...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) ) // InternalDebugSeq.g:752:10: {...}? => (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleBlock", "true"); } // InternalDebugSeq.g:752:19: (otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' ) // InternalDebugSeq.g:752:20: otherlv_3= 'atomic=' otherlv_4= '\"' ( (lv_atomic_5_0= RULE_DEC ) ) otherlv_6= '\"' { otherlv_3=(Token)match(input,32,FOLLOW_13); newLeafNode(otherlv_3, grammarAccess.getBlockAccess().getAtomicKeyword_2_0_0()); otherlv_4=(Token)match(input,26,FOLLOW_15); newLeafNode(otherlv_4, grammarAccess.getBlockAccess().getQuotationMarkKeyword_2_0_1()); // InternalDebugSeq.g:760:9: ( (lv_atomic_5_0= RULE_DEC ) ) // InternalDebugSeq.g:761:10: (lv_atomic_5_0= RULE_DEC ) { // InternalDebugSeq.g:761:10: (lv_atomic_5_0= RULE_DEC ) // InternalDebugSeq.g:762:11: lv_atomic_5_0= RULE_DEC { lv_atomic_5_0=(Token)match(input,RULE_DEC,FOLLOW_13); newLeafNode(lv_atomic_5_0, grammarAccess.getBlockAccess().getAtomicDECTerminalRuleCall_2_0_2_0()); if (current==null) { current = createModelElement(grammarAccess.getBlockRule()); } setWithLastConsumed( current, "atomic", lv_atomic_5_0, "com.arm.cmsis.pack.debugseq.DebugSeq.DEC"); } } otherlv_6=(Token)match(input,26,FOLLOW_17); newLeafNode(otherlv_6, grammarAccess.getBlockAccess().getQuotationMarkKeyword_2_0_3()); } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getBlockAccess().getUnorderedGroup_2()); } } } break; case 2 : // InternalDebugSeq.g:788:4: ({...}? => ( ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) ) ) { // InternalDebugSeq.g:788:4: ({...}? => ( ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) ) ) // InternalDebugSeq.g:789:5: {...}? => ( ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getBlockAccess().getUnorderedGroup_2(), 1) ) { throw new FailedPredicateException(input, "ruleBlock", "getUnorderedGroupHelper().canSelect(grammarAccess.getBlockAccess().getUnorderedGroup_2(), 1)"); } // InternalDebugSeq.g:789:102: ( ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) ) // InternalDebugSeq.g:790:6: ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getBlockAccess().getUnorderedGroup_2(), 1); // InternalDebugSeq.g:793:9: ({...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) ) // InternalDebugSeq.g:793:10: {...}? => (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleBlock", "true"); } // InternalDebugSeq.g:793:19: (otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) ) // InternalDebugSeq.g:793:20: otherlv_7= 'info=' ( (lv_info_8_0= RULE_STRING ) ) { otherlv_7=(Token)match(input,28,FOLLOW_5); newLeafNode(otherlv_7, grammarAccess.getBlockAccess().getInfoKeyword_2_1_0()); // InternalDebugSeq.g:797:9: ( (lv_info_8_0= RULE_STRING ) ) // InternalDebugSeq.g:798:10: (lv_info_8_0= RULE_STRING ) { // InternalDebugSeq.g:798:10: (lv_info_8_0= RULE_STRING ) // InternalDebugSeq.g:799:11: lv_info_8_0= RULE_STRING { lv_info_8_0=(Token)match(input,RULE_STRING,FOLLOW_17); newLeafNode(lv_info_8_0, grammarAccess.getBlockAccess().getInfoSTRINGTerminalRuleCall_2_1_1_0()); if (current==null) { current = createModelElement(grammarAccess.getBlockRule()); } setWithLastConsumed( current, "info", lv_info_8_0, "com.arm.cmsis.pack.debugseq.DebugSeq.STRING"); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getBlockAccess().getUnorderedGroup_2()); } } } break; default : break loop10; } } while (true); } } getUnorderedGroupHelper().leave(grammarAccess.getBlockAccess().getUnorderedGroup_2()); } // InternalDebugSeq.g:828:3: ( (otherlv_9= '>' ( (lv_statements_10_0= ruleStatement ) )* otherlv_11= '</block>' ) | otherlv_12= '/>' ) int alt12=2; int LA12_0 = input.LA(1); if ( (LA12_0==17) ) { alt12=1; } else if ( (LA12_0==30) ) { alt12=2; } else { NoViableAltException nvae = new NoViableAltException("", 12, 0, input); throw nvae; } switch (alt12) { case 1 : // InternalDebugSeq.g:829:4: (otherlv_9= '>' ( (lv_statements_10_0= ruleStatement ) )* otherlv_11= '</block>' ) { // InternalDebugSeq.g:829:4: (otherlv_9= '>' ( (lv_statements_10_0= ruleStatement ) )* otherlv_11= '</block>' ) // InternalDebugSeq.g:830:5: otherlv_9= '>' ( (lv_statements_10_0= ruleStatement ) )* otherlv_11= '</block>' { otherlv_9=(Token)match(input,17,FOLLOW_18); newLeafNode(otherlv_9, grammarAccess.getBlockAccess().getGreaterThanSignKeyword_3_0_0()); // InternalDebugSeq.g:834:5: ( (lv_statements_10_0= ruleStatement ) )* loop11: do { int alt11=2; int LA11_0 = input.LA(1); if ( ((LA11_0>=RULE_STRING && LA11_0<=RULE_HEX)||LA11_0==20||LA11_0==69||(LA11_0>=71 && LA11_0<=72)||(LA11_0>=74 && LA11_0<=96)) ) { alt11=1; } switch (alt11) { case 1 : // InternalDebugSeq.g:835:6: (lv_statements_10_0= ruleStatement ) { // InternalDebugSeq.g:835:6: (lv_statements_10_0= ruleStatement ) // InternalDebugSeq.g:836:7: lv_statements_10_0= ruleStatement { newCompositeNode(grammarAccess.getBlockAccess().getStatementsStatementParserRuleCall_3_0_1_0()); pushFollow(FOLLOW_18); lv_statements_10_0=ruleStatement(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getBlockRule()); } add( current, "statements", lv_statements_10_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Statement"); afterParserOrEnumRuleCall(); } } break; default : break loop11; } } while (true); otherlv_11=(Token)match(input,33,FOLLOW_2); newLeafNode(otherlv_11, grammarAccess.getBlockAccess().getBlockKeyword_3_0_2()); } } break; case 2 : // InternalDebugSeq.g:859:4: otherlv_12= '/>' { otherlv_12=(Token)match(input,30,FOLLOW_2); newLeafNode(otherlv_12, grammarAccess.getBlockAccess().getSolidusGreaterThanSignKeyword_3_1()); } break; } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleBlock" // $ANTLR start "entryRuleControl" // InternalDebugSeq.g:868:1: entryRuleControl returns [EObject current=null] : iv_ruleControl= ruleControl EOF ; public final EObject entryRuleControl() throws RecognitionException { EObject current = null; EObject iv_ruleControl = null; try { // InternalDebugSeq.g:868:48: (iv_ruleControl= ruleControl EOF ) // InternalDebugSeq.g:869:2: iv_ruleControl= ruleControl EOF { newCompositeNode(grammarAccess.getControlRule()); pushFollow(FOLLOW_1); iv_ruleControl=ruleControl(); state._fsp--; current =iv_ruleControl; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleControl" // $ANTLR start "ruleControl" // InternalDebugSeq.g:875:1: ruleControl returns [EObject current=null] : ( () otherlv_1= '<control' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) ( (otherlv_17= '>' ( (lv_codeblocks_18_0= ruleCodeBlock ) )* otherlv_19= '</control>' ) | otherlv_20= '/>' ) ) ; public final EObject ruleControl() throws RecognitionException { EObject current = null; Token otherlv_1=null; Token otherlv_3=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_8=null; Token otherlv_10=null; Token otherlv_11=null; Token otherlv_12=null; Token lv_timeout_13_0=null; Token otherlv_14=null; Token otherlv_15=null; Token lv_info_16_0=null; Token otherlv_17=null; Token otherlv_19=null; Token otherlv_20=null; EObject lv_if_5_0 = null; EObject lv_while_9_0 = null; EObject lv_codeblocks_18_0 = null; enterRule(); try { // InternalDebugSeq.g:881:2: ( ( () otherlv_1= '<control' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) ( (otherlv_17= '>' ( (lv_codeblocks_18_0= ruleCodeBlock ) )* otherlv_19= '</control>' ) | otherlv_20= '/>' ) ) ) // InternalDebugSeq.g:882:2: ( () otherlv_1= '<control' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) ( (otherlv_17= '>' ( (lv_codeblocks_18_0= ruleCodeBlock ) )* otherlv_19= '</control>' ) | otherlv_20= '/>' ) ) { // InternalDebugSeq.g:882:2: ( () otherlv_1= '<control' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) ( (otherlv_17= '>' ( (lv_codeblocks_18_0= ruleCodeBlock ) )* otherlv_19= '</control>' ) | otherlv_20= '/>' ) ) // InternalDebugSeq.g:883:3: () otherlv_1= '<control' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) ( (otherlv_17= '>' ( (lv_codeblocks_18_0= ruleCodeBlock ) )* otherlv_19= '</control>' ) | otherlv_20= '/>' ) { // InternalDebugSeq.g:883:3: () // InternalDebugSeq.g:884:4: { current = forceCreateModelElement( grammarAccess.getControlAccess().getControlAction_0(), current); } otherlv_1=(Token)match(input,34,FOLLOW_19); newLeafNode(otherlv_1, grammarAccess.getControlAccess().getControlKeyword_1()); // InternalDebugSeq.g:894:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) // InternalDebugSeq.g:895:4: ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) ) ) )* ) ) { // InternalDebugSeq.g:895:4: ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) ) ) )* ) ) // InternalDebugSeq.g:896:5: ( ( ({...}? => ( ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) ) ) )* ) { getUnorderedGroupHelper().enter(grammarAccess.getControlAccess().getUnorderedGroup_2()); // InternalDebugSeq.g:899:5: ( ( ({...}? => ( ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) ) ) )* ) // InternalDebugSeq.g:900:6: ( ({...}? => ( ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) ) ) )* { // InternalDebugSeq.g:900:6: ( ({...}? => ( ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) ) ) )* loop13: do { int alt13=5; int LA13_0 = input.LA(1); if ( LA13_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getControlAccess().getUnorderedGroup_2(), 0) ) { alt13=1; } else if ( LA13_0 == 36 && getUnorderedGroupHelper().canSelect(grammarAccess.getControlAccess().getUnorderedGroup_2(), 1) ) { alt13=2; } else if ( LA13_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getControlAccess().getUnorderedGroup_2(), 2) ) { alt13=3; } else if ( LA13_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getControlAccess().getUnorderedGroup_2(), 3) ) { alt13=4; } switch (alt13) { case 1 : // InternalDebugSeq.g:901:4: ({...}? => ( ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) ) ) { // InternalDebugSeq.g:901:4: ({...}? => ( ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) ) ) // InternalDebugSeq.g:902:5: {...}? => ( ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getControlAccess().getUnorderedGroup_2(), 0) ) { throw new FailedPredicateException(input, "ruleControl", "getUnorderedGroupHelper().canSelect(grammarAccess.getControlAccess().getUnorderedGroup_2(), 0)"); } // InternalDebugSeq.g:902:104: ( ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) ) // InternalDebugSeq.g:903:6: ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) { getUnorderedGroupHelper().select(grammarAccess.getControlAccess().getUnorderedGroup_2(), 0); // InternalDebugSeq.g:906:9: ({...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) ) // InternalDebugSeq.g:906:10: {...}? => (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleControl", "true"); } // InternalDebugSeq.g:906:19: (otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' ) // InternalDebugSeq.g:906:20: otherlv_3= 'if=' otherlv_4= '\"' ( (lv_if_5_0= ruleExpression ) ) otherlv_6= '\"' { otherlv_3=(Token)match(input,35,FOLLOW_13); newLeafNode(otherlv_3, grammarAccess.getControlAccess().getIfKeyword_2_0_0()); otherlv_4=(Token)match(input,26,FOLLOW_10); newLeafNode(otherlv_4, grammarAccess.getControlAccess().getQuotationMarkKeyword_2_0_1()); // InternalDebugSeq.g:914:9: ( (lv_if_5_0= ruleExpression ) ) // InternalDebugSeq.g:915:10: (lv_if_5_0= ruleExpression ) { // InternalDebugSeq.g:915:10: (lv_if_5_0= ruleExpression ) // InternalDebugSeq.g:916:11: lv_if_5_0= ruleExpression { newCompositeNode(grammarAccess.getControlAccess().getIfExpressionParserRuleCall_2_0_2_0()); pushFollow(FOLLOW_13); lv_if_5_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getControlRule()); } set( current, "if", lv_if_5_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_6=(Token)match(input,26,FOLLOW_19); newLeafNode(otherlv_6, grammarAccess.getControlAccess().getQuotationMarkKeyword_2_0_3()); } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getControlAccess().getUnorderedGroup_2()); } } } break; case 2 : // InternalDebugSeq.g:943:4: ({...}? => ( ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) ) ) { // InternalDebugSeq.g:943:4: ({...}? => ( ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) ) ) // InternalDebugSeq.g:944:5: {...}? => ( ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getControlAccess().getUnorderedGroup_2(), 1) ) { throw new FailedPredicateException(input, "ruleControl", "getUnorderedGroupHelper().canSelect(grammarAccess.getControlAccess().getUnorderedGroup_2(), 1)"); } // InternalDebugSeq.g:944:104: ( ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) ) // InternalDebugSeq.g:945:6: ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) { getUnorderedGroupHelper().select(grammarAccess.getControlAccess().getUnorderedGroup_2(), 1); // InternalDebugSeq.g:948:9: ({...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) ) // InternalDebugSeq.g:948:10: {...}? => (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleControl", "true"); } // InternalDebugSeq.g:948:19: (otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' ) // InternalDebugSeq.g:948:20: otherlv_7= 'while=' otherlv_8= '\"' ( (lv_while_9_0= ruleExpression ) ) otherlv_10= '\"' { otherlv_7=(Token)match(input,36,FOLLOW_13); newLeafNode(otherlv_7, grammarAccess.getControlAccess().getWhileKeyword_2_1_0()); otherlv_8=(Token)match(input,26,FOLLOW_10); newLeafNode(otherlv_8, grammarAccess.getControlAccess().getQuotationMarkKeyword_2_1_1()); // InternalDebugSeq.g:956:9: ( (lv_while_9_0= ruleExpression ) ) // InternalDebugSeq.g:957:10: (lv_while_9_0= ruleExpression ) { // InternalDebugSeq.g:957:10: (lv_while_9_0= ruleExpression ) // InternalDebugSeq.g:958:11: lv_while_9_0= ruleExpression { newCompositeNode(grammarAccess.getControlAccess().getWhileExpressionParserRuleCall_2_1_2_0()); pushFollow(FOLLOW_13); lv_while_9_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getControlRule()); } set( current, "while", lv_while_9_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_10=(Token)match(input,26,FOLLOW_19); newLeafNode(otherlv_10, grammarAccess.getControlAccess().getQuotationMarkKeyword_2_1_3()); } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getControlAccess().getUnorderedGroup_2()); } } } break; case 3 : // InternalDebugSeq.g:985:4: ({...}? => ( ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) ) ) { // InternalDebugSeq.g:985:4: ({...}? => ( ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) ) ) // InternalDebugSeq.g:986:5: {...}? => ( ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getControlAccess().getUnorderedGroup_2(), 2) ) { throw new FailedPredicateException(input, "ruleControl", "getUnorderedGroupHelper().canSelect(grammarAccess.getControlAccess().getUnorderedGroup_2(), 2)"); } // InternalDebugSeq.g:986:104: ( ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) ) // InternalDebugSeq.g:987:6: ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) { getUnorderedGroupHelper().select(grammarAccess.getControlAccess().getUnorderedGroup_2(), 2); // InternalDebugSeq.g:990:9: ({...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) ) // InternalDebugSeq.g:990:10: {...}? => (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleControl", "true"); } // InternalDebugSeq.g:990:19: (otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' ) // InternalDebugSeq.g:990:20: otherlv_11= 'timeout=' otherlv_12= '\"' ( (lv_timeout_13_0= RULE_DEC ) ) otherlv_14= '\"' { otherlv_11=(Token)match(input,37,FOLLOW_13); newLeafNode(otherlv_11, grammarAccess.getControlAccess().getTimeoutKeyword_2_2_0()); otherlv_12=(Token)match(input,26,FOLLOW_15); newLeafNode(otherlv_12, grammarAccess.getControlAccess().getQuotationMarkKeyword_2_2_1()); // InternalDebugSeq.g:998:9: ( (lv_timeout_13_0= RULE_DEC ) ) // InternalDebugSeq.g:999:10: (lv_timeout_13_0= RULE_DEC ) { // InternalDebugSeq.g:999:10: (lv_timeout_13_0= RULE_DEC ) // InternalDebugSeq.g:1000:11: lv_timeout_13_0= RULE_DEC { lv_timeout_13_0=(Token)match(input,RULE_DEC,FOLLOW_13); newLeafNode(lv_timeout_13_0, grammarAccess.getControlAccess().getTimeoutDECTerminalRuleCall_2_2_2_0()); if (current==null) { current = createModelElement(grammarAccess.getControlRule()); } setWithLastConsumed( current, "timeout", lv_timeout_13_0, "com.arm.cmsis.pack.debugseq.DebugSeq.DEC"); } } otherlv_14=(Token)match(input,26,FOLLOW_19); newLeafNode(otherlv_14, grammarAccess.getControlAccess().getQuotationMarkKeyword_2_2_3()); } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getControlAccess().getUnorderedGroup_2()); } } } break; case 4 : // InternalDebugSeq.g:1026:4: ({...}? => ( ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) ) ) { // InternalDebugSeq.g:1026:4: ({...}? => ( ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) ) ) // InternalDebugSeq.g:1027:5: {...}? => ( ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getControlAccess().getUnorderedGroup_2(), 3) ) { throw new FailedPredicateException(input, "ruleControl", "getUnorderedGroupHelper().canSelect(grammarAccess.getControlAccess().getUnorderedGroup_2(), 3)"); } // InternalDebugSeq.g:1027:104: ( ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) ) // InternalDebugSeq.g:1028:6: ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getControlAccess().getUnorderedGroup_2(), 3); // InternalDebugSeq.g:1031:9: ({...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) ) // InternalDebugSeq.g:1031:10: {...}? => (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleControl", "true"); } // InternalDebugSeq.g:1031:19: (otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) ) // InternalDebugSeq.g:1031:20: otherlv_15= 'info=' ( (lv_info_16_0= RULE_STRING ) ) { otherlv_15=(Token)match(input,28,FOLLOW_5); newLeafNode(otherlv_15, grammarAccess.getControlAccess().getInfoKeyword_2_3_0()); // InternalDebugSeq.g:1035:9: ( (lv_info_16_0= RULE_STRING ) ) // InternalDebugSeq.g:1036:10: (lv_info_16_0= RULE_STRING ) { // InternalDebugSeq.g:1036:10: (lv_info_16_0= RULE_STRING ) // InternalDebugSeq.g:1037:11: lv_info_16_0= RULE_STRING { lv_info_16_0=(Token)match(input,RULE_STRING,FOLLOW_19); newLeafNode(lv_info_16_0, grammarAccess.getControlAccess().getInfoSTRINGTerminalRuleCall_2_3_1_0()); if (current==null) { current = createModelElement(grammarAccess.getControlRule()); } setWithLastConsumed( current, "info", lv_info_16_0, "com.arm.cmsis.pack.debugseq.DebugSeq.STRING"); } } } } getUnorderedGroupHelper().returnFromSelection(grammarAccess.getControlAccess().getUnorderedGroup_2()); } } } break; default : break loop13; } } while (true); } } getUnorderedGroupHelper().leave(grammarAccess.getControlAccess().getUnorderedGroup_2()); } // InternalDebugSeq.g:1066:3: ( (otherlv_17= '>' ( (lv_codeblocks_18_0= ruleCodeBlock ) )* otherlv_19= '</control>' ) | otherlv_20= '/>' ) int alt15=2; int LA15_0 = input.LA(1); if ( (LA15_0==17) ) { alt15=1; } else if ( (LA15_0==30) ) { alt15=2; } else { NoViableAltException nvae = new NoViableAltException("", 15, 0, input); throw nvae; } switch (alt15) { case 1 : // InternalDebugSeq.g:1067:4: (otherlv_17= '>' ( (lv_codeblocks_18_0= ruleCodeBlock ) )* otherlv_19= '</control>' ) { // InternalDebugSeq.g:1067:4: (otherlv_17= '>' ( (lv_codeblocks_18_0= ruleCodeBlock ) )* otherlv_19= '</control>' ) // InternalDebugSeq.g:1068:5: otherlv_17= '>' ( (lv_codeblocks_18_0= ruleCodeBlock ) )* otherlv_19= '</control>' { otherlv_17=(Token)match(input,17,FOLLOW_20); newLeafNode(otherlv_17, grammarAccess.getControlAccess().getGreaterThanSignKeyword_3_0_0()); // InternalDebugSeq.g:1072:5: ( (lv_codeblocks_18_0= ruleCodeBlock ) )* loop14: do { int alt14=2; int LA14_0 = input.LA(1); if ( (LA14_0==31||LA14_0==34) ) { alt14=1; } switch (alt14) { case 1 : // InternalDebugSeq.g:1073:6: (lv_codeblocks_18_0= ruleCodeBlock ) { // InternalDebugSeq.g:1073:6: (lv_codeblocks_18_0= ruleCodeBlock ) // InternalDebugSeq.g:1074:7: lv_codeblocks_18_0= ruleCodeBlock { newCompositeNode(grammarAccess.getControlAccess().getCodeblocksCodeBlockParserRuleCall_3_0_1_0()); pushFollow(FOLLOW_20); lv_codeblocks_18_0=ruleCodeBlock(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getControlRule()); } add( current, "codeblocks", lv_codeblocks_18_0, "com.arm.cmsis.pack.debugseq.DebugSeq.CodeBlock"); afterParserOrEnumRuleCall(); } } break; default : break loop14; } } while (true); otherlv_19=(Token)match(input,38,FOLLOW_2); newLeafNode(otherlv_19, grammarAccess.getControlAccess().getControlKeyword_3_0_2()); } } break; case 2 : // InternalDebugSeq.g:1097:4: otherlv_20= '/>' { otherlv_20=(Token)match(input,30,FOLLOW_2); newLeafNode(otherlv_20, grammarAccess.getControlAccess().getSolidusGreaterThanSignKeyword_3_1()); } break; } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleControl" // $ANTLR start "entryRuleExpression" // InternalDebugSeq.g:1106:1: entryRuleExpression returns [EObject current=null] : iv_ruleExpression= ruleExpression EOF ; public final EObject entryRuleExpression() throws RecognitionException { EObject current = null; EObject iv_ruleExpression = null; try { // InternalDebugSeq.g:1106:51: (iv_ruleExpression= ruleExpression EOF ) // InternalDebugSeq.g:1107:2: iv_ruleExpression= ruleExpression EOF { newCompositeNode(grammarAccess.getExpressionRule()); pushFollow(FOLLOW_1); iv_ruleExpression=ruleExpression(); state._fsp--; current =iv_ruleExpression; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleExpression" // $ANTLR start "ruleExpression" // InternalDebugSeq.g:1113:1: ruleExpression returns [EObject current=null] : this_Assignment_0= ruleAssignment ; public final EObject ruleExpression() throws RecognitionException { EObject current = null; EObject this_Assignment_0 = null; enterRule(); try { // InternalDebugSeq.g:1119:2: (this_Assignment_0= ruleAssignment ) // InternalDebugSeq.g:1120:2: this_Assignment_0= ruleAssignment { newCompositeNode(grammarAccess.getExpressionAccess().getAssignmentParserRuleCall()); pushFollow(FOLLOW_2); this_Assignment_0=ruleAssignment(); state._fsp--; current = this_Assignment_0; afterParserOrEnumRuleCall(); } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleExpression" // $ANTLR start "entryRuleAssignment" // InternalDebugSeq.g:1131:1: entryRuleAssignment returns [EObject current=null] : iv_ruleAssignment= ruleAssignment EOF ; public final EObject entryRuleAssignment() throws RecognitionException { EObject current = null; EObject iv_ruleAssignment = null; try { // InternalDebugSeq.g:1131:51: (iv_ruleAssignment= ruleAssignment EOF ) // InternalDebugSeq.g:1132:2: iv_ruleAssignment= ruleAssignment EOF { newCompositeNode(grammarAccess.getAssignmentRule()); pushFollow(FOLLOW_1); iv_ruleAssignment=ruleAssignment(); state._fsp--; current =iv_ruleAssignment; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAssignment" // $ANTLR start "ruleAssignment" // InternalDebugSeq.g:1138:1: ruleAssignment returns [EObject current=null] : (this_Ternary_0= ruleTernary ( () ( ( (lv_op_2_1= '=' | lv_op_2_2= '+=' | lv_op_2_3= '-=' | lv_op_2_4= '*=' | lv_op_2_5= '/=' | lv_op_2_6= '%=' | lv_op_2_7= '<<=' | lv_op_2_8= '>>=' | lv_op_2_9= '&=' | lv_op_2_10= '^=' | lv_op_2_11= '|=' ) ) ) ( (lv_right_3_0= ruleExpression ) ) )? ) ; public final EObject ruleAssignment() throws RecognitionException { EObject current = null; Token lv_op_2_1=null; Token lv_op_2_2=null; Token lv_op_2_3=null; Token lv_op_2_4=null; Token lv_op_2_5=null; Token lv_op_2_6=null; Token lv_op_2_7=null; Token lv_op_2_8=null; Token lv_op_2_9=null; Token lv_op_2_10=null; Token lv_op_2_11=null; EObject this_Ternary_0 = null; EObject lv_right_3_0 = null; enterRule(); try { // InternalDebugSeq.g:1144:2: ( (this_Ternary_0= ruleTernary ( () ( ( (lv_op_2_1= '=' | lv_op_2_2= '+=' | lv_op_2_3= '-=' | lv_op_2_4= '*=' | lv_op_2_5= '/=' | lv_op_2_6= '%=' | lv_op_2_7= '<<=' | lv_op_2_8= '>>=' | lv_op_2_9= '&=' | lv_op_2_10= '^=' | lv_op_2_11= '|=' ) ) ) ( (lv_right_3_0= ruleExpression ) ) )? ) ) // InternalDebugSeq.g:1145:2: (this_Ternary_0= ruleTernary ( () ( ( (lv_op_2_1= '=' | lv_op_2_2= '+=' | lv_op_2_3= '-=' | lv_op_2_4= '*=' | lv_op_2_5= '/=' | lv_op_2_6= '%=' | lv_op_2_7= '<<=' | lv_op_2_8= '>>=' | lv_op_2_9= '&=' | lv_op_2_10= '^=' | lv_op_2_11= '|=' ) ) ) ( (lv_right_3_0= ruleExpression ) ) )? ) { // InternalDebugSeq.g:1145:2: (this_Ternary_0= ruleTernary ( () ( ( (lv_op_2_1= '=' | lv_op_2_2= '+=' | lv_op_2_3= '-=' | lv_op_2_4= '*=' | lv_op_2_5= '/=' | lv_op_2_6= '%=' | lv_op_2_7= '<<=' | lv_op_2_8= '>>=' | lv_op_2_9= '&=' | lv_op_2_10= '^=' | lv_op_2_11= '|=' ) ) ) ( (lv_right_3_0= ruleExpression ) ) )? ) // InternalDebugSeq.g:1146:3: this_Ternary_0= ruleTernary ( () ( ( (lv_op_2_1= '=' | lv_op_2_2= '+=' | lv_op_2_3= '-=' | lv_op_2_4= '*=' | lv_op_2_5= '/=' | lv_op_2_6= '%=' | lv_op_2_7= '<<=' | lv_op_2_8= '>>=' | lv_op_2_9= '&=' | lv_op_2_10= '^=' | lv_op_2_11= '|=' ) ) ) ( (lv_right_3_0= ruleExpression ) ) )? { newCompositeNode(grammarAccess.getAssignmentAccess().getTernaryParserRuleCall_0()); pushFollow(FOLLOW_21); this_Ternary_0=ruleTernary(); state._fsp--; current = this_Ternary_0; afterParserOrEnumRuleCall(); // InternalDebugSeq.g:1154:3: ( () ( ( (lv_op_2_1= '=' | lv_op_2_2= '+=' | lv_op_2_3= '-=' | lv_op_2_4= '*=' | lv_op_2_5= '/=' | lv_op_2_6= '%=' | lv_op_2_7= '<<=' | lv_op_2_8= '>>=' | lv_op_2_9= '&=' | lv_op_2_10= '^=' | lv_op_2_11= '|=' ) ) ) ( (lv_right_3_0= ruleExpression ) ) )? int alt17=2; int LA17_0 = input.LA(1); if ( (LA17_0==21||(LA17_0>=39 && LA17_0<=48)) ) { alt17=1; } switch (alt17) { case 1 : // InternalDebugSeq.g:1155:4: () ( ( (lv_op_2_1= '=' | lv_op_2_2= '+=' | lv_op_2_3= '-=' | lv_op_2_4= '*=' | lv_op_2_5= '/=' | lv_op_2_6= '%=' | lv_op_2_7= '<<=' | lv_op_2_8= '>>=' | lv_op_2_9= '&=' | lv_op_2_10= '^=' | lv_op_2_11= '|=' ) ) ) ( (lv_right_3_0= ruleExpression ) ) { // InternalDebugSeq.g:1155:4: () // InternalDebugSeq.g:1156:5: { current = forceCreateModelElementAndSet( grammarAccess.getAssignmentAccess().getAssignmentLeftAction_1_0(), current); } // InternalDebugSeq.g:1162:4: ( ( (lv_op_2_1= '=' | lv_op_2_2= '+=' | lv_op_2_3= '-=' | lv_op_2_4= '*=' | lv_op_2_5= '/=' | lv_op_2_6= '%=' | lv_op_2_7= '<<=' | lv_op_2_8= '>>=' | lv_op_2_9= '&=' | lv_op_2_10= '^=' | lv_op_2_11= '|=' ) ) ) // InternalDebugSeq.g:1163:5: ( (lv_op_2_1= '=' | lv_op_2_2= '+=' | lv_op_2_3= '-=' | lv_op_2_4= '*=' | lv_op_2_5= '/=' | lv_op_2_6= '%=' | lv_op_2_7= '<<=' | lv_op_2_8= '>>=' | lv_op_2_9= '&=' | lv_op_2_10= '^=' | lv_op_2_11= '|=' ) ) { // InternalDebugSeq.g:1163:5: ( (lv_op_2_1= '=' | lv_op_2_2= '+=' | lv_op_2_3= '-=' | lv_op_2_4= '*=' | lv_op_2_5= '/=' | lv_op_2_6= '%=' | lv_op_2_7= '<<=' | lv_op_2_8= '>>=' | lv_op_2_9= '&=' | lv_op_2_10= '^=' | lv_op_2_11= '|=' ) ) // InternalDebugSeq.g:1164:6: (lv_op_2_1= '=' | lv_op_2_2= '+=' | lv_op_2_3= '-=' | lv_op_2_4= '*=' | lv_op_2_5= '/=' | lv_op_2_6= '%=' | lv_op_2_7= '<<=' | lv_op_2_8= '>>=' | lv_op_2_9= '&=' | lv_op_2_10= '^=' | lv_op_2_11= '|=' ) { // InternalDebugSeq.g:1164:6: (lv_op_2_1= '=' | lv_op_2_2= '+=' | lv_op_2_3= '-=' | lv_op_2_4= '*=' | lv_op_2_5= '/=' | lv_op_2_6= '%=' | lv_op_2_7= '<<=' | lv_op_2_8= '>>=' | lv_op_2_9= '&=' | lv_op_2_10= '^=' | lv_op_2_11= '|=' ) int alt16=11; switch ( input.LA(1) ) { case 21: { alt16=1; } break; case 39: { alt16=2; } break; case 40: { alt16=3; } break; case 41: { alt16=4; } break; case 42: { alt16=5; } break; case 43: { alt16=6; } break; case 44: { alt16=7; } break; case 45: { alt16=8; } break; case 46: { alt16=9; } break; case 47: { alt16=10; } break; case 48: { alt16=11; } break; default: NoViableAltException nvae = new NoViableAltException("", 16, 0, input); throw nvae; } switch (alt16) { case 1 : // InternalDebugSeq.g:1165:7: lv_op_2_1= '=' { lv_op_2_1=(Token)match(input,21,FOLLOW_10); newLeafNode(lv_op_2_1, grammarAccess.getAssignmentAccess().getOpEqualsSignKeyword_1_1_0_0()); if (current==null) { current = createModelElement(grammarAccess.getAssignmentRule()); } setWithLastConsumed(current, "op", lv_op_2_1, null); } break; case 2 : // InternalDebugSeq.g:1176:7: lv_op_2_2= '+=' { lv_op_2_2=(Token)match(input,39,FOLLOW_10); newLeafNode(lv_op_2_2, grammarAccess.getAssignmentAccess().getOpPlusSignEqualsSignKeyword_1_1_0_1()); if (current==null) { current = createModelElement(grammarAccess.getAssignmentRule()); } setWithLastConsumed(current, "op", lv_op_2_2, null); } break; case 3 : // InternalDebugSeq.g:1187:7: lv_op_2_3= '-=' { lv_op_2_3=(Token)match(input,40,FOLLOW_10); newLeafNode(lv_op_2_3, grammarAccess.getAssignmentAccess().getOpHyphenMinusEqualsSignKeyword_1_1_0_2()); if (current==null) { current = createModelElement(grammarAccess.getAssignmentRule()); } setWithLastConsumed(current, "op", lv_op_2_3, null); } break; case 4 : // InternalDebugSeq.g:1198:7: lv_op_2_4= '*=' { lv_op_2_4=(Token)match(input,41,FOLLOW_10); newLeafNode(lv_op_2_4, grammarAccess.getAssignmentAccess().getOpAsteriskEqualsSignKeyword_1_1_0_3()); if (current==null) { current = createModelElement(grammarAccess.getAssignmentRule()); } setWithLastConsumed(current, "op", lv_op_2_4, null); } break; case 5 : // InternalDebugSeq.g:1209:7: lv_op_2_5= '/=' { lv_op_2_5=(Token)match(input,42,FOLLOW_10); newLeafNode(lv_op_2_5, grammarAccess.getAssignmentAccess().getOpSolidusEqualsSignKeyword_1_1_0_4()); if (current==null) { current = createModelElement(grammarAccess.getAssignmentRule()); } setWithLastConsumed(current, "op", lv_op_2_5, null); } break; case 6 : // InternalDebugSeq.g:1220:7: lv_op_2_6= '%=' { lv_op_2_6=(Token)match(input,43,FOLLOW_10); newLeafNode(lv_op_2_6, grammarAccess.getAssignmentAccess().getOpPercentSignEqualsSignKeyword_1_1_0_5()); if (current==null) { current = createModelElement(grammarAccess.getAssignmentRule()); } setWithLastConsumed(current, "op", lv_op_2_6, null); } break; case 7 : // InternalDebugSeq.g:1231:7: lv_op_2_7= '<<=' { lv_op_2_7=(Token)match(input,44,FOLLOW_10); newLeafNode(lv_op_2_7, grammarAccess.getAssignmentAccess().getOpLtLtKeyword_1_1_0_6()); if (current==null) { current = createModelElement(grammarAccess.getAssignmentRule()); } setWithLastConsumed(current, "op", lv_op_2_7, null); } break; case 8 : // InternalDebugSeq.g:1242:7: lv_op_2_8= '>>=' { lv_op_2_8=(Token)match(input,45,FOLLOW_10); newLeafNode(lv_op_2_8, grammarAccess.getAssignmentAccess().getOpGtGtKeyword_1_1_0_7()); if (current==null) { current = createModelElement(grammarAccess.getAssignmentRule()); } setWithLastConsumed(current, "op", lv_op_2_8, null); } break; case 9 : // InternalDebugSeq.g:1253:7: lv_op_2_9= '&=' { lv_op_2_9=(Token)match(input,46,FOLLOW_10); newLeafNode(lv_op_2_9, grammarAccess.getAssignmentAccess().getOpAmpKeyword_1_1_0_8()); if (current==null) { current = createModelElement(grammarAccess.getAssignmentRule()); } setWithLastConsumed(current, "op", lv_op_2_9, null); } break; case 10 : // InternalDebugSeq.g:1264:7: lv_op_2_10= '^=' { lv_op_2_10=(Token)match(input,47,FOLLOW_10); newLeafNode(lv_op_2_10, grammarAccess.getAssignmentAccess().getOpCircumflexAccentEqualsSignKeyword_1_1_0_9()); if (current==null) { current = createModelElement(grammarAccess.getAssignmentRule()); } setWithLastConsumed(current, "op", lv_op_2_10, null); } break; case 11 : // InternalDebugSeq.g:1275:7: lv_op_2_11= '|=' { lv_op_2_11=(Token)match(input,48,FOLLOW_10); newLeafNode(lv_op_2_11, grammarAccess.getAssignmentAccess().getOpVerticalLineEqualsSignKeyword_1_1_0_10()); if (current==null) { current = createModelElement(grammarAccess.getAssignmentRule()); } setWithLastConsumed(current, "op", lv_op_2_11, null); } break; } } } // InternalDebugSeq.g:1288:4: ( (lv_right_3_0= ruleExpression ) ) // InternalDebugSeq.g:1289:5: (lv_right_3_0= ruleExpression ) { // InternalDebugSeq.g:1289:5: (lv_right_3_0= ruleExpression ) // InternalDebugSeq.g:1290:6: lv_right_3_0= ruleExpression { newCompositeNode(grammarAccess.getAssignmentAccess().getRightExpressionParserRuleCall_1_2_0()); pushFollow(FOLLOW_2); lv_right_3_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAssignmentRule()); } set( current, "right", lv_right_3_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } } break; } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAssignment" // $ANTLR start "entryRuleTernary" // InternalDebugSeq.g:1312:1: entryRuleTernary returns [EObject current=null] : iv_ruleTernary= ruleTernary EOF ; public final EObject entryRuleTernary() throws RecognitionException { EObject current = null; EObject iv_ruleTernary = null; try { // InternalDebugSeq.g:1312:48: (iv_ruleTernary= ruleTernary EOF ) // InternalDebugSeq.g:1313:2: iv_ruleTernary= ruleTernary EOF { newCompositeNode(grammarAccess.getTernaryRule()); pushFollow(FOLLOW_1); iv_ruleTernary=ruleTernary(); state._fsp--; current =iv_ruleTernary; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleTernary" // $ANTLR start "ruleTernary" // InternalDebugSeq.g:1319:1: ruleTernary returns [EObject current=null] : (this_Or_0= ruleOr ( () otherlv_2= '?' ( (lv_exp1_3_0= ruleExpression ) ) otherlv_4= ':' ( (lv_exp2_5_0= ruleTernary ) ) )? ) ; public final EObject ruleTernary() throws RecognitionException { EObject current = null; Token otherlv_2=null; Token otherlv_4=null; EObject this_Or_0 = null; EObject lv_exp1_3_0 = null; EObject lv_exp2_5_0 = null; enterRule(); try { // InternalDebugSeq.g:1325:2: ( (this_Or_0= ruleOr ( () otherlv_2= '?' ( (lv_exp1_3_0= ruleExpression ) ) otherlv_4= ':' ( (lv_exp2_5_0= ruleTernary ) ) )? ) ) // InternalDebugSeq.g:1326:2: (this_Or_0= ruleOr ( () otherlv_2= '?' ( (lv_exp1_3_0= ruleExpression ) ) otherlv_4= ':' ( (lv_exp2_5_0= ruleTernary ) ) )? ) { // InternalDebugSeq.g:1326:2: (this_Or_0= ruleOr ( () otherlv_2= '?' ( (lv_exp1_3_0= ruleExpression ) ) otherlv_4= ':' ( (lv_exp2_5_0= ruleTernary ) ) )? ) // InternalDebugSeq.g:1327:3: this_Or_0= ruleOr ( () otherlv_2= '?' ( (lv_exp1_3_0= ruleExpression ) ) otherlv_4= ':' ( (lv_exp2_5_0= ruleTernary ) ) )? { newCompositeNode(grammarAccess.getTernaryAccess().getOrParserRuleCall_0()); pushFollow(FOLLOW_22); this_Or_0=ruleOr(); state._fsp--; current = this_Or_0; afterParserOrEnumRuleCall(); // InternalDebugSeq.g:1335:3: ( () otherlv_2= '?' ( (lv_exp1_3_0= ruleExpression ) ) otherlv_4= ':' ( (lv_exp2_5_0= ruleTernary ) ) )? int alt18=2; int LA18_0 = input.LA(1); if ( (LA18_0==49) ) { alt18=1; } switch (alt18) { case 1 : // InternalDebugSeq.g:1336:4: () otherlv_2= '?' ( (lv_exp1_3_0= ruleExpression ) ) otherlv_4= ':' ( (lv_exp2_5_0= ruleTernary ) ) { // InternalDebugSeq.g:1336:4: () // InternalDebugSeq.g:1337:5: { current = forceCreateModelElementAndSet( grammarAccess.getTernaryAccess().getTernaryLeftAction_1_0(), current); } otherlv_2=(Token)match(input,49,FOLLOW_10); newLeafNode(otherlv_2, grammarAccess.getTernaryAccess().getQuestionMarkKeyword_1_1()); // InternalDebugSeq.g:1347:4: ( (lv_exp1_3_0= ruleExpression ) ) // InternalDebugSeq.g:1348:5: (lv_exp1_3_0= ruleExpression ) { // InternalDebugSeq.g:1348:5: (lv_exp1_3_0= ruleExpression ) // InternalDebugSeq.g:1349:6: lv_exp1_3_0= ruleExpression { newCompositeNode(grammarAccess.getTernaryAccess().getExp1ExpressionParserRuleCall_1_2_0()); pushFollow(FOLLOW_23); lv_exp1_3_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getTernaryRule()); } set( current, "exp1", lv_exp1_3_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_4=(Token)match(input,50,FOLLOW_10); newLeafNode(otherlv_4, grammarAccess.getTernaryAccess().getColonKeyword_1_3()); // InternalDebugSeq.g:1370:4: ( (lv_exp2_5_0= ruleTernary ) ) // InternalDebugSeq.g:1371:5: (lv_exp2_5_0= ruleTernary ) { // InternalDebugSeq.g:1371:5: (lv_exp2_5_0= ruleTernary ) // InternalDebugSeq.g:1372:6: lv_exp2_5_0= ruleTernary { newCompositeNode(grammarAccess.getTernaryAccess().getExp2TernaryParserRuleCall_1_4_0()); pushFollow(FOLLOW_2); lv_exp2_5_0=ruleTernary(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getTernaryRule()); } set( current, "exp2", lv_exp2_5_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Ternary"); afterParserOrEnumRuleCall(); } } } break; } } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleTernary" // $ANTLR start "entryRuleOr" // InternalDebugSeq.g:1394:1: entryRuleOr returns [EObject current=null] : iv_ruleOr= ruleOr EOF ; public final EObject entryRuleOr() throws RecognitionException { EObject current = null; EObject iv_ruleOr = null; try { // InternalDebugSeq.g:1394:43: (iv_ruleOr= ruleOr EOF ) // InternalDebugSeq.g:1395:2: iv_ruleOr= ruleOr EOF { newCompositeNode(grammarAccess.getOrRule()); pushFollow(FOLLOW_1); iv_ruleOr=ruleOr(); state._fsp--; current =iv_ruleOr; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleOr" // $ANTLR start "ruleOr" // InternalDebugSeq.g:1401:1: ruleOr returns [EObject current=null] : (this_And_0= ruleAnd ( () otherlv_2= '||' ( (lv_right_3_0= ruleAnd ) ) )* ) ; public final EObject ruleOr() throws RecognitionException { EObject current = null; Token otherlv_2=null; EObject this_And_0 = null; EObject lv_right_3_0 = null; enterRule(); try { // InternalDebugSeq.g:1407:2: ( (this_And_0= ruleAnd ( () otherlv_2= '||' ( (lv_right_3_0= ruleAnd ) ) )* ) ) // InternalDebugSeq.g:1408:2: (this_And_0= ruleAnd ( () otherlv_2= '||' ( (lv_right_3_0= ruleAnd ) ) )* ) { // InternalDebugSeq.g:1408:2: (this_And_0= ruleAnd ( () otherlv_2= '||' ( (lv_right_3_0= ruleAnd ) ) )* ) // InternalDebugSeq.g:1409:3: this_And_0= ruleAnd ( () otherlv_2= '||' ( (lv_right_3_0= ruleAnd ) ) )* { newCompositeNode(grammarAccess.getOrAccess().getAndParserRuleCall_0()); pushFollow(FOLLOW_24); this_And_0=ruleAnd(); state._fsp--; current = this_And_0; afterParserOrEnumRuleCall(); // InternalDebugSeq.g:1417:3: ( () otherlv_2= '||' ( (lv_right_3_0= ruleAnd ) ) )* loop19: do { int alt19=2; int LA19_0 = input.LA(1); if ( (LA19_0==51) ) { alt19=1; } switch (alt19) { case 1 : // InternalDebugSeq.g:1418:4: () otherlv_2= '||' ( (lv_right_3_0= ruleAnd ) ) { // InternalDebugSeq.g:1418:4: () // InternalDebugSeq.g:1419:5: { current = forceCreateModelElementAndSet( grammarAccess.getOrAccess().getOrLeftAction_1_0(), current); } otherlv_2=(Token)match(input,51,FOLLOW_10); newLeafNode(otherlv_2, grammarAccess.getOrAccess().getVerticalLineVerticalLineKeyword_1_1()); // InternalDebugSeq.g:1429:4: ( (lv_right_3_0= ruleAnd ) ) // InternalDebugSeq.g:1430:5: (lv_right_3_0= ruleAnd ) { // InternalDebugSeq.g:1430:5: (lv_right_3_0= ruleAnd ) // InternalDebugSeq.g:1431:6: lv_right_3_0= ruleAnd { newCompositeNode(grammarAccess.getOrAccess().getRightAndParserRuleCall_1_2_0()); pushFollow(FOLLOW_24); lv_right_3_0=ruleAnd(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getOrRule()); } set( current, "right", lv_right_3_0, "com.arm.cmsis.pack.debugseq.DebugSeq.And"); afterParserOrEnumRuleCall(); } } } break; default : break loop19; } } while (true); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleOr" // $ANTLR start "entryRuleAnd" // InternalDebugSeq.g:1453:1: entryRuleAnd returns [EObject current=null] : iv_ruleAnd= ruleAnd EOF ; public final EObject entryRuleAnd() throws RecognitionException { EObject current = null; EObject iv_ruleAnd = null; try { // InternalDebugSeq.g:1453:44: (iv_ruleAnd= ruleAnd EOF ) // InternalDebugSeq.g:1454:2: iv_ruleAnd= ruleAnd EOF { newCompositeNode(grammarAccess.getAndRule()); pushFollow(FOLLOW_1); iv_ruleAnd=ruleAnd(); state._fsp--; current =iv_ruleAnd; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAnd" // $ANTLR start "ruleAnd" // InternalDebugSeq.g:1460:1: ruleAnd returns [EObject current=null] : (this_BitOr_0= ruleBitOr ( () otherlv_2= '&&' ( (lv_right_3_0= ruleBitOr ) ) )* ) ; public final EObject ruleAnd() throws RecognitionException { EObject current = null; Token otherlv_2=null; EObject this_BitOr_0 = null; EObject lv_right_3_0 = null; enterRule(); try { // InternalDebugSeq.g:1466:2: ( (this_BitOr_0= ruleBitOr ( () otherlv_2= '&&' ( (lv_right_3_0= ruleBitOr ) ) )* ) ) // InternalDebugSeq.g:1467:2: (this_BitOr_0= ruleBitOr ( () otherlv_2= '&&' ( (lv_right_3_0= ruleBitOr ) ) )* ) { // InternalDebugSeq.g:1467:2: (this_BitOr_0= ruleBitOr ( () otherlv_2= '&&' ( (lv_right_3_0= ruleBitOr ) ) )* ) // InternalDebugSeq.g:1468:3: this_BitOr_0= ruleBitOr ( () otherlv_2= '&&' ( (lv_right_3_0= ruleBitOr ) ) )* { newCompositeNode(grammarAccess.getAndAccess().getBitOrParserRuleCall_0()); pushFollow(FOLLOW_25); this_BitOr_0=ruleBitOr(); state._fsp--; current = this_BitOr_0; afterParserOrEnumRuleCall(); // InternalDebugSeq.g:1476:3: ( () otherlv_2= '&&' ( (lv_right_3_0= ruleBitOr ) ) )* loop20: do { int alt20=2; int LA20_0 = input.LA(1); if ( (LA20_0==52) ) { alt20=1; } switch (alt20) { case 1 : // InternalDebugSeq.g:1477:4: () otherlv_2= '&&' ( (lv_right_3_0= ruleBitOr ) ) { // InternalDebugSeq.g:1477:4: () // InternalDebugSeq.g:1478:5: { current = forceCreateModelElementAndSet( grammarAccess.getAndAccess().getAndLeftAction_1_0(), current); } otherlv_2=(Token)match(input,52,FOLLOW_10); newLeafNode(otherlv_2, grammarAccess.getAndAccess().getAmpAmpKeyword_1_1()); // InternalDebugSeq.g:1488:4: ( (lv_right_3_0= ruleBitOr ) ) // InternalDebugSeq.g:1489:5: (lv_right_3_0= ruleBitOr ) { // InternalDebugSeq.g:1489:5: (lv_right_3_0= ruleBitOr ) // InternalDebugSeq.g:1490:6: lv_right_3_0= ruleBitOr { newCompositeNode(grammarAccess.getAndAccess().getRightBitOrParserRuleCall_1_2_0()); pushFollow(FOLLOW_25); lv_right_3_0=ruleBitOr(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getAndRule()); } set( current, "right", lv_right_3_0, "com.arm.cmsis.pack.debugseq.DebugSeq.BitOr"); afterParserOrEnumRuleCall(); } } } break; default : break loop20; } } while (true); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAnd" // $ANTLR start "entryRuleBitOr" // InternalDebugSeq.g:1512:1: entryRuleBitOr returns [EObject current=null] : iv_ruleBitOr= ruleBitOr EOF ; public final EObject entryRuleBitOr() throws RecognitionException { EObject current = null; EObject iv_ruleBitOr = null; try { // InternalDebugSeq.g:1512:46: (iv_ruleBitOr= ruleBitOr EOF ) // InternalDebugSeq.g:1513:2: iv_ruleBitOr= ruleBitOr EOF { newCompositeNode(grammarAccess.getBitOrRule()); pushFollow(FOLLOW_1); iv_ruleBitOr=ruleBitOr(); state._fsp--; current =iv_ruleBitOr; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleBitOr" // $ANTLR start "ruleBitOr" // InternalDebugSeq.g:1519:1: ruleBitOr returns [EObject current=null] : (this_BitXor_0= ruleBitXor ( () otherlv_2= '|' ( (lv_right_3_0= ruleBitXor ) ) )* ) ; public final EObject ruleBitOr() throws RecognitionException { EObject current = null; Token otherlv_2=null; EObject this_BitXor_0 = null; EObject lv_right_3_0 = null; enterRule(); try { // InternalDebugSeq.g:1525:2: ( (this_BitXor_0= ruleBitXor ( () otherlv_2= '|' ( (lv_right_3_0= ruleBitXor ) ) )* ) ) // InternalDebugSeq.g:1526:2: (this_BitXor_0= ruleBitXor ( () otherlv_2= '|' ( (lv_right_3_0= ruleBitXor ) ) )* ) { // InternalDebugSeq.g:1526:2: (this_BitXor_0= ruleBitXor ( () otherlv_2= '|' ( (lv_right_3_0= ruleBitXor ) ) )* ) // InternalDebugSeq.g:1527:3: this_BitXor_0= ruleBitXor ( () otherlv_2= '|' ( (lv_right_3_0= ruleBitXor ) ) )* { newCompositeNode(grammarAccess.getBitOrAccess().getBitXorParserRuleCall_0()); pushFollow(FOLLOW_26); this_BitXor_0=ruleBitXor(); state._fsp--; current = this_BitXor_0; afterParserOrEnumRuleCall(); // InternalDebugSeq.g:1535:3: ( () otherlv_2= '|' ( (lv_right_3_0= ruleBitXor ) ) )* loop21: do { int alt21=2; int LA21_0 = input.LA(1); if ( (LA21_0==53) ) { alt21=1; } switch (alt21) { case 1 : // InternalDebugSeq.g:1536:4: () otherlv_2= '|' ( (lv_right_3_0= ruleBitXor ) ) { // InternalDebugSeq.g:1536:4: () // InternalDebugSeq.g:1537:5: { current = forceCreateModelElementAndSet( grammarAccess.getBitOrAccess().getBitOrLeftAction_1_0(), current); } otherlv_2=(Token)match(input,53,FOLLOW_10); newLeafNode(otherlv_2, grammarAccess.getBitOrAccess().getVerticalLineKeyword_1_1()); // InternalDebugSeq.g:1547:4: ( (lv_right_3_0= ruleBitXor ) ) // InternalDebugSeq.g:1548:5: (lv_right_3_0= ruleBitXor ) { // InternalDebugSeq.g:1548:5: (lv_right_3_0= ruleBitXor ) // InternalDebugSeq.g:1549:6: lv_right_3_0= ruleBitXor { newCompositeNode(grammarAccess.getBitOrAccess().getRightBitXorParserRuleCall_1_2_0()); pushFollow(FOLLOW_26); lv_right_3_0=ruleBitXor(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getBitOrRule()); } set( current, "right", lv_right_3_0, "com.arm.cmsis.pack.debugseq.DebugSeq.BitXor"); afterParserOrEnumRuleCall(); } } } break; default : break loop21; } } while (true); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleBitOr" // $ANTLR start "entryRuleBitXor" // InternalDebugSeq.g:1571:1: entryRuleBitXor returns [EObject current=null] : iv_ruleBitXor= ruleBitXor EOF ; public final EObject entryRuleBitXor() throws RecognitionException { EObject current = null; EObject iv_ruleBitXor = null; try { // InternalDebugSeq.g:1571:47: (iv_ruleBitXor= ruleBitXor EOF ) // InternalDebugSeq.g:1572:2: iv_ruleBitXor= ruleBitXor EOF { newCompositeNode(grammarAccess.getBitXorRule()); pushFollow(FOLLOW_1); iv_ruleBitXor=ruleBitXor(); state._fsp--; current =iv_ruleBitXor; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleBitXor" // $ANTLR start "ruleBitXor" // InternalDebugSeq.g:1578:1: ruleBitXor returns [EObject current=null] : (this_BitAnd_0= ruleBitAnd ( () otherlv_2= '^' ( (lv_right_3_0= ruleBitAnd ) ) )* ) ; public final EObject ruleBitXor() throws RecognitionException { EObject current = null; Token otherlv_2=null; EObject this_BitAnd_0 = null; EObject lv_right_3_0 = null; enterRule(); try { // InternalDebugSeq.g:1584:2: ( (this_BitAnd_0= ruleBitAnd ( () otherlv_2= '^' ( (lv_right_3_0= ruleBitAnd ) ) )* ) ) // InternalDebugSeq.g:1585:2: (this_BitAnd_0= ruleBitAnd ( () otherlv_2= '^' ( (lv_right_3_0= ruleBitAnd ) ) )* ) { // InternalDebugSeq.g:1585:2: (this_BitAnd_0= ruleBitAnd ( () otherlv_2= '^' ( (lv_right_3_0= ruleBitAnd ) ) )* ) // InternalDebugSeq.g:1586:3: this_BitAnd_0= ruleBitAnd ( () otherlv_2= '^' ( (lv_right_3_0= ruleBitAnd ) ) )* { newCompositeNode(grammarAccess.getBitXorAccess().getBitAndParserRuleCall_0()); pushFollow(FOLLOW_27); this_BitAnd_0=ruleBitAnd(); state._fsp--; current = this_BitAnd_0; afterParserOrEnumRuleCall(); // InternalDebugSeq.g:1594:3: ( () otherlv_2= '^' ( (lv_right_3_0= ruleBitAnd ) ) )* loop22: do { int alt22=2; int LA22_0 = input.LA(1); if ( (LA22_0==54) ) { alt22=1; } switch (alt22) { case 1 : // InternalDebugSeq.g:1595:4: () otherlv_2= '^' ( (lv_right_3_0= ruleBitAnd ) ) { // InternalDebugSeq.g:1595:4: () // InternalDebugSeq.g:1596:5: { current = forceCreateModelElementAndSet( grammarAccess.getBitXorAccess().getBitXorLeftAction_1_0(), current); } otherlv_2=(Token)match(input,54,FOLLOW_10); newLeafNode(otherlv_2, grammarAccess.getBitXorAccess().getCircumflexAccentKeyword_1_1()); // InternalDebugSeq.g:1606:4: ( (lv_right_3_0= ruleBitAnd ) ) // InternalDebugSeq.g:1607:5: (lv_right_3_0= ruleBitAnd ) { // InternalDebugSeq.g:1607:5: (lv_right_3_0= ruleBitAnd ) // InternalDebugSeq.g:1608:6: lv_right_3_0= ruleBitAnd { newCompositeNode(grammarAccess.getBitXorAccess().getRightBitAndParserRuleCall_1_2_0()); pushFollow(FOLLOW_27); lv_right_3_0=ruleBitAnd(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getBitXorRule()); } set( current, "right", lv_right_3_0, "com.arm.cmsis.pack.debugseq.DebugSeq.BitAnd"); afterParserOrEnumRuleCall(); } } } break; default : break loop22; } } while (true); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleBitXor" // $ANTLR start "entryRuleBitAnd" // InternalDebugSeq.g:1630:1: entryRuleBitAnd returns [EObject current=null] : iv_ruleBitAnd= ruleBitAnd EOF ; public final EObject entryRuleBitAnd() throws RecognitionException { EObject current = null; EObject iv_ruleBitAnd = null; try { // InternalDebugSeq.g:1630:47: (iv_ruleBitAnd= ruleBitAnd EOF ) // InternalDebugSeq.g:1631:2: iv_ruleBitAnd= ruleBitAnd EOF { newCompositeNode(grammarAccess.getBitAndRule()); pushFollow(FOLLOW_1); iv_ruleBitAnd=ruleBitAnd(); state._fsp--; current =iv_ruleBitAnd; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleBitAnd" // $ANTLR start "ruleBitAnd" // InternalDebugSeq.g:1637:1: ruleBitAnd returns [EObject current=null] : (this_Equality_0= ruleEquality ( () otherlv_2= '&' ( (lv_right_3_0= ruleEquality ) ) )* ) ; public final EObject ruleBitAnd() throws RecognitionException { EObject current = null; Token otherlv_2=null; EObject this_Equality_0 = null; EObject lv_right_3_0 = null; enterRule(); try { // InternalDebugSeq.g:1643:2: ( (this_Equality_0= ruleEquality ( () otherlv_2= '&' ( (lv_right_3_0= ruleEquality ) ) )* ) ) // InternalDebugSeq.g:1644:2: (this_Equality_0= ruleEquality ( () otherlv_2= '&' ( (lv_right_3_0= ruleEquality ) ) )* ) { // InternalDebugSeq.g:1644:2: (this_Equality_0= ruleEquality ( () otherlv_2= '&' ( (lv_right_3_0= ruleEquality ) ) )* ) // InternalDebugSeq.g:1645:3: this_Equality_0= ruleEquality ( () otherlv_2= '&' ( (lv_right_3_0= ruleEquality ) ) )* { newCompositeNode(grammarAccess.getBitAndAccess().getEqualityParserRuleCall_0()); pushFollow(FOLLOW_28); this_Equality_0=ruleEquality(); state._fsp--; current = this_Equality_0; afterParserOrEnumRuleCall(); // InternalDebugSeq.g:1653:3: ( () otherlv_2= '&' ( (lv_right_3_0= ruleEquality ) ) )* loop23: do { int alt23=2; int LA23_0 = input.LA(1); if ( (LA23_0==55) ) { alt23=1; } switch (alt23) { case 1 : // InternalDebugSeq.g:1654:4: () otherlv_2= '&' ( (lv_right_3_0= ruleEquality ) ) { // InternalDebugSeq.g:1654:4: () // InternalDebugSeq.g:1655:5: { current = forceCreateModelElementAndSet( grammarAccess.getBitAndAccess().getBitAndLeftAction_1_0(), current); } otherlv_2=(Token)match(input,55,FOLLOW_10); newLeafNode(otherlv_2, grammarAccess.getBitAndAccess().getAmpKeyword_1_1()); // InternalDebugSeq.g:1665:4: ( (lv_right_3_0= ruleEquality ) ) // InternalDebugSeq.g:1666:5: (lv_right_3_0= ruleEquality ) { // InternalDebugSeq.g:1666:5: (lv_right_3_0= ruleEquality ) // InternalDebugSeq.g:1667:6: lv_right_3_0= ruleEquality { newCompositeNode(grammarAccess.getBitAndAccess().getRightEqualityParserRuleCall_1_2_0()); pushFollow(FOLLOW_28); lv_right_3_0=ruleEquality(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getBitAndRule()); } set( current, "right", lv_right_3_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Equality"); afterParserOrEnumRuleCall(); } } } break; default : break loop23; } } while (true); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleBitAnd" // $ANTLR start "entryRuleEquality" // InternalDebugSeq.g:1689:1: entryRuleEquality returns [EObject current=null] : iv_ruleEquality= ruleEquality EOF ; public final EObject entryRuleEquality() throws RecognitionException { EObject current = null; EObject iv_ruleEquality = null; try { // InternalDebugSeq.g:1689:49: (iv_ruleEquality= ruleEquality EOF ) // InternalDebugSeq.g:1690:2: iv_ruleEquality= ruleEquality EOF { newCompositeNode(grammarAccess.getEqualityRule()); pushFollow(FOLLOW_1); iv_ruleEquality=ruleEquality(); state._fsp--; current =iv_ruleEquality; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleEquality" // $ANTLR start "ruleEquality" // InternalDebugSeq.g:1696:1: ruleEquality returns [EObject current=null] : (this_Comparison_0= ruleComparison ( () ( ( (lv_op_2_1= '==' | lv_op_2_2= '!=' ) ) ) ( (lv_right_3_0= ruleComparison ) ) )* ) ; public final EObject ruleEquality() throws RecognitionException { EObject current = null; Token lv_op_2_1=null; Token lv_op_2_2=null; EObject this_Comparison_0 = null; EObject lv_right_3_0 = null; enterRule(); try { // InternalDebugSeq.g:1702:2: ( (this_Comparison_0= ruleComparison ( () ( ( (lv_op_2_1= '==' | lv_op_2_2= '!=' ) ) ) ( (lv_right_3_0= ruleComparison ) ) )* ) ) // InternalDebugSeq.g:1703:2: (this_Comparison_0= ruleComparison ( () ( ( (lv_op_2_1= '==' | lv_op_2_2= '!=' ) ) ) ( (lv_right_3_0= ruleComparison ) ) )* ) { // InternalDebugSeq.g:1703:2: (this_Comparison_0= ruleComparison ( () ( ( (lv_op_2_1= '==' | lv_op_2_2= '!=' ) ) ) ( (lv_right_3_0= ruleComparison ) ) )* ) // InternalDebugSeq.g:1704:3: this_Comparison_0= ruleComparison ( () ( ( (lv_op_2_1= '==' | lv_op_2_2= '!=' ) ) ) ( (lv_right_3_0= ruleComparison ) ) )* { newCompositeNode(grammarAccess.getEqualityAccess().getComparisonParserRuleCall_0()); pushFollow(FOLLOW_29); this_Comparison_0=ruleComparison(); state._fsp--; current = this_Comparison_0; afterParserOrEnumRuleCall(); // InternalDebugSeq.g:1712:3: ( () ( ( (lv_op_2_1= '==' | lv_op_2_2= '!=' ) ) ) ( (lv_right_3_0= ruleComparison ) ) )* loop25: do { int alt25=2; int LA25_0 = input.LA(1); if ( ((LA25_0>=56 && LA25_0<=57)) ) { alt25=1; } switch (alt25) { case 1 : // InternalDebugSeq.g:1713:4: () ( ( (lv_op_2_1= '==' | lv_op_2_2= '!=' ) ) ) ( (lv_right_3_0= ruleComparison ) ) { // InternalDebugSeq.g:1713:4: () // InternalDebugSeq.g:1714:5: { current = forceCreateModelElementAndSet( grammarAccess.getEqualityAccess().getEqualityLeftAction_1_0(), current); } // InternalDebugSeq.g:1720:4: ( ( (lv_op_2_1= '==' | lv_op_2_2= '!=' ) ) ) // InternalDebugSeq.g:1721:5: ( (lv_op_2_1= '==' | lv_op_2_2= '!=' ) ) { // InternalDebugSeq.g:1721:5: ( (lv_op_2_1= '==' | lv_op_2_2= '!=' ) ) // InternalDebugSeq.g:1722:6: (lv_op_2_1= '==' | lv_op_2_2= '!=' ) { // InternalDebugSeq.g:1722:6: (lv_op_2_1= '==' | lv_op_2_2= '!=' ) int alt24=2; int LA24_0 = input.LA(1); if ( (LA24_0==56) ) { alt24=1; } else if ( (LA24_0==57) ) { alt24=2; } else { NoViableAltException nvae = new NoViableAltException("", 24, 0, input); throw nvae; } switch (alt24) { case 1 : // InternalDebugSeq.g:1723:7: lv_op_2_1= '==' { lv_op_2_1=(Token)match(input,56,FOLLOW_10); newLeafNode(lv_op_2_1, grammarAccess.getEqualityAccess().getOpEqualsSignEqualsSignKeyword_1_1_0_0()); if (current==null) { current = createModelElement(grammarAccess.getEqualityRule()); } setWithLastConsumed(current, "op", lv_op_2_1, null); } break; case 2 : // InternalDebugSeq.g:1734:7: lv_op_2_2= '!=' { lv_op_2_2=(Token)match(input,57,FOLLOW_10); newLeafNode(lv_op_2_2, grammarAccess.getEqualityAccess().getOpExclamationMarkEqualsSignKeyword_1_1_0_1()); if (current==null) { current = createModelElement(grammarAccess.getEqualityRule()); } setWithLastConsumed(current, "op", lv_op_2_2, null); } break; } } } // InternalDebugSeq.g:1747:4: ( (lv_right_3_0= ruleComparison ) ) // InternalDebugSeq.g:1748:5: (lv_right_3_0= ruleComparison ) { // InternalDebugSeq.g:1748:5: (lv_right_3_0= ruleComparison ) // InternalDebugSeq.g:1749:6: lv_right_3_0= ruleComparison { newCompositeNode(grammarAccess.getEqualityAccess().getRightComparisonParserRuleCall_1_2_0()); pushFollow(FOLLOW_29); lv_right_3_0=ruleComparison(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getEqualityRule()); } set( current, "right", lv_right_3_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Comparison"); afterParserOrEnumRuleCall(); } } } break; default : break loop25; } } while (true); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleEquality" // $ANTLR start "entryRuleComparison" // InternalDebugSeq.g:1771:1: entryRuleComparison returns [EObject current=null] : iv_ruleComparison= ruleComparison EOF ; public final EObject entryRuleComparison() throws RecognitionException { EObject current = null; EObject iv_ruleComparison = null; try { // InternalDebugSeq.g:1771:51: (iv_ruleComparison= ruleComparison EOF ) // InternalDebugSeq.g:1772:2: iv_ruleComparison= ruleComparison EOF { newCompositeNode(grammarAccess.getComparisonRule()); pushFollow(FOLLOW_1); iv_ruleComparison=ruleComparison(); state._fsp--; current =iv_ruleComparison; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleComparison" // $ANTLR start "ruleComparison" // InternalDebugSeq.g:1778:1: ruleComparison returns [EObject current=null] : (this_Shift_0= ruleShift ( () ( ( (lv_op_2_1= '>=' | lv_op_2_2= '<=' | lv_op_2_3= '>' | lv_op_2_4= '<' ) ) ) ( (lv_right_3_0= ruleShift ) ) )* ) ; public final EObject ruleComparison() throws RecognitionException { EObject current = null; Token lv_op_2_1=null; Token lv_op_2_2=null; Token lv_op_2_3=null; Token lv_op_2_4=null; EObject this_Shift_0 = null; EObject lv_right_3_0 = null; enterRule(); try { // InternalDebugSeq.g:1784:2: ( (this_Shift_0= ruleShift ( () ( ( (lv_op_2_1= '>=' | lv_op_2_2= '<=' | lv_op_2_3= '>' | lv_op_2_4= '<' ) ) ) ( (lv_right_3_0= ruleShift ) ) )* ) ) // InternalDebugSeq.g:1785:2: (this_Shift_0= ruleShift ( () ( ( (lv_op_2_1= '>=' | lv_op_2_2= '<=' | lv_op_2_3= '>' | lv_op_2_4= '<' ) ) ) ( (lv_right_3_0= ruleShift ) ) )* ) { // InternalDebugSeq.g:1785:2: (this_Shift_0= ruleShift ( () ( ( (lv_op_2_1= '>=' | lv_op_2_2= '<=' | lv_op_2_3= '>' | lv_op_2_4= '<' ) ) ) ( (lv_right_3_0= ruleShift ) ) )* ) // InternalDebugSeq.g:1786:3: this_Shift_0= ruleShift ( () ( ( (lv_op_2_1= '>=' | lv_op_2_2= '<=' | lv_op_2_3= '>' | lv_op_2_4= '<' ) ) ) ( (lv_right_3_0= ruleShift ) ) )* { newCompositeNode(grammarAccess.getComparisonAccess().getShiftParserRuleCall_0()); pushFollow(FOLLOW_30); this_Shift_0=ruleShift(); state._fsp--; current = this_Shift_0; afterParserOrEnumRuleCall(); // InternalDebugSeq.g:1794:3: ( () ( ( (lv_op_2_1= '>=' | lv_op_2_2= '<=' | lv_op_2_3= '>' | lv_op_2_4= '<' ) ) ) ( (lv_right_3_0= ruleShift ) ) )* loop27: do { int alt27=2; int LA27_0 = input.LA(1); if ( ((LA27_0>=58 && LA27_0<=61)) ) { alt27=1; } switch (alt27) { case 1 : // InternalDebugSeq.g:1795:4: () ( ( (lv_op_2_1= '>=' | lv_op_2_2= '<=' | lv_op_2_3= '>' | lv_op_2_4= '<' ) ) ) ( (lv_right_3_0= ruleShift ) ) { // InternalDebugSeq.g:1795:4: () // InternalDebugSeq.g:1796:5: { current = forceCreateModelElementAndSet( grammarAccess.getComparisonAccess().getComparisonLeftAction_1_0(), current); } // InternalDebugSeq.g:1802:4: ( ( (lv_op_2_1= '>=' | lv_op_2_2= '<=' | lv_op_2_3= '>' | lv_op_2_4= '<' ) ) ) // InternalDebugSeq.g:1803:5: ( (lv_op_2_1= '>=' | lv_op_2_2= '<=' | lv_op_2_3= '>' | lv_op_2_4= '<' ) ) { // InternalDebugSeq.g:1803:5: ( (lv_op_2_1= '>=' | lv_op_2_2= '<=' | lv_op_2_3= '>' | lv_op_2_4= '<' ) ) // InternalDebugSeq.g:1804:6: (lv_op_2_1= '>=' | lv_op_2_2= '<=' | lv_op_2_3= '>' | lv_op_2_4= '<' ) { // InternalDebugSeq.g:1804:6: (lv_op_2_1= '>=' | lv_op_2_2= '<=' | lv_op_2_3= '>' | lv_op_2_4= '<' ) int alt26=4; switch ( input.LA(1) ) { case 58: { alt26=1; } break; case 59: { alt26=2; } break; case 60: { alt26=3; } break; case 61: { alt26=4; } break; default: NoViableAltException nvae = new NoViableAltException("", 26, 0, input); throw nvae; } switch (alt26) { case 1 : // InternalDebugSeq.g:1805:7: lv_op_2_1= '>=' { lv_op_2_1=(Token)match(input,58,FOLLOW_10); newLeafNode(lv_op_2_1, grammarAccess.getComparisonAccess().getOpGtKeyword_1_1_0_0()); if (current==null) { current = createModelElement(grammarAccess.getComparisonRule()); } setWithLastConsumed(current, "op", lv_op_2_1, null); } break; case 2 : // InternalDebugSeq.g:1816:7: lv_op_2_2= '<=' { lv_op_2_2=(Token)match(input,59,FOLLOW_10); newLeafNode(lv_op_2_2, grammarAccess.getComparisonAccess().getOpLtKeyword_1_1_0_1()); if (current==null) { current = createModelElement(grammarAccess.getComparisonRule()); } setWithLastConsumed(current, "op", lv_op_2_2, null); } break; case 3 : // InternalDebugSeq.g:1827:7: lv_op_2_3= '>' { lv_op_2_3=(Token)match(input,60,FOLLOW_10); newLeafNode(lv_op_2_3, grammarAccess.getComparisonAccess().getOpGtKeyword_1_1_0_2()); if (current==null) { current = createModelElement(grammarAccess.getComparisonRule()); } setWithLastConsumed(current, "op", lv_op_2_3, null); } break; case 4 : // InternalDebugSeq.g:1838:7: lv_op_2_4= '<' { lv_op_2_4=(Token)match(input,61,FOLLOW_10); newLeafNode(lv_op_2_4, grammarAccess.getComparisonAccess().getOpLtKeyword_1_1_0_3()); if (current==null) { current = createModelElement(grammarAccess.getComparisonRule()); } setWithLastConsumed(current, "op", lv_op_2_4, null); } break; } } } // InternalDebugSeq.g:1851:4: ( (lv_right_3_0= ruleShift ) ) // InternalDebugSeq.g:1852:5: (lv_right_3_0= ruleShift ) { // InternalDebugSeq.g:1852:5: (lv_right_3_0= ruleShift ) // InternalDebugSeq.g:1853:6: lv_right_3_0= ruleShift { newCompositeNode(grammarAccess.getComparisonAccess().getRightShiftParserRuleCall_1_2_0()); pushFollow(FOLLOW_30); lv_right_3_0=ruleShift(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getComparisonRule()); } set( current, "right", lv_right_3_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Shift"); afterParserOrEnumRuleCall(); } } } break; default : break loop27; } } while (true); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleComparison" // $ANTLR start "entryRuleShift" // InternalDebugSeq.g:1875:1: entryRuleShift returns [EObject current=null] : iv_ruleShift= ruleShift EOF ; public final EObject entryRuleShift() throws RecognitionException { EObject current = null; EObject iv_ruleShift = null; try { // InternalDebugSeq.g:1875:46: (iv_ruleShift= ruleShift EOF ) // InternalDebugSeq.g:1876:2: iv_ruleShift= ruleShift EOF { newCompositeNode(grammarAccess.getShiftRule()); pushFollow(FOLLOW_1); iv_ruleShift=ruleShift(); state._fsp--; current =iv_ruleShift; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleShift" // $ANTLR start "ruleShift" // InternalDebugSeq.g:1882:1: ruleShift returns [EObject current=null] : (this_PlusOrMinus_0= rulePlusOrMinus ( () ( ( (lv_op_2_1= '<<' | lv_op_2_2= '>>' ) ) ) ( (lv_right_3_0= rulePlusOrMinus ) ) )* ) ; public final EObject ruleShift() throws RecognitionException { EObject current = null; Token lv_op_2_1=null; Token lv_op_2_2=null; EObject this_PlusOrMinus_0 = null; EObject lv_right_3_0 = null; enterRule(); try { // InternalDebugSeq.g:1888:2: ( (this_PlusOrMinus_0= rulePlusOrMinus ( () ( ( (lv_op_2_1= '<<' | lv_op_2_2= '>>' ) ) ) ( (lv_right_3_0= rulePlusOrMinus ) ) )* ) ) // InternalDebugSeq.g:1889:2: (this_PlusOrMinus_0= rulePlusOrMinus ( () ( ( (lv_op_2_1= '<<' | lv_op_2_2= '>>' ) ) ) ( (lv_right_3_0= rulePlusOrMinus ) ) )* ) { // InternalDebugSeq.g:1889:2: (this_PlusOrMinus_0= rulePlusOrMinus ( () ( ( (lv_op_2_1= '<<' | lv_op_2_2= '>>' ) ) ) ( (lv_right_3_0= rulePlusOrMinus ) ) )* ) // InternalDebugSeq.g:1890:3: this_PlusOrMinus_0= rulePlusOrMinus ( () ( ( (lv_op_2_1= '<<' | lv_op_2_2= '>>' ) ) ) ( (lv_right_3_0= rulePlusOrMinus ) ) )* { newCompositeNode(grammarAccess.getShiftAccess().getPlusOrMinusParserRuleCall_0()); pushFollow(FOLLOW_31); this_PlusOrMinus_0=rulePlusOrMinus(); state._fsp--; current = this_PlusOrMinus_0; afterParserOrEnumRuleCall(); // InternalDebugSeq.g:1898:3: ( () ( ( (lv_op_2_1= '<<' | lv_op_2_2= '>>' ) ) ) ( (lv_right_3_0= rulePlusOrMinus ) ) )* loop29: do { int alt29=2; int LA29_0 = input.LA(1); if ( ((LA29_0>=62 && LA29_0<=63)) ) { alt29=1; } switch (alt29) { case 1 : // InternalDebugSeq.g:1899:4: () ( ( (lv_op_2_1= '<<' | lv_op_2_2= '>>' ) ) ) ( (lv_right_3_0= rulePlusOrMinus ) ) { // InternalDebugSeq.g:1899:4: () // InternalDebugSeq.g:1900:5: { current = forceCreateModelElementAndSet( grammarAccess.getShiftAccess().getShiftLeftAction_1_0(), current); } // InternalDebugSeq.g:1906:4: ( ( (lv_op_2_1= '<<' | lv_op_2_2= '>>' ) ) ) // InternalDebugSeq.g:1907:5: ( (lv_op_2_1= '<<' | lv_op_2_2= '>>' ) ) { // InternalDebugSeq.g:1907:5: ( (lv_op_2_1= '<<' | lv_op_2_2= '>>' ) ) // InternalDebugSeq.g:1908:6: (lv_op_2_1= '<<' | lv_op_2_2= '>>' ) { // InternalDebugSeq.g:1908:6: (lv_op_2_1= '<<' | lv_op_2_2= '>>' ) int alt28=2; int LA28_0 = input.LA(1); if ( (LA28_0==62) ) { alt28=1; } else if ( (LA28_0==63) ) { alt28=2; } else { NoViableAltException nvae = new NoViableAltException("", 28, 0, input); throw nvae; } switch (alt28) { case 1 : // InternalDebugSeq.g:1909:7: lv_op_2_1= '<<' { lv_op_2_1=(Token)match(input,62,FOLLOW_10); newLeafNode(lv_op_2_1, grammarAccess.getShiftAccess().getOpLtLtKeyword_1_1_0_0()); if (current==null) { current = createModelElement(grammarAccess.getShiftRule()); } setWithLastConsumed(current, "op", lv_op_2_1, null); } break; case 2 : // InternalDebugSeq.g:1920:7: lv_op_2_2= '>>' { lv_op_2_2=(Token)match(input,63,FOLLOW_10); newLeafNode(lv_op_2_2, grammarAccess.getShiftAccess().getOpGtGtKeyword_1_1_0_1()); if (current==null) { current = createModelElement(grammarAccess.getShiftRule()); } setWithLastConsumed(current, "op", lv_op_2_2, null); } break; } } } // InternalDebugSeq.g:1933:4: ( (lv_right_3_0= rulePlusOrMinus ) ) // InternalDebugSeq.g:1934:5: (lv_right_3_0= rulePlusOrMinus ) { // InternalDebugSeq.g:1934:5: (lv_right_3_0= rulePlusOrMinus ) // InternalDebugSeq.g:1935:6: lv_right_3_0= rulePlusOrMinus { newCompositeNode(grammarAccess.getShiftAccess().getRightPlusOrMinusParserRuleCall_1_2_0()); pushFollow(FOLLOW_31); lv_right_3_0=rulePlusOrMinus(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getShiftRule()); } set( current, "right", lv_right_3_0, "com.arm.cmsis.pack.debugseq.DebugSeq.PlusOrMinus"); afterParserOrEnumRuleCall(); } } } break; default : break loop29; } } while (true); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleShift" // $ANTLR start "entryRulePlusOrMinus" // InternalDebugSeq.g:1957:1: entryRulePlusOrMinus returns [EObject current=null] : iv_rulePlusOrMinus= rulePlusOrMinus EOF ; public final EObject entryRulePlusOrMinus() throws RecognitionException { EObject current = null; EObject iv_rulePlusOrMinus = null; try { // InternalDebugSeq.g:1957:52: (iv_rulePlusOrMinus= rulePlusOrMinus EOF ) // InternalDebugSeq.g:1958:2: iv_rulePlusOrMinus= rulePlusOrMinus EOF { newCompositeNode(grammarAccess.getPlusOrMinusRule()); pushFollow(FOLLOW_1); iv_rulePlusOrMinus=rulePlusOrMinus(); state._fsp--; current =iv_rulePlusOrMinus; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRulePlusOrMinus" // $ANTLR start "rulePlusOrMinus" // InternalDebugSeq.g:1964:1: rulePlusOrMinus returns [EObject current=null] : (this_MulOrDiv_0= ruleMulOrDiv ( ( ( () otherlv_2= '+' ) | ( () otherlv_4= '-' ) ) ( (lv_right_5_0= ruleMulOrDiv ) ) )* ) ; public final EObject rulePlusOrMinus() throws RecognitionException { EObject current = null; Token otherlv_2=null; Token otherlv_4=null; EObject this_MulOrDiv_0 = null; EObject lv_right_5_0 = null; enterRule(); try { // InternalDebugSeq.g:1970:2: ( (this_MulOrDiv_0= ruleMulOrDiv ( ( ( () otherlv_2= '+' ) | ( () otherlv_4= '-' ) ) ( (lv_right_5_0= ruleMulOrDiv ) ) )* ) ) // InternalDebugSeq.g:1971:2: (this_MulOrDiv_0= ruleMulOrDiv ( ( ( () otherlv_2= '+' ) | ( () otherlv_4= '-' ) ) ( (lv_right_5_0= ruleMulOrDiv ) ) )* ) { // InternalDebugSeq.g:1971:2: (this_MulOrDiv_0= ruleMulOrDiv ( ( ( () otherlv_2= '+' ) | ( () otherlv_4= '-' ) ) ( (lv_right_5_0= ruleMulOrDiv ) ) )* ) // InternalDebugSeq.g:1972:3: this_MulOrDiv_0= ruleMulOrDiv ( ( ( () otherlv_2= '+' ) | ( () otherlv_4= '-' ) ) ( (lv_right_5_0= ruleMulOrDiv ) ) )* { newCompositeNode(grammarAccess.getPlusOrMinusAccess().getMulOrDivParserRuleCall_0()); pushFollow(FOLLOW_32); this_MulOrDiv_0=ruleMulOrDiv(); state._fsp--; current = this_MulOrDiv_0; afterParserOrEnumRuleCall(); // InternalDebugSeq.g:1980:3: ( ( ( () otherlv_2= '+' ) | ( () otherlv_4= '-' ) ) ( (lv_right_5_0= ruleMulOrDiv ) ) )* loop31: do { int alt31=2; int LA31_0 = input.LA(1); if ( ((LA31_0>=64 && LA31_0<=65)) ) { alt31=1; } switch (alt31) { case 1 : // InternalDebugSeq.g:1981:4: ( ( () otherlv_2= '+' ) | ( () otherlv_4= '-' ) ) ( (lv_right_5_0= ruleMulOrDiv ) ) { // InternalDebugSeq.g:1981:4: ( ( () otherlv_2= '+' ) | ( () otherlv_4= '-' ) ) int alt30=2; int LA30_0 = input.LA(1); if ( (LA30_0==64) ) { alt30=1; } else if ( (LA30_0==65) ) { alt30=2; } else { NoViableAltException nvae = new NoViableAltException("", 30, 0, input); throw nvae; } switch (alt30) { case 1 : // InternalDebugSeq.g:1982:5: ( () otherlv_2= '+' ) { // InternalDebugSeq.g:1982:5: ( () otherlv_2= '+' ) // InternalDebugSeq.g:1983:6: () otherlv_2= '+' { // InternalDebugSeq.g:1983:6: () // InternalDebugSeq.g:1984:7: { current = forceCreateModelElementAndSet( grammarAccess.getPlusOrMinusAccess().getPlusLeftAction_1_0_0_0(), current); } otherlv_2=(Token)match(input,64,FOLLOW_10); newLeafNode(otherlv_2, grammarAccess.getPlusOrMinusAccess().getPlusSignKeyword_1_0_0_1()); } } break; case 2 : // InternalDebugSeq.g:1996:5: ( () otherlv_4= '-' ) { // InternalDebugSeq.g:1996:5: ( () otherlv_4= '-' ) // InternalDebugSeq.g:1997:6: () otherlv_4= '-' { // InternalDebugSeq.g:1997:6: () // InternalDebugSeq.g:1998:7: { current = forceCreateModelElementAndSet( grammarAccess.getPlusOrMinusAccess().getMinusLeftAction_1_0_1_0(), current); } otherlv_4=(Token)match(input,65,FOLLOW_10); newLeafNode(otherlv_4, grammarAccess.getPlusOrMinusAccess().getHyphenMinusKeyword_1_0_1_1()); } } break; } // InternalDebugSeq.g:2010:4: ( (lv_right_5_0= ruleMulOrDiv ) ) // InternalDebugSeq.g:2011:5: (lv_right_5_0= ruleMulOrDiv ) { // InternalDebugSeq.g:2011:5: (lv_right_5_0= ruleMulOrDiv ) // InternalDebugSeq.g:2012:6: lv_right_5_0= ruleMulOrDiv { newCompositeNode(grammarAccess.getPlusOrMinusAccess().getRightMulOrDivParserRuleCall_1_1_0()); pushFollow(FOLLOW_32); lv_right_5_0=ruleMulOrDiv(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPlusOrMinusRule()); } set( current, "right", lv_right_5_0, "com.arm.cmsis.pack.debugseq.DebugSeq.MulOrDiv"); afterParserOrEnumRuleCall(); } } } break; default : break loop31; } } while (true); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePlusOrMinus" // $ANTLR start "entryRuleMulOrDiv" // InternalDebugSeq.g:2034:1: entryRuleMulOrDiv returns [EObject current=null] : iv_ruleMulOrDiv= ruleMulOrDiv EOF ; public final EObject entryRuleMulOrDiv() throws RecognitionException { EObject current = null; EObject iv_ruleMulOrDiv = null; try { // InternalDebugSeq.g:2034:49: (iv_ruleMulOrDiv= ruleMulOrDiv EOF ) // InternalDebugSeq.g:2035:2: iv_ruleMulOrDiv= ruleMulOrDiv EOF { newCompositeNode(grammarAccess.getMulOrDivRule()); pushFollow(FOLLOW_1); iv_ruleMulOrDiv=ruleMulOrDiv(); state._fsp--; current =iv_ruleMulOrDiv; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleMulOrDiv" // $ANTLR start "ruleMulOrDiv" // InternalDebugSeq.g:2041:1: ruleMulOrDiv returns [EObject current=null] : (this_Primary_0= rulePrimary ( ( ( () otherlv_2= '*' ) | ( () otherlv_4= '/' ) | ( () otherlv_6= '%' ) ) ( (lv_right_7_0= rulePrimary ) ) )* ) ; public final EObject ruleMulOrDiv() throws RecognitionException { EObject current = null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; EObject this_Primary_0 = null; EObject lv_right_7_0 = null; enterRule(); try { // InternalDebugSeq.g:2047:2: ( (this_Primary_0= rulePrimary ( ( ( () otherlv_2= '*' ) | ( () otherlv_4= '/' ) | ( () otherlv_6= '%' ) ) ( (lv_right_7_0= rulePrimary ) ) )* ) ) // InternalDebugSeq.g:2048:2: (this_Primary_0= rulePrimary ( ( ( () otherlv_2= '*' ) | ( () otherlv_4= '/' ) | ( () otherlv_6= '%' ) ) ( (lv_right_7_0= rulePrimary ) ) )* ) { // InternalDebugSeq.g:2048:2: (this_Primary_0= rulePrimary ( ( ( () otherlv_2= '*' ) | ( () otherlv_4= '/' ) | ( () otherlv_6= '%' ) ) ( (lv_right_7_0= rulePrimary ) ) )* ) // InternalDebugSeq.g:2049:3: this_Primary_0= rulePrimary ( ( ( () otherlv_2= '*' ) | ( () otherlv_4= '/' ) | ( () otherlv_6= '%' ) ) ( (lv_right_7_0= rulePrimary ) ) )* { newCompositeNode(grammarAccess.getMulOrDivAccess().getPrimaryParserRuleCall_0()); pushFollow(FOLLOW_33); this_Primary_0=rulePrimary(); state._fsp--; current = this_Primary_0; afterParserOrEnumRuleCall(); // InternalDebugSeq.g:2057:3: ( ( ( () otherlv_2= '*' ) | ( () otherlv_4= '/' ) | ( () otherlv_6= '%' ) ) ( (lv_right_7_0= rulePrimary ) ) )* loop33: do { int alt33=2; int LA33_0 = input.LA(1); if ( ((LA33_0>=66 && LA33_0<=68)) ) { alt33=1; } switch (alt33) { case 1 : // InternalDebugSeq.g:2058:4: ( ( () otherlv_2= '*' ) | ( () otherlv_4= '/' ) | ( () otherlv_6= '%' ) ) ( (lv_right_7_0= rulePrimary ) ) { // InternalDebugSeq.g:2058:4: ( ( () otherlv_2= '*' ) | ( () otherlv_4= '/' ) | ( () otherlv_6= '%' ) ) int alt32=3; switch ( input.LA(1) ) { case 66: { alt32=1; } break; case 67: { alt32=2; } break; case 68: { alt32=3; } break; default: NoViableAltException nvae = new NoViableAltException("", 32, 0, input); throw nvae; } switch (alt32) { case 1 : // InternalDebugSeq.g:2059:5: ( () otherlv_2= '*' ) { // InternalDebugSeq.g:2059:5: ( () otherlv_2= '*' ) // InternalDebugSeq.g:2060:6: () otherlv_2= '*' { // InternalDebugSeq.g:2060:6: () // InternalDebugSeq.g:2061:7: { current = forceCreateModelElementAndSet( grammarAccess.getMulOrDivAccess().getMulLeftAction_1_0_0_0(), current); } otherlv_2=(Token)match(input,66,FOLLOW_10); newLeafNode(otherlv_2, grammarAccess.getMulOrDivAccess().getAsteriskKeyword_1_0_0_1()); } } break; case 2 : // InternalDebugSeq.g:2073:5: ( () otherlv_4= '/' ) { // InternalDebugSeq.g:2073:5: ( () otherlv_4= '/' ) // InternalDebugSeq.g:2074:6: () otherlv_4= '/' { // InternalDebugSeq.g:2074:6: () // InternalDebugSeq.g:2075:7: { current = forceCreateModelElementAndSet( grammarAccess.getMulOrDivAccess().getDivLeftAction_1_0_1_0(), current); } otherlv_4=(Token)match(input,67,FOLLOW_10); newLeafNode(otherlv_4, grammarAccess.getMulOrDivAccess().getSolidusKeyword_1_0_1_1()); } } break; case 3 : // InternalDebugSeq.g:2087:5: ( () otherlv_6= '%' ) { // InternalDebugSeq.g:2087:5: ( () otherlv_6= '%' ) // InternalDebugSeq.g:2088:6: () otherlv_6= '%' { // InternalDebugSeq.g:2088:6: () // InternalDebugSeq.g:2089:7: { current = forceCreateModelElementAndSet( grammarAccess.getMulOrDivAccess().getRemLeftAction_1_0_2_0(), current); } otherlv_6=(Token)match(input,68,FOLLOW_10); newLeafNode(otherlv_6, grammarAccess.getMulOrDivAccess().getPercentSignKeyword_1_0_2_1()); } } break; } // InternalDebugSeq.g:2101:4: ( (lv_right_7_0= rulePrimary ) ) // InternalDebugSeq.g:2102:5: (lv_right_7_0= rulePrimary ) { // InternalDebugSeq.g:2102:5: (lv_right_7_0= rulePrimary ) // InternalDebugSeq.g:2103:6: lv_right_7_0= rulePrimary { newCompositeNode(grammarAccess.getMulOrDivAccess().getRightPrimaryParserRuleCall_1_1_0()); pushFollow(FOLLOW_33); lv_right_7_0=rulePrimary(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getMulOrDivRule()); } set( current, "right", lv_right_7_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Primary"); afterParserOrEnumRuleCall(); } } } break; default : break loop33; } } while (true); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleMulOrDiv" // $ANTLR start "entryRulePrimary" // InternalDebugSeq.g:2125:1: entryRulePrimary returns [EObject current=null] : iv_rulePrimary= rulePrimary EOF ; public final EObject entryRulePrimary() throws RecognitionException { EObject current = null; EObject iv_rulePrimary = null; try { // InternalDebugSeq.g:2125:48: (iv_rulePrimary= rulePrimary EOF ) // InternalDebugSeq.g:2126:2: iv_rulePrimary= rulePrimary EOF { newCompositeNode(grammarAccess.getPrimaryRule()); pushFollow(FOLLOW_1); iv_rulePrimary=rulePrimary(); state._fsp--; current =iv_rulePrimary; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRulePrimary" // $ANTLR start "rulePrimary" // InternalDebugSeq.g:2132:1: rulePrimary returns [EObject current=null] : ( (otherlv_0= '(' this_Expression_1= ruleExpression otherlv_2= ')' ) | ( () otherlv_4= '!' ( (lv_expression_5_0= rulePrimary ) ) ) | ( () otherlv_7= '~' ( (lv_expression_8_0= rulePrimary ) ) ) | this_FunctionCall_9= ruleFunctionCall | this_Atomic_10= ruleAtomic ) ; public final EObject rulePrimary() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_7=null; EObject this_Expression_1 = null; EObject lv_expression_5_0 = null; EObject lv_expression_8_0 = null; EObject this_FunctionCall_9 = null; EObject this_Atomic_10 = null; enterRule(); try { // InternalDebugSeq.g:2138:2: ( ( (otherlv_0= '(' this_Expression_1= ruleExpression otherlv_2= ')' ) | ( () otherlv_4= '!' ( (lv_expression_5_0= rulePrimary ) ) ) | ( () otherlv_7= '~' ( (lv_expression_8_0= rulePrimary ) ) ) | this_FunctionCall_9= ruleFunctionCall | this_Atomic_10= ruleAtomic ) ) // InternalDebugSeq.g:2139:2: ( (otherlv_0= '(' this_Expression_1= ruleExpression otherlv_2= ')' ) | ( () otherlv_4= '!' ( (lv_expression_5_0= rulePrimary ) ) ) | ( () otherlv_7= '~' ( (lv_expression_8_0= rulePrimary ) ) ) | this_FunctionCall_9= ruleFunctionCall | this_Atomic_10= ruleAtomic ) { // InternalDebugSeq.g:2139:2: ( (otherlv_0= '(' this_Expression_1= ruleExpression otherlv_2= ')' ) | ( () otherlv_4= '!' ( (lv_expression_5_0= rulePrimary ) ) ) | ( () otherlv_7= '~' ( (lv_expression_8_0= rulePrimary ) ) ) | this_FunctionCall_9= ruleFunctionCall | this_Atomic_10= ruleAtomic ) int alt34=5; switch ( input.LA(1) ) { case 69: { alt34=1; } break; case 71: { alt34=2; } break; case 72: { alt34=3; } break; case 74: case 75: case 76: case 77: case 78: case 79: case 80: case 81: case 82: case 83: case 84: case 85: case 86: case 87: case 88: case 89: case 90: case 91: case 92: case 93: case 94: case 95: case 96: { alt34=4; } break; case RULE_STRING: case RULE_ID: case RULE_DEC: case RULE_HEX: { alt34=5; } break; default: NoViableAltException nvae = new NoViableAltException("", 34, 0, input); throw nvae; } switch (alt34) { case 1 : // InternalDebugSeq.g:2140:3: (otherlv_0= '(' this_Expression_1= ruleExpression otherlv_2= ')' ) { // InternalDebugSeq.g:2140:3: (otherlv_0= '(' this_Expression_1= ruleExpression otherlv_2= ')' ) // InternalDebugSeq.g:2141:4: otherlv_0= '(' this_Expression_1= ruleExpression otherlv_2= ')' { otherlv_0=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_0, grammarAccess.getPrimaryAccess().getLeftParenthesisKeyword_0_0()); newCompositeNode(grammarAccess.getPrimaryAccess().getExpressionParserRuleCall_0_1()); pushFollow(FOLLOW_34); this_Expression_1=ruleExpression(); state._fsp--; current = this_Expression_1; afterParserOrEnumRuleCall(); otherlv_2=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_2, grammarAccess.getPrimaryAccess().getRightParenthesisKeyword_0_2()); } } break; case 2 : // InternalDebugSeq.g:2159:3: ( () otherlv_4= '!' ( (lv_expression_5_0= rulePrimary ) ) ) { // InternalDebugSeq.g:2159:3: ( () otherlv_4= '!' ( (lv_expression_5_0= rulePrimary ) ) ) // InternalDebugSeq.g:2160:4: () otherlv_4= '!' ( (lv_expression_5_0= rulePrimary ) ) { // InternalDebugSeq.g:2160:4: () // InternalDebugSeq.g:2161:5: { current = forceCreateModelElement( grammarAccess.getPrimaryAccess().getNotAction_1_0(), current); } otherlv_4=(Token)match(input,71,FOLLOW_10); newLeafNode(otherlv_4, grammarAccess.getPrimaryAccess().getExclamationMarkKeyword_1_1()); // InternalDebugSeq.g:2171:4: ( (lv_expression_5_0= rulePrimary ) ) // InternalDebugSeq.g:2172:5: (lv_expression_5_0= rulePrimary ) { // InternalDebugSeq.g:2172:5: (lv_expression_5_0= rulePrimary ) // InternalDebugSeq.g:2173:6: lv_expression_5_0= rulePrimary { newCompositeNode(grammarAccess.getPrimaryAccess().getExpressionPrimaryParserRuleCall_1_2_0()); pushFollow(FOLLOW_2); lv_expression_5_0=rulePrimary(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPrimaryRule()); } set( current, "expression", lv_expression_5_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Primary"); afterParserOrEnumRuleCall(); } } } } break; case 3 : // InternalDebugSeq.g:2192:3: ( () otherlv_7= '~' ( (lv_expression_8_0= rulePrimary ) ) ) { // InternalDebugSeq.g:2192:3: ( () otherlv_7= '~' ( (lv_expression_8_0= rulePrimary ) ) ) // InternalDebugSeq.g:2193:4: () otherlv_7= '~' ( (lv_expression_8_0= rulePrimary ) ) { // InternalDebugSeq.g:2193:4: () // InternalDebugSeq.g:2194:5: { current = forceCreateModelElement( grammarAccess.getPrimaryAccess().getBitNotAction_2_0(), current); } otherlv_7=(Token)match(input,72,FOLLOW_10); newLeafNode(otherlv_7, grammarAccess.getPrimaryAccess().getTildeKeyword_2_1()); // InternalDebugSeq.g:2204:4: ( (lv_expression_8_0= rulePrimary ) ) // InternalDebugSeq.g:2205:5: (lv_expression_8_0= rulePrimary ) { // InternalDebugSeq.g:2205:5: (lv_expression_8_0= rulePrimary ) // InternalDebugSeq.g:2206:6: lv_expression_8_0= rulePrimary { newCompositeNode(grammarAccess.getPrimaryAccess().getExpressionPrimaryParserRuleCall_2_2_0()); pushFollow(FOLLOW_2); lv_expression_8_0=rulePrimary(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getPrimaryRule()); } set( current, "expression", lv_expression_8_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Primary"); afterParserOrEnumRuleCall(); } } } } break; case 4 : // InternalDebugSeq.g:2225:3: this_FunctionCall_9= ruleFunctionCall { newCompositeNode(grammarAccess.getPrimaryAccess().getFunctionCallParserRuleCall_3()); pushFollow(FOLLOW_2); this_FunctionCall_9=ruleFunctionCall(); state._fsp--; current = this_FunctionCall_9; afterParserOrEnumRuleCall(); } break; case 5 : // InternalDebugSeq.g:2234:3: this_Atomic_10= ruleAtomic { newCompositeNode(grammarAccess.getPrimaryAccess().getAtomicParserRuleCall_4()); pushFollow(FOLLOW_2); this_Atomic_10=ruleAtomic(); state._fsp--; current = this_Atomic_10; afterParserOrEnumRuleCall(); } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePrimary" // $ANTLR start "entryRuleParameter" // InternalDebugSeq.g:2246:1: entryRuleParameter returns [EObject current=null] : iv_ruleParameter= ruleParameter EOF ; public final EObject entryRuleParameter() throws RecognitionException { EObject current = null; EObject iv_ruleParameter = null; try { // InternalDebugSeq.g:2246:50: (iv_ruleParameter= ruleParameter EOF ) // InternalDebugSeq.g:2247:2: iv_ruleParameter= ruleParameter EOF { newCompositeNode(grammarAccess.getParameterRule()); pushFollow(FOLLOW_1); iv_ruleParameter=ruleParameter(); state._fsp--; current =iv_ruleParameter; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleParameter" // $ANTLR start "ruleParameter" // InternalDebugSeq.g:2253:1: ruleParameter returns [EObject current=null] : (otherlv_0= ',' this_Expression_1= ruleExpression ) ; public final EObject ruleParameter() throws RecognitionException { EObject current = null; Token otherlv_0=null; EObject this_Expression_1 = null; enterRule(); try { // InternalDebugSeq.g:2259:2: ( (otherlv_0= ',' this_Expression_1= ruleExpression ) ) // InternalDebugSeq.g:2260:2: (otherlv_0= ',' this_Expression_1= ruleExpression ) { // InternalDebugSeq.g:2260:2: (otherlv_0= ',' this_Expression_1= ruleExpression ) // InternalDebugSeq.g:2261:3: otherlv_0= ',' this_Expression_1= ruleExpression { otherlv_0=(Token)match(input,73,FOLLOW_10); newLeafNode(otherlv_0, grammarAccess.getParameterAccess().getCommaKeyword_0()); newCompositeNode(grammarAccess.getParameterAccess().getExpressionParserRuleCall_1()); pushFollow(FOLLOW_2); this_Expression_1=ruleExpression(); state._fsp--; current = this_Expression_1; afterParserOrEnumRuleCall(); } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleParameter" // $ANTLR start "entryRuleFunctionCall" // InternalDebugSeq.g:2277:1: entryRuleFunctionCall returns [EObject current=null] : iv_ruleFunctionCall= ruleFunctionCall EOF ; public final EObject entryRuleFunctionCall() throws RecognitionException { EObject current = null; EObject iv_ruleFunctionCall = null; try { // InternalDebugSeq.g:2277:53: (iv_ruleFunctionCall= ruleFunctionCall EOF ) // InternalDebugSeq.g:2278:2: iv_ruleFunctionCall= ruleFunctionCall EOF { newCompositeNode(grammarAccess.getFunctionCallRule()); pushFollow(FOLLOW_1); iv_ruleFunctionCall=ruleFunctionCall(); state._fsp--; current =iv_ruleFunctionCall; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleFunctionCall" // $ANTLR start "ruleFunctionCall" // InternalDebugSeq.g:2284:1: ruleFunctionCall returns [EObject current=null] : ( ( () otherlv_1= 'Sequence' otherlv_2= '(' otherlv_3= '\"' ( (lv_seqname_4_0= RULE_ID ) ) otherlv_5= '\"' otherlv_6= ')' ) | ( () otherlv_8= 'Query' otherlv_9= '(' ( (lv_type_10_0= ruleExpression ) ) otherlv_11= ',' ( (lv_message_12_0= RULE_STRING ) ) otherlv_13= ',' ( (lv_default_14_0= ruleExpression ) ) otherlv_15= ')' ) | ( () otherlv_17= 'QueryValue' otherlv_18= '(' ( (lv_message_19_0= RULE_STRING ) ) otherlv_20= ',' ( (lv_default_21_0= ruleExpression ) ) otherlv_22= ')' ) | ( () otherlv_24= 'Message' otherlv_25= '(' ( (lv_type_26_0= ruleExpression ) ) otherlv_27= ',' ( (lv_format_28_0= RULE_STRING ) ) ( (lv_parameters_29_0= ruleParameter ) )* otherlv_30= ')' ) | ( () otherlv_32= 'LoadDebugInfo' otherlv_33= '(' ( (lv_path_34_0= RULE_STRING ) ) otherlv_35= ')' ) | ( () otherlv_37= 'Read8' otherlv_38= '(' ( (lv_addr_39_0= ruleExpression ) ) otherlv_40= ')' ) | ( () otherlv_42= 'Read16' otherlv_43= '(' ( (lv_addr_44_0= ruleExpression ) ) otherlv_45= ')' ) | ( () otherlv_47= 'Read32' otherlv_48= '(' ( (lv_addr_49_0= ruleExpression ) ) otherlv_50= ')' ) | ( () otherlv_52= 'Read64' otherlv_53= '(' ( (lv_addr_54_0= ruleExpression ) ) otherlv_55= ')' ) | ( () otherlv_57= 'ReadAP' otherlv_58= '(' ( (lv_addr_59_0= ruleExpression ) ) otherlv_60= ')' ) | ( () otherlv_62= 'ReadDP' otherlv_63= '(' ( (lv_addr_64_0= ruleExpression ) ) otherlv_65= ')' ) | ( () otherlv_67= 'Write8' otherlv_68= '(' ( (lv_addr_69_0= ruleExpression ) ) otherlv_70= ',' ( (lv_val_71_0= ruleExpression ) ) otherlv_72= ')' ) | ( () otherlv_74= 'Write16' otherlv_75= '(' ( (lv_addr_76_0= ruleExpression ) ) otherlv_77= ',' ( (lv_val_78_0= ruleExpression ) ) otherlv_79= ')' ) | ( () otherlv_81= 'Write32' otherlv_82= '(' ( (lv_addr_83_0= ruleExpression ) ) otherlv_84= ',' ( (lv_val_85_0= ruleExpression ) ) otherlv_86= ')' ) | ( () otherlv_88= 'Write64' otherlv_89= '(' ( (lv_addr_90_0= ruleExpression ) ) otherlv_91= ',' ( (lv_val_92_0= ruleExpression ) ) otherlv_93= ')' ) | ( () otherlv_95= 'WriteAP' otherlv_96= '(' ( (lv_addr_97_0= ruleExpression ) ) otherlv_98= ',' ( (lv_val_99_0= ruleExpression ) ) otherlv_100= ')' ) | ( () otherlv_102= 'WriteDP' otherlv_103= '(' ( (lv_addr_104_0= ruleExpression ) ) otherlv_105= ',' ( (lv_val_106_0= ruleExpression ) ) otherlv_107= ')' ) | ( () otherlv_109= 'DAP_Delay' otherlv_110= '(' ( (lv_delay_111_0= ruleExpression ) ) otherlv_112= ')' ) | ( () otherlv_114= 'DAP_WriteABORT' otherlv_115= '(' ( (lv_value_116_0= ruleExpression ) ) otherlv_117= ')' ) | ( () otherlv_119= 'DAP_SWJ_Pins' otherlv_120= '(' ( (lv_pinout_121_0= ruleExpression ) ) otherlv_122= ',' ( (lv_pinselect_123_0= ruleExpression ) ) otherlv_124= ',' ( (lv_pinwait_125_0= ruleExpression ) ) otherlv_126= ')' ) | ( () otherlv_128= 'DAP_SWJ_Clock' otherlv_129= '(' ( (lv_value_130_0= ruleExpression ) ) otherlv_131= ')' ) | ( () otherlv_133= 'DAP_SWJ_Sequence' otherlv_134= '(' ( (lv_cnt_135_0= ruleExpression ) ) otherlv_136= ',' ( (lv_val_137_0= ruleExpression ) ) otherlv_138= ')' ) | ( () otherlv_140= 'DAP_JTAG_Sequence' otherlv_141= '(' ( (lv_cnt_142_0= ruleExpression ) ) otherlv_143= ',' ( (lv_tms_144_0= ruleExpression ) ) otherlv_145= ',' ( (lv_tdi_146_0= ruleExpression ) ) otherlv_147= ')' ) ) ; public final EObject ruleFunctionCall() throws RecognitionException { EObject current = null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_3=null; Token lv_seqname_4_0=null; Token otherlv_5=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token otherlv_11=null; Token lv_message_12_0=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_17=null; Token otherlv_18=null; Token lv_message_19_0=null; Token otherlv_20=null; Token otherlv_22=null; Token otherlv_24=null; Token otherlv_25=null; Token otherlv_27=null; Token lv_format_28_0=null; Token otherlv_30=null; Token otherlv_32=null; Token otherlv_33=null; Token lv_path_34_0=null; Token otherlv_35=null; Token otherlv_37=null; Token otherlv_38=null; Token otherlv_40=null; Token otherlv_42=null; Token otherlv_43=null; Token otherlv_45=null; Token otherlv_47=null; Token otherlv_48=null; Token otherlv_50=null; Token otherlv_52=null; Token otherlv_53=null; Token otherlv_55=null; Token otherlv_57=null; Token otherlv_58=null; Token otherlv_60=null; Token otherlv_62=null; Token otherlv_63=null; Token otherlv_65=null; Token otherlv_67=null; Token otherlv_68=null; Token otherlv_70=null; Token otherlv_72=null; Token otherlv_74=null; Token otherlv_75=null; Token otherlv_77=null; Token otherlv_79=null; Token otherlv_81=null; Token otherlv_82=null; Token otherlv_84=null; Token otherlv_86=null; Token otherlv_88=null; Token otherlv_89=null; Token otherlv_91=null; Token otherlv_93=null; Token otherlv_95=null; Token otherlv_96=null; Token otherlv_98=null; Token otherlv_100=null; Token otherlv_102=null; Token otherlv_103=null; Token otherlv_105=null; Token otherlv_107=null; Token otherlv_109=null; Token otherlv_110=null; Token otherlv_112=null; Token otherlv_114=null; Token otherlv_115=null; Token otherlv_117=null; Token otherlv_119=null; Token otherlv_120=null; Token otherlv_122=null; Token otherlv_124=null; Token otherlv_126=null; Token otherlv_128=null; Token otherlv_129=null; Token otherlv_131=null; Token otherlv_133=null; Token otherlv_134=null; Token otherlv_136=null; Token otherlv_138=null; Token otherlv_140=null; Token otherlv_141=null; Token otherlv_143=null; Token otherlv_145=null; Token otherlv_147=null; EObject lv_type_10_0 = null; EObject lv_default_14_0 = null; EObject lv_default_21_0 = null; EObject lv_type_26_0 = null; EObject lv_parameters_29_0 = null; EObject lv_addr_39_0 = null; EObject lv_addr_44_0 = null; EObject lv_addr_49_0 = null; EObject lv_addr_54_0 = null; EObject lv_addr_59_0 = null; EObject lv_addr_64_0 = null; EObject lv_addr_69_0 = null; EObject lv_val_71_0 = null; EObject lv_addr_76_0 = null; EObject lv_val_78_0 = null; EObject lv_addr_83_0 = null; EObject lv_val_85_0 = null; EObject lv_addr_90_0 = null; EObject lv_val_92_0 = null; EObject lv_addr_97_0 = null; EObject lv_val_99_0 = null; EObject lv_addr_104_0 = null; EObject lv_val_106_0 = null; EObject lv_delay_111_0 = null; EObject lv_value_116_0 = null; EObject lv_pinout_121_0 = null; EObject lv_pinselect_123_0 = null; EObject lv_pinwait_125_0 = null; EObject lv_value_130_0 = null; EObject lv_cnt_135_0 = null; EObject lv_val_137_0 = null; EObject lv_cnt_142_0 = null; EObject lv_tms_144_0 = null; EObject lv_tdi_146_0 = null; enterRule(); try { // InternalDebugSeq.g:2290:2: ( ( ( () otherlv_1= 'Sequence' otherlv_2= '(' otherlv_3= '\"' ( (lv_seqname_4_0= RULE_ID ) ) otherlv_5= '\"' otherlv_6= ')' ) | ( () otherlv_8= 'Query' otherlv_9= '(' ( (lv_type_10_0= ruleExpression ) ) otherlv_11= ',' ( (lv_message_12_0= RULE_STRING ) ) otherlv_13= ',' ( (lv_default_14_0= ruleExpression ) ) otherlv_15= ')' ) | ( () otherlv_17= 'QueryValue' otherlv_18= '(' ( (lv_message_19_0= RULE_STRING ) ) otherlv_20= ',' ( (lv_default_21_0= ruleExpression ) ) otherlv_22= ')' ) | ( () otherlv_24= 'Message' otherlv_25= '(' ( (lv_type_26_0= ruleExpression ) ) otherlv_27= ',' ( (lv_format_28_0= RULE_STRING ) ) ( (lv_parameters_29_0= ruleParameter ) )* otherlv_30= ')' ) | ( () otherlv_32= 'LoadDebugInfo' otherlv_33= '(' ( (lv_path_34_0= RULE_STRING ) ) otherlv_35= ')' ) | ( () otherlv_37= 'Read8' otherlv_38= '(' ( (lv_addr_39_0= ruleExpression ) ) otherlv_40= ')' ) | ( () otherlv_42= 'Read16' otherlv_43= '(' ( (lv_addr_44_0= ruleExpression ) ) otherlv_45= ')' ) | ( () otherlv_47= 'Read32' otherlv_48= '(' ( (lv_addr_49_0= ruleExpression ) ) otherlv_50= ')' ) | ( () otherlv_52= 'Read64' otherlv_53= '(' ( (lv_addr_54_0= ruleExpression ) ) otherlv_55= ')' ) | ( () otherlv_57= 'ReadAP' otherlv_58= '(' ( (lv_addr_59_0= ruleExpression ) ) otherlv_60= ')' ) | ( () otherlv_62= 'ReadDP' otherlv_63= '(' ( (lv_addr_64_0= ruleExpression ) ) otherlv_65= ')' ) | ( () otherlv_67= 'Write8' otherlv_68= '(' ( (lv_addr_69_0= ruleExpression ) ) otherlv_70= ',' ( (lv_val_71_0= ruleExpression ) ) otherlv_72= ')' ) | ( () otherlv_74= 'Write16' otherlv_75= '(' ( (lv_addr_76_0= ruleExpression ) ) otherlv_77= ',' ( (lv_val_78_0= ruleExpression ) ) otherlv_79= ')' ) | ( () otherlv_81= 'Write32' otherlv_82= '(' ( (lv_addr_83_0= ruleExpression ) ) otherlv_84= ',' ( (lv_val_85_0= ruleExpression ) ) otherlv_86= ')' ) | ( () otherlv_88= 'Write64' otherlv_89= '(' ( (lv_addr_90_0= ruleExpression ) ) otherlv_91= ',' ( (lv_val_92_0= ruleExpression ) ) otherlv_93= ')' ) | ( () otherlv_95= 'WriteAP' otherlv_96= '(' ( (lv_addr_97_0= ruleExpression ) ) otherlv_98= ',' ( (lv_val_99_0= ruleExpression ) ) otherlv_100= ')' ) | ( () otherlv_102= 'WriteDP' otherlv_103= '(' ( (lv_addr_104_0= ruleExpression ) ) otherlv_105= ',' ( (lv_val_106_0= ruleExpression ) ) otherlv_107= ')' ) | ( () otherlv_109= 'DAP_Delay' otherlv_110= '(' ( (lv_delay_111_0= ruleExpression ) ) otherlv_112= ')' ) | ( () otherlv_114= 'DAP_WriteABORT' otherlv_115= '(' ( (lv_value_116_0= ruleExpression ) ) otherlv_117= ')' ) | ( () otherlv_119= 'DAP_SWJ_Pins' otherlv_120= '(' ( (lv_pinout_121_0= ruleExpression ) ) otherlv_122= ',' ( (lv_pinselect_123_0= ruleExpression ) ) otherlv_124= ',' ( (lv_pinwait_125_0= ruleExpression ) ) otherlv_126= ')' ) | ( () otherlv_128= 'DAP_SWJ_Clock' otherlv_129= '(' ( (lv_value_130_0= ruleExpression ) ) otherlv_131= ')' ) | ( () otherlv_133= 'DAP_SWJ_Sequence' otherlv_134= '(' ( (lv_cnt_135_0= ruleExpression ) ) otherlv_136= ',' ( (lv_val_137_0= ruleExpression ) ) otherlv_138= ')' ) | ( () otherlv_140= 'DAP_JTAG_Sequence' otherlv_141= '(' ( (lv_cnt_142_0= ruleExpression ) ) otherlv_143= ',' ( (lv_tms_144_0= ruleExpression ) ) otherlv_145= ',' ( (lv_tdi_146_0= ruleExpression ) ) otherlv_147= ')' ) ) ) // InternalDebugSeq.g:2291:2: ( ( () otherlv_1= 'Sequence' otherlv_2= '(' otherlv_3= '\"' ( (lv_seqname_4_0= RULE_ID ) ) otherlv_5= '\"' otherlv_6= ')' ) | ( () otherlv_8= 'Query' otherlv_9= '(' ( (lv_type_10_0= ruleExpression ) ) otherlv_11= ',' ( (lv_message_12_0= RULE_STRING ) ) otherlv_13= ',' ( (lv_default_14_0= ruleExpression ) ) otherlv_15= ')' ) | ( () otherlv_17= 'QueryValue' otherlv_18= '(' ( (lv_message_19_0= RULE_STRING ) ) otherlv_20= ',' ( (lv_default_21_0= ruleExpression ) ) otherlv_22= ')' ) | ( () otherlv_24= 'Message' otherlv_25= '(' ( (lv_type_26_0= ruleExpression ) ) otherlv_27= ',' ( (lv_format_28_0= RULE_STRING ) ) ( (lv_parameters_29_0= ruleParameter ) )* otherlv_30= ')' ) | ( () otherlv_32= 'LoadDebugInfo' otherlv_33= '(' ( (lv_path_34_0= RULE_STRING ) ) otherlv_35= ')' ) | ( () otherlv_37= 'Read8' otherlv_38= '(' ( (lv_addr_39_0= ruleExpression ) ) otherlv_40= ')' ) | ( () otherlv_42= 'Read16' otherlv_43= '(' ( (lv_addr_44_0= ruleExpression ) ) otherlv_45= ')' ) | ( () otherlv_47= 'Read32' otherlv_48= '(' ( (lv_addr_49_0= ruleExpression ) ) otherlv_50= ')' ) | ( () otherlv_52= 'Read64' otherlv_53= '(' ( (lv_addr_54_0= ruleExpression ) ) otherlv_55= ')' ) | ( () otherlv_57= 'ReadAP' otherlv_58= '(' ( (lv_addr_59_0= ruleExpression ) ) otherlv_60= ')' ) | ( () otherlv_62= 'ReadDP' otherlv_63= '(' ( (lv_addr_64_0= ruleExpression ) ) otherlv_65= ')' ) | ( () otherlv_67= 'Write8' otherlv_68= '(' ( (lv_addr_69_0= ruleExpression ) ) otherlv_70= ',' ( (lv_val_71_0= ruleExpression ) ) otherlv_72= ')' ) | ( () otherlv_74= 'Write16' otherlv_75= '(' ( (lv_addr_76_0= ruleExpression ) ) otherlv_77= ',' ( (lv_val_78_0= ruleExpression ) ) otherlv_79= ')' ) | ( () otherlv_81= 'Write32' otherlv_82= '(' ( (lv_addr_83_0= ruleExpression ) ) otherlv_84= ',' ( (lv_val_85_0= ruleExpression ) ) otherlv_86= ')' ) | ( () otherlv_88= 'Write64' otherlv_89= '(' ( (lv_addr_90_0= ruleExpression ) ) otherlv_91= ',' ( (lv_val_92_0= ruleExpression ) ) otherlv_93= ')' ) | ( () otherlv_95= 'WriteAP' otherlv_96= '(' ( (lv_addr_97_0= ruleExpression ) ) otherlv_98= ',' ( (lv_val_99_0= ruleExpression ) ) otherlv_100= ')' ) | ( () otherlv_102= 'WriteDP' otherlv_103= '(' ( (lv_addr_104_0= ruleExpression ) ) otherlv_105= ',' ( (lv_val_106_0= ruleExpression ) ) otherlv_107= ')' ) | ( () otherlv_109= 'DAP_Delay' otherlv_110= '(' ( (lv_delay_111_0= ruleExpression ) ) otherlv_112= ')' ) | ( () otherlv_114= 'DAP_WriteABORT' otherlv_115= '(' ( (lv_value_116_0= ruleExpression ) ) otherlv_117= ')' ) | ( () otherlv_119= 'DAP_SWJ_Pins' otherlv_120= '(' ( (lv_pinout_121_0= ruleExpression ) ) otherlv_122= ',' ( (lv_pinselect_123_0= ruleExpression ) ) otherlv_124= ',' ( (lv_pinwait_125_0= ruleExpression ) ) otherlv_126= ')' ) | ( () otherlv_128= 'DAP_SWJ_Clock' otherlv_129= '(' ( (lv_value_130_0= ruleExpression ) ) otherlv_131= ')' ) | ( () otherlv_133= 'DAP_SWJ_Sequence' otherlv_134= '(' ( (lv_cnt_135_0= ruleExpression ) ) otherlv_136= ',' ( (lv_val_137_0= ruleExpression ) ) otherlv_138= ')' ) | ( () otherlv_140= 'DAP_JTAG_Sequence' otherlv_141= '(' ( (lv_cnt_142_0= ruleExpression ) ) otherlv_143= ',' ( (lv_tms_144_0= ruleExpression ) ) otherlv_145= ',' ( (lv_tdi_146_0= ruleExpression ) ) otherlv_147= ')' ) ) { // InternalDebugSeq.g:2291:2: ( ( () otherlv_1= 'Sequence' otherlv_2= '(' otherlv_3= '\"' ( (lv_seqname_4_0= RULE_ID ) ) otherlv_5= '\"' otherlv_6= ')' ) | ( () otherlv_8= 'Query' otherlv_9= '(' ( (lv_type_10_0= ruleExpression ) ) otherlv_11= ',' ( (lv_message_12_0= RULE_STRING ) ) otherlv_13= ',' ( (lv_default_14_0= ruleExpression ) ) otherlv_15= ')' ) | ( () otherlv_17= 'QueryValue' otherlv_18= '(' ( (lv_message_19_0= RULE_STRING ) ) otherlv_20= ',' ( (lv_default_21_0= ruleExpression ) ) otherlv_22= ')' ) | ( () otherlv_24= 'Message' otherlv_25= '(' ( (lv_type_26_0= ruleExpression ) ) otherlv_27= ',' ( (lv_format_28_0= RULE_STRING ) ) ( (lv_parameters_29_0= ruleParameter ) )* otherlv_30= ')' ) | ( () otherlv_32= 'LoadDebugInfo' otherlv_33= '(' ( (lv_path_34_0= RULE_STRING ) ) otherlv_35= ')' ) | ( () otherlv_37= 'Read8' otherlv_38= '(' ( (lv_addr_39_0= ruleExpression ) ) otherlv_40= ')' ) | ( () otherlv_42= 'Read16' otherlv_43= '(' ( (lv_addr_44_0= ruleExpression ) ) otherlv_45= ')' ) | ( () otherlv_47= 'Read32' otherlv_48= '(' ( (lv_addr_49_0= ruleExpression ) ) otherlv_50= ')' ) | ( () otherlv_52= 'Read64' otherlv_53= '(' ( (lv_addr_54_0= ruleExpression ) ) otherlv_55= ')' ) | ( () otherlv_57= 'ReadAP' otherlv_58= '(' ( (lv_addr_59_0= ruleExpression ) ) otherlv_60= ')' ) | ( () otherlv_62= 'ReadDP' otherlv_63= '(' ( (lv_addr_64_0= ruleExpression ) ) otherlv_65= ')' ) | ( () otherlv_67= 'Write8' otherlv_68= '(' ( (lv_addr_69_0= ruleExpression ) ) otherlv_70= ',' ( (lv_val_71_0= ruleExpression ) ) otherlv_72= ')' ) | ( () otherlv_74= 'Write16' otherlv_75= '(' ( (lv_addr_76_0= ruleExpression ) ) otherlv_77= ',' ( (lv_val_78_0= ruleExpression ) ) otherlv_79= ')' ) | ( () otherlv_81= 'Write32' otherlv_82= '(' ( (lv_addr_83_0= ruleExpression ) ) otherlv_84= ',' ( (lv_val_85_0= ruleExpression ) ) otherlv_86= ')' ) | ( () otherlv_88= 'Write64' otherlv_89= '(' ( (lv_addr_90_0= ruleExpression ) ) otherlv_91= ',' ( (lv_val_92_0= ruleExpression ) ) otherlv_93= ')' ) | ( () otherlv_95= 'WriteAP' otherlv_96= '(' ( (lv_addr_97_0= ruleExpression ) ) otherlv_98= ',' ( (lv_val_99_0= ruleExpression ) ) otherlv_100= ')' ) | ( () otherlv_102= 'WriteDP' otherlv_103= '(' ( (lv_addr_104_0= ruleExpression ) ) otherlv_105= ',' ( (lv_val_106_0= ruleExpression ) ) otherlv_107= ')' ) | ( () otherlv_109= 'DAP_Delay' otherlv_110= '(' ( (lv_delay_111_0= ruleExpression ) ) otherlv_112= ')' ) | ( () otherlv_114= 'DAP_WriteABORT' otherlv_115= '(' ( (lv_value_116_0= ruleExpression ) ) otherlv_117= ')' ) | ( () otherlv_119= 'DAP_SWJ_Pins' otherlv_120= '(' ( (lv_pinout_121_0= ruleExpression ) ) otherlv_122= ',' ( (lv_pinselect_123_0= ruleExpression ) ) otherlv_124= ',' ( (lv_pinwait_125_0= ruleExpression ) ) otherlv_126= ')' ) | ( () otherlv_128= 'DAP_SWJ_Clock' otherlv_129= '(' ( (lv_value_130_0= ruleExpression ) ) otherlv_131= ')' ) | ( () otherlv_133= 'DAP_SWJ_Sequence' otherlv_134= '(' ( (lv_cnt_135_0= ruleExpression ) ) otherlv_136= ',' ( (lv_val_137_0= ruleExpression ) ) otherlv_138= ')' ) | ( () otherlv_140= 'DAP_JTAG_Sequence' otherlv_141= '(' ( (lv_cnt_142_0= ruleExpression ) ) otherlv_143= ',' ( (lv_tms_144_0= ruleExpression ) ) otherlv_145= ',' ( (lv_tdi_146_0= ruleExpression ) ) otherlv_147= ')' ) ) int alt36=23; switch ( input.LA(1) ) { case 74: { alt36=1; } break; case 75: { alt36=2; } break; case 76: { alt36=3; } break; case 77: { alt36=4; } break; case 78: { alt36=5; } break; case 79: { alt36=6; } break; case 80: { alt36=7; } break; case 81: { alt36=8; } break; case 82: { alt36=9; } break; case 83: { alt36=10; } break; case 84: { alt36=11; } break; case 85: { alt36=12; } break; case 86: { alt36=13; } break; case 87: { alt36=14; } break; case 88: { alt36=15; } break; case 89: { alt36=16; } break; case 90: { alt36=17; } break; case 91: { alt36=18; } break; case 92: { alt36=19; } break; case 93: { alt36=20; } break; case 94: { alt36=21; } break; case 95: { alt36=22; } break; case 96: { alt36=23; } break; default: NoViableAltException nvae = new NoViableAltException("", 36, 0, input); throw nvae; } switch (alt36) { case 1 : // InternalDebugSeq.g:2292:3: ( () otherlv_1= 'Sequence' otherlv_2= '(' otherlv_3= '\"' ( (lv_seqname_4_0= RULE_ID ) ) otherlv_5= '\"' otherlv_6= ')' ) { // InternalDebugSeq.g:2292:3: ( () otherlv_1= 'Sequence' otherlv_2= '(' otherlv_3= '\"' ( (lv_seqname_4_0= RULE_ID ) ) otherlv_5= '\"' otherlv_6= ')' ) // InternalDebugSeq.g:2293:4: () otherlv_1= 'Sequence' otherlv_2= '(' otherlv_3= '\"' ( (lv_seqname_4_0= RULE_ID ) ) otherlv_5= '\"' otherlv_6= ')' { // InternalDebugSeq.g:2293:4: () // InternalDebugSeq.g:2294:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getSequenceCallAction_0_0(), current); } otherlv_1=(Token)match(input,74,FOLLOW_35); newLeafNode(otherlv_1, grammarAccess.getFunctionCallAccess().getSequenceKeyword_0_1()); otherlv_2=(Token)match(input,69,FOLLOW_13); newLeafNode(otherlv_2, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_0_2()); otherlv_3=(Token)match(input,26,FOLLOW_8); newLeafNode(otherlv_3, grammarAccess.getFunctionCallAccess().getQuotationMarkKeyword_0_3()); // InternalDebugSeq.g:2312:4: ( (lv_seqname_4_0= RULE_ID ) ) // InternalDebugSeq.g:2313:5: (lv_seqname_4_0= RULE_ID ) { // InternalDebugSeq.g:2313:5: (lv_seqname_4_0= RULE_ID ) // InternalDebugSeq.g:2314:6: lv_seqname_4_0= RULE_ID { lv_seqname_4_0=(Token)match(input,RULE_ID,FOLLOW_13); newLeafNode(lv_seqname_4_0, grammarAccess.getFunctionCallAccess().getSeqnameIDTerminalRuleCall_0_4_0()); if (current==null) { current = createModelElement(grammarAccess.getFunctionCallRule()); } setWithLastConsumed( current, "seqname", lv_seqname_4_0, "org.eclipse.xtext.common.Terminals.ID"); } } otherlv_5=(Token)match(input,26,FOLLOW_34); newLeafNode(otherlv_5, grammarAccess.getFunctionCallAccess().getQuotationMarkKeyword_0_5()); otherlv_6=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_6, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_0_6()); } } break; case 2 : // InternalDebugSeq.g:2340:3: ( () otherlv_8= 'Query' otherlv_9= '(' ( (lv_type_10_0= ruleExpression ) ) otherlv_11= ',' ( (lv_message_12_0= RULE_STRING ) ) otherlv_13= ',' ( (lv_default_14_0= ruleExpression ) ) otherlv_15= ')' ) { // InternalDebugSeq.g:2340:3: ( () otherlv_8= 'Query' otherlv_9= '(' ( (lv_type_10_0= ruleExpression ) ) otherlv_11= ',' ( (lv_message_12_0= RULE_STRING ) ) otherlv_13= ',' ( (lv_default_14_0= ruleExpression ) ) otherlv_15= ')' ) // InternalDebugSeq.g:2341:4: () otherlv_8= 'Query' otherlv_9= '(' ( (lv_type_10_0= ruleExpression ) ) otherlv_11= ',' ( (lv_message_12_0= RULE_STRING ) ) otherlv_13= ',' ( (lv_default_14_0= ruleExpression ) ) otherlv_15= ')' { // InternalDebugSeq.g:2341:4: () // InternalDebugSeq.g:2342:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getQueryAction_1_0(), current); } otherlv_8=(Token)match(input,75,FOLLOW_35); newLeafNode(otherlv_8, grammarAccess.getFunctionCallAccess().getQueryKeyword_1_1()); otherlv_9=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_9, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_1_2()); // InternalDebugSeq.g:2356:4: ( (lv_type_10_0= ruleExpression ) ) // InternalDebugSeq.g:2357:5: (lv_type_10_0= ruleExpression ) { // InternalDebugSeq.g:2357:5: (lv_type_10_0= ruleExpression ) // InternalDebugSeq.g:2358:6: lv_type_10_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getTypeExpressionParserRuleCall_1_3_0()); pushFollow(FOLLOW_36); lv_type_10_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "type", lv_type_10_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_11=(Token)match(input,73,FOLLOW_5); newLeafNode(otherlv_11, grammarAccess.getFunctionCallAccess().getCommaKeyword_1_4()); // InternalDebugSeq.g:2379:4: ( (lv_message_12_0= RULE_STRING ) ) // InternalDebugSeq.g:2380:5: (lv_message_12_0= RULE_STRING ) { // InternalDebugSeq.g:2380:5: (lv_message_12_0= RULE_STRING ) // InternalDebugSeq.g:2381:6: lv_message_12_0= RULE_STRING { lv_message_12_0=(Token)match(input,RULE_STRING,FOLLOW_36); newLeafNode(lv_message_12_0, grammarAccess.getFunctionCallAccess().getMessageSTRINGTerminalRuleCall_1_5_0()); if (current==null) { current = createModelElement(grammarAccess.getFunctionCallRule()); } setWithLastConsumed( current, "message", lv_message_12_0, "com.arm.cmsis.pack.debugseq.DebugSeq.STRING"); } } otherlv_13=(Token)match(input,73,FOLLOW_10); newLeafNode(otherlv_13, grammarAccess.getFunctionCallAccess().getCommaKeyword_1_6()); // InternalDebugSeq.g:2401:4: ( (lv_default_14_0= ruleExpression ) ) // InternalDebugSeq.g:2402:5: (lv_default_14_0= ruleExpression ) { // InternalDebugSeq.g:2402:5: (lv_default_14_0= ruleExpression ) // InternalDebugSeq.g:2403:6: lv_default_14_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getDefaultExpressionParserRuleCall_1_7_0()); pushFollow(FOLLOW_34); lv_default_14_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "default", lv_default_14_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_15=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_15, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_1_8()); } } break; case 3 : // InternalDebugSeq.g:2426:3: ( () otherlv_17= 'QueryValue' otherlv_18= '(' ( (lv_message_19_0= RULE_STRING ) ) otherlv_20= ',' ( (lv_default_21_0= ruleExpression ) ) otherlv_22= ')' ) { // InternalDebugSeq.g:2426:3: ( () otherlv_17= 'QueryValue' otherlv_18= '(' ( (lv_message_19_0= RULE_STRING ) ) otherlv_20= ',' ( (lv_default_21_0= ruleExpression ) ) otherlv_22= ')' ) // InternalDebugSeq.g:2427:4: () otherlv_17= 'QueryValue' otherlv_18= '(' ( (lv_message_19_0= RULE_STRING ) ) otherlv_20= ',' ( (lv_default_21_0= ruleExpression ) ) otherlv_22= ')' { // InternalDebugSeq.g:2427:4: () // InternalDebugSeq.g:2428:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getQueryValueAction_2_0(), current); } otherlv_17=(Token)match(input,76,FOLLOW_35); newLeafNode(otherlv_17, grammarAccess.getFunctionCallAccess().getQueryValueKeyword_2_1()); otherlv_18=(Token)match(input,69,FOLLOW_5); newLeafNode(otherlv_18, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_2_2()); // InternalDebugSeq.g:2442:4: ( (lv_message_19_0= RULE_STRING ) ) // InternalDebugSeq.g:2443:5: (lv_message_19_0= RULE_STRING ) { // InternalDebugSeq.g:2443:5: (lv_message_19_0= RULE_STRING ) // InternalDebugSeq.g:2444:6: lv_message_19_0= RULE_STRING { lv_message_19_0=(Token)match(input,RULE_STRING,FOLLOW_36); newLeafNode(lv_message_19_0, grammarAccess.getFunctionCallAccess().getMessageSTRINGTerminalRuleCall_2_3_0()); if (current==null) { current = createModelElement(grammarAccess.getFunctionCallRule()); } setWithLastConsumed( current, "message", lv_message_19_0, "com.arm.cmsis.pack.debugseq.DebugSeq.STRING"); } } otherlv_20=(Token)match(input,73,FOLLOW_10); newLeafNode(otherlv_20, grammarAccess.getFunctionCallAccess().getCommaKeyword_2_4()); // InternalDebugSeq.g:2464:4: ( (lv_default_21_0= ruleExpression ) ) // InternalDebugSeq.g:2465:5: (lv_default_21_0= ruleExpression ) { // InternalDebugSeq.g:2465:5: (lv_default_21_0= ruleExpression ) // InternalDebugSeq.g:2466:6: lv_default_21_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getDefaultExpressionParserRuleCall_2_5_0()); pushFollow(FOLLOW_34); lv_default_21_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "default", lv_default_21_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_22=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_22, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_2_6()); } } break; case 4 : // InternalDebugSeq.g:2489:3: ( () otherlv_24= 'Message' otherlv_25= '(' ( (lv_type_26_0= ruleExpression ) ) otherlv_27= ',' ( (lv_format_28_0= RULE_STRING ) ) ( (lv_parameters_29_0= ruleParameter ) )* otherlv_30= ')' ) { // InternalDebugSeq.g:2489:3: ( () otherlv_24= 'Message' otherlv_25= '(' ( (lv_type_26_0= ruleExpression ) ) otherlv_27= ',' ( (lv_format_28_0= RULE_STRING ) ) ( (lv_parameters_29_0= ruleParameter ) )* otherlv_30= ')' ) // InternalDebugSeq.g:2490:4: () otherlv_24= 'Message' otherlv_25= '(' ( (lv_type_26_0= ruleExpression ) ) otherlv_27= ',' ( (lv_format_28_0= RULE_STRING ) ) ( (lv_parameters_29_0= ruleParameter ) )* otherlv_30= ')' { // InternalDebugSeq.g:2490:4: () // InternalDebugSeq.g:2491:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getMessageAction_3_0(), current); } otherlv_24=(Token)match(input,77,FOLLOW_35); newLeafNode(otherlv_24, grammarAccess.getFunctionCallAccess().getMessageKeyword_3_1()); otherlv_25=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_25, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_3_2()); // InternalDebugSeq.g:2505:4: ( (lv_type_26_0= ruleExpression ) ) // InternalDebugSeq.g:2506:5: (lv_type_26_0= ruleExpression ) { // InternalDebugSeq.g:2506:5: (lv_type_26_0= ruleExpression ) // InternalDebugSeq.g:2507:6: lv_type_26_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getTypeExpressionParserRuleCall_3_3_0()); pushFollow(FOLLOW_36); lv_type_26_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "type", lv_type_26_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_27=(Token)match(input,73,FOLLOW_5); newLeafNode(otherlv_27, grammarAccess.getFunctionCallAccess().getCommaKeyword_3_4()); // InternalDebugSeq.g:2528:4: ( (lv_format_28_0= RULE_STRING ) ) // InternalDebugSeq.g:2529:5: (lv_format_28_0= RULE_STRING ) { // InternalDebugSeq.g:2529:5: (lv_format_28_0= RULE_STRING ) // InternalDebugSeq.g:2530:6: lv_format_28_0= RULE_STRING { lv_format_28_0=(Token)match(input,RULE_STRING,FOLLOW_37); newLeafNode(lv_format_28_0, grammarAccess.getFunctionCallAccess().getFormatSTRINGTerminalRuleCall_3_5_0()); if (current==null) { current = createModelElement(grammarAccess.getFunctionCallRule()); } setWithLastConsumed( current, "format", lv_format_28_0, "com.arm.cmsis.pack.debugseq.DebugSeq.STRING"); } } // InternalDebugSeq.g:2546:4: ( (lv_parameters_29_0= ruleParameter ) )* loop35: do { int alt35=2; int LA35_0 = input.LA(1); if ( (LA35_0==73) ) { alt35=1; } switch (alt35) { case 1 : // InternalDebugSeq.g:2547:5: (lv_parameters_29_0= ruleParameter ) { // InternalDebugSeq.g:2547:5: (lv_parameters_29_0= ruleParameter ) // InternalDebugSeq.g:2548:6: lv_parameters_29_0= ruleParameter { newCompositeNode(grammarAccess.getFunctionCallAccess().getParametersParameterParserRuleCall_3_6_0()); pushFollow(FOLLOW_37); lv_parameters_29_0=ruleParameter(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } add( current, "parameters", lv_parameters_29_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Parameter"); afterParserOrEnumRuleCall(); } } break; default : break loop35; } } while (true); otherlv_30=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_30, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_3_7()); } } break; case 5 : // InternalDebugSeq.g:2571:3: ( () otherlv_32= 'LoadDebugInfo' otherlv_33= '(' ( (lv_path_34_0= RULE_STRING ) ) otherlv_35= ')' ) { // InternalDebugSeq.g:2571:3: ( () otherlv_32= 'LoadDebugInfo' otherlv_33= '(' ( (lv_path_34_0= RULE_STRING ) ) otherlv_35= ')' ) // InternalDebugSeq.g:2572:4: () otherlv_32= 'LoadDebugInfo' otherlv_33= '(' ( (lv_path_34_0= RULE_STRING ) ) otherlv_35= ')' { // InternalDebugSeq.g:2572:4: () // InternalDebugSeq.g:2573:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getLoadDebugInfoAction_4_0(), current); } otherlv_32=(Token)match(input,78,FOLLOW_35); newLeafNode(otherlv_32, grammarAccess.getFunctionCallAccess().getLoadDebugInfoKeyword_4_1()); otherlv_33=(Token)match(input,69,FOLLOW_5); newLeafNode(otherlv_33, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_4_2()); // InternalDebugSeq.g:2587:4: ( (lv_path_34_0= RULE_STRING ) ) // InternalDebugSeq.g:2588:5: (lv_path_34_0= RULE_STRING ) { // InternalDebugSeq.g:2588:5: (lv_path_34_0= RULE_STRING ) // InternalDebugSeq.g:2589:6: lv_path_34_0= RULE_STRING { lv_path_34_0=(Token)match(input,RULE_STRING,FOLLOW_34); newLeafNode(lv_path_34_0, grammarAccess.getFunctionCallAccess().getPathSTRINGTerminalRuleCall_4_3_0()); if (current==null) { current = createModelElement(grammarAccess.getFunctionCallRule()); } setWithLastConsumed( current, "path", lv_path_34_0, "com.arm.cmsis.pack.debugseq.DebugSeq.STRING"); } } otherlv_35=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_35, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_4_4()); } } break; case 6 : // InternalDebugSeq.g:2611:3: ( () otherlv_37= 'Read8' otherlv_38= '(' ( (lv_addr_39_0= ruleExpression ) ) otherlv_40= ')' ) { // InternalDebugSeq.g:2611:3: ( () otherlv_37= 'Read8' otherlv_38= '(' ( (lv_addr_39_0= ruleExpression ) ) otherlv_40= ')' ) // InternalDebugSeq.g:2612:4: () otherlv_37= 'Read8' otherlv_38= '(' ( (lv_addr_39_0= ruleExpression ) ) otherlv_40= ')' { // InternalDebugSeq.g:2612:4: () // InternalDebugSeq.g:2613:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getRead8Action_5_0(), current); } otherlv_37=(Token)match(input,79,FOLLOW_35); newLeafNode(otherlv_37, grammarAccess.getFunctionCallAccess().getRead8Keyword_5_1()); otherlv_38=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_38, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_5_2()); // InternalDebugSeq.g:2627:4: ( (lv_addr_39_0= ruleExpression ) ) // InternalDebugSeq.g:2628:5: (lv_addr_39_0= ruleExpression ) { // InternalDebugSeq.g:2628:5: (lv_addr_39_0= ruleExpression ) // InternalDebugSeq.g:2629:6: lv_addr_39_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getAddrExpressionParserRuleCall_5_3_0()); pushFollow(FOLLOW_34); lv_addr_39_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "addr", lv_addr_39_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_40=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_40, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_5_4()); } } break; case 7 : // InternalDebugSeq.g:2652:3: ( () otherlv_42= 'Read16' otherlv_43= '(' ( (lv_addr_44_0= ruleExpression ) ) otherlv_45= ')' ) { // InternalDebugSeq.g:2652:3: ( () otherlv_42= 'Read16' otherlv_43= '(' ( (lv_addr_44_0= ruleExpression ) ) otherlv_45= ')' ) // InternalDebugSeq.g:2653:4: () otherlv_42= 'Read16' otherlv_43= '(' ( (lv_addr_44_0= ruleExpression ) ) otherlv_45= ')' { // InternalDebugSeq.g:2653:4: () // InternalDebugSeq.g:2654:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getRead16Action_6_0(), current); } otherlv_42=(Token)match(input,80,FOLLOW_35); newLeafNode(otherlv_42, grammarAccess.getFunctionCallAccess().getRead16Keyword_6_1()); otherlv_43=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_43, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_6_2()); // InternalDebugSeq.g:2668:4: ( (lv_addr_44_0= ruleExpression ) ) // InternalDebugSeq.g:2669:5: (lv_addr_44_0= ruleExpression ) { // InternalDebugSeq.g:2669:5: (lv_addr_44_0= ruleExpression ) // InternalDebugSeq.g:2670:6: lv_addr_44_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getAddrExpressionParserRuleCall_6_3_0()); pushFollow(FOLLOW_34); lv_addr_44_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "addr", lv_addr_44_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_45=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_45, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_6_4()); } } break; case 8 : // InternalDebugSeq.g:2693:3: ( () otherlv_47= 'Read32' otherlv_48= '(' ( (lv_addr_49_0= ruleExpression ) ) otherlv_50= ')' ) { // InternalDebugSeq.g:2693:3: ( () otherlv_47= 'Read32' otherlv_48= '(' ( (lv_addr_49_0= ruleExpression ) ) otherlv_50= ')' ) // InternalDebugSeq.g:2694:4: () otherlv_47= 'Read32' otherlv_48= '(' ( (lv_addr_49_0= ruleExpression ) ) otherlv_50= ')' { // InternalDebugSeq.g:2694:4: () // InternalDebugSeq.g:2695:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getRead32Action_7_0(), current); } otherlv_47=(Token)match(input,81,FOLLOW_35); newLeafNode(otherlv_47, grammarAccess.getFunctionCallAccess().getRead32Keyword_7_1()); otherlv_48=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_48, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_7_2()); // InternalDebugSeq.g:2709:4: ( (lv_addr_49_0= ruleExpression ) ) // InternalDebugSeq.g:2710:5: (lv_addr_49_0= ruleExpression ) { // InternalDebugSeq.g:2710:5: (lv_addr_49_0= ruleExpression ) // InternalDebugSeq.g:2711:6: lv_addr_49_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getAddrExpressionParserRuleCall_7_3_0()); pushFollow(FOLLOW_34); lv_addr_49_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "addr", lv_addr_49_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_50=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_50, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_7_4()); } } break; case 9 : // InternalDebugSeq.g:2734:3: ( () otherlv_52= 'Read64' otherlv_53= '(' ( (lv_addr_54_0= ruleExpression ) ) otherlv_55= ')' ) { // InternalDebugSeq.g:2734:3: ( () otherlv_52= 'Read64' otherlv_53= '(' ( (lv_addr_54_0= ruleExpression ) ) otherlv_55= ')' ) // InternalDebugSeq.g:2735:4: () otherlv_52= 'Read64' otherlv_53= '(' ( (lv_addr_54_0= ruleExpression ) ) otherlv_55= ')' { // InternalDebugSeq.g:2735:4: () // InternalDebugSeq.g:2736:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getRead64Action_8_0(), current); } otherlv_52=(Token)match(input,82,FOLLOW_35); newLeafNode(otherlv_52, grammarAccess.getFunctionCallAccess().getRead64Keyword_8_1()); otherlv_53=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_53, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_8_2()); // InternalDebugSeq.g:2750:4: ( (lv_addr_54_0= ruleExpression ) ) // InternalDebugSeq.g:2751:5: (lv_addr_54_0= ruleExpression ) { // InternalDebugSeq.g:2751:5: (lv_addr_54_0= ruleExpression ) // InternalDebugSeq.g:2752:6: lv_addr_54_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getAddrExpressionParserRuleCall_8_3_0()); pushFollow(FOLLOW_34); lv_addr_54_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "addr", lv_addr_54_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_55=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_55, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_8_4()); } } break; case 10 : // InternalDebugSeq.g:2775:3: ( () otherlv_57= 'ReadAP' otherlv_58= '(' ( (lv_addr_59_0= ruleExpression ) ) otherlv_60= ')' ) { // InternalDebugSeq.g:2775:3: ( () otherlv_57= 'ReadAP' otherlv_58= '(' ( (lv_addr_59_0= ruleExpression ) ) otherlv_60= ')' ) // InternalDebugSeq.g:2776:4: () otherlv_57= 'ReadAP' otherlv_58= '(' ( (lv_addr_59_0= ruleExpression ) ) otherlv_60= ')' { // InternalDebugSeq.g:2776:4: () // InternalDebugSeq.g:2777:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getReadAPAction_9_0(), current); } otherlv_57=(Token)match(input,83,FOLLOW_35); newLeafNode(otherlv_57, grammarAccess.getFunctionCallAccess().getReadAPKeyword_9_1()); otherlv_58=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_58, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_9_2()); // InternalDebugSeq.g:2791:4: ( (lv_addr_59_0= ruleExpression ) ) // InternalDebugSeq.g:2792:5: (lv_addr_59_0= ruleExpression ) { // InternalDebugSeq.g:2792:5: (lv_addr_59_0= ruleExpression ) // InternalDebugSeq.g:2793:6: lv_addr_59_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getAddrExpressionParserRuleCall_9_3_0()); pushFollow(FOLLOW_34); lv_addr_59_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "addr", lv_addr_59_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_60=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_60, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_9_4()); } } break; case 11 : // InternalDebugSeq.g:2816:3: ( () otherlv_62= 'ReadDP' otherlv_63= '(' ( (lv_addr_64_0= ruleExpression ) ) otherlv_65= ')' ) { // InternalDebugSeq.g:2816:3: ( () otherlv_62= 'ReadDP' otherlv_63= '(' ( (lv_addr_64_0= ruleExpression ) ) otherlv_65= ')' ) // InternalDebugSeq.g:2817:4: () otherlv_62= 'ReadDP' otherlv_63= '(' ( (lv_addr_64_0= ruleExpression ) ) otherlv_65= ')' { // InternalDebugSeq.g:2817:4: () // InternalDebugSeq.g:2818:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getReadDPAction_10_0(), current); } otherlv_62=(Token)match(input,84,FOLLOW_35); newLeafNode(otherlv_62, grammarAccess.getFunctionCallAccess().getReadDPKeyword_10_1()); otherlv_63=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_63, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_10_2()); // InternalDebugSeq.g:2832:4: ( (lv_addr_64_0= ruleExpression ) ) // InternalDebugSeq.g:2833:5: (lv_addr_64_0= ruleExpression ) { // InternalDebugSeq.g:2833:5: (lv_addr_64_0= ruleExpression ) // InternalDebugSeq.g:2834:6: lv_addr_64_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getAddrExpressionParserRuleCall_10_3_0()); pushFollow(FOLLOW_34); lv_addr_64_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "addr", lv_addr_64_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_65=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_65, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_10_4()); } } break; case 12 : // InternalDebugSeq.g:2857:3: ( () otherlv_67= 'Write8' otherlv_68= '(' ( (lv_addr_69_0= ruleExpression ) ) otherlv_70= ',' ( (lv_val_71_0= ruleExpression ) ) otherlv_72= ')' ) { // InternalDebugSeq.g:2857:3: ( () otherlv_67= 'Write8' otherlv_68= '(' ( (lv_addr_69_0= ruleExpression ) ) otherlv_70= ',' ( (lv_val_71_0= ruleExpression ) ) otherlv_72= ')' ) // InternalDebugSeq.g:2858:4: () otherlv_67= 'Write8' otherlv_68= '(' ( (lv_addr_69_0= ruleExpression ) ) otherlv_70= ',' ( (lv_val_71_0= ruleExpression ) ) otherlv_72= ')' { // InternalDebugSeq.g:2858:4: () // InternalDebugSeq.g:2859:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getWrite8Action_11_0(), current); } otherlv_67=(Token)match(input,85,FOLLOW_35); newLeafNode(otherlv_67, grammarAccess.getFunctionCallAccess().getWrite8Keyword_11_1()); otherlv_68=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_68, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_11_2()); // InternalDebugSeq.g:2873:4: ( (lv_addr_69_0= ruleExpression ) ) // InternalDebugSeq.g:2874:5: (lv_addr_69_0= ruleExpression ) { // InternalDebugSeq.g:2874:5: (lv_addr_69_0= ruleExpression ) // InternalDebugSeq.g:2875:6: lv_addr_69_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getAddrExpressionParserRuleCall_11_3_0()); pushFollow(FOLLOW_36); lv_addr_69_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "addr", lv_addr_69_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_70=(Token)match(input,73,FOLLOW_10); newLeafNode(otherlv_70, grammarAccess.getFunctionCallAccess().getCommaKeyword_11_4()); // InternalDebugSeq.g:2896:4: ( (lv_val_71_0= ruleExpression ) ) // InternalDebugSeq.g:2897:5: (lv_val_71_0= ruleExpression ) { // InternalDebugSeq.g:2897:5: (lv_val_71_0= ruleExpression ) // InternalDebugSeq.g:2898:6: lv_val_71_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getValExpressionParserRuleCall_11_5_0()); pushFollow(FOLLOW_34); lv_val_71_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "val", lv_val_71_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_72=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_72, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_11_6()); } } break; case 13 : // InternalDebugSeq.g:2921:3: ( () otherlv_74= 'Write16' otherlv_75= '(' ( (lv_addr_76_0= ruleExpression ) ) otherlv_77= ',' ( (lv_val_78_0= ruleExpression ) ) otherlv_79= ')' ) { // InternalDebugSeq.g:2921:3: ( () otherlv_74= 'Write16' otherlv_75= '(' ( (lv_addr_76_0= ruleExpression ) ) otherlv_77= ',' ( (lv_val_78_0= ruleExpression ) ) otherlv_79= ')' ) // InternalDebugSeq.g:2922:4: () otherlv_74= 'Write16' otherlv_75= '(' ( (lv_addr_76_0= ruleExpression ) ) otherlv_77= ',' ( (lv_val_78_0= ruleExpression ) ) otherlv_79= ')' { // InternalDebugSeq.g:2922:4: () // InternalDebugSeq.g:2923:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getWrite16Action_12_0(), current); } otherlv_74=(Token)match(input,86,FOLLOW_35); newLeafNode(otherlv_74, grammarAccess.getFunctionCallAccess().getWrite16Keyword_12_1()); otherlv_75=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_75, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_12_2()); // InternalDebugSeq.g:2937:4: ( (lv_addr_76_0= ruleExpression ) ) // InternalDebugSeq.g:2938:5: (lv_addr_76_0= ruleExpression ) { // InternalDebugSeq.g:2938:5: (lv_addr_76_0= ruleExpression ) // InternalDebugSeq.g:2939:6: lv_addr_76_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getAddrExpressionParserRuleCall_12_3_0()); pushFollow(FOLLOW_36); lv_addr_76_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "addr", lv_addr_76_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_77=(Token)match(input,73,FOLLOW_10); newLeafNode(otherlv_77, grammarAccess.getFunctionCallAccess().getCommaKeyword_12_4()); // InternalDebugSeq.g:2960:4: ( (lv_val_78_0= ruleExpression ) ) // InternalDebugSeq.g:2961:5: (lv_val_78_0= ruleExpression ) { // InternalDebugSeq.g:2961:5: (lv_val_78_0= ruleExpression ) // InternalDebugSeq.g:2962:6: lv_val_78_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getValExpressionParserRuleCall_12_5_0()); pushFollow(FOLLOW_34); lv_val_78_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "val", lv_val_78_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_79=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_79, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_12_6()); } } break; case 14 : // InternalDebugSeq.g:2985:3: ( () otherlv_81= 'Write32' otherlv_82= '(' ( (lv_addr_83_0= ruleExpression ) ) otherlv_84= ',' ( (lv_val_85_0= ruleExpression ) ) otherlv_86= ')' ) { // InternalDebugSeq.g:2985:3: ( () otherlv_81= 'Write32' otherlv_82= '(' ( (lv_addr_83_0= ruleExpression ) ) otherlv_84= ',' ( (lv_val_85_0= ruleExpression ) ) otherlv_86= ')' ) // InternalDebugSeq.g:2986:4: () otherlv_81= 'Write32' otherlv_82= '(' ( (lv_addr_83_0= ruleExpression ) ) otherlv_84= ',' ( (lv_val_85_0= ruleExpression ) ) otherlv_86= ')' { // InternalDebugSeq.g:2986:4: () // InternalDebugSeq.g:2987:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getWrite32Action_13_0(), current); } otherlv_81=(Token)match(input,87,FOLLOW_35); newLeafNode(otherlv_81, grammarAccess.getFunctionCallAccess().getWrite32Keyword_13_1()); otherlv_82=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_82, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_13_2()); // InternalDebugSeq.g:3001:4: ( (lv_addr_83_0= ruleExpression ) ) // InternalDebugSeq.g:3002:5: (lv_addr_83_0= ruleExpression ) { // InternalDebugSeq.g:3002:5: (lv_addr_83_0= ruleExpression ) // InternalDebugSeq.g:3003:6: lv_addr_83_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getAddrExpressionParserRuleCall_13_3_0()); pushFollow(FOLLOW_36); lv_addr_83_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "addr", lv_addr_83_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_84=(Token)match(input,73,FOLLOW_10); newLeafNode(otherlv_84, grammarAccess.getFunctionCallAccess().getCommaKeyword_13_4()); // InternalDebugSeq.g:3024:4: ( (lv_val_85_0= ruleExpression ) ) // InternalDebugSeq.g:3025:5: (lv_val_85_0= ruleExpression ) { // InternalDebugSeq.g:3025:5: (lv_val_85_0= ruleExpression ) // InternalDebugSeq.g:3026:6: lv_val_85_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getValExpressionParserRuleCall_13_5_0()); pushFollow(FOLLOW_34); lv_val_85_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "val", lv_val_85_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_86=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_86, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_13_6()); } } break; case 15 : // InternalDebugSeq.g:3049:3: ( () otherlv_88= 'Write64' otherlv_89= '(' ( (lv_addr_90_0= ruleExpression ) ) otherlv_91= ',' ( (lv_val_92_0= ruleExpression ) ) otherlv_93= ')' ) { // InternalDebugSeq.g:3049:3: ( () otherlv_88= 'Write64' otherlv_89= '(' ( (lv_addr_90_0= ruleExpression ) ) otherlv_91= ',' ( (lv_val_92_0= ruleExpression ) ) otherlv_93= ')' ) // InternalDebugSeq.g:3050:4: () otherlv_88= 'Write64' otherlv_89= '(' ( (lv_addr_90_0= ruleExpression ) ) otherlv_91= ',' ( (lv_val_92_0= ruleExpression ) ) otherlv_93= ')' { // InternalDebugSeq.g:3050:4: () // InternalDebugSeq.g:3051:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getWrite64Action_14_0(), current); } otherlv_88=(Token)match(input,88,FOLLOW_35); newLeafNode(otherlv_88, grammarAccess.getFunctionCallAccess().getWrite64Keyword_14_1()); otherlv_89=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_89, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_14_2()); // InternalDebugSeq.g:3065:4: ( (lv_addr_90_0= ruleExpression ) ) // InternalDebugSeq.g:3066:5: (lv_addr_90_0= ruleExpression ) { // InternalDebugSeq.g:3066:5: (lv_addr_90_0= ruleExpression ) // InternalDebugSeq.g:3067:6: lv_addr_90_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getAddrExpressionParserRuleCall_14_3_0()); pushFollow(FOLLOW_36); lv_addr_90_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "addr", lv_addr_90_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_91=(Token)match(input,73,FOLLOW_10); newLeafNode(otherlv_91, grammarAccess.getFunctionCallAccess().getCommaKeyword_14_4()); // InternalDebugSeq.g:3088:4: ( (lv_val_92_0= ruleExpression ) ) // InternalDebugSeq.g:3089:5: (lv_val_92_0= ruleExpression ) { // InternalDebugSeq.g:3089:5: (lv_val_92_0= ruleExpression ) // InternalDebugSeq.g:3090:6: lv_val_92_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getValExpressionParserRuleCall_14_5_0()); pushFollow(FOLLOW_34); lv_val_92_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "val", lv_val_92_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_93=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_93, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_14_6()); } } break; case 16 : // InternalDebugSeq.g:3113:3: ( () otherlv_95= 'WriteAP' otherlv_96= '(' ( (lv_addr_97_0= ruleExpression ) ) otherlv_98= ',' ( (lv_val_99_0= ruleExpression ) ) otherlv_100= ')' ) { // InternalDebugSeq.g:3113:3: ( () otherlv_95= 'WriteAP' otherlv_96= '(' ( (lv_addr_97_0= ruleExpression ) ) otherlv_98= ',' ( (lv_val_99_0= ruleExpression ) ) otherlv_100= ')' ) // InternalDebugSeq.g:3114:4: () otherlv_95= 'WriteAP' otherlv_96= '(' ( (lv_addr_97_0= ruleExpression ) ) otherlv_98= ',' ( (lv_val_99_0= ruleExpression ) ) otherlv_100= ')' { // InternalDebugSeq.g:3114:4: () // InternalDebugSeq.g:3115:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getWriteAPAction_15_0(), current); } otherlv_95=(Token)match(input,89,FOLLOW_35); newLeafNode(otherlv_95, grammarAccess.getFunctionCallAccess().getWriteAPKeyword_15_1()); otherlv_96=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_96, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_15_2()); // InternalDebugSeq.g:3129:4: ( (lv_addr_97_0= ruleExpression ) ) // InternalDebugSeq.g:3130:5: (lv_addr_97_0= ruleExpression ) { // InternalDebugSeq.g:3130:5: (lv_addr_97_0= ruleExpression ) // InternalDebugSeq.g:3131:6: lv_addr_97_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getAddrExpressionParserRuleCall_15_3_0()); pushFollow(FOLLOW_36); lv_addr_97_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "addr", lv_addr_97_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_98=(Token)match(input,73,FOLLOW_10); newLeafNode(otherlv_98, grammarAccess.getFunctionCallAccess().getCommaKeyword_15_4()); // InternalDebugSeq.g:3152:4: ( (lv_val_99_0= ruleExpression ) ) // InternalDebugSeq.g:3153:5: (lv_val_99_0= ruleExpression ) { // InternalDebugSeq.g:3153:5: (lv_val_99_0= ruleExpression ) // InternalDebugSeq.g:3154:6: lv_val_99_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getValExpressionParserRuleCall_15_5_0()); pushFollow(FOLLOW_34); lv_val_99_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "val", lv_val_99_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_100=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_100, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_15_6()); } } break; case 17 : // InternalDebugSeq.g:3177:3: ( () otherlv_102= 'WriteDP' otherlv_103= '(' ( (lv_addr_104_0= ruleExpression ) ) otherlv_105= ',' ( (lv_val_106_0= ruleExpression ) ) otherlv_107= ')' ) { // InternalDebugSeq.g:3177:3: ( () otherlv_102= 'WriteDP' otherlv_103= '(' ( (lv_addr_104_0= ruleExpression ) ) otherlv_105= ',' ( (lv_val_106_0= ruleExpression ) ) otherlv_107= ')' ) // InternalDebugSeq.g:3178:4: () otherlv_102= 'WriteDP' otherlv_103= '(' ( (lv_addr_104_0= ruleExpression ) ) otherlv_105= ',' ( (lv_val_106_0= ruleExpression ) ) otherlv_107= ')' { // InternalDebugSeq.g:3178:4: () // InternalDebugSeq.g:3179:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getWriteDPAction_16_0(), current); } otherlv_102=(Token)match(input,90,FOLLOW_35); newLeafNode(otherlv_102, grammarAccess.getFunctionCallAccess().getWriteDPKeyword_16_1()); otherlv_103=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_103, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_16_2()); // InternalDebugSeq.g:3193:4: ( (lv_addr_104_0= ruleExpression ) ) // InternalDebugSeq.g:3194:5: (lv_addr_104_0= ruleExpression ) { // InternalDebugSeq.g:3194:5: (lv_addr_104_0= ruleExpression ) // InternalDebugSeq.g:3195:6: lv_addr_104_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getAddrExpressionParserRuleCall_16_3_0()); pushFollow(FOLLOW_36); lv_addr_104_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "addr", lv_addr_104_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_105=(Token)match(input,73,FOLLOW_10); newLeafNode(otherlv_105, grammarAccess.getFunctionCallAccess().getCommaKeyword_16_4()); // InternalDebugSeq.g:3216:4: ( (lv_val_106_0= ruleExpression ) ) // InternalDebugSeq.g:3217:5: (lv_val_106_0= ruleExpression ) { // InternalDebugSeq.g:3217:5: (lv_val_106_0= ruleExpression ) // InternalDebugSeq.g:3218:6: lv_val_106_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getValExpressionParserRuleCall_16_5_0()); pushFollow(FOLLOW_34); lv_val_106_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "val", lv_val_106_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_107=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_107, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_16_6()); } } break; case 18 : // InternalDebugSeq.g:3241:3: ( () otherlv_109= 'DAP_Delay' otherlv_110= '(' ( (lv_delay_111_0= ruleExpression ) ) otherlv_112= ')' ) { // InternalDebugSeq.g:3241:3: ( () otherlv_109= 'DAP_Delay' otherlv_110= '(' ( (lv_delay_111_0= ruleExpression ) ) otherlv_112= ')' ) // InternalDebugSeq.g:3242:4: () otherlv_109= 'DAP_Delay' otherlv_110= '(' ( (lv_delay_111_0= ruleExpression ) ) otherlv_112= ')' { // InternalDebugSeq.g:3242:4: () // InternalDebugSeq.g:3243:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getDapDelayAction_17_0(), current); } otherlv_109=(Token)match(input,91,FOLLOW_35); newLeafNode(otherlv_109, grammarAccess.getFunctionCallAccess().getDAP_DelayKeyword_17_1()); otherlv_110=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_110, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_17_2()); // InternalDebugSeq.g:3257:4: ( (lv_delay_111_0= ruleExpression ) ) // InternalDebugSeq.g:3258:5: (lv_delay_111_0= ruleExpression ) { // InternalDebugSeq.g:3258:5: (lv_delay_111_0= ruleExpression ) // InternalDebugSeq.g:3259:6: lv_delay_111_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getDelayExpressionParserRuleCall_17_3_0()); pushFollow(FOLLOW_34); lv_delay_111_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "delay", lv_delay_111_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_112=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_112, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_17_4()); } } break; case 19 : // InternalDebugSeq.g:3282:3: ( () otherlv_114= 'DAP_WriteABORT' otherlv_115= '(' ( (lv_value_116_0= ruleExpression ) ) otherlv_117= ')' ) { // InternalDebugSeq.g:3282:3: ( () otherlv_114= 'DAP_WriteABORT' otherlv_115= '(' ( (lv_value_116_0= ruleExpression ) ) otherlv_117= ')' ) // InternalDebugSeq.g:3283:4: () otherlv_114= 'DAP_WriteABORT' otherlv_115= '(' ( (lv_value_116_0= ruleExpression ) ) otherlv_117= ')' { // InternalDebugSeq.g:3283:4: () // InternalDebugSeq.g:3284:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getDapWriteABORTAction_18_0(), current); } otherlv_114=(Token)match(input,92,FOLLOW_35); newLeafNode(otherlv_114, grammarAccess.getFunctionCallAccess().getDAP_WriteABORTKeyword_18_1()); otherlv_115=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_115, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_18_2()); // InternalDebugSeq.g:3298:4: ( (lv_value_116_0= ruleExpression ) ) // InternalDebugSeq.g:3299:5: (lv_value_116_0= ruleExpression ) { // InternalDebugSeq.g:3299:5: (lv_value_116_0= ruleExpression ) // InternalDebugSeq.g:3300:6: lv_value_116_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getValueExpressionParserRuleCall_18_3_0()); pushFollow(FOLLOW_34); lv_value_116_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "value", lv_value_116_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_117=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_117, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_18_4()); } } break; case 20 : // InternalDebugSeq.g:3323:3: ( () otherlv_119= 'DAP_SWJ_Pins' otherlv_120= '(' ( (lv_pinout_121_0= ruleExpression ) ) otherlv_122= ',' ( (lv_pinselect_123_0= ruleExpression ) ) otherlv_124= ',' ( (lv_pinwait_125_0= ruleExpression ) ) otherlv_126= ')' ) { // InternalDebugSeq.g:3323:3: ( () otherlv_119= 'DAP_SWJ_Pins' otherlv_120= '(' ( (lv_pinout_121_0= ruleExpression ) ) otherlv_122= ',' ( (lv_pinselect_123_0= ruleExpression ) ) otherlv_124= ',' ( (lv_pinwait_125_0= ruleExpression ) ) otherlv_126= ')' ) // InternalDebugSeq.g:3324:4: () otherlv_119= 'DAP_SWJ_Pins' otherlv_120= '(' ( (lv_pinout_121_0= ruleExpression ) ) otherlv_122= ',' ( (lv_pinselect_123_0= ruleExpression ) ) otherlv_124= ',' ( (lv_pinwait_125_0= ruleExpression ) ) otherlv_126= ')' { // InternalDebugSeq.g:3324:4: () // InternalDebugSeq.g:3325:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getDapSwjPinsAction_19_0(), current); } otherlv_119=(Token)match(input,93,FOLLOW_35); newLeafNode(otherlv_119, grammarAccess.getFunctionCallAccess().getDAP_SWJ_PinsKeyword_19_1()); otherlv_120=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_120, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_19_2()); // InternalDebugSeq.g:3339:4: ( (lv_pinout_121_0= ruleExpression ) ) // InternalDebugSeq.g:3340:5: (lv_pinout_121_0= ruleExpression ) { // InternalDebugSeq.g:3340:5: (lv_pinout_121_0= ruleExpression ) // InternalDebugSeq.g:3341:6: lv_pinout_121_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getPinoutExpressionParserRuleCall_19_3_0()); pushFollow(FOLLOW_36); lv_pinout_121_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "pinout", lv_pinout_121_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_122=(Token)match(input,73,FOLLOW_10); newLeafNode(otherlv_122, grammarAccess.getFunctionCallAccess().getCommaKeyword_19_4()); // InternalDebugSeq.g:3362:4: ( (lv_pinselect_123_0= ruleExpression ) ) // InternalDebugSeq.g:3363:5: (lv_pinselect_123_0= ruleExpression ) { // InternalDebugSeq.g:3363:5: (lv_pinselect_123_0= ruleExpression ) // InternalDebugSeq.g:3364:6: lv_pinselect_123_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getPinselectExpressionParserRuleCall_19_5_0()); pushFollow(FOLLOW_36); lv_pinselect_123_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "pinselect", lv_pinselect_123_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_124=(Token)match(input,73,FOLLOW_10); newLeafNode(otherlv_124, grammarAccess.getFunctionCallAccess().getCommaKeyword_19_6()); // InternalDebugSeq.g:3385:4: ( (lv_pinwait_125_0= ruleExpression ) ) // InternalDebugSeq.g:3386:5: (lv_pinwait_125_0= ruleExpression ) { // InternalDebugSeq.g:3386:5: (lv_pinwait_125_0= ruleExpression ) // InternalDebugSeq.g:3387:6: lv_pinwait_125_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getPinwaitExpressionParserRuleCall_19_7_0()); pushFollow(FOLLOW_34); lv_pinwait_125_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "pinwait", lv_pinwait_125_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_126=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_126, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_19_8()); } } break; case 21 : // InternalDebugSeq.g:3410:3: ( () otherlv_128= 'DAP_SWJ_Clock' otherlv_129= '(' ( (lv_value_130_0= ruleExpression ) ) otherlv_131= ')' ) { // InternalDebugSeq.g:3410:3: ( () otherlv_128= 'DAP_SWJ_Clock' otherlv_129= '(' ( (lv_value_130_0= ruleExpression ) ) otherlv_131= ')' ) // InternalDebugSeq.g:3411:4: () otherlv_128= 'DAP_SWJ_Clock' otherlv_129= '(' ( (lv_value_130_0= ruleExpression ) ) otherlv_131= ')' { // InternalDebugSeq.g:3411:4: () // InternalDebugSeq.g:3412:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getDapSwjClockAction_20_0(), current); } otherlv_128=(Token)match(input,94,FOLLOW_35); newLeafNode(otherlv_128, grammarAccess.getFunctionCallAccess().getDAP_SWJ_ClockKeyword_20_1()); otherlv_129=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_129, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_20_2()); // InternalDebugSeq.g:3426:4: ( (lv_value_130_0= ruleExpression ) ) // InternalDebugSeq.g:3427:5: (lv_value_130_0= ruleExpression ) { // InternalDebugSeq.g:3427:5: (lv_value_130_0= ruleExpression ) // InternalDebugSeq.g:3428:6: lv_value_130_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getValueExpressionParserRuleCall_20_3_0()); pushFollow(FOLLOW_34); lv_value_130_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "value", lv_value_130_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_131=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_131, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_20_4()); } } break; case 22 : // InternalDebugSeq.g:3451:3: ( () otherlv_133= 'DAP_SWJ_Sequence' otherlv_134= '(' ( (lv_cnt_135_0= ruleExpression ) ) otherlv_136= ',' ( (lv_val_137_0= ruleExpression ) ) otherlv_138= ')' ) { // InternalDebugSeq.g:3451:3: ( () otherlv_133= 'DAP_SWJ_Sequence' otherlv_134= '(' ( (lv_cnt_135_0= ruleExpression ) ) otherlv_136= ',' ( (lv_val_137_0= ruleExpression ) ) otherlv_138= ')' ) // InternalDebugSeq.g:3452:4: () otherlv_133= 'DAP_SWJ_Sequence' otherlv_134= '(' ( (lv_cnt_135_0= ruleExpression ) ) otherlv_136= ',' ( (lv_val_137_0= ruleExpression ) ) otherlv_138= ')' { // InternalDebugSeq.g:3452:4: () // InternalDebugSeq.g:3453:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getDapSwjSequenceAction_21_0(), current); } otherlv_133=(Token)match(input,95,FOLLOW_35); newLeafNode(otherlv_133, grammarAccess.getFunctionCallAccess().getDAP_SWJ_SequenceKeyword_21_1()); otherlv_134=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_134, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_21_2()); // InternalDebugSeq.g:3467:4: ( (lv_cnt_135_0= ruleExpression ) ) // InternalDebugSeq.g:3468:5: (lv_cnt_135_0= ruleExpression ) { // InternalDebugSeq.g:3468:5: (lv_cnt_135_0= ruleExpression ) // InternalDebugSeq.g:3469:6: lv_cnt_135_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getCntExpressionParserRuleCall_21_3_0()); pushFollow(FOLLOW_36); lv_cnt_135_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "cnt", lv_cnt_135_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_136=(Token)match(input,73,FOLLOW_10); newLeafNode(otherlv_136, grammarAccess.getFunctionCallAccess().getCommaKeyword_21_4()); // InternalDebugSeq.g:3490:4: ( (lv_val_137_0= ruleExpression ) ) // InternalDebugSeq.g:3491:5: (lv_val_137_0= ruleExpression ) { // InternalDebugSeq.g:3491:5: (lv_val_137_0= ruleExpression ) // InternalDebugSeq.g:3492:6: lv_val_137_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getValExpressionParserRuleCall_21_5_0()); pushFollow(FOLLOW_34); lv_val_137_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "val", lv_val_137_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_138=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_138, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_21_6()); } } break; case 23 : // InternalDebugSeq.g:3515:3: ( () otherlv_140= 'DAP_JTAG_Sequence' otherlv_141= '(' ( (lv_cnt_142_0= ruleExpression ) ) otherlv_143= ',' ( (lv_tms_144_0= ruleExpression ) ) otherlv_145= ',' ( (lv_tdi_146_0= ruleExpression ) ) otherlv_147= ')' ) { // InternalDebugSeq.g:3515:3: ( () otherlv_140= 'DAP_JTAG_Sequence' otherlv_141= '(' ( (lv_cnt_142_0= ruleExpression ) ) otherlv_143= ',' ( (lv_tms_144_0= ruleExpression ) ) otherlv_145= ',' ( (lv_tdi_146_0= ruleExpression ) ) otherlv_147= ')' ) // InternalDebugSeq.g:3516:4: () otherlv_140= 'DAP_JTAG_Sequence' otherlv_141= '(' ( (lv_cnt_142_0= ruleExpression ) ) otherlv_143= ',' ( (lv_tms_144_0= ruleExpression ) ) otherlv_145= ',' ( (lv_tdi_146_0= ruleExpression ) ) otherlv_147= ')' { // InternalDebugSeq.g:3516:4: () // InternalDebugSeq.g:3517:5: { current = forceCreateModelElement( grammarAccess.getFunctionCallAccess().getDapJtagSequenceAction_22_0(), current); } otherlv_140=(Token)match(input,96,FOLLOW_35); newLeafNode(otherlv_140, grammarAccess.getFunctionCallAccess().getDAP_JTAG_SequenceKeyword_22_1()); otherlv_141=(Token)match(input,69,FOLLOW_10); newLeafNode(otherlv_141, grammarAccess.getFunctionCallAccess().getLeftParenthesisKeyword_22_2()); // InternalDebugSeq.g:3531:4: ( (lv_cnt_142_0= ruleExpression ) ) // InternalDebugSeq.g:3532:5: (lv_cnt_142_0= ruleExpression ) { // InternalDebugSeq.g:3532:5: (lv_cnt_142_0= ruleExpression ) // InternalDebugSeq.g:3533:6: lv_cnt_142_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getCntExpressionParserRuleCall_22_3_0()); pushFollow(FOLLOW_36); lv_cnt_142_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "cnt", lv_cnt_142_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_143=(Token)match(input,73,FOLLOW_10); newLeafNode(otherlv_143, grammarAccess.getFunctionCallAccess().getCommaKeyword_22_4()); // InternalDebugSeq.g:3554:4: ( (lv_tms_144_0= ruleExpression ) ) // InternalDebugSeq.g:3555:5: (lv_tms_144_0= ruleExpression ) { // InternalDebugSeq.g:3555:5: (lv_tms_144_0= ruleExpression ) // InternalDebugSeq.g:3556:6: lv_tms_144_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getTmsExpressionParserRuleCall_22_5_0()); pushFollow(FOLLOW_36); lv_tms_144_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "tms", lv_tms_144_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_145=(Token)match(input,73,FOLLOW_10); newLeafNode(otherlv_145, grammarAccess.getFunctionCallAccess().getCommaKeyword_22_6()); // InternalDebugSeq.g:3577:4: ( (lv_tdi_146_0= ruleExpression ) ) // InternalDebugSeq.g:3578:5: (lv_tdi_146_0= ruleExpression ) { // InternalDebugSeq.g:3578:5: (lv_tdi_146_0= ruleExpression ) // InternalDebugSeq.g:3579:6: lv_tdi_146_0= ruleExpression { newCompositeNode(grammarAccess.getFunctionCallAccess().getTdiExpressionParserRuleCall_22_7_0()); pushFollow(FOLLOW_34); lv_tdi_146_0=ruleExpression(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getFunctionCallRule()); } set( current, "tdi", lv_tdi_146_0, "com.arm.cmsis.pack.debugseq.DebugSeq.Expression"); afterParserOrEnumRuleCall(); } } otherlv_147=(Token)match(input,70,FOLLOW_2); newLeafNode(otherlv_147, grammarAccess.getFunctionCallAccess().getRightParenthesisKeyword_22_8()); } } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleFunctionCall" // $ANTLR start "entryRuleAtomic" // InternalDebugSeq.g:3605:1: entryRuleAtomic returns [EObject current=null] : iv_ruleAtomic= ruleAtomic EOF ; public final EObject entryRuleAtomic() throws RecognitionException { EObject current = null; EObject iv_ruleAtomic = null; try { // InternalDebugSeq.g:3605:47: (iv_ruleAtomic= ruleAtomic EOF ) // InternalDebugSeq.g:3606:2: iv_ruleAtomic= ruleAtomic EOF { newCompositeNode(grammarAccess.getAtomicRule()); pushFollow(FOLLOW_1); iv_ruleAtomic=ruleAtomic(); state._fsp--; current =iv_ruleAtomic; match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAtomic" // $ANTLR start "ruleAtomic" // InternalDebugSeq.g:3612:1: ruleAtomic returns [EObject current=null] : ( ( () ( ( (lv_value_1_1= RULE_DEC | lv_value_1_2= RULE_HEX ) ) ) ) | ( () ( (lv_value_3_0= RULE_STRING ) ) ) | ( () ( (otherlv_5= RULE_ID ) ) ) ) ; public final EObject ruleAtomic() throws RecognitionException { EObject current = null; Token lv_value_1_1=null; Token lv_value_1_2=null; Token lv_value_3_0=null; Token otherlv_5=null; enterRule(); try { // InternalDebugSeq.g:3618:2: ( ( ( () ( ( (lv_value_1_1= RULE_DEC | lv_value_1_2= RULE_HEX ) ) ) ) | ( () ( (lv_value_3_0= RULE_STRING ) ) ) | ( () ( (otherlv_5= RULE_ID ) ) ) ) ) // InternalDebugSeq.g:3619:2: ( ( () ( ( (lv_value_1_1= RULE_DEC | lv_value_1_2= RULE_HEX ) ) ) ) | ( () ( (lv_value_3_0= RULE_STRING ) ) ) | ( () ( (otherlv_5= RULE_ID ) ) ) ) { // InternalDebugSeq.g:3619:2: ( ( () ( ( (lv_value_1_1= RULE_DEC | lv_value_1_2= RULE_HEX ) ) ) ) | ( () ( (lv_value_3_0= RULE_STRING ) ) ) | ( () ( (otherlv_5= RULE_ID ) ) ) ) int alt38=3; switch ( input.LA(1) ) { case RULE_DEC: case RULE_HEX: { alt38=1; } break; case RULE_STRING: { alt38=2; } break; case RULE_ID: { alt38=3; } break; default: NoViableAltException nvae = new NoViableAltException("", 38, 0, input); throw nvae; } switch (alt38) { case 1 : // InternalDebugSeq.g:3620:3: ( () ( ( (lv_value_1_1= RULE_DEC | lv_value_1_2= RULE_HEX ) ) ) ) { // InternalDebugSeq.g:3620:3: ( () ( ( (lv_value_1_1= RULE_DEC | lv_value_1_2= RULE_HEX ) ) ) ) // InternalDebugSeq.g:3621:4: () ( ( (lv_value_1_1= RULE_DEC | lv_value_1_2= RULE_HEX ) ) ) { // InternalDebugSeq.g:3621:4: () // InternalDebugSeq.g:3622:5: { current = forceCreateModelElement( grammarAccess.getAtomicAccess().getIntConstantAction_0_0(), current); } // InternalDebugSeq.g:3628:4: ( ( (lv_value_1_1= RULE_DEC | lv_value_1_2= RULE_HEX ) ) ) // InternalDebugSeq.g:3629:5: ( (lv_value_1_1= RULE_DEC | lv_value_1_2= RULE_HEX ) ) { // InternalDebugSeq.g:3629:5: ( (lv_value_1_1= RULE_DEC | lv_value_1_2= RULE_HEX ) ) // InternalDebugSeq.g:3630:6: (lv_value_1_1= RULE_DEC | lv_value_1_2= RULE_HEX ) { // InternalDebugSeq.g:3630:6: (lv_value_1_1= RULE_DEC | lv_value_1_2= RULE_HEX ) int alt37=2; int LA37_0 = input.LA(1); if ( (LA37_0==RULE_DEC) ) { alt37=1; } else if ( (LA37_0==RULE_HEX) ) { alt37=2; } else { NoViableAltException nvae = new NoViableAltException("", 37, 0, input); throw nvae; } switch (alt37) { case 1 : // InternalDebugSeq.g:3631:7: lv_value_1_1= RULE_DEC { lv_value_1_1=(Token)match(input,RULE_DEC,FOLLOW_2); newLeafNode(lv_value_1_1, grammarAccess.getAtomicAccess().getValueDECTerminalRuleCall_0_1_0_0()); if (current==null) { current = createModelElement(grammarAccess.getAtomicRule()); } setWithLastConsumed( current, "value", lv_value_1_1, "com.arm.cmsis.pack.debugseq.DebugSeq.DEC"); } break; case 2 : // InternalDebugSeq.g:3646:7: lv_value_1_2= RULE_HEX { lv_value_1_2=(Token)match(input,RULE_HEX,FOLLOW_2); newLeafNode(lv_value_1_2, grammarAccess.getAtomicAccess().getValueHEXTerminalRuleCall_0_1_0_1()); if (current==null) { current = createModelElement(grammarAccess.getAtomicRule()); } setWithLastConsumed( current, "value", lv_value_1_2, "com.arm.cmsis.pack.debugseq.DebugSeq.HEX"); } break; } } } } } break; case 2 : // InternalDebugSeq.g:3665:3: ( () ( (lv_value_3_0= RULE_STRING ) ) ) { // InternalDebugSeq.g:3665:3: ( () ( (lv_value_3_0= RULE_STRING ) ) ) // InternalDebugSeq.g:3666:4: () ( (lv_value_3_0= RULE_STRING ) ) { // InternalDebugSeq.g:3666:4: () // InternalDebugSeq.g:3667:5: { current = forceCreateModelElement( grammarAccess.getAtomicAccess().getStringConstantAction_1_0(), current); } // InternalDebugSeq.g:3673:4: ( (lv_value_3_0= RULE_STRING ) ) // InternalDebugSeq.g:3674:5: (lv_value_3_0= RULE_STRING ) { // InternalDebugSeq.g:3674:5: (lv_value_3_0= RULE_STRING ) // InternalDebugSeq.g:3675:6: lv_value_3_0= RULE_STRING { lv_value_3_0=(Token)match(input,RULE_STRING,FOLLOW_2); newLeafNode(lv_value_3_0, grammarAccess.getAtomicAccess().getValueSTRINGTerminalRuleCall_1_1_0()); if (current==null) { current = createModelElement(grammarAccess.getAtomicRule()); } setWithLastConsumed( current, "value", lv_value_3_0, "com.arm.cmsis.pack.debugseq.DebugSeq.STRING"); } } } } break; case 3 : // InternalDebugSeq.g:3693:3: ( () ( (otherlv_5= RULE_ID ) ) ) { // InternalDebugSeq.g:3693:3: ( () ( (otherlv_5= RULE_ID ) ) ) // InternalDebugSeq.g:3694:4: () ( (otherlv_5= RULE_ID ) ) { // InternalDebugSeq.g:3694:4: () // InternalDebugSeq.g:3695:5: { current = forceCreateModelElement( grammarAccess.getAtomicAccess().getVariableRefAction_2_0(), current); } // InternalDebugSeq.g:3701:4: ( (otherlv_5= RULE_ID ) ) // InternalDebugSeq.g:3702:5: (otherlv_5= RULE_ID ) { // InternalDebugSeq.g:3702:5: (otherlv_5= RULE_ID ) // InternalDebugSeq.g:3703:6: otherlv_5= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getAtomicRule()); } otherlv_5=(Token)match(input,RULE_ID,FOLLOW_2); newLeafNode(otherlv_5, grammarAccess.getAtomicAccess().getVariableVariableDeclarationCrossReference_2_1_0()); } } } } break; } } leaveRule(); } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAtomic" // Delegated rules 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[]{0x0000000000400002L}); public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000000000003C000L}); public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000010L}); public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x00000000001400F0L,0x00000001FFFFFDA0L}); public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000080000L}); public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000020L}); public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000200000L}); public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x00000000001000F0L,0x00000001FFFFFDA0L}); public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000001800000L}); public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x000000001A010000L}); public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000004000000L}); public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x000000005A030000L}); public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000000040L}); public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x00000004A0000000L}); public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000150020000L}); public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x00000002001000F0L,0x00000001FFFFFDA0L}); public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000003850020000L}); public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000004480000000L}); public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0001FF8000200002L}); public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0002000000000002L}); public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0004000000000000L}); public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0008000000000002L}); public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0010000000000002L}); public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0020000000000002L}); public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0040000000000002L}); public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0080000000000002L}); public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0300000000000002L}); public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x3C00000000000002L}); public static final BitSet FOLLOW_31 = new BitSet(new long[]{0xC000000000000002L}); public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000003L}); public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000000000002L,0x000000000000001CL}); public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L}); public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L}); public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L}); public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000240L}); }